diff --git a/GNUmakefile b/GNUmakefile index c143db8..44dce62 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -34,8 +34,8 @@ get-api: cd client; wget https://demo.nautobot.com/api/swagger.yaml\?api_version\=1.3 -O swagger.yaml generate: get-api - cd client; oapi-codegen -generate client -o nautobot.go -package nautobot swagger.yaml && \ - oapi-codegen -generate types -o types.go -package nautobot swagger.yaml && \ + cd client; oapi-codegen -generate client -o nautobot.go -package nautobot test.swagger.yaml && \ + oapi-codegen -generate types -o types.go -package nautobot test.swagger.yaml && \ go mod tidy test: diff --git a/client/go.mod b/client/go.mod index 6fea6be..78f832c 100644 --- a/client/go.mod +++ b/client/go.mod @@ -1,14 +1,15 @@ module github.com/nautobot/go-nautobot -go 1.17 +go 1.20 require ( - github.com/deepmap/oapi-codegen v1.10.1 - github.com/tidwall/gjson v1.14.1 + github.com/deepmap/oapi-codegen v1.12.4 + github.com/tidwall/gjson v1.14.4 ) require ( + github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect github.com/google/uuid v1.3.0 // indirect github.com/tidwall/match v1.1.1 // indirect - github.com/tidwall/pretty v1.2.0 // indirect + github.com/tidwall/pretty v1.2.1 // indirect ) diff --git a/client/go.sum b/client/go.sum index ba8903d..9a9c59d 100644 --- a/client/go.sum +++ b/client/go.sum @@ -1,160 +1,25 @@ -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4= +github.com/RaveNoX/go-jsoncommentstrip v1.0.0/go.mod h1:78ihd09MekBnJnxpICcwzCMzGrKSKYe4AqU6PDYYpjk= +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/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/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc= -github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.0-20210816181553-5444fa50b93d/go.mod h1:tmAIfUFEirG/Y8jhZ9M+h36obRZAk/1fcSpXwAVlfqE= -github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1/go.mod h1:hyedUtir6IdtD/7lIxGeCxkaw7y45JueMRL4DIyJDKs= -github.com/deepmap/oapi-codegen v1.10.1 h1:xybuJUR6D8l7P+LAuxOm5SD7nTlFKHWvOPl31q+DDVs= -github.com/deepmap/oapi-codegen v1.10.1/go.mod h1:TvVmDQlUkFli9gFij/gtW1o+tFBr4qCHyv2zG+R0YZY= -github.com/getkin/kin-openapi v0.94.0/go.mod h1:LWZfzOd7PRy8GJ1dJ6mCU6tNdSfOwRac1BUPam4aw6Q= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= -github.com/gin-gonic/gin v1.7.7/go.mod h1:axIBovoeJpVj8S3BwE0uPMTeReE4+AfFtqpqaZ1qq1U= -github.com/go-chi/chi/v5 v5.0.7/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= -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/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= -github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= -github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= -github.com/go-playground/locales v0.14.0/go.mod h1:sawfccIbzZTqEDETgFXqTho0QybSa7l++s0DH+LDiLs= -github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= -github.com/go-playground/universal-translator v0.18.0/go.mod h1:UvRDBj+xPUEGrFYl+lu/H90nyDXpg0fqeB/AQUGNTVA= -github.com/go-playground/validator/v10 v10.4.1/go.mod h1:nlOn6nFhuKACm19sB/8EGNn9GlaMV7XkbRSipzJ0Ii4= -github.com/go-playground/validator/v10 v10.10.1/go.mod h1:i+3WkQ1FvaUjjxh1kSvIA4dMGDBiPU55YFDl0WbKdWU= -github.com/goccy/go-json v0.9.6/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= -github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= -github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golangci/lint-1 v0.0.0-20181222135242-d2cdd8c08219/go.mod h1:/X8TswGSh1pIozq4ZwCfxS0WA5JGXguxk94ar/4c87Y= -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/deepmap/oapi-codegen v1.12.4 h1:pPmn6qI9MuOtCz82WY2Xaw46EQjgvxednXXrP7g5Q2s= +github.com/deepmap/oapi-codegen v1.12.4/go.mod h1:3lgHGMu6myQ2vqbbTXH2H1o4eXFTGnFiDaOaKKl5yas= 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/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= -github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= -github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= -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/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/labstack/echo/v4 v4.7.2/go.mod h1:xkCDAdFCIf8jsFQ5NnbK7oqaF/yU1A1X20Ltm0OvSks= -github.com/labstack/gommon v0.3.1/go.mod h1:uW6kP17uPlLJsD3ijUYn3/M5bAxtlZhMI6m3MFxTMTM= -github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= -github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY= -github.com/lestrrat-go/backoff/v2 v2.0.8/go.mod h1:rHP/q/r9aT27n24JQLa7JhSQZCKBBOiM/uP402WwN8Y= -github.com/lestrrat-go/blackmagic v1.0.0/go.mod h1:TNgH//0vYSs8VXDCfkZLgIrVTTXQELZffUV0tz3MtdQ= -github.com/lestrrat-go/blackmagic v1.0.1/go.mod h1:UrEqBzIR2U6CnzVyUtfM6oZNMt/7O7Vohk2J0OGSAtU= -github.com/lestrrat-go/httpcc v1.0.1/go.mod h1:qiltp3Mt56+55GPVCbTdM9MlqhvzyuL6W/NMDA8vA5E= -github.com/lestrrat-go/iter v1.0.1/go.mod h1:zIdgO1mRKhn8l9vrZJZz9TUMMFbQbLeTsbqPDrJ/OJc= -github.com/lestrrat-go/iter v1.0.2/go.mod h1:Momfcq3AnRlRjI5b5O8/G5/BvpzrhoFTZcn06fEOPt4= -github.com/lestrrat-go/jwx v1.2.23/go.mod h1:sAXjRwzSvCN6soO4RLoWWm1bVPpb8iOuv0IYfH8OWd8= -github.com/lestrrat-go/option v1.0.0/go.mod h1:5ZHFbivi4xwXxhxY9XHDe2FHo6/Z7WWmtT7T5nBBp3I= -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/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= -github.com/matryer/moq v0.2.7/go.mod h1:kITsx543GOENm48TUAQyJ9+SAvFSr7iGQXPoth/VUBk= -github.com/mattn/go-colorable v0.1.11/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= -github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= -github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= -github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/juju/gnuflag v0.0.0-20171113085948-2ce1bb71843d/go.mod h1:2PavIy+JPciBPrBUjwbNvtwB6RQlve+hkpll6QSNmOE= 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/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE= +github.com/spkg/bom v0.0.0-20160624110644-59b7046e48ad/go.mod h1:qLr4V1qq6nMqFKkMo8ZTx3f+BZEkzsRUY10Xsm2mwU0= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= 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.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/tidwall/gjson v1.14.1 h1:iymTbGkQBhveq21bEvAQ81I0LEBork8BFe1CUZXdyuo= -github.com/tidwall/gjson v1.14.1/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= +github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= +github.com/tidwall/gjson v1.14.4 h1:uo0p8EbA09J7RQaflQ1aBRffTR7xedD2bcIVSYxLnkM= +github.com/tidwall/gjson v1.14.4/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA= github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= -github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs= github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= -github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= -github.com/ugorji/go v1.2.7/go.mod h1:nF9osbDWLy6bDVv/Rtoh6QgnvNDpmCalQV5urGCCS6M= -github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= -github.com/ugorji/go/codec v1.2.7/go.mod h1:WGN1fab3R1fzQlVQTkfxVtIBhWDRqOviHU95kRgeqEY= -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/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= -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= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20220418201149-a630d4f3e7a2/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -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= -golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/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-20210806184541-e5e7981a1069/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-20211019181941-9d821ace8654/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-20220412211240-33da011f77ad/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.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -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/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20220411224347-583f2d630306/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -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.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E= -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/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -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.28.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-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= -gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/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-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +github.com/tidwall/pretty v1.2.1 h1:qjsOFOWWQl+N3RsoF5/ssm1pHmJJwhjlSbZ51I6wMl4= +github.com/tidwall/pretty v1.2.1/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/client/nautobot.go b/client/nautobot.go index e6735a2..80d8da3 100644 --- a/client/nautobot.go +++ b/client/nautobot.go @@ -1,6 +1,6 @@ // Package nautobot provides primitives to interact with the openapi HTTP API. // -// Code generated by github.com/deepmap/oapi-codegen version v1.10.1 DO NOT EDIT. +// Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT. package nautobot import ( @@ -9,7 +9,6 @@ import ( "encoding/json" "fmt" "io" - "io/ioutil" "net/http" "net/url" "strings" @@ -91,8 +90,10 @@ func WithRequestEditorFn(fn RequestEditorFn) ClientOption { // The interface specification for the client above. type ClientInterface interface { - // CircuitsCircuitTerminationsBulkDestroy request - CircuitsCircuitTerminationsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // CircuitsCircuitTerminationsBulkDestroy request with any body + CircuitsCircuitTerminationsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitTerminationsBulkDestroy(ctx context.Context, body CircuitsCircuitTerminationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CircuitsCircuitTerminationsList request CircuitsCircuitTerminationsList(ctx context.Context, params *CircuitsCircuitTerminationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -128,11 +129,21 @@ type ClientInterface interface { CircuitsCircuitTerminationsUpdate(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTerminationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // CircuitsCircuitTerminationsNotesList request + CircuitsCircuitTerminationsNotesList(ctx context.Context, id openapi_types.UUID, params *CircuitsCircuitTerminationsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTerminationsNotesCreate request with any body + CircuitsCircuitTerminationsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitTerminationsNotesCreate(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTerminationsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // CircuitsCircuitTerminationsTraceRetrieve request CircuitsCircuitTerminationsTraceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) - // CircuitsCircuitTypesBulkDestroy request - CircuitsCircuitTypesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // CircuitsCircuitTypesBulkDestroy request with any body + CircuitsCircuitTypesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitTypesBulkDestroy(ctx context.Context, body CircuitsCircuitTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CircuitsCircuitTypesList request CircuitsCircuitTypesList(ctx context.Context, params *CircuitsCircuitTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -168,8 +179,18 @@ type ClientInterface interface { CircuitsCircuitTypesUpdate(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // CircuitsCircuitsBulkDestroy request - CircuitsCircuitsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // CircuitsCircuitTypesNotesList request + CircuitsCircuitTypesNotesList(ctx context.Context, id openapi_types.UUID, params *CircuitsCircuitTypesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitTypesNotesCreate request with any body + CircuitsCircuitTypesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitTypesNotesCreate(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTypesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitsBulkDestroy request with any body + CircuitsCircuitsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitsBulkDestroy(ctx context.Context, body CircuitsCircuitsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CircuitsCircuitsList request CircuitsCircuitsList(ctx context.Context, params *CircuitsCircuitsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -205,8 +226,18 @@ type ClientInterface interface { CircuitsCircuitsUpdate(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // CircuitsProviderNetworksBulkDestroy request - CircuitsProviderNetworksBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // CircuitsCircuitsNotesList request + CircuitsCircuitsNotesList(ctx context.Context, id openapi_types.UUID, params *CircuitsCircuitsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsCircuitsNotesCreate request with any body + CircuitsCircuitsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsCircuitsNotesCreate(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderNetworksBulkDestroy request with any body + CircuitsProviderNetworksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProviderNetworksBulkDestroy(ctx context.Context, body CircuitsProviderNetworksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CircuitsProviderNetworksList request CircuitsProviderNetworksList(ctx context.Context, params *CircuitsProviderNetworksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -242,8 +273,18 @@ type ClientInterface interface { CircuitsProviderNetworksUpdate(ctx context.Context, id openapi_types.UUID, body CircuitsProviderNetworksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // CircuitsProvidersBulkDestroy request - CircuitsProvidersBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // CircuitsProviderNetworksNotesList request + CircuitsProviderNetworksNotesList(ctx context.Context, id openapi_types.UUID, params *CircuitsProviderNetworksNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProviderNetworksNotesCreate request with any body + CircuitsProviderNetworksNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProviderNetworksNotesCreate(ctx context.Context, id openapi_types.UUID, body CircuitsProviderNetworksNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProvidersBulkDestroy request with any body + CircuitsProvidersBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProvidersBulkDestroy(ctx context.Context, body CircuitsProvidersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CircuitsProvidersList request CircuitsProvidersList(ctx context.Context, params *CircuitsProvidersListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -279,8 +320,18 @@ type ClientInterface interface { CircuitsProvidersUpdate(ctx context.Context, id openapi_types.UUID, body CircuitsProvidersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimCablesBulkDestroy request - DcimCablesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // CircuitsProvidersNotesList request + CircuitsProvidersNotesList(ctx context.Context, id openapi_types.UUID, params *CircuitsProvidersNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // CircuitsProvidersNotesCreate request with any body + CircuitsProvidersNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + CircuitsProvidersNotesCreate(ctx context.Context, id openapi_types.UUID, body CircuitsProvidersNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCablesBulkDestroy request with any body + DcimCablesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimCablesBulkDestroy(ctx context.Context, body DcimCablesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimCablesList request DcimCablesList(ctx context.Context, params *DcimCablesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -316,14 +367,24 @@ type ClientInterface interface { DcimCablesUpdate(ctx context.Context, id openapi_types.UUID, body DcimCablesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimCablesNotesList request + DcimCablesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimCablesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimCablesNotesCreate request with any body + DcimCablesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimCablesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimCablesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimConnectedDeviceList request DcimConnectedDeviceList(ctx context.Context, params *DcimConnectedDeviceListParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimConsoleConnectionsList request DcimConsoleConnectionsList(ctx context.Context, params *DcimConsoleConnectionsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimConsolePortTemplatesBulkDestroy request - DcimConsolePortTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimConsolePortTemplatesBulkDestroy request with any body + DcimConsolePortTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsolePortTemplatesBulkDestroy(ctx context.Context, body DcimConsolePortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimConsolePortTemplatesList request DcimConsolePortTemplatesList(ctx context.Context, params *DcimConsolePortTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -359,8 +420,18 @@ type ClientInterface interface { DcimConsolePortTemplatesUpdate(ctx context.Context, id openapi_types.UUID, body DcimConsolePortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimConsolePortsBulkDestroy request - DcimConsolePortsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimConsolePortTemplatesNotesList request + DcimConsolePortTemplatesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimConsolePortTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortTemplatesNotesCreate request with any body + DcimConsolePortTemplatesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsolePortTemplatesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimConsolePortTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortsBulkDestroy request with any body + DcimConsolePortsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsolePortsBulkDestroy(ctx context.Context, body DcimConsolePortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimConsolePortsList request DcimConsolePortsList(ctx context.Context, params *DcimConsolePortsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -396,11 +467,21 @@ type ClientInterface interface { DcimConsolePortsUpdate(ctx context.Context, id openapi_types.UUID, body DcimConsolePortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimConsolePortsNotesList request + DcimConsolePortsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimConsolePortsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsolePortsNotesCreate request with any body + DcimConsolePortsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsolePortsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimConsolePortsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimConsolePortsTraceRetrieve request DcimConsolePortsTraceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimConsoleServerPortTemplatesBulkDestroy request - DcimConsoleServerPortTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimConsoleServerPortTemplatesBulkDestroy request with any body + DcimConsoleServerPortTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsoleServerPortTemplatesBulkDestroy(ctx context.Context, body DcimConsoleServerPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimConsoleServerPortTemplatesList request DcimConsoleServerPortTemplatesList(ctx context.Context, params *DcimConsoleServerPortTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -436,8 +517,18 @@ type ClientInterface interface { DcimConsoleServerPortTemplatesUpdate(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimConsoleServerPortsBulkDestroy request - DcimConsoleServerPortsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimConsoleServerPortTemplatesNotesList request + DcimConsoleServerPortTemplatesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimConsoleServerPortTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortTemplatesNotesCreate request with any body + DcimConsoleServerPortTemplatesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsoleServerPortTemplatesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortsBulkDestroy request with any body + DcimConsoleServerPortsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsoleServerPortsBulkDestroy(ctx context.Context, body DcimConsoleServerPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimConsoleServerPortsList request DcimConsoleServerPortsList(ctx context.Context, params *DcimConsoleServerPortsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -473,11 +564,21 @@ type ClientInterface interface { DcimConsoleServerPortsUpdate(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimConsoleServerPortsNotesList request + DcimConsoleServerPortsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimConsoleServerPortsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimConsoleServerPortsNotesCreate request with any body + DcimConsoleServerPortsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimConsoleServerPortsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimConsoleServerPortsTraceRetrieve request DcimConsoleServerPortsTraceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimDeviceBayTemplatesBulkDestroy request - DcimDeviceBayTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimDeviceBayTemplatesBulkDestroy request with any body + DcimDeviceBayTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceBayTemplatesBulkDestroy(ctx context.Context, body DcimDeviceBayTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimDeviceBayTemplatesList request DcimDeviceBayTemplatesList(ctx context.Context, params *DcimDeviceBayTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -513,8 +614,18 @@ type ClientInterface interface { DcimDeviceBayTemplatesUpdate(ctx context.Context, id openapi_types.UUID, body DcimDeviceBayTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimDeviceBaysBulkDestroy request - DcimDeviceBaysBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimDeviceBayTemplatesNotesList request + DcimDeviceBayTemplatesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimDeviceBayTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBayTemplatesNotesCreate request with any body + DcimDeviceBayTemplatesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceBayTemplatesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimDeviceBayTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBaysBulkDestroy request with any body + DcimDeviceBaysBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceBaysBulkDestroy(ctx context.Context, body DcimDeviceBaysBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimDeviceBaysList request DcimDeviceBaysList(ctx context.Context, params *DcimDeviceBaysListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -550,8 +661,65 @@ type ClientInterface interface { DcimDeviceBaysUpdate(ctx context.Context, id openapi_types.UUID, body DcimDeviceBaysUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimDeviceRolesBulkDestroy request - DcimDeviceRolesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimDeviceBaysNotesList request + DcimDeviceBaysNotesList(ctx context.Context, id openapi_types.UUID, params *DcimDeviceBaysNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceBaysNotesCreate request with any body + DcimDeviceBaysNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceBaysNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimDeviceBaysNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRedundancyGroupsBulkDestroy request with any body + DcimDeviceRedundancyGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceRedundancyGroupsBulkDestroy(ctx context.Context, body DcimDeviceRedundancyGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRedundancyGroupsList request + DcimDeviceRedundancyGroupsList(ctx context.Context, params *DcimDeviceRedundancyGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRedundancyGroupsBulkPartialUpdate request with any body + DcimDeviceRedundancyGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceRedundancyGroupsBulkPartialUpdate(ctx context.Context, body DcimDeviceRedundancyGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRedundancyGroupsCreate request with any body + DcimDeviceRedundancyGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceRedundancyGroupsCreate(ctx context.Context, body DcimDeviceRedundancyGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRedundancyGroupsBulkUpdate request with any body + DcimDeviceRedundancyGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceRedundancyGroupsBulkUpdate(ctx context.Context, body DcimDeviceRedundancyGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRedundancyGroupsDestroy request + DcimDeviceRedundancyGroupsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRedundancyGroupsRetrieve request + DcimDeviceRedundancyGroupsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRedundancyGroupsPartialUpdate request with any body + DcimDeviceRedundancyGroupsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceRedundancyGroupsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimDeviceRedundancyGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRedundancyGroupsUpdate request with any body + DcimDeviceRedundancyGroupsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceRedundancyGroupsUpdate(ctx context.Context, id openapi_types.UUID, body DcimDeviceRedundancyGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRedundancyGroupsNotesList request + DcimDeviceRedundancyGroupsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimDeviceRedundancyGroupsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRedundancyGroupsNotesCreate request with any body + DcimDeviceRedundancyGroupsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceRedundancyGroupsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimDeviceRedundancyGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRolesBulkDestroy request with any body + DcimDeviceRolesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceRolesBulkDestroy(ctx context.Context, body DcimDeviceRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimDeviceRolesList request DcimDeviceRolesList(ctx context.Context, params *DcimDeviceRolesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -587,8 +755,18 @@ type ClientInterface interface { DcimDeviceRolesUpdate(ctx context.Context, id openapi_types.UUID, body DcimDeviceRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimDeviceTypesBulkDestroy request - DcimDeviceTypesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimDeviceRolesNotesList request + DcimDeviceRolesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimDeviceRolesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceRolesNotesCreate request with any body + DcimDeviceRolesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceRolesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimDeviceRolesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceTypesBulkDestroy request with any body + DcimDeviceTypesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceTypesBulkDestroy(ctx context.Context, body DcimDeviceTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimDeviceTypesList request DcimDeviceTypesList(ctx context.Context, params *DcimDeviceTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -624,8 +802,18 @@ type ClientInterface interface { DcimDeviceTypesUpdate(ctx context.Context, id openapi_types.UUID, body DcimDeviceTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimDevicesBulkDestroy request - DcimDevicesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimDeviceTypesNotesList request + DcimDeviceTypesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimDeviceTypesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDeviceTypesNotesCreate request with any body + DcimDeviceTypesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDeviceTypesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimDeviceTypesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDevicesBulkDestroy request with any body + DcimDevicesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDevicesBulkDestroy(ctx context.Context, body DcimDevicesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimDevicesList request DcimDevicesList(ctx context.Context, params *DcimDevicesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -664,8 +852,18 @@ type ClientInterface interface { // DcimDevicesNapalmRetrieve request DcimDevicesNapalmRetrieve(ctx context.Context, id openapi_types.UUID, params *DcimDevicesNapalmRetrieveParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimFrontPortTemplatesBulkDestroy request - DcimFrontPortTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimDevicesNotesList request + DcimDevicesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimDevicesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimDevicesNotesCreate request with any body + DcimDevicesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimDevicesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimDevicesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortTemplatesBulkDestroy request with any body + DcimFrontPortTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimFrontPortTemplatesBulkDestroy(ctx context.Context, body DcimFrontPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimFrontPortTemplatesList request DcimFrontPortTemplatesList(ctx context.Context, params *DcimFrontPortTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -701,8 +899,18 @@ type ClientInterface interface { DcimFrontPortTemplatesUpdate(ctx context.Context, id openapi_types.UUID, body DcimFrontPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimFrontPortsBulkDestroy request - DcimFrontPortsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimFrontPortTemplatesNotesList request + DcimFrontPortTemplatesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimFrontPortTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortTemplatesNotesCreate request with any body + DcimFrontPortTemplatesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimFrontPortTemplatesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimFrontPortTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortsBulkDestroy request with any body + DcimFrontPortsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimFrontPortsBulkDestroy(ctx context.Context, body DcimFrontPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimFrontPortsList request DcimFrontPortsList(ctx context.Context, params *DcimFrontPortsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -738,14 +946,24 @@ type ClientInterface interface { DcimFrontPortsUpdate(ctx context.Context, id openapi_types.UUID, body DcimFrontPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimFrontPortsNotesList request + DcimFrontPortsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimFrontPortsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimFrontPortsNotesCreate request with any body + DcimFrontPortsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimFrontPortsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimFrontPortsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimFrontPortsPathsRetrieve request DcimFrontPortsPathsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimInterfaceConnectionsList request DcimInterfaceConnectionsList(ctx context.Context, params *DcimInterfaceConnectionsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimInterfaceTemplatesBulkDestroy request - DcimInterfaceTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimInterfaceTemplatesBulkDestroy request with any body + DcimInterfaceTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInterfaceTemplatesBulkDestroy(ctx context.Context, body DcimInterfaceTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimInterfaceTemplatesList request DcimInterfaceTemplatesList(ctx context.Context, params *DcimInterfaceTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -781,8 +999,18 @@ type ClientInterface interface { DcimInterfaceTemplatesUpdate(ctx context.Context, id openapi_types.UUID, body DcimInterfaceTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimInterfacesBulkDestroy request - DcimInterfacesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimInterfaceTemplatesNotesList request + DcimInterfaceTemplatesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimInterfaceTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfaceTemplatesNotesCreate request with any body + DcimInterfaceTemplatesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInterfaceTemplatesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimInterfaceTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfacesBulkDestroy request with any body + DcimInterfacesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInterfacesBulkDestroy(ctx context.Context, body DcimInterfacesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimInterfacesList request DcimInterfacesList(ctx context.Context, params *DcimInterfacesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -818,11 +1046,21 @@ type ClientInterface interface { DcimInterfacesUpdate(ctx context.Context, id openapi_types.UUID, body DcimInterfacesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimInterfacesNotesList request + DcimInterfacesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimInterfacesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInterfacesNotesCreate request with any body + DcimInterfacesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInterfacesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimInterfacesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimInterfacesTraceRetrieve request DcimInterfacesTraceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimInventoryItemsBulkDestroy request - DcimInventoryItemsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimInventoryItemsBulkDestroy request with any body + DcimInventoryItemsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInventoryItemsBulkDestroy(ctx context.Context, body DcimInventoryItemsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimInventoryItemsList request DcimInventoryItemsList(ctx context.Context, params *DcimInventoryItemsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -858,8 +1096,112 @@ type ClientInterface interface { DcimInventoryItemsUpdate(ctx context.Context, id openapi_types.UUID, body DcimInventoryItemsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimManufacturersBulkDestroy request - DcimManufacturersBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimInventoryItemsNotesList request + DcimInventoryItemsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimInventoryItemsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimInventoryItemsNotesCreate request with any body + DcimInventoryItemsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimInventoryItemsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimInventoryItemsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationTypesBulkDestroy request with any body + DcimLocationTypesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimLocationTypesBulkDestroy(ctx context.Context, body DcimLocationTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationTypesList request + DcimLocationTypesList(ctx context.Context, params *DcimLocationTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationTypesBulkPartialUpdate request with any body + DcimLocationTypesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimLocationTypesBulkPartialUpdate(ctx context.Context, body DcimLocationTypesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationTypesCreate request with any body + DcimLocationTypesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimLocationTypesCreate(ctx context.Context, body DcimLocationTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationTypesBulkUpdate request with any body + DcimLocationTypesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimLocationTypesBulkUpdate(ctx context.Context, body DcimLocationTypesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationTypesDestroy request + DcimLocationTypesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationTypesRetrieve request + DcimLocationTypesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationTypesPartialUpdate request with any body + DcimLocationTypesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimLocationTypesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimLocationTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationTypesUpdate request with any body + DcimLocationTypesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimLocationTypesUpdate(ctx context.Context, id openapi_types.UUID, body DcimLocationTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationTypesNotesList request + DcimLocationTypesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimLocationTypesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationTypesNotesCreate request with any body + DcimLocationTypesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimLocationTypesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimLocationTypesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationsBulkDestroy request with any body + DcimLocationsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimLocationsBulkDestroy(ctx context.Context, body DcimLocationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationsList request + DcimLocationsList(ctx context.Context, params *DcimLocationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationsBulkPartialUpdate request with any body + DcimLocationsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimLocationsBulkPartialUpdate(ctx context.Context, body DcimLocationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationsCreate request with any body + DcimLocationsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimLocationsCreate(ctx context.Context, body DcimLocationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationsBulkUpdate request with any body + DcimLocationsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimLocationsBulkUpdate(ctx context.Context, body DcimLocationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationsDestroy request + DcimLocationsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationsRetrieve request + DcimLocationsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationsPartialUpdate request with any body + DcimLocationsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimLocationsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimLocationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationsUpdate request with any body + DcimLocationsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimLocationsUpdate(ctx context.Context, id openapi_types.UUID, body DcimLocationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationsNotesList request + DcimLocationsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimLocationsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimLocationsNotesCreate request with any body + DcimLocationsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimLocationsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimLocationsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimManufacturersBulkDestroy request with any body + DcimManufacturersBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimManufacturersBulkDestroy(ctx context.Context, body DcimManufacturersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimManufacturersList request DcimManufacturersList(ctx context.Context, params *DcimManufacturersListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -895,8 +1237,18 @@ type ClientInterface interface { DcimManufacturersUpdate(ctx context.Context, id openapi_types.UUID, body DcimManufacturersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimPlatformsBulkDestroy request - DcimPlatformsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimManufacturersNotesList request + DcimManufacturersNotesList(ctx context.Context, id openapi_types.UUID, params *DcimManufacturersNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimManufacturersNotesCreate request with any body + DcimManufacturersNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimManufacturersNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimManufacturersNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPlatformsBulkDestroy request with any body + DcimPlatformsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPlatformsBulkDestroy(ctx context.Context, body DcimPlatformsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimPlatformsList request DcimPlatformsList(ctx context.Context, params *DcimPlatformsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -932,11 +1284,21 @@ type ClientInterface interface { DcimPlatformsUpdate(ctx context.Context, id openapi_types.UUID, body DcimPlatformsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimPlatformsNotesList request + DcimPlatformsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimPlatformsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPlatformsNotesCreate request with any body + DcimPlatformsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPlatformsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimPlatformsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimPowerConnectionsList request DcimPowerConnectionsList(ctx context.Context, params *DcimPowerConnectionsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimPowerFeedsBulkDestroy request - DcimPowerFeedsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimPowerFeedsBulkDestroy request with any body + DcimPowerFeedsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerFeedsBulkDestroy(ctx context.Context, body DcimPowerFeedsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimPowerFeedsList request DcimPowerFeedsList(ctx context.Context, params *DcimPowerFeedsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -972,11 +1334,21 @@ type ClientInterface interface { DcimPowerFeedsUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerFeedsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimPowerFeedsNotesList request + DcimPowerFeedsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimPowerFeedsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerFeedsNotesCreate request with any body + DcimPowerFeedsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerFeedsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimPowerFeedsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimPowerFeedsTraceRetrieve request DcimPowerFeedsTraceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimPowerOutletTemplatesBulkDestroy request - DcimPowerOutletTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimPowerOutletTemplatesBulkDestroy request with any body + DcimPowerOutletTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerOutletTemplatesBulkDestroy(ctx context.Context, body DcimPowerOutletTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimPowerOutletTemplatesList request DcimPowerOutletTemplatesList(ctx context.Context, params *DcimPowerOutletTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1012,8 +1384,18 @@ type ClientInterface interface { DcimPowerOutletTemplatesUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimPowerOutletsBulkDestroy request - DcimPowerOutletsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimPowerOutletTemplatesNotesList request + DcimPowerOutletTemplatesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimPowerOutletTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletTemplatesNotesCreate request with any body + DcimPowerOutletTemplatesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerOutletTemplatesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletsBulkDestroy request with any body + DcimPowerOutletsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerOutletsBulkDestroy(ctx context.Context, body DcimPowerOutletsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimPowerOutletsList request DcimPowerOutletsList(ctx context.Context, params *DcimPowerOutletsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1049,11 +1431,21 @@ type ClientInterface interface { DcimPowerOutletsUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimPowerOutletsNotesList request + DcimPowerOutletsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimPowerOutletsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerOutletsNotesCreate request with any body + DcimPowerOutletsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerOutletsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimPowerOutletsTraceRetrieve request DcimPowerOutletsTraceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimPowerPanelsBulkDestroy request - DcimPowerPanelsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimPowerPanelsBulkDestroy request with any body + DcimPowerPanelsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPanelsBulkDestroy(ctx context.Context, body DcimPowerPanelsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimPowerPanelsList request DcimPowerPanelsList(ctx context.Context, params *DcimPowerPanelsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1089,8 +1481,18 @@ type ClientInterface interface { DcimPowerPanelsUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerPanelsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimPowerPortTemplatesBulkDestroy request - DcimPowerPortTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimPowerPanelsNotesList request + DcimPowerPanelsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimPowerPanelsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPanelsNotesCreate request with any body + DcimPowerPanelsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPanelsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimPowerPanelsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortTemplatesBulkDestroy request with any body + DcimPowerPortTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPortTemplatesBulkDestroy(ctx context.Context, body DcimPowerPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimPowerPortTemplatesList request DcimPowerPortTemplatesList(ctx context.Context, params *DcimPowerPortTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1126,8 +1528,18 @@ type ClientInterface interface { DcimPowerPortTemplatesUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimPowerPortsBulkDestroy request - DcimPowerPortsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimPowerPortTemplatesNotesList request + DcimPowerPortTemplatesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimPowerPortTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortTemplatesNotesCreate request with any body + DcimPowerPortTemplatesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPortTemplatesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimPowerPortTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortsBulkDestroy request with any body + DcimPowerPortsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPortsBulkDestroy(ctx context.Context, body DcimPowerPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimPowerPortsList request DcimPowerPortsList(ctx context.Context, params *DcimPowerPortsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1163,11 +1575,21 @@ type ClientInterface interface { DcimPowerPortsUpdate(ctx context.Context, id openapi_types.UUID, body DcimPowerPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimPowerPortsNotesList request + DcimPowerPortsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimPowerPortsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimPowerPortsNotesCreate request with any body + DcimPowerPortsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimPowerPortsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimPowerPortsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimPowerPortsTraceRetrieve request DcimPowerPortsTraceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimRackGroupsBulkDestroy request - DcimRackGroupsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimRackGroupsBulkDestroy request with any body + DcimRackGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackGroupsBulkDestroy(ctx context.Context, body DcimRackGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimRackGroupsList request DcimRackGroupsList(ctx context.Context, params *DcimRackGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1203,8 +1625,18 @@ type ClientInterface interface { DcimRackGroupsUpdate(ctx context.Context, id openapi_types.UUID, body DcimRackGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimRackReservationsBulkDestroy request - DcimRackReservationsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimRackGroupsNotesList request + DcimRackGroupsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimRackGroupsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackGroupsNotesCreate request with any body + DcimRackGroupsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackGroupsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimRackGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackReservationsBulkDestroy request with any body + DcimRackReservationsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackReservationsBulkDestroy(ctx context.Context, body DcimRackReservationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimRackReservationsList request DcimRackReservationsList(ctx context.Context, params *DcimRackReservationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1240,8 +1672,18 @@ type ClientInterface interface { DcimRackReservationsUpdate(ctx context.Context, id openapi_types.UUID, body DcimRackReservationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimRackRolesBulkDestroy request - DcimRackRolesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimRackReservationsNotesList request + DcimRackReservationsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimRackReservationsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackReservationsNotesCreate request with any body + DcimRackReservationsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackReservationsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimRackReservationsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackRolesBulkDestroy request with any body + DcimRackRolesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackRolesBulkDestroy(ctx context.Context, body DcimRackRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimRackRolesList request DcimRackRolesList(ctx context.Context, params *DcimRackRolesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1277,8 +1719,18 @@ type ClientInterface interface { DcimRackRolesUpdate(ctx context.Context, id openapi_types.UUID, body DcimRackRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimRacksBulkDestroy request - DcimRacksBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimRackRolesNotesList request + DcimRackRolesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimRackRolesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRackRolesNotesCreate request with any body + DcimRackRolesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRackRolesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimRackRolesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRacksBulkDestroy request with any body + DcimRacksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRacksBulkDestroy(ctx context.Context, body DcimRacksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimRacksList request DcimRacksList(ctx context.Context, params *DcimRacksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1317,8 +1769,18 @@ type ClientInterface interface { // DcimRacksElevationList request DcimRacksElevationList(ctx context.Context, id openapi_types.UUID, params *DcimRacksElevationListParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimRearPortTemplatesBulkDestroy request - DcimRearPortTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimRacksNotesList request + DcimRacksNotesList(ctx context.Context, id openapi_types.UUID, params *DcimRacksNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRacksNotesCreate request with any body + DcimRacksNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRacksNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimRacksNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortTemplatesBulkDestroy request with any body + DcimRearPortTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRearPortTemplatesBulkDestroy(ctx context.Context, body DcimRearPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimRearPortTemplatesList request DcimRearPortTemplatesList(ctx context.Context, params *DcimRearPortTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1354,8 +1816,18 @@ type ClientInterface interface { DcimRearPortTemplatesUpdate(ctx context.Context, id openapi_types.UUID, body DcimRearPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimRearPortsBulkDestroy request - DcimRearPortsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimRearPortTemplatesNotesList request + DcimRearPortTemplatesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimRearPortTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortTemplatesNotesCreate request with any body + DcimRearPortTemplatesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRearPortTemplatesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimRearPortTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortsBulkDestroy request with any body + DcimRearPortsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRearPortsBulkDestroy(ctx context.Context, body DcimRearPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimRearPortsList request DcimRearPortsList(ctx context.Context, params *DcimRearPortsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1391,11 +1863,21 @@ type ClientInterface interface { DcimRearPortsUpdate(ctx context.Context, id openapi_types.UUID, body DcimRearPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimRearPortsNotesList request + DcimRearPortsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimRearPortsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRearPortsNotesCreate request with any body + DcimRearPortsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRearPortsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimRearPortsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimRearPortsPathsRetrieve request DcimRearPortsPathsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimRegionsBulkDestroy request - DcimRegionsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimRegionsBulkDestroy request with any body + DcimRegionsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRegionsBulkDestroy(ctx context.Context, body DcimRegionsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimRegionsList request DcimRegionsList(ctx context.Context, params *DcimRegionsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1431,8 +1913,18 @@ type ClientInterface interface { DcimRegionsUpdate(ctx context.Context, id openapi_types.UUID, body DcimRegionsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimSitesBulkDestroy request - DcimSitesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimRegionsNotesList request + DcimRegionsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimRegionsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimRegionsNotesCreate request with any body + DcimRegionsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimRegionsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimRegionsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSitesBulkDestroy request with any body + DcimSitesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimSitesBulkDestroy(ctx context.Context, body DcimSitesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimSitesList request DcimSitesList(ctx context.Context, params *DcimSitesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1468,8 +1960,18 @@ type ClientInterface interface { DcimSitesUpdate(ctx context.Context, id openapi_types.UUID, body DcimSitesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DcimVirtualChassisBulkDestroy request - DcimVirtualChassisBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimSitesNotesList request + DcimSitesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimSitesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimSitesNotesCreate request with any body + DcimSitesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimSitesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimSitesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualChassisBulkDestroy request with any body + DcimVirtualChassisBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimVirtualChassisBulkDestroy(ctx context.Context, body DcimVirtualChassisBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DcimVirtualChassisList request DcimVirtualChassisList(ctx context.Context, params *DcimVirtualChassisListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1505,8 +2007,18 @@ type ClientInterface interface { DcimVirtualChassisUpdate(ctx context.Context, id openapi_types.UUID, body DcimVirtualChassisUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasComputedFieldsBulkDestroy request - ExtrasComputedFieldsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // DcimVirtualChassisNotesList request + DcimVirtualChassisNotesList(ctx context.Context, id openapi_types.UUID, params *DcimVirtualChassisNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DcimVirtualChassisNotesCreate request with any body + DcimVirtualChassisNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + DcimVirtualChassisNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimVirtualChassisNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasComputedFieldsBulkDestroy request with any body + ExtrasComputedFieldsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasComputedFieldsBulkDestroy(ctx context.Context, body ExtrasComputedFieldsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasComputedFieldsList request ExtrasComputedFieldsList(ctx context.Context, params *ExtrasComputedFieldsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1542,8 +2054,18 @@ type ClientInterface interface { ExtrasComputedFieldsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasComputedFieldsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasConfigContextSchemasBulkDestroy request - ExtrasConfigContextSchemasBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasComputedFieldsNotesList request + ExtrasComputedFieldsNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasComputedFieldsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasComputedFieldsNotesCreate request with any body + ExtrasComputedFieldsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasComputedFieldsNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasComputedFieldsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextSchemasBulkDestroy request with any body + ExtrasConfigContextSchemasBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigContextSchemasBulkDestroy(ctx context.Context, body ExtrasConfigContextSchemasBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasConfigContextSchemasList request ExtrasConfigContextSchemasList(ctx context.Context, params *ExtrasConfigContextSchemasListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1579,8 +2101,18 @@ type ClientInterface interface { ExtrasConfigContextSchemasUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextSchemasUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasConfigContextsBulkDestroy request - ExtrasConfigContextsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasConfigContextSchemasNotesList request + ExtrasConfigContextSchemasNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasConfigContextSchemasNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextSchemasNotesCreate request with any body + ExtrasConfigContextSchemasNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigContextSchemasNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextSchemasNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextsBulkDestroy request with any body + ExtrasConfigContextsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigContextsBulkDestroy(ctx context.Context, body ExtrasConfigContextsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasConfigContextsList request ExtrasConfigContextsList(ctx context.Context, params *ExtrasConfigContextsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1616,14 +2148,24 @@ type ClientInterface interface { ExtrasConfigContextsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasConfigContextsNotesList request + ExtrasConfigContextsNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasConfigContextsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasConfigContextsNotesCreate request with any body + ExtrasConfigContextsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasConfigContextsNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasContentTypesList request ExtrasContentTypesList(ctx context.Context, params *ExtrasContentTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasContentTypesRetrieve request ExtrasContentTypesRetrieve(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasCustomFieldChoicesBulkDestroy request - ExtrasCustomFieldChoicesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasCustomFieldChoicesBulkDestroy request with any body + ExtrasCustomFieldChoicesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomFieldChoicesBulkDestroy(ctx context.Context, body ExtrasCustomFieldChoicesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasCustomFieldChoicesList request ExtrasCustomFieldChoicesList(ctx context.Context, params *ExtrasCustomFieldChoicesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1659,8 +2201,10 @@ type ClientInterface interface { ExtrasCustomFieldChoicesUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldChoicesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasCustomFieldsBulkDestroy request - ExtrasCustomFieldsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasCustomFieldsBulkDestroy request with any body + ExtrasCustomFieldsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomFieldsBulkDestroy(ctx context.Context, body ExtrasCustomFieldsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasCustomFieldsList request ExtrasCustomFieldsList(ctx context.Context, params *ExtrasCustomFieldsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1696,8 +2240,18 @@ type ClientInterface interface { ExtrasCustomFieldsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasCustomLinksBulkDestroy request - ExtrasCustomLinksBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasCustomFieldsNotesList request + ExtrasCustomFieldsNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasCustomFieldsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomFieldsNotesCreate request with any body + ExtrasCustomFieldsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomFieldsNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomLinksBulkDestroy request with any body + ExtrasCustomLinksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomLinksBulkDestroy(ctx context.Context, body ExtrasCustomLinksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasCustomLinksList request ExtrasCustomLinksList(ctx context.Context, params *ExtrasCustomLinksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1733,8 +2287,57 @@ type ClientInterface interface { ExtrasCustomLinksUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasCustomLinksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasDynamicGroupsBulkDestroy request - ExtrasDynamicGroupsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasCustomLinksNotesList request + ExtrasCustomLinksNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasCustomLinksNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasCustomLinksNotesCreate request with any body + ExtrasCustomLinksNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasCustomLinksNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasCustomLinksNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDynamicGroupMembershipsBulkDestroy request with any body + ExtrasDynamicGroupMembershipsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasDynamicGroupMembershipsBulkDestroy(ctx context.Context, body ExtrasDynamicGroupMembershipsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDynamicGroupMembershipsList request + ExtrasDynamicGroupMembershipsList(ctx context.Context, params *ExtrasDynamicGroupMembershipsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDynamicGroupMembershipsBulkPartialUpdate request with any body + ExtrasDynamicGroupMembershipsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasDynamicGroupMembershipsBulkPartialUpdate(ctx context.Context, body ExtrasDynamicGroupMembershipsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDynamicGroupMembershipsCreate request with any body + ExtrasDynamicGroupMembershipsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasDynamicGroupMembershipsCreate(ctx context.Context, body ExtrasDynamicGroupMembershipsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDynamicGroupMembershipsBulkUpdate request with any body + ExtrasDynamicGroupMembershipsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasDynamicGroupMembershipsBulkUpdate(ctx context.Context, body ExtrasDynamicGroupMembershipsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDynamicGroupMembershipsDestroy request + ExtrasDynamicGroupMembershipsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDynamicGroupMembershipsRetrieve request + ExtrasDynamicGroupMembershipsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDynamicGroupMembershipsPartialUpdate request with any body + ExtrasDynamicGroupMembershipsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasDynamicGroupMembershipsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasDynamicGroupMembershipsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDynamicGroupMembershipsUpdate request with any body + ExtrasDynamicGroupMembershipsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasDynamicGroupMembershipsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasDynamicGroupMembershipsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDynamicGroupsBulkDestroy request with any body + ExtrasDynamicGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasDynamicGroupsBulkDestroy(ctx context.Context, body ExtrasDynamicGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasDynamicGroupsList request ExtrasDynamicGroupsList(ctx context.Context, params *ExtrasDynamicGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1773,8 +2376,18 @@ type ClientInterface interface { // ExtrasDynamicGroupsMembersRetrieve request ExtrasDynamicGroupsMembersRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasExportTemplatesBulkDestroy request - ExtrasExportTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasDynamicGroupsNotesList request + ExtrasDynamicGroupsNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasDynamicGroupsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasDynamicGroupsNotesCreate request with any body + ExtrasDynamicGroupsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasDynamicGroupsNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasDynamicGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasExportTemplatesBulkDestroy request with any body + ExtrasExportTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasExportTemplatesBulkDestroy(ctx context.Context, body ExtrasExportTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasExportTemplatesList request ExtrasExportTemplatesList(ctx context.Context, params *ExtrasExportTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1810,8 +2423,18 @@ type ClientInterface interface { ExtrasExportTemplatesUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasExportTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasGitRepositoriesBulkDestroy request - ExtrasGitRepositoriesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasExportTemplatesNotesList request + ExtrasExportTemplatesNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasExportTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasExportTemplatesNotesCreate request with any body + ExtrasExportTemplatesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasExportTemplatesNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasExportTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasGitRepositoriesBulkDestroy request with any body + ExtrasGitRepositoriesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasGitRepositoriesBulkDestroy(ctx context.Context, body ExtrasGitRepositoriesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasGitRepositoriesList request ExtrasGitRepositoriesList(ctx context.Context, params *ExtrasGitRepositoriesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1847,13 +2470,23 @@ type ClientInterface interface { ExtrasGitRepositoriesUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasGitRepositoriesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasGitRepositoriesNotesList request + ExtrasGitRepositoriesNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasGitRepositoriesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasGitRepositoriesNotesCreate request with any body + ExtrasGitRepositoriesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasGitRepositoriesNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasGitRepositoriesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasGitRepositoriesSyncCreate request with any body ExtrasGitRepositoriesSyncCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ExtrasGitRepositoriesSyncCreate(ctx context.Context, id openapi_types.UUID, body ExtrasGitRepositoriesSyncCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasGraphqlQueriesBulkDestroy request - ExtrasGraphqlQueriesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasGraphqlQueriesBulkDestroy request with any body + ExtrasGraphqlQueriesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasGraphqlQueriesBulkDestroy(ctx context.Context, body ExtrasGraphqlQueriesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasGraphqlQueriesList request ExtrasGraphqlQueriesList(ctx context.Context, params *ExtrasGraphqlQueriesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1889,13 +2522,23 @@ type ClientInterface interface { ExtrasGraphqlQueriesUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasGraphqlQueriesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasGraphqlQueriesNotesList request + ExtrasGraphqlQueriesNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasGraphqlQueriesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasGraphqlQueriesNotesCreate request with any body + ExtrasGraphqlQueriesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasGraphqlQueriesNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasGraphqlQueriesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasGraphqlQueriesRunCreate request with any body ExtrasGraphqlQueriesRunCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ExtrasGraphqlQueriesRunCreate(ctx context.Context, id openapi_types.UUID, body ExtrasGraphqlQueriesRunCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasImageAttachmentsBulkDestroy request - ExtrasImageAttachmentsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasImageAttachmentsBulkDestroy request with any body + ExtrasImageAttachmentsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasImageAttachmentsBulkDestroy(ctx context.Context, body ExtrasImageAttachmentsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasImageAttachmentsList request ExtrasImageAttachmentsList(ctx context.Context, params *ExtrasImageAttachmentsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -1931,54 +2574,80 @@ type ClientInterface interface { ExtrasImageAttachmentsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasImageAttachmentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasJobHooksBulkDestroy request with any body + ExtrasJobHooksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasJobHooksBulkDestroy(ctx context.Context, body ExtrasJobHooksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJobHooksList request + ExtrasJobHooksList(ctx context.Context, params *ExtrasJobHooksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJobHooksBulkPartialUpdate request with any body + ExtrasJobHooksBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasJobHooksBulkPartialUpdate(ctx context.Context, body ExtrasJobHooksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJobHooksCreate request with any body + ExtrasJobHooksCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasJobHooksCreate(ctx context.Context, body ExtrasJobHooksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJobHooksBulkUpdate request with any body + ExtrasJobHooksBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasJobHooksBulkUpdate(ctx context.Context, body ExtrasJobHooksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJobHooksDestroy request + ExtrasJobHooksDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJobHooksRetrieve request + ExtrasJobHooksRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJobHooksPartialUpdate request with any body + ExtrasJobHooksPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasJobHooksPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasJobHooksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJobHooksUpdate request with any body + ExtrasJobHooksUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasJobHooksUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasJobHooksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJobHooksNotesList request + ExtrasJobHooksNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasJobHooksNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJobHooksNotesCreate request with any body + ExtrasJobHooksNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasJobHooksNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasJobHooksNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasJobLogsList request ExtrasJobLogsList(ctx context.Context, params *ExtrasJobLogsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasJobLogsRetrieve request ExtrasJobLogsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasJobResultsBulkDestroy request - ExtrasJobResultsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasJobResultsBulkDestroy request with any body + ExtrasJobResultsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasJobResultsBulkDestroy(ctx context.Context, body ExtrasJobResultsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasJobResultsList request ExtrasJobResultsList(ctx context.Context, params *ExtrasJobResultsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasJobResultsBulkPartialUpdate request with any body - ExtrasJobResultsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - ExtrasJobResultsBulkPartialUpdate(ctx context.Context, body ExtrasJobResultsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // ExtrasJobResultsCreate request with any body - ExtrasJobResultsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - ExtrasJobResultsCreate(ctx context.Context, body ExtrasJobResultsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // ExtrasJobResultsBulkUpdate request with any body - ExtrasJobResultsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - ExtrasJobResultsBulkUpdate(ctx context.Context, body ExtrasJobResultsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasJobResultsDestroy request ExtrasJobResultsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasJobResultsRetrieve request ExtrasJobResultsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasJobResultsPartialUpdate request with any body - ExtrasJobResultsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - ExtrasJobResultsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasJobResultsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // ExtrasJobResultsUpdate request with any body - ExtrasJobResultsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - ExtrasJobResultsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasJobResultsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasJobResultsLogsRetrieve request ExtrasJobResultsLogsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasJobsBulkDestroy request - ExtrasJobsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasJobsBulkDestroy request with any body + ExtrasJobsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasJobsBulkDestroy(ctx context.Context, body ExtrasJobsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasJobsList request ExtrasJobsList(ctx context.Context, params *ExtrasJobsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2017,6 +2686,14 @@ type ClientInterface interface { ExtrasJobsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasJobsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasJobsNotesList request + ExtrasJobsNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasJobsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasJobsNotesCreate request with any body + ExtrasJobsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasJobsNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasJobsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasJobsRunCreate request with any body ExtrasJobsRunCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2025,14 +2702,55 @@ type ClientInterface interface { // ExtrasJobsVariablesList request ExtrasJobsVariablesList(ctx context.Context, id openapi_types.UUID, params *ExtrasJobsVariablesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasNotesBulkDestroy request with any body + ExtrasNotesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasNotesBulkDestroy(ctx context.Context, body ExtrasNotesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasNotesList request + ExtrasNotesList(ctx context.Context, params *ExtrasNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasNotesBulkPartialUpdate request with any body + ExtrasNotesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasNotesBulkPartialUpdate(ctx context.Context, body ExtrasNotesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasNotesCreate request with any body + ExtrasNotesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasNotesCreate(ctx context.Context, body ExtrasNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasNotesBulkUpdate request with any body + ExtrasNotesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasNotesBulkUpdate(ctx context.Context, body ExtrasNotesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasNotesDestroy request + ExtrasNotesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasNotesRetrieve request + ExtrasNotesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasNotesPartialUpdate request with any body + ExtrasNotesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasNotesPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasNotesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasNotesUpdate request with any body + ExtrasNotesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasNotesUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasNotesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasObjectChangesList request ExtrasObjectChangesList(ctx context.Context, params *ExtrasObjectChangesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasObjectChangesRetrieve request ExtrasObjectChangesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasRelationshipAssociationsBulkDestroy request - ExtrasRelationshipAssociationsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasRelationshipAssociationsBulkDestroy request with any body + ExtrasRelationshipAssociationsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasRelationshipAssociationsBulkDestroy(ctx context.Context, body ExtrasRelationshipAssociationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasRelationshipAssociationsList request ExtrasRelationshipAssociationsList(ctx context.Context, params *ExtrasRelationshipAssociationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2068,8 +2786,10 @@ type ClientInterface interface { ExtrasRelationshipAssociationsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipAssociationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasRelationshipsBulkDestroy request - ExtrasRelationshipsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasRelationshipsBulkDestroy request with any body + ExtrasRelationshipsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasRelationshipsBulkDestroy(ctx context.Context, body ExtrasRelationshipsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasRelationshipsList request ExtrasRelationshipsList(ctx context.Context, params *ExtrasRelationshipsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2105,6 +2825,14 @@ type ClientInterface interface { ExtrasRelationshipsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasRelationshipsNotesList request + ExtrasRelationshipsNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasRelationshipsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasRelationshipsNotesCreate request with any body + ExtrasRelationshipsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasRelationshipsNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasScheduledJobsList request ExtrasScheduledJobsList(ctx context.Context, params *ExtrasScheduledJobsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2120,8 +2848,10 @@ type ClientInterface interface { // ExtrasScheduledJobsDryRunCreate request ExtrasScheduledJobsDryRunCreate(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasSecretsGroupsAssociationsBulkDestroy request - ExtrasSecretsGroupsAssociationsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasSecretsGroupsAssociationsBulkDestroy request with any body + ExtrasSecretsGroupsAssociationsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSecretsGroupsAssociationsBulkDestroy(ctx context.Context, body ExtrasSecretsGroupsAssociationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasSecretsGroupsAssociationsList request ExtrasSecretsGroupsAssociationsList(ctx context.Context, params *ExtrasSecretsGroupsAssociationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2157,8 +2887,10 @@ type ClientInterface interface { ExtrasSecretsGroupsAssociationsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsAssociationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasSecretsGroupsBulkDestroy request - ExtrasSecretsGroupsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasSecretsGroupsBulkDestroy request with any body + ExtrasSecretsGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSecretsGroupsBulkDestroy(ctx context.Context, body ExtrasSecretsGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasSecretsGroupsList request ExtrasSecretsGroupsList(ctx context.Context, params *ExtrasSecretsGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2194,8 +2926,18 @@ type ClientInterface interface { ExtrasSecretsGroupsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasSecretsBulkDestroy request - ExtrasSecretsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasSecretsGroupsNotesList request + ExtrasSecretsGroupsNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasSecretsGroupsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsGroupsNotesCreate request with any body + ExtrasSecretsGroupsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSecretsGroupsNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsBulkDestroy request with any body + ExtrasSecretsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSecretsBulkDestroy(ctx context.Context, body ExtrasSecretsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasSecretsList request ExtrasSecretsList(ctx context.Context, params *ExtrasSecretsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2231,8 +2973,18 @@ type ClientInterface interface { ExtrasSecretsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasStatusesBulkDestroy request - ExtrasStatusesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasSecretsNotesList request + ExtrasSecretsNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasSecretsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasSecretsNotesCreate request with any body + ExtrasSecretsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasSecretsNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasStatusesBulkDestroy request with any body + ExtrasStatusesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasStatusesBulkDestroy(ctx context.Context, body ExtrasStatusesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasStatusesList request ExtrasStatusesList(ctx context.Context, params *ExtrasStatusesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2268,8 +3020,18 @@ type ClientInterface interface { ExtrasStatusesUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasStatusesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasTagsBulkDestroy request - ExtrasTagsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasStatusesNotesList request + ExtrasStatusesNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasStatusesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasStatusesNotesCreate request with any body + ExtrasStatusesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasStatusesNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasStatusesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasTagsBulkDestroy request with any body + ExtrasTagsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasTagsBulkDestroy(ctx context.Context, body ExtrasTagsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasTagsList request ExtrasTagsList(ctx context.Context, params *ExtrasTagsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2305,8 +3067,18 @@ type ClientInterface interface { ExtrasTagsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasTagsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // ExtrasWebhooksBulkDestroy request - ExtrasWebhooksBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasTagsNotesList request + ExtrasTagsNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasTagsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasTagsNotesCreate request with any body + ExtrasTagsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasTagsNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasTagsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasWebhooksBulkDestroy request with any body + ExtrasWebhooksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasWebhooksBulkDestroy(ctx context.Context, body ExtrasWebhooksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ExtrasWebhooksList request ExtrasWebhooksList(ctx context.Context, params *ExtrasWebhooksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2342,13 +3114,23 @@ type ClientInterface interface { ExtrasWebhooksUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasWebhooksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // ExtrasWebhooksNotesList request + ExtrasWebhooksNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasWebhooksNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // ExtrasWebhooksNotesCreate request with any body + ExtrasWebhooksNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + ExtrasWebhooksNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasWebhooksNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // GraphqlCreate request with any body GraphqlCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) GraphqlCreate(ctx context.Context, body GraphqlCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // IpamAggregatesBulkDestroy request - IpamAggregatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // IpamAggregatesBulkDestroy request with any body + IpamAggregatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAggregatesBulkDestroy(ctx context.Context, body IpamAggregatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // IpamAggregatesList request IpamAggregatesList(ctx context.Context, params *IpamAggregatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2384,8 +3166,18 @@ type ClientInterface interface { IpamAggregatesUpdate(ctx context.Context, id openapi_types.UUID, body IpamAggregatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // IpamIpAddressesBulkDestroy request - IpamIpAddressesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // IpamAggregatesNotesList request + IpamAggregatesNotesList(ctx context.Context, id openapi_types.UUID, params *IpamAggregatesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamAggregatesNotesCreate request with any body + IpamAggregatesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamAggregatesNotesCreate(ctx context.Context, id openapi_types.UUID, body IpamAggregatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpAddressesBulkDestroy request with any body + IpamIpAddressesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamIpAddressesBulkDestroy(ctx context.Context, body IpamIpAddressesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // IpamIpAddressesList request IpamIpAddressesList(ctx context.Context, params *IpamIpAddressesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2421,8 +3213,18 @@ type ClientInterface interface { IpamIpAddressesUpdate(ctx context.Context, id openapi_types.UUID, body IpamIpAddressesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // IpamPrefixesBulkDestroy request - IpamPrefixesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // IpamIpAddressesNotesList request + IpamIpAddressesNotesList(ctx context.Context, id openapi_types.UUID, params *IpamIpAddressesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamIpAddressesNotesCreate request with any body + IpamIpAddressesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamIpAddressesNotesCreate(ctx context.Context, id openapi_types.UUID, body IpamIpAddressesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamPrefixesBulkDestroy request with any body + IpamPrefixesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamPrefixesBulkDestroy(ctx context.Context, body IpamPrefixesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // IpamPrefixesList request IpamPrefixesList(ctx context.Context, params *IpamPrefixesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2461,10 +3263,8 @@ type ClientInterface interface { // IpamPrefixesAvailableIpsList request IpamPrefixesAvailableIpsList(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailableIpsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // IpamPrefixesAvailableIpsCreate request with any body - IpamPrefixesAvailableIpsCreateWithBody(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailableIpsCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - IpamPrefixesAvailableIpsCreate(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailableIpsCreateParams, body IpamPrefixesAvailableIpsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // IpamPrefixesAvailableIpsCreate request + IpamPrefixesAvailableIpsCreate(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailableIpsCreateParams, reqEditors ...RequestEditorFn) (*http.Response, error) // IpamPrefixesAvailablePrefixesList request IpamPrefixesAvailablePrefixesList(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailablePrefixesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2474,8 +3274,18 @@ type ClientInterface interface { IpamPrefixesAvailablePrefixesCreate(ctx context.Context, id openapi_types.UUID, body IpamPrefixesAvailablePrefixesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // IpamRirsBulkDestroy request - IpamRirsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // IpamPrefixesNotesList request + IpamPrefixesNotesList(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamPrefixesNotesCreate request with any body + IpamPrefixesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamPrefixesNotesCreate(ctx context.Context, id openapi_types.UUID, body IpamPrefixesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRirsBulkDestroy request with any body + IpamRirsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRirsBulkDestroy(ctx context.Context, body IpamRirsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // IpamRirsList request IpamRirsList(ctx context.Context, params *IpamRirsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2511,8 +3321,18 @@ type ClientInterface interface { IpamRirsUpdate(ctx context.Context, id openapi_types.UUID, body IpamRirsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // IpamRolesBulkDestroy request - IpamRolesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // IpamRirsNotesList request + IpamRirsNotesList(ctx context.Context, id openapi_types.UUID, params *IpamRirsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRirsNotesCreate request with any body + IpamRirsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRirsNotesCreate(ctx context.Context, id openapi_types.UUID, body IpamRirsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRolesBulkDestroy request with any body + IpamRolesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRolesBulkDestroy(ctx context.Context, body IpamRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // IpamRolesList request IpamRolesList(ctx context.Context, params *IpamRolesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2548,8 +3368,18 @@ type ClientInterface interface { IpamRolesUpdate(ctx context.Context, id openapi_types.UUID, body IpamRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // IpamRouteTargetsBulkDestroy request - IpamRouteTargetsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // IpamRolesNotesList request + IpamRolesNotesList(ctx context.Context, id openapi_types.UUID, params *IpamRolesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRolesNotesCreate request with any body + IpamRolesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRolesNotesCreate(ctx context.Context, id openapi_types.UUID, body IpamRolesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRouteTargetsBulkDestroy request with any body + IpamRouteTargetsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRouteTargetsBulkDestroy(ctx context.Context, body IpamRouteTargetsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // IpamRouteTargetsList request IpamRouteTargetsList(ctx context.Context, params *IpamRouteTargetsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2585,8 +3415,18 @@ type ClientInterface interface { IpamRouteTargetsUpdate(ctx context.Context, id openapi_types.UUID, body IpamRouteTargetsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // IpamServicesBulkDestroy request - IpamServicesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // IpamRouteTargetsNotesList request + IpamRouteTargetsNotesList(ctx context.Context, id openapi_types.UUID, params *IpamRouteTargetsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamRouteTargetsNotesCreate request with any body + IpamRouteTargetsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamRouteTargetsNotesCreate(ctx context.Context, id openapi_types.UUID, body IpamRouteTargetsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServicesBulkDestroy request with any body + IpamServicesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamServicesBulkDestroy(ctx context.Context, body IpamServicesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // IpamServicesList request IpamServicesList(ctx context.Context, params *IpamServicesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2622,8 +3462,18 @@ type ClientInterface interface { IpamServicesUpdate(ctx context.Context, id openapi_types.UUID, body IpamServicesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // IpamVlanGroupsBulkDestroy request - IpamVlanGroupsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // IpamServicesNotesList request + IpamServicesNotesList(ctx context.Context, id openapi_types.UUID, params *IpamServicesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamServicesNotesCreate request with any body + IpamServicesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamServicesNotesCreate(ctx context.Context, id openapi_types.UUID, body IpamServicesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlanGroupsBulkDestroy request with any body + IpamVlanGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVlanGroupsBulkDestroy(ctx context.Context, body IpamVlanGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // IpamVlanGroupsList request IpamVlanGroupsList(ctx context.Context, params *IpamVlanGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2659,8 +3509,18 @@ type ClientInterface interface { IpamVlanGroupsUpdate(ctx context.Context, id openapi_types.UUID, body IpamVlanGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // IpamVlansBulkDestroy request - IpamVlansBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // IpamVlanGroupsNotesList request + IpamVlanGroupsNotesList(ctx context.Context, id openapi_types.UUID, params *IpamVlanGroupsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlanGroupsNotesCreate request with any body + IpamVlanGroupsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVlanGroupsNotesCreate(ctx context.Context, id openapi_types.UUID, body IpamVlanGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlansBulkDestroy request with any body + IpamVlansBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVlansBulkDestroy(ctx context.Context, body IpamVlansBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // IpamVlansList request IpamVlansList(ctx context.Context, params *IpamVlansListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2696,8 +3556,18 @@ type ClientInterface interface { IpamVlansUpdate(ctx context.Context, id openapi_types.UUID, body IpamVlansUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // IpamVrfsBulkDestroy request - IpamVrfsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // IpamVlansNotesList request + IpamVlansNotesList(ctx context.Context, id openapi_types.UUID, params *IpamVlansNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVlansNotesCreate request with any body + IpamVlansNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVlansNotesCreate(ctx context.Context, id openapi_types.UUID, body IpamVlansNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVrfsBulkDestroy request with any body + IpamVrfsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVrfsBulkDestroy(ctx context.Context, body IpamVrfsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // IpamVrfsList request IpamVrfsList(ctx context.Context, params *IpamVrfsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2733,8 +3603,330 @@ type ClientInterface interface { IpamVrfsUpdate(ctx context.Context, id openapi_types.UUID, body IpamVrfsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsChatopsAccessgrantBulkDestroy request - PluginsChatopsAccessgrantBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // IpamVrfsNotesList request + IpamVrfsNotesList(ctx context.Context, id openapi_types.UUID, params *IpamVrfsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // IpamVrfsNotesCreate request with any body + IpamVrfsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + IpamVrfsNotesCreate(ctx context.Context, id openapi_types.UUID, body IpamVrfsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpAddressFamiliesBulkDestroy request with any body + PluginsBgpAddressFamiliesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpAddressFamiliesBulkDestroy(ctx context.Context, body PluginsBgpAddressFamiliesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpAddressFamiliesList request + PluginsBgpAddressFamiliesList(ctx context.Context, params *PluginsBgpAddressFamiliesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpAddressFamiliesBulkPartialUpdate request with any body + PluginsBgpAddressFamiliesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpAddressFamiliesBulkPartialUpdate(ctx context.Context, body PluginsBgpAddressFamiliesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpAddressFamiliesCreate request with any body + PluginsBgpAddressFamiliesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpAddressFamiliesCreate(ctx context.Context, body PluginsBgpAddressFamiliesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpAddressFamiliesBulkUpdate request with any body + PluginsBgpAddressFamiliesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpAddressFamiliesBulkUpdate(ctx context.Context, body PluginsBgpAddressFamiliesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpAddressFamiliesDestroy request + PluginsBgpAddressFamiliesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpAddressFamiliesRetrieve request + PluginsBgpAddressFamiliesRetrieve(ctx context.Context, id openapi_types.UUID, params *PluginsBgpAddressFamiliesRetrieveParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpAddressFamiliesPartialUpdate request with any body + PluginsBgpAddressFamiliesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpAddressFamiliesPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpAddressFamiliesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpAddressFamiliesUpdate request with any body + PluginsBgpAddressFamiliesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpAddressFamiliesUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpAddressFamiliesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpAutonomousSystemsBulkDestroy request with any body + PluginsBgpAutonomousSystemsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpAutonomousSystemsBulkDestroy(ctx context.Context, body PluginsBgpAutonomousSystemsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpAutonomousSystemsList request + PluginsBgpAutonomousSystemsList(ctx context.Context, params *PluginsBgpAutonomousSystemsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpAutonomousSystemsBulkPartialUpdate request with any body + PluginsBgpAutonomousSystemsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpAutonomousSystemsBulkPartialUpdate(ctx context.Context, body PluginsBgpAutonomousSystemsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpAutonomousSystemsCreate request with any body + PluginsBgpAutonomousSystemsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpAutonomousSystemsCreate(ctx context.Context, body PluginsBgpAutonomousSystemsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpAutonomousSystemsBulkUpdate request with any body + PluginsBgpAutonomousSystemsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpAutonomousSystemsBulkUpdate(ctx context.Context, body PluginsBgpAutonomousSystemsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpAutonomousSystemsDestroy request + PluginsBgpAutonomousSystemsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpAutonomousSystemsRetrieve request + PluginsBgpAutonomousSystemsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpAutonomousSystemsPartialUpdate request with any body + PluginsBgpAutonomousSystemsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpAutonomousSystemsPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpAutonomousSystemsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpAutonomousSystemsUpdate request with any body + PluginsBgpAutonomousSystemsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpAutonomousSystemsUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpAutonomousSystemsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerEndpointsBulkDestroy request with any body + PluginsBgpPeerEndpointsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerEndpointsBulkDestroy(ctx context.Context, body PluginsBgpPeerEndpointsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerEndpointsList request + PluginsBgpPeerEndpointsList(ctx context.Context, params *PluginsBgpPeerEndpointsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerEndpointsBulkPartialUpdate request with any body + PluginsBgpPeerEndpointsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerEndpointsBulkPartialUpdate(ctx context.Context, body PluginsBgpPeerEndpointsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerEndpointsCreate request with any body + PluginsBgpPeerEndpointsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerEndpointsCreate(ctx context.Context, body PluginsBgpPeerEndpointsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerEndpointsBulkUpdate request with any body + PluginsBgpPeerEndpointsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerEndpointsBulkUpdate(ctx context.Context, body PluginsBgpPeerEndpointsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerEndpointsDestroy request + PluginsBgpPeerEndpointsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerEndpointsRetrieve request + PluginsBgpPeerEndpointsRetrieve(ctx context.Context, id openapi_types.UUID, params *PluginsBgpPeerEndpointsRetrieveParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerEndpointsPartialUpdate request with any body + PluginsBgpPeerEndpointsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerEndpointsPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerEndpointsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerEndpointsUpdate request with any body + PluginsBgpPeerEndpointsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerEndpointsUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerEndpointsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupTemplatesBulkDestroy request with any body + PluginsBgpPeerGroupTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerGroupTemplatesBulkDestroy(ctx context.Context, body PluginsBgpPeerGroupTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupTemplatesList request + PluginsBgpPeerGroupTemplatesList(ctx context.Context, params *PluginsBgpPeerGroupTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupTemplatesBulkPartialUpdate request with any body + PluginsBgpPeerGroupTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerGroupTemplatesBulkPartialUpdate(ctx context.Context, body PluginsBgpPeerGroupTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupTemplatesCreate request with any body + PluginsBgpPeerGroupTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerGroupTemplatesCreate(ctx context.Context, body PluginsBgpPeerGroupTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupTemplatesBulkUpdate request with any body + PluginsBgpPeerGroupTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerGroupTemplatesBulkUpdate(ctx context.Context, body PluginsBgpPeerGroupTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupTemplatesDestroy request + PluginsBgpPeerGroupTemplatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupTemplatesRetrieve request + PluginsBgpPeerGroupTemplatesRetrieve(ctx context.Context, id openapi_types.UUID, params *PluginsBgpPeerGroupTemplatesRetrieveParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupTemplatesPartialUpdate request with any body + PluginsBgpPeerGroupTemplatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerGroupTemplatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerGroupTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupTemplatesUpdate request with any body + PluginsBgpPeerGroupTemplatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerGroupTemplatesUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerGroupTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupsBulkDestroy request with any body + PluginsBgpPeerGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerGroupsBulkDestroy(ctx context.Context, body PluginsBgpPeerGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupsList request + PluginsBgpPeerGroupsList(ctx context.Context, params *PluginsBgpPeerGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupsBulkPartialUpdate request with any body + PluginsBgpPeerGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerGroupsBulkPartialUpdate(ctx context.Context, body PluginsBgpPeerGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupsCreate request with any body + PluginsBgpPeerGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerGroupsCreate(ctx context.Context, body PluginsBgpPeerGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupsBulkUpdate request with any body + PluginsBgpPeerGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerGroupsBulkUpdate(ctx context.Context, body PluginsBgpPeerGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupsDestroy request + PluginsBgpPeerGroupsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupsRetrieve request + PluginsBgpPeerGroupsRetrieve(ctx context.Context, id openapi_types.UUID, params *PluginsBgpPeerGroupsRetrieveParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupsPartialUpdate request with any body + PluginsBgpPeerGroupsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerGroupsPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeerGroupsUpdate request with any body + PluginsBgpPeerGroupsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeerGroupsUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeeringRolesBulkDestroy request with any body + PluginsBgpPeeringRolesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeeringRolesBulkDestroy(ctx context.Context, body PluginsBgpPeeringRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeeringRolesList request + PluginsBgpPeeringRolesList(ctx context.Context, params *PluginsBgpPeeringRolesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeeringRolesBulkPartialUpdate request with any body + PluginsBgpPeeringRolesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeeringRolesBulkPartialUpdate(ctx context.Context, body PluginsBgpPeeringRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeeringRolesCreate request with any body + PluginsBgpPeeringRolesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeeringRolesCreate(ctx context.Context, body PluginsBgpPeeringRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeeringRolesBulkUpdate request with any body + PluginsBgpPeeringRolesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeeringRolesBulkUpdate(ctx context.Context, body PluginsBgpPeeringRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeeringRolesDestroy request + PluginsBgpPeeringRolesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeeringRolesRetrieve request + PluginsBgpPeeringRolesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeeringRolesPartialUpdate request with any body + PluginsBgpPeeringRolesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeeringRolesPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeeringRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeeringRolesUpdate request with any body + PluginsBgpPeeringRolesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeeringRolesUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeeringRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeeringsBulkDestroy request with any body + PluginsBgpPeeringsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeeringsBulkDestroy(ctx context.Context, body PluginsBgpPeeringsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeeringsList request + PluginsBgpPeeringsList(ctx context.Context, params *PluginsBgpPeeringsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeeringsBulkPartialUpdate request with any body + PluginsBgpPeeringsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeeringsBulkPartialUpdate(ctx context.Context, body PluginsBgpPeeringsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeeringsCreate request with any body + PluginsBgpPeeringsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeeringsCreate(ctx context.Context, body PluginsBgpPeeringsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeeringsBulkUpdate request with any body + PluginsBgpPeeringsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeeringsBulkUpdate(ctx context.Context, body PluginsBgpPeeringsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeeringsDestroy request + PluginsBgpPeeringsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeeringsRetrieve request + PluginsBgpPeeringsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeeringsPartialUpdate request with any body + PluginsBgpPeeringsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeeringsPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeeringsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpPeeringsUpdate request with any body + PluginsBgpPeeringsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpPeeringsUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeeringsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingInstancesBulkDestroy request with any body + PluginsBgpRoutingInstancesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpRoutingInstancesBulkDestroy(ctx context.Context, body PluginsBgpRoutingInstancesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingInstancesList request + PluginsBgpRoutingInstancesList(ctx context.Context, params *PluginsBgpRoutingInstancesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingInstancesBulkPartialUpdate request with any body + PluginsBgpRoutingInstancesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpRoutingInstancesBulkPartialUpdate(ctx context.Context, body PluginsBgpRoutingInstancesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingInstancesCreate request with any body + PluginsBgpRoutingInstancesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpRoutingInstancesCreate(ctx context.Context, body PluginsBgpRoutingInstancesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingInstancesBulkUpdate request with any body + PluginsBgpRoutingInstancesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpRoutingInstancesBulkUpdate(ctx context.Context, body PluginsBgpRoutingInstancesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingInstancesDestroy request + PluginsBgpRoutingInstancesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingInstancesRetrieve request + PluginsBgpRoutingInstancesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingInstancesPartialUpdate request with any body + PluginsBgpRoutingInstancesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpRoutingInstancesPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpRoutingInstancesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsBgpRoutingInstancesUpdate request with any body + PluginsBgpRoutingInstancesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsBgpRoutingInstancesUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpRoutingInstancesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsChatopsAccessgrantBulkDestroy request with any body + PluginsChatopsAccessgrantBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsChatopsAccessgrantBulkDestroy(ctx context.Context, body PluginsChatopsAccessgrantBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsChatopsAccessgrantList request PluginsChatopsAccessgrantList(ctx context.Context, params *PluginsChatopsAccessgrantListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2770,8 +3962,10 @@ type ClientInterface interface { PluginsChatopsAccessgrantUpdate(ctx context.Context, id openapi_types.UUID, body PluginsChatopsAccessgrantUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsChatopsCommandtokenBulkDestroy request - PluginsChatopsCommandtokenBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsChatopsCommandtokenBulkDestroy request with any body + PluginsChatopsCommandtokenBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsChatopsCommandtokenBulkDestroy(ctx context.Context, body PluginsChatopsCommandtokenBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsChatopsCommandtokenList request PluginsChatopsCommandtokenList(ctx context.Context, params *PluginsChatopsCommandtokenListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2807,8 +4001,10 @@ type ClientInterface interface { PluginsChatopsCommandtokenUpdate(ctx context.Context, id openapi_types.UUID, body PluginsChatopsCommandtokenUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsCircuitMaintenanceCircuitimpactBulkDestroy request - PluginsCircuitMaintenanceCircuitimpactBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsCircuitMaintenanceCircuitimpactBulkDestroy request with any body + PluginsCircuitMaintenanceCircuitimpactBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsCircuitMaintenanceCircuitimpactBulkDestroy(ctx context.Context, body PluginsCircuitMaintenanceCircuitimpactBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsCircuitMaintenanceCircuitimpactList request PluginsCircuitMaintenanceCircuitimpactList(ctx context.Context, params *PluginsCircuitMaintenanceCircuitimpactListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2844,8 +4040,10 @@ type ClientInterface interface { PluginsCircuitMaintenanceCircuitimpactUpdate(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceCircuitimpactUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsCircuitMaintenanceMaintenanceBulkDestroy request - PluginsCircuitMaintenanceMaintenanceBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsCircuitMaintenanceMaintenanceBulkDestroy request with any body + PluginsCircuitMaintenanceMaintenanceBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsCircuitMaintenanceMaintenanceBulkDestroy(ctx context.Context, body PluginsCircuitMaintenanceMaintenanceBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsCircuitMaintenanceMaintenanceList request PluginsCircuitMaintenanceMaintenanceList(ctx context.Context, params *PluginsCircuitMaintenanceMaintenanceListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2881,8 +4079,10 @@ type ClientInterface interface { PluginsCircuitMaintenanceMaintenanceUpdate(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceMaintenanceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsCircuitMaintenanceNoteBulkDestroy request - PluginsCircuitMaintenanceNoteBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsCircuitMaintenanceNoteBulkDestroy request with any body + PluginsCircuitMaintenanceNoteBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsCircuitMaintenanceNoteBulkDestroy(ctx context.Context, body PluginsCircuitMaintenanceNoteBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsCircuitMaintenanceNoteList request PluginsCircuitMaintenanceNoteList(ctx context.Context, params *PluginsCircuitMaintenanceNoteListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2924,8 +4124,10 @@ type ClientInterface interface { // PluginsCircuitMaintenanceNotificationsourceRetrieve request PluginsCircuitMaintenanceNotificationsourceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsDataValidationEngineRulesMinMaxBulkDestroy request - PluginsDataValidationEngineRulesMinMaxBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsDataValidationEngineRulesMinMaxBulkDestroy request with any body + PluginsDataValidationEngineRulesMinMaxBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsDataValidationEngineRulesMinMaxBulkDestroy(ctx context.Context, body PluginsDataValidationEngineRulesMinMaxBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsDataValidationEngineRulesMinMaxList request PluginsDataValidationEngineRulesMinMaxList(ctx context.Context, params *PluginsDataValidationEngineRulesMinMaxListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -2961,8 +4163,10 @@ type ClientInterface interface { PluginsDataValidationEngineRulesMinMaxUpdate(ctx context.Context, id openapi_types.UUID, body PluginsDataValidationEngineRulesMinMaxUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsDataValidationEngineRulesRegexBulkDestroy request - PluginsDataValidationEngineRulesRegexBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsDataValidationEngineRulesRegexBulkDestroy request with any body + PluginsDataValidationEngineRulesRegexBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsDataValidationEngineRulesRegexBulkDestroy(ctx context.Context, body PluginsDataValidationEngineRulesRegexBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsDataValidationEngineRulesRegexList request PluginsDataValidationEngineRulesRegexList(ctx context.Context, params *PluginsDataValidationEngineRulesRegexListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3012,8 +4216,660 @@ type ClientInterface interface { // PluginsDeviceOnboardingOnboardingRetrieve request PluginsDeviceOnboardingOnboardingRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsGoldenConfigComplianceFeatureBulkDestroy request - PluginsGoldenConfigComplianceFeatureBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsFirewallAddressObjectGroupBulkDestroy request with any body + PluginsFirewallAddressObjectGroupBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallAddressObjectGroupBulkDestroy(ctx context.Context, body PluginsFirewallAddressObjectGroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallAddressObjectGroupList request + PluginsFirewallAddressObjectGroupList(ctx context.Context, params *PluginsFirewallAddressObjectGroupListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallAddressObjectGroupBulkPartialUpdate request with any body + PluginsFirewallAddressObjectGroupBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallAddressObjectGroupBulkPartialUpdate(ctx context.Context, body PluginsFirewallAddressObjectGroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallAddressObjectGroupCreate request with any body + PluginsFirewallAddressObjectGroupCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallAddressObjectGroupCreate(ctx context.Context, body PluginsFirewallAddressObjectGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallAddressObjectGroupBulkUpdate request with any body + PluginsFirewallAddressObjectGroupBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallAddressObjectGroupBulkUpdate(ctx context.Context, body PluginsFirewallAddressObjectGroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallAddressObjectGroupDestroy request + PluginsFirewallAddressObjectGroupDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallAddressObjectGroupRetrieve request + PluginsFirewallAddressObjectGroupRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallAddressObjectGroupPartialUpdate request with any body + PluginsFirewallAddressObjectGroupPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallAddressObjectGroupPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectGroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallAddressObjectGroupUpdate request with any body + PluginsFirewallAddressObjectGroupUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallAddressObjectGroupUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallAddressObjectGroupNotesList request + PluginsFirewallAddressObjectGroupNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallAddressObjectGroupNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallAddressObjectGroupNotesCreate request with any body + PluginsFirewallAddressObjectGroupNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallAddressObjectGroupNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectGroupNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallAddressObjectBulkDestroy request with any body + PluginsFirewallAddressObjectBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallAddressObjectBulkDestroy(ctx context.Context, body PluginsFirewallAddressObjectBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallAddressObjectList request + PluginsFirewallAddressObjectList(ctx context.Context, params *PluginsFirewallAddressObjectListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallAddressObjectBulkPartialUpdate request with any body + PluginsFirewallAddressObjectBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallAddressObjectBulkPartialUpdate(ctx context.Context, body PluginsFirewallAddressObjectBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallAddressObjectCreate request with any body + PluginsFirewallAddressObjectCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallAddressObjectCreate(ctx context.Context, body PluginsFirewallAddressObjectCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallAddressObjectBulkUpdate request with any body + PluginsFirewallAddressObjectBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallAddressObjectBulkUpdate(ctx context.Context, body PluginsFirewallAddressObjectBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallAddressObjectDestroy request + PluginsFirewallAddressObjectDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallAddressObjectRetrieve request + PluginsFirewallAddressObjectRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallAddressObjectPartialUpdate request with any body + PluginsFirewallAddressObjectPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallAddressObjectPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallAddressObjectUpdate request with any body + PluginsFirewallAddressObjectUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallAddressObjectUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallAddressObjectNotesList request + PluginsFirewallAddressObjectNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallAddressObjectNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallAddressObjectNotesCreate request with any body + PluginsFirewallAddressObjectNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallAddressObjectNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallCapircaPolicyBulkDestroy request with any body + PluginsFirewallCapircaPolicyBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallCapircaPolicyBulkDestroy(ctx context.Context, body PluginsFirewallCapircaPolicyBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallCapircaPolicyList request + PluginsFirewallCapircaPolicyList(ctx context.Context, params *PluginsFirewallCapircaPolicyListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallCapircaPolicyBulkPartialUpdate request with any body + PluginsFirewallCapircaPolicyBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallCapircaPolicyBulkPartialUpdate(ctx context.Context, body PluginsFirewallCapircaPolicyBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallCapircaPolicyCreate request with any body + PluginsFirewallCapircaPolicyCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallCapircaPolicyCreate(ctx context.Context, body PluginsFirewallCapircaPolicyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallCapircaPolicyBulkUpdate request with any body + PluginsFirewallCapircaPolicyBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallCapircaPolicyBulkUpdate(ctx context.Context, body PluginsFirewallCapircaPolicyBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallCapircaPolicyDestroy request + PluginsFirewallCapircaPolicyDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallCapircaPolicyRetrieve request + PluginsFirewallCapircaPolicyRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallCapircaPolicyPartialUpdate request with any body + PluginsFirewallCapircaPolicyPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallCapircaPolicyPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallCapircaPolicyPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallCapircaPolicyUpdate request with any body + PluginsFirewallCapircaPolicyUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallCapircaPolicyUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallCapircaPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallFqdnBulkDestroy request with any body + PluginsFirewallFqdnBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallFqdnBulkDestroy(ctx context.Context, body PluginsFirewallFqdnBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallFqdnList request + PluginsFirewallFqdnList(ctx context.Context, params *PluginsFirewallFqdnListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallFqdnBulkPartialUpdate request with any body + PluginsFirewallFqdnBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallFqdnBulkPartialUpdate(ctx context.Context, body PluginsFirewallFqdnBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallFqdnCreate request with any body + PluginsFirewallFqdnCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallFqdnCreate(ctx context.Context, body PluginsFirewallFqdnCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallFqdnBulkUpdate request with any body + PluginsFirewallFqdnBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallFqdnBulkUpdate(ctx context.Context, body PluginsFirewallFqdnBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallFqdnDestroy request + PluginsFirewallFqdnDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallFqdnRetrieve request + PluginsFirewallFqdnRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallFqdnPartialUpdate request with any body + PluginsFirewallFqdnPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallFqdnPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallFqdnPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallFqdnUpdate request with any body + PluginsFirewallFqdnUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallFqdnUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallFqdnUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallFqdnNotesList request + PluginsFirewallFqdnNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallFqdnNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallFqdnNotesCreate request with any body + PluginsFirewallFqdnNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallFqdnNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallFqdnNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallIpRangeBulkDestroy request with any body + PluginsFirewallIpRangeBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallIpRangeBulkDestroy(ctx context.Context, body PluginsFirewallIpRangeBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallIpRangeList request + PluginsFirewallIpRangeList(ctx context.Context, params *PluginsFirewallIpRangeListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallIpRangeBulkPartialUpdate request with any body + PluginsFirewallIpRangeBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallIpRangeBulkPartialUpdate(ctx context.Context, body PluginsFirewallIpRangeBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallIpRangeCreate request with any body + PluginsFirewallIpRangeCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallIpRangeCreate(ctx context.Context, body PluginsFirewallIpRangeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallIpRangeBulkUpdate request with any body + PluginsFirewallIpRangeBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallIpRangeBulkUpdate(ctx context.Context, body PluginsFirewallIpRangeBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallIpRangeDestroy request + PluginsFirewallIpRangeDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallIpRangeRetrieve request + PluginsFirewallIpRangeRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallIpRangePartialUpdate request with any body + PluginsFirewallIpRangePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallIpRangePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallIpRangePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallIpRangeUpdate request with any body + PluginsFirewallIpRangeUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallIpRangeUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallIpRangeUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallIpRangeNotesList request + PluginsFirewallIpRangeNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallIpRangeNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallIpRangeNotesCreate request with any body + PluginsFirewallIpRangeNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallIpRangeNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallIpRangeNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyRuleBulkDestroy request with any body + PluginsFirewallNatPolicyRuleBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallNatPolicyRuleBulkDestroy(ctx context.Context, body PluginsFirewallNatPolicyRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyRuleList request + PluginsFirewallNatPolicyRuleList(ctx context.Context, params *PluginsFirewallNatPolicyRuleListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyRuleBulkPartialUpdate request with any body + PluginsFirewallNatPolicyRuleBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallNatPolicyRuleBulkPartialUpdate(ctx context.Context, body PluginsFirewallNatPolicyRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyRuleCreate request with any body + PluginsFirewallNatPolicyRuleCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallNatPolicyRuleCreate(ctx context.Context, body PluginsFirewallNatPolicyRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyRuleBulkUpdate request with any body + PluginsFirewallNatPolicyRuleBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallNatPolicyRuleBulkUpdate(ctx context.Context, body PluginsFirewallNatPolicyRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyRuleDestroy request + PluginsFirewallNatPolicyRuleDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyRuleRetrieve request + PluginsFirewallNatPolicyRuleRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyRulePartialUpdate request with any body + PluginsFirewallNatPolicyRulePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallNatPolicyRulePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyRuleUpdate request with any body + PluginsFirewallNatPolicyRuleUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallNatPolicyRuleUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyRuleNotesList request + PluginsFirewallNatPolicyRuleNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallNatPolicyRuleNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyRuleNotesCreate request with any body + PluginsFirewallNatPolicyRuleNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallNatPolicyRuleNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyRuleNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyBulkDestroy request with any body + PluginsFirewallNatPolicyBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallNatPolicyBulkDestroy(ctx context.Context, body PluginsFirewallNatPolicyBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyList request + PluginsFirewallNatPolicyList(ctx context.Context, params *PluginsFirewallNatPolicyListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyBulkPartialUpdate request with any body + PluginsFirewallNatPolicyBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallNatPolicyBulkPartialUpdate(ctx context.Context, body PluginsFirewallNatPolicyBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyCreate request with any body + PluginsFirewallNatPolicyCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallNatPolicyCreate(ctx context.Context, body PluginsFirewallNatPolicyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyBulkUpdate request with any body + PluginsFirewallNatPolicyBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallNatPolicyBulkUpdate(ctx context.Context, body PluginsFirewallNatPolicyBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyDestroy request + PluginsFirewallNatPolicyDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyRetrieve request + PluginsFirewallNatPolicyRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyPartialUpdate request with any body + PluginsFirewallNatPolicyPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallNatPolicyPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyUpdate request with any body + PluginsFirewallNatPolicyUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallNatPolicyUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyNotesList request + PluginsFirewallNatPolicyNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallNatPolicyNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallNatPolicyNotesCreate request with any body + PluginsFirewallNatPolicyNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallNatPolicyNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyRuleBulkDestroy request with any body + PluginsFirewallPolicyRuleBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallPolicyRuleBulkDestroy(ctx context.Context, body PluginsFirewallPolicyRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyRuleList request + PluginsFirewallPolicyRuleList(ctx context.Context, params *PluginsFirewallPolicyRuleListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyRuleBulkPartialUpdate request with any body + PluginsFirewallPolicyRuleBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallPolicyRuleBulkPartialUpdate(ctx context.Context, body PluginsFirewallPolicyRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyRuleCreate request with any body + PluginsFirewallPolicyRuleCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallPolicyRuleCreate(ctx context.Context, body PluginsFirewallPolicyRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyRuleBulkUpdate request with any body + PluginsFirewallPolicyRuleBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallPolicyRuleBulkUpdate(ctx context.Context, body PluginsFirewallPolicyRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyRuleDestroy request + PluginsFirewallPolicyRuleDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyRuleRetrieve request + PluginsFirewallPolicyRuleRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyRulePartialUpdate request with any body + PluginsFirewallPolicyRulePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallPolicyRulePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyRuleUpdate request with any body + PluginsFirewallPolicyRuleUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallPolicyRuleUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyRuleNotesList request + PluginsFirewallPolicyRuleNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallPolicyRuleNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyRuleNotesCreate request with any body + PluginsFirewallPolicyRuleNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallPolicyRuleNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyRuleNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyBulkDestroy request with any body + PluginsFirewallPolicyBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallPolicyBulkDestroy(ctx context.Context, body PluginsFirewallPolicyBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyList request + PluginsFirewallPolicyList(ctx context.Context, params *PluginsFirewallPolicyListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyBulkPartialUpdate request with any body + PluginsFirewallPolicyBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallPolicyBulkPartialUpdate(ctx context.Context, body PluginsFirewallPolicyBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyCreate request with any body + PluginsFirewallPolicyCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallPolicyCreate(ctx context.Context, body PluginsFirewallPolicyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyBulkUpdate request with any body + PluginsFirewallPolicyBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallPolicyBulkUpdate(ctx context.Context, body PluginsFirewallPolicyBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyDestroy request + PluginsFirewallPolicyDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyRetrieve request + PluginsFirewallPolicyRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyPartialUpdate request with any body + PluginsFirewallPolicyPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallPolicyPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyUpdate request with any body + PluginsFirewallPolicyUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallPolicyUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyNotesList request + PluginsFirewallPolicyNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallPolicyNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallPolicyNotesCreate request with any body + PluginsFirewallPolicyNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallPolicyNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectGroupBulkDestroy request with any body + PluginsFirewallServiceObjectGroupBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallServiceObjectGroupBulkDestroy(ctx context.Context, body PluginsFirewallServiceObjectGroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectGroupList request + PluginsFirewallServiceObjectGroupList(ctx context.Context, params *PluginsFirewallServiceObjectGroupListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectGroupBulkPartialUpdate request with any body + PluginsFirewallServiceObjectGroupBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallServiceObjectGroupBulkPartialUpdate(ctx context.Context, body PluginsFirewallServiceObjectGroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectGroupCreate request with any body + PluginsFirewallServiceObjectGroupCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallServiceObjectGroupCreate(ctx context.Context, body PluginsFirewallServiceObjectGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectGroupBulkUpdate request with any body + PluginsFirewallServiceObjectGroupBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallServiceObjectGroupBulkUpdate(ctx context.Context, body PluginsFirewallServiceObjectGroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectGroupDestroy request + PluginsFirewallServiceObjectGroupDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectGroupRetrieve request + PluginsFirewallServiceObjectGroupRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectGroupPartialUpdate request with any body + PluginsFirewallServiceObjectGroupPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallServiceObjectGroupPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectGroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectGroupUpdate request with any body + PluginsFirewallServiceObjectGroupUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallServiceObjectGroupUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectGroupNotesList request + PluginsFirewallServiceObjectGroupNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallServiceObjectGroupNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectGroupNotesCreate request with any body + PluginsFirewallServiceObjectGroupNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallServiceObjectGroupNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectGroupNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectBulkDestroy request with any body + PluginsFirewallServiceObjectBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallServiceObjectBulkDestroy(ctx context.Context, body PluginsFirewallServiceObjectBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectList request + PluginsFirewallServiceObjectList(ctx context.Context, params *PluginsFirewallServiceObjectListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectBulkPartialUpdate request with any body + PluginsFirewallServiceObjectBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallServiceObjectBulkPartialUpdate(ctx context.Context, body PluginsFirewallServiceObjectBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectCreate request with any body + PluginsFirewallServiceObjectCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallServiceObjectCreate(ctx context.Context, body PluginsFirewallServiceObjectCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectBulkUpdate request with any body + PluginsFirewallServiceObjectBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallServiceObjectBulkUpdate(ctx context.Context, body PluginsFirewallServiceObjectBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectDestroy request + PluginsFirewallServiceObjectDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectRetrieve request + PluginsFirewallServiceObjectRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectPartialUpdate request with any body + PluginsFirewallServiceObjectPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallServiceObjectPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectUpdate request with any body + PluginsFirewallServiceObjectUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallServiceObjectUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectNotesList request + PluginsFirewallServiceObjectNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallServiceObjectNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallServiceObjectNotesCreate request with any body + PluginsFirewallServiceObjectNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallServiceObjectNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectGroupBulkDestroy request with any body + PluginsFirewallUserObjectGroupBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallUserObjectGroupBulkDestroy(ctx context.Context, body PluginsFirewallUserObjectGroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectGroupList request + PluginsFirewallUserObjectGroupList(ctx context.Context, params *PluginsFirewallUserObjectGroupListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectGroupBulkPartialUpdate request with any body + PluginsFirewallUserObjectGroupBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallUserObjectGroupBulkPartialUpdate(ctx context.Context, body PluginsFirewallUserObjectGroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectGroupCreate request with any body + PluginsFirewallUserObjectGroupCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallUserObjectGroupCreate(ctx context.Context, body PluginsFirewallUserObjectGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectGroupBulkUpdate request with any body + PluginsFirewallUserObjectGroupBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallUserObjectGroupBulkUpdate(ctx context.Context, body PluginsFirewallUserObjectGroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectGroupDestroy request + PluginsFirewallUserObjectGroupDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectGroupRetrieve request + PluginsFirewallUserObjectGroupRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectGroupPartialUpdate request with any body + PluginsFirewallUserObjectGroupPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallUserObjectGroupPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectGroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectGroupUpdate request with any body + PluginsFirewallUserObjectGroupUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallUserObjectGroupUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectGroupNotesList request + PluginsFirewallUserObjectGroupNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallUserObjectGroupNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectGroupNotesCreate request with any body + PluginsFirewallUserObjectGroupNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallUserObjectGroupNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectGroupNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectBulkDestroy request with any body + PluginsFirewallUserObjectBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallUserObjectBulkDestroy(ctx context.Context, body PluginsFirewallUserObjectBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectList request + PluginsFirewallUserObjectList(ctx context.Context, params *PluginsFirewallUserObjectListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectBulkPartialUpdate request with any body + PluginsFirewallUserObjectBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallUserObjectBulkPartialUpdate(ctx context.Context, body PluginsFirewallUserObjectBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectCreate request with any body + PluginsFirewallUserObjectCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallUserObjectCreate(ctx context.Context, body PluginsFirewallUserObjectCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectBulkUpdate request with any body + PluginsFirewallUserObjectBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallUserObjectBulkUpdate(ctx context.Context, body PluginsFirewallUserObjectBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectDestroy request + PluginsFirewallUserObjectDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectRetrieve request + PluginsFirewallUserObjectRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectPartialUpdate request with any body + PluginsFirewallUserObjectPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallUserObjectPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectUpdate request with any body + PluginsFirewallUserObjectUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallUserObjectUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectNotesList request + PluginsFirewallUserObjectNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallUserObjectNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallUserObjectNotesCreate request with any body + PluginsFirewallUserObjectNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallUserObjectNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallZoneBulkDestroy request with any body + PluginsFirewallZoneBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallZoneBulkDestroy(ctx context.Context, body PluginsFirewallZoneBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallZoneList request + PluginsFirewallZoneList(ctx context.Context, params *PluginsFirewallZoneListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallZoneBulkPartialUpdate request with any body + PluginsFirewallZoneBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallZoneBulkPartialUpdate(ctx context.Context, body PluginsFirewallZoneBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallZoneCreate request with any body + PluginsFirewallZoneCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallZoneCreate(ctx context.Context, body PluginsFirewallZoneCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallZoneBulkUpdate request with any body + PluginsFirewallZoneBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallZoneBulkUpdate(ctx context.Context, body PluginsFirewallZoneBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallZoneDestroy request + PluginsFirewallZoneDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallZoneRetrieve request + PluginsFirewallZoneRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallZonePartialUpdate request with any body + PluginsFirewallZonePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallZonePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallZonePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallZoneUpdate request with any body + PluginsFirewallZoneUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallZoneUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallZoneUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallZoneNotesList request + PluginsFirewallZoneNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallZoneNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsFirewallZoneNotesCreate request with any body + PluginsFirewallZoneNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsFirewallZoneNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallZoneNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigComplianceFeatureBulkDestroy request with any body + PluginsGoldenConfigComplianceFeatureBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigComplianceFeatureBulkDestroy(ctx context.Context, body PluginsGoldenConfigComplianceFeatureBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsGoldenConfigComplianceFeatureList request PluginsGoldenConfigComplianceFeatureList(ctx context.Context, params *PluginsGoldenConfigComplianceFeatureListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3049,8 +4905,10 @@ type ClientInterface interface { PluginsGoldenConfigComplianceFeatureUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigComplianceFeatureUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsGoldenConfigComplianceRuleBulkDestroy request - PluginsGoldenConfigComplianceRuleBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsGoldenConfigComplianceRuleBulkDestroy request with any body + PluginsGoldenConfigComplianceRuleBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigComplianceRuleBulkDestroy(ctx context.Context, body PluginsGoldenConfigComplianceRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsGoldenConfigComplianceRuleList request PluginsGoldenConfigComplianceRuleList(ctx context.Context, params *PluginsGoldenConfigComplianceRuleListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3086,8 +4944,10 @@ type ClientInterface interface { PluginsGoldenConfigComplianceRuleUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigComplianceRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsGoldenConfigConfigComplianceBulkDestroy request - PluginsGoldenConfigConfigComplianceBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsGoldenConfigConfigComplianceBulkDestroy request with any body + PluginsGoldenConfigConfigComplianceBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigConfigComplianceBulkDestroy(ctx context.Context, body PluginsGoldenConfigConfigComplianceBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsGoldenConfigConfigComplianceList request PluginsGoldenConfigConfigComplianceList(ctx context.Context, params *PluginsGoldenConfigConfigComplianceListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3123,8 +4983,13 @@ type ClientInterface interface { PluginsGoldenConfigConfigComplianceUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigComplianceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsGoldenConfigConfigRemoveBulkDestroy request - PluginsGoldenConfigConfigRemoveBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsGoldenConfigConfigPostprocessingRetrieve request + PluginsGoldenConfigConfigPostprocessingRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PluginsGoldenConfigConfigRemoveBulkDestroy request with any body + PluginsGoldenConfigConfigRemoveBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigConfigRemoveBulkDestroy(ctx context.Context, body PluginsGoldenConfigConfigRemoveBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsGoldenConfigConfigRemoveList request PluginsGoldenConfigConfigRemoveList(ctx context.Context, params *PluginsGoldenConfigConfigRemoveListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3160,8 +5025,10 @@ type ClientInterface interface { PluginsGoldenConfigConfigRemoveUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigRemoveUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsGoldenConfigConfigReplaceBulkDestroy request - PluginsGoldenConfigConfigReplaceBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsGoldenConfigConfigReplaceBulkDestroy request with any body + PluginsGoldenConfigConfigReplaceBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigConfigReplaceBulkDestroy(ctx context.Context, body PluginsGoldenConfigConfigReplaceBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsGoldenConfigConfigReplaceList request PluginsGoldenConfigConfigReplaceList(ctx context.Context, params *PluginsGoldenConfigConfigReplaceListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3197,8 +5064,10 @@ type ClientInterface interface { PluginsGoldenConfigConfigReplaceUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigReplaceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsGoldenConfigGoldenConfigSettingsBulkDestroy request - PluginsGoldenConfigGoldenConfigSettingsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsGoldenConfigGoldenConfigSettingsBulkDestroy request with any body + PluginsGoldenConfigGoldenConfigSettingsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigGoldenConfigSettingsBulkDestroy(ctx context.Context, body PluginsGoldenConfigGoldenConfigSettingsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsGoldenConfigGoldenConfigSettingsList request PluginsGoldenConfigGoldenConfigSettingsList(ctx context.Context, params *PluginsGoldenConfigGoldenConfigSettingsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3234,8 +5103,10 @@ type ClientInterface interface { PluginsGoldenConfigGoldenConfigSettingsUpdate(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigGoldenConfigSettingsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsGoldenConfigGoldenConfigBulkDestroy request - PluginsGoldenConfigGoldenConfigBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsGoldenConfigGoldenConfigBulkDestroy request with any body + PluginsGoldenConfigGoldenConfigBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsGoldenConfigGoldenConfigBulkDestroy(ctx context.Context, body PluginsGoldenConfigGoldenConfigBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsGoldenConfigGoldenConfigList request PluginsGoldenConfigGoldenConfigList(ctx context.Context, params *PluginsGoldenConfigGoldenConfigListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3274,8 +5145,10 @@ type ClientInterface interface { // PluginsGoldenConfigSotaggRetrieve request PluginsGoldenConfigSotaggRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsNautobotDeviceLifecycleMgmtContactBulkDestroy request - PluginsNautobotDeviceLifecycleMgmtContactBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsNautobotDeviceLifecycleMgmtContactBulkDestroy request with any body + PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtContactBulkDestroy(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsNautobotDeviceLifecycleMgmtContactList request PluginsNautobotDeviceLifecycleMgmtContactList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtContactListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3311,8 +5184,10 @@ type ClientInterface interface { PluginsNautobotDeviceLifecycleMgmtContactUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContactUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsNautobotDeviceLifecycleMgmtContractBulkDestroy request - PluginsNautobotDeviceLifecycleMgmtContractBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsNautobotDeviceLifecycleMgmtContractBulkDestroy request with any body + PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtContractBulkDestroy(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsNautobotDeviceLifecycleMgmtContractList request PluginsNautobotDeviceLifecycleMgmtContractList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtContractListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3348,8 +5223,10 @@ type ClientInterface interface { PluginsNautobotDeviceLifecycleMgmtContractUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContractUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsNautobotDeviceLifecycleMgmtCveBulkDestroy request - PluginsNautobotDeviceLifecycleMgmtCveBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsNautobotDeviceLifecycleMgmtCveBulkDestroy request with any body + PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtCveBulkDestroy(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsNautobotDeviceLifecycleMgmtCveList request PluginsNautobotDeviceLifecycleMgmtCveList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtCveListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3385,8 +5262,10 @@ type ClientInterface interface { PluginsNautobotDeviceLifecycleMgmtCveUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtCveUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroy request - PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroy request with any body + PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroy(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsNautobotDeviceLifecycleMgmtHardwareList request PluginsNautobotDeviceLifecycleMgmtHardwareList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtHardwareListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3422,8 +5301,10 @@ type ClientInterface interface { PluginsNautobotDeviceLifecycleMgmtHardwareUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtHardwareUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroy request - PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroy request with any body + PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroy(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsNautobotDeviceLifecycleMgmtProviderList request PluginsNautobotDeviceLifecycleMgmtProviderList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtProviderListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3459,8 +5340,10 @@ type ClientInterface interface { PluginsNautobotDeviceLifecycleMgmtProviderUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtProviderUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroy request - PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroy request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroy(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsNautobotDeviceLifecycleMgmtSoftwareImageList request PluginsNautobotDeviceLifecycleMgmtSoftwareImageList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtSoftwareImageListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3496,8 +5379,10 @@ type ClientInterface interface { PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroy request - PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroy request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroy(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsNautobotDeviceLifecycleMgmtSoftwareList request PluginsNautobotDeviceLifecycleMgmtSoftwareList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtSoftwareListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3533,8 +5418,10 @@ type ClientInterface interface { PluginsNautobotDeviceLifecycleMgmtSoftwareUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroy request - PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroy request with any body + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroy(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareList request PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3570,8 +5457,10 @@ type ClientInterface interface { PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdate(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroy request - PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroy request with any body + PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroy(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PluginsNautobotDeviceLifecycleMgmtVulnerabilityList request PluginsNautobotDeviceLifecycleMgmtVulnerabilityList(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtVulnerabilityListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3614,8 +5503,10 @@ type ClientInterface interface { // SwaggerRetrieve request SwaggerRetrieve(ctx context.Context, params *SwaggerRetrieveParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // TenancyTenantGroupsBulkDestroy request - TenancyTenantGroupsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // TenancyTenantGroupsBulkDestroy request with any body + TenancyTenantGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyTenantGroupsBulkDestroy(ctx context.Context, body TenancyTenantGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TenancyTenantGroupsList request TenancyTenantGroupsList(ctx context.Context, params *TenancyTenantGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3651,8 +5542,18 @@ type ClientInterface interface { TenancyTenantGroupsUpdate(ctx context.Context, id openapi_types.UUID, body TenancyTenantGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // TenancyTenantsBulkDestroy request - TenancyTenantsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // TenancyTenantGroupsNotesList request + TenancyTenantGroupsNotesList(ctx context.Context, id openapi_types.UUID, params *TenancyTenantGroupsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantGroupsNotesCreate request with any body + TenancyTenantGroupsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyTenantGroupsNotesCreate(ctx context.Context, id openapi_types.UUID, body TenancyTenantGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantsBulkDestroy request with any body + TenancyTenantsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyTenantsBulkDestroy(ctx context.Context, body TenancyTenantsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TenancyTenantsList request TenancyTenantsList(ctx context.Context, params *TenancyTenantsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3688,11 +5589,21 @@ type ClientInterface interface { TenancyTenantsUpdate(ctx context.Context, id openapi_types.UUID, body TenancyTenantsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // TenancyTenantsNotesList request + TenancyTenantsNotesList(ctx context.Context, id openapi_types.UUID, params *TenancyTenantsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // TenancyTenantsNotesCreate request with any body + TenancyTenantsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + TenancyTenantsNotesCreate(ctx context.Context, id openapi_types.UUID, body TenancyTenantsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // UsersConfigRetrieve request UsersConfigRetrieve(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) - // UsersGroupsBulkDestroy request - UsersGroupsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // UsersGroupsBulkDestroy request with any body + UsersGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersGroupsBulkDestroy(ctx context.Context, body UsersGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UsersGroupsList request UsersGroupsList(ctx context.Context, params *UsersGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3728,8 +5639,10 @@ type ClientInterface interface { UsersGroupsUpdate(ctx context.Context, id int, body UsersGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // UsersPermissionsBulkDestroy request - UsersPermissionsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // UsersPermissionsBulkDestroy request with any body + UsersPermissionsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersPermissionsBulkDestroy(ctx context.Context, body UsersPermissionsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UsersPermissionsList request UsersPermissionsList(ctx context.Context, params *UsersPermissionsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3765,8 +5678,10 @@ type ClientInterface interface { UsersPermissionsUpdate(ctx context.Context, id openapi_types.UUID, body UsersPermissionsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // UsersTokensBulkDestroy request - UsersTokensBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // UsersTokensBulkDestroy request with any body + UsersTokensBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersTokensBulkDestroy(ctx context.Context, body UsersTokensBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UsersTokensList request UsersTokensList(ctx context.Context, params *UsersTokensListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3802,8 +5717,10 @@ type ClientInterface interface { UsersTokensUpdate(ctx context.Context, id openapi_types.UUID, body UsersTokensUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // UsersUsersBulkDestroy request - UsersUsersBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // UsersUsersBulkDestroy request with any body + UsersUsersBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + UsersUsersBulkDestroy(ctx context.Context, body UsersUsersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UsersUsersList request UsersUsersList(ctx context.Context, params *UsersUsersListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3839,8 +5756,10 @@ type ClientInterface interface { UsersUsersUpdate(ctx context.Context, id openapi_types.UUID, body UsersUsersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // VirtualizationClusterGroupsBulkDestroy request - VirtualizationClusterGroupsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // VirtualizationClusterGroupsBulkDestroy request with any body + VirtualizationClusterGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClusterGroupsBulkDestroy(ctx context.Context, body VirtualizationClusterGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // VirtualizationClusterGroupsList request VirtualizationClusterGroupsList(ctx context.Context, params *VirtualizationClusterGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3876,8 +5795,18 @@ type ClientInterface interface { VirtualizationClusterGroupsUpdate(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // VirtualizationClusterTypesBulkDestroy request - VirtualizationClusterTypesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // VirtualizationClusterGroupsNotesList request + VirtualizationClusterGroupsNotesList(ctx context.Context, id openapi_types.UUID, params *VirtualizationClusterGroupsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterGroupsNotesCreate request with any body + VirtualizationClusterGroupsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClusterGroupsNotesCreate(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterTypesBulkDestroy request with any body + VirtualizationClusterTypesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClusterTypesBulkDestroy(ctx context.Context, body VirtualizationClusterTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // VirtualizationClusterTypesList request VirtualizationClusterTypesList(ctx context.Context, params *VirtualizationClusterTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3913,8 +5842,18 @@ type ClientInterface interface { VirtualizationClusterTypesUpdate(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // VirtualizationClustersBulkDestroy request - VirtualizationClustersBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // VirtualizationClusterTypesNotesList request + VirtualizationClusterTypesNotesList(ctx context.Context, id openapi_types.UUID, params *VirtualizationClusterTypesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClusterTypesNotesCreate request with any body + VirtualizationClusterTypesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClusterTypesNotesCreate(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterTypesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClustersBulkDestroy request with any body + VirtualizationClustersBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClustersBulkDestroy(ctx context.Context, body VirtualizationClustersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // VirtualizationClustersList request VirtualizationClustersList(ctx context.Context, params *VirtualizationClustersListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3950,8 +5889,18 @@ type ClientInterface interface { VirtualizationClustersUpdate(ctx context.Context, id openapi_types.UUID, body VirtualizationClustersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // VirtualizationInterfacesBulkDestroy request - VirtualizationInterfacesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // VirtualizationClustersNotesList request + VirtualizationClustersNotesList(ctx context.Context, id openapi_types.UUID, params *VirtualizationClustersNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationClustersNotesCreate request with any body + VirtualizationClustersNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationClustersNotesCreate(ctx context.Context, id openapi_types.UUID, body VirtualizationClustersNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationInterfacesBulkDestroy request with any body + VirtualizationInterfacesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationInterfacesBulkDestroy(ctx context.Context, body VirtualizationInterfacesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // VirtualizationInterfacesList request VirtualizationInterfacesList(ctx context.Context, params *VirtualizationInterfacesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -3987,8 +5936,18 @@ type ClientInterface interface { VirtualizationInterfacesUpdate(ctx context.Context, id openapi_types.UUID, body VirtualizationInterfacesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // VirtualizationVirtualMachinesBulkDestroy request - VirtualizationVirtualMachinesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + // VirtualizationInterfacesNotesList request + VirtualizationInterfacesNotesList(ctx context.Context, id openapi_types.UUID, params *VirtualizationInterfacesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationInterfacesNotesCreate request with any body + VirtualizationInterfacesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationInterfacesNotesCreate(ctx context.Context, id openapi_types.UUID, body VirtualizationInterfacesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationVirtualMachinesBulkDestroy request with any body + VirtualizationVirtualMachinesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationVirtualMachinesBulkDestroy(ctx context.Context, body VirtualizationVirtualMachinesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // VirtualizationVirtualMachinesList request VirtualizationVirtualMachinesList(ctx context.Context, params *VirtualizationVirtualMachinesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -4023,10 +5982,30 @@ type ClientInterface interface { VirtualizationVirtualMachinesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) VirtualizationVirtualMachinesUpdate(ctx context.Context, id openapi_types.UUID, body VirtualizationVirtualMachinesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationVirtualMachinesNotesList request + VirtualizationVirtualMachinesNotesList(ctx context.Context, id openapi_types.UUID, params *VirtualizationVirtualMachinesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // VirtualizationVirtualMachinesNotesCreate request with any body + VirtualizationVirtualMachinesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + VirtualizationVirtualMachinesNotesCreate(ctx context.Context, id openapi_types.UUID, body VirtualizationVirtualMachinesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) } -func (c *Client) CircuitsCircuitTerminationsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewCircuitsCircuitTerminationsBulkDestroyRequest(c.Server) +func (c *Client) CircuitsCircuitTerminationsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsCircuitTerminationsBulkDestroy(ctx context.Context, body CircuitsCircuitTerminationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -4193,6 +6172,42 @@ func (c *Client) CircuitsCircuitTerminationsUpdate(ctx context.Context, id opena return c.Client.Do(req) } +func (c *Client) CircuitsCircuitTerminationsNotesList(ctx context.Context, id openapi_types.UUID, params *CircuitsCircuitTerminationsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsCircuitTerminationsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsCircuitTerminationsNotesCreate(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTerminationsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTerminationsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) CircuitsCircuitTerminationsTraceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewCircuitsCircuitTerminationsTraceRetrieveRequest(c.Server, id) if err != nil { @@ -4205,8 +6220,20 @@ func (c *Client) CircuitsCircuitTerminationsTraceRetrieve(ctx context.Context, i return c.Client.Do(req) } -func (c *Client) CircuitsCircuitTypesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewCircuitsCircuitTypesBulkDestroyRequest(c.Server) +func (c *Client) CircuitsCircuitTypesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTypesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsCircuitTypesBulkDestroy(ctx context.Context, body CircuitsCircuitTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTypesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -4373,8 +6400,56 @@ func (c *Client) CircuitsCircuitTypesUpdate(ctx context.Context, id openapi_type return c.Client.Do(req) } -func (c *Client) CircuitsCircuitsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewCircuitsCircuitsBulkDestroyRequest(c.Server) +func (c *Client) CircuitsCircuitTypesNotesList(ctx context.Context, id openapi_types.UUID, params *CircuitsCircuitTypesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTypesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsCircuitTypesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTypesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsCircuitTypesNotesCreate(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTypesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitTypesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsCircuitsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsCircuitsBulkDestroy(ctx context.Context, body CircuitsCircuitsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -4541,8 +6616,56 @@ func (c *Client) CircuitsCircuitsUpdate(ctx context.Context, id openapi_types.UU return c.Client.Do(req) } -func (c *Client) CircuitsProviderNetworksBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewCircuitsProviderNetworksBulkDestroyRequest(c.Server) +func (c *Client) CircuitsCircuitsNotesList(ctx context.Context, id openapi_types.UUID, params *CircuitsCircuitsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsCircuitsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsCircuitsNotesCreate(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsCircuitsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProviderNetworksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderNetworksBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProviderNetworksBulkDestroy(ctx context.Context, body CircuitsProviderNetworksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderNetworksBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -4709,8 +6832,56 @@ func (c *Client) CircuitsProviderNetworksUpdate(ctx context.Context, id openapi_ return c.Client.Do(req) } -func (c *Client) CircuitsProvidersBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewCircuitsProvidersBulkDestroyRequest(c.Server) +func (c *Client) CircuitsProviderNetworksNotesList(ctx context.Context, id openapi_types.UUID, params *CircuitsProviderNetworksNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderNetworksNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProviderNetworksNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderNetworksNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProviderNetworksNotesCreate(ctx context.Context, id openapi_types.UUID, body CircuitsProviderNetworksNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProviderNetworksNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProvidersBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProvidersBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProvidersBulkDestroy(ctx context.Context, body CircuitsProvidersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProvidersBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -4877,8 +7048,56 @@ func (c *Client) CircuitsProvidersUpdate(ctx context.Context, id openapi_types.U return c.Client.Do(req) } -func (c *Client) DcimCablesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimCablesBulkDestroyRequest(c.Server) +func (c *Client) CircuitsProvidersNotesList(ctx context.Context, id openapi_types.UUID, params *CircuitsProvidersNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProvidersNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProvidersNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProvidersNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) CircuitsProvidersNotesCreate(ctx context.Context, id openapi_types.UUID, body CircuitsProvidersNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewCircuitsProvidersNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimCablesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCablesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimCablesBulkDestroy(ctx context.Context, body DcimCablesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCablesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -5045,6 +7264,42 @@ func (c *Client) DcimCablesUpdate(ctx context.Context, id openapi_types.UUID, bo return c.Client.Do(req) } +func (c *Client) DcimCablesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimCablesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCablesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimCablesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCablesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimCablesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimCablesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimCablesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) DcimConnectedDeviceList(ctx context.Context, params *DcimConnectedDeviceListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDcimConnectedDeviceListRequest(c.Server, params) if err != nil { @@ -5069,8 +7324,20 @@ func (c *Client) DcimConsoleConnectionsList(ctx context.Context, params *DcimCon return c.Client.Do(req) } -func (c *Client) DcimConsolePortTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimConsolePortTemplatesBulkDestroyRequest(c.Server) +func (c *Client) DcimConsolePortTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsolePortTemplatesBulkDestroy(ctx context.Context, body DcimConsolePortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortTemplatesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -5237,8 +7504,56 @@ func (c *Client) DcimConsolePortTemplatesUpdate(ctx context.Context, id openapi_ return c.Client.Do(req) } -func (c *Client) DcimConsolePortsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimConsolePortsBulkDestroyRequest(c.Server) +func (c *Client) DcimConsolePortTemplatesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimConsolePortTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortTemplatesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsolePortTemplatesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortTemplatesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsolePortTemplatesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimConsolePortTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortTemplatesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsolePortsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsolePortsBulkDestroy(ctx context.Context, body DcimConsolePortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -5405,6 +7720,42 @@ func (c *Client) DcimConsolePortsUpdate(ctx context.Context, id openapi_types.UU return c.Client.Do(req) } +func (c *Client) DcimConsolePortsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimConsolePortsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsolePortsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsolePortsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimConsolePortsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsolePortsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) DcimConsolePortsTraceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDcimConsolePortsTraceRetrieveRequest(c.Server, id) if err != nil { @@ -5417,8 +7768,20 @@ func (c *Client) DcimConsolePortsTraceRetrieve(ctx context.Context, id openapi_t return c.Client.Do(req) } -func (c *Client) DcimConsoleServerPortTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimConsoleServerPortTemplatesBulkDestroyRequest(c.Server) +func (c *Client) DcimConsoleServerPortTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsoleServerPortTemplatesBulkDestroy(ctx context.Context, body DcimConsoleServerPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortTemplatesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -5585,8 +7948,56 @@ func (c *Client) DcimConsoleServerPortTemplatesUpdate(ctx context.Context, id op return c.Client.Do(req) } -func (c *Client) DcimConsoleServerPortsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimConsoleServerPortsBulkDestroyRequest(c.Server) +func (c *Client) DcimConsoleServerPortTemplatesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimConsoleServerPortTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortTemplatesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsoleServerPortTemplatesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortTemplatesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsoleServerPortTemplatesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortTemplatesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsoleServerPortsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsoleServerPortsBulkDestroy(ctx context.Context, body DcimConsoleServerPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -5753,6 +8164,42 @@ func (c *Client) DcimConsoleServerPortsUpdate(ctx context.Context, id openapi_ty return c.Client.Do(req) } +func (c *Client) DcimConsoleServerPortsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimConsoleServerPortsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsoleServerPortsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimConsoleServerPortsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimConsoleServerPortsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) DcimConsoleServerPortsTraceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDcimConsoleServerPortsTraceRetrieveRequest(c.Server, id) if err != nil { @@ -5765,8 +8212,20 @@ func (c *Client) DcimConsoleServerPortsTraceRetrieve(ctx context.Context, id ope return c.Client.Do(req) } -func (c *Client) DcimDeviceBayTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimDeviceBayTemplatesBulkDestroyRequest(c.Server) +func (c *Client) DcimDeviceBayTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBayTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceBayTemplatesBulkDestroy(ctx context.Context, body DcimDeviceBayTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBayTemplatesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -5933,8 +8392,56 @@ func (c *Client) DcimDeviceBayTemplatesUpdate(ctx context.Context, id openapi_ty return c.Client.Do(req) } -func (c *Client) DcimDeviceBaysBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimDeviceBaysBulkDestroyRequest(c.Server) +func (c *Client) DcimDeviceBayTemplatesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimDeviceBayTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBayTemplatesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceBayTemplatesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBayTemplatesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceBayTemplatesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimDeviceBayTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBayTemplatesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceBaysBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBaysBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceBaysBulkDestroy(ctx context.Context, body DcimDeviceBaysBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBaysBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -6101,8 +8608,272 @@ func (c *Client) DcimDeviceBaysUpdate(ctx context.Context, id openapi_types.UUID return c.Client.Do(req) } -func (c *Client) DcimDeviceRolesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimDeviceRolesBulkDestroyRequest(c.Server) +func (c *Client) DcimDeviceBaysNotesList(ctx context.Context, id openapi_types.UUID, params *DcimDeviceBaysNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBaysNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceBaysNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBaysNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceBaysNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimDeviceBaysNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceBaysNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRedundancyGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRedundancyGroupsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRedundancyGroupsBulkDestroy(ctx context.Context, body DcimDeviceRedundancyGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRedundancyGroupsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRedundancyGroupsList(ctx context.Context, params *DcimDeviceRedundancyGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRedundancyGroupsListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRedundancyGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRedundancyGroupsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRedundancyGroupsBulkPartialUpdate(ctx context.Context, body DcimDeviceRedundancyGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRedundancyGroupsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRedundancyGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRedundancyGroupsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRedundancyGroupsCreate(ctx context.Context, body DcimDeviceRedundancyGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRedundancyGroupsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRedundancyGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRedundancyGroupsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRedundancyGroupsBulkUpdate(ctx context.Context, body DcimDeviceRedundancyGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRedundancyGroupsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRedundancyGroupsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRedundancyGroupsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRedundancyGroupsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRedundancyGroupsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRedundancyGroupsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRedundancyGroupsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRedundancyGroupsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimDeviceRedundancyGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRedundancyGroupsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRedundancyGroupsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRedundancyGroupsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRedundancyGroupsUpdate(ctx context.Context, id openapi_types.UUID, body DcimDeviceRedundancyGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRedundancyGroupsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRedundancyGroupsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimDeviceRedundancyGroupsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRedundancyGroupsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRedundancyGroupsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRedundancyGroupsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRedundancyGroupsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimDeviceRedundancyGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRedundancyGroupsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRolesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRolesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRolesBulkDestroy(ctx context.Context, body DcimDeviceRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRolesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -6269,8 +9040,56 @@ func (c *Client) DcimDeviceRolesUpdate(ctx context.Context, id openapi_types.UUI return c.Client.Do(req) } -func (c *Client) DcimDeviceTypesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimDeviceTypesBulkDestroyRequest(c.Server) +func (c *Client) DcimDeviceRolesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimDeviceRolesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRolesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRolesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRolesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceRolesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimDeviceRolesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceRolesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceTypesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceTypesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceTypesBulkDestroy(ctx context.Context, body DcimDeviceTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceTypesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -6437,8 +9256,56 @@ func (c *Client) DcimDeviceTypesUpdate(ctx context.Context, id openapi_types.UUI return c.Client.Do(req) } -func (c *Client) DcimDevicesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimDevicesBulkDestroyRequest(c.Server) +func (c *Client) DcimDeviceTypesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimDeviceTypesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceTypesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceTypesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceTypesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDeviceTypesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimDeviceTypesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDeviceTypesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDevicesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDevicesBulkDestroy(ctx context.Context, body DcimDevicesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -6617,8 +9484,56 @@ func (c *Client) DcimDevicesNapalmRetrieve(ctx context.Context, id openapi_types return c.Client.Do(req) } -func (c *Client) DcimFrontPortTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimFrontPortTemplatesBulkDestroyRequest(c.Server) +func (c *Client) DcimDevicesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimDevicesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDevicesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimDevicesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimDevicesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimDevicesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimFrontPortTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimFrontPortTemplatesBulkDestroy(ctx context.Context, body DcimFrontPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortTemplatesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -6785,8 +9700,56 @@ func (c *Client) DcimFrontPortTemplatesUpdate(ctx context.Context, id openapi_ty return c.Client.Do(req) } -func (c *Client) DcimFrontPortsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimFrontPortsBulkDestroyRequest(c.Server) +func (c *Client) DcimFrontPortTemplatesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimFrontPortTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortTemplatesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimFrontPortTemplatesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortTemplatesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimFrontPortTemplatesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimFrontPortTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortTemplatesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimFrontPortsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimFrontPortsBulkDestroy(ctx context.Context, body DcimFrontPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -6953,6 +9916,42 @@ func (c *Client) DcimFrontPortsUpdate(ctx context.Context, id openapi_types.UUID return c.Client.Do(req) } +func (c *Client) DcimFrontPortsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimFrontPortsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimFrontPortsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimFrontPortsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimFrontPortsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimFrontPortsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) DcimFrontPortsPathsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDcimFrontPortsPathsRetrieveRequest(c.Server, id) if err != nil { @@ -6977,8 +9976,20 @@ func (c *Client) DcimInterfaceConnectionsList(ctx context.Context, params *DcimI return c.Client.Do(req) } -func (c *Client) DcimInterfaceTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimInterfaceTemplatesBulkDestroyRequest(c.Server) +func (c *Client) DcimInterfaceTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInterfaceTemplatesBulkDestroy(ctx context.Context, body DcimInterfaceTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceTemplatesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -7145,8 +10156,56 @@ func (c *Client) DcimInterfaceTemplatesUpdate(ctx context.Context, id openapi_ty return c.Client.Do(req) } -func (c *Client) DcimInterfacesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimInterfacesBulkDestroyRequest(c.Server) +func (c *Client) DcimInterfaceTemplatesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimInterfaceTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceTemplatesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInterfaceTemplatesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceTemplatesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInterfaceTemplatesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimInterfaceTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfaceTemplatesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInterfacesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfacesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInterfacesBulkDestroy(ctx context.Context, body DcimInterfacesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfacesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -7313,6 +10372,42 @@ func (c *Client) DcimInterfacesUpdate(ctx context.Context, id openapi_types.UUID return c.Client.Do(req) } +func (c *Client) DcimInterfacesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimInterfacesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfacesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInterfacesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfacesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInterfacesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimInterfacesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInterfacesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) DcimInterfacesTraceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDcimInterfacesTraceRetrieveRequest(c.Server, id) if err != nil { @@ -7325,8 +10420,20 @@ func (c *Client) DcimInterfacesTraceRetrieve(ctx context.Context, id openapi_typ return c.Client.Do(req) } -func (c *Client) DcimInventoryItemsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimInventoryItemsBulkDestroyRequest(c.Server) +func (c *Client) DcimInventoryItemsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemsBulkDestroy(ctx context.Context, body DcimInventoryItemsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -7493,8 +10600,488 @@ func (c *Client) DcimInventoryItemsUpdate(ctx context.Context, id openapi_types. return c.Client.Do(req) } -func (c *Client) DcimManufacturersBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimManufacturersBulkDestroyRequest(c.Server) +func (c *Client) DcimInventoryItemsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimInventoryItemsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimInventoryItemsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimInventoryItemsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimInventoryItemsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationTypesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationTypesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationTypesBulkDestroy(ctx context.Context, body DcimLocationTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationTypesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationTypesList(ctx context.Context, params *DcimLocationTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationTypesListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationTypesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationTypesBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationTypesBulkPartialUpdate(ctx context.Context, body DcimLocationTypesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationTypesBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationTypesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationTypesCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationTypesCreate(ctx context.Context, body DcimLocationTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationTypesCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationTypesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationTypesBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationTypesBulkUpdate(ctx context.Context, body DcimLocationTypesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationTypesBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationTypesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationTypesDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationTypesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationTypesRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationTypesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationTypesPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationTypesPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimLocationTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationTypesPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationTypesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationTypesUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationTypesUpdate(ctx context.Context, id openapi_types.UUID, body DcimLocationTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationTypesUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationTypesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimLocationTypesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationTypesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationTypesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationTypesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationTypesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimLocationTypesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationTypesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsBulkDestroy(ctx context.Context, body DcimLocationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsList(ctx context.Context, params *DcimLocationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsBulkPartialUpdate(ctx context.Context, body DcimLocationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsCreate(ctx context.Context, body DcimLocationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsBulkUpdate(ctx context.Context, body DcimLocationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsPartialUpdate(ctx context.Context, id openapi_types.UUID, body DcimLocationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsUpdate(ctx context.Context, id openapi_types.UUID, body DcimLocationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimLocationsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimLocationsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimLocationsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimLocationsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimManufacturersBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimManufacturersBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimManufacturersBulkDestroy(ctx context.Context, body DcimManufacturersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimManufacturersBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -7661,8 +11248,56 @@ func (c *Client) DcimManufacturersUpdate(ctx context.Context, id openapi_types.U return c.Client.Do(req) } -func (c *Client) DcimPlatformsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimPlatformsBulkDestroyRequest(c.Server) +func (c *Client) DcimManufacturersNotesList(ctx context.Context, id openapi_types.UUID, params *DcimManufacturersNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimManufacturersNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimManufacturersNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimManufacturersNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimManufacturersNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimManufacturersNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimManufacturersNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPlatformsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPlatformsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPlatformsBulkDestroy(ctx context.Context, body DcimPlatformsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPlatformsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -7829,6 +11464,42 @@ func (c *Client) DcimPlatformsUpdate(ctx context.Context, id openapi_types.UUID, return c.Client.Do(req) } +func (c *Client) DcimPlatformsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimPlatformsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPlatformsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPlatformsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPlatformsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPlatformsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimPlatformsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPlatformsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) DcimPowerConnectionsList(ctx context.Context, params *DcimPowerConnectionsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDcimPowerConnectionsListRequest(c.Server, params) if err != nil { @@ -7841,8 +11512,20 @@ func (c *Client) DcimPowerConnectionsList(ctx context.Context, params *DcimPower return c.Client.Do(req) } -func (c *Client) DcimPowerFeedsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimPowerFeedsBulkDestroyRequest(c.Server) +func (c *Client) DcimPowerFeedsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerFeedsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerFeedsBulkDestroy(ctx context.Context, body DcimPowerFeedsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerFeedsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -8009,6 +11692,42 @@ func (c *Client) DcimPowerFeedsUpdate(ctx context.Context, id openapi_types.UUID return c.Client.Do(req) } +func (c *Client) DcimPowerFeedsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimPowerFeedsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerFeedsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerFeedsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerFeedsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerFeedsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimPowerFeedsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerFeedsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) DcimPowerFeedsTraceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDcimPowerFeedsTraceRetrieveRequest(c.Server, id) if err != nil { @@ -8021,8 +11740,20 @@ func (c *Client) DcimPowerFeedsTraceRetrieve(ctx context.Context, id openapi_typ return c.Client.Do(req) } -func (c *Client) DcimPowerOutletTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimPowerOutletTemplatesBulkDestroyRequest(c.Server) +func (c *Client) DcimPowerOutletTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerOutletTemplatesBulkDestroy(ctx context.Context, body DcimPowerOutletTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletTemplatesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -8189,8 +11920,56 @@ func (c *Client) DcimPowerOutletTemplatesUpdate(ctx context.Context, id openapi_ return c.Client.Do(req) } -func (c *Client) DcimPowerOutletsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimPowerOutletsBulkDestroyRequest(c.Server) +func (c *Client) DcimPowerOutletTemplatesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimPowerOutletTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletTemplatesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerOutletTemplatesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletTemplatesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerOutletTemplatesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletTemplatesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerOutletsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerOutletsBulkDestroy(ctx context.Context, body DcimPowerOutletsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -8357,6 +12136,42 @@ func (c *Client) DcimPowerOutletsUpdate(ctx context.Context, id openapi_types.UU return c.Client.Do(req) } +func (c *Client) DcimPowerOutletsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimPowerOutletsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerOutletsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerOutletsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerOutletsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) DcimPowerOutletsTraceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDcimPowerOutletsTraceRetrieveRequest(c.Server, id) if err != nil { @@ -8369,8 +12184,20 @@ func (c *Client) DcimPowerOutletsTraceRetrieve(ctx context.Context, id openapi_t return c.Client.Do(req) } -func (c *Client) DcimPowerPanelsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimPowerPanelsBulkDestroyRequest(c.Server) +func (c *Client) DcimPowerPanelsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPanelsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerPanelsBulkDestroy(ctx context.Context, body DcimPowerPanelsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPanelsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -8537,8 +12364,56 @@ func (c *Client) DcimPowerPanelsUpdate(ctx context.Context, id openapi_types.UUI return c.Client.Do(req) } -func (c *Client) DcimPowerPortTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimPowerPortTemplatesBulkDestroyRequest(c.Server) +func (c *Client) DcimPowerPanelsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimPowerPanelsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPanelsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerPanelsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPanelsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerPanelsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimPowerPanelsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPanelsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerPortTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerPortTemplatesBulkDestroy(ctx context.Context, body DcimPowerPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortTemplatesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -8705,8 +12580,56 @@ func (c *Client) DcimPowerPortTemplatesUpdate(ctx context.Context, id openapi_ty return c.Client.Do(req) } -func (c *Client) DcimPowerPortsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimPowerPortsBulkDestroyRequest(c.Server) +func (c *Client) DcimPowerPortTemplatesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimPowerPortTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortTemplatesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerPortTemplatesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortTemplatesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerPortTemplatesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimPowerPortTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortTemplatesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerPortsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerPortsBulkDestroy(ctx context.Context, body DcimPowerPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -8873,6 +12796,42 @@ func (c *Client) DcimPowerPortsUpdate(ctx context.Context, id openapi_types.UUID return c.Client.Do(req) } +func (c *Client) DcimPowerPortsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimPowerPortsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerPortsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimPowerPortsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimPowerPortsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimPowerPortsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) DcimPowerPortsTraceRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDcimPowerPortsTraceRetrieveRequest(c.Server, id) if err != nil { @@ -8885,8 +12844,20 @@ func (c *Client) DcimPowerPortsTraceRetrieve(ctx context.Context, id openapi_typ return c.Client.Do(req) } -func (c *Client) DcimRackGroupsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimRackGroupsBulkDestroyRequest(c.Server) +func (c *Client) DcimRackGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackGroupsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRackGroupsBulkDestroy(ctx context.Context, body DcimRackGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackGroupsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -9053,8 +13024,56 @@ func (c *Client) DcimRackGroupsUpdate(ctx context.Context, id openapi_types.UUID return c.Client.Do(req) } -func (c *Client) DcimRackReservationsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimRackReservationsBulkDestroyRequest(c.Server) +func (c *Client) DcimRackGroupsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimRackGroupsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackGroupsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRackGroupsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackGroupsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRackGroupsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimRackGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackGroupsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRackReservationsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackReservationsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRackReservationsBulkDestroy(ctx context.Context, body DcimRackReservationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackReservationsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -9221,8 +13240,56 @@ func (c *Client) DcimRackReservationsUpdate(ctx context.Context, id openapi_type return c.Client.Do(req) } -func (c *Client) DcimRackRolesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimRackRolesBulkDestroyRequest(c.Server) +func (c *Client) DcimRackReservationsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimRackReservationsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackReservationsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRackReservationsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackReservationsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRackReservationsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimRackReservationsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackReservationsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRackRolesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackRolesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRackRolesBulkDestroy(ctx context.Context, body DcimRackRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackRolesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -9389,8 +13456,56 @@ func (c *Client) DcimRackRolesUpdate(ctx context.Context, id openapi_types.UUID, return c.Client.Do(req) } -func (c *Client) DcimRacksBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimRacksBulkDestroyRequest(c.Server) +func (c *Client) DcimRackRolesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimRackRolesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackRolesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRackRolesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackRolesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRackRolesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimRackRolesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRackRolesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRacksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRacksBulkDestroy(ctx context.Context, body DcimRacksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -9569,8 +13684,56 @@ func (c *Client) DcimRacksElevationList(ctx context.Context, id openapi_types.UU return c.Client.Do(req) } -func (c *Client) DcimRearPortTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimRearPortTemplatesBulkDestroyRequest(c.Server) +func (c *Client) DcimRacksNotesList(ctx context.Context, id openapi_types.UUID, params *DcimRacksNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRacksNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRacksNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimRacksNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRacksNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRearPortTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRearPortTemplatesBulkDestroy(ctx context.Context, body DcimRearPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortTemplatesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -9737,8 +13900,56 @@ func (c *Client) DcimRearPortTemplatesUpdate(ctx context.Context, id openapi_typ return c.Client.Do(req) } -func (c *Client) DcimRearPortsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimRearPortsBulkDestroyRequest(c.Server) +func (c *Client) DcimRearPortTemplatesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimRearPortTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortTemplatesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRearPortTemplatesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortTemplatesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRearPortTemplatesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimRearPortTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortTemplatesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRearPortsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRearPortsBulkDestroy(ctx context.Context, body DcimRearPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -9905,6 +14116,42 @@ func (c *Client) DcimRearPortsUpdate(ctx context.Context, id openapi_types.UUID, return c.Client.Do(req) } +func (c *Client) DcimRearPortsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimRearPortsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRearPortsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRearPortsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimRearPortsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRearPortsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) DcimRearPortsPathsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDcimRearPortsPathsRetrieveRequest(c.Server, id) if err != nil { @@ -9917,8 +14164,20 @@ func (c *Client) DcimRearPortsPathsRetrieve(ctx context.Context, id openapi_type return c.Client.Do(req) } -func (c *Client) DcimRegionsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimRegionsBulkDestroyRequest(c.Server) +func (c *Client) DcimRegionsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRegionsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRegionsBulkDestroy(ctx context.Context, body DcimRegionsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRegionsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -10085,8 +14344,56 @@ func (c *Client) DcimRegionsUpdate(ctx context.Context, id openapi_types.UUID, b return c.Client.Do(req) } -func (c *Client) DcimSitesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimSitesBulkDestroyRequest(c.Server) +func (c *Client) DcimRegionsNotesList(ctx context.Context, id openapi_types.UUID, params *DcimRegionsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRegionsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRegionsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRegionsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimRegionsNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimRegionsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimRegionsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimSitesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSitesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimSitesBulkDestroy(ctx context.Context, body DcimSitesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSitesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -10253,8 +14560,56 @@ func (c *Client) DcimSitesUpdate(ctx context.Context, id openapi_types.UUID, bod return c.Client.Do(req) } -func (c *Client) DcimVirtualChassisBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDcimVirtualChassisBulkDestroyRequest(c.Server) +func (c *Client) DcimSitesNotesList(ctx context.Context, id openapi_types.UUID, params *DcimSitesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSitesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimSitesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSitesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimSitesNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimSitesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimSitesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimVirtualChassisBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualChassisBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimVirtualChassisBulkDestroy(ctx context.Context, body DcimVirtualChassisBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualChassisBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -10421,8 +14776,56 @@ func (c *Client) DcimVirtualChassisUpdate(ctx context.Context, id openapi_types. return c.Client.Do(req) } -func (c *Client) ExtrasComputedFieldsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasComputedFieldsBulkDestroyRequest(c.Server) +func (c *Client) DcimVirtualChassisNotesList(ctx context.Context, id openapi_types.UUID, params *DcimVirtualChassisNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualChassisNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimVirtualChassisNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualChassisNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DcimVirtualChassisNotesCreate(ctx context.Context, id openapi_types.UUID, body DcimVirtualChassisNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDcimVirtualChassisNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasComputedFieldsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasComputedFieldsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasComputedFieldsBulkDestroy(ctx context.Context, body ExtrasComputedFieldsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasComputedFieldsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -10589,8 +14992,56 @@ func (c *Client) ExtrasComputedFieldsUpdate(ctx context.Context, id openapi_type return c.Client.Do(req) } -func (c *Client) ExtrasConfigContextSchemasBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasConfigContextSchemasBulkDestroyRequest(c.Server) +func (c *Client) ExtrasComputedFieldsNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasComputedFieldsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasComputedFieldsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasComputedFieldsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasComputedFieldsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasComputedFieldsNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasComputedFieldsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasComputedFieldsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigContextSchemasBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextSchemasBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigContextSchemasBulkDestroy(ctx context.Context, body ExtrasConfigContextSchemasBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextSchemasBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -10757,8 +15208,56 @@ func (c *Client) ExtrasConfigContextSchemasUpdate(ctx context.Context, id openap return c.Client.Do(req) } -func (c *Client) ExtrasConfigContextsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasConfigContextsBulkDestroyRequest(c.Server) +func (c *Client) ExtrasConfigContextSchemasNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasConfigContextSchemasNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextSchemasNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigContextSchemasNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextSchemasNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigContextSchemasNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextSchemasNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextSchemasNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigContextsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigContextsBulkDestroy(ctx context.Context, body ExtrasConfigContextsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -10925,6 +15424,42 @@ func (c *Client) ExtrasConfigContextsUpdate(ctx context.Context, id openapi_type return c.Client.Do(req) } +func (c *Client) ExtrasConfigContextsNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasConfigContextsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigContextsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasConfigContextsNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasConfigContextsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) ExtrasContentTypesList(ctx context.Context, params *ExtrasContentTypesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewExtrasContentTypesListRequest(c.Server, params) if err != nil { @@ -10949,8 +15484,20 @@ func (c *Client) ExtrasContentTypesRetrieve(ctx context.Context, id int, reqEdit return c.Client.Do(req) } -func (c *Client) ExtrasCustomFieldChoicesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasCustomFieldChoicesBulkDestroyRequest(c.Server) +func (c *Client) ExtrasCustomFieldChoicesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoicesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldChoicesBulkDestroy(ctx context.Context, body ExtrasCustomFieldChoicesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldChoicesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -11117,8 +15664,20 @@ func (c *Client) ExtrasCustomFieldChoicesUpdate(ctx context.Context, id openapi_ return c.Client.Do(req) } -func (c *Client) ExtrasCustomFieldsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasCustomFieldsBulkDestroyRequest(c.Server) +func (c *Client) ExtrasCustomFieldsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldsBulkDestroy(ctx context.Context, body ExtrasCustomFieldsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -11285,8 +15844,56 @@ func (c *Client) ExtrasCustomFieldsUpdate(ctx context.Context, id openapi_types. return c.Client.Do(req) } -func (c *Client) ExtrasCustomLinksBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasCustomLinksBulkDestroyRequest(c.Server) +func (c *Client) ExtrasCustomFieldsNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasCustomFieldsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomFieldsNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomFieldsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomLinksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomLinksBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomLinksBulkDestroy(ctx context.Context, body ExtrasCustomLinksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomLinksBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -11453,8 +16060,236 @@ func (c *Client) ExtrasCustomLinksUpdate(ctx context.Context, id openapi_types.U return c.Client.Do(req) } -func (c *Client) ExtrasDynamicGroupsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasDynamicGroupsBulkDestroyRequest(c.Server) +func (c *Client) ExtrasCustomLinksNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasCustomLinksNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomLinksNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomLinksNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomLinksNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasCustomLinksNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasCustomLinksNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasCustomLinksNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDynamicGroupMembershipsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupMembershipsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDynamicGroupMembershipsBulkDestroy(ctx context.Context, body ExtrasDynamicGroupMembershipsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupMembershipsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDynamicGroupMembershipsList(ctx context.Context, params *ExtrasDynamicGroupMembershipsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupMembershipsListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDynamicGroupMembershipsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupMembershipsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDynamicGroupMembershipsBulkPartialUpdate(ctx context.Context, body ExtrasDynamicGroupMembershipsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupMembershipsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDynamicGroupMembershipsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupMembershipsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDynamicGroupMembershipsCreate(ctx context.Context, body ExtrasDynamicGroupMembershipsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupMembershipsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDynamicGroupMembershipsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupMembershipsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDynamicGroupMembershipsBulkUpdate(ctx context.Context, body ExtrasDynamicGroupMembershipsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupMembershipsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDynamicGroupMembershipsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupMembershipsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDynamicGroupMembershipsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupMembershipsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDynamicGroupMembershipsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupMembershipsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDynamicGroupMembershipsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasDynamicGroupMembershipsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupMembershipsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDynamicGroupMembershipsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupMembershipsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDynamicGroupMembershipsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasDynamicGroupMembershipsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupMembershipsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDynamicGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDynamicGroupsBulkDestroy(ctx context.Context, body ExtrasDynamicGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -11633,8 +16468,56 @@ func (c *Client) ExtrasDynamicGroupsMembersRetrieve(ctx context.Context, id open return c.Client.Do(req) } -func (c *Client) ExtrasExportTemplatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasExportTemplatesBulkDestroyRequest(c.Server) +func (c *Client) ExtrasDynamicGroupsNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasDynamicGroupsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDynamicGroupsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasDynamicGroupsNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasDynamicGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasDynamicGroupsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasExportTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasExportTemplatesBulkDestroy(ctx context.Context, body ExtrasExportTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -11801,8 +16684,56 @@ func (c *Client) ExtrasExportTemplatesUpdate(ctx context.Context, id openapi_typ return c.Client.Do(req) } -func (c *Client) ExtrasGitRepositoriesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasGitRepositoriesBulkDestroyRequest(c.Server) +func (c *Client) ExtrasExportTemplatesNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasExportTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasExportTemplatesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasExportTemplatesNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasExportTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasExportTemplatesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasGitRepositoriesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGitRepositoriesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasGitRepositoriesBulkDestroy(ctx context.Context, body ExtrasGitRepositoriesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGitRepositoriesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -11969,6 +16900,42 @@ func (c *Client) ExtrasGitRepositoriesUpdate(ctx context.Context, id openapi_typ return c.Client.Do(req) } +func (c *Client) ExtrasGitRepositoriesNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasGitRepositoriesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGitRepositoriesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasGitRepositoriesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGitRepositoriesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasGitRepositoriesNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasGitRepositoriesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGitRepositoriesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) ExtrasGitRepositoriesSyncCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewExtrasGitRepositoriesSyncCreateRequestWithBody(c.Server, id, contentType, body) if err != nil { @@ -11993,8 +16960,20 @@ func (c *Client) ExtrasGitRepositoriesSyncCreate(ctx context.Context, id openapi return c.Client.Do(req) } -func (c *Client) ExtrasGraphqlQueriesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasGraphqlQueriesBulkDestroyRequest(c.Server) +func (c *Client) ExtrasGraphqlQueriesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGraphqlQueriesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasGraphqlQueriesBulkDestroy(ctx context.Context, body ExtrasGraphqlQueriesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGraphqlQueriesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -12161,6 +17140,42 @@ func (c *Client) ExtrasGraphqlQueriesUpdate(ctx context.Context, id openapi_type return c.Client.Do(req) } +func (c *Client) ExtrasGraphqlQueriesNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasGraphqlQueriesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGraphqlQueriesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasGraphqlQueriesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGraphqlQueriesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasGraphqlQueriesNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasGraphqlQueriesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasGraphqlQueriesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) ExtrasGraphqlQueriesRunCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewExtrasGraphqlQueriesRunCreateRequestWithBody(c.Server, id, contentType, body) if err != nil { @@ -12185,8 +17200,20 @@ func (c *Client) ExtrasGraphqlQueriesRunCreate(ctx context.Context, id openapi_t return c.Client.Do(req) } -func (c *Client) ExtrasImageAttachmentsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasImageAttachmentsBulkDestroyRequest(c.Server) +func (c *Client) ExtrasImageAttachmentsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasImageAttachmentsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasImageAttachmentsBulkDestroy(ctx context.Context, body ExtrasImageAttachmentsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasImageAttachmentsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -12353,6 +17380,222 @@ func (c *Client) ExtrasImageAttachmentsUpdate(ctx context.Context, id openapi_ty return c.Client.Do(req) } +func (c *Client) ExtrasJobHooksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobHooksBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobHooksBulkDestroy(ctx context.Context, body ExtrasJobHooksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobHooksBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobHooksList(ctx context.Context, params *ExtrasJobHooksListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobHooksListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobHooksBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobHooksBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobHooksBulkPartialUpdate(ctx context.Context, body ExtrasJobHooksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobHooksBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobHooksCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobHooksCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobHooksCreate(ctx context.Context, body ExtrasJobHooksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobHooksCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobHooksBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobHooksBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobHooksBulkUpdate(ctx context.Context, body ExtrasJobHooksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobHooksBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobHooksDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobHooksDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobHooksRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobHooksRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobHooksPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobHooksPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobHooksPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasJobHooksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobHooksPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobHooksUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobHooksUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobHooksUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasJobHooksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobHooksUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobHooksNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasJobHooksNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobHooksNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobHooksNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobHooksNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobHooksNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasJobHooksNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobHooksNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) ExtrasJobLogsList(ctx context.Context, params *ExtrasJobLogsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewExtrasJobLogsListRequest(c.Server, params) if err != nil { @@ -12377,8 +17620,20 @@ func (c *Client) ExtrasJobLogsRetrieve(ctx context.Context, id openapi_types.UUI return c.Client.Do(req) } -func (c *Client) ExtrasJobResultsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasJobResultsBulkDestroyRequest(c.Server) +func (c *Client) ExtrasJobResultsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobResultsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobResultsBulkDestroy(ctx context.Context, body ExtrasJobResultsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobResultsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -12401,78 +17656,6 @@ func (c *Client) ExtrasJobResultsList(ctx context.Context, params *ExtrasJobResu return c.Client.Do(req) } -func (c *Client) ExtrasJobResultsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasJobResultsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) ExtrasJobResultsBulkPartialUpdate(ctx context.Context, body ExtrasJobResultsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasJobResultsBulkPartialUpdateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) ExtrasJobResultsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasJobResultsCreateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) ExtrasJobResultsCreate(ctx context.Context, body ExtrasJobResultsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasJobResultsCreateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) ExtrasJobResultsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasJobResultsBulkUpdateRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) ExtrasJobResultsBulkUpdate(ctx context.Context, body ExtrasJobResultsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasJobResultsBulkUpdateRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - func (c *Client) ExtrasJobResultsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewExtrasJobResultsDestroyRequest(c.Server, id) if err != nil { @@ -12497,54 +17680,6 @@ func (c *Client) ExtrasJobResultsRetrieve(ctx context.Context, id openapi_types. return c.Client.Do(req) } -func (c *Client) ExtrasJobResultsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasJobResultsPartialUpdateRequestWithBody(c.Server, id, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) ExtrasJobResultsPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasJobResultsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasJobResultsPartialUpdateRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) ExtrasJobResultsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasJobResultsUpdateRequestWithBody(c.Server, id, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) ExtrasJobResultsUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasJobResultsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasJobResultsUpdateRequest(c.Server, id, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - func (c *Client) ExtrasJobResultsLogsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewExtrasJobResultsLogsRetrieveRequest(c.Server, id) if err != nil { @@ -12557,8 +17692,20 @@ func (c *Client) ExtrasJobResultsLogsRetrieve(ctx context.Context, id openapi_ty return c.Client.Do(req) } -func (c *Client) ExtrasJobsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasJobsBulkDestroyRequest(c.Server) +func (c *Client) ExtrasJobsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobsBulkDestroy(ctx context.Context, body ExtrasJobsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -12737,6 +17884,42 @@ func (c *Client) ExtrasJobsUpdate(ctx context.Context, id openapi_types.UUID, bo return c.Client.Do(req) } +func (c *Client) ExtrasJobsNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasJobsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasJobsNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasJobsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasJobsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) ExtrasJobsRunCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewExtrasJobsRunCreateRequestWithBody(c.Server, id, contentType, body) if err != nil { @@ -12773,6 +17956,186 @@ func (c *Client) ExtrasJobsVariablesList(ctx context.Context, id openapi_types.U return c.Client.Do(req) } +func (c *Client) ExtrasNotesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasNotesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasNotesBulkDestroy(ctx context.Context, body ExtrasNotesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasNotesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasNotesList(ctx context.Context, params *ExtrasNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasNotesListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasNotesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasNotesBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasNotesBulkPartialUpdate(ctx context.Context, body ExtrasNotesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasNotesBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasNotesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasNotesCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasNotesCreate(ctx context.Context, body ExtrasNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasNotesCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasNotesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasNotesBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasNotesBulkUpdate(ctx context.Context, body ExtrasNotesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasNotesBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasNotesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasNotesDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasNotesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasNotesRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasNotesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasNotesPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasNotesPartialUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasNotesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasNotesPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasNotesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasNotesUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasNotesUpdate(ctx context.Context, id openapi_types.UUID, body ExtrasNotesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasNotesUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) ExtrasObjectChangesList(ctx context.Context, params *ExtrasObjectChangesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewExtrasObjectChangesListRequest(c.Server, params) if err != nil { @@ -12797,8 +18160,20 @@ func (c *Client) ExtrasObjectChangesRetrieve(ctx context.Context, id openapi_typ return c.Client.Do(req) } -func (c *Client) ExtrasRelationshipAssociationsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasRelationshipAssociationsBulkDestroyRequest(c.Server) +func (c *Client) ExtrasRelationshipAssociationsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipAssociationsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasRelationshipAssociationsBulkDestroy(ctx context.Context, body ExtrasRelationshipAssociationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipAssociationsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -12965,8 +18340,20 @@ func (c *Client) ExtrasRelationshipAssociationsUpdate(ctx context.Context, id op return c.Client.Do(req) } -func (c *Client) ExtrasRelationshipsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasRelationshipsBulkDestroyRequest(c.Server) +func (c *Client) ExtrasRelationshipsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasRelationshipsBulkDestroy(ctx context.Context, body ExtrasRelationshipsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -13133,6 +18520,42 @@ func (c *Client) ExtrasRelationshipsUpdate(ctx context.Context, id openapi_types return c.Client.Do(req) } +func (c *Client) ExtrasRelationshipsNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasRelationshipsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasRelationshipsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasRelationshipsNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasRelationshipsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) ExtrasScheduledJobsList(ctx context.Context, params *ExtrasScheduledJobsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewExtrasScheduledJobsListRequest(c.Server, params) if err != nil { @@ -13193,8 +18616,20 @@ func (c *Client) ExtrasScheduledJobsDryRunCreate(ctx context.Context, id openapi return c.Client.Do(req) } -func (c *Client) ExtrasSecretsGroupsAssociationsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasSecretsGroupsAssociationsBulkDestroyRequest(c.Server) +func (c *Client) ExtrasSecretsGroupsAssociationsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsAssociationsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSecretsGroupsAssociationsBulkDestroy(ctx context.Context, body ExtrasSecretsGroupsAssociationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsAssociationsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -13361,8 +18796,20 @@ func (c *Client) ExtrasSecretsGroupsAssociationsUpdate(ctx context.Context, id o return c.Client.Do(req) } -func (c *Client) ExtrasSecretsGroupsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasSecretsGroupsBulkDestroyRequest(c.Server) +func (c *Client) ExtrasSecretsGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSecretsGroupsBulkDestroy(ctx context.Context, body ExtrasSecretsGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -13529,8 +18976,56 @@ func (c *Client) ExtrasSecretsGroupsUpdate(ctx context.Context, id openapi_types return c.Client.Do(req) } -func (c *Client) ExtrasSecretsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasSecretsBulkDestroyRequest(c.Server) +func (c *Client) ExtrasSecretsGroupsNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasSecretsGroupsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSecretsGroupsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSecretsGroupsNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsGroupsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSecretsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSecretsBulkDestroy(ctx context.Context, body ExtrasSecretsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -13697,8 +19192,56 @@ func (c *Client) ExtrasSecretsUpdate(ctx context.Context, id openapi_types.UUID, return c.Client.Do(req) } -func (c *Client) ExtrasStatusesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasStatusesBulkDestroyRequest(c.Server) +func (c *Client) ExtrasSecretsNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasSecretsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSecretsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasSecretsNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasSecretsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasStatusesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasStatusesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasStatusesBulkDestroy(ctx context.Context, body ExtrasStatusesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasStatusesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -13865,8 +19408,56 @@ func (c *Client) ExtrasStatusesUpdate(ctx context.Context, id openapi_types.UUID return c.Client.Do(req) } -func (c *Client) ExtrasTagsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasTagsBulkDestroyRequest(c.Server) +func (c *Client) ExtrasStatusesNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasStatusesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasStatusesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasStatusesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasStatusesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasStatusesNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasStatusesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasStatusesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasTagsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasTagsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasTagsBulkDestroy(ctx context.Context, body ExtrasTagsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasTagsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -14033,8 +19624,56 @@ func (c *Client) ExtrasTagsUpdate(ctx context.Context, id openapi_types.UUID, bo return c.Client.Do(req) } -func (c *Client) ExtrasWebhooksBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewExtrasWebhooksBulkDestroyRequest(c.Server) +func (c *Client) ExtrasTagsNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasTagsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasTagsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasTagsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasTagsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasTagsNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasTagsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasTagsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasWebhooksBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasWebhooksBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasWebhooksBulkDestroy(ctx context.Context, body ExtrasWebhooksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasWebhooksBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -14201,6 +19840,42 @@ func (c *Client) ExtrasWebhooksUpdate(ctx context.Context, id openapi_types.UUID return c.Client.Do(req) } +func (c *Client) ExtrasWebhooksNotesList(ctx context.Context, id openapi_types.UUID, params *ExtrasWebhooksNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasWebhooksNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasWebhooksNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasWebhooksNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) ExtrasWebhooksNotesCreate(ctx context.Context, id openapi_types.UUID, body ExtrasWebhooksNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewExtrasWebhooksNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) GraphqlCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGraphqlCreateRequestWithBody(c.Server, contentType, body) if err != nil { @@ -14225,8 +19900,20 @@ func (c *Client) GraphqlCreate(ctx context.Context, body GraphqlCreateJSONReques return c.Client.Do(req) } -func (c *Client) IpamAggregatesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewIpamAggregatesBulkDestroyRequest(c.Server) +func (c *Client) IpamAggregatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAggregatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAggregatesBulkDestroy(ctx context.Context, body IpamAggregatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAggregatesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -14393,8 +20080,56 @@ func (c *Client) IpamAggregatesUpdate(ctx context.Context, id openapi_types.UUID return c.Client.Do(req) } -func (c *Client) IpamIpAddressesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewIpamIpAddressesBulkDestroyRequest(c.Server) +func (c *Client) IpamAggregatesNotesList(ctx context.Context, id openapi_types.UUID, params *IpamAggregatesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAggregatesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAggregatesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAggregatesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamAggregatesNotesCreate(ctx context.Context, id openapi_types.UUID, body IpamAggregatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamAggregatesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpAddressesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpAddressesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpAddressesBulkDestroy(ctx context.Context, body IpamIpAddressesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpAddressesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -14561,8 +20296,56 @@ func (c *Client) IpamIpAddressesUpdate(ctx context.Context, id openapi_types.UUI return c.Client.Do(req) } -func (c *Client) IpamPrefixesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewIpamPrefixesBulkDestroyRequest(c.Server) +func (c *Client) IpamIpAddressesNotesList(ctx context.Context, id openapi_types.UUID, params *IpamIpAddressesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpAddressesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpAddressesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpAddressesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamIpAddressesNotesCreate(ctx context.Context, id openapi_types.UUID, body IpamIpAddressesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamIpAddressesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamPrefixesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamPrefixesBulkDestroy(ctx context.Context, body IpamPrefixesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -14741,20 +20524,8 @@ func (c *Client) IpamPrefixesAvailableIpsList(ctx context.Context, id openapi_ty return c.Client.Do(req) } -func (c *Client) IpamPrefixesAvailableIpsCreateWithBody(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailableIpsCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewIpamPrefixesAvailableIpsCreateRequestWithBody(c.Server, id, params, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) IpamPrefixesAvailableIpsCreate(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailableIpsCreateParams, body IpamPrefixesAvailableIpsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewIpamPrefixesAvailableIpsCreateRequest(c.Server, id, params, body) +func (c *Client) IpamPrefixesAvailableIpsCreate(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailableIpsCreateParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesAvailableIpsCreateRequest(c.Server, id, params) if err != nil { return nil, err } @@ -14801,8 +20572,56 @@ func (c *Client) IpamPrefixesAvailablePrefixesCreate(ctx context.Context, id ope return c.Client.Do(req) } -func (c *Client) IpamRirsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewIpamRirsBulkDestroyRequest(c.Server) +func (c *Client) IpamPrefixesNotesList(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamPrefixesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamPrefixesNotesCreate(ctx context.Context, id openapi_types.UUID, body IpamPrefixesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamPrefixesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamRirsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRirsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamRirsBulkDestroy(ctx context.Context, body IpamRirsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRirsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -14969,8 +20788,56 @@ func (c *Client) IpamRirsUpdate(ctx context.Context, id openapi_types.UUID, body return c.Client.Do(req) } -func (c *Client) IpamRolesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewIpamRolesBulkDestroyRequest(c.Server) +func (c *Client) IpamRirsNotesList(ctx context.Context, id openapi_types.UUID, params *IpamRirsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRirsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamRirsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRirsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamRirsNotesCreate(ctx context.Context, id openapi_types.UUID, body IpamRirsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRirsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamRolesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRolesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamRolesBulkDestroy(ctx context.Context, body IpamRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRolesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -15137,8 +21004,56 @@ func (c *Client) IpamRolesUpdate(ctx context.Context, id openapi_types.UUID, bod return c.Client.Do(req) } -func (c *Client) IpamRouteTargetsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewIpamRouteTargetsBulkDestroyRequest(c.Server) +func (c *Client) IpamRolesNotesList(ctx context.Context, id openapi_types.UUID, params *IpamRolesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRolesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamRolesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRolesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamRolesNotesCreate(ctx context.Context, id openapi_types.UUID, body IpamRolesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRolesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamRouteTargetsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRouteTargetsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamRouteTargetsBulkDestroy(ctx context.Context, body IpamRouteTargetsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRouteTargetsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -15305,8 +21220,56 @@ func (c *Client) IpamRouteTargetsUpdate(ctx context.Context, id openapi_types.UU return c.Client.Do(req) } -func (c *Client) IpamServicesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewIpamServicesBulkDestroyRequest(c.Server) +func (c *Client) IpamRouteTargetsNotesList(ctx context.Context, id openapi_types.UUID, params *IpamRouteTargetsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRouteTargetsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamRouteTargetsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRouteTargetsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamRouteTargetsNotesCreate(ctx context.Context, id openapi_types.UUID, body IpamRouteTargetsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamRouteTargetsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamServicesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServicesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamServicesBulkDestroy(ctx context.Context, body IpamServicesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServicesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -15473,8 +21436,56 @@ func (c *Client) IpamServicesUpdate(ctx context.Context, id openapi_types.UUID, return c.Client.Do(req) } -func (c *Client) IpamVlanGroupsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewIpamVlanGroupsBulkDestroyRequest(c.Server) +func (c *Client) IpamServicesNotesList(ctx context.Context, id openapi_types.UUID, params *IpamServicesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServicesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamServicesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServicesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamServicesNotesCreate(ctx context.Context, id openapi_types.UUID, body IpamServicesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamServicesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamVlanGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamVlanGroupsBulkDestroy(ctx context.Context, body IpamVlanGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -15641,8 +21652,56 @@ func (c *Client) IpamVlanGroupsUpdate(ctx context.Context, id openapi_types.UUID return c.Client.Do(req) } -func (c *Client) IpamVlansBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewIpamVlansBulkDestroyRequest(c.Server) +func (c *Client) IpamVlanGroupsNotesList(ctx context.Context, id openapi_types.UUID, params *IpamVlanGroupsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamVlanGroupsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamVlanGroupsNotesCreate(ctx context.Context, id openapi_types.UUID, body IpamVlanGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlanGroupsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamVlansBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlansBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamVlansBulkDestroy(ctx context.Context, body IpamVlansBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlansBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -15809,8 +21868,56 @@ func (c *Client) IpamVlansUpdate(ctx context.Context, id openapi_types.UUID, bod return c.Client.Do(req) } -func (c *Client) IpamVrfsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewIpamVrfsBulkDestroyRequest(c.Server) +func (c *Client) IpamVlansNotesList(ctx context.Context, id openapi_types.UUID, params *IpamVlansNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlansNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamVlansNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlansNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamVlansNotesCreate(ctx context.Context, id openapi_types.UUID, body IpamVlansNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVlansNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamVrfsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVrfsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamVrfsBulkDestroy(ctx context.Context, body IpamVrfsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVrfsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -15977,8 +22084,1496 @@ func (c *Client) IpamVrfsUpdate(ctx context.Context, id openapi_types.UUID, body return c.Client.Do(req) } -func (c *Client) PluginsChatopsAccessgrantBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsChatopsAccessgrantBulkDestroyRequest(c.Server) +func (c *Client) IpamVrfsNotesList(ctx context.Context, id openapi_types.UUID, params *IpamVrfsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVrfsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamVrfsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVrfsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) IpamVrfsNotesCreate(ctx context.Context, id openapi_types.UUID, body IpamVrfsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewIpamVrfsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAddressFamiliesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAddressFamiliesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAddressFamiliesBulkDestroy(ctx context.Context, body PluginsBgpAddressFamiliesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAddressFamiliesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAddressFamiliesList(ctx context.Context, params *PluginsBgpAddressFamiliesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAddressFamiliesListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAddressFamiliesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAddressFamiliesBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAddressFamiliesBulkPartialUpdate(ctx context.Context, body PluginsBgpAddressFamiliesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAddressFamiliesBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAddressFamiliesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAddressFamiliesCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAddressFamiliesCreate(ctx context.Context, body PluginsBgpAddressFamiliesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAddressFamiliesCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAddressFamiliesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAddressFamiliesBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAddressFamiliesBulkUpdate(ctx context.Context, body PluginsBgpAddressFamiliesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAddressFamiliesBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAddressFamiliesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAddressFamiliesDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAddressFamiliesRetrieve(ctx context.Context, id openapi_types.UUID, params *PluginsBgpAddressFamiliesRetrieveParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAddressFamiliesRetrieveRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAddressFamiliesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAddressFamiliesPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAddressFamiliesPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpAddressFamiliesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAddressFamiliesPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAddressFamiliesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAddressFamiliesUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAddressFamiliesUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpAddressFamiliesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAddressFamiliesUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAutonomousSystemsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAutonomousSystemsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAutonomousSystemsBulkDestroy(ctx context.Context, body PluginsBgpAutonomousSystemsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAutonomousSystemsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAutonomousSystemsList(ctx context.Context, params *PluginsBgpAutonomousSystemsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAutonomousSystemsListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAutonomousSystemsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAutonomousSystemsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAutonomousSystemsBulkPartialUpdate(ctx context.Context, body PluginsBgpAutonomousSystemsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAutonomousSystemsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAutonomousSystemsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAutonomousSystemsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAutonomousSystemsCreate(ctx context.Context, body PluginsBgpAutonomousSystemsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAutonomousSystemsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAutonomousSystemsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAutonomousSystemsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAutonomousSystemsBulkUpdate(ctx context.Context, body PluginsBgpAutonomousSystemsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAutonomousSystemsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAutonomousSystemsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAutonomousSystemsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAutonomousSystemsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAutonomousSystemsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAutonomousSystemsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAutonomousSystemsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAutonomousSystemsPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpAutonomousSystemsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAutonomousSystemsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAutonomousSystemsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAutonomousSystemsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpAutonomousSystemsUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpAutonomousSystemsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpAutonomousSystemsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerEndpointsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerEndpointsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerEndpointsBulkDestroy(ctx context.Context, body PluginsBgpPeerEndpointsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerEndpointsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerEndpointsList(ctx context.Context, params *PluginsBgpPeerEndpointsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerEndpointsListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerEndpointsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerEndpointsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerEndpointsBulkPartialUpdate(ctx context.Context, body PluginsBgpPeerEndpointsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerEndpointsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerEndpointsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerEndpointsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerEndpointsCreate(ctx context.Context, body PluginsBgpPeerEndpointsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerEndpointsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerEndpointsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerEndpointsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerEndpointsBulkUpdate(ctx context.Context, body PluginsBgpPeerEndpointsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerEndpointsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerEndpointsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerEndpointsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerEndpointsRetrieve(ctx context.Context, id openapi_types.UUID, params *PluginsBgpPeerEndpointsRetrieveParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerEndpointsRetrieveRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerEndpointsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerEndpointsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerEndpointsPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerEndpointsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerEndpointsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerEndpointsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerEndpointsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerEndpointsUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerEndpointsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerEndpointsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupTemplatesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupTemplatesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupTemplatesBulkDestroy(ctx context.Context, body PluginsBgpPeerGroupTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupTemplatesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupTemplatesList(ctx context.Context, params *PluginsBgpPeerGroupTemplatesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupTemplatesListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupTemplatesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupTemplatesBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupTemplatesBulkPartialUpdate(ctx context.Context, body PluginsBgpPeerGroupTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupTemplatesBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupTemplatesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupTemplatesCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupTemplatesCreate(ctx context.Context, body PluginsBgpPeerGroupTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupTemplatesCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupTemplatesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupTemplatesBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupTemplatesBulkUpdate(ctx context.Context, body PluginsBgpPeerGroupTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupTemplatesBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupTemplatesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupTemplatesDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupTemplatesRetrieve(ctx context.Context, id openapi_types.UUID, params *PluginsBgpPeerGroupTemplatesRetrieveParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupTemplatesRetrieveRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupTemplatesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupTemplatesPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupTemplatesPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerGroupTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupTemplatesPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupTemplatesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupTemplatesUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupTemplatesUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerGroupTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupTemplatesUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupsBulkDestroy(ctx context.Context, body PluginsBgpPeerGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupsList(ctx context.Context, params *PluginsBgpPeerGroupsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupsListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupsBulkPartialUpdate(ctx context.Context, body PluginsBgpPeerGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupsCreate(ctx context.Context, body PluginsBgpPeerGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupsBulkUpdate(ctx context.Context, body PluginsBgpPeerGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupsRetrieve(ctx context.Context, id openapi_types.UUID, params *PluginsBgpPeerGroupsRetrieveParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupsRetrieveRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupsPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeerGroupsUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeerGroupsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringRolesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringRolesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringRolesBulkDestroy(ctx context.Context, body PluginsBgpPeeringRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringRolesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringRolesList(ctx context.Context, params *PluginsBgpPeeringRolesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringRolesListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringRolesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringRolesBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringRolesBulkPartialUpdate(ctx context.Context, body PluginsBgpPeeringRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringRolesBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringRolesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringRolesCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringRolesCreate(ctx context.Context, body PluginsBgpPeeringRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringRolesCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringRolesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringRolesBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringRolesBulkUpdate(ctx context.Context, body PluginsBgpPeeringRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringRolesBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringRolesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringRolesDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringRolesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringRolesRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringRolesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringRolesPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringRolesPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeeringRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringRolesPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringRolesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringRolesUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringRolesUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeeringRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringRolesUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringsBulkDestroy(ctx context.Context, body PluginsBgpPeeringsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringsBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringsList(ctx context.Context, params *PluginsBgpPeeringsListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringsListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringsBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringsBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringsBulkPartialUpdate(ctx context.Context, body PluginsBgpPeeringsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringsBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringsCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringsCreate(ctx context.Context, body PluginsBgpPeeringsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringsCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringsBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringsBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringsBulkUpdate(ctx context.Context, body PluginsBgpPeeringsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringsBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringsDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringsDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringsRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringsRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringsPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringsPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringsPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeeringsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringsPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringsUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringsUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpPeeringsUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeeringsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpPeeringsUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingInstancesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingInstancesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingInstancesBulkDestroy(ctx context.Context, body PluginsBgpRoutingInstancesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingInstancesBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingInstancesList(ctx context.Context, params *PluginsBgpRoutingInstancesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingInstancesListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingInstancesBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingInstancesBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingInstancesBulkPartialUpdate(ctx context.Context, body PluginsBgpRoutingInstancesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingInstancesBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingInstancesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingInstancesCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingInstancesCreate(ctx context.Context, body PluginsBgpRoutingInstancesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingInstancesCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingInstancesBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingInstancesBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingInstancesBulkUpdate(ctx context.Context, body PluginsBgpRoutingInstancesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingInstancesBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingInstancesDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingInstancesDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingInstancesRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingInstancesRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingInstancesPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingInstancesPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingInstancesPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpRoutingInstancesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingInstancesPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingInstancesUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingInstancesUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsBgpRoutingInstancesUpdate(ctx context.Context, id openapi_types.UUID, body PluginsBgpRoutingInstancesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsBgpRoutingInstancesUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsChatopsAccessgrantBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsAccessgrantBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsChatopsAccessgrantBulkDestroy(ctx context.Context, body PluginsChatopsAccessgrantBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsAccessgrantBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -16145,8 +23740,20 @@ func (c *Client) PluginsChatopsAccessgrantUpdate(ctx context.Context, id openapi return c.Client.Do(req) } -func (c *Client) PluginsChatopsCommandtokenBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsChatopsCommandtokenBulkDestroyRequest(c.Server) +func (c *Client) PluginsChatopsCommandtokenBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsCommandtokenBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsChatopsCommandtokenBulkDestroy(ctx context.Context, body PluginsChatopsCommandtokenBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsChatopsCommandtokenBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -16313,8 +23920,20 @@ func (c *Client) PluginsChatopsCommandtokenUpdate(ctx context.Context, id openap return c.Client.Do(req) } -func (c *Client) PluginsCircuitMaintenanceCircuitimpactBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsCircuitMaintenanceCircuitimpactBulkDestroyRequest(c.Server) +func (c *Client) PluginsCircuitMaintenanceCircuitimpactBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceCircuitimpactBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsCircuitMaintenanceCircuitimpactBulkDestroy(ctx context.Context, body PluginsCircuitMaintenanceCircuitimpactBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceCircuitimpactBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -16481,8 +24100,20 @@ func (c *Client) PluginsCircuitMaintenanceCircuitimpactUpdate(ctx context.Contex return c.Client.Do(req) } -func (c *Client) PluginsCircuitMaintenanceMaintenanceBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsCircuitMaintenanceMaintenanceBulkDestroyRequest(c.Server) +func (c *Client) PluginsCircuitMaintenanceMaintenanceBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceMaintenanceBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsCircuitMaintenanceMaintenanceBulkDestroy(ctx context.Context, body PluginsCircuitMaintenanceMaintenanceBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceMaintenanceBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -16649,8 +24280,20 @@ func (c *Client) PluginsCircuitMaintenanceMaintenanceUpdate(ctx context.Context, return c.Client.Do(req) } -func (c *Client) PluginsCircuitMaintenanceNoteBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsCircuitMaintenanceNoteBulkDestroyRequest(c.Server) +func (c *Client) PluginsCircuitMaintenanceNoteBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceNoteBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsCircuitMaintenanceNoteBulkDestroy(ctx context.Context, body PluginsCircuitMaintenanceNoteBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsCircuitMaintenanceNoteBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -16841,8 +24484,20 @@ func (c *Client) PluginsCircuitMaintenanceNotificationsourceRetrieve(ctx context return c.Client.Do(req) } -func (c *Client) PluginsDataValidationEngineRulesMinMaxBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsDataValidationEngineRulesMinMaxBulkDestroyRequest(c.Server) +func (c *Client) PluginsDataValidationEngineRulesMinMaxBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesMinMaxBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsDataValidationEngineRulesMinMaxBulkDestroy(ctx context.Context, body PluginsDataValidationEngineRulesMinMaxBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesMinMaxBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -17009,8 +24664,20 @@ func (c *Client) PluginsDataValidationEngineRulesMinMaxUpdate(ctx context.Contex return c.Client.Do(req) } -func (c *Client) PluginsDataValidationEngineRulesRegexBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsDataValidationEngineRulesRegexBulkDestroyRequest(c.Server) +func (c *Client) PluginsDataValidationEngineRulesRegexBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesRegexBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsDataValidationEngineRulesRegexBulkDestroy(ctx context.Context, body PluginsDataValidationEngineRulesRegexBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsDataValidationEngineRulesRegexBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -17237,8 +24904,3008 @@ func (c *Client) PluginsDeviceOnboardingOnboardingRetrieve(ctx context.Context, return c.Client.Do(req) } -func (c *Client) PluginsGoldenConfigComplianceFeatureBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsGoldenConfigComplianceFeatureBulkDestroyRequest(c.Server) +func (c *Client) PluginsFirewallAddressObjectGroupBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectGroupBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectGroupBulkDestroy(ctx context.Context, body PluginsFirewallAddressObjectGroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectGroupBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectGroupList(ctx context.Context, params *PluginsFirewallAddressObjectGroupListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectGroupListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectGroupBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectGroupBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectGroupBulkPartialUpdate(ctx context.Context, body PluginsFirewallAddressObjectGroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectGroupBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectGroupCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectGroupCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectGroupCreate(ctx context.Context, body PluginsFirewallAddressObjectGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectGroupCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectGroupBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectGroupBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectGroupBulkUpdate(ctx context.Context, body PluginsFirewallAddressObjectGroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectGroupBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectGroupDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectGroupDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectGroupRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectGroupRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectGroupPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectGroupPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectGroupPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectGroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectGroupPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectGroupUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectGroupUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectGroupUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectGroupUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectGroupNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallAddressObjectGroupNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectGroupNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectGroupNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectGroupNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectGroupNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectGroupNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectGroupNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectBulkDestroy(ctx context.Context, body PluginsFirewallAddressObjectBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectList(ctx context.Context, params *PluginsFirewallAddressObjectListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectBulkPartialUpdate(ctx context.Context, body PluginsFirewallAddressObjectBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectCreate(ctx context.Context, body PluginsFirewallAddressObjectCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectBulkUpdate(ctx context.Context, body PluginsFirewallAddressObjectBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallAddressObjectNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallAddressObjectNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallAddressObjectNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallCapircaPolicyBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallCapircaPolicyBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallCapircaPolicyBulkDestroy(ctx context.Context, body PluginsFirewallCapircaPolicyBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallCapircaPolicyBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallCapircaPolicyList(ctx context.Context, params *PluginsFirewallCapircaPolicyListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallCapircaPolicyListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallCapircaPolicyBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallCapircaPolicyBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallCapircaPolicyBulkPartialUpdate(ctx context.Context, body PluginsFirewallCapircaPolicyBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallCapircaPolicyBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallCapircaPolicyCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallCapircaPolicyCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallCapircaPolicyCreate(ctx context.Context, body PluginsFirewallCapircaPolicyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallCapircaPolicyCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallCapircaPolicyBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallCapircaPolicyBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallCapircaPolicyBulkUpdate(ctx context.Context, body PluginsFirewallCapircaPolicyBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallCapircaPolicyBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallCapircaPolicyDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallCapircaPolicyDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallCapircaPolicyRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallCapircaPolicyRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallCapircaPolicyPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallCapircaPolicyPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallCapircaPolicyPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallCapircaPolicyPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallCapircaPolicyPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallCapircaPolicyUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallCapircaPolicyUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallCapircaPolicyUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallCapircaPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallCapircaPolicyUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallFqdnBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallFqdnBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallFqdnBulkDestroy(ctx context.Context, body PluginsFirewallFqdnBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallFqdnBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallFqdnList(ctx context.Context, params *PluginsFirewallFqdnListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallFqdnListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallFqdnBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallFqdnBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallFqdnBulkPartialUpdate(ctx context.Context, body PluginsFirewallFqdnBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallFqdnBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallFqdnCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallFqdnCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallFqdnCreate(ctx context.Context, body PluginsFirewallFqdnCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallFqdnCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallFqdnBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallFqdnBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallFqdnBulkUpdate(ctx context.Context, body PluginsFirewallFqdnBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallFqdnBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallFqdnDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallFqdnDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallFqdnRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallFqdnRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallFqdnPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallFqdnPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallFqdnPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallFqdnPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallFqdnPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallFqdnUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallFqdnUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallFqdnUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallFqdnUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallFqdnUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallFqdnNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallFqdnNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallFqdnNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallFqdnNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallFqdnNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallFqdnNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallFqdnNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallFqdnNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallIpRangeBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallIpRangeBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallIpRangeBulkDestroy(ctx context.Context, body PluginsFirewallIpRangeBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallIpRangeBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallIpRangeList(ctx context.Context, params *PluginsFirewallIpRangeListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallIpRangeListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallIpRangeBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallIpRangeBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallIpRangeBulkPartialUpdate(ctx context.Context, body PluginsFirewallIpRangeBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallIpRangeBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallIpRangeCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallIpRangeCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallIpRangeCreate(ctx context.Context, body PluginsFirewallIpRangeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallIpRangeCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallIpRangeBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallIpRangeBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallIpRangeBulkUpdate(ctx context.Context, body PluginsFirewallIpRangeBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallIpRangeBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallIpRangeDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallIpRangeDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallIpRangeRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallIpRangeRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallIpRangePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallIpRangePartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallIpRangePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallIpRangePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallIpRangePartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallIpRangeUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallIpRangeUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallIpRangeUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallIpRangeUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallIpRangeUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallIpRangeNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallIpRangeNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallIpRangeNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallIpRangeNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallIpRangeNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallIpRangeNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallIpRangeNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallIpRangeNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyRuleBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyRuleBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyRuleBulkDestroy(ctx context.Context, body PluginsFirewallNatPolicyRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyRuleBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyRuleList(ctx context.Context, params *PluginsFirewallNatPolicyRuleListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyRuleListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyRuleBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyRuleBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyRuleBulkPartialUpdate(ctx context.Context, body PluginsFirewallNatPolicyRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyRuleBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyRuleCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyRuleCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyRuleCreate(ctx context.Context, body PluginsFirewallNatPolicyRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyRuleCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyRuleBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyRuleBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyRuleBulkUpdate(ctx context.Context, body PluginsFirewallNatPolicyRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyRuleBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyRuleDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyRuleDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyRuleRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyRuleRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyRulePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyRulePartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyRulePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyRulePartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyRuleUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyRuleUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyRuleUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyRuleUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyRuleNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallNatPolicyRuleNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyRuleNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyRuleNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyRuleNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyRuleNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyRuleNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyRuleNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyBulkDestroy(ctx context.Context, body PluginsFirewallNatPolicyBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyList(ctx context.Context, params *PluginsFirewallNatPolicyListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyBulkPartialUpdate(ctx context.Context, body PluginsFirewallNatPolicyBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyCreate(ctx context.Context, body PluginsFirewallNatPolicyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyBulkUpdate(ctx context.Context, body PluginsFirewallNatPolicyBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallNatPolicyNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallNatPolicyNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallNatPolicyNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyRuleBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyRuleBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyRuleBulkDestroy(ctx context.Context, body PluginsFirewallPolicyRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyRuleBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyRuleList(ctx context.Context, params *PluginsFirewallPolicyRuleListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyRuleListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyRuleBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyRuleBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyRuleBulkPartialUpdate(ctx context.Context, body PluginsFirewallPolicyRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyRuleBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyRuleCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyRuleCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyRuleCreate(ctx context.Context, body PluginsFirewallPolicyRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyRuleCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyRuleBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyRuleBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyRuleBulkUpdate(ctx context.Context, body PluginsFirewallPolicyRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyRuleBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyRuleDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyRuleDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyRuleRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyRuleRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyRulePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyRulePartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyRulePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyRulePartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyRuleUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyRuleUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyRuleUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyRuleUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyRuleNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallPolicyRuleNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyRuleNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyRuleNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyRuleNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyRuleNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyRuleNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyRuleNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyBulkDestroy(ctx context.Context, body PluginsFirewallPolicyBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyList(ctx context.Context, params *PluginsFirewallPolicyListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyBulkPartialUpdate(ctx context.Context, body PluginsFirewallPolicyBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyCreate(ctx context.Context, body PluginsFirewallPolicyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyBulkUpdate(ctx context.Context, body PluginsFirewallPolicyBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallPolicyNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallPolicyNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallPolicyNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectGroupBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectGroupBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectGroupBulkDestroy(ctx context.Context, body PluginsFirewallServiceObjectGroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectGroupBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectGroupList(ctx context.Context, params *PluginsFirewallServiceObjectGroupListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectGroupListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectGroupBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectGroupBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectGroupBulkPartialUpdate(ctx context.Context, body PluginsFirewallServiceObjectGroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectGroupBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectGroupCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectGroupCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectGroupCreate(ctx context.Context, body PluginsFirewallServiceObjectGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectGroupCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectGroupBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectGroupBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectGroupBulkUpdate(ctx context.Context, body PluginsFirewallServiceObjectGroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectGroupBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectGroupDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectGroupDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectGroupRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectGroupRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectGroupPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectGroupPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectGroupPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectGroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectGroupPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectGroupUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectGroupUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectGroupUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectGroupUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectGroupNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallServiceObjectGroupNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectGroupNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectGroupNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectGroupNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectGroupNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectGroupNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectGroupNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectBulkDestroy(ctx context.Context, body PluginsFirewallServiceObjectBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectList(ctx context.Context, params *PluginsFirewallServiceObjectListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectBulkPartialUpdate(ctx context.Context, body PluginsFirewallServiceObjectBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectCreate(ctx context.Context, body PluginsFirewallServiceObjectCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectBulkUpdate(ctx context.Context, body PluginsFirewallServiceObjectBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallServiceObjectNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallServiceObjectNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallServiceObjectNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectGroupBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectGroupBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectGroupBulkDestroy(ctx context.Context, body PluginsFirewallUserObjectGroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectGroupBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectGroupList(ctx context.Context, params *PluginsFirewallUserObjectGroupListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectGroupListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectGroupBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectGroupBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectGroupBulkPartialUpdate(ctx context.Context, body PluginsFirewallUserObjectGroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectGroupBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectGroupCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectGroupCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectGroupCreate(ctx context.Context, body PluginsFirewallUserObjectGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectGroupCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectGroupBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectGroupBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectGroupBulkUpdate(ctx context.Context, body PluginsFirewallUserObjectGroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectGroupBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectGroupDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectGroupDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectGroupRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectGroupRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectGroupPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectGroupPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectGroupPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectGroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectGroupPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectGroupUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectGroupUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectGroupUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectGroupUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectGroupNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallUserObjectGroupNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectGroupNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectGroupNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectGroupNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectGroupNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectGroupNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectGroupNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectBulkDestroy(ctx context.Context, body PluginsFirewallUserObjectBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectList(ctx context.Context, params *PluginsFirewallUserObjectListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectBulkPartialUpdate(ctx context.Context, body PluginsFirewallUserObjectBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectCreate(ctx context.Context, body PluginsFirewallUserObjectCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectBulkUpdate(ctx context.Context, body PluginsFirewallUserObjectBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectPartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectPartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectPartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectPartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallUserObjectNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallUserObjectNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallUserObjectNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallZoneBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallZoneBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallZoneBulkDestroy(ctx context.Context, body PluginsFirewallZoneBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallZoneBulkDestroyRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallZoneList(ctx context.Context, params *PluginsFirewallZoneListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallZoneListRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallZoneBulkPartialUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallZoneBulkPartialUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallZoneBulkPartialUpdate(ctx context.Context, body PluginsFirewallZoneBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallZoneBulkPartialUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallZoneCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallZoneCreateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallZoneCreate(ctx context.Context, body PluginsFirewallZoneCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallZoneCreateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallZoneBulkUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallZoneBulkUpdateRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallZoneBulkUpdate(ctx context.Context, body PluginsFirewallZoneBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallZoneBulkUpdateRequest(c.Server, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallZoneDestroy(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallZoneDestroyRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallZoneRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallZoneRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallZonePartialUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallZonePartialUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallZonePartialUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallZonePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallZonePartialUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallZoneUpdateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallZoneUpdateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallZoneUpdate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallZoneUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallZoneUpdateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallZoneNotesList(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallZoneNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallZoneNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallZoneNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallZoneNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsFirewallZoneNotesCreate(ctx context.Context, id openapi_types.UUID, body PluginsFirewallZoneNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsFirewallZoneNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsGoldenConfigComplianceFeatureBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceFeatureBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsGoldenConfigComplianceFeatureBulkDestroy(ctx context.Context, body PluginsGoldenConfigComplianceFeatureBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceFeatureBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -17405,8 +28072,20 @@ func (c *Client) PluginsGoldenConfigComplianceFeatureUpdate(ctx context.Context, return c.Client.Do(req) } -func (c *Client) PluginsGoldenConfigComplianceRuleBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsGoldenConfigComplianceRuleBulkDestroyRequest(c.Server) +func (c *Client) PluginsGoldenConfigComplianceRuleBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceRuleBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsGoldenConfigComplianceRuleBulkDestroy(ctx context.Context, body PluginsGoldenConfigComplianceRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigComplianceRuleBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -17573,8 +28252,20 @@ func (c *Client) PluginsGoldenConfigComplianceRuleUpdate(ctx context.Context, id return c.Client.Do(req) } -func (c *Client) PluginsGoldenConfigConfigComplianceBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsGoldenConfigConfigComplianceBulkDestroyRequest(c.Server) +func (c *Client) PluginsGoldenConfigConfigComplianceBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigComplianceBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsGoldenConfigConfigComplianceBulkDestroy(ctx context.Context, body PluginsGoldenConfigConfigComplianceBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigComplianceBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -17741,8 +28432,32 @@ func (c *Client) PluginsGoldenConfigConfigComplianceUpdate(ctx context.Context, return c.Client.Do(req) } -func (c *Client) PluginsGoldenConfigConfigRemoveBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsGoldenConfigConfigRemoveBulkDestroyRequest(c.Server) +func (c *Client) PluginsGoldenConfigConfigPostprocessingRetrieve(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigPostprocessingRetrieveRequest(c.Server, id) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsGoldenConfigConfigRemoveBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigRemoveBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsGoldenConfigConfigRemoveBulkDestroy(ctx context.Context, body PluginsGoldenConfigConfigRemoveBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigRemoveBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -17909,8 +28624,20 @@ func (c *Client) PluginsGoldenConfigConfigRemoveUpdate(ctx context.Context, id o return c.Client.Do(req) } -func (c *Client) PluginsGoldenConfigConfigReplaceBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsGoldenConfigConfigReplaceBulkDestroyRequest(c.Server) +func (c *Client) PluginsGoldenConfigConfigReplaceBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigReplaceBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsGoldenConfigConfigReplaceBulkDestroy(ctx context.Context, body PluginsGoldenConfigConfigReplaceBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigConfigReplaceBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -18077,8 +28804,20 @@ func (c *Client) PluginsGoldenConfigConfigReplaceUpdate(ctx context.Context, id return c.Client.Do(req) } -func (c *Client) PluginsGoldenConfigGoldenConfigSettingsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsGoldenConfigGoldenConfigSettingsBulkDestroyRequest(c.Server) +func (c *Client) PluginsGoldenConfigGoldenConfigSettingsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigSettingsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsGoldenConfigGoldenConfigSettingsBulkDestroy(ctx context.Context, body PluginsGoldenConfigGoldenConfigSettingsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigSettingsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -18245,8 +28984,20 @@ func (c *Client) PluginsGoldenConfigGoldenConfigSettingsUpdate(ctx context.Conte return c.Client.Do(req) } -func (c *Client) PluginsGoldenConfigGoldenConfigBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsGoldenConfigGoldenConfigBulkDestroyRequest(c.Server) +func (c *Client) PluginsGoldenConfigGoldenConfigBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsGoldenConfigGoldenConfigBulkDestroy(ctx context.Context, body PluginsGoldenConfigGoldenConfigBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsGoldenConfigGoldenConfigBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -18425,8 +29176,20 @@ func (c *Client) PluginsGoldenConfigSotaggRetrieve(ctx context.Context, id opena return c.Client.Do(req) } -func (c *Client) PluginsNautobotDeviceLifecycleMgmtContactBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsNautobotDeviceLifecycleMgmtContactBulkDestroyRequest(c.Server) +func (c *Client) PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContactBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsNautobotDeviceLifecycleMgmtContactBulkDestroy(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContactBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -18593,8 +29356,20 @@ func (c *Client) PluginsNautobotDeviceLifecycleMgmtContactUpdate(ctx context.Con return c.Client.Do(req) } -func (c *Client) PluginsNautobotDeviceLifecycleMgmtContractBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsNautobotDeviceLifecycleMgmtContractBulkDestroyRequest(c.Server) +func (c *Client) PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContractBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsNautobotDeviceLifecycleMgmtContractBulkDestroy(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtContractBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -18761,8 +29536,20 @@ func (c *Client) PluginsNautobotDeviceLifecycleMgmtContractUpdate(ctx context.Co return c.Client.Do(req) } -func (c *Client) PluginsNautobotDeviceLifecycleMgmtCveBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsNautobotDeviceLifecycleMgmtCveBulkDestroyRequest(c.Server) +func (c *Client) PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtCveBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsNautobotDeviceLifecycleMgmtCveBulkDestroy(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtCveBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -18929,8 +29716,20 @@ func (c *Client) PluginsNautobotDeviceLifecycleMgmtCveUpdate(ctx context.Context return c.Client.Do(req) } -func (c *Client) PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyRequest(c.Server) +func (c *Client) PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroy(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -19097,8 +29896,20 @@ func (c *Client) PluginsNautobotDeviceLifecycleMgmtHardwareUpdate(ctx context.Co return c.Client.Do(req) } -func (c *Client) PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyRequest(c.Server) +func (c *Client) PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroy(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -19265,8 +30076,20 @@ func (c *Client) PluginsNautobotDeviceLifecycleMgmtProviderUpdate(ctx context.Co return c.Client.Do(req) } -func (c *Client) PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyRequest(c.Server) +func (c *Client) PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroy(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -19433,8 +30256,20 @@ func (c *Client) PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdate(ctx conte return c.Client.Do(req) } -func (c *Client) PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyRequest(c.Server) +func (c *Client) PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroy(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -19601,8 +30436,20 @@ func (c *Client) PluginsNautobotDeviceLifecycleMgmtSoftwareUpdate(ctx context.Co return c.Client.Do(req) } -func (c *Client) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyRequest(c.Server) +func (c *Client) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroy(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -19769,8 +30616,20 @@ func (c *Client) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdate(ctx c return c.Client.Do(req) } -func (c *Client) PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyRequest(c.Server) +func (c *Client) PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroy(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -19961,8 +30820,20 @@ func (c *Client) SwaggerRetrieve(ctx context.Context, params *SwaggerRetrievePar return c.Client.Do(req) } -func (c *Client) TenancyTenantGroupsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewTenancyTenantGroupsBulkDestroyRequest(c.Server) +func (c *Client) TenancyTenantGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantGroupsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyTenantGroupsBulkDestroy(ctx context.Context, body TenancyTenantGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantGroupsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -20129,8 +31000,56 @@ func (c *Client) TenancyTenantGroupsUpdate(ctx context.Context, id openapi_types return c.Client.Do(req) } -func (c *Client) TenancyTenantsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewTenancyTenantsBulkDestroyRequest(c.Server) +func (c *Client) TenancyTenantGroupsNotesList(ctx context.Context, id openapi_types.UUID, params *TenancyTenantGroupsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantGroupsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyTenantGroupsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantGroupsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyTenantGroupsNotesCreate(ctx context.Context, id openapi_types.UUID, body TenancyTenantGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantGroupsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyTenantsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyTenantsBulkDestroy(ctx context.Context, body TenancyTenantsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -20297,6 +31216,42 @@ func (c *Client) TenancyTenantsUpdate(ctx context.Context, id openapi_types.UUID return c.Client.Do(req) } +func (c *Client) TenancyTenantsNotesList(ctx context.Context, id openapi_types.UUID, params *TenancyTenantsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyTenantsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) TenancyTenantsNotesCreate(ctx context.Context, id openapi_types.UUID, body TenancyTenantsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewTenancyTenantsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + func (c *Client) UsersConfigRetrieve(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewUsersConfigRetrieveRequest(c.Server) if err != nil { @@ -20309,8 +31264,20 @@ func (c *Client) UsersConfigRetrieve(ctx context.Context, reqEditors ...RequestE return c.Client.Do(req) } -func (c *Client) UsersGroupsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewUsersGroupsBulkDestroyRequest(c.Server) +func (c *Client) UsersGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersGroupsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) UsersGroupsBulkDestroy(ctx context.Context, body UsersGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersGroupsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -20477,8 +31444,20 @@ func (c *Client) UsersGroupsUpdate(ctx context.Context, id int, body UsersGroups return c.Client.Do(req) } -func (c *Client) UsersPermissionsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewUsersPermissionsBulkDestroyRequest(c.Server) +func (c *Client) UsersPermissionsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersPermissionsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) UsersPermissionsBulkDestroy(ctx context.Context, body UsersPermissionsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersPermissionsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -20645,8 +31624,20 @@ func (c *Client) UsersPermissionsUpdate(ctx context.Context, id openapi_types.UU return c.Client.Do(req) } -func (c *Client) UsersTokensBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewUsersTokensBulkDestroyRequest(c.Server) +func (c *Client) UsersTokensBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersTokensBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) UsersTokensBulkDestroy(ctx context.Context, body UsersTokensBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersTokensBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -20813,8 +31804,20 @@ func (c *Client) UsersTokensUpdate(ctx context.Context, id openapi_types.UUID, b return c.Client.Do(req) } -func (c *Client) UsersUsersBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewUsersUsersBulkDestroyRequest(c.Server) +func (c *Client) UsersUsersBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersUsersBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) UsersUsersBulkDestroy(ctx context.Context, body UsersUsersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewUsersUsersBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -20981,8 +31984,20 @@ func (c *Client) UsersUsersUpdate(ctx context.Context, id openapi_types.UUID, bo return c.Client.Do(req) } -func (c *Client) VirtualizationClusterGroupsBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewVirtualizationClusterGroupsBulkDestroyRequest(c.Server) +func (c *Client) VirtualizationClusterGroupsBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterGroupsBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationClusterGroupsBulkDestroy(ctx context.Context, body VirtualizationClusterGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterGroupsBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -21149,8 +32164,56 @@ func (c *Client) VirtualizationClusterGroupsUpdate(ctx context.Context, id opena return c.Client.Do(req) } -func (c *Client) VirtualizationClusterTypesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewVirtualizationClusterTypesBulkDestroyRequest(c.Server) +func (c *Client) VirtualizationClusterGroupsNotesList(ctx context.Context, id openapi_types.UUID, params *VirtualizationClusterGroupsNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterGroupsNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationClusterGroupsNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterGroupsNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationClusterGroupsNotesCreate(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterGroupsNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationClusterTypesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterTypesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationClusterTypesBulkDestroy(ctx context.Context, body VirtualizationClusterTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterTypesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -21317,8 +32380,56 @@ func (c *Client) VirtualizationClusterTypesUpdate(ctx context.Context, id openap return c.Client.Do(req) } -func (c *Client) VirtualizationClustersBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewVirtualizationClustersBulkDestroyRequest(c.Server) +func (c *Client) VirtualizationClusterTypesNotesList(ctx context.Context, id openapi_types.UUID, params *VirtualizationClusterTypesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterTypesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationClusterTypesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterTypesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationClusterTypesNotesCreate(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterTypesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClusterTypesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationClustersBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClustersBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationClustersBulkDestroy(ctx context.Context, body VirtualizationClustersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClustersBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -21485,8 +32596,56 @@ func (c *Client) VirtualizationClustersUpdate(ctx context.Context, id openapi_ty return c.Client.Do(req) } -func (c *Client) VirtualizationInterfacesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewVirtualizationInterfacesBulkDestroyRequest(c.Server) +func (c *Client) VirtualizationClustersNotesList(ctx context.Context, id openapi_types.UUID, params *VirtualizationClustersNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClustersNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationClustersNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClustersNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationClustersNotesCreate(ctx context.Context, id openapi_types.UUID, body VirtualizationClustersNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationClustersNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationInterfacesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationInterfacesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationInterfacesBulkDestroy(ctx context.Context, body VirtualizationInterfacesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationInterfacesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -21653,8 +32812,56 @@ func (c *Client) VirtualizationInterfacesUpdate(ctx context.Context, id openapi_ return c.Client.Do(req) } -func (c *Client) VirtualizationVirtualMachinesBulkDestroy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewVirtualizationVirtualMachinesBulkDestroyRequest(c.Server) +func (c *Client) VirtualizationInterfacesNotesList(ctx context.Context, id openapi_types.UUID, params *VirtualizationInterfacesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationInterfacesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationInterfacesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationInterfacesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationInterfacesNotesCreate(ctx context.Context, id openapi_types.UUID, body VirtualizationInterfacesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationInterfacesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationVirtualMachinesBulkDestroyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationVirtualMachinesBulkDestroyRequestWithBody(c.Server, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationVirtualMachinesBulkDestroy(ctx context.Context, body VirtualizationVirtualMachinesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationVirtualMachinesBulkDestroyRequest(c.Server, body) if err != nil { return nil, err } @@ -21821,8 +33028,55 @@ func (c *Client) VirtualizationVirtualMachinesUpdate(ctx context.Context, id ope return c.Client.Do(req) } -// NewCircuitsCircuitTerminationsBulkDestroyRequest generates requests for CircuitsCircuitTerminationsBulkDestroy -func NewCircuitsCircuitTerminationsBulkDestroyRequest(server string) (*http.Request, error) { +func (c *Client) VirtualizationVirtualMachinesNotesList(ctx context.Context, id openapi_types.UUID, params *VirtualizationVirtualMachinesNotesListParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationVirtualMachinesNotesListRequest(c.Server, id, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationVirtualMachinesNotesCreateWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationVirtualMachinesNotesCreateRequestWithBody(c.Server, id, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) VirtualizationVirtualMachinesNotesCreate(ctx context.Context, id openapi_types.UUID, body VirtualizationVirtualMachinesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewVirtualizationVirtualMachinesNotesCreateRequest(c.Server, id, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +// NewCircuitsCircuitTerminationsBulkDestroyRequest calls the generic CircuitsCircuitTerminationsBulkDestroy builder with application/json body +func NewCircuitsCircuitTerminationsBulkDestroyRequest(server string, body CircuitsCircuitTerminationsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitTerminationsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsCircuitTerminationsBulkDestroyRequestWithBody generates requests for CircuitsCircuitTerminationsBulkDestroy with any type of body +func NewCircuitsCircuitTerminationsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -21840,11 +33094,13 @@ func NewCircuitsCircuitTerminationsBulkDestroyRequest(server string) (*http.Requ return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -21869,6 +33125,38 @@ func NewCircuitsCircuitTerminationsListRequest(server string, params *CircuitsCi queryValues := queryURL.Query() + if params.Cable != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable", runtime.ParamLocationQuery, *params.Cable); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable__n", runtime.ParamLocationQuery, *params.CableN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Cabled != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cabled", runtime.ParamLocationQuery, *params.Cabled); err != nil { @@ -21933,6 +33221,230 @@ func NewCircuitsCircuitTerminationsListRequest(server string, params *CircuitsCi } + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -21949,6 +33461,38 @@ func NewCircuitsCircuitTerminationsListRequest(server string, params *CircuitsCi } + if params.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { @@ -22109,6 +33653,70 @@ func NewCircuitsCircuitTerminationsListRequest(server string, params *CircuitsCi } + if params.Region != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "region", runtime.ParamLocationQuery, *params.Region); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RegionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "region__n", runtime.ParamLocationQuery, *params.RegionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RegionId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "region_id", runtime.ParamLocationQuery, *params.RegionId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RegionIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "region_id__n", runtime.ParamLocationQuery, *params.RegionIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Site != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site", runtime.ParamLocationQuery, *params.Site); err != nil { @@ -22817,6 +34425,123 @@ func NewCircuitsCircuitTerminationsUpdateRequestWithBody(server string, id opena return req, nil } +// NewCircuitsCircuitTerminationsNotesListRequest generates requests for CircuitsCircuitTerminationsNotesList +func NewCircuitsCircuitTerminationsNotesListRequest(server string, id openapi_types.UUID, params *CircuitsCircuitTerminationsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/circuits/circuit-terminations/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewCircuitsCircuitTerminationsNotesCreateRequest calls the generic CircuitsCircuitTerminationsNotesCreate builder with application/json body +func NewCircuitsCircuitTerminationsNotesCreateRequest(server string, id openapi_types.UUID, body CircuitsCircuitTerminationsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitTerminationsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewCircuitsCircuitTerminationsNotesCreateRequestWithBody generates requests for CircuitsCircuitTerminationsNotesCreate with any type of body +func NewCircuitsCircuitTerminationsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/circuits/circuit-terminations/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewCircuitsCircuitTerminationsTraceRetrieveRequest generates requests for CircuitsCircuitTerminationsTraceRetrieve func NewCircuitsCircuitTerminationsTraceRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { var err error @@ -22851,8 +34576,19 @@ func NewCircuitsCircuitTerminationsTraceRetrieveRequest(server string, id openap return req, nil } -// NewCircuitsCircuitTypesBulkDestroyRequest generates requests for CircuitsCircuitTypesBulkDestroy -func NewCircuitsCircuitTypesBulkDestroyRequest(server string) (*http.Request, error) { +// NewCircuitsCircuitTypesBulkDestroyRequest calls the generic CircuitsCircuitTypesBulkDestroy builder with application/json body +func NewCircuitsCircuitTypesBulkDestroyRequest(server string, body CircuitsCircuitTypesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitTypesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsCircuitTypesBulkDestroyRequestWithBody generates requests for CircuitsCircuitTypesBulkDestroy with any type of body +func NewCircuitsCircuitTypesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -22870,11 +34606,13 @@ func NewCircuitsCircuitTypesBulkDestroyRequest(server string) (*http.Request, er return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -24007,8 +35745,136 @@ func NewCircuitsCircuitTypesUpdateRequestWithBody(server string, id openapi_type return req, nil } -// NewCircuitsCircuitsBulkDestroyRequest generates requests for CircuitsCircuitsBulkDestroy -func NewCircuitsCircuitsBulkDestroyRequest(server string) (*http.Request, error) { +// NewCircuitsCircuitTypesNotesListRequest generates requests for CircuitsCircuitTypesNotesList +func NewCircuitsCircuitTypesNotesListRequest(server string, id openapi_types.UUID, params *CircuitsCircuitTypesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/circuits/circuit-types/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewCircuitsCircuitTypesNotesCreateRequest calls the generic CircuitsCircuitTypesNotesCreate builder with application/json body +func NewCircuitsCircuitTypesNotesCreateRequest(server string, id openapi_types.UUID, body CircuitsCircuitTypesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitTypesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewCircuitsCircuitTypesNotesCreateRequestWithBody generates requests for CircuitsCircuitTypesNotesCreate with any type of body +func NewCircuitsCircuitTypesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/circuits/circuit-types/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewCircuitsCircuitsBulkDestroyRequest calls the generic CircuitsCircuitsBulkDestroy builder with application/json body +func NewCircuitsCircuitsBulkDestroyRequest(server string, body CircuitsCircuitsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsCircuitsBulkDestroyRequestWithBody generates requests for CircuitsCircuitsBulkDestroy with any type of body +func NewCircuitsCircuitsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -24026,11 +35892,13 @@ func NewCircuitsCircuitsBulkDestroyRequest(server string) (*http.Request, error) return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -24807,6 +36675,38 @@ func NewCircuitsCircuitsListRequest(server string, params *CircuitsCircuitsListP } + if params.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { @@ -25611,8 +37511,136 @@ func NewCircuitsCircuitsUpdateRequestWithBody(server string, id openapi_types.UU return req, nil } -// NewCircuitsProviderNetworksBulkDestroyRequest generates requests for CircuitsProviderNetworksBulkDestroy -func NewCircuitsProviderNetworksBulkDestroyRequest(server string) (*http.Request, error) { +// NewCircuitsCircuitsNotesListRequest generates requests for CircuitsCircuitsNotesList +func NewCircuitsCircuitsNotesListRequest(server string, id openapi_types.UUID, params *CircuitsCircuitsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/circuits/circuits/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewCircuitsCircuitsNotesCreateRequest calls the generic CircuitsCircuitsNotesCreate builder with application/json body +func NewCircuitsCircuitsNotesCreateRequest(server string, id openapi_types.UUID, body CircuitsCircuitsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsCircuitsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewCircuitsCircuitsNotesCreateRequestWithBody generates requests for CircuitsCircuitsNotesCreate with any type of body +func NewCircuitsCircuitsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/circuits/circuits/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewCircuitsProviderNetworksBulkDestroyRequest calls the generic CircuitsProviderNetworksBulkDestroy builder with application/json body +func NewCircuitsProviderNetworksBulkDestroyRequest(server string, body CircuitsProviderNetworksBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProviderNetworksBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsProviderNetworksBulkDestroyRequestWithBody generates requests for CircuitsProviderNetworksBulkDestroy with any type of body +func NewCircuitsProviderNetworksBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -25630,11 +37658,13 @@ func NewCircuitsProviderNetworksBulkDestroyRequest(server string) (*http.Request return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -26863,8 +38893,136 @@ func NewCircuitsProviderNetworksUpdateRequestWithBody(server string, id openapi_ return req, nil } -// NewCircuitsProvidersBulkDestroyRequest generates requests for CircuitsProvidersBulkDestroy -func NewCircuitsProvidersBulkDestroyRequest(server string) (*http.Request, error) { +// NewCircuitsProviderNetworksNotesListRequest generates requests for CircuitsProviderNetworksNotesList +func NewCircuitsProviderNetworksNotesListRequest(server string, id openapi_types.UUID, params *CircuitsProviderNetworksNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/circuits/provider-networks/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewCircuitsProviderNetworksNotesCreateRequest calls the generic CircuitsProviderNetworksNotesCreate builder with application/json body +func NewCircuitsProviderNetworksNotesCreateRequest(server string, id openapi_types.UUID, body CircuitsProviderNetworksNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProviderNetworksNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewCircuitsProviderNetworksNotesCreateRequestWithBody generates requests for CircuitsProviderNetworksNotesCreate with any type of body +func NewCircuitsProviderNetworksNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/circuits/provider-networks/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewCircuitsProvidersBulkDestroyRequest calls the generic CircuitsProvidersBulkDestroy builder with application/json body +func NewCircuitsProvidersBulkDestroyRequest(server string, body CircuitsProvidersBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProvidersBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewCircuitsProvidersBulkDestroyRequestWithBody generates requests for CircuitsProvidersBulkDestroy with any type of body +func NewCircuitsProvidersBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -26882,11 +39040,13 @@ func NewCircuitsProvidersBulkDestroyRequest(server string) (*http.Request, error return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -27567,6 +39727,38 @@ func NewCircuitsProvidersListRequest(server string, params *CircuitsProvidersLis } + if params.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Name != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { @@ -28499,8 +40691,136 @@ func NewCircuitsProvidersUpdateRequestWithBody(server string, id openapi_types.U return req, nil } -// NewDcimCablesBulkDestroyRequest generates requests for DcimCablesBulkDestroy -func NewDcimCablesBulkDestroyRequest(server string) (*http.Request, error) { +// NewCircuitsProvidersNotesListRequest generates requests for CircuitsProvidersNotesList +func NewCircuitsProvidersNotesListRequest(server string, id openapi_types.UUID, params *CircuitsProvidersNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/circuits/providers/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewCircuitsProvidersNotesCreateRequest calls the generic CircuitsProvidersNotesCreate builder with application/json body +func NewCircuitsProvidersNotesCreateRequest(server string, id openapi_types.UUID, body CircuitsProvidersNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewCircuitsProvidersNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewCircuitsProvidersNotesCreateRequestWithBody generates requests for CircuitsProvidersNotesCreate with any type of body +func NewCircuitsProvidersNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/circuits/providers/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimCablesBulkDestroyRequest calls the generic DcimCablesBulkDestroy builder with application/json body +func NewDcimCablesBulkDestroyRequest(server string, body DcimCablesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimCablesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimCablesBulkDestroyRequestWithBody generates requests for DcimCablesBulkDestroy with any type of body +func NewDcimCablesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -28518,11 +40838,13 @@ func NewDcimCablesBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -28563,6 +40885,86 @@ func NewDcimCablesListRequest(server string, params *DcimCablesListParams) (*htt } + if params.ColorIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__ic", runtime.ParamLocationQuery, *params.ColorIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__ie", runtime.ParamLocationQuery, *params.ColorIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__iew", runtime.ParamLocationQuery, *params.ColorIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__ire", runtime.ParamLocationQuery, *params.ColorIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__isw", runtime.ParamLocationQuery, *params.ColorIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.ColorN != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__n", runtime.ParamLocationQuery, *params.ColorN); err != nil { @@ -28579,6 +40981,118 @@ func NewDcimCablesListRequest(server string, params *DcimCablesListParams) (*htt } + if params.ColorNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__nic", runtime.ParamLocationQuery, *params.ColorNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__nie", runtime.ParamLocationQuery, *params.ColorNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__niew", runtime.ParamLocationQuery, *params.ColorNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__nire", runtime.ParamLocationQuery, *params.ColorNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__nisw", runtime.ParamLocationQuery, *params.ColorNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__nre", runtime.ParamLocationQuery, *params.ColorNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__re", runtime.ParamLocationQuery, *params.ColorRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Created != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { @@ -29363,6 +41877,38 @@ func NewDcimCablesListRequest(server string, params *DcimCablesListParams) (*htt } + if params.Region != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "region", runtime.ParamLocationQuery, *params.Region); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RegionId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "region_id", runtime.ParamLocationQuery, *params.RegionId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Site != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site", runtime.ParamLocationQuery, *params.Site); err != nil { @@ -29491,6 +42037,518 @@ func NewDcimCablesListRequest(server string, params *DcimCablesListParams) (*htt } + if params.TerminationAId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_a_id", runtime.ParamLocationQuery, *params.TerminationAId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationAIdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_a_id__ic", runtime.ParamLocationQuery, *params.TerminationAIdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationAIdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_a_id__ie", runtime.ParamLocationQuery, *params.TerminationAIdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationAIdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_a_id__iew", runtime.ParamLocationQuery, *params.TerminationAIdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationAIdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_a_id__ire", runtime.ParamLocationQuery, *params.TerminationAIdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationAIdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_a_id__isw", runtime.ParamLocationQuery, *params.TerminationAIdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationAIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_a_id__n", runtime.ParamLocationQuery, *params.TerminationAIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationAIdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_a_id__nic", runtime.ParamLocationQuery, *params.TerminationAIdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationAIdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_a_id__nie", runtime.ParamLocationQuery, *params.TerminationAIdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationAIdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_a_id__niew", runtime.ParamLocationQuery, *params.TerminationAIdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationAIdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_a_id__nire", runtime.ParamLocationQuery, *params.TerminationAIdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationAIdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_a_id__nisw", runtime.ParamLocationQuery, *params.TerminationAIdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationAIdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_a_id__nre", runtime.ParamLocationQuery, *params.TerminationAIdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationAIdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_a_id__re", runtime.ParamLocationQuery, *params.TerminationAIdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationAType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_a_type", runtime.ParamLocationQuery, *params.TerminationAType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationATypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_a_type__n", runtime.ParamLocationQuery, *params.TerminationATypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationBId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_b_id", runtime.ParamLocationQuery, *params.TerminationBId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationBIdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_b_id__ic", runtime.ParamLocationQuery, *params.TerminationBIdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationBIdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_b_id__ie", runtime.ParamLocationQuery, *params.TerminationBIdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationBIdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_b_id__iew", runtime.ParamLocationQuery, *params.TerminationBIdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationBIdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_b_id__ire", runtime.ParamLocationQuery, *params.TerminationBIdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationBIdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_b_id__isw", runtime.ParamLocationQuery, *params.TerminationBIdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationBIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_b_id__n", runtime.ParamLocationQuery, *params.TerminationBIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationBIdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_b_id__nic", runtime.ParamLocationQuery, *params.TerminationBIdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationBIdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_b_id__nie", runtime.ParamLocationQuery, *params.TerminationBIdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationBIdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_b_id__niew", runtime.ParamLocationQuery, *params.TerminationBIdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationBIdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_b_id__nire", runtime.ParamLocationQuery, *params.TerminationBIdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationBIdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_b_id__nisw", runtime.ParamLocationQuery, *params.TerminationBIdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationBIdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_b_id__nre", runtime.ParamLocationQuery, *params.TerminationBIdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationBIdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_b_id__re", runtime.ParamLocationQuery, *params.TerminationBIdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationBType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_b_type", runtime.ParamLocationQuery, *params.TerminationBType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TerminationBTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "termination_b_type__n", runtime.ParamLocationQuery, *params.TerminationBTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Type != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { @@ -29815,6 +42873,123 @@ func NewDcimCablesUpdateRequestWithBody(server string, id openapi_types.UUID, co return req, nil } +// NewDcimCablesNotesListRequest generates requests for DcimCablesNotesList +func NewDcimCablesNotesListRequest(server string, id openapi_types.UUID, params *DcimCablesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/cables/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimCablesNotesCreateRequest calls the generic DcimCablesNotesCreate builder with application/json body +func NewDcimCablesNotesCreateRequest(server string, id openapi_types.UUID, body DcimCablesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimCablesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimCablesNotesCreateRequestWithBody generates requests for DcimCablesNotesCreate with any type of body +func NewDcimCablesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/cables/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewDcimConnectedDeviceListRequest generates requests for DcimConnectedDeviceList func NewDcimConnectedDeviceListRequest(server string, params *DcimConnectedDeviceListParams) (*http.Request, error) { var err error @@ -29923,6 +43098,230 @@ func NewDcimConsoleConnectionsListRequest(server string, params *DcimConsoleConn } + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -30205,8 +43604,19 @@ func NewDcimConsoleConnectionsListRequest(server string, params *DcimConsoleConn return req, nil } -// NewDcimConsolePortTemplatesBulkDestroyRequest generates requests for DcimConsolePortTemplatesBulkDestroy -func NewDcimConsolePortTemplatesBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimConsolePortTemplatesBulkDestroyRequest calls the generic DcimConsolePortTemplatesBulkDestroy builder with application/json body +func NewDcimConsolePortTemplatesBulkDestroyRequest(server string, body DcimConsolePortTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsolePortTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimConsolePortTemplatesBulkDestroyRequestWithBody generates requests for DcimConsolePortTemplatesBulkDestroy with any type of body +func NewDcimConsolePortTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -30224,11 +43634,13 @@ func NewDcimConsolePortTemplatesBulkDestroyRequest(server string) (*http.Request return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -30253,6 +43665,262 @@ func NewDcimConsolePortTemplatesListRequest(server string, params *DcimConsolePo queryValues := queryURL.Query() + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type", runtime.ParamLocationQuery, *params.DeviceType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type__n", runtime.ParamLocationQuery, *params.DeviceTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DevicetypeId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_id", runtime.ParamLocationQuery, *params.DevicetypeId); err != nil { @@ -30509,6 +44177,230 @@ func NewDcimConsolePortTemplatesListRequest(server string, params *DcimConsolePo } + if params.Label != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label", runtime.ParamLocationQuery, *params.Label); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ic", runtime.ParamLocationQuery, *params.LabelIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ie", runtime.ParamLocationQuery, *params.LabelIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__iew", runtime.ParamLocationQuery, *params.LabelIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ire", runtime.ParamLocationQuery, *params.LabelIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__isw", runtime.ParamLocationQuery, *params.LabelIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__n", runtime.ParamLocationQuery, *params.LabelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nic", runtime.ParamLocationQuery, *params.LabelNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nie", runtime.ParamLocationQuery, *params.LabelNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__niew", runtime.ParamLocationQuery, *params.LabelNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nire", runtime.ParamLocationQuery, *params.LabelNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nisw", runtime.ParamLocationQuery, *params.LabelNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nre", runtime.ParamLocationQuery, *params.LabelNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__re", runtime.ParamLocationQuery, *params.LabelRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -31105,8 +44997,136 @@ func NewDcimConsolePortTemplatesUpdateRequestWithBody(server string, id openapi_ return req, nil } -// NewDcimConsolePortsBulkDestroyRequest generates requests for DcimConsolePortsBulkDestroy -func NewDcimConsolePortsBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimConsolePortTemplatesNotesListRequest generates requests for DcimConsolePortTemplatesNotesList +func NewDcimConsolePortTemplatesNotesListRequest(server string, id openapi_types.UUID, params *DcimConsolePortTemplatesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/console-port-templates/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimConsolePortTemplatesNotesCreateRequest calls the generic DcimConsolePortTemplatesNotesCreate builder with application/json body +func NewDcimConsolePortTemplatesNotesCreateRequest(server string, id openapi_types.UUID, body DcimConsolePortTemplatesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsolePortTemplatesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimConsolePortTemplatesNotesCreateRequestWithBody generates requests for DcimConsolePortTemplatesNotesCreate with any type of body +func NewDcimConsolePortTemplatesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/console-port-templates/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimConsolePortsBulkDestroyRequest calls the generic DcimConsolePortsBulkDestroy builder with application/json body +func NewDcimConsolePortsBulkDestroyRequest(server string, body DcimConsolePortsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsolePortsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimConsolePortsBulkDestroyRequestWithBody generates requests for DcimConsolePortsBulkDestroy with any type of body +func NewDcimConsolePortsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -31124,11 +45144,13 @@ func NewDcimConsolePortsBulkDestroyRequest(server string) (*http.Request, error) return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -31153,6 +45175,38 @@ func NewDcimConsolePortsListRequest(server string, params *DcimConsolePortsListP queryValues := queryURL.Query() + if params.Cable != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable", runtime.ParamLocationQuery, *params.Cable); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable__n", runtime.ParamLocationQuery, *params.CableN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Cabled != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cabled", runtime.ParamLocationQuery, *params.Cabled); err != nil { @@ -31697,6 +45751,230 @@ func NewDcimConsolePortsListRequest(server string, params *DcimConsolePortsListP } + if params.Label != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label", runtime.ParamLocationQuery, *params.Label); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ic", runtime.ParamLocationQuery, *params.LabelIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ie", runtime.ParamLocationQuery, *params.LabelIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__iew", runtime.ParamLocationQuery, *params.LabelIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ire", runtime.ParamLocationQuery, *params.LabelIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__isw", runtime.ParamLocationQuery, *params.LabelIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__n", runtime.ParamLocationQuery, *params.LabelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nic", runtime.ParamLocationQuery, *params.LabelNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nie", runtime.ParamLocationQuery, *params.LabelNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__niew", runtime.ParamLocationQuery, *params.LabelNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nire", runtime.ParamLocationQuery, *params.LabelNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nisw", runtime.ParamLocationQuery, *params.LabelNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nre", runtime.ParamLocationQuery, *params.LabelNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__re", runtime.ParamLocationQuery, *params.LabelRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -32453,6 +46731,123 @@ func NewDcimConsolePortsUpdateRequestWithBody(server string, id openapi_types.UU return req, nil } +// NewDcimConsolePortsNotesListRequest generates requests for DcimConsolePortsNotesList +func NewDcimConsolePortsNotesListRequest(server string, id openapi_types.UUID, params *DcimConsolePortsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/console-ports/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimConsolePortsNotesCreateRequest calls the generic DcimConsolePortsNotesCreate builder with application/json body +func NewDcimConsolePortsNotesCreateRequest(server string, id openapi_types.UUID, body DcimConsolePortsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsolePortsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimConsolePortsNotesCreateRequestWithBody generates requests for DcimConsolePortsNotesCreate with any type of body +func NewDcimConsolePortsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/console-ports/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewDcimConsolePortsTraceRetrieveRequest generates requests for DcimConsolePortsTraceRetrieve func NewDcimConsolePortsTraceRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { var err error @@ -32487,8 +46882,19 @@ func NewDcimConsolePortsTraceRetrieveRequest(server string, id openapi_types.UUI return req, nil } -// NewDcimConsoleServerPortTemplatesBulkDestroyRequest generates requests for DcimConsoleServerPortTemplatesBulkDestroy -func NewDcimConsoleServerPortTemplatesBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimConsoleServerPortTemplatesBulkDestroyRequest calls the generic DcimConsoleServerPortTemplatesBulkDestroy builder with application/json body +func NewDcimConsoleServerPortTemplatesBulkDestroyRequest(server string, body DcimConsoleServerPortTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsoleServerPortTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimConsoleServerPortTemplatesBulkDestroyRequestWithBody generates requests for DcimConsoleServerPortTemplatesBulkDestroy with any type of body +func NewDcimConsoleServerPortTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -32506,11 +46912,13 @@ func NewDcimConsoleServerPortTemplatesBulkDestroyRequest(server string) (*http.R return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -32535,6 +46943,262 @@ func NewDcimConsoleServerPortTemplatesListRequest(server string, params *DcimCon queryValues := queryURL.Query() + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type", runtime.ParamLocationQuery, *params.DeviceType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type__n", runtime.ParamLocationQuery, *params.DeviceTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DevicetypeId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_id", runtime.ParamLocationQuery, *params.DevicetypeId); err != nil { @@ -32791,6 +47455,230 @@ func NewDcimConsoleServerPortTemplatesListRequest(server string, params *DcimCon } + if params.Label != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label", runtime.ParamLocationQuery, *params.Label); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ic", runtime.ParamLocationQuery, *params.LabelIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ie", runtime.ParamLocationQuery, *params.LabelIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__iew", runtime.ParamLocationQuery, *params.LabelIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ire", runtime.ParamLocationQuery, *params.LabelIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__isw", runtime.ParamLocationQuery, *params.LabelIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__n", runtime.ParamLocationQuery, *params.LabelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nic", runtime.ParamLocationQuery, *params.LabelNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nie", runtime.ParamLocationQuery, *params.LabelNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__niew", runtime.ParamLocationQuery, *params.LabelNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nire", runtime.ParamLocationQuery, *params.LabelNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nisw", runtime.ParamLocationQuery, *params.LabelNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nre", runtime.ParamLocationQuery, *params.LabelNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__re", runtime.ParamLocationQuery, *params.LabelRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -33387,8 +48275,136 @@ func NewDcimConsoleServerPortTemplatesUpdateRequestWithBody(server string, id op return req, nil } -// NewDcimConsoleServerPortsBulkDestroyRequest generates requests for DcimConsoleServerPortsBulkDestroy -func NewDcimConsoleServerPortsBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimConsoleServerPortTemplatesNotesListRequest generates requests for DcimConsoleServerPortTemplatesNotesList +func NewDcimConsoleServerPortTemplatesNotesListRequest(server string, id openapi_types.UUID, params *DcimConsoleServerPortTemplatesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/console-server-port-templates/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimConsoleServerPortTemplatesNotesCreateRequest calls the generic DcimConsoleServerPortTemplatesNotesCreate builder with application/json body +func NewDcimConsoleServerPortTemplatesNotesCreateRequest(server string, id openapi_types.UUID, body DcimConsoleServerPortTemplatesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsoleServerPortTemplatesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimConsoleServerPortTemplatesNotesCreateRequestWithBody generates requests for DcimConsoleServerPortTemplatesNotesCreate with any type of body +func NewDcimConsoleServerPortTemplatesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/console-server-port-templates/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimConsoleServerPortsBulkDestroyRequest calls the generic DcimConsoleServerPortsBulkDestroy builder with application/json body +func NewDcimConsoleServerPortsBulkDestroyRequest(server string, body DcimConsoleServerPortsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsoleServerPortsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimConsoleServerPortsBulkDestroyRequestWithBody generates requests for DcimConsoleServerPortsBulkDestroy with any type of body +func NewDcimConsoleServerPortsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -33406,11 +48422,13 @@ func NewDcimConsoleServerPortsBulkDestroyRequest(server string) (*http.Request, return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -33435,6 +48453,38 @@ func NewDcimConsoleServerPortsListRequest(server string, params *DcimConsoleServ queryValues := queryURL.Query() + if params.Cable != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable", runtime.ParamLocationQuery, *params.Cable); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable__n", runtime.ParamLocationQuery, *params.CableN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Cabled != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cabled", runtime.ParamLocationQuery, *params.Cabled); err != nil { @@ -33979,6 +49029,230 @@ func NewDcimConsoleServerPortsListRequest(server string, params *DcimConsoleServ } + if params.Label != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label", runtime.ParamLocationQuery, *params.Label); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ic", runtime.ParamLocationQuery, *params.LabelIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ie", runtime.ParamLocationQuery, *params.LabelIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__iew", runtime.ParamLocationQuery, *params.LabelIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ire", runtime.ParamLocationQuery, *params.LabelIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__isw", runtime.ParamLocationQuery, *params.LabelIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__n", runtime.ParamLocationQuery, *params.LabelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nic", runtime.ParamLocationQuery, *params.LabelNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nie", runtime.ParamLocationQuery, *params.LabelNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__niew", runtime.ParamLocationQuery, *params.LabelNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nire", runtime.ParamLocationQuery, *params.LabelNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nisw", runtime.ParamLocationQuery, *params.LabelNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nre", runtime.ParamLocationQuery, *params.LabelNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__re", runtime.ParamLocationQuery, *params.LabelRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -34735,6 +50009,123 @@ func NewDcimConsoleServerPortsUpdateRequestWithBody(server string, id openapi_ty return req, nil } +// NewDcimConsoleServerPortsNotesListRequest generates requests for DcimConsoleServerPortsNotesList +func NewDcimConsoleServerPortsNotesListRequest(server string, id openapi_types.UUID, params *DcimConsoleServerPortsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/console-server-ports/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimConsoleServerPortsNotesCreateRequest calls the generic DcimConsoleServerPortsNotesCreate builder with application/json body +func NewDcimConsoleServerPortsNotesCreateRequest(server string, id openapi_types.UUID, body DcimConsoleServerPortsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimConsoleServerPortsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimConsoleServerPortsNotesCreateRequestWithBody generates requests for DcimConsoleServerPortsNotesCreate with any type of body +func NewDcimConsoleServerPortsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/console-server-ports/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewDcimConsoleServerPortsTraceRetrieveRequest generates requests for DcimConsoleServerPortsTraceRetrieve func NewDcimConsoleServerPortsTraceRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { var err error @@ -34769,8 +50160,19 @@ func NewDcimConsoleServerPortsTraceRetrieveRequest(server string, id openapi_typ return req, nil } -// NewDcimDeviceBayTemplatesBulkDestroyRequest generates requests for DcimDeviceBayTemplatesBulkDestroy -func NewDcimDeviceBayTemplatesBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimDeviceBayTemplatesBulkDestroyRequest calls the generic DcimDeviceBayTemplatesBulkDestroy builder with application/json body +func NewDcimDeviceBayTemplatesBulkDestroyRequest(server string, body DcimDeviceBayTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceBayTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceBayTemplatesBulkDestroyRequestWithBody generates requests for DcimDeviceBayTemplatesBulkDestroy with any type of body +func NewDcimDeviceBayTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -34788,11 +50190,13 @@ func NewDcimDeviceBayTemplatesBulkDestroyRequest(server string) (*http.Request, return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -34817,6 +50221,262 @@ func NewDcimDeviceBayTemplatesListRequest(server string, params *DcimDeviceBayTe queryValues := queryURL.Query() + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type", runtime.ParamLocationQuery, *params.DeviceType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type__n", runtime.ParamLocationQuery, *params.DeviceTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DevicetypeId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_id", runtime.ParamLocationQuery, *params.DevicetypeId); err != nil { @@ -35073,6 +50733,230 @@ func NewDcimDeviceBayTemplatesListRequest(server string, params *DcimDeviceBayTe } + if params.Label != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label", runtime.ParamLocationQuery, *params.Label); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ic", runtime.ParamLocationQuery, *params.LabelIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ie", runtime.ParamLocationQuery, *params.LabelIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__iew", runtime.ParamLocationQuery, *params.LabelIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ire", runtime.ParamLocationQuery, *params.LabelIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__isw", runtime.ParamLocationQuery, *params.LabelIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__n", runtime.ParamLocationQuery, *params.LabelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nic", runtime.ParamLocationQuery, *params.LabelNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nie", runtime.ParamLocationQuery, *params.LabelNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__niew", runtime.ParamLocationQuery, *params.LabelNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nire", runtime.ParamLocationQuery, *params.LabelNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nisw", runtime.ParamLocationQuery, *params.LabelNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nre", runtime.ParamLocationQuery, *params.LabelNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__re", runtime.ParamLocationQuery, *params.LabelRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -35637,8 +51521,136 @@ func NewDcimDeviceBayTemplatesUpdateRequestWithBody(server string, id openapi_ty return req, nil } -// NewDcimDeviceBaysBulkDestroyRequest generates requests for DcimDeviceBaysBulkDestroy -func NewDcimDeviceBaysBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimDeviceBayTemplatesNotesListRequest generates requests for DcimDeviceBayTemplatesNotesList +func NewDcimDeviceBayTemplatesNotesListRequest(server string, id openapi_types.UUID, params *DcimDeviceBayTemplatesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-bay-templates/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimDeviceBayTemplatesNotesCreateRequest calls the generic DcimDeviceBayTemplatesNotesCreate builder with application/json body +func NewDcimDeviceBayTemplatesNotesCreateRequest(server string, id openapi_types.UUID, body DcimDeviceBayTemplatesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceBayTemplatesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimDeviceBayTemplatesNotesCreateRequestWithBody generates requests for DcimDeviceBayTemplatesNotesCreate with any type of body +func NewDcimDeviceBayTemplatesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-bay-templates/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimDeviceBaysBulkDestroyRequest calls the generic DcimDeviceBaysBulkDestroy builder with application/json body +func NewDcimDeviceBaysBulkDestroyRequest(server string, body DcimDeviceBaysBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceBaysBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceBaysBulkDestroyRequestWithBody generates requests for DcimDeviceBaysBulkDestroy with any type of body +func NewDcimDeviceBaysBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -35656,11 +51668,13 @@ func NewDcimDeviceBaysBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -36197,6 +52211,262 @@ func NewDcimDeviceBaysListRequest(server string, params *DcimDeviceBaysListParam } + if params.InstalledDevice != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "installed_device", runtime.ParamLocationQuery, *params.InstalledDevice); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InstalledDeviceN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "installed_device__n", runtime.ParamLocationQuery, *params.InstalledDeviceN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Label != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label", runtime.ParamLocationQuery, *params.Label); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ic", runtime.ParamLocationQuery, *params.LabelIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ie", runtime.ParamLocationQuery, *params.LabelIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__iew", runtime.ParamLocationQuery, *params.LabelIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ire", runtime.ParamLocationQuery, *params.LabelIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__isw", runtime.ParamLocationQuery, *params.LabelIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__n", runtime.ParamLocationQuery, *params.LabelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nic", runtime.ParamLocationQuery, *params.LabelNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nie", runtime.ParamLocationQuery, *params.LabelNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__niew", runtime.ParamLocationQuery, *params.LabelNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nire", runtime.ParamLocationQuery, *params.LabelNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nisw", runtime.ParamLocationQuery, *params.LabelNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nre", runtime.ParamLocationQuery, *params.LabelNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__re", runtime.ParamLocationQuery, *params.LabelRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -36921,8 +53191,1550 @@ func NewDcimDeviceBaysUpdateRequestWithBody(server string, id openapi_types.UUID return req, nil } -// NewDcimDeviceRolesBulkDestroyRequest generates requests for DcimDeviceRolesBulkDestroy -func NewDcimDeviceRolesBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimDeviceBaysNotesListRequest generates requests for DcimDeviceBaysNotesList +func NewDcimDeviceBaysNotesListRequest(server string, id openapi_types.UUID, params *DcimDeviceBaysNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-bays/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimDeviceBaysNotesCreateRequest calls the generic DcimDeviceBaysNotesCreate builder with application/json body +func NewDcimDeviceBaysNotesCreateRequest(server string, id openapi_types.UUID, body DcimDeviceBaysNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceBaysNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimDeviceBaysNotesCreateRequestWithBody generates requests for DcimDeviceBaysNotesCreate with any type of body +func NewDcimDeviceBaysNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-bays/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimDeviceRedundancyGroupsBulkDestroyRequest calls the generic DcimDeviceRedundancyGroupsBulkDestroy builder with application/json body +func NewDcimDeviceRedundancyGroupsBulkDestroyRequest(server string, body DcimDeviceRedundancyGroupsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceRedundancyGroupsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceRedundancyGroupsBulkDestroyRequestWithBody generates requests for DcimDeviceRedundancyGroupsBulkDestroy with any type of body +func NewDcimDeviceRedundancyGroupsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-redundancy-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimDeviceRedundancyGroupsListRequest generates requests for DcimDeviceRedundancyGroupsList +func NewDcimDeviceRedundancyGroupsListRequest(server string, params *DcimDeviceRedundancyGroupsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-redundancy-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FailoverStrategy != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "failover_strategy", runtime.ParamLocationQuery, *params.FailoverStrategy); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FailoverStrategyN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "failover_strategy__n", runtime.ParamLocationQuery, *params.FailoverStrategyN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Name != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SecretsGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "secrets_group", runtime.ParamLocationQuery, *params.SecretsGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SecretsGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "secrets_group__n", runtime.ParamLocationQuery, *params.SecretsGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Slug != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug", runtime.ParamLocationQuery, *params.Slug); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__ic", runtime.ParamLocationQuery, *params.SlugIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__ie", runtime.ParamLocationQuery, *params.SlugIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__iew", runtime.ParamLocationQuery, *params.SlugIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__ire", runtime.ParamLocationQuery, *params.SlugIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__isw", runtime.ParamLocationQuery, *params.SlugIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__n", runtime.ParamLocationQuery, *params.SlugN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nic", runtime.ParamLocationQuery, *params.SlugNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nie", runtime.ParamLocationQuery, *params.SlugNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__niew", runtime.ParamLocationQuery, *params.SlugNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nire", runtime.ParamLocationQuery, *params.SlugNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nisw", runtime.ParamLocationQuery, *params.SlugNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nre", runtime.ParamLocationQuery, *params.SlugNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__re", runtime.ParamLocationQuery, *params.SlugRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Tag != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag", runtime.ParamLocationQuery, *params.Tag); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TagN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag__n", runtime.ParamLocationQuery, *params.TagN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimDeviceRedundancyGroupsBulkPartialUpdateRequest calls the generic DcimDeviceRedundancyGroupsBulkPartialUpdate builder with application/json body +func NewDcimDeviceRedundancyGroupsBulkPartialUpdateRequest(server string, body DcimDeviceRedundancyGroupsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceRedundancyGroupsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceRedundancyGroupsBulkPartialUpdateRequestWithBody generates requests for DcimDeviceRedundancyGroupsBulkPartialUpdate with any type of body +func NewDcimDeviceRedundancyGroupsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-redundancy-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimDeviceRedundancyGroupsCreateRequest calls the generic DcimDeviceRedundancyGroupsCreate builder with application/json body +func NewDcimDeviceRedundancyGroupsCreateRequest(server string, body DcimDeviceRedundancyGroupsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceRedundancyGroupsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceRedundancyGroupsCreateRequestWithBody generates requests for DcimDeviceRedundancyGroupsCreate with any type of body +func NewDcimDeviceRedundancyGroupsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-redundancy-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimDeviceRedundancyGroupsBulkUpdateRequest calls the generic DcimDeviceRedundancyGroupsBulkUpdate builder with application/json body +func NewDcimDeviceRedundancyGroupsBulkUpdateRequest(server string, body DcimDeviceRedundancyGroupsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceRedundancyGroupsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceRedundancyGroupsBulkUpdateRequestWithBody generates requests for DcimDeviceRedundancyGroupsBulkUpdate with any type of body +func NewDcimDeviceRedundancyGroupsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-redundancy-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimDeviceRedundancyGroupsDestroyRequest generates requests for DcimDeviceRedundancyGroupsDestroy +func NewDcimDeviceRedundancyGroupsDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-redundancy-groups/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimDeviceRedundancyGroupsRetrieveRequest generates requests for DcimDeviceRedundancyGroupsRetrieve +func NewDcimDeviceRedundancyGroupsRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-redundancy-groups/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimDeviceRedundancyGroupsPartialUpdateRequest calls the generic DcimDeviceRedundancyGroupsPartialUpdate builder with application/json body +func NewDcimDeviceRedundancyGroupsPartialUpdateRequest(server string, id openapi_types.UUID, body DcimDeviceRedundancyGroupsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceRedundancyGroupsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimDeviceRedundancyGroupsPartialUpdateRequestWithBody generates requests for DcimDeviceRedundancyGroupsPartialUpdate with any type of body +func NewDcimDeviceRedundancyGroupsPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-redundancy-groups/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimDeviceRedundancyGroupsUpdateRequest calls the generic DcimDeviceRedundancyGroupsUpdate builder with application/json body +func NewDcimDeviceRedundancyGroupsUpdateRequest(server string, id openapi_types.UUID, body DcimDeviceRedundancyGroupsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceRedundancyGroupsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimDeviceRedundancyGroupsUpdateRequestWithBody generates requests for DcimDeviceRedundancyGroupsUpdate with any type of body +func NewDcimDeviceRedundancyGroupsUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-redundancy-groups/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimDeviceRedundancyGroupsNotesListRequest generates requests for DcimDeviceRedundancyGroupsNotesList +func NewDcimDeviceRedundancyGroupsNotesListRequest(server string, id openapi_types.UUID, params *DcimDeviceRedundancyGroupsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-redundancy-groups/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimDeviceRedundancyGroupsNotesCreateRequest calls the generic DcimDeviceRedundancyGroupsNotesCreate builder with application/json body +func NewDcimDeviceRedundancyGroupsNotesCreateRequest(server string, id openapi_types.UUID, body DcimDeviceRedundancyGroupsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceRedundancyGroupsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimDeviceRedundancyGroupsNotesCreateRequestWithBody generates requests for DcimDeviceRedundancyGroupsNotesCreate with any type of body +func NewDcimDeviceRedundancyGroupsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-redundancy-groups/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimDeviceRolesBulkDestroyRequest calls the generic DcimDeviceRolesBulkDestroy builder with application/json body +func NewDcimDeviceRolesBulkDestroyRequest(server string, body DcimDeviceRolesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceRolesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceRolesBulkDestroyRequestWithBody generates requests for DcimDeviceRolesBulkDestroy with any type of body +func NewDcimDeviceRolesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -36940,11 +54752,13 @@ func NewDcimDeviceRolesBulkDestroyRequest(server string) (*http.Request, error) return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -37241,6 +55055,294 @@ func NewDcimDeviceRolesListRequest(server string, params *DcimDeviceRolesListPar } + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Devices != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devices", runtime.ParamLocationQuery, *params.Devices); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DevicesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devices__n", runtime.ParamLocationQuery, *params.DevicesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasDevices != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_devices", runtime.ParamLocationQuery, *params.HasDevices); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasVirtualMachines != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_virtual_machines", runtime.ParamLocationQuery, *params.HasVirtualMachines); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -38009,6 +56111,38 @@ func NewDcimDeviceRolesListRequest(server string, params *DcimDeviceRolesListPar } + if params.VirtualMachines != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_machines", runtime.ParamLocationQuery, *params.VirtualMachines); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualMachinesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_machines__n", runtime.ParamLocationQuery, *params.VirtualMachinesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.VmRole != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vm_role", runtime.ParamLocationQuery, *params.VmRole); err != nil { @@ -38317,8 +56451,136 @@ func NewDcimDeviceRolesUpdateRequestWithBody(server string, id openapi_types.UUI return req, nil } -// NewDcimDeviceTypesBulkDestroyRequest generates requests for DcimDeviceTypesBulkDestroy -func NewDcimDeviceTypesBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimDeviceRolesNotesListRequest generates requests for DcimDeviceRolesNotesList +func NewDcimDeviceRolesNotesListRequest(server string, id openapi_types.UUID, params *DcimDeviceRolesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-roles/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimDeviceRolesNotesCreateRequest calls the generic DcimDeviceRolesNotesCreate builder with application/json body +func NewDcimDeviceRolesNotesCreateRequest(server string, id openapi_types.UUID, body DcimDeviceRolesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceRolesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimDeviceRolesNotesCreateRequestWithBody generates requests for DcimDeviceRolesNotesCreate with any type of body +func NewDcimDeviceRolesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-roles/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimDeviceTypesBulkDestroyRequest calls the generic DcimDeviceTypesBulkDestroy builder with application/json body +func NewDcimDeviceTypesBulkDestroyRequest(server string, body DcimDeviceTypesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceTypesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDeviceTypesBulkDestroyRequestWithBody generates requests for DcimDeviceTypesBulkDestroy with any type of body +func NewDcimDeviceTypesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -38336,11 +56598,13 @@ func NewDcimDeviceTypesBulkDestroyRequest(server string) (*http.Request, error) return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -38365,6 +56629,262 @@ func NewDcimDeviceTypesListRequest(server string, params *DcimDeviceTypesListPar queryValues := queryURL.Query() + if params.Comments != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments", runtime.ParamLocationQuery, *params.Comments); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ic", runtime.ParamLocationQuery, *params.CommentsIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ie", runtime.ParamLocationQuery, *params.CommentsIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__iew", runtime.ParamLocationQuery, *params.CommentsIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ire", runtime.ParamLocationQuery, *params.CommentsIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__isw", runtime.ParamLocationQuery, *params.CommentsIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__n", runtime.ParamLocationQuery, *params.CommentsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nic", runtime.ParamLocationQuery, *params.CommentsNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nie", runtime.ParamLocationQuery, *params.CommentsNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__niew", runtime.ParamLocationQuery, *params.CommentsNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nire", runtime.ParamLocationQuery, *params.CommentsNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nisw", runtime.ParamLocationQuery, *params.CommentsNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nre", runtime.ParamLocationQuery, *params.CommentsNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__re", runtime.ParamLocationQuery, *params.CommentsRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ConsolePortTemplates != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "console_port_templates", runtime.ParamLocationQuery, *params.ConsolePortTemplates); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ConsolePortTemplatesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "console_port_templates__n", runtime.ParamLocationQuery, *params.ConsolePortTemplatesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.ConsolePorts != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "console_ports", runtime.ParamLocationQuery, *params.ConsolePorts); err != nil { @@ -38381,6 +56901,38 @@ func NewDcimDeviceTypesListRequest(server string, params *DcimDeviceTypesListPar } + if params.ConsoleServerPortTemplates != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "console_server_port_templates", runtime.ParamLocationQuery, *params.ConsoleServerPortTemplates); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ConsoleServerPortTemplatesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "console_server_port_templates__n", runtime.ParamLocationQuery, *params.ConsoleServerPortTemplatesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.ConsoleServerPorts != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "console_server_ports", runtime.ParamLocationQuery, *params.ConsoleServerPorts); err != nil { @@ -38445,6 +56997,38 @@ func NewDcimDeviceTypesListRequest(server string, params *DcimDeviceTypesListPar } + if params.DeviceBayTemplates != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_bay_templates", runtime.ParamLocationQuery, *params.DeviceBayTemplates); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceBayTemplatesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_bay_templates__n", runtime.ParamLocationQuery, *params.DeviceBayTemplatesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DeviceBays != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_bays", runtime.ParamLocationQuery, *params.DeviceBays); err != nil { @@ -38461,6 +57045,182 @@ func NewDcimDeviceTypesListRequest(server string, params *DcimDeviceTypesListPar } + if params.FrontPortTemplates != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "front_port_templates", runtime.ParamLocationQuery, *params.FrontPortTemplates); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FrontPortTemplatesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "front_port_templates__n", runtime.ParamLocationQuery, *params.FrontPortTemplatesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasConsolePortTemplates != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_console_port_templates", runtime.ParamLocationQuery, *params.HasConsolePortTemplates); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasConsoleServerPortTemplates != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_console_server_port_templates", runtime.ParamLocationQuery, *params.HasConsoleServerPortTemplates); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasDeviceBayTemplates != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_device_bay_templates", runtime.ParamLocationQuery, *params.HasDeviceBayTemplates); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasFrontPortTemplates != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_front_port_templates", runtime.ParamLocationQuery, *params.HasFrontPortTemplates); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasInstances != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_instances", runtime.ParamLocationQuery, *params.HasInstances); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasInterfaceTemplates != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_interface_templates", runtime.ParamLocationQuery, *params.HasInterfaceTemplates); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasPowerOutletTemplates != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_power_outlet_templates", runtime.ParamLocationQuery, *params.HasPowerOutletTemplates); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasPowerPortTemplates != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_power_port_templates", runtime.ParamLocationQuery, *params.HasPowerPortTemplates); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasRearPortTemplates != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_rear_port_templates", runtime.ParamLocationQuery, *params.HasRearPortTemplates); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -38685,6 +57445,70 @@ func NewDcimDeviceTypesListRequest(server string, params *DcimDeviceTypesListPar } + if params.Instances != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "instances", runtime.ParamLocationQuery, *params.Instances); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InstancesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "instances__n", runtime.ParamLocationQuery, *params.InstancesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceTemplates != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_templates", runtime.ParamLocationQuery, *params.InterfaceTemplates); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfaceTemplatesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interface_templates__n", runtime.ParamLocationQuery, *params.InterfaceTemplatesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Interfaces != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interfaces", runtime.ParamLocationQuery, *params.Interfaces); err != nil { @@ -39325,6 +58149,38 @@ func NewDcimDeviceTypesListRequest(server string, params *DcimDeviceTypesListPar } + if params.PowerOutletTemplates != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_outlet_templates", runtime.ParamLocationQuery, *params.PowerOutletTemplates); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PowerOutletTemplatesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_outlet_templates__n", runtime.ParamLocationQuery, *params.PowerOutletTemplatesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.PowerOutlets != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_outlets", runtime.ParamLocationQuery, *params.PowerOutlets); err != nil { @@ -39341,6 +58197,38 @@ func NewDcimDeviceTypesListRequest(server string, params *DcimDeviceTypesListPar } + if params.PowerPortTemplates != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_port_templates", runtime.ParamLocationQuery, *params.PowerPortTemplates); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PowerPortTemplatesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_port_templates__n", runtime.ParamLocationQuery, *params.PowerPortTemplatesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.PowerPorts != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_ports", runtime.ParamLocationQuery, *params.PowerPorts); err != nil { @@ -39373,6 +58261,38 @@ func NewDcimDeviceTypesListRequest(server string, params *DcimDeviceTypesListPar } + if params.RearPortTemplates != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rear_port_templates", runtime.ParamLocationQuery, *params.RearPortTemplates); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RearPortTemplatesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rear_port_templates__n", runtime.ParamLocationQuery, *params.RearPortTemplatesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Slug != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug", runtime.ParamLocationQuery, *params.Slug); err != nil { @@ -40049,8 +58969,136 @@ func NewDcimDeviceTypesUpdateRequestWithBody(server string, id openapi_types.UUI return req, nil } -// NewDcimDevicesBulkDestroyRequest generates requests for DcimDevicesBulkDestroy -func NewDcimDevicesBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimDeviceTypesNotesListRequest generates requests for DcimDeviceTypesNotesList +func NewDcimDeviceTypesNotesListRequest(server string, id openapi_types.UUID, params *DcimDeviceTypesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-types/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimDeviceTypesNotesCreateRequest calls the generic DcimDeviceTypesNotesCreate builder with application/json body +func NewDcimDeviceTypesNotesCreateRequest(server string, id openapi_types.UUID, body DcimDeviceTypesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDeviceTypesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimDeviceTypesNotesCreateRequestWithBody generates requests for DcimDeviceTypesNotesCreate with any type of body +func NewDcimDeviceTypesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/device-types/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimDevicesBulkDestroyRequest calls the generic DcimDevicesBulkDestroy builder with application/json body +func NewDcimDevicesBulkDestroyRequest(server string, body DcimDevicesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDevicesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimDevicesBulkDestroyRequestWithBody generates requests for DcimDevicesBulkDestroy with any type of body +func NewDcimDevicesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -40068,11 +59116,13 @@ func NewDcimDevicesBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -40449,6 +59499,134 @@ func NewDcimDevicesListRequest(server string, params *DcimDevicesListParams) (*h } + if params.DeviceRedundancyGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_redundancy_group", runtime.ParamLocationQuery, *params.DeviceRedundancyGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRedundancyGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_redundancy_group__n", runtime.ParamLocationQuery, *params.DeviceRedundancyGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRedundancyGroupPriority != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_redundancy_group_priority", runtime.ParamLocationQuery, *params.DeviceRedundancyGroupPriority); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRedundancyGroupPriorityGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_redundancy_group_priority__gt", runtime.ParamLocationQuery, *params.DeviceRedundancyGroupPriorityGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRedundancyGroupPriorityGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_redundancy_group_priority__gte", runtime.ParamLocationQuery, *params.DeviceRedundancyGroupPriorityGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRedundancyGroupPriorityLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_redundancy_group_priority__lt", runtime.ParamLocationQuery, *params.DeviceRedundancyGroupPriorityLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRedundancyGroupPriorityLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_redundancy_group_priority__lte", runtime.ParamLocationQuery, *params.DeviceRedundancyGroupPriorityLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRedundancyGroupPriorityN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_redundancy_group_priority__n", runtime.ParamLocationQuery, *params.DeviceRedundancyGroupPriorityN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DeviceTypeId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type_id", runtime.ParamLocationQuery, *params.DeviceTypeId); err != nil { @@ -41073,6 +60251,38 @@ func NewDcimDevicesListRequest(server string, params *DcimDevicesListParams) (*h } + if params.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.MacAddress != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address", runtime.ParamLocationQuery, *params.MacAddress); err != nil { @@ -42967,8 +62177,136 @@ func NewDcimDevicesNapalmRetrieveRequest(server string, id openapi_types.UUID, p return req, nil } -// NewDcimFrontPortTemplatesBulkDestroyRequest generates requests for DcimFrontPortTemplatesBulkDestroy -func NewDcimFrontPortTemplatesBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimDevicesNotesListRequest generates requests for DcimDevicesNotesList +func NewDcimDevicesNotesListRequest(server string, id openapi_types.UUID, params *DcimDevicesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/devices/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimDevicesNotesCreateRequest calls the generic DcimDevicesNotesCreate builder with application/json body +func NewDcimDevicesNotesCreateRequest(server string, id openapi_types.UUID, body DcimDevicesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimDevicesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimDevicesNotesCreateRequestWithBody generates requests for DcimDevicesNotesCreate with any type of body +func NewDcimDevicesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/devices/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimFrontPortTemplatesBulkDestroyRequest calls the generic DcimFrontPortTemplatesBulkDestroy builder with application/json body +func NewDcimFrontPortTemplatesBulkDestroyRequest(server string, body DcimFrontPortTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimFrontPortTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimFrontPortTemplatesBulkDestroyRequestWithBody generates requests for DcimFrontPortTemplatesBulkDestroy with any type of body +func NewDcimFrontPortTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -42986,11 +62324,13 @@ func NewDcimFrontPortTemplatesBulkDestroyRequest(server string) (*http.Request, return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -43015,6 +62355,262 @@ func NewDcimFrontPortTemplatesListRequest(server string, params *DcimFrontPortTe queryValues := queryURL.Query() + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type", runtime.ParamLocationQuery, *params.DeviceType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type__n", runtime.ParamLocationQuery, *params.DeviceTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DevicetypeId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_id", runtime.ParamLocationQuery, *params.DevicetypeId); err != nil { @@ -43271,6 +62867,230 @@ func NewDcimFrontPortTemplatesListRequest(server string, params *DcimFrontPortTe } + if params.Label != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label", runtime.ParamLocationQuery, *params.Label); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ic", runtime.ParamLocationQuery, *params.LabelIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ie", runtime.ParamLocationQuery, *params.LabelIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__iew", runtime.ParamLocationQuery, *params.LabelIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ire", runtime.ParamLocationQuery, *params.LabelIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__isw", runtime.ParamLocationQuery, *params.LabelIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__n", runtime.ParamLocationQuery, *params.LabelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nic", runtime.ParamLocationQuery, *params.LabelNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nie", runtime.ParamLocationQuery, *params.LabelNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__niew", runtime.ParamLocationQuery, *params.LabelNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nire", runtime.ParamLocationQuery, *params.LabelNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nisw", runtime.ParamLocationQuery, *params.LabelNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nre", runtime.ParamLocationQuery, *params.LabelNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__re", runtime.ParamLocationQuery, *params.LabelRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -43543,6 +63363,134 @@ func NewDcimFrontPortTemplatesListRequest(server string, params *DcimFrontPortTe } + if params.RearPortPosition != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rear_port_position", runtime.ParamLocationQuery, *params.RearPortPosition); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RearPortPositionGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rear_port_position__gt", runtime.ParamLocationQuery, *params.RearPortPositionGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RearPortPositionGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rear_port_position__gte", runtime.ParamLocationQuery, *params.RearPortPositionGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RearPortPositionLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rear_port_position__lt", runtime.ParamLocationQuery, *params.RearPortPositionLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RearPortPositionLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rear_port_position__lte", runtime.ParamLocationQuery, *params.RearPortPositionLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RearPortPositionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rear_port_position__n", runtime.ParamLocationQuery, *params.RearPortPositionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RearPortTemplate != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rear_port_template", runtime.ParamLocationQuery, *params.RearPortTemplate); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RearPortTemplateN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rear_port_template__n", runtime.ParamLocationQuery, *params.RearPortTemplateN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Type != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { @@ -43867,8 +63815,136 @@ func NewDcimFrontPortTemplatesUpdateRequestWithBody(server string, id openapi_ty return req, nil } -// NewDcimFrontPortsBulkDestroyRequest generates requests for DcimFrontPortsBulkDestroy -func NewDcimFrontPortsBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimFrontPortTemplatesNotesListRequest generates requests for DcimFrontPortTemplatesNotesList +func NewDcimFrontPortTemplatesNotesListRequest(server string, id openapi_types.UUID, params *DcimFrontPortTemplatesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/front-port-templates/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimFrontPortTemplatesNotesCreateRequest calls the generic DcimFrontPortTemplatesNotesCreate builder with application/json body +func NewDcimFrontPortTemplatesNotesCreateRequest(server string, id openapi_types.UUID, body DcimFrontPortTemplatesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimFrontPortTemplatesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimFrontPortTemplatesNotesCreateRequestWithBody generates requests for DcimFrontPortTemplatesNotesCreate with any type of body +func NewDcimFrontPortTemplatesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/front-port-templates/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimFrontPortsBulkDestroyRequest calls the generic DcimFrontPortsBulkDestroy builder with application/json body +func NewDcimFrontPortsBulkDestroyRequest(server string, body DcimFrontPortsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimFrontPortsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimFrontPortsBulkDestroyRequestWithBody generates requests for DcimFrontPortsBulkDestroy with any type of body +func NewDcimFrontPortsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -43886,11 +63962,13 @@ func NewDcimFrontPortsBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -43915,6 +63993,38 @@ func NewDcimFrontPortsListRequest(server string, params *DcimFrontPortsListParam queryValues := queryURL.Query() + if params.Cable != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable", runtime.ParamLocationQuery, *params.Cable); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable__n", runtime.ParamLocationQuery, *params.CableN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Cabled != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cabled", runtime.ParamLocationQuery, *params.Cabled); err != nil { @@ -44443,6 +64553,230 @@ func NewDcimFrontPortsListRequest(server string, params *DcimFrontPortsListParam } + if params.Label != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label", runtime.ParamLocationQuery, *params.Label); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ic", runtime.ParamLocationQuery, *params.LabelIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ie", runtime.ParamLocationQuery, *params.LabelIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__iew", runtime.ParamLocationQuery, *params.LabelIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ire", runtime.ParamLocationQuery, *params.LabelIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__isw", runtime.ParamLocationQuery, *params.LabelIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__n", runtime.ParamLocationQuery, *params.LabelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nic", runtime.ParamLocationQuery, *params.LabelNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nie", runtime.ParamLocationQuery, *params.LabelNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__niew", runtime.ParamLocationQuery, *params.LabelNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nire", runtime.ParamLocationQuery, *params.LabelNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nisw", runtime.ParamLocationQuery, *params.LabelNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nre", runtime.ParamLocationQuery, *params.LabelNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__re", runtime.ParamLocationQuery, *params.LabelRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -44715,6 +65049,134 @@ func NewDcimFrontPortsListRequest(server string, params *DcimFrontPortsListParam } + if params.RearPort != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rear_port", runtime.ParamLocationQuery, *params.RearPort); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RearPortN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rear_port__n", runtime.ParamLocationQuery, *params.RearPortN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RearPortPosition != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rear_port_position", runtime.ParamLocationQuery, *params.RearPortPosition); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RearPortPositionGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rear_port_position__gt", runtime.ParamLocationQuery, *params.RearPortPositionGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RearPortPositionGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rear_port_position__gte", runtime.ParamLocationQuery, *params.RearPortPositionGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RearPortPositionLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rear_port_position__lt", runtime.ParamLocationQuery, *params.RearPortPositionLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RearPortPositionLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rear_port_position__lte", runtime.ParamLocationQuery, *params.RearPortPositionLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RearPortPositionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rear_port_position__n", runtime.ParamLocationQuery, *params.RearPortPositionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Region != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "region", runtime.ParamLocationQuery, *params.Region); err != nil { @@ -45199,6 +65661,123 @@ func NewDcimFrontPortsUpdateRequestWithBody(server string, id openapi_types.UUID return req, nil } +// NewDcimFrontPortsNotesListRequest generates requests for DcimFrontPortsNotesList +func NewDcimFrontPortsNotesListRequest(server string, id openapi_types.UUID, params *DcimFrontPortsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/front-ports/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimFrontPortsNotesCreateRequest calls the generic DcimFrontPortsNotesCreate builder with application/json body +func NewDcimFrontPortsNotesCreateRequest(server string, id openapi_types.UUID, body DcimFrontPortsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimFrontPortsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimFrontPortsNotesCreateRequestWithBody generates requests for DcimFrontPortsNotesCreate with any type of body +func NewDcimFrontPortsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/front-ports/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewDcimFrontPortsPathsRetrieveRequest generates requests for DcimFrontPortsPathsRetrieve func NewDcimFrontPortsPathsRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { var err error @@ -45286,6 +65865,230 @@ func NewDcimInterfaceConnectionsListRequest(server string, params *DcimInterface } + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -45344,8 +66147,19 @@ func NewDcimInterfaceConnectionsListRequest(server string, params *DcimInterface return req, nil } -// NewDcimInterfaceTemplatesBulkDestroyRequest generates requests for DcimInterfaceTemplatesBulkDestroy -func NewDcimInterfaceTemplatesBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimInterfaceTemplatesBulkDestroyRequest calls the generic DcimInterfaceTemplatesBulkDestroy builder with application/json body +func NewDcimInterfaceTemplatesBulkDestroyRequest(server string, body DcimInterfaceTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInterfaceTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInterfaceTemplatesBulkDestroyRequestWithBody generates requests for DcimInterfaceTemplatesBulkDestroy with any type of body +func NewDcimInterfaceTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -45363,11 +66177,13 @@ func NewDcimInterfaceTemplatesBulkDestroyRequest(server string) (*http.Request, return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -45392,6 +66208,262 @@ func NewDcimInterfaceTemplatesListRequest(server string, params *DcimInterfaceTe queryValues := queryURL.Query() + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type", runtime.ParamLocationQuery, *params.DeviceType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type__n", runtime.ParamLocationQuery, *params.DeviceTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DevicetypeId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_id", runtime.ParamLocationQuery, *params.DevicetypeId); err != nil { @@ -45648,6 +66720,230 @@ func NewDcimInterfaceTemplatesListRequest(server string, params *DcimInterfaceTe } + if params.Label != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label", runtime.ParamLocationQuery, *params.Label); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ic", runtime.ParamLocationQuery, *params.LabelIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ie", runtime.ParamLocationQuery, *params.LabelIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__iew", runtime.ParamLocationQuery, *params.LabelIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ire", runtime.ParamLocationQuery, *params.LabelIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__isw", runtime.ParamLocationQuery, *params.LabelIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__n", runtime.ParamLocationQuery, *params.LabelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nic", runtime.ParamLocationQuery, *params.LabelNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nie", runtime.ParamLocationQuery, *params.LabelNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__niew", runtime.ParamLocationQuery, *params.LabelNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nire", runtime.ParamLocationQuery, *params.LabelNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nisw", runtime.ParamLocationQuery, *params.LabelNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nre", runtime.ParamLocationQuery, *params.LabelNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__re", runtime.ParamLocationQuery, *params.LabelRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -46260,8 +67556,136 @@ func NewDcimInterfaceTemplatesUpdateRequestWithBody(server string, id openapi_ty return req, nil } -// NewDcimInterfacesBulkDestroyRequest generates requests for DcimInterfacesBulkDestroy -func NewDcimInterfacesBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimInterfaceTemplatesNotesListRequest generates requests for DcimInterfaceTemplatesNotesList +func NewDcimInterfaceTemplatesNotesListRequest(server string, id openapi_types.UUID, params *DcimInterfaceTemplatesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/interface-templates/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimInterfaceTemplatesNotesCreateRequest calls the generic DcimInterfaceTemplatesNotesCreate builder with application/json body +func NewDcimInterfaceTemplatesNotesCreateRequest(server string, id openapi_types.UUID, body DcimInterfaceTemplatesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInterfaceTemplatesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimInterfaceTemplatesNotesCreateRequestWithBody generates requests for DcimInterfaceTemplatesNotesCreate with any type of body +func NewDcimInterfaceTemplatesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/interface-templates/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimInterfacesBulkDestroyRequest calls the generic DcimInterfacesBulkDestroy builder with application/json body +func NewDcimInterfacesBulkDestroyRequest(server string, body DcimInterfacesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInterfacesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInterfacesBulkDestroyRequestWithBody generates requests for DcimInterfacesBulkDestroy with any type of body +func NewDcimInterfacesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -46279,11 +67703,13 @@ func NewDcimInterfacesBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -46308,6 +67734,102 @@ func NewDcimInterfacesListRequest(server string, params *DcimInterfacesListParam queryValues := queryURL.Query() + if params.Bridge != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "bridge", runtime.ParamLocationQuery, *params.Bridge); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BridgeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "bridge__n", runtime.ParamLocationQuery, *params.BridgeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BridgedInterfaces != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "bridged_interfaces", runtime.ParamLocationQuery, *params.BridgedInterfaces); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BridgedInterfacesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "bridged_interfaces__n", runtime.ParamLocationQuery, *params.BridgedInterfacesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Cable != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable", runtime.ParamLocationQuery, *params.Cable); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable__n", runtime.ParamLocationQuery, *params.CableN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Cabled != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cabled", runtime.ParamLocationQuery, *params.Cabled); err != nil { @@ -46324,6 +67846,38 @@ func NewDcimInterfacesListRequest(server string, params *DcimInterfacesListParam } + if params.ChildInterfaces != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "child_interfaces", runtime.ParamLocationQuery, *params.ChildInterfaces); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChildInterfacesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "child_interfaces__n", runtime.ParamLocationQuery, *params.ChildInterfacesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Connected != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "connected", runtime.ParamLocationQuery, *params.Connected); err != nil { @@ -46596,6 +68150,22 @@ func NewDcimInterfacesListRequest(server string, params *DcimInterfacesListParam } + if params.DeviceWithCommonVc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_with_common_vc", runtime.ParamLocationQuery, *params.DeviceWithCommonVc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Enabled != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "enabled", runtime.ParamLocationQuery, *params.Enabled); err != nil { @@ -46612,6 +68182,70 @@ func NewDcimInterfacesListRequest(server string, params *DcimInterfacesListParam } + if params.HasBridgedInterfaces != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_bridged_interfaces", runtime.ParamLocationQuery, *params.HasBridgedInterfaces); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasChildInterfaces != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_child_interfaces", runtime.ParamLocationQuery, *params.HasChildInterfaces); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasMemberInterfaces != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_member_interfaces", runtime.ParamLocationQuery, *params.HasMemberInterfaces); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasTaggedVlans != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_tagged_vlans", runtime.ParamLocationQuery, *params.HasTaggedVlans); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -46852,6 +68486,262 @@ func NewDcimInterfacesListRequest(server string, params *DcimInterfacesListParam } + if params.Label != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label", runtime.ParamLocationQuery, *params.Label); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ic", runtime.ParamLocationQuery, *params.LabelIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ie", runtime.ParamLocationQuery, *params.LabelIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__iew", runtime.ParamLocationQuery, *params.LabelIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ire", runtime.ParamLocationQuery, *params.LabelIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__isw", runtime.ParamLocationQuery, *params.LabelIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__n", runtime.ParamLocationQuery, *params.LabelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nic", runtime.ParamLocationQuery, *params.LabelNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nie", runtime.ParamLocationQuery, *params.LabelNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__niew", runtime.ParamLocationQuery, *params.LabelNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nire", runtime.ParamLocationQuery, *params.LabelNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nisw", runtime.ParamLocationQuery, *params.LabelNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nre", runtime.ParamLocationQuery, *params.LabelNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__re", runtime.ParamLocationQuery, *params.LabelRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Lag != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "lag", runtime.ParamLocationQuery, *params.Lag); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LagN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "lag__n", runtime.ParamLocationQuery, *params.LagN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.LagId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "lag_id", runtime.ParamLocationQuery, *params.LagId); err != nil { @@ -47124,6 +69014,38 @@ func NewDcimInterfacesListRequest(server string, params *DcimInterfacesListParam } + if params.MemberInterfaces != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "member_interfaces", runtime.ParamLocationQuery, *params.MemberInterfaces); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MemberInterfacesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "member_interfaces__n", runtime.ParamLocationQuery, *params.MemberInterfacesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.MgmtOnly != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mgmt_only", runtime.ParamLocationQuery, *params.MgmtOnly); err != nil { @@ -47492,6 +69414,230 @@ func NewDcimInterfacesListRequest(server string, params *DcimInterfacesListParam } + if params.NautobotBgpModelsInterfacesBgpRoutingInstance != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_interfaces_bgp_routing_instance", runtime.ParamLocationQuery, *params.NautobotBgpModelsInterfacesBgpRoutingInstance); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsInterfacesBgpRoutingInstanceIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_interfaces_bgp_routing_instance__ic", runtime.ParamLocationQuery, *params.NautobotBgpModelsInterfacesBgpRoutingInstanceIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsInterfacesBgpRoutingInstanceIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_interfaces_bgp_routing_instance__ie", runtime.ParamLocationQuery, *params.NautobotBgpModelsInterfacesBgpRoutingInstanceIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsInterfacesBgpRoutingInstanceIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_interfaces_bgp_routing_instance__iew", runtime.ParamLocationQuery, *params.NautobotBgpModelsInterfacesBgpRoutingInstanceIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsInterfacesBgpRoutingInstanceIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_interfaces_bgp_routing_instance__ire", runtime.ParamLocationQuery, *params.NautobotBgpModelsInterfacesBgpRoutingInstanceIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsInterfacesBgpRoutingInstanceIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_interfaces_bgp_routing_instance__isw", runtime.ParamLocationQuery, *params.NautobotBgpModelsInterfacesBgpRoutingInstanceIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsInterfacesBgpRoutingInstanceN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_interfaces_bgp_routing_instance__n", runtime.ParamLocationQuery, *params.NautobotBgpModelsInterfacesBgpRoutingInstanceN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsInterfacesBgpRoutingInstanceNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_interfaces_bgp_routing_instance__nic", runtime.ParamLocationQuery, *params.NautobotBgpModelsInterfacesBgpRoutingInstanceNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsInterfacesBgpRoutingInstanceNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_interfaces_bgp_routing_instance__nie", runtime.ParamLocationQuery, *params.NautobotBgpModelsInterfacesBgpRoutingInstanceNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsInterfacesBgpRoutingInstanceNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_interfaces_bgp_routing_instance__niew", runtime.ParamLocationQuery, *params.NautobotBgpModelsInterfacesBgpRoutingInstanceNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsInterfacesBgpRoutingInstanceNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_interfaces_bgp_routing_instance__nire", runtime.ParamLocationQuery, *params.NautobotBgpModelsInterfacesBgpRoutingInstanceNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsInterfacesBgpRoutingInstanceNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_interfaces_bgp_routing_instance__nisw", runtime.ParamLocationQuery, *params.NautobotBgpModelsInterfacesBgpRoutingInstanceNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsInterfacesBgpRoutingInstanceNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_interfaces_bgp_routing_instance__nre", runtime.ParamLocationQuery, *params.NautobotBgpModelsInterfacesBgpRoutingInstanceNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsInterfacesBgpRoutingInstanceRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_interfaces_bgp_routing_instance__re", runtime.ParamLocationQuery, *params.NautobotBgpModelsInterfacesBgpRoutingInstanceRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { @@ -47508,6 +69654,38 @@ func NewDcimInterfacesListRequest(server string, params *DcimInterfacesListParam } + if params.ParentInterface != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent_interface", runtime.ParamLocationQuery, *params.ParentInterface); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ParentInterfaceN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent_interface__n", runtime.ParamLocationQuery, *params.ParentInterfaceN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Q != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { @@ -47652,6 +69830,38 @@ func NewDcimInterfacesListRequest(server string, params *DcimInterfacesListParam } + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Tag != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag", runtime.ParamLocationQuery, *params.Tag); err != nil { @@ -47684,6 +69894,38 @@ func NewDcimInterfacesListRequest(server string, params *DcimInterfacesListParam } + if params.TaggedVlans != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tagged_vlans", runtime.ParamLocationQuery, *params.TaggedVlans); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TaggedVlansN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tagged_vlans__n", runtime.ParamLocationQuery, *params.TaggedVlansN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Type != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type", runtime.ParamLocationQuery, *params.Type); err != nil { @@ -47716,6 +69958,38 @@ func NewDcimInterfacesListRequest(server string, params *DcimInterfacesListParam } + if params.UntaggedVlan != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "untagged_vlan", runtime.ParamLocationQuery, *params.UntaggedVlan); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UntaggedVlanN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "untagged_vlan__n", runtime.ParamLocationQuery, *params.UntaggedVlanN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Vlan != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlan", runtime.ParamLocationQuery, *params.Vlan); err != nil { @@ -48040,6 +70314,123 @@ func NewDcimInterfacesUpdateRequestWithBody(server string, id openapi_types.UUID return req, nil } +// NewDcimInterfacesNotesListRequest generates requests for DcimInterfacesNotesList +func NewDcimInterfacesNotesListRequest(server string, id openapi_types.UUID, params *DcimInterfacesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/interfaces/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimInterfacesNotesCreateRequest calls the generic DcimInterfacesNotesCreate builder with application/json body +func NewDcimInterfacesNotesCreateRequest(server string, id openapi_types.UUID, body DcimInterfacesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInterfacesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimInterfacesNotesCreateRequestWithBody generates requests for DcimInterfacesNotesCreate with any type of body +func NewDcimInterfacesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/interfaces/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewDcimInterfacesTraceRetrieveRequest generates requests for DcimInterfacesTraceRetrieve func NewDcimInterfacesTraceRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { var err error @@ -48074,8 +70465,19 @@ func NewDcimInterfacesTraceRetrieveRequest(server string, id openapi_types.UUID) return req, nil } -// NewDcimInventoryItemsBulkDestroyRequest generates requests for DcimInventoryItemsBulkDestroy -func NewDcimInventoryItemsBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimInventoryItemsBulkDestroyRequest calls the generic DcimInventoryItemsBulkDestroy builder with application/json body +func NewDcimInventoryItemsBulkDestroyRequest(server string, body DcimInventoryItemsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInventoryItemsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimInventoryItemsBulkDestroyRequestWithBody generates requests for DcimInventoryItemsBulkDestroy with any type of body +func NewDcimInventoryItemsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -48093,11 +70495,13 @@ func NewDcimInventoryItemsBulkDestroyRequest(server string) (*http.Request, erro return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -48346,6 +70750,262 @@ func NewDcimInventoryItemsListRequest(server string, params *DcimInventoryItemsL } + if params.ChildItems != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "child_items", runtime.ParamLocationQuery, *params.ChildItems); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChildItemsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "child_items__n", runtime.ParamLocationQuery, *params.ChildItemsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Device != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device", runtime.ParamLocationQuery, *params.Device); err != nil { @@ -48426,6 +71086,22 @@ func NewDcimInventoryItemsListRequest(server string, params *DcimInventoryItemsL } + if params.HasChildItems != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_child_items", runtime.ParamLocationQuery, *params.HasChildItems); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -48650,6 +71326,230 @@ func NewDcimInventoryItemsListRequest(server string, params *DcimInventoryItemsL } + if params.Label != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label", runtime.ParamLocationQuery, *params.Label); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ic", runtime.ParamLocationQuery, *params.LabelIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ie", runtime.ParamLocationQuery, *params.LabelIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__iew", runtime.ParamLocationQuery, *params.LabelIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ire", runtime.ParamLocationQuery, *params.LabelIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__isw", runtime.ParamLocationQuery, *params.LabelIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__n", runtime.ParamLocationQuery, *params.LabelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nic", runtime.ParamLocationQuery, *params.LabelNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nie", runtime.ParamLocationQuery, *params.LabelNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__niew", runtime.ParamLocationQuery, *params.LabelNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nire", runtime.ParamLocationQuery, *params.LabelNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nisw", runtime.ParamLocationQuery, *params.LabelNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nre", runtime.ParamLocationQuery, *params.LabelNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__re", runtime.ParamLocationQuery, *params.LabelRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -48970,6 +71870,38 @@ func NewDcimInventoryItemsListRequest(server string, params *DcimInventoryItemsL } + if params.Parent != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent", runtime.ParamLocationQuery, *params.Parent); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ParentN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent__n", runtime.ParamLocationQuery, *params.ParentN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.ParentId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent_id", runtime.ParamLocationQuery, *params.ParentId); err != nil { @@ -49710,43 +72642,23 @@ func NewDcimInventoryItemsUpdateRequestWithBody(server string, id openapi_types. return req, nil } -// NewDcimManufacturersBulkDestroyRequest generates requests for DcimManufacturersBulkDestroy -func NewDcimManufacturersBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimInventoryItemsNotesListRequest generates requests for DcimInventoryItemsNotesList +func NewDcimInventoryItemsNotesListRequest(server string, id openapi_types.UUID, params *DcimInventoryItemsNotesListParams) (*http.Request, error) { var err error + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + serverURL, err := url.Parse(server) if err != nil { return nil, err } - operationPath := fmt.Sprintf("/dcim/manufacturers/") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewDcimManufacturersListRequest generates requests for DcimManufacturersList -func NewDcimManufacturersListRequest(server string, params *DcimManufacturersListParams) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/dcim/manufacturers/") + operationPath := fmt.Sprintf("/dcim/inventory-items/%s/notes/", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -49758,6 +72670,188 @@ func NewDcimManufacturersListRequest(server string, params *DcimManufacturersLis queryValues := queryURL.Query() + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimInventoryItemsNotesCreateRequest calls the generic DcimInventoryItemsNotesCreate builder with application/json body +func NewDcimInventoryItemsNotesCreateRequest(server string, id openapi_types.UUID, body DcimInventoryItemsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimInventoryItemsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimInventoryItemsNotesCreateRequestWithBody generates requests for DcimInventoryItemsNotesCreate with any type of body +func NewDcimInventoryItemsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/inventory-items/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimLocationTypesBulkDestroyRequest calls the generic DcimLocationTypesBulkDestroy builder with application/json body +func NewDcimLocationTypesBulkDestroyRequest(server string, body DcimLocationTypesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimLocationTypesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimLocationTypesBulkDestroyRequestWithBody generates requests for DcimLocationTypesBulkDestroy with any type of body +func NewDcimLocationTypesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/location-types/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimLocationTypesListRequest generates requests for DcimLocationTypesList +func NewDcimLocationTypesListRequest(server string, params *DcimLocationTypesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/location-types/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.ContentTypes != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types", runtime.ParamLocationQuery, *params.ContentTypes); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__n", runtime.ParamLocationQuery, *params.ContentTypesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Created != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { @@ -50542,6 +73636,22 @@ func NewDcimManufacturersListRequest(server string, params *DcimManufacturersLis } + if params.Nestable != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nestable", runtime.ParamLocationQuery, *params.Nestable); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { @@ -50558,6 +73668,3570 @@ func NewDcimManufacturersListRequest(server string, params *DcimManufacturersLis } + if params.Parent != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent", runtime.ParamLocationQuery, *params.Parent); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ParentN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent__n", runtime.ParamLocationQuery, *params.ParentN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Slug != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug", runtime.ParamLocationQuery, *params.Slug); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__ic", runtime.ParamLocationQuery, *params.SlugIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__ie", runtime.ParamLocationQuery, *params.SlugIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__iew", runtime.ParamLocationQuery, *params.SlugIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__ire", runtime.ParamLocationQuery, *params.SlugIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__isw", runtime.ParamLocationQuery, *params.SlugIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__n", runtime.ParamLocationQuery, *params.SlugN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nic", runtime.ParamLocationQuery, *params.SlugNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nie", runtime.ParamLocationQuery, *params.SlugNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__niew", runtime.ParamLocationQuery, *params.SlugNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nire", runtime.ParamLocationQuery, *params.SlugNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nisw", runtime.ParamLocationQuery, *params.SlugNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nre", runtime.ParamLocationQuery, *params.SlugNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__re", runtime.ParamLocationQuery, *params.SlugRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimLocationTypesBulkPartialUpdateRequest calls the generic DcimLocationTypesBulkPartialUpdate builder with application/json body +func NewDcimLocationTypesBulkPartialUpdateRequest(server string, body DcimLocationTypesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimLocationTypesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimLocationTypesBulkPartialUpdateRequestWithBody generates requests for DcimLocationTypesBulkPartialUpdate with any type of body +func NewDcimLocationTypesBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/location-types/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimLocationTypesCreateRequest calls the generic DcimLocationTypesCreate builder with application/json body +func NewDcimLocationTypesCreateRequest(server string, body DcimLocationTypesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimLocationTypesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimLocationTypesCreateRequestWithBody generates requests for DcimLocationTypesCreate with any type of body +func NewDcimLocationTypesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/location-types/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimLocationTypesBulkUpdateRequest calls the generic DcimLocationTypesBulkUpdate builder with application/json body +func NewDcimLocationTypesBulkUpdateRequest(server string, body DcimLocationTypesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimLocationTypesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimLocationTypesBulkUpdateRequestWithBody generates requests for DcimLocationTypesBulkUpdate with any type of body +func NewDcimLocationTypesBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/location-types/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimLocationTypesDestroyRequest generates requests for DcimLocationTypesDestroy +func NewDcimLocationTypesDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/location-types/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimLocationTypesRetrieveRequest generates requests for DcimLocationTypesRetrieve +func NewDcimLocationTypesRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/location-types/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimLocationTypesPartialUpdateRequest calls the generic DcimLocationTypesPartialUpdate builder with application/json body +func NewDcimLocationTypesPartialUpdateRequest(server string, id openapi_types.UUID, body DcimLocationTypesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimLocationTypesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimLocationTypesPartialUpdateRequestWithBody generates requests for DcimLocationTypesPartialUpdate with any type of body +func NewDcimLocationTypesPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/location-types/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimLocationTypesUpdateRequest calls the generic DcimLocationTypesUpdate builder with application/json body +func NewDcimLocationTypesUpdateRequest(server string, id openapi_types.UUID, body DcimLocationTypesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimLocationTypesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimLocationTypesUpdateRequestWithBody generates requests for DcimLocationTypesUpdate with any type of body +func NewDcimLocationTypesUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/location-types/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimLocationTypesNotesListRequest generates requests for DcimLocationTypesNotesList +func NewDcimLocationTypesNotesListRequest(server string, id openapi_types.UUID, params *DcimLocationTypesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/location-types/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimLocationTypesNotesCreateRequest calls the generic DcimLocationTypesNotesCreate builder with application/json body +func NewDcimLocationTypesNotesCreateRequest(server string, id openapi_types.UUID, body DcimLocationTypesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimLocationTypesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimLocationTypesNotesCreateRequestWithBody generates requests for DcimLocationTypesNotesCreate with any type of body +func NewDcimLocationTypesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/location-types/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimLocationsBulkDestroyRequest calls the generic DcimLocationsBulkDestroy builder with application/json body +func NewDcimLocationsBulkDestroyRequest(server string, body DcimLocationsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimLocationsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimLocationsBulkDestroyRequestWithBody generates requests for DcimLocationsBulkDestroy with any type of body +func NewDcimLocationsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/locations/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimLocationsListRequest generates requests for DcimLocationsList +func NewDcimLocationsListRequest(server string, params *DcimLocationsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/locations/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.BaseSite != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "base_site", runtime.ParamLocationQuery, *params.BaseSite); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChildLocationType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "child_location_type", runtime.ParamLocationQuery, *params.ChildLocationType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type", runtime.ParamLocationQuery, *params.ContentType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_type__n", runtime.ParamLocationQuery, *params.ContentTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_type", runtime.ParamLocationQuery, *params.LocationType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_type__n", runtime.ParamLocationQuery, *params.LocationTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Name != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Parent != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent", runtime.ParamLocationQuery, *params.Parent); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ParentN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent__n", runtime.ParamLocationQuery, *params.ParentN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Site != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site", runtime.ParamLocationQuery, *params.Site); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SiteN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site__n", runtime.ParamLocationQuery, *params.SiteN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Slug != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug", runtime.ParamLocationQuery, *params.Slug); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__ic", runtime.ParamLocationQuery, *params.SlugIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__ie", runtime.ParamLocationQuery, *params.SlugIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__iew", runtime.ParamLocationQuery, *params.SlugIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__ire", runtime.ParamLocationQuery, *params.SlugIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__isw", runtime.ParamLocationQuery, *params.SlugIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__n", runtime.ParamLocationQuery, *params.SlugN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nic", runtime.ParamLocationQuery, *params.SlugNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nie", runtime.ParamLocationQuery, *params.SlugNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__niew", runtime.ParamLocationQuery, *params.SlugNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nire", runtime.ParamLocationQuery, *params.SlugNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nisw", runtime.ParamLocationQuery, *params.SlugNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nre", runtime.ParamLocationQuery, *params.SlugNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__re", runtime.ParamLocationQuery, *params.SlugRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Subtree != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "subtree", runtime.ParamLocationQuery, *params.Subtree); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Tag != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag", runtime.ParamLocationQuery, *params.Tag); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TagN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag__n", runtime.ParamLocationQuery, *params.TagN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Tenant != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tenant", runtime.ParamLocationQuery, *params.Tenant); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TenantN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tenant__n", runtime.ParamLocationQuery, *params.TenantN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TenantGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tenant_group", runtime.ParamLocationQuery, *params.TenantGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TenantGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tenant_group__n", runtime.ParamLocationQuery, *params.TenantGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TenantGroupId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tenant_group_id", runtime.ParamLocationQuery, *params.TenantGroupId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TenantGroupIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tenant_group_id__n", runtime.ParamLocationQuery, *params.TenantGroupIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TenantId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tenant_id", runtime.ParamLocationQuery, *params.TenantId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TenantIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tenant_id__n", runtime.ParamLocationQuery, *params.TenantIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimLocationsBulkPartialUpdateRequest calls the generic DcimLocationsBulkPartialUpdate builder with application/json body +func NewDcimLocationsBulkPartialUpdateRequest(server string, body DcimLocationsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimLocationsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimLocationsBulkPartialUpdateRequestWithBody generates requests for DcimLocationsBulkPartialUpdate with any type of body +func NewDcimLocationsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/locations/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimLocationsCreateRequest calls the generic DcimLocationsCreate builder with application/json body +func NewDcimLocationsCreateRequest(server string, body DcimLocationsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimLocationsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimLocationsCreateRequestWithBody generates requests for DcimLocationsCreate with any type of body +func NewDcimLocationsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/locations/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimLocationsBulkUpdateRequest calls the generic DcimLocationsBulkUpdate builder with application/json body +func NewDcimLocationsBulkUpdateRequest(server string, body DcimLocationsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimLocationsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimLocationsBulkUpdateRequestWithBody generates requests for DcimLocationsBulkUpdate with any type of body +func NewDcimLocationsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/locations/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimLocationsDestroyRequest generates requests for DcimLocationsDestroy +func NewDcimLocationsDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/locations/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimLocationsRetrieveRequest generates requests for DcimLocationsRetrieve +func NewDcimLocationsRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/locations/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimLocationsPartialUpdateRequest calls the generic DcimLocationsPartialUpdate builder with application/json body +func NewDcimLocationsPartialUpdateRequest(server string, id openapi_types.UUID, body DcimLocationsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimLocationsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimLocationsPartialUpdateRequestWithBody generates requests for DcimLocationsPartialUpdate with any type of body +func NewDcimLocationsPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/locations/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimLocationsUpdateRequest calls the generic DcimLocationsUpdate builder with application/json body +func NewDcimLocationsUpdateRequest(server string, id openapi_types.UUID, body DcimLocationsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimLocationsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimLocationsUpdateRequestWithBody generates requests for DcimLocationsUpdate with any type of body +func NewDcimLocationsUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/locations/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimLocationsNotesListRequest generates requests for DcimLocationsNotesList +func NewDcimLocationsNotesListRequest(server string, id openapi_types.UUID, params *DcimLocationsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/locations/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimLocationsNotesCreateRequest calls the generic DcimLocationsNotesCreate builder with application/json body +func NewDcimLocationsNotesCreateRequest(server string, id openapi_types.UUID, body DcimLocationsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimLocationsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimLocationsNotesCreateRequestWithBody generates requests for DcimLocationsNotesCreate with any type of body +func NewDcimLocationsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/locations/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimManufacturersBulkDestroyRequest calls the generic DcimManufacturersBulkDestroy builder with application/json body +func NewDcimManufacturersBulkDestroyRequest(server string, body DcimManufacturersBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimManufacturersBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimManufacturersBulkDestroyRequestWithBody generates requests for DcimManufacturersBulkDestroy with any type of body +func NewDcimManufacturersBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/manufacturers/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimManufacturersListRequest generates requests for DcimManufacturersList +func NewDcimManufacturersListRequest(server string, params *DcimManufacturersListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/manufacturers/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceTypes != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_types", runtime.ParamLocationQuery, *params.DeviceTypes); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceTypesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_types__n", runtime.ParamLocationQuery, *params.DeviceTypesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasDeviceTypes != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_device_types", runtime.ParamLocationQuery, *params.HasDeviceTypes); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasInventoryItems != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_inventory_items", runtime.ParamLocationQuery, *params.HasInventoryItems); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasPlatforms != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_platforms", runtime.ParamLocationQuery, *params.HasPlatforms); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InventoryItems != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "inventory_items", runtime.ParamLocationQuery, *params.InventoryItems); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InventoryItemsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "inventory_items__n", runtime.ParamLocationQuery, *params.InventoryItemsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Name != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Platforms != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platforms", runtime.ParamLocationQuery, *params.Platforms); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PlatformsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platforms__n", runtime.ParamLocationQuery, *params.PlatformsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Q != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { @@ -51090,8 +77764,136 @@ func NewDcimManufacturersUpdateRequestWithBody(server string, id openapi_types.U return req, nil } -// NewDcimPlatformsBulkDestroyRequest generates requests for DcimPlatformsBulkDestroy -func NewDcimPlatformsBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimManufacturersNotesListRequest generates requests for DcimManufacturersNotesList +func NewDcimManufacturersNotesListRequest(server string, id openapi_types.UUID, params *DcimManufacturersNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/manufacturers/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimManufacturersNotesCreateRequest calls the generic DcimManufacturersNotesCreate builder with application/json body +func NewDcimManufacturersNotesCreateRequest(server string, id openapi_types.UUID, body DcimManufacturersNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimManufacturersNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimManufacturersNotesCreateRequestWithBody generates requests for DcimManufacturersNotesCreate with any type of body +func NewDcimManufacturersNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/manufacturers/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimPlatformsBulkDestroyRequest calls the generic DcimPlatformsBulkDestroy builder with application/json body +func NewDcimPlatformsBulkDestroyRequest(server string, body DcimPlatformsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPlatformsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPlatformsBulkDestroyRequestWithBody generates requests for DcimPlatformsBulkDestroy with any type of body +func NewDcimPlatformsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -51109,11 +77911,13 @@ func NewDcimPlatformsBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -51410,6 +78214,70 @@ func NewDcimPlatformsListRequest(server string, params *DcimPlatformsListParams) } + if params.Devices != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devices", runtime.ParamLocationQuery, *params.Devices); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DevicesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devices__n", runtime.ParamLocationQuery, *params.DevicesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasDevices != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_devices", runtime.ParamLocationQuery, *params.HasDevices); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasVirtualMachines != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_virtual_machines", runtime.ParamLocationQuery, *params.HasVirtualMachines); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -51986,6 +78854,22 @@ func NewDcimPlatformsListRequest(server string, params *DcimPlatformsListParams) } + if params.NapalmArgs != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "napalm_args", runtime.ParamLocationQuery, *params.NapalmArgs); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.NapalmDriver != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "napalm_driver", runtime.ParamLocationQuery, *params.NapalmDriver); err != nil { @@ -52466,6 +79350,38 @@ func NewDcimPlatformsListRequest(server string, params *DcimPlatformsListParams) } + if params.VirtualMachines != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_machines", runtime.ParamLocationQuery, *params.VirtualMachines); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualMachinesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_machines__n", runtime.ParamLocationQuery, *params.VirtualMachinesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + queryURL.RawQuery = queryValues.Encode() req, err := http.NewRequest("GET", queryURL.String(), nil) @@ -52758,6 +79674,123 @@ func NewDcimPlatformsUpdateRequestWithBody(server string, id openapi_types.UUID, return req, nil } +// NewDcimPlatformsNotesListRequest generates requests for DcimPlatformsNotesList +func NewDcimPlatformsNotesListRequest(server string, id openapi_types.UUID, params *DcimPlatformsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/platforms/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimPlatformsNotesCreateRequest calls the generic DcimPlatformsNotesCreate builder with application/json body +func NewDcimPlatformsNotesCreateRequest(server string, id openapi_types.UUID, body DcimPlatformsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPlatformsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimPlatformsNotesCreateRequestWithBody generates requests for DcimPlatformsNotesCreate with any type of body +func NewDcimPlatformsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/platforms/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewDcimPowerConnectionsListRequest generates requests for DcimPowerConnectionsList func NewDcimPowerConnectionsListRequest(server string, params *DcimPowerConnectionsListParams) (*http.Request, error) { var err error @@ -52811,6 +79844,230 @@ func NewDcimPowerConnectionsListRequest(server string, params *DcimPowerConnecti } + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -53093,8 +80350,19 @@ func NewDcimPowerConnectionsListRequest(server string, params *DcimPowerConnecti return req, nil } -// NewDcimPowerFeedsBulkDestroyRequest generates requests for DcimPowerFeedsBulkDestroy -func NewDcimPowerFeedsBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimPowerFeedsBulkDestroyRequest calls the generic DcimPowerFeedsBulkDestroy builder with application/json body +func NewDcimPowerFeedsBulkDestroyRequest(server string, body DcimPowerFeedsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerFeedsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerFeedsBulkDestroyRequestWithBody generates requests for DcimPowerFeedsBulkDestroy with any type of body +func NewDcimPowerFeedsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -53112,11 +80380,13 @@ func NewDcimPowerFeedsBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -53237,6 +80507,134 @@ func NewDcimPowerFeedsListRequest(server string, params *DcimPowerFeedsListParam } + if params.AvailablePower != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "available_power", runtime.ParamLocationQuery, *params.AvailablePower); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AvailablePowerGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "available_power__gt", runtime.ParamLocationQuery, *params.AvailablePowerGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AvailablePowerGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "available_power__gte", runtime.ParamLocationQuery, *params.AvailablePowerGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AvailablePowerLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "available_power__lt", runtime.ParamLocationQuery, *params.AvailablePowerLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AvailablePowerLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "available_power__lte", runtime.ParamLocationQuery, *params.AvailablePowerLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AvailablePowerN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "available_power__n", runtime.ParamLocationQuery, *params.AvailablePowerN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Cable != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable", runtime.ParamLocationQuery, *params.Cable); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable__n", runtime.ParamLocationQuery, *params.CableN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Cabled != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cabled", runtime.ParamLocationQuery, *params.Cabled); err != nil { @@ -53253,6 +80651,230 @@ func NewDcimPowerFeedsListRequest(server string, params *DcimPowerFeedsListParam } + if params.Comments != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments", runtime.ParamLocationQuery, *params.Comments); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ic", runtime.ParamLocationQuery, *params.CommentsIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ie", runtime.ParamLocationQuery, *params.CommentsIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__iew", runtime.ParamLocationQuery, *params.CommentsIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ire", runtime.ParamLocationQuery, *params.CommentsIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__isw", runtime.ParamLocationQuery, *params.CommentsIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__n", runtime.ParamLocationQuery, *params.CommentsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nic", runtime.ParamLocationQuery, *params.CommentsNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nie", runtime.ParamLocationQuery, *params.CommentsNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__niew", runtime.ParamLocationQuery, *params.CommentsNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nire", runtime.ParamLocationQuery, *params.CommentsNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nisw", runtime.ParamLocationQuery, *params.CommentsNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nre", runtime.ParamLocationQuery, *params.CommentsNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__re", runtime.ParamLocationQuery, *params.CommentsRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Connected != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "connected", runtime.ParamLocationQuery, *params.Connected); err != nil { @@ -53973,6 +81595,38 @@ func NewDcimPowerFeedsListRequest(server string, params *DcimPowerFeedsListParam } + if params.PowerPanel != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_panel", runtime.ParamLocationQuery, *params.PowerPanel); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PowerPanelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_panel__n", runtime.ParamLocationQuery, *params.PowerPanelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.PowerPanelId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_panel_id", runtime.ParamLocationQuery, *params.PowerPanelId); err != nil { @@ -54021,6 +81675,38 @@ func NewDcimPowerFeedsListRequest(server string, params *DcimPowerFeedsListParam } + if params.Rack != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack", runtime.ParamLocationQuery, *params.Rack); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RackN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack__n", runtime.ParamLocationQuery, *params.RackN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.RackId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_id", runtime.ParamLocationQuery, *params.RackId); err != nil { @@ -54697,6 +82383,123 @@ func NewDcimPowerFeedsUpdateRequestWithBody(server string, id openapi_types.UUID return req, nil } +// NewDcimPowerFeedsNotesListRequest generates requests for DcimPowerFeedsNotesList +func NewDcimPowerFeedsNotesListRequest(server string, id openapi_types.UUID, params *DcimPowerFeedsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-feeds/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimPowerFeedsNotesCreateRequest calls the generic DcimPowerFeedsNotesCreate builder with application/json body +func NewDcimPowerFeedsNotesCreateRequest(server string, id openapi_types.UUID, body DcimPowerFeedsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerFeedsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimPowerFeedsNotesCreateRequestWithBody generates requests for DcimPowerFeedsNotesCreate with any type of body +func NewDcimPowerFeedsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-feeds/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewDcimPowerFeedsTraceRetrieveRequest generates requests for DcimPowerFeedsTraceRetrieve func NewDcimPowerFeedsTraceRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { var err error @@ -54731,8 +82534,19 @@ func NewDcimPowerFeedsTraceRetrieveRequest(server string, id openapi_types.UUID) return req, nil } -// NewDcimPowerOutletTemplatesBulkDestroyRequest generates requests for DcimPowerOutletTemplatesBulkDestroy -func NewDcimPowerOutletTemplatesBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimPowerOutletTemplatesBulkDestroyRequest calls the generic DcimPowerOutletTemplatesBulkDestroy builder with application/json body +func NewDcimPowerOutletTemplatesBulkDestroyRequest(server string, body DcimPowerOutletTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerOutletTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerOutletTemplatesBulkDestroyRequestWithBody generates requests for DcimPowerOutletTemplatesBulkDestroy with any type of body +func NewDcimPowerOutletTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -54750,11 +82564,13 @@ func NewDcimPowerOutletTemplatesBulkDestroyRequest(server string) (*http.Request return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -54779,6 +82595,262 @@ func NewDcimPowerOutletTemplatesListRequest(server string, params *DcimPowerOutl queryValues := queryURL.Query() + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type", runtime.ParamLocationQuery, *params.DeviceType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type__n", runtime.ParamLocationQuery, *params.DeviceTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DevicetypeId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_id", runtime.ParamLocationQuery, *params.DevicetypeId); err != nil { @@ -55067,6 +83139,230 @@ func NewDcimPowerOutletTemplatesListRequest(server string, params *DcimPowerOutl } + if params.Label != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label", runtime.ParamLocationQuery, *params.Label); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ic", runtime.ParamLocationQuery, *params.LabelIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ie", runtime.ParamLocationQuery, *params.LabelIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__iew", runtime.ParamLocationQuery, *params.LabelIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ire", runtime.ParamLocationQuery, *params.LabelIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__isw", runtime.ParamLocationQuery, *params.LabelIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__n", runtime.ParamLocationQuery, *params.LabelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nic", runtime.ParamLocationQuery, *params.LabelNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nie", runtime.ParamLocationQuery, *params.LabelNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__niew", runtime.ParamLocationQuery, *params.LabelNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nire", runtime.ParamLocationQuery, *params.LabelNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nisw", runtime.ParamLocationQuery, *params.LabelNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nre", runtime.ParamLocationQuery, *params.LabelNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__re", runtime.ParamLocationQuery, *params.LabelRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -55323,6 +83619,38 @@ func NewDcimPowerOutletTemplatesListRequest(server string, params *DcimPowerOutl } + if params.PowerPortTemplate != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_port_template", runtime.ParamLocationQuery, *params.PowerPortTemplate); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PowerPortTemplateN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_port_template__n", runtime.ParamLocationQuery, *params.PowerPortTemplateN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Q != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { @@ -55663,8 +83991,136 @@ func NewDcimPowerOutletTemplatesUpdateRequestWithBody(server string, id openapi_ return req, nil } -// NewDcimPowerOutletsBulkDestroyRequest generates requests for DcimPowerOutletsBulkDestroy -func NewDcimPowerOutletsBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimPowerOutletTemplatesNotesListRequest generates requests for DcimPowerOutletTemplatesNotesList +func NewDcimPowerOutletTemplatesNotesListRequest(server string, id openapi_types.UUID, params *DcimPowerOutletTemplatesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-outlet-templates/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimPowerOutletTemplatesNotesCreateRequest calls the generic DcimPowerOutletTemplatesNotesCreate builder with application/json body +func NewDcimPowerOutletTemplatesNotesCreateRequest(server string, id openapi_types.UUID, body DcimPowerOutletTemplatesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerOutletTemplatesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimPowerOutletTemplatesNotesCreateRequestWithBody generates requests for DcimPowerOutletTemplatesNotesCreate with any type of body +func NewDcimPowerOutletTemplatesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-outlet-templates/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimPowerOutletsBulkDestroyRequest calls the generic DcimPowerOutletsBulkDestroy builder with application/json body +func NewDcimPowerOutletsBulkDestroyRequest(server string, body DcimPowerOutletsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerOutletsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerOutletsBulkDestroyRequestWithBody generates requests for DcimPowerOutletsBulkDestroy with any type of body +func NewDcimPowerOutletsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -55682,11 +84138,13 @@ func NewDcimPowerOutletsBulkDestroyRequest(server string) (*http.Request, error) return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -55711,6 +84169,38 @@ func NewDcimPowerOutletsListRequest(server string, params *DcimPowerOutletsListP queryValues := queryURL.Query() + if params.Cable != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable", runtime.ParamLocationQuery, *params.Cable); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable__n", runtime.ParamLocationQuery, *params.CableN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Cabled != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cabled", runtime.ParamLocationQuery, *params.Cabled); err != nil { @@ -56287,6 +84777,230 @@ func NewDcimPowerOutletsListRequest(server string, params *DcimPowerOutletsListP } + if params.Label != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label", runtime.ParamLocationQuery, *params.Label); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ic", runtime.ParamLocationQuery, *params.LabelIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ie", runtime.ParamLocationQuery, *params.LabelIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__iew", runtime.ParamLocationQuery, *params.LabelIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ire", runtime.ParamLocationQuery, *params.LabelIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__isw", runtime.ParamLocationQuery, *params.LabelIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__n", runtime.ParamLocationQuery, *params.LabelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nic", runtime.ParamLocationQuery, *params.LabelNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nie", runtime.ParamLocationQuery, *params.LabelNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__niew", runtime.ParamLocationQuery, *params.LabelNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nire", runtime.ParamLocationQuery, *params.LabelNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nisw", runtime.ParamLocationQuery, *params.LabelNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nre", runtime.ParamLocationQuery, *params.LabelNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__re", runtime.ParamLocationQuery, *params.LabelRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -56543,6 +85257,38 @@ func NewDcimPowerOutletsListRequest(server string, params *DcimPowerOutletsListP } + if params.PowerPort != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_port", runtime.ParamLocationQuery, *params.PowerPort); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PowerPortN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_port__n", runtime.ParamLocationQuery, *params.PowerPortN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Q != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { @@ -57043,6 +85789,123 @@ func NewDcimPowerOutletsUpdateRequestWithBody(server string, id openapi_types.UU return req, nil } +// NewDcimPowerOutletsNotesListRequest generates requests for DcimPowerOutletsNotesList +func NewDcimPowerOutletsNotesListRequest(server string, id openapi_types.UUID, params *DcimPowerOutletsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-outlets/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimPowerOutletsNotesCreateRequest calls the generic DcimPowerOutletsNotesCreate builder with application/json body +func NewDcimPowerOutletsNotesCreateRequest(server string, id openapi_types.UUID, body DcimPowerOutletsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerOutletsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimPowerOutletsNotesCreateRequestWithBody generates requests for DcimPowerOutletsNotesCreate with any type of body +func NewDcimPowerOutletsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-outlets/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewDcimPowerOutletsTraceRetrieveRequest generates requests for DcimPowerOutletsTraceRetrieve func NewDcimPowerOutletsTraceRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { var err error @@ -57077,8 +85940,19 @@ func NewDcimPowerOutletsTraceRetrieveRequest(server string, id openapi_types.UUI return req, nil } -// NewDcimPowerPanelsBulkDestroyRequest generates requests for DcimPowerPanelsBulkDestroy -func NewDcimPowerPanelsBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimPowerPanelsBulkDestroyRequest calls the generic DcimPowerPanelsBulkDestroy builder with application/json body +func NewDcimPowerPanelsBulkDestroyRequest(server string, body DcimPowerPanelsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPanelsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerPanelsBulkDestroyRequestWithBody generates requests for DcimPowerPanelsBulkDestroy with any type of body +func NewDcimPowerPanelsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -57096,11 +85970,13 @@ func NewDcimPowerPanelsBulkDestroyRequest(server string) (*http.Request, error) return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -57173,6 +86049,22 @@ func NewDcimPowerPanelsListRequest(server string, params *DcimPowerPanelsListPar } + if params.HasPowerFeeds != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_power_feeds", runtime.ParamLocationQuery, *params.HasPowerFeeds); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -57461,6 +86353,38 @@ func NewDcimPowerPanelsListRequest(server string, params *DcimPowerPanelsListPar } + if params.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Name != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { @@ -57701,6 +86625,38 @@ func NewDcimPowerPanelsListRequest(server string, params *DcimPowerPanelsListPar } + if params.PowerFeeds != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_feeds", runtime.ParamLocationQuery, *params.PowerFeeds); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PowerFeedsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_feeds__n", runtime.ParamLocationQuery, *params.PowerFeedsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Q != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { @@ -57717,6 +86673,38 @@ func NewDcimPowerPanelsListRequest(server string, params *DcimPowerPanelsListPar } + if params.RackGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_group", runtime.ParamLocationQuery, *params.RackGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RackGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_group__n", runtime.ParamLocationQuery, *params.RackGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.RackGroupId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_group_id", runtime.ParamLocationQuery, *params.RackGroupId); err != nil { @@ -58201,8 +87189,136 @@ func NewDcimPowerPanelsUpdateRequestWithBody(server string, id openapi_types.UUI return req, nil } -// NewDcimPowerPortTemplatesBulkDestroyRequest generates requests for DcimPowerPortTemplatesBulkDestroy -func NewDcimPowerPortTemplatesBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimPowerPanelsNotesListRequest generates requests for DcimPowerPanelsNotesList +func NewDcimPowerPanelsNotesListRequest(server string, id openapi_types.UUID, params *DcimPowerPanelsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-panels/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimPowerPanelsNotesCreateRequest calls the generic DcimPowerPanelsNotesCreate builder with application/json body +func NewDcimPowerPanelsNotesCreateRequest(server string, id openapi_types.UUID, body DcimPowerPanelsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPanelsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimPowerPanelsNotesCreateRequestWithBody generates requests for DcimPowerPanelsNotesCreate with any type of body +func NewDcimPowerPanelsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-panels/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimPowerPortTemplatesBulkDestroyRequest calls the generic DcimPowerPortTemplatesBulkDestroy builder with application/json body +func NewDcimPowerPortTemplatesBulkDestroyRequest(server string, body DcimPowerPortTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPortTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerPortTemplatesBulkDestroyRequestWithBody generates requests for DcimPowerPortTemplatesBulkDestroy with any type of body +func NewDcimPowerPortTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -58220,11 +87336,13 @@ func NewDcimPowerPortTemplatesBulkDestroyRequest(server string) (*http.Request, return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -58345,6 +87463,262 @@ func NewDcimPowerPortTemplatesListRequest(server string, params *DcimPowerPortTe } + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type", runtime.ParamLocationQuery, *params.DeviceType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type__n", runtime.ParamLocationQuery, *params.DeviceTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DevicetypeId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_id", runtime.ParamLocationQuery, *params.DevicetypeId); err != nil { @@ -58377,6 +87751,22 @@ func NewDcimPowerPortTemplatesListRequest(server string, params *DcimPowerPortTe } + if params.HasPowerOutletTemplates != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_power_outlet_templates", runtime.ParamLocationQuery, *params.HasPowerOutletTemplates); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -58601,6 +87991,230 @@ func NewDcimPowerPortTemplatesListRequest(server string, params *DcimPowerPortTe } + if params.Label != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label", runtime.ParamLocationQuery, *params.Label); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ic", runtime.ParamLocationQuery, *params.LabelIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ie", runtime.ParamLocationQuery, *params.LabelIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__iew", runtime.ParamLocationQuery, *params.LabelIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ire", runtime.ParamLocationQuery, *params.LabelIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__isw", runtime.ParamLocationQuery, *params.LabelIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__n", runtime.ParamLocationQuery, *params.LabelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nic", runtime.ParamLocationQuery, *params.LabelNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nie", runtime.ParamLocationQuery, *params.LabelNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__niew", runtime.ParamLocationQuery, *params.LabelNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nire", runtime.ParamLocationQuery, *params.LabelNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nisw", runtime.ParamLocationQuery, *params.LabelNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nre", runtime.ParamLocationQuery, *params.LabelNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__re", runtime.ParamLocationQuery, *params.LabelRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -58953,6 +88567,38 @@ func NewDcimPowerPortTemplatesListRequest(server string, params *DcimPowerPortTe } + if params.PowerOutletTemplates != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_outlet_templates", runtime.ParamLocationQuery, *params.PowerOutletTemplates); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PowerOutletTemplatesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_outlet_templates__n", runtime.ParamLocationQuery, *params.PowerOutletTemplatesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Q != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { @@ -59293,8 +88939,136 @@ func NewDcimPowerPortTemplatesUpdateRequestWithBody(server string, id openapi_ty return req, nil } -// NewDcimPowerPortsBulkDestroyRequest generates requests for DcimPowerPortsBulkDestroy -func NewDcimPowerPortsBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimPowerPortTemplatesNotesListRequest generates requests for DcimPowerPortTemplatesNotesList +func NewDcimPowerPortTemplatesNotesListRequest(server string, id openapi_types.UUID, params *DcimPowerPortTemplatesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-port-templates/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimPowerPortTemplatesNotesCreateRequest calls the generic DcimPowerPortTemplatesNotesCreate builder with application/json body +func NewDcimPowerPortTemplatesNotesCreateRequest(server string, id openapi_types.UUID, body DcimPowerPortTemplatesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPortTemplatesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimPowerPortTemplatesNotesCreateRequestWithBody generates requests for DcimPowerPortTemplatesNotesCreate with any type of body +func NewDcimPowerPortTemplatesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-port-templates/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimPowerPortsBulkDestroyRequest calls the generic DcimPowerPortsBulkDestroy builder with application/json body +func NewDcimPowerPortsBulkDestroyRequest(server string, body DcimPowerPortsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPortsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimPowerPortsBulkDestroyRequestWithBody generates requests for DcimPowerPortsBulkDestroy with any type of body +func NewDcimPowerPortsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -59312,11 +89086,13 @@ func NewDcimPowerPortsBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -59437,6 +89213,38 @@ func NewDcimPowerPortsListRequest(server string, params *DcimPowerPortsListParam } + if params.Cable != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable", runtime.ParamLocationQuery, *params.Cable); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable__n", runtime.ParamLocationQuery, *params.CableN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Cabled != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cabled", runtime.ParamLocationQuery, *params.Cabled); err != nil { @@ -59757,6 +89565,22 @@ func NewDcimPowerPortsListRequest(server string, params *DcimPowerPortsListParam } + if params.HasPowerOutlets != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_power_outlets", runtime.ParamLocationQuery, *params.HasPowerOutlets); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -59981,6 +89805,230 @@ func NewDcimPowerPortsListRequest(server string, params *DcimPowerPortsListParam } + if params.Label != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label", runtime.ParamLocationQuery, *params.Label); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ic", runtime.ParamLocationQuery, *params.LabelIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ie", runtime.ParamLocationQuery, *params.LabelIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__iew", runtime.ParamLocationQuery, *params.LabelIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ire", runtime.ParamLocationQuery, *params.LabelIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__isw", runtime.ParamLocationQuery, *params.LabelIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__n", runtime.ParamLocationQuery, *params.LabelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nic", runtime.ParamLocationQuery, *params.LabelNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nie", runtime.ParamLocationQuery, *params.LabelNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__niew", runtime.ParamLocationQuery, *params.LabelNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nire", runtime.ParamLocationQuery, *params.LabelNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nisw", runtime.ParamLocationQuery, *params.LabelNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nre", runtime.ParamLocationQuery, *params.LabelNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__re", runtime.ParamLocationQuery, *params.LabelRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -60333,6 +90381,38 @@ func NewDcimPowerPortsListRequest(server string, params *DcimPowerPortsListParam } + if params.PowerOutlets != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_outlets", runtime.ParamLocationQuery, *params.PowerOutlets); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PowerOutletsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_outlets__n", runtime.ParamLocationQuery, *params.PowerOutletsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Q != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { @@ -60833,6 +90913,123 @@ func NewDcimPowerPortsUpdateRequestWithBody(server string, id openapi_types.UUID return req, nil } +// NewDcimPowerPortsNotesListRequest generates requests for DcimPowerPortsNotesList +func NewDcimPowerPortsNotesListRequest(server string, id openapi_types.UUID, params *DcimPowerPortsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-ports/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimPowerPortsNotesCreateRequest calls the generic DcimPowerPortsNotesCreate builder with application/json body +func NewDcimPowerPortsNotesCreateRequest(server string, id openapi_types.UUID, body DcimPowerPortsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimPowerPortsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimPowerPortsNotesCreateRequestWithBody generates requests for DcimPowerPortsNotesCreate with any type of body +func NewDcimPowerPortsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/power-ports/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewDcimPowerPortsTraceRetrieveRequest generates requests for DcimPowerPortsTraceRetrieve func NewDcimPowerPortsTraceRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { var err error @@ -60867,8 +91064,19 @@ func NewDcimPowerPortsTraceRetrieveRequest(server string, id openapi_types.UUID) return req, nil } -// NewDcimRackGroupsBulkDestroyRequest generates requests for DcimRackGroupsBulkDestroy -func NewDcimRackGroupsBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimRackGroupsBulkDestroyRequest calls the generic DcimRackGroupsBulkDestroy builder with application/json body +func NewDcimRackGroupsBulkDestroyRequest(server string, body DcimRackGroupsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackGroupsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRackGroupsBulkDestroyRequestWithBody generates requests for DcimRackGroupsBulkDestroy with any type of body +func NewDcimRackGroupsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -60886,11 +91094,13 @@ func NewDcimRackGroupsBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -60915,6 +91125,38 @@ func NewDcimRackGroupsListRequest(server string, params *DcimRackGroupsListParam queryValues := queryURL.Query() + if params.Children != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "children", runtime.ParamLocationQuery, *params.Children); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChildrenN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "children__n", runtime.ParamLocationQuery, *params.ChildrenN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Created != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { @@ -61187,6 +91429,54 @@ func NewDcimRackGroupsListRequest(server string, params *DcimRackGroupsListParam } + if params.HasChildren != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_children", runtime.ParamLocationQuery, *params.HasChildren); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasPowerPanels != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_power_panels", runtime.ParamLocationQuery, *params.HasPowerPanels); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasRacks != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_racks", runtime.ParamLocationQuery, *params.HasRacks); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -61475,6 +91765,38 @@ func NewDcimRackGroupsListRequest(server string, params *DcimRackGroupsListParam } + if params.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Name != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { @@ -61779,6 +92101,38 @@ func NewDcimRackGroupsListRequest(server string, params *DcimRackGroupsListParam } + if params.PowerPanels != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_panels", runtime.ParamLocationQuery, *params.PowerPanels); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PowerPanelsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_panels__n", runtime.ParamLocationQuery, *params.PowerPanelsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Q != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { @@ -61795,6 +92149,38 @@ func NewDcimRackGroupsListRequest(server string, params *DcimRackGroupsListParam } + if params.Racks != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "racks", runtime.ParamLocationQuery, *params.Racks); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RacksN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "racks__n", runtime.ParamLocationQuery, *params.RacksN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Region != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "region", runtime.ParamLocationQuery, *params.Region); err != nil { @@ -62439,8 +92825,136 @@ func NewDcimRackGroupsUpdateRequestWithBody(server string, id openapi_types.UUID return req, nil } -// NewDcimRackReservationsBulkDestroyRequest generates requests for DcimRackReservationsBulkDestroy -func NewDcimRackReservationsBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimRackGroupsNotesListRequest generates requests for DcimRackGroupsNotesList +func NewDcimRackGroupsNotesListRequest(server string, id openapi_types.UUID, params *DcimRackGroupsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/rack-groups/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimRackGroupsNotesCreateRequest calls the generic DcimRackGroupsNotesCreate builder with application/json body +func NewDcimRackGroupsNotesCreateRequest(server string, id openapi_types.UUID, body DcimRackGroupsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackGroupsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimRackGroupsNotesCreateRequestWithBody generates requests for DcimRackGroupsNotesCreate with any type of body +func NewDcimRackGroupsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/rack-groups/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimRackReservationsBulkDestroyRequest calls the generic DcimRackReservationsBulkDestroy builder with application/json body +func NewDcimRackReservationsBulkDestroyRequest(server string, body DcimRackReservationsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackReservationsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRackReservationsBulkDestroyRequestWithBody generates requests for DcimRackReservationsBulkDestroy with any type of body +func NewDcimRackReservationsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -62458,11 +92972,13 @@ func NewDcimRackReservationsBulkDestroyRequest(server string) (*http.Request, er return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -62535,6 +93051,230 @@ func NewDcimRackReservationsListRequest(server string, params *DcimRackReservati } + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Group != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group", runtime.ParamLocationQuery, *params.Group); err != nil { @@ -62919,6 +93659,38 @@ func NewDcimRackReservationsListRequest(server string, params *DcimRackReservati } + if params.Rack != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack", runtime.ParamLocationQuery, *params.Rack); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RackN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack__n", runtime.ParamLocationQuery, *params.RackN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.RackId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_id", runtime.ParamLocationQuery, *params.RackId); err != nil { @@ -63531,8 +94303,136 @@ func NewDcimRackReservationsUpdateRequestWithBody(server string, id openapi_type return req, nil } -// NewDcimRackRolesBulkDestroyRequest generates requests for DcimRackRolesBulkDestroy -func NewDcimRackRolesBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimRackReservationsNotesListRequest generates requests for DcimRackReservationsNotesList +func NewDcimRackReservationsNotesListRequest(server string, id openapi_types.UUID, params *DcimRackReservationsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/rack-reservations/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimRackReservationsNotesCreateRequest calls the generic DcimRackReservationsNotesCreate builder with application/json body +func NewDcimRackReservationsNotesCreateRequest(server string, id openapi_types.UUID, body DcimRackReservationsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackReservationsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimRackReservationsNotesCreateRequestWithBody generates requests for DcimRackReservationsNotesCreate with any type of body +func NewDcimRackReservationsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/rack-reservations/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimRackRolesBulkDestroyRequest calls the generic DcimRackRolesBulkDestroy builder with application/json body +func NewDcimRackRolesBulkDestroyRequest(server string, body DcimRackRolesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackRolesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRackRolesBulkDestroyRequestWithBody generates requests for DcimRackRolesBulkDestroy with any type of body +func NewDcimRackRolesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -63550,11 +94450,13 @@ func NewDcimRackRolesBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -63851,6 +94753,246 @@ func NewDcimRackRolesListRequest(server string, params *DcimRackRolesListParams) } + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasRacks != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_racks", runtime.ParamLocationQuery, *params.HasRacks); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -64395,6 +95537,38 @@ func NewDcimRackRolesListRequest(server string, params *DcimRackRolesListParams) } + if params.Racks != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "racks", runtime.ParamLocationQuery, *params.Racks); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RacksN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "racks__n", runtime.ParamLocationQuery, *params.RacksN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Slug != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug", runtime.ParamLocationQuery, *params.Slug); err != nil { @@ -64911,8 +96085,136 @@ func NewDcimRackRolesUpdateRequestWithBody(server string, id openapi_types.UUID, return req, nil } -// NewDcimRacksBulkDestroyRequest generates requests for DcimRacksBulkDestroy -func NewDcimRacksBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimRackRolesNotesListRequest generates requests for DcimRackRolesNotesList +func NewDcimRackRolesNotesListRequest(server string, id openapi_types.UUID, params *DcimRackRolesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/rack-roles/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimRackRolesNotesCreateRequest calls the generic DcimRackRolesNotesCreate builder with application/json body +func NewDcimRackRolesNotesCreateRequest(server string, id openapi_types.UUID, body DcimRackRolesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRackRolesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimRackRolesNotesCreateRequestWithBody generates requests for DcimRackRolesNotesCreate with any type of body +func NewDcimRackRolesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/rack-roles/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimRacksBulkDestroyRequest calls the generic DcimRacksBulkDestroy builder with application/json body +func NewDcimRacksBulkDestroyRequest(server string, body DcimRacksBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRacksBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRacksBulkDestroyRequestWithBody generates requests for DcimRacksBulkDestroy with any type of body +func NewDcimRacksBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -64930,11 +96232,13 @@ func NewDcimRacksBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -65183,6 +96487,230 @@ func NewDcimRacksListRequest(server string, params *DcimRacksListParams) (*http. } + if params.Comments != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments", runtime.ParamLocationQuery, *params.Comments); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ic", runtime.ParamLocationQuery, *params.CommentsIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ie", runtime.ParamLocationQuery, *params.CommentsIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__iew", runtime.ParamLocationQuery, *params.CommentsIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ire", runtime.ParamLocationQuery, *params.CommentsIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__isw", runtime.ParamLocationQuery, *params.CommentsIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__n", runtime.ParamLocationQuery, *params.CommentsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nic", runtime.ParamLocationQuery, *params.CommentsNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nie", runtime.ParamLocationQuery, *params.CommentsNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__niew", runtime.ParamLocationQuery, *params.CommentsNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nire", runtime.ParamLocationQuery, *params.CommentsNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nisw", runtime.ParamLocationQuery, *params.CommentsNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nre", runtime.ParamLocationQuery, *params.CommentsNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__re", runtime.ParamLocationQuery, *params.CommentsRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Created != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { @@ -65247,6 +96775,38 @@ func NewDcimRacksListRequest(server string, params *DcimRacksListParams) (*http. } + if params.Devices != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devices", runtime.ParamLocationQuery, *params.Devices); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DevicesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devices__n", runtime.ParamLocationQuery, *params.DevicesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.FacilityId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility_id", runtime.ParamLocationQuery, *params.FacilityId); err != nil { @@ -65535,6 +97095,54 @@ func NewDcimRacksListRequest(server string, params *DcimRacksListParams) (*http. } + if params.HasDevices != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_devices", runtime.ParamLocationQuery, *params.HasDevices); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasPowerFeeds != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_power_feeds", runtime.ParamLocationQuery, *params.HasPowerFeeds); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasReservations != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_reservations", runtime.ParamLocationQuery, *params.HasReservations); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -65823,6 +97431,38 @@ func NewDcimRacksListRequest(server string, params *DcimRacksListParams) (*http. } + if params.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Name != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { @@ -66287,6 +97927,38 @@ func NewDcimRacksListRequest(server string, params *DcimRacksListParams) (*http. } + if params.PowerFeeds != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_feeds", runtime.ParamLocationQuery, *params.PowerFeeds); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PowerFeedsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_feeds__n", runtime.ParamLocationQuery, *params.PowerFeedsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Q != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { @@ -66367,6 +98039,38 @@ func NewDcimRacksListRequest(server string, params *DcimRacksListParams) (*http. } + if params.Reservations != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "reservations", runtime.ParamLocationQuery, *params.Reservations); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ReservationsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "reservations__n", runtime.ParamLocationQuery, *params.ReservationsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Role != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role", runtime.ParamLocationQuery, *params.Role); err != nil { @@ -67407,6 +99111,230 @@ func NewDcimRacksElevationListRequest(server string, id openapi_types.UUID, para } + if params.Comments != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments", runtime.ParamLocationQuery, *params.Comments); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ic", runtime.ParamLocationQuery, *params.CommentsIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ie", runtime.ParamLocationQuery, *params.CommentsIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__iew", runtime.ParamLocationQuery, *params.CommentsIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ire", runtime.ParamLocationQuery, *params.CommentsIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__isw", runtime.ParamLocationQuery, *params.CommentsIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__n", runtime.ParamLocationQuery, *params.CommentsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nic", runtime.ParamLocationQuery, *params.CommentsNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nie", runtime.ParamLocationQuery, *params.CommentsNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__niew", runtime.ParamLocationQuery, *params.CommentsNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nire", runtime.ParamLocationQuery, *params.CommentsNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nisw", runtime.ParamLocationQuery, *params.CommentsNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nre", runtime.ParamLocationQuery, *params.CommentsNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__re", runtime.ParamLocationQuery, *params.CommentsRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Created != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { @@ -67471,6 +99399,54 @@ func NewDcimRacksElevationListRequest(server string, id openapi_types.UUID, para } + if params.Devices != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devices", runtime.ParamLocationQuery, *params.Devices); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DevicesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devices__n", runtime.ParamLocationQuery, *params.DevicesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DisplayFullname != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "display_fullname", runtime.ParamLocationQuery, *params.DisplayFullname); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Exclude != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "exclude", runtime.ParamLocationQuery, *params.Exclude); err != nil { @@ -67807,6 +99783,54 @@ func NewDcimRacksElevationListRequest(server string, id openapi_types.UUID, para } + if params.HasDevices != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_devices", runtime.ParamLocationQuery, *params.HasDevices); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasPowerFeeds != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_power_feeds", runtime.ParamLocationQuery, *params.HasPowerFeeds); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasReservations != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_reservations", runtime.ParamLocationQuery, *params.HasReservations); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -68127,6 +100151,38 @@ func NewDcimRacksElevationListRequest(server string, id openapi_types.UUID, para } + if params.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Name != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { @@ -68591,6 +100647,38 @@ func NewDcimRacksElevationListRequest(server string, id openapi_types.UUID, para } + if params.PowerFeeds != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_feeds", runtime.ParamLocationQuery, *params.PowerFeeds); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PowerFeedsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_feeds__n", runtime.ParamLocationQuery, *params.PowerFeedsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Q != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { @@ -68687,6 +100775,38 @@ func NewDcimRacksElevationListRequest(server string, id openapi_types.UUID, para } + if params.Reservations != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "reservations", runtime.ParamLocationQuery, *params.Reservations); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ReservationsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "reservations__n", runtime.ParamLocationQuery, *params.ReservationsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Role != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role", runtime.ParamLocationQuery, *params.Role); err != nil { @@ -69225,8 +101345,136 @@ func NewDcimRacksElevationListRequest(server string, id openapi_types.UUID, para return req, nil } -// NewDcimRearPortTemplatesBulkDestroyRequest generates requests for DcimRearPortTemplatesBulkDestroy -func NewDcimRearPortTemplatesBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimRacksNotesListRequest generates requests for DcimRacksNotesList +func NewDcimRacksNotesListRequest(server string, id openapi_types.UUID, params *DcimRacksNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/racks/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimRacksNotesCreateRequest calls the generic DcimRacksNotesCreate builder with application/json body +func NewDcimRacksNotesCreateRequest(server string, id openapi_types.UUID, body DcimRacksNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRacksNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimRacksNotesCreateRequestWithBody generates requests for DcimRacksNotesCreate with any type of body +func NewDcimRacksNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/racks/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimRearPortTemplatesBulkDestroyRequest calls the generic DcimRearPortTemplatesBulkDestroy builder with application/json body +func NewDcimRearPortTemplatesBulkDestroyRequest(server string, body DcimRearPortTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRearPortTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRearPortTemplatesBulkDestroyRequestWithBody generates requests for DcimRearPortTemplatesBulkDestroy with any type of body +func NewDcimRearPortTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -69244,11 +101492,13 @@ func NewDcimRearPortTemplatesBulkDestroyRequest(server string) (*http.Request, e return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -69273,6 +101523,262 @@ func NewDcimRearPortTemplatesListRequest(server string, params *DcimRearPortTemp queryValues := queryURL.Query() + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type", runtime.ParamLocationQuery, *params.DeviceType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type__n", runtime.ParamLocationQuery, *params.DeviceTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DevicetypeId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devicetype_id", runtime.ParamLocationQuery, *params.DevicetypeId); err != nil { @@ -69305,6 +101811,54 @@ func NewDcimRearPortTemplatesListRequest(server string, params *DcimRearPortTemp } + if params.FrontPortTemplates != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "front_port_templates", runtime.ParamLocationQuery, *params.FrontPortTemplates); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FrontPortTemplatesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "front_port_templates__n", runtime.ParamLocationQuery, *params.FrontPortTemplatesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasFrontPortTemplates != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_front_port_templates", runtime.ParamLocationQuery, *params.HasFrontPortTemplates); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -69529,6 +102083,230 @@ func NewDcimRearPortTemplatesListRequest(server string, params *DcimRearPortTemp } + if params.Label != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label", runtime.ParamLocationQuery, *params.Label); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ic", runtime.ParamLocationQuery, *params.LabelIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ie", runtime.ParamLocationQuery, *params.LabelIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__iew", runtime.ParamLocationQuery, *params.LabelIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ire", runtime.ParamLocationQuery, *params.LabelIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__isw", runtime.ParamLocationQuery, *params.LabelIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__n", runtime.ParamLocationQuery, *params.LabelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nic", runtime.ParamLocationQuery, *params.LabelNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nie", runtime.ParamLocationQuery, *params.LabelNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__niew", runtime.ParamLocationQuery, *params.LabelNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nire", runtime.ParamLocationQuery, *params.LabelNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nisw", runtime.ParamLocationQuery, *params.LabelNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nre", runtime.ParamLocationQuery, *params.LabelNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__re", runtime.ParamLocationQuery, *params.LabelRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -70221,8 +102999,136 @@ func NewDcimRearPortTemplatesUpdateRequestWithBody(server string, id openapi_typ return req, nil } -// NewDcimRearPortsBulkDestroyRequest generates requests for DcimRearPortsBulkDestroy -func NewDcimRearPortsBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimRearPortTemplatesNotesListRequest generates requests for DcimRearPortTemplatesNotesList +func NewDcimRearPortTemplatesNotesListRequest(server string, id openapi_types.UUID, params *DcimRearPortTemplatesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/rear-port-templates/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimRearPortTemplatesNotesCreateRequest calls the generic DcimRearPortTemplatesNotesCreate builder with application/json body +func NewDcimRearPortTemplatesNotesCreateRequest(server string, id openapi_types.UUID, body DcimRearPortTemplatesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRearPortTemplatesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimRearPortTemplatesNotesCreateRequestWithBody generates requests for DcimRearPortTemplatesNotesCreate with any type of body +func NewDcimRearPortTemplatesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/rear-port-templates/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimRearPortsBulkDestroyRequest calls the generic DcimRearPortsBulkDestroy builder with application/json body +func NewDcimRearPortsBulkDestroyRequest(server string, body DcimRearPortsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRearPortsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRearPortsBulkDestroyRequestWithBody generates requests for DcimRearPortsBulkDestroy with any type of body +func NewDcimRearPortsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -70240,11 +103146,13 @@ func NewDcimRearPortsBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -70269,6 +103177,38 @@ func NewDcimRearPortsListRequest(server string, params *DcimRearPortsListParams) queryValues := queryURL.Query() + if params.Cable != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable", runtime.ParamLocationQuery, *params.Cable); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CableN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cable__n", runtime.ParamLocationQuery, *params.CableN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Cabled != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cabled", runtime.ParamLocationQuery, *params.Cabled); err != nil { @@ -70573,6 +103513,54 @@ func NewDcimRearPortsListRequest(server string, params *DcimRearPortsListParams) } + if params.FrontPorts != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "front_ports", runtime.ParamLocationQuery, *params.FrontPorts); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FrontPortsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "front_ports__n", runtime.ParamLocationQuery, *params.FrontPortsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasFrontPorts != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_front_ports", runtime.ParamLocationQuery, *params.HasFrontPorts); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -70797,6 +103785,230 @@ func NewDcimRearPortsListRequest(server string, params *DcimRearPortsListParams) } + if params.Label != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label", runtime.ParamLocationQuery, *params.Label); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ic", runtime.ParamLocationQuery, *params.LabelIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ie", runtime.ParamLocationQuery, *params.LabelIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__iew", runtime.ParamLocationQuery, *params.LabelIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__ire", runtime.ParamLocationQuery, *params.LabelIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__isw", runtime.ParamLocationQuery, *params.LabelIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__n", runtime.ParamLocationQuery, *params.LabelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nic", runtime.ParamLocationQuery, *params.LabelNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nie", runtime.ParamLocationQuery, *params.LabelNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__niew", runtime.ParamLocationQuery, *params.LabelNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nire", runtime.ParamLocationQuery, *params.LabelNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nisw", runtime.ParamLocationQuery, *params.LabelNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__nre", runtime.ParamLocationQuery, *params.LabelNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LabelRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "label__re", runtime.ParamLocationQuery, *params.LabelRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -71649,6 +104861,123 @@ func NewDcimRearPortsUpdateRequestWithBody(server string, id openapi_types.UUID, return req, nil } +// NewDcimRearPortsNotesListRequest generates requests for DcimRearPortsNotesList +func NewDcimRearPortsNotesListRequest(server string, id openapi_types.UUID, params *DcimRearPortsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/rear-ports/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimRearPortsNotesCreateRequest calls the generic DcimRearPortsNotesCreate builder with application/json body +func NewDcimRearPortsNotesCreateRequest(server string, id openapi_types.UUID, body DcimRearPortsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRearPortsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimRearPortsNotesCreateRequestWithBody generates requests for DcimRearPortsNotesCreate with any type of body +func NewDcimRearPortsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/rear-ports/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewDcimRearPortsPathsRetrieveRequest generates requests for DcimRearPortsPathsRetrieve func NewDcimRearPortsPathsRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { var err error @@ -71683,8 +105012,19 @@ func NewDcimRearPortsPathsRetrieveRequest(server string, id openapi_types.UUID) return req, nil } -// NewDcimRegionsBulkDestroyRequest generates requests for DcimRegionsBulkDestroy -func NewDcimRegionsBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimRegionsBulkDestroyRequest calls the generic DcimRegionsBulkDestroy builder with application/json body +func NewDcimRegionsBulkDestroyRequest(server string, body DcimRegionsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRegionsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimRegionsBulkDestroyRequestWithBody generates requests for DcimRegionsBulkDestroy with any type of body +func NewDcimRegionsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -71702,11 +105042,13 @@ func NewDcimRegionsBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -71731,6 +105073,38 @@ func NewDcimRegionsListRequest(server string, params *DcimRegionsListParams) (*h queryValues := queryURL.Query() + if params.Children != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "children", runtime.ParamLocationQuery, *params.Children); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChildrenN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "children__n", runtime.ParamLocationQuery, *params.ChildrenN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Created != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { @@ -72003,6 +105377,38 @@ func NewDcimRegionsListRequest(server string, params *DcimRegionsListParams) (*h } + if params.HasChildren != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_children", runtime.ParamLocationQuery, *params.HasChildren); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasSites != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_sites", runtime.ParamLocationQuery, *params.HasSites); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -72611,6 +106017,38 @@ func NewDcimRegionsListRequest(server string, params *DcimRegionsListParams) (*h } + if params.Sites != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "sites", runtime.ParamLocationQuery, *params.Sites); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SitesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "sites__n", runtime.ParamLocationQuery, *params.SitesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Slug != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug", runtime.ParamLocationQuery, *params.Slug); err != nil { @@ -73127,8 +106565,136 @@ func NewDcimRegionsUpdateRequestWithBody(server string, id openapi_types.UUID, c return req, nil } -// NewDcimSitesBulkDestroyRequest generates requests for DcimSitesBulkDestroy -func NewDcimSitesBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimRegionsNotesListRequest generates requests for DcimRegionsNotesList +func NewDcimRegionsNotesListRequest(server string, id openapi_types.UUID, params *DcimRegionsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/regions/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimRegionsNotesCreateRequest calls the generic DcimRegionsNotesCreate builder with application/json body +func NewDcimRegionsNotesCreateRequest(server string, id openapi_types.UUID, body DcimRegionsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimRegionsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimRegionsNotesCreateRequestWithBody generates requests for DcimRegionsNotesCreate with any type of body +func NewDcimRegionsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/regions/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimSitesBulkDestroyRequest calls the generic DcimSitesBulkDestroy builder with application/json body +func NewDcimSitesBulkDestroyRequest(server string, body DcimSitesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimSitesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimSitesBulkDestroyRequestWithBody generates requests for DcimSitesBulkDestroy with any type of body +func NewDcimSitesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -73146,11 +106712,13 @@ func NewDcimSitesBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -73271,6 +106839,294 @@ func NewDcimSitesListRequest(server string, params *DcimSitesListParams) (*http. } + if params.CircuitTerminations != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "circuit_terminations", runtime.ParamLocationQuery, *params.CircuitTerminations); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CircuitTerminationsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "circuit_terminations__n", runtime.ParamLocationQuery, *params.CircuitTerminationsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Clusters != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "clusters", runtime.ParamLocationQuery, *params.Clusters); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClustersN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "clusters__n", runtime.ParamLocationQuery, *params.ClustersN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Comments != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments", runtime.ParamLocationQuery, *params.Comments); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ic", runtime.ParamLocationQuery, *params.CommentsIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ie", runtime.ParamLocationQuery, *params.CommentsIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__iew", runtime.ParamLocationQuery, *params.CommentsIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ire", runtime.ParamLocationQuery, *params.CommentsIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__isw", runtime.ParamLocationQuery, *params.CommentsIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__n", runtime.ParamLocationQuery, *params.CommentsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nic", runtime.ParamLocationQuery, *params.CommentsNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nie", runtime.ParamLocationQuery, *params.CommentsNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__niew", runtime.ParamLocationQuery, *params.CommentsNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nire", runtime.ParamLocationQuery, *params.CommentsNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nisw", runtime.ParamLocationQuery, *params.CommentsNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nre", runtime.ParamLocationQuery, *params.CommentsNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__re", runtime.ParamLocationQuery, *params.CommentsRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.ContactEmail != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contact_email", runtime.ParamLocationQuery, *params.ContactEmail); err != nil { @@ -73991,6 +107847,262 @@ func NewDcimSitesListRequest(server string, params *DcimSitesListParams) (*http. } + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Devices != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devices", runtime.ParamLocationQuery, *params.Devices); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DevicesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devices__n", runtime.ParamLocationQuery, *params.DevicesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Facility != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "facility", runtime.ParamLocationQuery, *params.Facility); err != nil { @@ -74215,6 +108327,166 @@ func NewDcimSitesListRequest(server string, params *DcimSitesListParams) (*http. } + if params.HasCircuitTerminations != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_circuit_terminations", runtime.ParamLocationQuery, *params.HasCircuitTerminations); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasClusters != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_clusters", runtime.ParamLocationQuery, *params.HasClusters); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasDevices != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_devices", runtime.ParamLocationQuery, *params.HasDevices); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasLocations != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_locations", runtime.ParamLocationQuery, *params.HasLocations); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasPowerPanels != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_power_panels", runtime.ParamLocationQuery, *params.HasPowerPanels); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasPrefixes != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_prefixes", runtime.ParamLocationQuery, *params.HasPrefixes); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasRackGroups != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_rack_groups", runtime.ParamLocationQuery, *params.HasRackGroups); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasRacks != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_racks", runtime.ParamLocationQuery, *params.HasRacks); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasVlanGroups != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_vlan_groups", runtime.ParamLocationQuery, *params.HasVlanGroups); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasVlans != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_vlans", runtime.ParamLocationQuery, *params.HasVlans); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -74599,6 +108871,38 @@ func NewDcimSitesListRequest(server string, params *DcimSitesListParams) (*http. } + if params.Locations != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "locations", runtime.ParamLocationQuery, *params.Locations); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "locations__n", runtime.ParamLocationQuery, *params.LocationsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Longitude != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "longitude", runtime.ParamLocationQuery, *params.Longitude); err != nil { @@ -74935,6 +109239,294 @@ func NewDcimSitesListRequest(server string, params *DcimSitesListParams) (*http. } + if params.PhysicalAddress != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address", runtime.ParamLocationQuery, *params.PhysicalAddress); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__ic", runtime.ParamLocationQuery, *params.PhysicalAddressIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__ie", runtime.ParamLocationQuery, *params.PhysicalAddressIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__iew", runtime.ParamLocationQuery, *params.PhysicalAddressIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__ire", runtime.ParamLocationQuery, *params.PhysicalAddressIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__isw", runtime.ParamLocationQuery, *params.PhysicalAddressIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__n", runtime.ParamLocationQuery, *params.PhysicalAddressN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__nic", runtime.ParamLocationQuery, *params.PhysicalAddressNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__nie", runtime.ParamLocationQuery, *params.PhysicalAddressNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__niew", runtime.ParamLocationQuery, *params.PhysicalAddressNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__nire", runtime.ParamLocationQuery, *params.PhysicalAddressNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__nisw", runtime.ParamLocationQuery, *params.PhysicalAddressNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__nre", runtime.ParamLocationQuery, *params.PhysicalAddressNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__re", runtime.ParamLocationQuery, *params.PhysicalAddressRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PowerPanels != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_panels", runtime.ParamLocationQuery, *params.PowerPanels); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PowerPanelsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "power_panels__n", runtime.ParamLocationQuery, *params.PowerPanelsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Prefixes != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prefixes", runtime.ParamLocationQuery, *params.Prefixes); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PrefixesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prefixes__n", runtime.ParamLocationQuery, *params.PrefixesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Q != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { @@ -74951,6 +109543,70 @@ func NewDcimSitesListRequest(server string, params *DcimSitesListParams) (*http. } + if params.RackGroups != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_groups", runtime.ParamLocationQuery, *params.RackGroups); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RackGroupsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rack_groups__n", runtime.ParamLocationQuery, *params.RackGroupsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Racks != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "racks", runtime.ParamLocationQuery, *params.Racks); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RacksN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "racks__n", runtime.ParamLocationQuery, *params.RacksN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Region != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "region", runtime.ParamLocationQuery, *params.Region); err != nil { @@ -75015,6 +109671,230 @@ func NewDcimSitesListRequest(server string, params *DcimSitesListParams) (*http. } + if params.ShippingAddress != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "shipping_address", runtime.ParamLocationQuery, *params.ShippingAddress); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ShippingAddressIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "shipping_address__ic", runtime.ParamLocationQuery, *params.ShippingAddressIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ShippingAddressIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "shipping_address__ie", runtime.ParamLocationQuery, *params.ShippingAddressIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ShippingAddressIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "shipping_address__iew", runtime.ParamLocationQuery, *params.ShippingAddressIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ShippingAddressIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "shipping_address__ire", runtime.ParamLocationQuery, *params.ShippingAddressIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ShippingAddressIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "shipping_address__isw", runtime.ParamLocationQuery, *params.ShippingAddressIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ShippingAddressN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "shipping_address__n", runtime.ParamLocationQuery, *params.ShippingAddressN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ShippingAddressNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "shipping_address__nic", runtime.ParamLocationQuery, *params.ShippingAddressNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ShippingAddressNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "shipping_address__nie", runtime.ParamLocationQuery, *params.ShippingAddressNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ShippingAddressNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "shipping_address__niew", runtime.ParamLocationQuery, *params.ShippingAddressNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ShippingAddressNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "shipping_address__nire", runtime.ParamLocationQuery, *params.ShippingAddressNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ShippingAddressNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "shipping_address__nisw", runtime.ParamLocationQuery, *params.ShippingAddressNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ShippingAddressNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "shipping_address__nre", runtime.ParamLocationQuery, *params.ShippingAddressNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ShippingAddressRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "shipping_address__re", runtime.ParamLocationQuery, *params.ShippingAddressRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Slug != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug", runtime.ParamLocationQuery, *params.Slug); err != nil { @@ -75431,6 +110311,102 @@ func NewDcimSitesListRequest(server string, params *DcimSitesListParams) (*http. } + if params.TimeZone != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "time_zone", runtime.ParamLocationQuery, *params.TimeZone); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TimeZoneN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "time_zone__n", runtime.ParamLocationQuery, *params.TimeZoneN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VlanGroups != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlan_groups", runtime.ParamLocationQuery, *params.VlanGroups); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VlanGroupsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlan_groups__n", runtime.ParamLocationQuery, *params.VlanGroupsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Vlans != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlans", runtime.ParamLocationQuery, *params.Vlans); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VlansN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vlans__n", runtime.ParamLocationQuery, *params.VlansN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + queryURL.RawQuery = queryValues.Encode() req, err := http.NewRequest("GET", queryURL.String(), nil) @@ -75723,8 +110699,136 @@ func NewDcimSitesUpdateRequestWithBody(server string, id openapi_types.UUID, con return req, nil } -// NewDcimVirtualChassisBulkDestroyRequest generates requests for DcimVirtualChassisBulkDestroy -func NewDcimVirtualChassisBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimSitesNotesListRequest generates requests for DcimSitesNotesList +func NewDcimSitesNotesListRequest(server string, id openapi_types.UUID, params *DcimSitesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/sites/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimSitesNotesCreateRequest calls the generic DcimSitesNotesCreate builder with application/json body +func NewDcimSitesNotesCreateRequest(server string, id openapi_types.UUID, body DcimSitesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimSitesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimSitesNotesCreateRequestWithBody generates requests for DcimSitesNotesCreate with any type of body +func NewDcimSitesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/sites/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewDcimVirtualChassisBulkDestroyRequest calls the generic DcimVirtualChassisBulkDestroy builder with application/json body +func NewDcimVirtualChassisBulkDestroyRequest(server string, body DcimVirtualChassisBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimVirtualChassisBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewDcimVirtualChassisBulkDestroyRequestWithBody generates requests for DcimVirtualChassisBulkDestroy with any type of body +func NewDcimVirtualChassisBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -75742,11 +110846,13 @@ func NewDcimVirtualChassisBulkDestroyRequest(server string) (*http.Request, erro return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -76043,6 +111149,22 @@ func NewDcimVirtualChassisListRequest(server string, params *DcimVirtualChassisL } + if params.HasMembers != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_members", runtime.ParamLocationQuery, *params.HasMembers); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -76395,6 +111517,38 @@ func NewDcimVirtualChassisListRequest(server string, params *DcimVirtualChassisL } + if params.Members != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "members", runtime.ParamLocationQuery, *params.Members); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.MembersN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "members__n", runtime.ParamLocationQuery, *params.MembersN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Name != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { @@ -77167,8 +112321,136 @@ func NewDcimVirtualChassisUpdateRequestWithBody(server string, id openapi_types. return req, nil } -// NewExtrasComputedFieldsBulkDestroyRequest generates requests for ExtrasComputedFieldsBulkDestroy -func NewExtrasComputedFieldsBulkDestroyRequest(server string) (*http.Request, error) { +// NewDcimVirtualChassisNotesListRequest generates requests for DcimVirtualChassisNotesList +func NewDcimVirtualChassisNotesListRequest(server string, id openapi_types.UUID, params *DcimVirtualChassisNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/virtual-chassis/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDcimVirtualChassisNotesCreateRequest calls the generic DcimVirtualChassisNotesCreate builder with application/json body +func NewDcimVirtualChassisNotesCreateRequest(server string, id openapi_types.UUID, body DcimVirtualChassisNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewDcimVirtualChassisNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewDcimVirtualChassisNotesCreateRequestWithBody generates requests for DcimVirtualChassisNotesCreate with any type of body +func NewDcimVirtualChassisNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/dcim/virtual-chassis/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasComputedFieldsBulkDestroyRequest calls the generic ExtrasComputedFieldsBulkDestroy builder with application/json body +func NewExtrasComputedFieldsBulkDestroyRequest(server string, body ExtrasComputedFieldsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasComputedFieldsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasComputedFieldsBulkDestroyRequestWithBody generates requests for ExtrasComputedFieldsBulkDestroy with any type of body +func NewExtrasComputedFieldsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -77186,11 +112468,13 @@ func NewExtrasComputedFieldsBulkDestroyRequest(server string) (*http.Request, er return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -77471,6 +112755,230 @@ func NewExtrasComputedFieldsListRequest(server string, params *ExtrasComputedFie } + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -78355,8 +113863,136 @@ func NewExtrasComputedFieldsUpdateRequestWithBody(server string, id openapi_type return req, nil } -// NewExtrasConfigContextSchemasBulkDestroyRequest generates requests for ExtrasConfigContextSchemasBulkDestroy -func NewExtrasConfigContextSchemasBulkDestroyRequest(server string) (*http.Request, error) { +// NewExtrasComputedFieldsNotesListRequest generates requests for ExtrasComputedFieldsNotesList +func NewExtrasComputedFieldsNotesListRequest(server string, id openapi_types.UUID, params *ExtrasComputedFieldsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/computed-fields/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasComputedFieldsNotesCreateRequest calls the generic ExtrasComputedFieldsNotesCreate builder with application/json body +func NewExtrasComputedFieldsNotesCreateRequest(server string, id openapi_types.UUID, body ExtrasComputedFieldsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasComputedFieldsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasComputedFieldsNotesCreateRequestWithBody generates requests for ExtrasComputedFieldsNotesCreate with any type of body +func NewExtrasComputedFieldsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/computed-fields/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasConfigContextSchemasBulkDestroyRequest calls the generic ExtrasConfigContextSchemasBulkDestroy builder with application/json body +func NewExtrasConfigContextSchemasBulkDestroyRequest(server string, body ExtrasConfigContextSchemasBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigContextSchemasBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasConfigContextSchemasBulkDestroyRequestWithBody generates requests for ExtrasConfigContextSchemasBulkDestroy with any type of body +func NewExtrasConfigContextSchemasBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -78374,11 +114010,13 @@ func NewExtrasConfigContextSchemasBulkDestroyRequest(server string) (*http.Reque return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -79447,8 +115085,136 @@ func NewExtrasConfigContextSchemasUpdateRequestWithBody(server string, id openap return req, nil } -// NewExtrasConfigContextsBulkDestroyRequest generates requests for ExtrasConfigContextsBulkDestroy -func NewExtrasConfigContextsBulkDestroyRequest(server string) (*http.Request, error) { +// NewExtrasConfigContextSchemasNotesListRequest generates requests for ExtrasConfigContextSchemasNotesList +func NewExtrasConfigContextSchemasNotesListRequest(server string, id openapi_types.UUID, params *ExtrasConfigContextSchemasNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/config-context-schemas/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasConfigContextSchemasNotesCreateRequest calls the generic ExtrasConfigContextSchemasNotesCreate builder with application/json body +func NewExtrasConfigContextSchemasNotesCreateRequest(server string, id openapi_types.UUID, body ExtrasConfigContextSchemasNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigContextSchemasNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasConfigContextSchemasNotesCreateRequestWithBody generates requests for ExtrasConfigContextSchemasNotesCreate with any type of body +func NewExtrasConfigContextSchemasNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/config-context-schemas/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasConfigContextsBulkDestroyRequest calls the generic ExtrasConfigContextsBulkDestroy builder with application/json body +func NewExtrasConfigContextsBulkDestroyRequest(server string, body ExtrasConfigContextsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigContextsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasConfigContextsBulkDestroyRequestWithBody generates requests for ExtrasConfigContextsBulkDestroy with any type of body +func NewExtrasConfigContextsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -79466,11 +115232,13 @@ func NewExtrasConfigContextsBulkDestroyRequest(server string) (*http.Request, er return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -79591,6 +115359,38 @@ func NewExtrasConfigContextsListRequest(server string, params *ExtrasConfigConte } + if params.DeviceRedundancyGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_redundancy_group", runtime.ParamLocationQuery, *params.DeviceRedundancyGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceRedundancyGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_redundancy_group__n", runtime.ParamLocationQuery, *params.DeviceRedundancyGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DeviceType != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type", runtime.ParamLocationQuery, *params.DeviceType); err != nil { @@ -79911,6 +115711,70 @@ func NewExtrasConfigContextsListRequest(server string, params *ExtrasConfigConte } + if params.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id", runtime.ParamLocationQuery, *params.LocationId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location_id__n", runtime.ParamLocationQuery, *params.LocationIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Name != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { @@ -80615,6 +116479,38 @@ func NewExtrasConfigContextsListRequest(server string, params *ExtrasConfigConte } + if params.Schema != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "schema", runtime.ParamLocationQuery, *params.Schema); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SchemaN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "schema__n", runtime.ParamLocationQuery, *params.SchemaN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Site != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site", runtime.ParamLocationQuery, *params.Site); err != nil { @@ -81131,6 +117027,123 @@ func NewExtrasConfigContextsUpdateRequestWithBody(server string, id openapi_type return req, nil } +// NewExtrasConfigContextsNotesListRequest generates requests for ExtrasConfigContextsNotesList +func NewExtrasConfigContextsNotesListRequest(server string, id openapi_types.UUID, params *ExtrasConfigContextsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/config-contexts/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasConfigContextsNotesCreateRequest calls the generic ExtrasConfigContextsNotesCreate builder with application/json body +func NewExtrasConfigContextsNotesCreateRequest(server string, id openapi_types.UUID, body ExtrasConfigContextsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasConfigContextsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasConfigContextsNotesCreateRequestWithBody generates requests for ExtrasConfigContextsNotesCreate with any type of body +func NewExtrasConfigContextsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/config-contexts/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewExtrasContentTypesListRequest generates requests for ExtrasContentTypesList func NewExtrasContentTypesListRequest(server string, params *ExtrasContentTypesListParams) (*http.Request, error) { var err error @@ -81168,6 +117181,214 @@ func NewExtrasContentTypesListRequest(server string, params *ExtrasContentTypesL } + if params.AppLabelIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "app_label__ic", runtime.ParamLocationQuery, *params.AppLabelIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AppLabelIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "app_label__ie", runtime.ParamLocationQuery, *params.AppLabelIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AppLabelIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "app_label__iew", runtime.ParamLocationQuery, *params.AppLabelIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AppLabelIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "app_label__ire", runtime.ParamLocationQuery, *params.AppLabelIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AppLabelIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "app_label__isw", runtime.ParamLocationQuery, *params.AppLabelIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AppLabelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "app_label__n", runtime.ParamLocationQuery, *params.AppLabelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AppLabelNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "app_label__nic", runtime.ParamLocationQuery, *params.AppLabelNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AppLabelNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "app_label__nie", runtime.ParamLocationQuery, *params.AppLabelNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AppLabelNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "app_label__niew", runtime.ParamLocationQuery, *params.AppLabelNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AppLabelNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "app_label__nire", runtime.ParamLocationQuery, *params.AppLabelNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AppLabelNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "app_label__nisw", runtime.ParamLocationQuery, *params.AppLabelNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AppLabelNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "app_label__nre", runtime.ParamLocationQuery, *params.AppLabelNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AppLabelRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "app_label__re", runtime.ParamLocationQuery, *params.AppLabelRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -81184,6 +117405,86 @@ func NewExtrasContentTypesListRequest(server string, params *ExtrasContentTypesL } + if params.IdGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__gt", runtime.ParamLocationQuery, *params.IdGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__gte", runtime.ParamLocationQuery, *params.IdGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__lt", runtime.ParamLocationQuery, *params.IdLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__lte", runtime.ParamLocationQuery, *params.IdLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -81216,6 +117517,214 @@ func NewExtrasContentTypesListRequest(server string, params *ExtrasContentTypesL } + if params.ModelIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "model__ic", runtime.ParamLocationQuery, *params.ModelIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModelIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "model__ie", runtime.ParamLocationQuery, *params.ModelIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModelIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "model__iew", runtime.ParamLocationQuery, *params.ModelIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModelIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "model__ire", runtime.ParamLocationQuery, *params.ModelIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModelIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "model__isw", runtime.ParamLocationQuery, *params.ModelIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "model__n", runtime.ParamLocationQuery, *params.ModelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModelNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "model__nic", runtime.ParamLocationQuery, *params.ModelNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModelNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "model__nie", runtime.ParamLocationQuery, *params.ModelNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModelNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "model__niew", runtime.ParamLocationQuery, *params.ModelNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModelNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "model__nire", runtime.ParamLocationQuery, *params.ModelNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModelNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "model__nisw", runtime.ParamLocationQuery, *params.ModelNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModelNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "model__nre", runtime.ParamLocationQuery, *params.ModelNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModelRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "model__re", runtime.ParamLocationQuery, *params.ModelRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { @@ -81232,6 +117741,22 @@ func NewExtrasContentTypesListRequest(server string, params *ExtrasContentTypesL } + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + queryURL.RawQuery = queryValues.Encode() req, err := http.NewRequest("GET", queryURL.String(), nil) @@ -81276,8 +117801,19 @@ func NewExtrasContentTypesRetrieveRequest(server string, id int) (*http.Request, return req, nil } -// NewExtrasCustomFieldChoicesBulkDestroyRequest generates requests for ExtrasCustomFieldChoicesBulkDestroy -func NewExtrasCustomFieldChoicesBulkDestroyRequest(server string) (*http.Request, error) { +// NewExtrasCustomFieldChoicesBulkDestroyRequest calls the generic ExtrasCustomFieldChoicesBulkDestroy builder with application/json body +func NewExtrasCustomFieldChoicesBulkDestroyRequest(server string, body ExtrasCustomFieldChoicesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomFieldChoicesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasCustomFieldChoicesBulkDestroyRequestWithBody generates requests for ExtrasCustomFieldChoicesBulkDestroy with any type of body +func NewExtrasCustomFieldChoicesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -81295,11 +117831,13 @@ func NewExtrasCustomFieldChoicesBulkDestroyRequest(server string) (*http.Request return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -82272,8 +118810,19 @@ func NewExtrasCustomFieldChoicesUpdateRequestWithBody(server string, id openapi_ return req, nil } -// NewExtrasCustomFieldsBulkDestroyRequest generates requests for ExtrasCustomFieldsBulkDestroy -func NewExtrasCustomFieldsBulkDestroyRequest(server string) (*http.Request, error) { +// NewExtrasCustomFieldsBulkDestroyRequest calls the generic ExtrasCustomFieldsBulkDestroy builder with application/json body +func NewExtrasCustomFieldsBulkDestroyRequest(server string, body ExtrasCustomFieldsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomFieldsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasCustomFieldsBulkDestroyRequestWithBody generates requests for ExtrasCustomFieldsBulkDestroy with any type of body +func NewExtrasCustomFieldsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -82291,11 +118840,13 @@ func NewExtrasCustomFieldsBulkDestroyRequest(server string) (*http.Request, erro return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -83284,8 +119835,136 @@ func NewExtrasCustomFieldsUpdateRequestWithBody(server string, id openapi_types. return req, nil } -// NewExtrasCustomLinksBulkDestroyRequest generates requests for ExtrasCustomLinksBulkDestroy -func NewExtrasCustomLinksBulkDestroyRequest(server string) (*http.Request, error) { +// NewExtrasCustomFieldsNotesListRequest generates requests for ExtrasCustomFieldsNotesList +func NewExtrasCustomFieldsNotesListRequest(server string, id openapi_types.UUID, params *ExtrasCustomFieldsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/custom-fields/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasCustomFieldsNotesCreateRequest calls the generic ExtrasCustomFieldsNotesCreate builder with application/json body +func NewExtrasCustomFieldsNotesCreateRequest(server string, id openapi_types.UUID, body ExtrasCustomFieldsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomFieldsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasCustomFieldsNotesCreateRequestWithBody generates requests for ExtrasCustomFieldsNotesCreate with any type of body +func NewExtrasCustomFieldsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/custom-fields/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasCustomLinksBulkDestroyRequest calls the generic ExtrasCustomLinksBulkDestroy builder with application/json body +func NewExtrasCustomLinksBulkDestroyRequest(server string, body ExtrasCustomLinksBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomLinksBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasCustomLinksBulkDestroyRequestWithBody generates requests for ExtrasCustomLinksBulkDestroy with any type of body +func NewExtrasCustomLinksBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -83303,11 +119982,13 @@ func NewExtrasCustomLinksBulkDestroyRequest(server string) (*http.Request, error return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -83620,6 +120301,230 @@ func NewExtrasCustomLinksListRequest(server string, params *ExtrasCustomLinksLis } + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -84744,8 +121649,1049 @@ func NewExtrasCustomLinksUpdateRequestWithBody(server string, id openapi_types.U return req, nil } -// NewExtrasDynamicGroupsBulkDestroyRequest generates requests for ExtrasDynamicGroupsBulkDestroy -func NewExtrasDynamicGroupsBulkDestroyRequest(server string) (*http.Request, error) { +// NewExtrasCustomLinksNotesListRequest generates requests for ExtrasCustomLinksNotesList +func NewExtrasCustomLinksNotesListRequest(server string, id openapi_types.UUID, params *ExtrasCustomLinksNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/custom-links/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasCustomLinksNotesCreateRequest calls the generic ExtrasCustomLinksNotesCreate builder with application/json body +func NewExtrasCustomLinksNotesCreateRequest(server string, id openapi_types.UUID, body ExtrasCustomLinksNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasCustomLinksNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasCustomLinksNotesCreateRequestWithBody generates requests for ExtrasCustomLinksNotesCreate with any type of body +func NewExtrasCustomLinksNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/custom-links/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasDynamicGroupMembershipsBulkDestroyRequest calls the generic ExtrasDynamicGroupMembershipsBulkDestroy builder with application/json body +func NewExtrasDynamicGroupMembershipsBulkDestroyRequest(server string, body ExtrasDynamicGroupMembershipsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasDynamicGroupMembershipsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasDynamicGroupMembershipsBulkDestroyRequestWithBody generates requests for ExtrasDynamicGroupMembershipsBulkDestroy with any type of body +func NewExtrasDynamicGroupMembershipsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/dynamic-group-memberships/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasDynamicGroupMembershipsListRequest generates requests for ExtrasDynamicGroupMembershipsList +func NewExtrasDynamicGroupMembershipsListRequest(server string, params *ExtrasDynamicGroupMembershipsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/dynamic-group-memberships/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Group != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group", runtime.ParamLocationQuery, *params.Group); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.GroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group__n", runtime.ParamLocationQuery, *params.GroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Operator != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "operator", runtime.ParamLocationQuery, *params.Operator); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.OperatorN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "operator__n", runtime.ParamLocationQuery, *params.OperatorN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ParentGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent_group", runtime.ParamLocationQuery, *params.ParentGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ParentGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent_group__n", runtime.ParamLocationQuery, *params.ParentGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Weight != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight", runtime.ParamLocationQuery, *params.Weight); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WeightGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight__gt", runtime.ParamLocationQuery, *params.WeightGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WeightGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight__gte", runtime.ParamLocationQuery, *params.WeightGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WeightLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight__lt", runtime.ParamLocationQuery, *params.WeightLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WeightLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight__lte", runtime.ParamLocationQuery, *params.WeightLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WeightN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight__n", runtime.ParamLocationQuery, *params.WeightN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasDynamicGroupMembershipsBulkPartialUpdateRequest calls the generic ExtrasDynamicGroupMembershipsBulkPartialUpdate builder with application/json body +func NewExtrasDynamicGroupMembershipsBulkPartialUpdateRequest(server string, body ExtrasDynamicGroupMembershipsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasDynamicGroupMembershipsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasDynamicGroupMembershipsBulkPartialUpdateRequestWithBody generates requests for ExtrasDynamicGroupMembershipsBulkPartialUpdate with any type of body +func NewExtrasDynamicGroupMembershipsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/dynamic-group-memberships/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasDynamicGroupMembershipsCreateRequest calls the generic ExtrasDynamicGroupMembershipsCreate builder with application/json body +func NewExtrasDynamicGroupMembershipsCreateRequest(server string, body ExtrasDynamicGroupMembershipsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasDynamicGroupMembershipsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasDynamicGroupMembershipsCreateRequestWithBody generates requests for ExtrasDynamicGroupMembershipsCreate with any type of body +func NewExtrasDynamicGroupMembershipsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/dynamic-group-memberships/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasDynamicGroupMembershipsBulkUpdateRequest calls the generic ExtrasDynamicGroupMembershipsBulkUpdate builder with application/json body +func NewExtrasDynamicGroupMembershipsBulkUpdateRequest(server string, body ExtrasDynamicGroupMembershipsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasDynamicGroupMembershipsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasDynamicGroupMembershipsBulkUpdateRequestWithBody generates requests for ExtrasDynamicGroupMembershipsBulkUpdate with any type of body +func NewExtrasDynamicGroupMembershipsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/dynamic-group-memberships/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasDynamicGroupMembershipsDestroyRequest generates requests for ExtrasDynamicGroupMembershipsDestroy +func NewExtrasDynamicGroupMembershipsDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/dynamic-group-memberships/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasDynamicGroupMembershipsRetrieveRequest generates requests for ExtrasDynamicGroupMembershipsRetrieve +func NewExtrasDynamicGroupMembershipsRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/dynamic-group-memberships/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasDynamicGroupMembershipsPartialUpdateRequest calls the generic ExtrasDynamicGroupMembershipsPartialUpdate builder with application/json body +func NewExtrasDynamicGroupMembershipsPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasDynamicGroupMembershipsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasDynamicGroupMembershipsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasDynamicGroupMembershipsPartialUpdateRequestWithBody generates requests for ExtrasDynamicGroupMembershipsPartialUpdate with any type of body +func NewExtrasDynamicGroupMembershipsPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/dynamic-group-memberships/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasDynamicGroupMembershipsUpdateRequest calls the generic ExtrasDynamicGroupMembershipsUpdate builder with application/json body +func NewExtrasDynamicGroupMembershipsUpdateRequest(server string, id openapi_types.UUID, body ExtrasDynamicGroupMembershipsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasDynamicGroupMembershipsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasDynamicGroupMembershipsUpdateRequestWithBody generates requests for ExtrasDynamicGroupMembershipsUpdate with any type of body +func NewExtrasDynamicGroupMembershipsUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/dynamic-group-memberships/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasDynamicGroupsBulkDestroyRequest calls the generic ExtrasDynamicGroupsBulkDestroy builder with application/json body +func NewExtrasDynamicGroupsBulkDestroyRequest(server string, body ExtrasDynamicGroupsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasDynamicGroupsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasDynamicGroupsBulkDestroyRequestWithBody generates requests for ExtrasDynamicGroupsBulkDestroy with any type of body +func NewExtrasDynamicGroupsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -84763,11 +122709,13 @@ func NewExtrasDynamicGroupsBulkDestroyRequest(server string) (*http.Request, err return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -86190,8 +124138,136 @@ func NewExtrasDynamicGroupsMembersRetrieveRequest(server string, id openapi_type return req, nil } -// NewExtrasExportTemplatesBulkDestroyRequest generates requests for ExtrasExportTemplatesBulkDestroy -func NewExtrasExportTemplatesBulkDestroyRequest(server string) (*http.Request, error) { +// NewExtrasDynamicGroupsNotesListRequest generates requests for ExtrasDynamicGroupsNotesList +func NewExtrasDynamicGroupsNotesListRequest(server string, id openapi_types.UUID, params *ExtrasDynamicGroupsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/dynamic-groups/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasDynamicGroupsNotesCreateRequest calls the generic ExtrasDynamicGroupsNotesCreate builder with application/json body +func NewExtrasDynamicGroupsNotesCreateRequest(server string, id openapi_types.UUID, body ExtrasDynamicGroupsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasDynamicGroupsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasDynamicGroupsNotesCreateRequestWithBody generates requests for ExtrasDynamicGroupsNotesCreate with any type of body +func NewExtrasDynamicGroupsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/dynamic-groups/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasExportTemplatesBulkDestroyRequest calls the generic ExtrasExportTemplatesBulkDestroy builder with application/json body +func NewExtrasExportTemplatesBulkDestroyRequest(server string, body ExtrasExportTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasExportTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasExportTemplatesBulkDestroyRequestWithBody generates requests for ExtrasExportTemplatesBulkDestroy with any type of body +func NewExtrasExportTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -86209,11 +124285,13 @@ func NewExtrasExportTemplatesBulkDestroyRequest(server string) (*http.Request, e return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -87314,8 +125392,136 @@ func NewExtrasExportTemplatesUpdateRequestWithBody(server string, id openapi_typ return req, nil } -// NewExtrasGitRepositoriesBulkDestroyRequest generates requests for ExtrasGitRepositoriesBulkDestroy -func NewExtrasGitRepositoriesBulkDestroyRequest(server string) (*http.Request, error) { +// NewExtrasExportTemplatesNotesListRequest generates requests for ExtrasExportTemplatesNotesList +func NewExtrasExportTemplatesNotesListRequest(server string, id openapi_types.UUID, params *ExtrasExportTemplatesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/export-templates/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasExportTemplatesNotesCreateRequest calls the generic ExtrasExportTemplatesNotesCreate builder with application/json body +func NewExtrasExportTemplatesNotesCreateRequest(server string, id openapi_types.UUID, body ExtrasExportTemplatesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasExportTemplatesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasExportTemplatesNotesCreateRequestWithBody generates requests for ExtrasExportTemplatesNotesCreate with any type of body +func NewExtrasExportTemplatesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/export-templates/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasGitRepositoriesBulkDestroyRequest calls the generic ExtrasGitRepositoriesBulkDestroy builder with application/json body +func NewExtrasGitRepositoriesBulkDestroyRequest(server string, body ExtrasGitRepositoriesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasGitRepositoriesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasGitRepositoriesBulkDestroyRequestWithBody generates requests for ExtrasGitRepositoriesBulkDestroy with any type of body +func NewExtrasGitRepositoriesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -87333,11 +125539,13 @@ func NewExtrasGitRepositoriesBulkDestroyRequest(server string) (*http.Request, e return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -88162,6 +126370,22 @@ func NewExtrasGitRepositoriesListRequest(server string, params *ExtrasGitReposit } + if params.ProvidedContents != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provided_contents", runtime.ParamLocationQuery, *params.ProvidedContents); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Q != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { @@ -89014,6 +127238,123 @@ func NewExtrasGitRepositoriesUpdateRequestWithBody(server string, id openapi_typ return req, nil } +// NewExtrasGitRepositoriesNotesListRequest generates requests for ExtrasGitRepositoriesNotesList +func NewExtrasGitRepositoriesNotesListRequest(server string, id openapi_types.UUID, params *ExtrasGitRepositoriesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/git-repositories/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasGitRepositoriesNotesCreateRequest calls the generic ExtrasGitRepositoriesNotesCreate builder with application/json body +func NewExtrasGitRepositoriesNotesCreateRequest(server string, id openapi_types.UUID, body ExtrasGitRepositoriesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasGitRepositoriesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasGitRepositoriesNotesCreateRequestWithBody generates requests for ExtrasGitRepositoriesNotesCreate with any type of body +func NewExtrasGitRepositoriesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/git-repositories/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewExtrasGitRepositoriesSyncCreateRequest calls the generic ExtrasGitRepositoriesSyncCreate builder with application/json body func NewExtrasGitRepositoriesSyncCreateRequest(server string, id openapi_types.UUID, body ExtrasGitRepositoriesSyncCreateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader @@ -89061,8 +127402,19 @@ func NewExtrasGitRepositoriesSyncCreateRequestWithBody(server string, id openapi return req, nil } -// NewExtrasGraphqlQueriesBulkDestroyRequest generates requests for ExtrasGraphqlQueriesBulkDestroy -func NewExtrasGraphqlQueriesBulkDestroyRequest(server string) (*http.Request, error) { +// NewExtrasGraphqlQueriesBulkDestroyRequest calls the generic ExtrasGraphqlQueriesBulkDestroy builder with application/json body +func NewExtrasGraphqlQueriesBulkDestroyRequest(server string, body ExtrasGraphqlQueriesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasGraphqlQueriesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasGraphqlQueriesBulkDestroyRequestWithBody generates requests for ExtrasGraphqlQueriesBulkDestroy with any type of body +func NewExtrasGraphqlQueriesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -89080,11 +127432,13 @@ func NewExtrasGraphqlQueriesBulkDestroyRequest(server string) (*http.Request, er return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -89109,6 +127463,230 @@ func NewExtrasGraphqlQueriesListRequest(server string, params *ExtrasGraphqlQuer queryValues := queryURL.Query() + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -89897,6 +128475,123 @@ func NewExtrasGraphqlQueriesUpdateRequestWithBody(server string, id openapi_type return req, nil } +// NewExtrasGraphqlQueriesNotesListRequest generates requests for ExtrasGraphqlQueriesNotesList +func NewExtrasGraphqlQueriesNotesListRequest(server string, id openapi_types.UUID, params *ExtrasGraphqlQueriesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/graphql-queries/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasGraphqlQueriesNotesCreateRequest calls the generic ExtrasGraphqlQueriesNotesCreate builder with application/json body +func NewExtrasGraphqlQueriesNotesCreateRequest(server string, id openapi_types.UUID, body ExtrasGraphqlQueriesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasGraphqlQueriesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasGraphqlQueriesNotesCreateRequestWithBody generates requests for ExtrasGraphqlQueriesNotesCreate with any type of body +func NewExtrasGraphqlQueriesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/graphql-queries/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewExtrasGraphqlQueriesRunCreateRequest calls the generic ExtrasGraphqlQueriesRunCreate builder with application/json body func NewExtrasGraphqlQueriesRunCreateRequest(server string, id openapi_types.UUID, body ExtrasGraphqlQueriesRunCreateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader @@ -89944,8 +128639,19 @@ func NewExtrasGraphqlQueriesRunCreateRequestWithBody(server string, id openapi_t return req, nil } -// NewExtrasImageAttachmentsBulkDestroyRequest generates requests for ExtrasImageAttachmentsBulkDestroy -func NewExtrasImageAttachmentsBulkDestroyRequest(server string) (*http.Request, error) { +// NewExtrasImageAttachmentsBulkDestroyRequest calls the generic ExtrasImageAttachmentsBulkDestroy builder with application/json body +func NewExtrasImageAttachmentsBulkDestroyRequest(server string, body ExtrasImageAttachmentsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasImageAttachmentsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasImageAttachmentsBulkDestroyRequestWithBody generates requests for ExtrasImageAttachmentsBulkDestroy with any type of body +func NewExtrasImageAttachmentsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -89963,11 +128669,13 @@ func NewExtrasImageAttachmentsBulkDestroyRequest(server string) (*http.Request, return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -91052,6 +129760,1324 @@ func NewExtrasImageAttachmentsUpdateRequestWithBody(server string, id openapi_ty return req, nil } +// NewExtrasJobHooksBulkDestroyRequest calls the generic ExtrasJobHooksBulkDestroy builder with application/json body +func NewExtrasJobHooksBulkDestroyRequest(server string, body ExtrasJobHooksBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJobHooksBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasJobHooksBulkDestroyRequestWithBody generates requests for ExtrasJobHooksBulkDestroy with any type of body +func NewExtrasJobHooksBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/job-hooks/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasJobHooksListRequest generates requests for ExtrasJobHooksList +func NewExtrasJobHooksListRequest(server string, params *ExtrasJobHooksListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/job-hooks/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.ContentTypes != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types", runtime.ParamLocationQuery, *params.ContentTypes); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContentTypesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "content_types__n", runtime.ParamLocationQuery, *params.ContentTypesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Enabled != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "enabled", runtime.ParamLocationQuery, *params.Enabled); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Job != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job", runtime.ParamLocationQuery, *params.Job); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JobN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job__n", runtime.ParamLocationQuery, *params.JobN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Name != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Slug != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug", runtime.ParamLocationQuery, *params.Slug); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__ic", runtime.ParamLocationQuery, *params.SlugIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__ie", runtime.ParamLocationQuery, *params.SlugIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__iew", runtime.ParamLocationQuery, *params.SlugIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__ire", runtime.ParamLocationQuery, *params.SlugIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__isw", runtime.ParamLocationQuery, *params.SlugIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__n", runtime.ParamLocationQuery, *params.SlugN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nic", runtime.ParamLocationQuery, *params.SlugNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nie", runtime.ParamLocationQuery, *params.SlugNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__niew", runtime.ParamLocationQuery, *params.SlugNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nire", runtime.ParamLocationQuery, *params.SlugNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nisw", runtime.ParamLocationQuery, *params.SlugNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nre", runtime.ParamLocationQuery, *params.SlugNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__re", runtime.ParamLocationQuery, *params.SlugRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TypeCreate != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type_create", runtime.ParamLocationQuery, *params.TypeCreate); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TypeDelete != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type_delete", runtime.ParamLocationQuery, *params.TypeDelete); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TypeUpdate != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type_update", runtime.ParamLocationQuery, *params.TypeUpdate); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasJobHooksBulkPartialUpdateRequest calls the generic ExtrasJobHooksBulkPartialUpdate builder with application/json body +func NewExtrasJobHooksBulkPartialUpdateRequest(server string, body ExtrasJobHooksBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJobHooksBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasJobHooksBulkPartialUpdateRequestWithBody generates requests for ExtrasJobHooksBulkPartialUpdate with any type of body +func NewExtrasJobHooksBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/job-hooks/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasJobHooksCreateRequest calls the generic ExtrasJobHooksCreate builder with application/json body +func NewExtrasJobHooksCreateRequest(server string, body ExtrasJobHooksCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJobHooksCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasJobHooksCreateRequestWithBody generates requests for ExtrasJobHooksCreate with any type of body +func NewExtrasJobHooksCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/job-hooks/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasJobHooksBulkUpdateRequest calls the generic ExtrasJobHooksBulkUpdate builder with application/json body +func NewExtrasJobHooksBulkUpdateRequest(server string, body ExtrasJobHooksBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJobHooksBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasJobHooksBulkUpdateRequestWithBody generates requests for ExtrasJobHooksBulkUpdate with any type of body +func NewExtrasJobHooksBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/job-hooks/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasJobHooksDestroyRequest generates requests for ExtrasJobHooksDestroy +func NewExtrasJobHooksDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/job-hooks/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasJobHooksRetrieveRequest generates requests for ExtrasJobHooksRetrieve +func NewExtrasJobHooksRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/job-hooks/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasJobHooksPartialUpdateRequest calls the generic ExtrasJobHooksPartialUpdate builder with application/json body +func NewExtrasJobHooksPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasJobHooksPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJobHooksPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasJobHooksPartialUpdateRequestWithBody generates requests for ExtrasJobHooksPartialUpdate with any type of body +func NewExtrasJobHooksPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/job-hooks/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasJobHooksUpdateRequest calls the generic ExtrasJobHooksUpdate builder with application/json body +func NewExtrasJobHooksUpdateRequest(server string, id openapi_types.UUID, body ExtrasJobHooksUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJobHooksUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasJobHooksUpdateRequestWithBody generates requests for ExtrasJobHooksUpdate with any type of body +func NewExtrasJobHooksUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/job-hooks/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasJobHooksNotesListRequest generates requests for ExtrasJobHooksNotesList +func NewExtrasJobHooksNotesListRequest(server string, id openapi_types.UUID, params *ExtrasJobHooksNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/job-hooks/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasJobHooksNotesCreateRequest calls the generic ExtrasJobHooksNotesCreate builder with application/json body +func NewExtrasJobHooksNotesCreateRequest(server string, id openapi_types.UUID, body ExtrasJobHooksNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJobHooksNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasJobHooksNotesCreateRequestWithBody generates requests for ExtrasJobHooksNotesCreate with any type of body +func NewExtrasJobHooksNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/job-hooks/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewExtrasJobLogsListRequest generates requests for ExtrasJobLogsList func NewExtrasJobLogsListRequest(server string, params *ExtrasJobLogsListParams) (*http.Request, error) { var err error @@ -92445,8 +132471,19 @@ func NewExtrasJobLogsRetrieveRequest(server string, id openapi_types.UUID) (*htt return req, nil } -// NewExtrasJobResultsBulkDestroyRequest generates requests for ExtrasJobResultsBulkDestroy -func NewExtrasJobResultsBulkDestroyRequest(server string) (*http.Request, error) { +// NewExtrasJobResultsBulkDestroyRequest calls the generic ExtrasJobResultsBulkDestroy builder with application/json body +func NewExtrasJobResultsBulkDestroyRequest(server string, body ExtrasJobResultsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJobResultsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasJobResultsBulkDestroyRequestWithBody generates requests for ExtrasJobResultsBulkDestroy with any type of body +func NewExtrasJobResultsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -92464,11 +132501,13 @@ func NewExtrasJobResultsBulkDestroyRequest(server string) (*http.Request, error) return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -93191,126 +133230,6 @@ func NewExtrasJobResultsListRequest(server string, params *ExtrasJobResultsListP return req, nil } -// NewExtrasJobResultsBulkPartialUpdateRequest calls the generic ExtrasJobResultsBulkPartialUpdate builder with application/json body -func NewExtrasJobResultsBulkPartialUpdateRequest(server string, body ExtrasJobResultsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewExtrasJobResultsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) -} - -// NewExtrasJobResultsBulkPartialUpdateRequestWithBody generates requests for ExtrasJobResultsBulkPartialUpdate with any type of body -func NewExtrasJobResultsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/extras/job-results/") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PATCH", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewExtrasJobResultsCreateRequest calls the generic ExtrasJobResultsCreate builder with application/json body -func NewExtrasJobResultsCreateRequest(server string, body ExtrasJobResultsCreateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewExtrasJobResultsCreateRequestWithBody(server, "application/json", bodyReader) -} - -// NewExtrasJobResultsCreateRequestWithBody generates requests for ExtrasJobResultsCreate with any type of body -func NewExtrasJobResultsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/extras/job-results/") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewExtrasJobResultsBulkUpdateRequest calls the generic ExtrasJobResultsBulkUpdate builder with application/json body -func NewExtrasJobResultsBulkUpdateRequest(server string, body ExtrasJobResultsBulkUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewExtrasJobResultsBulkUpdateRequestWithBody(server, "application/json", bodyReader) -} - -// NewExtrasJobResultsBulkUpdateRequestWithBody generates requests for ExtrasJobResultsBulkUpdate with any type of body -func NewExtrasJobResultsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/extras/job-results/") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - // NewExtrasJobResultsDestroyRequest generates requests for ExtrasJobResultsDestroy func NewExtrasJobResultsDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { var err error @@ -93379,100 +133298,6 @@ func NewExtrasJobResultsRetrieveRequest(server string, id openapi_types.UUID) (* return req, nil } -// NewExtrasJobResultsPartialUpdateRequest calls the generic ExtrasJobResultsPartialUpdate builder with application/json body -func NewExtrasJobResultsPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasJobResultsPartialUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewExtrasJobResultsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) -} - -// NewExtrasJobResultsPartialUpdateRequestWithBody generates requests for ExtrasJobResultsPartialUpdate with any type of body -func NewExtrasJobResultsPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/extras/job-results/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PATCH", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewExtrasJobResultsUpdateRequest calls the generic ExtrasJobResultsUpdate builder with application/json body -func NewExtrasJobResultsUpdateRequest(server string, id openapi_types.UUID, body ExtrasJobResultsUpdateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewExtrasJobResultsUpdateRequestWithBody(server, id, "application/json", bodyReader) -} - -// NewExtrasJobResultsUpdateRequestWithBody generates requests for ExtrasJobResultsUpdate with any type of body -func NewExtrasJobResultsUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/extras/job-results/%s/", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - // NewExtrasJobResultsLogsRetrieveRequest generates requests for ExtrasJobResultsLogsRetrieve func NewExtrasJobResultsLogsRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { var err error @@ -93507,8 +133332,19 @@ func NewExtrasJobResultsLogsRetrieveRequest(server string, id openapi_types.UUID return req, nil } -// NewExtrasJobsBulkDestroyRequest generates requests for ExtrasJobsBulkDestroy -func NewExtrasJobsBulkDestroyRequest(server string) (*http.Request, error) { +// NewExtrasJobsBulkDestroyRequest calls the generic ExtrasJobsBulkDestroy builder with application/json body +func NewExtrasJobsBulkDestroyRequest(server string, body ExtrasJobsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJobsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasJobsBulkDestroyRequestWithBody generates requests for ExtrasJobsBulkDestroy with any type of body +func NewExtrasJobsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -93526,11 +133362,13 @@ func NewExtrasJobsBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -93891,6 +133729,38 @@ func NewExtrasJobsListRequest(server string, params *ExtrasJobsListParams) (*htt } + if params.HasSensitiveVariables != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_sensitive_variables", runtime.ParamLocationQuery, *params.HasSensitiveVariables); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasSensitiveVariablesOverride != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_sensitive_variables_override", runtime.ParamLocationQuery, *params.HasSensitiveVariablesOverride); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Hidden != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "hidden", runtime.ParamLocationQuery, *params.Hidden); err != nil { @@ -94163,6 +134033,22 @@ func NewExtrasJobsListRequest(server string, params *ExtrasJobsListParams) (*htt } + if params.IsJobHookReceiver != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "is_job_hook_receiver", runtime.ParamLocationQuery, *params.IsJobHookReceiver); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.JobClassName != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "job_class_name", runtime.ParamLocationQuery, *params.JobClassName); err != nil { @@ -95776,6 +135662,123 @@ func NewExtrasJobsUpdateRequestWithBody(server string, id openapi_types.UUID, co return req, nil } +// NewExtrasJobsNotesListRequest generates requests for ExtrasJobsNotesList +func NewExtrasJobsNotesListRequest(server string, id openapi_types.UUID, params *ExtrasJobsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/jobs/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasJobsNotesCreateRequest calls the generic ExtrasJobsNotesCreate builder with application/json body +func NewExtrasJobsNotesCreateRequest(server string, id openapi_types.UUID, body ExtrasJobsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasJobsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasJobsNotesCreateRequestWithBody generates requests for ExtrasJobsNotesCreate with any type of body +func NewExtrasJobsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/jobs/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewExtrasJobsRunCreateRequest calls the generic ExtrasJobsRunCreate builder with application/json body func NewExtrasJobsRunCreateRequest(server string, id openapi_types.UUID, body ExtrasJobsRunCreateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader @@ -95893,6 +135896,1399 @@ func NewExtrasJobsVariablesListRequest(server string, id openapi_types.UUID, par return req, nil } +// NewExtrasNotesBulkDestroyRequest calls the generic ExtrasNotesBulkDestroy builder with application/json body +func NewExtrasNotesBulkDestroyRequest(server string, body ExtrasNotesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasNotesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasNotesBulkDestroyRequestWithBody generates requests for ExtrasNotesBulkDestroy with any type of body +func NewExtrasNotesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/notes/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasNotesListRequest generates requests for ExtrasNotesList +func NewExtrasNotesListRequest(server string, params *ExtrasNotesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/notes/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.AssignedObjectId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_id", runtime.ParamLocationQuery, *params.AssignedObjectId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectIdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_id__ic", runtime.ParamLocationQuery, *params.AssignedObjectIdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectIdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_id__ie", runtime.ParamLocationQuery, *params.AssignedObjectIdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectIdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_id__iew", runtime.ParamLocationQuery, *params.AssignedObjectIdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectIdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_id__ire", runtime.ParamLocationQuery, *params.AssignedObjectIdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectIdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_id__isw", runtime.ParamLocationQuery, *params.AssignedObjectIdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_id__n", runtime.ParamLocationQuery, *params.AssignedObjectIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectIdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_id__nic", runtime.ParamLocationQuery, *params.AssignedObjectIdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectIdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_id__nie", runtime.ParamLocationQuery, *params.AssignedObjectIdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectIdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_id__niew", runtime.ParamLocationQuery, *params.AssignedObjectIdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectIdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_id__nire", runtime.ParamLocationQuery, *params.AssignedObjectIdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectIdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_id__nisw", runtime.ParamLocationQuery, *params.AssignedObjectIdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectIdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_id__nre", runtime.ParamLocationQuery, *params.AssignedObjectIdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectIdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_id__re", runtime.ParamLocationQuery, *params.AssignedObjectIdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectType != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_type", runtime.ParamLocationQuery, *params.AssignedObjectType); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_type__n", runtime.ParamLocationQuery, *params.AssignedObjectTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectTypeId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_type_id", runtime.ParamLocationQuery, *params.AssignedObjectTypeId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedObjectTypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_object_type_id__n", runtime.ParamLocationQuery, *params.AssignedObjectTypeIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Note != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "note", runtime.ParamLocationQuery, *params.Note); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NoteIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "note__ic", runtime.ParamLocationQuery, *params.NoteIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NoteIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "note__ie", runtime.ParamLocationQuery, *params.NoteIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NoteIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "note__iew", runtime.ParamLocationQuery, *params.NoteIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NoteIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "note__ire", runtime.ParamLocationQuery, *params.NoteIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NoteIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "note__isw", runtime.ParamLocationQuery, *params.NoteIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NoteN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "note__n", runtime.ParamLocationQuery, *params.NoteN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NoteNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "note__nic", runtime.ParamLocationQuery, *params.NoteNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NoteNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "note__nie", runtime.ParamLocationQuery, *params.NoteNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NoteNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "note__niew", runtime.ParamLocationQuery, *params.NoteNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NoteNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "note__nire", runtime.ParamLocationQuery, *params.NoteNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NoteNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "note__nisw", runtime.ParamLocationQuery, *params.NoteNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NoteNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "note__nre", runtime.ParamLocationQuery, *params.NoteNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NoteRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "note__re", runtime.ParamLocationQuery, *params.NoteRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.User != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user", runtime.ParamLocationQuery, *params.User); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user__n", runtime.ParamLocationQuery, *params.UserN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserName != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_name", runtime.ParamLocationQuery, *params.UserName); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserNameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_name__ic", runtime.ParamLocationQuery, *params.UserNameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserNameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_name__ie", runtime.ParamLocationQuery, *params.UserNameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserNameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_name__iew", runtime.ParamLocationQuery, *params.UserNameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserNameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_name__ire", runtime.ParamLocationQuery, *params.UserNameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserNameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_name__isw", runtime.ParamLocationQuery, *params.UserNameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserNameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_name__n", runtime.ParamLocationQuery, *params.UserNameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserNameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_name__nic", runtime.ParamLocationQuery, *params.UserNameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserNameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_name__nie", runtime.ParamLocationQuery, *params.UserNameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserNameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_name__niew", runtime.ParamLocationQuery, *params.UserNameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserNameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_name__nire", runtime.ParamLocationQuery, *params.UserNameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserNameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_name__nisw", runtime.ParamLocationQuery, *params.UserNameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserNameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_name__nre", runtime.ParamLocationQuery, *params.UserNameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserNameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_name__re", runtime.ParamLocationQuery, *params.UserNameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasNotesBulkPartialUpdateRequest calls the generic ExtrasNotesBulkPartialUpdate builder with application/json body +func NewExtrasNotesBulkPartialUpdateRequest(server string, body ExtrasNotesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasNotesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasNotesBulkPartialUpdateRequestWithBody generates requests for ExtrasNotesBulkPartialUpdate with any type of body +func NewExtrasNotesBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/notes/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasNotesCreateRequest calls the generic ExtrasNotesCreate builder with application/json body +func NewExtrasNotesCreateRequest(server string, body ExtrasNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasNotesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasNotesCreateRequestWithBody generates requests for ExtrasNotesCreate with any type of body +func NewExtrasNotesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/notes/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasNotesBulkUpdateRequest calls the generic ExtrasNotesBulkUpdate builder with application/json body +func NewExtrasNotesBulkUpdateRequest(server string, body ExtrasNotesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasNotesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasNotesBulkUpdateRequestWithBody generates requests for ExtrasNotesBulkUpdate with any type of body +func NewExtrasNotesBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/notes/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasNotesDestroyRequest generates requests for ExtrasNotesDestroy +func NewExtrasNotesDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/notes/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasNotesRetrieveRequest generates requests for ExtrasNotesRetrieve +func NewExtrasNotesRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/notes/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasNotesPartialUpdateRequest calls the generic ExtrasNotesPartialUpdate builder with application/json body +func NewExtrasNotesPartialUpdateRequest(server string, id openapi_types.UUID, body ExtrasNotesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasNotesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasNotesPartialUpdateRequestWithBody generates requests for ExtrasNotesPartialUpdate with any type of body +func NewExtrasNotesPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/notes/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasNotesUpdateRequest calls the generic ExtrasNotesUpdate builder with application/json body +func NewExtrasNotesUpdateRequest(server string, id openapi_types.UUID, body ExtrasNotesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasNotesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasNotesUpdateRequestWithBody generates requests for ExtrasNotesUpdate with any type of body +func NewExtrasNotesUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/notes/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewExtrasObjectChangesListRequest generates requests for ExtrasObjectChangesList func NewExtrasObjectChangesListRequest(server string, params *ExtrasObjectChangesListParams) (*http.Request, error) { var err error @@ -97382,8 +138778,19 @@ func NewExtrasObjectChangesRetrieveRequest(server string, id openapi_types.UUID) return req, nil } -// NewExtrasRelationshipAssociationsBulkDestroyRequest generates requests for ExtrasRelationshipAssociationsBulkDestroy -func NewExtrasRelationshipAssociationsBulkDestroyRequest(server string) (*http.Request, error) { +// NewExtrasRelationshipAssociationsBulkDestroyRequest calls the generic ExtrasRelationshipAssociationsBulkDestroy builder with application/json body +func NewExtrasRelationshipAssociationsBulkDestroyRequest(server string, body ExtrasRelationshipAssociationsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasRelationshipAssociationsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasRelationshipAssociationsBulkDestroyRequestWithBody generates requests for ExtrasRelationshipAssociationsBulkDestroy with any type of body +func NewExtrasRelationshipAssociationsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -97401,11 +138808,13 @@ func NewExtrasRelationshipAssociationsBulkDestroyRequest(server string) (*http.R return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -97942,6 +139351,22 @@ func NewExtrasRelationshipAssociationsListRequest(server string, params *ExtrasR } + if params.PeerId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "peer_id", runtime.ParamLocationQuery, *params.PeerId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Relationship != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "relationship", runtime.ParamLocationQuery, *params.Relationship); err != nil { @@ -98522,8 +139947,19 @@ func NewExtrasRelationshipAssociationsUpdateRequestWithBody(server string, id op return req, nil } -// NewExtrasRelationshipsBulkDestroyRequest generates requests for ExtrasRelationshipsBulkDestroy -func NewExtrasRelationshipsBulkDestroyRequest(server string) (*http.Request, error) { +// NewExtrasRelationshipsBulkDestroyRequest calls the generic ExtrasRelationshipsBulkDestroy builder with application/json body +func NewExtrasRelationshipsBulkDestroyRequest(server string, body ExtrasRelationshipsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasRelationshipsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasRelationshipsBulkDestroyRequestWithBody generates requests for ExtrasRelationshipsBulkDestroy with any type of body +func NewExtrasRelationshipsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -98541,11 +139977,13 @@ func NewExtrasRelationshipsBulkDestroyRequest(server string) (*http.Request, err return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -99082,6 +140520,246 @@ func NewExtrasRelationshipsListRequest(server string, params *ExtrasRelationship } + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Slug != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug", runtime.ParamLocationQuery, *params.Slug); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__ic", runtime.ParamLocationQuery, *params.SlugIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__ie", runtime.ParamLocationQuery, *params.SlugIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__iew", runtime.ParamLocationQuery, *params.SlugIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__ire", runtime.ParamLocationQuery, *params.SlugIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__isw", runtime.ParamLocationQuery, *params.SlugIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__n", runtime.ParamLocationQuery, *params.SlugN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nic", runtime.ParamLocationQuery, *params.SlugNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nie", runtime.ParamLocationQuery, *params.SlugNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__niew", runtime.ParamLocationQuery, *params.SlugNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nire", runtime.ParamLocationQuery, *params.SlugNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nisw", runtime.ParamLocationQuery, *params.SlugNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nre", runtime.ParamLocationQuery, *params.SlugNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__re", runtime.ParamLocationQuery, *params.SlugRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.SourceType != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "source_type", runtime.ParamLocationQuery, *params.SourceType); err != nil { @@ -99438,6 +141116,123 @@ func NewExtrasRelationshipsUpdateRequestWithBody(server string, id openapi_types return req, nil } +// NewExtrasRelationshipsNotesListRequest generates requests for ExtrasRelationshipsNotesList +func NewExtrasRelationshipsNotesListRequest(server string, id openapi_types.UUID, params *ExtrasRelationshipsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/relationships/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasRelationshipsNotesCreateRequest calls the generic ExtrasRelationshipsNotesCreate builder with application/json body +func NewExtrasRelationshipsNotesCreateRequest(server string, id openapi_types.UUID, body ExtrasRelationshipsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasRelationshipsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasRelationshipsNotesCreateRequestWithBody generates requests for ExtrasRelationshipsNotesCreate with any type of body +func NewExtrasRelationshipsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/relationships/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewExtrasScheduledJobsListRequest generates requests for ExtrasScheduledJobsList func NewExtrasScheduledJobsListRequest(server string, params *ExtrasScheduledJobsListParams) (*http.Request, error) { var err error @@ -100313,8 +142108,19 @@ func NewExtrasScheduledJobsDryRunCreateRequest(server string, id openapi_types.U return req, nil } -// NewExtrasSecretsGroupsAssociationsBulkDestroyRequest generates requests for ExtrasSecretsGroupsAssociationsBulkDestroy -func NewExtrasSecretsGroupsAssociationsBulkDestroyRequest(server string) (*http.Request, error) { +// NewExtrasSecretsGroupsAssociationsBulkDestroyRequest calls the generic ExtrasSecretsGroupsAssociationsBulkDestroy builder with application/json body +func NewExtrasSecretsGroupsAssociationsBulkDestroyRequest(server string, body ExtrasSecretsGroupsAssociationsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSecretsGroupsAssociationsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasSecretsGroupsAssociationsBulkDestroyRequestWithBody generates requests for ExtrasSecretsGroupsAssociationsBulkDestroy with any type of body +func NewExtrasSecretsGroupsAssociationsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -100332,11 +142138,13 @@ func NewExtrasSecretsGroupsAssociationsBulkDestroyRequest(server string) (*http. return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -101101,8 +142909,19 @@ func NewExtrasSecretsGroupsAssociationsUpdateRequestWithBody(server string, id o return req, nil } -// NewExtrasSecretsGroupsBulkDestroyRequest generates requests for ExtrasSecretsGroupsBulkDestroy -func NewExtrasSecretsGroupsBulkDestroyRequest(server string) (*http.Request, error) { +// NewExtrasSecretsGroupsBulkDestroyRequest calls the generic ExtrasSecretsGroupsBulkDestroy builder with application/json body +func NewExtrasSecretsGroupsBulkDestroyRequest(server string, body ExtrasSecretsGroupsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSecretsGroupsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasSecretsGroupsBulkDestroyRequestWithBody generates requests for ExtrasSecretsGroupsBulkDestroy with any type of body +func NewExtrasSecretsGroupsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -101120,11 +142939,13 @@ func NewExtrasSecretsGroupsBulkDestroyRequest(server string) (*http.Request, err return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -102257,8 +144078,136 @@ func NewExtrasSecretsGroupsUpdateRequestWithBody(server string, id openapi_types return req, nil } -// NewExtrasSecretsBulkDestroyRequest generates requests for ExtrasSecretsBulkDestroy -func NewExtrasSecretsBulkDestroyRequest(server string) (*http.Request, error) { +// NewExtrasSecretsGroupsNotesListRequest generates requests for ExtrasSecretsGroupsNotesList +func NewExtrasSecretsGroupsNotesListRequest(server string, id openapi_types.UUID, params *ExtrasSecretsGroupsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/secrets-groups/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasSecretsGroupsNotesCreateRequest calls the generic ExtrasSecretsGroupsNotesCreate builder with application/json body +func NewExtrasSecretsGroupsNotesCreateRequest(server string, id openapi_types.UUID, body ExtrasSecretsGroupsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSecretsGroupsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasSecretsGroupsNotesCreateRequestWithBody generates requests for ExtrasSecretsGroupsNotesCreate with any type of body +func NewExtrasSecretsGroupsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/secrets-groups/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasSecretsBulkDestroyRequest calls the generic ExtrasSecretsBulkDestroy builder with application/json body +func NewExtrasSecretsBulkDestroyRequest(server string, body ExtrasSecretsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSecretsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasSecretsBulkDestroyRequestWithBody generates requests for ExtrasSecretsBulkDestroy with any type of body +func NewExtrasSecretsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -102276,11 +144225,13 @@ func NewExtrasSecretsBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -103637,8 +145588,136 @@ func NewExtrasSecretsUpdateRequestWithBody(server string, id openapi_types.UUID, return req, nil } -// NewExtrasStatusesBulkDestroyRequest generates requests for ExtrasStatusesBulkDestroy -func NewExtrasStatusesBulkDestroyRequest(server string) (*http.Request, error) { +// NewExtrasSecretsNotesListRequest generates requests for ExtrasSecretsNotesList +func NewExtrasSecretsNotesListRequest(server string, id openapi_types.UUID, params *ExtrasSecretsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/secrets/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasSecretsNotesCreateRequest calls the generic ExtrasSecretsNotesCreate builder with application/json body +func NewExtrasSecretsNotesCreateRequest(server string, id openapi_types.UUID, body ExtrasSecretsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasSecretsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasSecretsNotesCreateRequestWithBody generates requests for ExtrasSecretsNotesCreate with any type of body +func NewExtrasSecretsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/secrets/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasStatusesBulkDestroyRequest calls the generic ExtrasStatusesBulkDestroy builder with application/json body +func NewExtrasStatusesBulkDestroyRequest(server string, body ExtrasStatusesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasStatusesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasStatusesBulkDestroyRequestWithBody generates requests for ExtrasStatusesBulkDestroy with any type of body +func NewExtrasStatusesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -103656,11 +145735,13 @@ func NewExtrasStatusesBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -105049,8 +147130,136 @@ func NewExtrasStatusesUpdateRequestWithBody(server string, id openapi_types.UUID return req, nil } -// NewExtrasTagsBulkDestroyRequest generates requests for ExtrasTagsBulkDestroy -func NewExtrasTagsBulkDestroyRequest(server string) (*http.Request, error) { +// NewExtrasStatusesNotesListRequest generates requests for ExtrasStatusesNotesList +func NewExtrasStatusesNotesListRequest(server string, id openapi_types.UUID, params *ExtrasStatusesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/statuses/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasStatusesNotesCreateRequest calls the generic ExtrasStatusesNotesCreate builder with application/json body +func NewExtrasStatusesNotesCreateRequest(server string, id openapi_types.UUID, body ExtrasStatusesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasStatusesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasStatusesNotesCreateRequestWithBody generates requests for ExtrasStatusesNotesCreate with any type of body +func NewExtrasStatusesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/statuses/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasTagsBulkDestroyRequest calls the generic ExtrasTagsBulkDestroy builder with application/json body +func NewExtrasTagsBulkDestroyRequest(server string, body ExtrasTagsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasTagsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasTagsBulkDestroyRequestWithBody generates requests for ExtrasTagsBulkDestroy with any type of body +func NewExtrasTagsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -105068,11 +147277,13 @@ func NewExtrasTagsBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -106461,8 +148672,136 @@ func NewExtrasTagsUpdateRequestWithBody(server string, id openapi_types.UUID, co return req, nil } -// NewExtrasWebhooksBulkDestroyRequest generates requests for ExtrasWebhooksBulkDestroy -func NewExtrasWebhooksBulkDestroyRequest(server string) (*http.Request, error) { +// NewExtrasTagsNotesListRequest generates requests for ExtrasTagsNotesList +func NewExtrasTagsNotesListRequest(server string, id openapi_types.UUID, params *ExtrasTagsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/tags/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasTagsNotesCreateRequest calls the generic ExtrasTagsNotesCreate builder with application/json body +func NewExtrasTagsNotesCreateRequest(server string, id openapi_types.UUID, body ExtrasTagsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasTagsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasTagsNotesCreateRequestWithBody generates requests for ExtrasTagsNotesCreate with any type of body +func NewExtrasTagsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/tags/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewExtrasWebhooksBulkDestroyRequest calls the generic ExtrasWebhooksBulkDestroy builder with application/json body +func NewExtrasWebhooksBulkDestroyRequest(server string, body ExtrasWebhooksBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasWebhooksBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewExtrasWebhooksBulkDestroyRequestWithBody generates requests for ExtrasWebhooksBulkDestroy with any type of body +func NewExtrasWebhooksBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -106480,11 +148819,13 @@ func NewExtrasWebhooksBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -106557,6 +148898,230 @@ func NewExtrasWebhooksListRequest(server string, params *ExtrasWebhooksListParam } + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -107393,6 +149958,123 @@ func NewExtrasWebhooksUpdateRequestWithBody(server string, id openapi_types.UUID return req, nil } +// NewExtrasWebhooksNotesListRequest generates requests for ExtrasWebhooksNotesList +func NewExtrasWebhooksNotesListRequest(server string, id openapi_types.UUID, params *ExtrasWebhooksNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/webhooks/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewExtrasWebhooksNotesCreateRequest calls the generic ExtrasWebhooksNotesCreate builder with application/json body +func NewExtrasWebhooksNotesCreateRequest(server string, id openapi_types.UUID, body ExtrasWebhooksNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewExtrasWebhooksNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewExtrasWebhooksNotesCreateRequestWithBody generates requests for ExtrasWebhooksNotesCreate with any type of body +func NewExtrasWebhooksNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/extras/webhooks/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewGraphqlCreateRequest calls the generic GraphqlCreate builder with application/json body func NewGraphqlCreateRequest(server string, body GraphqlCreateJSONRequestBody) (*http.Request, error) { var bodyReader io.Reader @@ -107433,8 +150115,19 @@ func NewGraphqlCreateRequestWithBody(server string, contentType string, body io. return req, nil } -// NewIpamAggregatesBulkDestroyRequest generates requests for IpamAggregatesBulkDestroy -func NewIpamAggregatesBulkDestroyRequest(server string) (*http.Request, error) { +// NewIpamAggregatesBulkDestroyRequest calls the generic IpamAggregatesBulkDestroy builder with application/json body +func NewIpamAggregatesBulkDestroyRequest(server string, body IpamAggregatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamAggregatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamAggregatesBulkDestroyRequestWithBody generates requests for IpamAggregatesBulkDestroy with any type of body +func NewIpamAggregatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -107452,11 +150145,13 @@ func NewIpamAggregatesBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -108493,8 +151188,136 @@ func NewIpamAggregatesUpdateRequestWithBody(server string, id openapi_types.UUID return req, nil } -// NewIpamIpAddressesBulkDestroyRequest generates requests for IpamIpAddressesBulkDestroy -func NewIpamIpAddressesBulkDestroyRequest(server string) (*http.Request, error) { +// NewIpamAggregatesNotesListRequest generates requests for IpamAggregatesNotesList +func NewIpamAggregatesNotesListRequest(server string, id openapi_types.UUID, params *IpamAggregatesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/aggregates/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewIpamAggregatesNotesCreateRequest calls the generic IpamAggregatesNotesCreate builder with application/json body +func NewIpamAggregatesNotesCreateRequest(server string, id openapi_types.UUID, body IpamAggregatesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamAggregatesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamAggregatesNotesCreateRequestWithBody generates requests for IpamAggregatesNotesCreate with any type of body +func NewIpamAggregatesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/aggregates/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamIpAddressesBulkDestroyRequest calls the generic IpamIpAddressesBulkDestroy builder with application/json body +func NewIpamIpAddressesBulkDestroyRequest(server string, body IpamIpAddressesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamIpAddressesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamIpAddressesBulkDestroyRequestWithBody generates requests for IpamIpAddressesBulkDestroy with any type of body +func NewIpamIpAddressesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -108512,11 +151335,13 @@ func NewIpamIpAddressesBulkDestroyRequest(server string) (*http.Request, error) return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -109261,6 +152086,230 @@ func NewIpamIpAddressesListRequest(server string, params *IpamIpAddressesListPar } + if params.NautobotBgpModelsIpsBgpRoutingInstance != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_ips_bgp_routing_instance", runtime.ParamLocationQuery, *params.NautobotBgpModelsIpsBgpRoutingInstance); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsIpsBgpRoutingInstanceIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_ips_bgp_routing_instance__ic", runtime.ParamLocationQuery, *params.NautobotBgpModelsIpsBgpRoutingInstanceIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsIpsBgpRoutingInstanceIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_ips_bgp_routing_instance__ie", runtime.ParamLocationQuery, *params.NautobotBgpModelsIpsBgpRoutingInstanceIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsIpsBgpRoutingInstanceIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_ips_bgp_routing_instance__iew", runtime.ParamLocationQuery, *params.NautobotBgpModelsIpsBgpRoutingInstanceIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsIpsBgpRoutingInstanceIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_ips_bgp_routing_instance__ire", runtime.ParamLocationQuery, *params.NautobotBgpModelsIpsBgpRoutingInstanceIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsIpsBgpRoutingInstanceIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_ips_bgp_routing_instance__isw", runtime.ParamLocationQuery, *params.NautobotBgpModelsIpsBgpRoutingInstanceIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsIpsBgpRoutingInstanceN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_ips_bgp_routing_instance__n", runtime.ParamLocationQuery, *params.NautobotBgpModelsIpsBgpRoutingInstanceN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsIpsBgpRoutingInstanceNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_ips_bgp_routing_instance__nic", runtime.ParamLocationQuery, *params.NautobotBgpModelsIpsBgpRoutingInstanceNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsIpsBgpRoutingInstanceNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_ips_bgp_routing_instance__nie", runtime.ParamLocationQuery, *params.NautobotBgpModelsIpsBgpRoutingInstanceNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsIpsBgpRoutingInstanceNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_ips_bgp_routing_instance__niew", runtime.ParamLocationQuery, *params.NautobotBgpModelsIpsBgpRoutingInstanceNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsIpsBgpRoutingInstanceNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_ips_bgp_routing_instance__nire", runtime.ParamLocationQuery, *params.NautobotBgpModelsIpsBgpRoutingInstanceNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsIpsBgpRoutingInstanceNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_ips_bgp_routing_instance__nisw", runtime.ParamLocationQuery, *params.NautobotBgpModelsIpsBgpRoutingInstanceNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsIpsBgpRoutingInstanceNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_ips_bgp_routing_instance__nre", runtime.ParamLocationQuery, *params.NautobotBgpModelsIpsBgpRoutingInstanceNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NautobotBgpModelsIpsBgpRoutingInstanceRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nautobot_bgp_models_ips_bgp_routing_instance__re", runtime.ParamLocationQuery, *params.NautobotBgpModelsIpsBgpRoutingInstanceRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { @@ -110017,8 +153066,136 @@ func NewIpamIpAddressesUpdateRequestWithBody(server string, id openapi_types.UUI return req, nil } -// NewIpamPrefixesBulkDestroyRequest generates requests for IpamPrefixesBulkDestroy -func NewIpamPrefixesBulkDestroyRequest(server string) (*http.Request, error) { +// NewIpamIpAddressesNotesListRequest generates requests for IpamIpAddressesNotesList +func NewIpamIpAddressesNotesListRequest(server string, id openapi_types.UUID, params *IpamIpAddressesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/ip-addresses/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewIpamIpAddressesNotesCreateRequest calls the generic IpamIpAddressesNotesCreate builder with application/json body +func NewIpamIpAddressesNotesCreateRequest(server string, id openapi_types.UUID, body IpamIpAddressesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamIpAddressesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamIpAddressesNotesCreateRequestWithBody generates requests for IpamIpAddressesNotesCreate with any type of body +func NewIpamIpAddressesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/ip-addresses/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamPrefixesBulkDestroyRequest calls the generic IpamPrefixesBulkDestroy builder with application/json body +func NewIpamPrefixesBulkDestroyRequest(server string, body IpamPrefixesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamPrefixesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamPrefixesBulkDestroyRequestWithBody generates requests for IpamPrefixesBulkDestroy with any type of body +func NewIpamPrefixesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -110036,11 +153213,13 @@ func NewIpamPrefixesBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -110449,6 +153628,38 @@ func NewIpamPrefixesListRequest(server string, params *IpamPrefixesListParams) ( } + if params.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.MaskLength != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mask_length", runtime.ParamLocationQuery, *params.MaskLength); err != nil { @@ -111467,19 +154678,8 @@ func NewIpamPrefixesAvailableIpsListRequest(server string, id openapi_types.UUID return req, nil } -// NewIpamPrefixesAvailableIpsCreateRequest calls the generic IpamPrefixesAvailableIpsCreate builder with application/json body -func NewIpamPrefixesAvailableIpsCreateRequest(server string, id openapi_types.UUID, params *IpamPrefixesAvailableIpsCreateParams, body IpamPrefixesAvailableIpsCreateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewIpamPrefixesAvailableIpsCreateRequestWithBody(server, id, params, "application/json", bodyReader) -} - -// NewIpamPrefixesAvailableIpsCreateRequestWithBody generates requests for IpamPrefixesAvailableIpsCreate with any type of body -func NewIpamPrefixesAvailableIpsCreateRequestWithBody(server string, id openapi_types.UUID, params *IpamPrefixesAvailableIpsCreateParams, contentType string, body io.Reader) (*http.Request, error) { +// NewIpamPrefixesAvailableIpsCreateRequest generates requests for IpamPrefixesAvailableIpsCreate +func NewIpamPrefixesAvailableIpsCreateRequest(server string, id openapi_types.UUID, params *IpamPrefixesAvailableIpsCreateParams) (*http.Request, error) { var err error var pathParam0 string @@ -111540,13 +154740,11 @@ func NewIpamPrefixesAvailableIpsCreateRequestWithBody(server string, id openapi_ queryURL.RawQuery = queryValues.Encode() - req, err := http.NewRequest("POST", queryURL.String(), body) + req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } @@ -111667,8 +154865,136 @@ func NewIpamPrefixesAvailablePrefixesCreateRequestWithBody(server string, id ope return req, nil } -// NewIpamRirsBulkDestroyRequest generates requests for IpamRirsBulkDestroy -func NewIpamRirsBulkDestroyRequest(server string) (*http.Request, error) { +// NewIpamPrefixesNotesListRequest generates requests for IpamPrefixesNotesList +func NewIpamPrefixesNotesListRequest(server string, id openapi_types.UUID, params *IpamPrefixesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/prefixes/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewIpamPrefixesNotesCreateRequest calls the generic IpamPrefixesNotesCreate builder with application/json body +func NewIpamPrefixesNotesCreateRequest(server string, id openapi_types.UUID, body IpamPrefixesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamPrefixesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamPrefixesNotesCreateRequestWithBody generates requests for IpamPrefixesNotesCreate with any type of body +func NewIpamPrefixesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/prefixes/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamRirsBulkDestroyRequest calls the generic IpamRirsBulkDestroy builder with application/json body +func NewIpamRirsBulkDestroyRequest(server string, body IpamRirsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRirsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamRirsBulkDestroyRequestWithBody generates requests for IpamRirsBulkDestroy with any type of body +func NewIpamRirsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -111686,11 +155012,13 @@ func NewIpamRirsBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -113063,8 +156391,136 @@ func NewIpamRirsUpdateRequestWithBody(server string, id openapi_types.UUID, cont return req, nil } -// NewIpamRolesBulkDestroyRequest generates requests for IpamRolesBulkDestroy -func NewIpamRolesBulkDestroyRequest(server string) (*http.Request, error) { +// NewIpamRirsNotesListRequest generates requests for IpamRirsNotesList +func NewIpamRirsNotesListRequest(server string, id openapi_types.UUID, params *IpamRirsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/rirs/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewIpamRirsNotesCreateRequest calls the generic IpamRirsNotesCreate builder with application/json body +func NewIpamRirsNotesCreateRequest(server string, id openapi_types.UUID, body IpamRirsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRirsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamRirsNotesCreateRequestWithBody generates requests for IpamRirsNotesCreate with any type of body +func NewIpamRirsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/rirs/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamRolesBulkDestroyRequest calls the generic IpamRolesBulkDestroy builder with application/json body +func NewIpamRolesBulkDestroyRequest(server string, body IpamRolesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRolesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamRolesBulkDestroyRequestWithBody generates requests for IpamRolesBulkDestroy with any type of body +func NewIpamRolesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -113082,11 +156538,13 @@ func NewIpamRolesBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -114219,8 +157677,136 @@ func NewIpamRolesUpdateRequestWithBody(server string, id openapi_types.UUID, con return req, nil } -// NewIpamRouteTargetsBulkDestroyRequest generates requests for IpamRouteTargetsBulkDestroy -func NewIpamRouteTargetsBulkDestroyRequest(server string) (*http.Request, error) { +// NewIpamRolesNotesListRequest generates requests for IpamRolesNotesList +func NewIpamRolesNotesListRequest(server string, id openapi_types.UUID, params *IpamRolesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/roles/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewIpamRolesNotesCreateRequest calls the generic IpamRolesNotesCreate builder with application/json body +func NewIpamRolesNotesCreateRequest(server string, id openapi_types.UUID, body IpamRolesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRolesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamRolesNotesCreateRequestWithBody generates requests for IpamRolesNotesCreate with any type of body +func NewIpamRolesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/roles/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamRouteTargetsBulkDestroyRequest calls the generic IpamRouteTargetsBulkDestroy builder with application/json body +func NewIpamRouteTargetsBulkDestroyRequest(server string, body IpamRouteTargetsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRouteTargetsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamRouteTargetsBulkDestroyRequestWithBody generates requests for IpamRouteTargetsBulkDestroy with any type of body +func NewIpamRouteTargetsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -114238,11 +157824,13 @@ func NewIpamRouteTargetsBulkDestroyRequest(server string) (*http.Request, error) return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -115439,8 +159027,136 @@ func NewIpamRouteTargetsUpdateRequestWithBody(server string, id openapi_types.UU return req, nil } -// NewIpamServicesBulkDestroyRequest generates requests for IpamServicesBulkDestroy -func NewIpamServicesBulkDestroyRequest(server string) (*http.Request, error) { +// NewIpamRouteTargetsNotesListRequest generates requests for IpamRouteTargetsNotesList +func NewIpamRouteTargetsNotesListRequest(server string, id openapi_types.UUID, params *IpamRouteTargetsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/route-targets/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewIpamRouteTargetsNotesCreateRequest calls the generic IpamRouteTargetsNotesCreate builder with application/json body +func NewIpamRouteTargetsNotesCreateRequest(server string, id openapi_types.UUID, body IpamRouteTargetsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamRouteTargetsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamRouteTargetsNotesCreateRequestWithBody generates requests for IpamRouteTargetsNotesCreate with any type of body +func NewIpamRouteTargetsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/route-targets/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamServicesBulkDestroyRequest calls the generic IpamServicesBulkDestroy builder with application/json body +func NewIpamServicesBulkDestroyRequest(server string, body IpamServicesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamServicesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamServicesBulkDestroyRequestWithBody generates requests for IpamServicesBulkDestroy with any type of body +func NewIpamServicesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -115458,11 +159174,13 @@ func NewIpamServicesBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -116579,8 +160297,136 @@ func NewIpamServicesUpdateRequestWithBody(server string, id openapi_types.UUID, return req, nil } -// NewIpamVlanGroupsBulkDestroyRequest generates requests for IpamVlanGroupsBulkDestroy -func NewIpamVlanGroupsBulkDestroyRequest(server string) (*http.Request, error) { +// NewIpamServicesNotesListRequest generates requests for IpamServicesNotesList +func NewIpamServicesNotesListRequest(server string, id openapi_types.UUID, params *IpamServicesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/services/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewIpamServicesNotesCreateRequest calls the generic IpamServicesNotesCreate builder with application/json body +func NewIpamServicesNotesCreateRequest(server string, id openapi_types.UUID, body IpamServicesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamServicesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamServicesNotesCreateRequestWithBody generates requests for IpamServicesNotesCreate with any type of body +func NewIpamServicesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/services/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamVlanGroupsBulkDestroyRequest calls the generic IpamVlanGroupsBulkDestroy builder with application/json body +func NewIpamVlanGroupsBulkDestroyRequest(server string, body IpamVlanGroupsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVlanGroupsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamVlanGroupsBulkDestroyRequestWithBody generates requests for IpamVlanGroupsBulkDestroy with any type of body +func NewIpamVlanGroupsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -116598,11 +160444,13 @@ func NewIpamVlanGroupsBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -117187,6 +161035,38 @@ func NewIpamVlanGroupsListRequest(server string, params *IpamVlanGroupsListParam } + if params.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Name != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { @@ -118087,8 +161967,136 @@ func NewIpamVlanGroupsUpdateRequestWithBody(server string, id openapi_types.UUID return req, nil } -// NewIpamVlansBulkDestroyRequest generates requests for IpamVlansBulkDestroy -func NewIpamVlansBulkDestroyRequest(server string) (*http.Request, error) { +// NewIpamVlanGroupsNotesListRequest generates requests for IpamVlanGroupsNotesList +func NewIpamVlanGroupsNotesListRequest(server string, id openapi_types.UUID, params *IpamVlanGroupsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/vlan-groups/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewIpamVlanGroupsNotesCreateRequest calls the generic IpamVlanGroupsNotesCreate builder with application/json body +func NewIpamVlanGroupsNotesCreateRequest(server string, id openapi_types.UUID, body IpamVlanGroupsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVlanGroupsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamVlanGroupsNotesCreateRequestWithBody generates requests for IpamVlanGroupsNotesCreate with any type of body +func NewIpamVlanGroupsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/vlan-groups/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamVlansBulkDestroyRequest calls the generic IpamVlansBulkDestroy builder with application/json body +func NewIpamVlansBulkDestroyRequest(server string, body IpamVlansBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVlansBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamVlansBulkDestroyRequestWithBody generates requests for IpamVlansBulkDestroy with any type of body +func NewIpamVlansBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -118106,11 +162114,13 @@ func NewIpamVlansBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -118135,6 +162145,22 @@ func NewIpamVlansListRequest(server string, params *IpamVlansListParams) (*http. queryValues := queryURL.Query() + if params.AvailableOnDevice != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "available_on_device", runtime.ParamLocationQuery, *params.AvailableOnDevice); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Created != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { @@ -118535,6 +162561,38 @@ func NewIpamVlansListRequest(server string, params *IpamVlansListParams) (*http. } + if params.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Name != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { @@ -119563,8 +163621,136 @@ func NewIpamVlansUpdateRequestWithBody(server string, id openapi_types.UUID, con return req, nil } -// NewIpamVrfsBulkDestroyRequest generates requests for IpamVrfsBulkDestroy -func NewIpamVrfsBulkDestroyRequest(server string) (*http.Request, error) { +// NewIpamVlansNotesListRequest generates requests for IpamVlansNotesList +func NewIpamVlansNotesListRequest(server string, id openapi_types.UUID, params *IpamVlansNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/vlans/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewIpamVlansNotesCreateRequest calls the generic IpamVlansNotesCreate builder with application/json body +func NewIpamVlansNotesCreateRequest(server string, id openapi_types.UUID, body IpamVlansNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVlansNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamVlansNotesCreateRequestWithBody generates requests for IpamVlansNotesCreate with any type of body +func NewIpamVlansNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/vlans/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewIpamVrfsBulkDestroyRequest calls the generic IpamVrfsBulkDestroy builder with application/json body +func NewIpamVrfsBulkDestroyRequest(server string, body IpamVrfsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVrfsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewIpamVrfsBulkDestroyRequestWithBody generates requests for IpamVrfsBulkDestroy with any type of body +func NewIpamVrfsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -119582,11 +163768,13 @@ func NewIpamVrfsBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -121023,8 +165211,7840 @@ func NewIpamVrfsUpdateRequestWithBody(server string, id openapi_types.UUID, cont return req, nil } -// NewPluginsChatopsAccessgrantBulkDestroyRequest generates requests for PluginsChatopsAccessgrantBulkDestroy -func NewPluginsChatopsAccessgrantBulkDestroyRequest(server string) (*http.Request, error) { +// NewIpamVrfsNotesListRequest generates requests for IpamVrfsNotesList +func NewIpamVrfsNotesListRequest(server string, id openapi_types.UUID, params *IpamVrfsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/vrfs/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewIpamVrfsNotesCreateRequest calls the generic IpamVrfsNotesCreate builder with application/json body +func NewIpamVrfsNotesCreateRequest(server string, id openapi_types.UUID, body IpamVrfsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewIpamVrfsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewIpamVrfsNotesCreateRequestWithBody generates requests for IpamVrfsNotesCreate with any type of body +func NewIpamVrfsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/ipam/vrfs/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpAddressFamiliesBulkDestroyRequest calls the generic PluginsBgpAddressFamiliesBulkDestroy builder with application/json body +func NewPluginsBgpAddressFamiliesBulkDestroyRequest(server string, body PluginsBgpAddressFamiliesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpAddressFamiliesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpAddressFamiliesBulkDestroyRequestWithBody generates requests for PluginsBgpAddressFamiliesBulkDestroy with any type of body +func NewPluginsBgpAddressFamiliesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/address-families/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpAddressFamiliesListRequest generates requests for PluginsBgpAddressFamiliesList +func NewPluginsBgpAddressFamiliesListRequest(server string, params *PluginsBgpAddressFamiliesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/address-families/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.AfiSafi != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "afi_safi", runtime.ParamLocationQuery, *params.AfiSafi); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AfiSafiN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "afi_safi__n", runtime.ParamLocationQuery, *params.AfiSafiN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IncludeInherited != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "include_inherited", runtime.ParamLocationQuery, *params.IncludeInherited); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RoutingInstance != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "routing_instance", runtime.ParamLocationQuery, *params.RoutingInstance); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RoutingInstanceN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "routing_instance__n", runtime.ParamLocationQuery, *params.RoutingInstanceN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Vrf != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vrf", runtime.ParamLocationQuery, *params.Vrf); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VrfN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vrf__n", runtime.ParamLocationQuery, *params.VrfN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpAddressFamiliesBulkPartialUpdateRequest calls the generic PluginsBgpAddressFamiliesBulkPartialUpdate builder with application/json body +func NewPluginsBgpAddressFamiliesBulkPartialUpdateRequest(server string, body PluginsBgpAddressFamiliesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpAddressFamiliesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpAddressFamiliesBulkPartialUpdateRequestWithBody generates requests for PluginsBgpAddressFamiliesBulkPartialUpdate with any type of body +func NewPluginsBgpAddressFamiliesBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/address-families/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpAddressFamiliesCreateRequest calls the generic PluginsBgpAddressFamiliesCreate builder with application/json body +func NewPluginsBgpAddressFamiliesCreateRequest(server string, body PluginsBgpAddressFamiliesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpAddressFamiliesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpAddressFamiliesCreateRequestWithBody generates requests for PluginsBgpAddressFamiliesCreate with any type of body +func NewPluginsBgpAddressFamiliesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/address-families/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpAddressFamiliesBulkUpdateRequest calls the generic PluginsBgpAddressFamiliesBulkUpdate builder with application/json body +func NewPluginsBgpAddressFamiliesBulkUpdateRequest(server string, body PluginsBgpAddressFamiliesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpAddressFamiliesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpAddressFamiliesBulkUpdateRequestWithBody generates requests for PluginsBgpAddressFamiliesBulkUpdate with any type of body +func NewPluginsBgpAddressFamiliesBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/address-families/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpAddressFamiliesDestroyRequest generates requests for PluginsBgpAddressFamiliesDestroy +func NewPluginsBgpAddressFamiliesDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/address-families/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpAddressFamiliesRetrieveRequest generates requests for PluginsBgpAddressFamiliesRetrieve +func NewPluginsBgpAddressFamiliesRetrieveRequest(server string, id openapi_types.UUID, params *PluginsBgpAddressFamiliesRetrieveParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/address-families/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.IncludeInherited != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "include_inherited", runtime.ParamLocationQuery, *params.IncludeInherited); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpAddressFamiliesPartialUpdateRequest calls the generic PluginsBgpAddressFamiliesPartialUpdate builder with application/json body +func NewPluginsBgpAddressFamiliesPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsBgpAddressFamiliesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpAddressFamiliesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpAddressFamiliesPartialUpdateRequestWithBody generates requests for PluginsBgpAddressFamiliesPartialUpdate with any type of body +func NewPluginsBgpAddressFamiliesPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/address-families/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpAddressFamiliesUpdateRequest calls the generic PluginsBgpAddressFamiliesUpdate builder with application/json body +func NewPluginsBgpAddressFamiliesUpdateRequest(server string, id openapi_types.UUID, body PluginsBgpAddressFamiliesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpAddressFamiliesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpAddressFamiliesUpdateRequestWithBody generates requests for PluginsBgpAddressFamiliesUpdate with any type of body +func NewPluginsBgpAddressFamiliesUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/address-families/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpAutonomousSystemsBulkDestroyRequest calls the generic PluginsBgpAutonomousSystemsBulkDestroy builder with application/json body +func NewPluginsBgpAutonomousSystemsBulkDestroyRequest(server string, body PluginsBgpAutonomousSystemsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpAutonomousSystemsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpAutonomousSystemsBulkDestroyRequestWithBody generates requests for PluginsBgpAutonomousSystemsBulkDestroy with any type of body +func NewPluginsBgpAutonomousSystemsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/autonomous-systems/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpAutonomousSystemsListRequest generates requests for PluginsBgpAutonomousSystemsList +func NewPluginsBgpAutonomousSystemsListRequest(server string, params *PluginsBgpAutonomousSystemsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/autonomous-systems/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Asn != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asn", runtime.ParamLocationQuery, *params.Asn); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AsnGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asn__gt", runtime.ParamLocationQuery, *params.AsnGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AsnGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asn__gte", runtime.ParamLocationQuery, *params.AsnGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AsnLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asn__lt", runtime.ParamLocationQuery, *params.AsnLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AsnLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asn__lte", runtime.ParamLocationQuery, *params.AsnLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AsnN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "asn__n", runtime.ParamLocationQuery, *params.AsnN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Tag != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag", runtime.ParamLocationQuery, *params.Tag); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TagN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag__n", runtime.ParamLocationQuery, *params.TagN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpAutonomousSystemsBulkPartialUpdateRequest calls the generic PluginsBgpAutonomousSystemsBulkPartialUpdate builder with application/json body +func NewPluginsBgpAutonomousSystemsBulkPartialUpdateRequest(server string, body PluginsBgpAutonomousSystemsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpAutonomousSystemsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpAutonomousSystemsBulkPartialUpdateRequestWithBody generates requests for PluginsBgpAutonomousSystemsBulkPartialUpdate with any type of body +func NewPluginsBgpAutonomousSystemsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/autonomous-systems/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpAutonomousSystemsCreateRequest calls the generic PluginsBgpAutonomousSystemsCreate builder with application/json body +func NewPluginsBgpAutonomousSystemsCreateRequest(server string, body PluginsBgpAutonomousSystemsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpAutonomousSystemsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpAutonomousSystemsCreateRequestWithBody generates requests for PluginsBgpAutonomousSystemsCreate with any type of body +func NewPluginsBgpAutonomousSystemsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/autonomous-systems/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpAutonomousSystemsBulkUpdateRequest calls the generic PluginsBgpAutonomousSystemsBulkUpdate builder with application/json body +func NewPluginsBgpAutonomousSystemsBulkUpdateRequest(server string, body PluginsBgpAutonomousSystemsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpAutonomousSystemsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpAutonomousSystemsBulkUpdateRequestWithBody generates requests for PluginsBgpAutonomousSystemsBulkUpdate with any type of body +func NewPluginsBgpAutonomousSystemsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/autonomous-systems/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpAutonomousSystemsDestroyRequest generates requests for PluginsBgpAutonomousSystemsDestroy +func NewPluginsBgpAutonomousSystemsDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/autonomous-systems/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpAutonomousSystemsRetrieveRequest generates requests for PluginsBgpAutonomousSystemsRetrieve +func NewPluginsBgpAutonomousSystemsRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/autonomous-systems/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpAutonomousSystemsPartialUpdateRequest calls the generic PluginsBgpAutonomousSystemsPartialUpdate builder with application/json body +func NewPluginsBgpAutonomousSystemsPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsBgpAutonomousSystemsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpAutonomousSystemsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpAutonomousSystemsPartialUpdateRequestWithBody generates requests for PluginsBgpAutonomousSystemsPartialUpdate with any type of body +func NewPluginsBgpAutonomousSystemsPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/autonomous-systems/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpAutonomousSystemsUpdateRequest calls the generic PluginsBgpAutonomousSystemsUpdate builder with application/json body +func NewPluginsBgpAutonomousSystemsUpdateRequest(server string, id openapi_types.UUID, body PluginsBgpAutonomousSystemsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpAutonomousSystemsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpAutonomousSystemsUpdateRequestWithBody generates requests for PluginsBgpAutonomousSystemsUpdate with any type of body +func NewPluginsBgpAutonomousSystemsUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/autonomous-systems/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerEndpointsBulkDestroyRequest calls the generic PluginsBgpPeerEndpointsBulkDestroy builder with application/json body +func NewPluginsBgpPeerEndpointsBulkDestroyRequest(server string, body PluginsBgpPeerEndpointsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerEndpointsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeerEndpointsBulkDestroyRequestWithBody generates requests for PluginsBgpPeerEndpointsBulkDestroy with any type of body +func NewPluginsBgpPeerEndpointsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-endpoints/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerEndpointsListRequest generates requests for PluginsBgpPeerEndpointsList +func NewPluginsBgpPeerEndpointsListRequest(server string, params *PluginsBgpPeerEndpointsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-endpoints/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.AutonomousSystem != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "autonomous_system", runtime.ParamLocationQuery, *params.AutonomousSystem); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AutonomousSystemN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "autonomous_system__n", runtime.ParamLocationQuery, *params.AutonomousSystemN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Device != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device", runtime.ParamLocationQuery, *params.Device); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device__n", runtime.ParamLocationQuery, *params.DeviceN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Enabled != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "enabled", runtime.ParamLocationQuery, *params.Enabled); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IncludeInherited != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "include_inherited", runtime.ParamLocationQuery, *params.IncludeInherited); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PeerGroup != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "peer_group", runtime.ParamLocationQuery, *params.PeerGroup); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PeerGroupN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "peer_group__n", runtime.ParamLocationQuery, *params.PeerGroupN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpPeerEndpointsBulkPartialUpdateRequest calls the generic PluginsBgpPeerEndpointsBulkPartialUpdate builder with application/json body +func NewPluginsBgpPeerEndpointsBulkPartialUpdateRequest(server string, body PluginsBgpPeerEndpointsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerEndpointsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeerEndpointsBulkPartialUpdateRequestWithBody generates requests for PluginsBgpPeerEndpointsBulkPartialUpdate with any type of body +func NewPluginsBgpPeerEndpointsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-endpoints/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerEndpointsCreateRequest calls the generic PluginsBgpPeerEndpointsCreate builder with application/json body +func NewPluginsBgpPeerEndpointsCreateRequest(server string, body PluginsBgpPeerEndpointsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerEndpointsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeerEndpointsCreateRequestWithBody generates requests for PluginsBgpPeerEndpointsCreate with any type of body +func NewPluginsBgpPeerEndpointsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-endpoints/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerEndpointsBulkUpdateRequest calls the generic PluginsBgpPeerEndpointsBulkUpdate builder with application/json body +func NewPluginsBgpPeerEndpointsBulkUpdateRequest(server string, body PluginsBgpPeerEndpointsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerEndpointsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeerEndpointsBulkUpdateRequestWithBody generates requests for PluginsBgpPeerEndpointsBulkUpdate with any type of body +func NewPluginsBgpPeerEndpointsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-endpoints/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerEndpointsDestroyRequest generates requests for PluginsBgpPeerEndpointsDestroy +func NewPluginsBgpPeerEndpointsDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-endpoints/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpPeerEndpointsRetrieveRequest generates requests for PluginsBgpPeerEndpointsRetrieve +func NewPluginsBgpPeerEndpointsRetrieveRequest(server string, id openapi_types.UUID, params *PluginsBgpPeerEndpointsRetrieveParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-endpoints/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.IncludeInherited != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "include_inherited", runtime.ParamLocationQuery, *params.IncludeInherited); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpPeerEndpointsPartialUpdateRequest calls the generic PluginsBgpPeerEndpointsPartialUpdate builder with application/json body +func NewPluginsBgpPeerEndpointsPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsBgpPeerEndpointsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerEndpointsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpPeerEndpointsPartialUpdateRequestWithBody generates requests for PluginsBgpPeerEndpointsPartialUpdate with any type of body +func NewPluginsBgpPeerEndpointsPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-endpoints/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerEndpointsUpdateRequest calls the generic PluginsBgpPeerEndpointsUpdate builder with application/json body +func NewPluginsBgpPeerEndpointsUpdateRequest(server string, id openapi_types.UUID, body PluginsBgpPeerEndpointsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerEndpointsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpPeerEndpointsUpdateRequestWithBody generates requests for PluginsBgpPeerEndpointsUpdate with any type of body +func NewPluginsBgpPeerEndpointsUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-endpoints/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerGroupTemplatesBulkDestroyRequest calls the generic PluginsBgpPeerGroupTemplatesBulkDestroy builder with application/json body +func NewPluginsBgpPeerGroupTemplatesBulkDestroyRequest(server string, body PluginsBgpPeerGroupTemplatesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerGroupTemplatesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeerGroupTemplatesBulkDestroyRequestWithBody generates requests for PluginsBgpPeerGroupTemplatesBulkDestroy with any type of body +func NewPluginsBgpPeerGroupTemplatesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-group-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerGroupTemplatesListRequest generates requests for PluginsBgpPeerGroupTemplatesList +func NewPluginsBgpPeerGroupTemplatesListRequest(server string, params *PluginsBgpPeerGroupTemplatesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-group-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.AutonomousSystem != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "autonomous_system", runtime.ParamLocationQuery, *params.AutonomousSystem); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AutonomousSystemN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "autonomous_system__n", runtime.ParamLocationQuery, *params.AutonomousSystemN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Enabled != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "enabled", runtime.ParamLocationQuery, *params.Enabled); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IncludeInherited != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "include_inherited", runtime.ParamLocationQuery, *params.IncludeInherited); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Name != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Role != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role", runtime.ParamLocationQuery, *params.Role); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role__n", runtime.ParamLocationQuery, *params.RoleN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpPeerGroupTemplatesBulkPartialUpdateRequest calls the generic PluginsBgpPeerGroupTemplatesBulkPartialUpdate builder with application/json body +func NewPluginsBgpPeerGroupTemplatesBulkPartialUpdateRequest(server string, body PluginsBgpPeerGroupTemplatesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerGroupTemplatesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeerGroupTemplatesBulkPartialUpdateRequestWithBody generates requests for PluginsBgpPeerGroupTemplatesBulkPartialUpdate with any type of body +func NewPluginsBgpPeerGroupTemplatesBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-group-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerGroupTemplatesCreateRequest calls the generic PluginsBgpPeerGroupTemplatesCreate builder with application/json body +func NewPluginsBgpPeerGroupTemplatesCreateRequest(server string, body PluginsBgpPeerGroupTemplatesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerGroupTemplatesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeerGroupTemplatesCreateRequestWithBody generates requests for PluginsBgpPeerGroupTemplatesCreate with any type of body +func NewPluginsBgpPeerGroupTemplatesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-group-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerGroupTemplatesBulkUpdateRequest calls the generic PluginsBgpPeerGroupTemplatesBulkUpdate builder with application/json body +func NewPluginsBgpPeerGroupTemplatesBulkUpdateRequest(server string, body PluginsBgpPeerGroupTemplatesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerGroupTemplatesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeerGroupTemplatesBulkUpdateRequestWithBody generates requests for PluginsBgpPeerGroupTemplatesBulkUpdate with any type of body +func NewPluginsBgpPeerGroupTemplatesBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-group-templates/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerGroupTemplatesDestroyRequest generates requests for PluginsBgpPeerGroupTemplatesDestroy +func NewPluginsBgpPeerGroupTemplatesDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-group-templates/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpPeerGroupTemplatesRetrieveRequest generates requests for PluginsBgpPeerGroupTemplatesRetrieve +func NewPluginsBgpPeerGroupTemplatesRetrieveRequest(server string, id openapi_types.UUID, params *PluginsBgpPeerGroupTemplatesRetrieveParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-group-templates/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.IncludeInherited != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "include_inherited", runtime.ParamLocationQuery, *params.IncludeInherited); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpPeerGroupTemplatesPartialUpdateRequest calls the generic PluginsBgpPeerGroupTemplatesPartialUpdate builder with application/json body +func NewPluginsBgpPeerGroupTemplatesPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsBgpPeerGroupTemplatesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerGroupTemplatesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpPeerGroupTemplatesPartialUpdateRequestWithBody generates requests for PluginsBgpPeerGroupTemplatesPartialUpdate with any type of body +func NewPluginsBgpPeerGroupTemplatesPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-group-templates/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerGroupTemplatesUpdateRequest calls the generic PluginsBgpPeerGroupTemplatesUpdate builder with application/json body +func NewPluginsBgpPeerGroupTemplatesUpdateRequest(server string, id openapi_types.UUID, body PluginsBgpPeerGroupTemplatesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerGroupTemplatesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpPeerGroupTemplatesUpdateRequestWithBody generates requests for PluginsBgpPeerGroupTemplatesUpdate with any type of body +func NewPluginsBgpPeerGroupTemplatesUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-group-templates/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerGroupsBulkDestroyRequest calls the generic PluginsBgpPeerGroupsBulkDestroy builder with application/json body +func NewPluginsBgpPeerGroupsBulkDestroyRequest(server string, body PluginsBgpPeerGroupsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerGroupsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeerGroupsBulkDestroyRequestWithBody generates requests for PluginsBgpPeerGroupsBulkDestroy with any type of body +func NewPluginsBgpPeerGroupsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerGroupsListRequest generates requests for PluginsBgpPeerGroupsList +func NewPluginsBgpPeerGroupsListRequest(server string, params *PluginsBgpPeerGroupsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.AutonomousSystem != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "autonomous_system", runtime.ParamLocationQuery, *params.AutonomousSystem); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AutonomousSystemN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "autonomous_system__n", runtime.ParamLocationQuery, *params.AutonomousSystemN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Enabled != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "enabled", runtime.ParamLocationQuery, *params.Enabled); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IncludeInherited != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "include_inherited", runtime.ParamLocationQuery, *params.IncludeInherited); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Name != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Role != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role", runtime.ParamLocationQuery, *params.Role); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RoleN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "role__n", runtime.ParamLocationQuery, *params.RoleN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RoutingInstance != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "routing_instance", runtime.ParamLocationQuery, *params.RoutingInstance); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RoutingInstanceN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "routing_instance__n", runtime.ParamLocationQuery, *params.RoutingInstanceN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpPeerGroupsBulkPartialUpdateRequest calls the generic PluginsBgpPeerGroupsBulkPartialUpdate builder with application/json body +func NewPluginsBgpPeerGroupsBulkPartialUpdateRequest(server string, body PluginsBgpPeerGroupsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerGroupsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeerGroupsBulkPartialUpdateRequestWithBody generates requests for PluginsBgpPeerGroupsBulkPartialUpdate with any type of body +func NewPluginsBgpPeerGroupsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerGroupsCreateRequest calls the generic PluginsBgpPeerGroupsCreate builder with application/json body +func NewPluginsBgpPeerGroupsCreateRequest(server string, body PluginsBgpPeerGroupsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerGroupsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeerGroupsCreateRequestWithBody generates requests for PluginsBgpPeerGroupsCreate with any type of body +func NewPluginsBgpPeerGroupsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerGroupsBulkUpdateRequest calls the generic PluginsBgpPeerGroupsBulkUpdate builder with application/json body +func NewPluginsBgpPeerGroupsBulkUpdateRequest(server string, body PluginsBgpPeerGroupsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerGroupsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeerGroupsBulkUpdateRequestWithBody generates requests for PluginsBgpPeerGroupsBulkUpdate with any type of body +func NewPluginsBgpPeerGroupsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-groups/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerGroupsDestroyRequest generates requests for PluginsBgpPeerGroupsDestroy +func NewPluginsBgpPeerGroupsDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-groups/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpPeerGroupsRetrieveRequest generates requests for PluginsBgpPeerGroupsRetrieve +func NewPluginsBgpPeerGroupsRetrieveRequest(server string, id openapi_types.UUID, params *PluginsBgpPeerGroupsRetrieveParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-groups/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.IncludeInherited != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "include_inherited", runtime.ParamLocationQuery, *params.IncludeInherited); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpPeerGroupsPartialUpdateRequest calls the generic PluginsBgpPeerGroupsPartialUpdate builder with application/json body +func NewPluginsBgpPeerGroupsPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsBgpPeerGroupsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerGroupsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpPeerGroupsPartialUpdateRequestWithBody generates requests for PluginsBgpPeerGroupsPartialUpdate with any type of body +func NewPluginsBgpPeerGroupsPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-groups/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeerGroupsUpdateRequest calls the generic PluginsBgpPeerGroupsUpdate builder with application/json body +func NewPluginsBgpPeerGroupsUpdateRequest(server string, id openapi_types.UUID, body PluginsBgpPeerGroupsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeerGroupsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpPeerGroupsUpdateRequestWithBody generates requests for PluginsBgpPeerGroupsUpdate with any type of body +func NewPluginsBgpPeerGroupsUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peer-groups/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeeringRolesBulkDestroyRequest calls the generic PluginsBgpPeeringRolesBulkDestroy builder with application/json body +func NewPluginsBgpPeeringRolesBulkDestroyRequest(server string, body PluginsBgpPeeringRolesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeeringRolesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeeringRolesBulkDestroyRequestWithBody generates requests for PluginsBgpPeeringRolesBulkDestroy with any type of body +func NewPluginsBgpPeeringRolesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peering-roles/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeeringRolesListRequest generates requests for PluginsBgpPeeringRolesList +func NewPluginsBgpPeeringRolesListRequest(server string, params *PluginsBgpPeeringRolesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peering-roles/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Color != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color", runtime.ParamLocationQuery, *params.Color); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__ic", runtime.ParamLocationQuery, *params.ColorIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__ie", runtime.ParamLocationQuery, *params.ColorIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__iew", runtime.ParamLocationQuery, *params.ColorIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__ire", runtime.ParamLocationQuery, *params.ColorIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__isw", runtime.ParamLocationQuery, *params.ColorIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__n", runtime.ParamLocationQuery, *params.ColorN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__nic", runtime.ParamLocationQuery, *params.ColorNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__nie", runtime.ParamLocationQuery, *params.ColorNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__niew", runtime.ParamLocationQuery, *params.ColorNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__nire", runtime.ParamLocationQuery, *params.ColorNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__nisw", runtime.ParamLocationQuery, *params.ColorNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__nre", runtime.ParamLocationQuery, *params.ColorNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ColorRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "color__re", runtime.ParamLocationQuery, *params.ColorRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Name != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Slug != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug", runtime.ParamLocationQuery, *params.Slug); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__ic", runtime.ParamLocationQuery, *params.SlugIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__ie", runtime.ParamLocationQuery, *params.SlugIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__iew", runtime.ParamLocationQuery, *params.SlugIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__ire", runtime.ParamLocationQuery, *params.SlugIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__isw", runtime.ParamLocationQuery, *params.SlugIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__n", runtime.ParamLocationQuery, *params.SlugN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nic", runtime.ParamLocationQuery, *params.SlugNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nie", runtime.ParamLocationQuery, *params.SlugNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__niew", runtime.ParamLocationQuery, *params.SlugNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nire", runtime.ParamLocationQuery, *params.SlugNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nisw", runtime.ParamLocationQuery, *params.SlugNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nre", runtime.ParamLocationQuery, *params.SlugNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__re", runtime.ParamLocationQuery, *params.SlugRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpPeeringRolesBulkPartialUpdateRequest calls the generic PluginsBgpPeeringRolesBulkPartialUpdate builder with application/json body +func NewPluginsBgpPeeringRolesBulkPartialUpdateRequest(server string, body PluginsBgpPeeringRolesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeeringRolesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeeringRolesBulkPartialUpdateRequestWithBody generates requests for PluginsBgpPeeringRolesBulkPartialUpdate with any type of body +func NewPluginsBgpPeeringRolesBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peering-roles/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeeringRolesCreateRequest calls the generic PluginsBgpPeeringRolesCreate builder with application/json body +func NewPluginsBgpPeeringRolesCreateRequest(server string, body PluginsBgpPeeringRolesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeeringRolesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeeringRolesCreateRequestWithBody generates requests for PluginsBgpPeeringRolesCreate with any type of body +func NewPluginsBgpPeeringRolesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peering-roles/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeeringRolesBulkUpdateRequest calls the generic PluginsBgpPeeringRolesBulkUpdate builder with application/json body +func NewPluginsBgpPeeringRolesBulkUpdateRequest(server string, body PluginsBgpPeeringRolesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeeringRolesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeeringRolesBulkUpdateRequestWithBody generates requests for PluginsBgpPeeringRolesBulkUpdate with any type of body +func NewPluginsBgpPeeringRolesBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peering-roles/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeeringRolesDestroyRequest generates requests for PluginsBgpPeeringRolesDestroy +func NewPluginsBgpPeeringRolesDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peering-roles/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpPeeringRolesRetrieveRequest generates requests for PluginsBgpPeeringRolesRetrieve +func NewPluginsBgpPeeringRolesRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peering-roles/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpPeeringRolesPartialUpdateRequest calls the generic PluginsBgpPeeringRolesPartialUpdate builder with application/json body +func NewPluginsBgpPeeringRolesPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsBgpPeeringRolesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeeringRolesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpPeeringRolesPartialUpdateRequestWithBody generates requests for PluginsBgpPeeringRolesPartialUpdate with any type of body +func NewPluginsBgpPeeringRolesPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peering-roles/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeeringRolesUpdateRequest calls the generic PluginsBgpPeeringRolesUpdate builder with application/json body +func NewPluginsBgpPeeringRolesUpdateRequest(server string, id openapi_types.UUID, body PluginsBgpPeeringRolesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeeringRolesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpPeeringRolesUpdateRequestWithBody generates requests for PluginsBgpPeeringRolesUpdate with any type of body +func NewPluginsBgpPeeringRolesUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peering-roles/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeeringsBulkDestroyRequest calls the generic PluginsBgpPeeringsBulkDestroy builder with application/json body +func NewPluginsBgpPeeringsBulkDestroyRequest(server string, body PluginsBgpPeeringsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeeringsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeeringsBulkDestroyRequestWithBody generates requests for PluginsBgpPeeringsBulkDestroy with any type of body +func NewPluginsBgpPeeringsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peerings/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeeringsListRequest generates requests for PluginsBgpPeeringsList +func NewPluginsBgpPeeringsListRequest(server string, params *PluginsBgpPeeringsListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peerings/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Device != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device", runtime.ParamLocationQuery, *params.Device); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device__n", runtime.ParamLocationQuery, *params.DeviceN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpPeeringsBulkPartialUpdateRequest calls the generic PluginsBgpPeeringsBulkPartialUpdate builder with application/json body +func NewPluginsBgpPeeringsBulkPartialUpdateRequest(server string, body PluginsBgpPeeringsBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeeringsBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeeringsBulkPartialUpdateRequestWithBody generates requests for PluginsBgpPeeringsBulkPartialUpdate with any type of body +func NewPluginsBgpPeeringsBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peerings/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeeringsCreateRequest calls the generic PluginsBgpPeeringsCreate builder with application/json body +func NewPluginsBgpPeeringsCreateRequest(server string, body PluginsBgpPeeringsCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeeringsCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeeringsCreateRequestWithBody generates requests for PluginsBgpPeeringsCreate with any type of body +func NewPluginsBgpPeeringsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peerings/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeeringsBulkUpdateRequest calls the generic PluginsBgpPeeringsBulkUpdate builder with application/json body +func NewPluginsBgpPeeringsBulkUpdateRequest(server string, body PluginsBgpPeeringsBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeeringsBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpPeeringsBulkUpdateRequestWithBody generates requests for PluginsBgpPeeringsBulkUpdate with any type of body +func NewPluginsBgpPeeringsBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peerings/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeeringsDestroyRequest generates requests for PluginsBgpPeeringsDestroy +func NewPluginsBgpPeeringsDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peerings/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpPeeringsRetrieveRequest generates requests for PluginsBgpPeeringsRetrieve +func NewPluginsBgpPeeringsRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peerings/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpPeeringsPartialUpdateRequest calls the generic PluginsBgpPeeringsPartialUpdate builder with application/json body +func NewPluginsBgpPeeringsPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsBgpPeeringsPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeeringsPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpPeeringsPartialUpdateRequestWithBody generates requests for PluginsBgpPeeringsPartialUpdate with any type of body +func NewPluginsBgpPeeringsPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peerings/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpPeeringsUpdateRequest calls the generic PluginsBgpPeeringsUpdate builder with application/json body +func NewPluginsBgpPeeringsUpdateRequest(server string, id openapi_types.UUID, body PluginsBgpPeeringsUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpPeeringsUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpPeeringsUpdateRequestWithBody generates requests for PluginsBgpPeeringsUpdate with any type of body +func NewPluginsBgpPeeringsUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/peerings/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpRoutingInstancesBulkDestroyRequest calls the generic PluginsBgpRoutingInstancesBulkDestroy builder with application/json body +func NewPluginsBgpRoutingInstancesBulkDestroyRequest(server string, body PluginsBgpRoutingInstancesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpRoutingInstancesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpRoutingInstancesBulkDestroyRequestWithBody generates requests for PluginsBgpRoutingInstancesBulkDestroy with any type of body +func NewPluginsBgpRoutingInstancesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/routing-instances/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpRoutingInstancesListRequest generates requests for PluginsBgpRoutingInstancesList +func NewPluginsBgpRoutingInstancesListRequest(server string, params *PluginsBgpRoutingInstancesListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/routing-instances/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.AutonomousSystem != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "autonomous_system", runtime.ParamLocationQuery, *params.AutonomousSystem); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AutonomousSystemN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "autonomous_system__n", runtime.ParamLocationQuery, *params.AutonomousSystemN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Device != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device", runtime.ParamLocationQuery, *params.Device); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device__n", runtime.ParamLocationQuery, *params.DeviceN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_id", runtime.ParamLocationQuery, *params.DeviceId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_id__n", runtime.ParamLocationQuery, *params.DeviceIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Tag != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag", runtime.ParamLocationQuery, *params.Tag); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TagN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag__n", runtime.ParamLocationQuery, *params.TagN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpRoutingInstancesBulkPartialUpdateRequest calls the generic PluginsBgpRoutingInstancesBulkPartialUpdate builder with application/json body +func NewPluginsBgpRoutingInstancesBulkPartialUpdateRequest(server string, body PluginsBgpRoutingInstancesBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpRoutingInstancesBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpRoutingInstancesBulkPartialUpdateRequestWithBody generates requests for PluginsBgpRoutingInstancesBulkPartialUpdate with any type of body +func NewPluginsBgpRoutingInstancesBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/routing-instances/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpRoutingInstancesCreateRequest calls the generic PluginsBgpRoutingInstancesCreate builder with application/json body +func NewPluginsBgpRoutingInstancesCreateRequest(server string, body PluginsBgpRoutingInstancesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpRoutingInstancesCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpRoutingInstancesCreateRequestWithBody generates requests for PluginsBgpRoutingInstancesCreate with any type of body +func NewPluginsBgpRoutingInstancesCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/routing-instances/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpRoutingInstancesBulkUpdateRequest calls the generic PluginsBgpRoutingInstancesBulkUpdate builder with application/json body +func NewPluginsBgpRoutingInstancesBulkUpdateRequest(server string, body PluginsBgpRoutingInstancesBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpRoutingInstancesBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsBgpRoutingInstancesBulkUpdateRequestWithBody generates requests for PluginsBgpRoutingInstancesBulkUpdate with any type of body +func NewPluginsBgpRoutingInstancesBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/routing-instances/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpRoutingInstancesDestroyRequest generates requests for PluginsBgpRoutingInstancesDestroy +func NewPluginsBgpRoutingInstancesDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/routing-instances/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpRoutingInstancesRetrieveRequest generates requests for PluginsBgpRoutingInstancesRetrieve +func NewPluginsBgpRoutingInstancesRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/routing-instances/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsBgpRoutingInstancesPartialUpdateRequest calls the generic PluginsBgpRoutingInstancesPartialUpdate builder with application/json body +func NewPluginsBgpRoutingInstancesPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsBgpRoutingInstancesPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpRoutingInstancesPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpRoutingInstancesPartialUpdateRequestWithBody generates requests for PluginsBgpRoutingInstancesPartialUpdate with any type of body +func NewPluginsBgpRoutingInstancesPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/routing-instances/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsBgpRoutingInstancesUpdateRequest calls the generic PluginsBgpRoutingInstancesUpdate builder with application/json body +func NewPluginsBgpRoutingInstancesUpdateRequest(server string, id openapi_types.UUID, body PluginsBgpRoutingInstancesUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsBgpRoutingInstancesUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsBgpRoutingInstancesUpdateRequestWithBody generates requests for PluginsBgpRoutingInstancesUpdate with any type of body +func NewPluginsBgpRoutingInstancesUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/bgp/routing-instances/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsChatopsAccessgrantBulkDestroyRequest calls the generic PluginsChatopsAccessgrantBulkDestroy builder with application/json body +func NewPluginsChatopsAccessgrantBulkDestroyRequest(server string, body PluginsChatopsAccessgrantBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsChatopsAccessgrantBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsChatopsAccessgrantBulkDestroyRequestWithBody generates requests for PluginsChatopsAccessgrantBulkDestroy with any type of body +func NewPluginsChatopsAccessgrantBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -121042,11 +173062,13 @@ func NewPluginsChatopsAccessgrantBulkDestroyRequest(server string) (*http.Reques return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -121087,9 +173109,201 @@ func NewPluginsChatopsAccessgrantListRequest(server string, params *PluginsChato } - if params.Created != nil { + if params.CommandIc != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "command__ic", runtime.ParamLocationQuery, *params.CommandIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommandIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "command__ie", runtime.ParamLocationQuery, *params.CommandIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommandIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "command__iew", runtime.ParamLocationQuery, *params.CommandIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommandIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "command__ire", runtime.ParamLocationQuery, *params.CommandIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommandIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "command__isw", runtime.ParamLocationQuery, *params.CommandIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommandN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "command__n", runtime.ParamLocationQuery, *params.CommandN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommandNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "command__nic", runtime.ParamLocationQuery, *params.CommandNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommandNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "command__nie", runtime.ParamLocationQuery, *params.CommandNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommandNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "command__niew", runtime.ParamLocationQuery, *params.CommandNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommandNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "command__nire", runtime.ParamLocationQuery, *params.CommandNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommandNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "command__nisw", runtime.ParamLocationQuery, *params.CommandNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommandNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "command__nre", runtime.ParamLocationQuery, *params.CommandNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommandRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "command__re", runtime.ParamLocationQuery, *params.CommandRe); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -121119,9 +173333,233 @@ func NewPluginsChatopsAccessgrantListRequest(server string, params *PluginsChato } - if params.LastUpdated != nil { + if params.GrantTypeN != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "grant_type__n", runtime.ParamLocationQuery, *params.GrantTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -121183,6 +173621,214 @@ func NewPluginsChatopsAccessgrantListRequest(server string, params *PluginsChato } + if params.SubcommandIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "subcommand__ic", runtime.ParamLocationQuery, *params.SubcommandIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SubcommandIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "subcommand__ie", runtime.ParamLocationQuery, *params.SubcommandIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SubcommandIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "subcommand__iew", runtime.ParamLocationQuery, *params.SubcommandIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SubcommandIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "subcommand__ire", runtime.ParamLocationQuery, *params.SubcommandIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SubcommandIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "subcommand__isw", runtime.ParamLocationQuery, *params.SubcommandIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SubcommandN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "subcommand__n", runtime.ParamLocationQuery, *params.SubcommandN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SubcommandNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "subcommand__nic", runtime.ParamLocationQuery, *params.SubcommandNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SubcommandNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "subcommand__nie", runtime.ParamLocationQuery, *params.SubcommandNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SubcommandNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "subcommand__niew", runtime.ParamLocationQuery, *params.SubcommandNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SubcommandNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "subcommand__nire", runtime.ParamLocationQuery, *params.SubcommandNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SubcommandNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "subcommand__nisw", runtime.ParamLocationQuery, *params.SubcommandNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SubcommandNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "subcommand__nre", runtime.ParamLocationQuery, *params.SubcommandNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SubcommandRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "subcommand__re", runtime.ParamLocationQuery, *params.SubcommandRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Value != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value", runtime.ParamLocationQuery, *params.Value); err != nil { @@ -121199,6 +173845,214 @@ func NewPluginsChatopsAccessgrantListRequest(server string, params *PluginsChato } + if params.ValueIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__ic", runtime.ParamLocationQuery, *params.ValueIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__ie", runtime.ParamLocationQuery, *params.ValueIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__iew", runtime.ParamLocationQuery, *params.ValueIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__ire", runtime.ParamLocationQuery, *params.ValueIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__isw", runtime.ParamLocationQuery, *params.ValueIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__n", runtime.ParamLocationQuery, *params.ValueN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__nic", runtime.ParamLocationQuery, *params.ValueNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__nie", runtime.ParamLocationQuery, *params.ValueNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__niew", runtime.ParamLocationQuery, *params.ValueNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__nire", runtime.ParamLocationQuery, *params.ValueNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__nisw", runtime.ParamLocationQuery, *params.ValueNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__nre", runtime.ParamLocationQuery, *params.ValueNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ValueRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "value__re", runtime.ParamLocationQuery, *params.ValueRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + queryURL.RawQuery = queryValues.Encode() req, err := http.NewRequest("GET", queryURL.String(), nil) @@ -121491,8 +174345,19 @@ func NewPluginsChatopsAccessgrantUpdateRequestWithBody(server string, id openapi return req, nil } -// NewPluginsChatopsCommandtokenBulkDestroyRequest generates requests for PluginsChatopsCommandtokenBulkDestroy -func NewPluginsChatopsCommandtokenBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsChatopsCommandtokenBulkDestroyRequest calls the generic PluginsChatopsCommandtokenBulkDestroy builder with application/json body +func NewPluginsChatopsCommandtokenBulkDestroyRequest(server string, body PluginsChatopsCommandtokenBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsChatopsCommandtokenBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsChatopsCommandtokenBulkDestroyRequestWithBody generates requests for PluginsChatopsCommandtokenBulkDestroy with any type of body +func NewPluginsChatopsCommandtokenBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -121510,11 +174375,13 @@ func NewPluginsChatopsCommandtokenBulkDestroyRequest(server string) (*http.Reque return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -121555,9 +174422,9 @@ func NewPluginsChatopsCommandtokenListRequest(server string, params *PluginsChat } - if params.Created != nil { + if params.CommentIc != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment__ic", runtime.ParamLocationQuery, *params.CommentIc); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -121571,9 +174438,409 @@ func NewPluginsChatopsCommandtokenListRequest(server string, params *PluginsChat } - if params.LastUpdated != nil { + if params.CommentIe != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment__ie", runtime.ParamLocationQuery, *params.CommentIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment__iew", runtime.ParamLocationQuery, *params.CommentIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment__ire", runtime.ParamLocationQuery, *params.CommentIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment__isw", runtime.ParamLocationQuery, *params.CommentIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment__n", runtime.ParamLocationQuery, *params.CommentN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment__nic", runtime.ParamLocationQuery, *params.CommentNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment__nie", runtime.ParamLocationQuery, *params.CommentNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment__niew", runtime.ParamLocationQuery, *params.CommentNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment__nire", runtime.ParamLocationQuery, *params.CommentNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment__nisw", runtime.ParamLocationQuery, *params.CommentNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment__nre", runtime.ParamLocationQuery, *params.CommentNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment__re", runtime.ParamLocationQuery, *params.CommentRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -121635,6 +174902,22 @@ func NewPluginsChatopsCommandtokenListRequest(server string, params *PluginsChat } + if params.PlatformN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "platform__n", runtime.ParamLocationQuery, *params.PlatformN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + queryURL.RawQuery = queryValues.Encode() req, err := http.NewRequest("GET", queryURL.String(), nil) @@ -121927,8 +175210,19 @@ func NewPluginsChatopsCommandtokenUpdateRequestWithBody(server string, id openap return req, nil } -// NewPluginsCircuitMaintenanceCircuitimpactBulkDestroyRequest generates requests for PluginsCircuitMaintenanceCircuitimpactBulkDestroy -func NewPluginsCircuitMaintenanceCircuitimpactBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsCircuitMaintenanceCircuitimpactBulkDestroyRequest calls the generic PluginsCircuitMaintenanceCircuitimpactBulkDestroy builder with application/json body +func NewPluginsCircuitMaintenanceCircuitimpactBulkDestroyRequest(server string, body PluginsCircuitMaintenanceCircuitimpactBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsCircuitMaintenanceCircuitimpactBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsCircuitMaintenanceCircuitimpactBulkDestroyRequestWithBody generates requests for PluginsCircuitMaintenanceCircuitimpactBulkDestroy with any type of body +func NewPluginsCircuitMaintenanceCircuitimpactBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -121946,11 +175240,13 @@ func NewPluginsCircuitMaintenanceCircuitimpactBulkDestroyRequest(server string) return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -122619,8 +175915,19 @@ func NewPluginsCircuitMaintenanceCircuitimpactUpdateRequestWithBody(server strin return req, nil } -// NewPluginsCircuitMaintenanceMaintenanceBulkDestroyRequest generates requests for PluginsCircuitMaintenanceMaintenanceBulkDestroy -func NewPluginsCircuitMaintenanceMaintenanceBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsCircuitMaintenanceMaintenanceBulkDestroyRequest calls the generic PluginsCircuitMaintenanceMaintenanceBulkDestroy builder with application/json body +func NewPluginsCircuitMaintenanceMaintenanceBulkDestroyRequest(server string, body PluginsCircuitMaintenanceMaintenanceBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsCircuitMaintenanceMaintenanceBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsCircuitMaintenanceMaintenanceBulkDestroyRequestWithBody generates requests for PluginsCircuitMaintenanceMaintenanceBulkDestroy with any type of body +func NewPluginsCircuitMaintenanceMaintenanceBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -122638,11 +175945,13 @@ func NewPluginsCircuitMaintenanceMaintenanceBulkDestroyRequest(server string) (* return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -122715,6 +176024,230 @@ func NewPluginsCircuitMaintenanceMaintenanceListRequest(server string, params *P } + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -123343,8 +176876,19 @@ func NewPluginsCircuitMaintenanceMaintenanceUpdateRequestWithBody(server string, return req, nil } -// NewPluginsCircuitMaintenanceNoteBulkDestroyRequest generates requests for PluginsCircuitMaintenanceNoteBulkDestroy -func NewPluginsCircuitMaintenanceNoteBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsCircuitMaintenanceNoteBulkDestroyRequest calls the generic PluginsCircuitMaintenanceNoteBulkDestroy builder with application/json body +func NewPluginsCircuitMaintenanceNoteBulkDestroyRequest(server string, body PluginsCircuitMaintenanceNoteBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsCircuitMaintenanceNoteBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsCircuitMaintenanceNoteBulkDestroyRequestWithBody generates requests for PluginsCircuitMaintenanceNoteBulkDestroy with any type of body +func NewPluginsCircuitMaintenanceNoteBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -123362,11 +176906,13 @@ func NewPluginsCircuitMaintenanceNoteBulkDestroyRequest(server string) (*http.Re return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -123752,6 +177298,230 @@ func NewPluginsCircuitMaintenanceNotificationsourceListRequest(server string, pa } + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -124292,8 +178062,19 @@ func NewPluginsCircuitMaintenanceNotificationsourceRetrieveRequest(server string return req, nil } -// NewPluginsDataValidationEngineRulesMinMaxBulkDestroyRequest generates requests for PluginsDataValidationEngineRulesMinMaxBulkDestroy -func NewPluginsDataValidationEngineRulesMinMaxBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsDataValidationEngineRulesMinMaxBulkDestroyRequest calls the generic PluginsDataValidationEngineRulesMinMaxBulkDestroy builder with application/json body +func NewPluginsDataValidationEngineRulesMinMaxBulkDestroyRequest(server string, body PluginsDataValidationEngineRulesMinMaxBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsDataValidationEngineRulesMinMaxBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsDataValidationEngineRulesMinMaxBulkDestroyRequestWithBody generates requests for PluginsDataValidationEngineRulesMinMaxBulkDestroy with any type of body +func NewPluginsDataValidationEngineRulesMinMaxBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -124311,11 +178092,13 @@ func NewPluginsDataValidationEngineRulesMinMaxBulkDestroyRequest(server string) return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -126136,8 +179919,19 @@ func NewPluginsDataValidationEngineRulesMinMaxUpdateRequestWithBody(server strin return req, nil } -// NewPluginsDataValidationEngineRulesRegexBulkDestroyRequest generates requests for PluginsDataValidationEngineRulesRegexBulkDestroy -func NewPluginsDataValidationEngineRulesRegexBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsDataValidationEngineRulesRegexBulkDestroyRequest calls the generic PluginsDataValidationEngineRulesRegexBulkDestroy builder with application/json body +func NewPluginsDataValidationEngineRulesRegexBulkDestroyRequest(server string, body PluginsDataValidationEngineRulesRegexBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsDataValidationEngineRulesRegexBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsDataValidationEngineRulesRegexBulkDestroyRequestWithBody generates requests for PluginsDataValidationEngineRulesRegexBulkDestroy with any type of body +func NewPluginsDataValidationEngineRulesRegexBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -126155,11 +179949,13 @@ func NewPluginsDataValidationEngineRulesRegexBulkDestroyRequest(server string) ( return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -128311,8 +182107,18258 @@ func NewPluginsDeviceOnboardingOnboardingRetrieveRequest(server string, id opena return req, nil } -// NewPluginsGoldenConfigComplianceFeatureBulkDestroyRequest generates requests for PluginsGoldenConfigComplianceFeatureBulkDestroy -func NewPluginsGoldenConfigComplianceFeatureBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsFirewallAddressObjectGroupBulkDestroyRequest calls the generic PluginsFirewallAddressObjectGroupBulkDestroy builder with application/json body +func NewPluginsFirewallAddressObjectGroupBulkDestroyRequest(server string, body PluginsFirewallAddressObjectGroupBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallAddressObjectGroupBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallAddressObjectGroupBulkDestroyRequestWithBody generates requests for PluginsFirewallAddressObjectGroupBulkDestroy with any type of body +func NewPluginsFirewallAddressObjectGroupBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object-group/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallAddressObjectGroupListRequest generates requests for PluginsFirewallAddressObjectGroupList +func NewPluginsFirewallAddressObjectGroupListRequest(server string, params *PluginsFirewallAddressObjectGroupListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object-group/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.AddressObjects != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address_objects", runtime.ParamLocationQuery, *params.AddressObjects); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressObjectsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address_objects__n", runtime.ParamLocationQuery, *params.AddressObjectsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Name != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallAddressObjectGroupBulkPartialUpdateRequest calls the generic PluginsFirewallAddressObjectGroupBulkPartialUpdate builder with application/json body +func NewPluginsFirewallAddressObjectGroupBulkPartialUpdateRequest(server string, body PluginsFirewallAddressObjectGroupBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallAddressObjectGroupBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallAddressObjectGroupBulkPartialUpdateRequestWithBody generates requests for PluginsFirewallAddressObjectGroupBulkPartialUpdate with any type of body +func NewPluginsFirewallAddressObjectGroupBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object-group/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallAddressObjectGroupCreateRequest calls the generic PluginsFirewallAddressObjectGroupCreate builder with application/json body +func NewPluginsFirewallAddressObjectGroupCreateRequest(server string, body PluginsFirewallAddressObjectGroupCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallAddressObjectGroupCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallAddressObjectGroupCreateRequestWithBody generates requests for PluginsFirewallAddressObjectGroupCreate with any type of body +func NewPluginsFirewallAddressObjectGroupCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object-group/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallAddressObjectGroupBulkUpdateRequest calls the generic PluginsFirewallAddressObjectGroupBulkUpdate builder with application/json body +func NewPluginsFirewallAddressObjectGroupBulkUpdateRequest(server string, body PluginsFirewallAddressObjectGroupBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallAddressObjectGroupBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallAddressObjectGroupBulkUpdateRequestWithBody generates requests for PluginsFirewallAddressObjectGroupBulkUpdate with any type of body +func NewPluginsFirewallAddressObjectGroupBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object-group/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallAddressObjectGroupDestroyRequest generates requests for PluginsFirewallAddressObjectGroupDestroy +func NewPluginsFirewallAddressObjectGroupDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object-group/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallAddressObjectGroupRetrieveRequest generates requests for PluginsFirewallAddressObjectGroupRetrieve +func NewPluginsFirewallAddressObjectGroupRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object-group/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallAddressObjectGroupPartialUpdateRequest calls the generic PluginsFirewallAddressObjectGroupPartialUpdate builder with application/json body +func NewPluginsFirewallAddressObjectGroupPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallAddressObjectGroupPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallAddressObjectGroupPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallAddressObjectGroupPartialUpdateRequestWithBody generates requests for PluginsFirewallAddressObjectGroupPartialUpdate with any type of body +func NewPluginsFirewallAddressObjectGroupPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object-group/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallAddressObjectGroupUpdateRequest calls the generic PluginsFirewallAddressObjectGroupUpdate builder with application/json body +func NewPluginsFirewallAddressObjectGroupUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallAddressObjectGroupUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallAddressObjectGroupUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallAddressObjectGroupUpdateRequestWithBody generates requests for PluginsFirewallAddressObjectGroupUpdate with any type of body +func NewPluginsFirewallAddressObjectGroupUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object-group/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallAddressObjectGroupNotesListRequest generates requests for PluginsFirewallAddressObjectGroupNotesList +func NewPluginsFirewallAddressObjectGroupNotesListRequest(server string, id openapi_types.UUID, params *PluginsFirewallAddressObjectGroupNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object-group/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallAddressObjectGroupNotesCreateRequest calls the generic PluginsFirewallAddressObjectGroupNotesCreate builder with application/json body +func NewPluginsFirewallAddressObjectGroupNotesCreateRequest(server string, id openapi_types.UUID, body PluginsFirewallAddressObjectGroupNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallAddressObjectGroupNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallAddressObjectGroupNotesCreateRequestWithBody generates requests for PluginsFirewallAddressObjectGroupNotesCreate with any type of body +func NewPluginsFirewallAddressObjectGroupNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object-group/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallAddressObjectBulkDestroyRequest calls the generic PluginsFirewallAddressObjectBulkDestroy builder with application/json body +func NewPluginsFirewallAddressObjectBulkDestroyRequest(server string, body PluginsFirewallAddressObjectBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallAddressObjectBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallAddressObjectBulkDestroyRequestWithBody generates requests for PluginsFirewallAddressObjectBulkDestroy with any type of body +func NewPluginsFirewallAddressObjectBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallAddressObjectListRequest generates requests for PluginsFirewallAddressObjectList +func NewPluginsFirewallAddressObjectListRequest(server string, params *PluginsFirewallAddressObjectListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Fqdn != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fqdn", runtime.ParamLocationQuery, *params.Fqdn); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FqdnN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fqdn__n", runtime.ParamLocationQuery, *params.FqdnN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IpAddress != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ip_address", runtime.ParamLocationQuery, *params.IpAddress); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IpAddressN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ip_address__n", runtime.ParamLocationQuery, *params.IpAddressN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IpRange != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ip_range", runtime.ParamLocationQuery, *params.IpRange); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IpRangeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ip_range__n", runtime.ParamLocationQuery, *params.IpRangeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Name != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Prefix != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prefix", runtime.ParamLocationQuery, *params.Prefix); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PrefixN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prefix__n", runtime.ParamLocationQuery, *params.PrefixN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallAddressObjectBulkPartialUpdateRequest calls the generic PluginsFirewallAddressObjectBulkPartialUpdate builder with application/json body +func NewPluginsFirewallAddressObjectBulkPartialUpdateRequest(server string, body PluginsFirewallAddressObjectBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallAddressObjectBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallAddressObjectBulkPartialUpdateRequestWithBody generates requests for PluginsFirewallAddressObjectBulkPartialUpdate with any type of body +func NewPluginsFirewallAddressObjectBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallAddressObjectCreateRequest calls the generic PluginsFirewallAddressObjectCreate builder with application/json body +func NewPluginsFirewallAddressObjectCreateRequest(server string, body PluginsFirewallAddressObjectCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallAddressObjectCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallAddressObjectCreateRequestWithBody generates requests for PluginsFirewallAddressObjectCreate with any type of body +func NewPluginsFirewallAddressObjectCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallAddressObjectBulkUpdateRequest calls the generic PluginsFirewallAddressObjectBulkUpdate builder with application/json body +func NewPluginsFirewallAddressObjectBulkUpdateRequest(server string, body PluginsFirewallAddressObjectBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallAddressObjectBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallAddressObjectBulkUpdateRequestWithBody generates requests for PluginsFirewallAddressObjectBulkUpdate with any type of body +func NewPluginsFirewallAddressObjectBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallAddressObjectDestroyRequest generates requests for PluginsFirewallAddressObjectDestroy +func NewPluginsFirewallAddressObjectDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallAddressObjectRetrieveRequest generates requests for PluginsFirewallAddressObjectRetrieve +func NewPluginsFirewallAddressObjectRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallAddressObjectPartialUpdateRequest calls the generic PluginsFirewallAddressObjectPartialUpdate builder with application/json body +func NewPluginsFirewallAddressObjectPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallAddressObjectPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallAddressObjectPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallAddressObjectPartialUpdateRequestWithBody generates requests for PluginsFirewallAddressObjectPartialUpdate with any type of body +func NewPluginsFirewallAddressObjectPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallAddressObjectUpdateRequest calls the generic PluginsFirewallAddressObjectUpdate builder with application/json body +func NewPluginsFirewallAddressObjectUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallAddressObjectUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallAddressObjectUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallAddressObjectUpdateRequestWithBody generates requests for PluginsFirewallAddressObjectUpdate with any type of body +func NewPluginsFirewallAddressObjectUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallAddressObjectNotesListRequest generates requests for PluginsFirewallAddressObjectNotesList +func NewPluginsFirewallAddressObjectNotesListRequest(server string, id openapi_types.UUID, params *PluginsFirewallAddressObjectNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallAddressObjectNotesCreateRequest calls the generic PluginsFirewallAddressObjectNotesCreate builder with application/json body +func NewPluginsFirewallAddressObjectNotesCreateRequest(server string, id openapi_types.UUID, body PluginsFirewallAddressObjectNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallAddressObjectNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallAddressObjectNotesCreateRequestWithBody generates requests for PluginsFirewallAddressObjectNotesCreate with any type of body +func NewPluginsFirewallAddressObjectNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/address-object/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallCapircaPolicyBulkDestroyRequest calls the generic PluginsFirewallCapircaPolicyBulkDestroy builder with application/json body +func NewPluginsFirewallCapircaPolicyBulkDestroyRequest(server string, body PluginsFirewallCapircaPolicyBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallCapircaPolicyBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallCapircaPolicyBulkDestroyRequestWithBody generates requests for PluginsFirewallCapircaPolicyBulkDestroy with any type of body +func NewPluginsFirewallCapircaPolicyBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/capirca-policy/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallCapircaPolicyListRequest generates requests for PluginsFirewallCapircaPolicyList +func NewPluginsFirewallCapircaPolicyListRequest(server string, params *PluginsFirewallCapircaPolicyListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/capirca-policy/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Device != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device", runtime.ParamLocationQuery, *params.Device); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device__n", runtime.ParamLocationQuery, *params.DeviceN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_id", runtime.ParamLocationQuery, *params.DeviceId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DeviceIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_id__n", runtime.ParamLocationQuery, *params.DeviceIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallCapircaPolicyBulkPartialUpdateRequest calls the generic PluginsFirewallCapircaPolicyBulkPartialUpdate builder with application/json body +func NewPluginsFirewallCapircaPolicyBulkPartialUpdateRequest(server string, body PluginsFirewallCapircaPolicyBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallCapircaPolicyBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallCapircaPolicyBulkPartialUpdateRequestWithBody generates requests for PluginsFirewallCapircaPolicyBulkPartialUpdate with any type of body +func NewPluginsFirewallCapircaPolicyBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/capirca-policy/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallCapircaPolicyCreateRequest calls the generic PluginsFirewallCapircaPolicyCreate builder with application/json body +func NewPluginsFirewallCapircaPolicyCreateRequest(server string, body PluginsFirewallCapircaPolicyCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallCapircaPolicyCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallCapircaPolicyCreateRequestWithBody generates requests for PluginsFirewallCapircaPolicyCreate with any type of body +func NewPluginsFirewallCapircaPolicyCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/capirca-policy/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallCapircaPolicyBulkUpdateRequest calls the generic PluginsFirewallCapircaPolicyBulkUpdate builder with application/json body +func NewPluginsFirewallCapircaPolicyBulkUpdateRequest(server string, body PluginsFirewallCapircaPolicyBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallCapircaPolicyBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallCapircaPolicyBulkUpdateRequestWithBody generates requests for PluginsFirewallCapircaPolicyBulkUpdate with any type of body +func NewPluginsFirewallCapircaPolicyBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/capirca-policy/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallCapircaPolicyDestroyRequest generates requests for PluginsFirewallCapircaPolicyDestroy +func NewPluginsFirewallCapircaPolicyDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/capirca-policy/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallCapircaPolicyRetrieveRequest generates requests for PluginsFirewallCapircaPolicyRetrieve +func NewPluginsFirewallCapircaPolicyRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/capirca-policy/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallCapircaPolicyPartialUpdateRequest calls the generic PluginsFirewallCapircaPolicyPartialUpdate builder with application/json body +func NewPluginsFirewallCapircaPolicyPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallCapircaPolicyPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallCapircaPolicyPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallCapircaPolicyPartialUpdateRequestWithBody generates requests for PluginsFirewallCapircaPolicyPartialUpdate with any type of body +func NewPluginsFirewallCapircaPolicyPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/capirca-policy/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallCapircaPolicyUpdateRequest calls the generic PluginsFirewallCapircaPolicyUpdate builder with application/json body +func NewPluginsFirewallCapircaPolicyUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallCapircaPolicyUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallCapircaPolicyUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallCapircaPolicyUpdateRequestWithBody generates requests for PluginsFirewallCapircaPolicyUpdate with any type of body +func NewPluginsFirewallCapircaPolicyUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/capirca-policy/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallFqdnBulkDestroyRequest calls the generic PluginsFirewallFqdnBulkDestroy builder with application/json body +func NewPluginsFirewallFqdnBulkDestroyRequest(server string, body PluginsFirewallFqdnBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallFqdnBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallFqdnBulkDestroyRequestWithBody generates requests for PluginsFirewallFqdnBulkDestroy with any type of body +func NewPluginsFirewallFqdnBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/fqdn/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallFqdnListRequest generates requests for PluginsFirewallFqdnList +func NewPluginsFirewallFqdnListRequest(server string, params *PluginsFirewallFqdnListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/fqdn/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Name != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallFqdnBulkPartialUpdateRequest calls the generic PluginsFirewallFqdnBulkPartialUpdate builder with application/json body +func NewPluginsFirewallFqdnBulkPartialUpdateRequest(server string, body PluginsFirewallFqdnBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallFqdnBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallFqdnBulkPartialUpdateRequestWithBody generates requests for PluginsFirewallFqdnBulkPartialUpdate with any type of body +func NewPluginsFirewallFqdnBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/fqdn/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallFqdnCreateRequest calls the generic PluginsFirewallFqdnCreate builder with application/json body +func NewPluginsFirewallFqdnCreateRequest(server string, body PluginsFirewallFqdnCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallFqdnCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallFqdnCreateRequestWithBody generates requests for PluginsFirewallFqdnCreate with any type of body +func NewPluginsFirewallFqdnCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/fqdn/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallFqdnBulkUpdateRequest calls the generic PluginsFirewallFqdnBulkUpdate builder with application/json body +func NewPluginsFirewallFqdnBulkUpdateRequest(server string, body PluginsFirewallFqdnBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallFqdnBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallFqdnBulkUpdateRequestWithBody generates requests for PluginsFirewallFqdnBulkUpdate with any type of body +func NewPluginsFirewallFqdnBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/fqdn/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallFqdnDestroyRequest generates requests for PluginsFirewallFqdnDestroy +func NewPluginsFirewallFqdnDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/fqdn/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallFqdnRetrieveRequest generates requests for PluginsFirewallFqdnRetrieve +func NewPluginsFirewallFqdnRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/fqdn/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallFqdnPartialUpdateRequest calls the generic PluginsFirewallFqdnPartialUpdate builder with application/json body +func NewPluginsFirewallFqdnPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallFqdnPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallFqdnPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallFqdnPartialUpdateRequestWithBody generates requests for PluginsFirewallFqdnPartialUpdate with any type of body +func NewPluginsFirewallFqdnPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/fqdn/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallFqdnUpdateRequest calls the generic PluginsFirewallFqdnUpdate builder with application/json body +func NewPluginsFirewallFqdnUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallFqdnUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallFqdnUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallFqdnUpdateRequestWithBody generates requests for PluginsFirewallFqdnUpdate with any type of body +func NewPluginsFirewallFqdnUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/fqdn/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallFqdnNotesListRequest generates requests for PluginsFirewallFqdnNotesList +func NewPluginsFirewallFqdnNotesListRequest(server string, id openapi_types.UUID, params *PluginsFirewallFqdnNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/fqdn/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallFqdnNotesCreateRequest calls the generic PluginsFirewallFqdnNotesCreate builder with application/json body +func NewPluginsFirewallFqdnNotesCreateRequest(server string, id openapi_types.UUID, body PluginsFirewallFqdnNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallFqdnNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallFqdnNotesCreateRequestWithBody generates requests for PluginsFirewallFqdnNotesCreate with any type of body +func NewPluginsFirewallFqdnNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/fqdn/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallIpRangeBulkDestroyRequest calls the generic PluginsFirewallIpRangeBulkDestroy builder with application/json body +func NewPluginsFirewallIpRangeBulkDestroyRequest(server string, body PluginsFirewallIpRangeBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallIpRangeBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallIpRangeBulkDestroyRequestWithBody generates requests for PluginsFirewallIpRangeBulkDestroy with any type of body +func NewPluginsFirewallIpRangeBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/ip-range/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallIpRangeListRequest generates requests for PluginsFirewallIpRangeList +func NewPluginsFirewallIpRangeListRequest(server string, params *PluginsFirewallIpRangeListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/ip-range/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Size != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "size", runtime.ParamLocationQuery, *params.Size); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SizeGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "size__gt", runtime.ParamLocationQuery, *params.SizeGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SizeGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "size__gte", runtime.ParamLocationQuery, *params.SizeGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SizeLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "size__lt", runtime.ParamLocationQuery, *params.SizeLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SizeLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "size__lte", runtime.ParamLocationQuery, *params.SizeLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SizeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "size__n", runtime.ParamLocationQuery, *params.SizeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Vrf != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vrf", runtime.ParamLocationQuery, *params.Vrf); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VrfN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vrf__n", runtime.ParamLocationQuery, *params.VrfN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallIpRangeBulkPartialUpdateRequest calls the generic PluginsFirewallIpRangeBulkPartialUpdate builder with application/json body +func NewPluginsFirewallIpRangeBulkPartialUpdateRequest(server string, body PluginsFirewallIpRangeBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallIpRangeBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallIpRangeBulkPartialUpdateRequestWithBody generates requests for PluginsFirewallIpRangeBulkPartialUpdate with any type of body +func NewPluginsFirewallIpRangeBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/ip-range/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallIpRangeCreateRequest calls the generic PluginsFirewallIpRangeCreate builder with application/json body +func NewPluginsFirewallIpRangeCreateRequest(server string, body PluginsFirewallIpRangeCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallIpRangeCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallIpRangeCreateRequestWithBody generates requests for PluginsFirewallIpRangeCreate with any type of body +func NewPluginsFirewallIpRangeCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/ip-range/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallIpRangeBulkUpdateRequest calls the generic PluginsFirewallIpRangeBulkUpdate builder with application/json body +func NewPluginsFirewallIpRangeBulkUpdateRequest(server string, body PluginsFirewallIpRangeBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallIpRangeBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallIpRangeBulkUpdateRequestWithBody generates requests for PluginsFirewallIpRangeBulkUpdate with any type of body +func NewPluginsFirewallIpRangeBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/ip-range/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallIpRangeDestroyRequest generates requests for PluginsFirewallIpRangeDestroy +func NewPluginsFirewallIpRangeDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/ip-range/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallIpRangeRetrieveRequest generates requests for PluginsFirewallIpRangeRetrieve +func NewPluginsFirewallIpRangeRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/ip-range/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallIpRangePartialUpdateRequest calls the generic PluginsFirewallIpRangePartialUpdate builder with application/json body +func NewPluginsFirewallIpRangePartialUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallIpRangePartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallIpRangePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallIpRangePartialUpdateRequestWithBody generates requests for PluginsFirewallIpRangePartialUpdate with any type of body +func NewPluginsFirewallIpRangePartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/ip-range/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallIpRangeUpdateRequest calls the generic PluginsFirewallIpRangeUpdate builder with application/json body +func NewPluginsFirewallIpRangeUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallIpRangeUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallIpRangeUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallIpRangeUpdateRequestWithBody generates requests for PluginsFirewallIpRangeUpdate with any type of body +func NewPluginsFirewallIpRangeUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/ip-range/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallIpRangeNotesListRequest generates requests for PluginsFirewallIpRangeNotesList +func NewPluginsFirewallIpRangeNotesListRequest(server string, id openapi_types.UUID, params *PluginsFirewallIpRangeNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/ip-range/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallIpRangeNotesCreateRequest calls the generic PluginsFirewallIpRangeNotesCreate builder with application/json body +func NewPluginsFirewallIpRangeNotesCreateRequest(server string, id openapi_types.UUID, body PluginsFirewallIpRangeNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallIpRangeNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallIpRangeNotesCreateRequestWithBody generates requests for PluginsFirewallIpRangeNotesCreate with any type of body +func NewPluginsFirewallIpRangeNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/ip-range/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallNatPolicyRuleBulkDestroyRequest calls the generic PluginsFirewallNatPolicyRuleBulkDestroy builder with application/json body +func NewPluginsFirewallNatPolicyRuleBulkDestroyRequest(server string, body PluginsFirewallNatPolicyRuleBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallNatPolicyRuleBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallNatPolicyRuleBulkDestroyRequestWithBody generates requests for PluginsFirewallNatPolicyRuleBulkDestroy with any type of body +func NewPluginsFirewallNatPolicyRuleBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallNatPolicyRuleListRequest generates requests for PluginsFirewallNatPolicyRuleList +func NewPluginsFirewallNatPolicyRuleListRequest(server string, params *PluginsFirewallNatPolicyRuleListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Log != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "log", runtime.ParamLocationQuery, *params.Log); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Remark != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remark", runtime.ParamLocationQuery, *params.Remark); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id", runtime.ParamLocationQuery, *params.RequestId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__ic", runtime.ParamLocationQuery, *params.RequestIdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__ie", runtime.ParamLocationQuery, *params.RequestIdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__iew", runtime.ParamLocationQuery, *params.RequestIdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__ire", runtime.ParamLocationQuery, *params.RequestIdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__isw", runtime.ParamLocationQuery, *params.RequestIdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__n", runtime.ParamLocationQuery, *params.RequestIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__nic", runtime.ParamLocationQuery, *params.RequestIdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__nie", runtime.ParamLocationQuery, *params.RequestIdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__niew", runtime.ParamLocationQuery, *params.RequestIdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__nire", runtime.ParamLocationQuery, *params.RequestIdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__nisw", runtime.ParamLocationQuery, *params.RequestIdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__nre", runtime.ParamLocationQuery, *params.RequestIdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__re", runtime.ParamLocationQuery, *params.RequestIdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Tag != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag", runtime.ParamLocationQuery, *params.Tag); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TagN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag__n", runtime.ParamLocationQuery, *params.TagN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallNatPolicyRuleBulkPartialUpdateRequest calls the generic PluginsFirewallNatPolicyRuleBulkPartialUpdate builder with application/json body +func NewPluginsFirewallNatPolicyRuleBulkPartialUpdateRequest(server string, body PluginsFirewallNatPolicyRuleBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallNatPolicyRuleBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallNatPolicyRuleBulkPartialUpdateRequestWithBody generates requests for PluginsFirewallNatPolicyRuleBulkPartialUpdate with any type of body +func NewPluginsFirewallNatPolicyRuleBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallNatPolicyRuleCreateRequest calls the generic PluginsFirewallNatPolicyRuleCreate builder with application/json body +func NewPluginsFirewallNatPolicyRuleCreateRequest(server string, body PluginsFirewallNatPolicyRuleCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallNatPolicyRuleCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallNatPolicyRuleCreateRequestWithBody generates requests for PluginsFirewallNatPolicyRuleCreate with any type of body +func NewPluginsFirewallNatPolicyRuleCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallNatPolicyRuleBulkUpdateRequest calls the generic PluginsFirewallNatPolicyRuleBulkUpdate builder with application/json body +func NewPluginsFirewallNatPolicyRuleBulkUpdateRequest(server string, body PluginsFirewallNatPolicyRuleBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallNatPolicyRuleBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallNatPolicyRuleBulkUpdateRequestWithBody generates requests for PluginsFirewallNatPolicyRuleBulkUpdate with any type of body +func NewPluginsFirewallNatPolicyRuleBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallNatPolicyRuleDestroyRequest generates requests for PluginsFirewallNatPolicyRuleDestroy +func NewPluginsFirewallNatPolicyRuleDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy-rule/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallNatPolicyRuleRetrieveRequest generates requests for PluginsFirewallNatPolicyRuleRetrieve +func NewPluginsFirewallNatPolicyRuleRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy-rule/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallNatPolicyRulePartialUpdateRequest calls the generic PluginsFirewallNatPolicyRulePartialUpdate builder with application/json body +func NewPluginsFirewallNatPolicyRulePartialUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallNatPolicyRulePartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallNatPolicyRulePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallNatPolicyRulePartialUpdateRequestWithBody generates requests for PluginsFirewallNatPolicyRulePartialUpdate with any type of body +func NewPluginsFirewallNatPolicyRulePartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy-rule/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallNatPolicyRuleUpdateRequest calls the generic PluginsFirewallNatPolicyRuleUpdate builder with application/json body +func NewPluginsFirewallNatPolicyRuleUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallNatPolicyRuleUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallNatPolicyRuleUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallNatPolicyRuleUpdateRequestWithBody generates requests for PluginsFirewallNatPolicyRuleUpdate with any type of body +func NewPluginsFirewallNatPolicyRuleUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy-rule/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallNatPolicyRuleNotesListRequest generates requests for PluginsFirewallNatPolicyRuleNotesList +func NewPluginsFirewallNatPolicyRuleNotesListRequest(server string, id openapi_types.UUID, params *PluginsFirewallNatPolicyRuleNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy-rule/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallNatPolicyRuleNotesCreateRequest calls the generic PluginsFirewallNatPolicyRuleNotesCreate builder with application/json body +func NewPluginsFirewallNatPolicyRuleNotesCreateRequest(server string, id openapi_types.UUID, body PluginsFirewallNatPolicyRuleNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallNatPolicyRuleNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallNatPolicyRuleNotesCreateRequestWithBody generates requests for PluginsFirewallNatPolicyRuleNotesCreate with any type of body +func NewPluginsFirewallNatPolicyRuleNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy-rule/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallNatPolicyBulkDestroyRequest calls the generic PluginsFirewallNatPolicyBulkDestroy builder with application/json body +func NewPluginsFirewallNatPolicyBulkDestroyRequest(server string, body PluginsFirewallNatPolicyBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallNatPolicyBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallNatPolicyBulkDestroyRequestWithBody generates requests for PluginsFirewallNatPolicyBulkDestroy with any type of body +func NewPluginsFirewallNatPolicyBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallNatPolicyListRequest generates requests for PluginsFirewallNatPolicyList +func NewPluginsFirewallNatPolicyListRequest(server string, params *PluginsFirewallNatPolicyListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.AssignedDevices != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_devices", runtime.ParamLocationQuery, *params.AssignedDevices); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedDevicesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_devices__n", runtime.ParamLocationQuery, *params.AssignedDevicesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedDynamicGroups != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_dynamic_groups", runtime.ParamLocationQuery, *params.AssignedDynamicGroups); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedDynamicGroupsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_dynamic_groups__n", runtime.ParamLocationQuery, *params.AssignedDynamicGroupsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Name != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NatPolicyRules != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nat_policy_rules", runtime.ParamLocationQuery, *params.NatPolicyRules); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NatPolicyRulesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nat_policy_rules__n", runtime.ParamLocationQuery, *params.NatPolicyRulesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallNatPolicyBulkPartialUpdateRequest calls the generic PluginsFirewallNatPolicyBulkPartialUpdate builder with application/json body +func NewPluginsFirewallNatPolicyBulkPartialUpdateRequest(server string, body PluginsFirewallNatPolicyBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallNatPolicyBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallNatPolicyBulkPartialUpdateRequestWithBody generates requests for PluginsFirewallNatPolicyBulkPartialUpdate with any type of body +func NewPluginsFirewallNatPolicyBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallNatPolicyCreateRequest calls the generic PluginsFirewallNatPolicyCreate builder with application/json body +func NewPluginsFirewallNatPolicyCreateRequest(server string, body PluginsFirewallNatPolicyCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallNatPolicyCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallNatPolicyCreateRequestWithBody generates requests for PluginsFirewallNatPolicyCreate with any type of body +func NewPluginsFirewallNatPolicyCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallNatPolicyBulkUpdateRequest calls the generic PluginsFirewallNatPolicyBulkUpdate builder with application/json body +func NewPluginsFirewallNatPolicyBulkUpdateRequest(server string, body PluginsFirewallNatPolicyBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallNatPolicyBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallNatPolicyBulkUpdateRequestWithBody generates requests for PluginsFirewallNatPolicyBulkUpdate with any type of body +func NewPluginsFirewallNatPolicyBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallNatPolicyDestroyRequest generates requests for PluginsFirewallNatPolicyDestroy +func NewPluginsFirewallNatPolicyDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallNatPolicyRetrieveRequest generates requests for PluginsFirewallNatPolicyRetrieve +func NewPluginsFirewallNatPolicyRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallNatPolicyPartialUpdateRequest calls the generic PluginsFirewallNatPolicyPartialUpdate builder with application/json body +func NewPluginsFirewallNatPolicyPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallNatPolicyPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallNatPolicyPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallNatPolicyPartialUpdateRequestWithBody generates requests for PluginsFirewallNatPolicyPartialUpdate with any type of body +func NewPluginsFirewallNatPolicyPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallNatPolicyUpdateRequest calls the generic PluginsFirewallNatPolicyUpdate builder with application/json body +func NewPluginsFirewallNatPolicyUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallNatPolicyUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallNatPolicyUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallNatPolicyUpdateRequestWithBody generates requests for PluginsFirewallNatPolicyUpdate with any type of body +func NewPluginsFirewallNatPolicyUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallNatPolicyNotesListRequest generates requests for PluginsFirewallNatPolicyNotesList +func NewPluginsFirewallNatPolicyNotesListRequest(server string, id openapi_types.UUID, params *PluginsFirewallNatPolicyNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallNatPolicyNotesCreateRequest calls the generic PluginsFirewallNatPolicyNotesCreate builder with application/json body +func NewPluginsFirewallNatPolicyNotesCreateRequest(server string, id openapi_types.UUID, body PluginsFirewallNatPolicyNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallNatPolicyNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallNatPolicyNotesCreateRequestWithBody generates requests for PluginsFirewallNatPolicyNotesCreate with any type of body +func NewPluginsFirewallNatPolicyNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/nat-policy/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallPolicyRuleBulkDestroyRequest calls the generic PluginsFirewallPolicyRuleBulkDestroy builder with application/json body +func NewPluginsFirewallPolicyRuleBulkDestroyRequest(server string, body PluginsFirewallPolicyRuleBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallPolicyRuleBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallPolicyRuleBulkDestroyRequestWithBody generates requests for PluginsFirewallPolicyRuleBulkDestroy with any type of body +func NewPluginsFirewallPolicyRuleBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallPolicyRuleListRequest generates requests for PluginsFirewallPolicyRuleList +func NewPluginsFirewallPolicyRuleListRequest(server string, params *PluginsFirewallPolicyRuleListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Action != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "action", runtime.ParamLocationQuery, *params.Action); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ActionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "action__n", runtime.ParamLocationQuery, *params.ActionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Log != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "log", runtime.ParamLocationQuery, *params.Log); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestId != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id", runtime.ParamLocationQuery, *params.RequestId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__ic", runtime.ParamLocationQuery, *params.RequestIdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__ie", runtime.ParamLocationQuery, *params.RequestIdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__iew", runtime.ParamLocationQuery, *params.RequestIdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__ire", runtime.ParamLocationQuery, *params.RequestIdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__isw", runtime.ParamLocationQuery, *params.RequestIdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__n", runtime.ParamLocationQuery, *params.RequestIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__nic", runtime.ParamLocationQuery, *params.RequestIdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__nie", runtime.ParamLocationQuery, *params.RequestIdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__niew", runtime.ParamLocationQuery, *params.RequestIdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__nire", runtime.ParamLocationQuery, *params.RequestIdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__nisw", runtime.ParamLocationQuery, *params.RequestIdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__nre", runtime.ParamLocationQuery, *params.RequestIdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.RequestIdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request_id__re", runtime.ParamLocationQuery, *params.RequestIdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Tag != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag", runtime.ParamLocationQuery, *params.Tag); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TagN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag__n", runtime.ParamLocationQuery, *params.TagN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallPolicyRuleBulkPartialUpdateRequest calls the generic PluginsFirewallPolicyRuleBulkPartialUpdate builder with application/json body +func NewPluginsFirewallPolicyRuleBulkPartialUpdateRequest(server string, body PluginsFirewallPolicyRuleBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallPolicyRuleBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallPolicyRuleBulkPartialUpdateRequestWithBody generates requests for PluginsFirewallPolicyRuleBulkPartialUpdate with any type of body +func NewPluginsFirewallPolicyRuleBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallPolicyRuleCreateRequest calls the generic PluginsFirewallPolicyRuleCreate builder with application/json body +func NewPluginsFirewallPolicyRuleCreateRequest(server string, body PluginsFirewallPolicyRuleCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallPolicyRuleCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallPolicyRuleCreateRequestWithBody generates requests for PluginsFirewallPolicyRuleCreate with any type of body +func NewPluginsFirewallPolicyRuleCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallPolicyRuleBulkUpdateRequest calls the generic PluginsFirewallPolicyRuleBulkUpdate builder with application/json body +func NewPluginsFirewallPolicyRuleBulkUpdateRequest(server string, body PluginsFirewallPolicyRuleBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallPolicyRuleBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallPolicyRuleBulkUpdateRequestWithBody generates requests for PluginsFirewallPolicyRuleBulkUpdate with any type of body +func NewPluginsFirewallPolicyRuleBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy-rule/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallPolicyRuleDestroyRequest generates requests for PluginsFirewallPolicyRuleDestroy +func NewPluginsFirewallPolicyRuleDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy-rule/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallPolicyRuleRetrieveRequest generates requests for PluginsFirewallPolicyRuleRetrieve +func NewPluginsFirewallPolicyRuleRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy-rule/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallPolicyRulePartialUpdateRequest calls the generic PluginsFirewallPolicyRulePartialUpdate builder with application/json body +func NewPluginsFirewallPolicyRulePartialUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallPolicyRulePartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallPolicyRulePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallPolicyRulePartialUpdateRequestWithBody generates requests for PluginsFirewallPolicyRulePartialUpdate with any type of body +func NewPluginsFirewallPolicyRulePartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy-rule/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallPolicyRuleUpdateRequest calls the generic PluginsFirewallPolicyRuleUpdate builder with application/json body +func NewPluginsFirewallPolicyRuleUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallPolicyRuleUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallPolicyRuleUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallPolicyRuleUpdateRequestWithBody generates requests for PluginsFirewallPolicyRuleUpdate with any type of body +func NewPluginsFirewallPolicyRuleUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy-rule/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallPolicyRuleNotesListRequest generates requests for PluginsFirewallPolicyRuleNotesList +func NewPluginsFirewallPolicyRuleNotesListRequest(server string, id openapi_types.UUID, params *PluginsFirewallPolicyRuleNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy-rule/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallPolicyRuleNotesCreateRequest calls the generic PluginsFirewallPolicyRuleNotesCreate builder with application/json body +func NewPluginsFirewallPolicyRuleNotesCreateRequest(server string, id openapi_types.UUID, body PluginsFirewallPolicyRuleNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallPolicyRuleNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallPolicyRuleNotesCreateRequestWithBody generates requests for PluginsFirewallPolicyRuleNotesCreate with any type of body +func NewPluginsFirewallPolicyRuleNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy-rule/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallPolicyBulkDestroyRequest calls the generic PluginsFirewallPolicyBulkDestroy builder with application/json body +func NewPluginsFirewallPolicyBulkDestroyRequest(server string, body PluginsFirewallPolicyBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallPolicyBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallPolicyBulkDestroyRequestWithBody generates requests for PluginsFirewallPolicyBulkDestroy with any type of body +func NewPluginsFirewallPolicyBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallPolicyListRequest generates requests for PluginsFirewallPolicyList +func NewPluginsFirewallPolicyListRequest(server string, params *PluginsFirewallPolicyListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.AssignedDevices != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_devices", runtime.ParamLocationQuery, *params.AssignedDevices); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedDevicesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_devices__n", runtime.ParamLocationQuery, *params.AssignedDevicesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedDynamicGroups != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_dynamic_groups", runtime.ParamLocationQuery, *params.AssignedDynamicGroups); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AssignedDynamicGroupsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "assigned_dynamic_groups__n", runtime.ParamLocationQuery, *params.AssignedDynamicGroupsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Name != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PolicyRules != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "policy_rules", runtime.ParamLocationQuery, *params.PolicyRules); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PolicyRulesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "policy_rules__n", runtime.ParamLocationQuery, *params.PolicyRulesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallPolicyBulkPartialUpdateRequest calls the generic PluginsFirewallPolicyBulkPartialUpdate builder with application/json body +func NewPluginsFirewallPolicyBulkPartialUpdateRequest(server string, body PluginsFirewallPolicyBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallPolicyBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallPolicyBulkPartialUpdateRequestWithBody generates requests for PluginsFirewallPolicyBulkPartialUpdate with any type of body +func NewPluginsFirewallPolicyBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallPolicyCreateRequest calls the generic PluginsFirewallPolicyCreate builder with application/json body +func NewPluginsFirewallPolicyCreateRequest(server string, body PluginsFirewallPolicyCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallPolicyCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallPolicyCreateRequestWithBody generates requests for PluginsFirewallPolicyCreate with any type of body +func NewPluginsFirewallPolicyCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallPolicyBulkUpdateRequest calls the generic PluginsFirewallPolicyBulkUpdate builder with application/json body +func NewPluginsFirewallPolicyBulkUpdateRequest(server string, body PluginsFirewallPolicyBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallPolicyBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallPolicyBulkUpdateRequestWithBody generates requests for PluginsFirewallPolicyBulkUpdate with any type of body +func NewPluginsFirewallPolicyBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallPolicyDestroyRequest generates requests for PluginsFirewallPolicyDestroy +func NewPluginsFirewallPolicyDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallPolicyRetrieveRequest generates requests for PluginsFirewallPolicyRetrieve +func NewPluginsFirewallPolicyRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallPolicyPartialUpdateRequest calls the generic PluginsFirewallPolicyPartialUpdate builder with application/json body +func NewPluginsFirewallPolicyPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallPolicyPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallPolicyPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallPolicyPartialUpdateRequestWithBody generates requests for PluginsFirewallPolicyPartialUpdate with any type of body +func NewPluginsFirewallPolicyPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallPolicyUpdateRequest calls the generic PluginsFirewallPolicyUpdate builder with application/json body +func NewPluginsFirewallPolicyUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallPolicyUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallPolicyUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallPolicyUpdateRequestWithBody generates requests for PluginsFirewallPolicyUpdate with any type of body +func NewPluginsFirewallPolicyUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallPolicyNotesListRequest generates requests for PluginsFirewallPolicyNotesList +func NewPluginsFirewallPolicyNotesListRequest(server string, id openapi_types.UUID, params *PluginsFirewallPolicyNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallPolicyNotesCreateRequest calls the generic PluginsFirewallPolicyNotesCreate builder with application/json body +func NewPluginsFirewallPolicyNotesCreateRequest(server string, id openapi_types.UUID, body PluginsFirewallPolicyNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallPolicyNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallPolicyNotesCreateRequestWithBody generates requests for PluginsFirewallPolicyNotesCreate with any type of body +func NewPluginsFirewallPolicyNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/policy/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallServiceObjectGroupBulkDestroyRequest calls the generic PluginsFirewallServiceObjectGroupBulkDestroy builder with application/json body +func NewPluginsFirewallServiceObjectGroupBulkDestroyRequest(server string, body PluginsFirewallServiceObjectGroupBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallServiceObjectGroupBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallServiceObjectGroupBulkDestroyRequestWithBody generates requests for PluginsFirewallServiceObjectGroupBulkDestroy with any type of body +func NewPluginsFirewallServiceObjectGroupBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object-group/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallServiceObjectGroupListRequest generates requests for PluginsFirewallServiceObjectGroupList +func NewPluginsFirewallServiceObjectGroupListRequest(server string, params *PluginsFirewallServiceObjectGroupListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object-group/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Name != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ServiceObjects != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "service_objects", runtime.ParamLocationQuery, *params.ServiceObjects); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ServiceObjectsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "service_objects__n", runtime.ParamLocationQuery, *params.ServiceObjectsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallServiceObjectGroupBulkPartialUpdateRequest calls the generic PluginsFirewallServiceObjectGroupBulkPartialUpdate builder with application/json body +func NewPluginsFirewallServiceObjectGroupBulkPartialUpdateRequest(server string, body PluginsFirewallServiceObjectGroupBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallServiceObjectGroupBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallServiceObjectGroupBulkPartialUpdateRequestWithBody generates requests for PluginsFirewallServiceObjectGroupBulkPartialUpdate with any type of body +func NewPluginsFirewallServiceObjectGroupBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object-group/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallServiceObjectGroupCreateRequest calls the generic PluginsFirewallServiceObjectGroupCreate builder with application/json body +func NewPluginsFirewallServiceObjectGroupCreateRequest(server string, body PluginsFirewallServiceObjectGroupCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallServiceObjectGroupCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallServiceObjectGroupCreateRequestWithBody generates requests for PluginsFirewallServiceObjectGroupCreate with any type of body +func NewPluginsFirewallServiceObjectGroupCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object-group/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallServiceObjectGroupBulkUpdateRequest calls the generic PluginsFirewallServiceObjectGroupBulkUpdate builder with application/json body +func NewPluginsFirewallServiceObjectGroupBulkUpdateRequest(server string, body PluginsFirewallServiceObjectGroupBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallServiceObjectGroupBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallServiceObjectGroupBulkUpdateRequestWithBody generates requests for PluginsFirewallServiceObjectGroupBulkUpdate with any type of body +func NewPluginsFirewallServiceObjectGroupBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object-group/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallServiceObjectGroupDestroyRequest generates requests for PluginsFirewallServiceObjectGroupDestroy +func NewPluginsFirewallServiceObjectGroupDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object-group/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallServiceObjectGroupRetrieveRequest generates requests for PluginsFirewallServiceObjectGroupRetrieve +func NewPluginsFirewallServiceObjectGroupRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object-group/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallServiceObjectGroupPartialUpdateRequest calls the generic PluginsFirewallServiceObjectGroupPartialUpdate builder with application/json body +func NewPluginsFirewallServiceObjectGroupPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallServiceObjectGroupPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallServiceObjectGroupPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallServiceObjectGroupPartialUpdateRequestWithBody generates requests for PluginsFirewallServiceObjectGroupPartialUpdate with any type of body +func NewPluginsFirewallServiceObjectGroupPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object-group/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallServiceObjectGroupUpdateRequest calls the generic PluginsFirewallServiceObjectGroupUpdate builder with application/json body +func NewPluginsFirewallServiceObjectGroupUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallServiceObjectGroupUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallServiceObjectGroupUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallServiceObjectGroupUpdateRequestWithBody generates requests for PluginsFirewallServiceObjectGroupUpdate with any type of body +func NewPluginsFirewallServiceObjectGroupUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object-group/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallServiceObjectGroupNotesListRequest generates requests for PluginsFirewallServiceObjectGroupNotesList +func NewPluginsFirewallServiceObjectGroupNotesListRequest(server string, id openapi_types.UUID, params *PluginsFirewallServiceObjectGroupNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object-group/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallServiceObjectGroupNotesCreateRequest calls the generic PluginsFirewallServiceObjectGroupNotesCreate builder with application/json body +func NewPluginsFirewallServiceObjectGroupNotesCreateRequest(server string, id openapi_types.UUID, body PluginsFirewallServiceObjectGroupNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallServiceObjectGroupNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallServiceObjectGroupNotesCreateRequestWithBody generates requests for PluginsFirewallServiceObjectGroupNotesCreate with any type of body +func NewPluginsFirewallServiceObjectGroupNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object-group/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallServiceObjectBulkDestroyRequest calls the generic PluginsFirewallServiceObjectBulkDestroy builder with application/json body +func NewPluginsFirewallServiceObjectBulkDestroyRequest(server string, body PluginsFirewallServiceObjectBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallServiceObjectBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallServiceObjectBulkDestroyRequestWithBody generates requests for PluginsFirewallServiceObjectBulkDestroy with any type of body +func NewPluginsFirewallServiceObjectBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallServiceObjectListRequest generates requests for PluginsFirewallServiceObjectList +func NewPluginsFirewallServiceObjectListRequest(server string, params *PluginsFirewallServiceObjectListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IpProtocol != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ip_protocol", runtime.ParamLocationQuery, *params.IpProtocol); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IpProtocolN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ip_protocol__n", runtime.ParamLocationQuery, *params.IpProtocolN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Name != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Port != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "port", runtime.ParamLocationQuery, *params.Port); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "port__ic", runtime.ParamLocationQuery, *params.PortIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "port__ie", runtime.ParamLocationQuery, *params.PortIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "port__iew", runtime.ParamLocationQuery, *params.PortIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "port__ire", runtime.ParamLocationQuery, *params.PortIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "port__isw", runtime.ParamLocationQuery, *params.PortIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "port__n", runtime.ParamLocationQuery, *params.PortN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "port__nic", runtime.ParamLocationQuery, *params.PortNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "port__nie", runtime.ParamLocationQuery, *params.PortNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "port__niew", runtime.ParamLocationQuery, *params.PortNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "port__nire", runtime.ParamLocationQuery, *params.PortNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "port__nisw", runtime.ParamLocationQuery, *params.PortNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "port__nre", runtime.ParamLocationQuery, *params.PortNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "port__re", runtime.ParamLocationQuery, *params.PortRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallServiceObjectBulkPartialUpdateRequest calls the generic PluginsFirewallServiceObjectBulkPartialUpdate builder with application/json body +func NewPluginsFirewallServiceObjectBulkPartialUpdateRequest(server string, body PluginsFirewallServiceObjectBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallServiceObjectBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallServiceObjectBulkPartialUpdateRequestWithBody generates requests for PluginsFirewallServiceObjectBulkPartialUpdate with any type of body +func NewPluginsFirewallServiceObjectBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallServiceObjectCreateRequest calls the generic PluginsFirewallServiceObjectCreate builder with application/json body +func NewPluginsFirewallServiceObjectCreateRequest(server string, body PluginsFirewallServiceObjectCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallServiceObjectCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallServiceObjectCreateRequestWithBody generates requests for PluginsFirewallServiceObjectCreate with any type of body +func NewPluginsFirewallServiceObjectCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallServiceObjectBulkUpdateRequest calls the generic PluginsFirewallServiceObjectBulkUpdate builder with application/json body +func NewPluginsFirewallServiceObjectBulkUpdateRequest(server string, body PluginsFirewallServiceObjectBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallServiceObjectBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallServiceObjectBulkUpdateRequestWithBody generates requests for PluginsFirewallServiceObjectBulkUpdate with any type of body +func NewPluginsFirewallServiceObjectBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallServiceObjectDestroyRequest generates requests for PluginsFirewallServiceObjectDestroy +func NewPluginsFirewallServiceObjectDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallServiceObjectRetrieveRequest generates requests for PluginsFirewallServiceObjectRetrieve +func NewPluginsFirewallServiceObjectRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallServiceObjectPartialUpdateRequest calls the generic PluginsFirewallServiceObjectPartialUpdate builder with application/json body +func NewPluginsFirewallServiceObjectPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallServiceObjectPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallServiceObjectPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallServiceObjectPartialUpdateRequestWithBody generates requests for PluginsFirewallServiceObjectPartialUpdate with any type of body +func NewPluginsFirewallServiceObjectPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallServiceObjectUpdateRequest calls the generic PluginsFirewallServiceObjectUpdate builder with application/json body +func NewPluginsFirewallServiceObjectUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallServiceObjectUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallServiceObjectUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallServiceObjectUpdateRequestWithBody generates requests for PluginsFirewallServiceObjectUpdate with any type of body +func NewPluginsFirewallServiceObjectUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallServiceObjectNotesListRequest generates requests for PluginsFirewallServiceObjectNotesList +func NewPluginsFirewallServiceObjectNotesListRequest(server string, id openapi_types.UUID, params *PluginsFirewallServiceObjectNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallServiceObjectNotesCreateRequest calls the generic PluginsFirewallServiceObjectNotesCreate builder with application/json body +func NewPluginsFirewallServiceObjectNotesCreateRequest(server string, id openapi_types.UUID, body PluginsFirewallServiceObjectNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallServiceObjectNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallServiceObjectNotesCreateRequestWithBody generates requests for PluginsFirewallServiceObjectNotesCreate with any type of body +func NewPluginsFirewallServiceObjectNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/service-object/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallUserObjectGroupBulkDestroyRequest calls the generic PluginsFirewallUserObjectGroupBulkDestroy builder with application/json body +func NewPluginsFirewallUserObjectGroupBulkDestroyRequest(server string, body PluginsFirewallUserObjectGroupBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallUserObjectGroupBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallUserObjectGroupBulkDestroyRequestWithBody generates requests for PluginsFirewallUserObjectGroupBulkDestroy with any type of body +func NewPluginsFirewallUserObjectGroupBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object-group/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallUserObjectGroupListRequest generates requests for PluginsFirewallUserObjectGroupList +func NewPluginsFirewallUserObjectGroupListRequest(server string, params *PluginsFirewallUserObjectGroupListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object-group/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Name != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserObjects != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_objects", runtime.ParamLocationQuery, *params.UserObjects); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UserObjectsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user_objects__n", runtime.ParamLocationQuery, *params.UserObjectsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallUserObjectGroupBulkPartialUpdateRequest calls the generic PluginsFirewallUserObjectGroupBulkPartialUpdate builder with application/json body +func NewPluginsFirewallUserObjectGroupBulkPartialUpdateRequest(server string, body PluginsFirewallUserObjectGroupBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallUserObjectGroupBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallUserObjectGroupBulkPartialUpdateRequestWithBody generates requests for PluginsFirewallUserObjectGroupBulkPartialUpdate with any type of body +func NewPluginsFirewallUserObjectGroupBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object-group/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallUserObjectGroupCreateRequest calls the generic PluginsFirewallUserObjectGroupCreate builder with application/json body +func NewPluginsFirewallUserObjectGroupCreateRequest(server string, body PluginsFirewallUserObjectGroupCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallUserObjectGroupCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallUserObjectGroupCreateRequestWithBody generates requests for PluginsFirewallUserObjectGroupCreate with any type of body +func NewPluginsFirewallUserObjectGroupCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object-group/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallUserObjectGroupBulkUpdateRequest calls the generic PluginsFirewallUserObjectGroupBulkUpdate builder with application/json body +func NewPluginsFirewallUserObjectGroupBulkUpdateRequest(server string, body PluginsFirewallUserObjectGroupBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallUserObjectGroupBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallUserObjectGroupBulkUpdateRequestWithBody generates requests for PluginsFirewallUserObjectGroupBulkUpdate with any type of body +func NewPluginsFirewallUserObjectGroupBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object-group/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallUserObjectGroupDestroyRequest generates requests for PluginsFirewallUserObjectGroupDestroy +func NewPluginsFirewallUserObjectGroupDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object-group/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallUserObjectGroupRetrieveRequest generates requests for PluginsFirewallUserObjectGroupRetrieve +func NewPluginsFirewallUserObjectGroupRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object-group/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallUserObjectGroupPartialUpdateRequest calls the generic PluginsFirewallUserObjectGroupPartialUpdate builder with application/json body +func NewPluginsFirewallUserObjectGroupPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallUserObjectGroupPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallUserObjectGroupPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallUserObjectGroupPartialUpdateRequestWithBody generates requests for PluginsFirewallUserObjectGroupPartialUpdate with any type of body +func NewPluginsFirewallUserObjectGroupPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object-group/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallUserObjectGroupUpdateRequest calls the generic PluginsFirewallUserObjectGroupUpdate builder with application/json body +func NewPluginsFirewallUserObjectGroupUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallUserObjectGroupUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallUserObjectGroupUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallUserObjectGroupUpdateRequestWithBody generates requests for PluginsFirewallUserObjectGroupUpdate with any type of body +func NewPluginsFirewallUserObjectGroupUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object-group/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallUserObjectGroupNotesListRequest generates requests for PluginsFirewallUserObjectGroupNotesList +func NewPluginsFirewallUserObjectGroupNotesListRequest(server string, id openapi_types.UUID, params *PluginsFirewallUserObjectGroupNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object-group/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallUserObjectGroupNotesCreateRequest calls the generic PluginsFirewallUserObjectGroupNotesCreate builder with application/json body +func NewPluginsFirewallUserObjectGroupNotesCreateRequest(server string, id openapi_types.UUID, body PluginsFirewallUserObjectGroupNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallUserObjectGroupNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallUserObjectGroupNotesCreateRequestWithBody generates requests for PluginsFirewallUserObjectGroupNotesCreate with any type of body +func NewPluginsFirewallUserObjectGroupNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object-group/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallUserObjectBulkDestroyRequest calls the generic PluginsFirewallUserObjectBulkDestroy builder with application/json body +func NewPluginsFirewallUserObjectBulkDestroyRequest(server string, body PluginsFirewallUserObjectBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallUserObjectBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallUserObjectBulkDestroyRequestWithBody generates requests for PluginsFirewallUserObjectBulkDestroy with any type of body +func NewPluginsFirewallUserObjectBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallUserObjectListRequest generates requests for PluginsFirewallUserObjectList +func NewPluginsFirewallUserObjectListRequest(server string, params *PluginsFirewallUserObjectListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Name != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Username != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "username", runtime.ParamLocationQuery, *params.Username); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UsernameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "username__ic", runtime.ParamLocationQuery, *params.UsernameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UsernameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "username__ie", runtime.ParamLocationQuery, *params.UsernameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UsernameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "username__iew", runtime.ParamLocationQuery, *params.UsernameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UsernameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "username__ire", runtime.ParamLocationQuery, *params.UsernameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UsernameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "username__isw", runtime.ParamLocationQuery, *params.UsernameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UsernameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "username__n", runtime.ParamLocationQuery, *params.UsernameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UsernameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "username__nic", runtime.ParamLocationQuery, *params.UsernameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UsernameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "username__nie", runtime.ParamLocationQuery, *params.UsernameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UsernameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "username__niew", runtime.ParamLocationQuery, *params.UsernameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UsernameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "username__nire", runtime.ParamLocationQuery, *params.UsernameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UsernameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "username__nisw", runtime.ParamLocationQuery, *params.UsernameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UsernameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "username__nre", runtime.ParamLocationQuery, *params.UsernameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UsernameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "username__re", runtime.ParamLocationQuery, *params.UsernameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallUserObjectBulkPartialUpdateRequest calls the generic PluginsFirewallUserObjectBulkPartialUpdate builder with application/json body +func NewPluginsFirewallUserObjectBulkPartialUpdateRequest(server string, body PluginsFirewallUserObjectBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallUserObjectBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallUserObjectBulkPartialUpdateRequestWithBody generates requests for PluginsFirewallUserObjectBulkPartialUpdate with any type of body +func NewPluginsFirewallUserObjectBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallUserObjectCreateRequest calls the generic PluginsFirewallUserObjectCreate builder with application/json body +func NewPluginsFirewallUserObjectCreateRequest(server string, body PluginsFirewallUserObjectCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallUserObjectCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallUserObjectCreateRequestWithBody generates requests for PluginsFirewallUserObjectCreate with any type of body +func NewPluginsFirewallUserObjectCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallUserObjectBulkUpdateRequest calls the generic PluginsFirewallUserObjectBulkUpdate builder with application/json body +func NewPluginsFirewallUserObjectBulkUpdateRequest(server string, body PluginsFirewallUserObjectBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallUserObjectBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallUserObjectBulkUpdateRequestWithBody generates requests for PluginsFirewallUserObjectBulkUpdate with any type of body +func NewPluginsFirewallUserObjectBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallUserObjectDestroyRequest generates requests for PluginsFirewallUserObjectDestroy +func NewPluginsFirewallUserObjectDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallUserObjectRetrieveRequest generates requests for PluginsFirewallUserObjectRetrieve +func NewPluginsFirewallUserObjectRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallUserObjectPartialUpdateRequest calls the generic PluginsFirewallUserObjectPartialUpdate builder with application/json body +func NewPluginsFirewallUserObjectPartialUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallUserObjectPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallUserObjectPartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallUserObjectPartialUpdateRequestWithBody generates requests for PluginsFirewallUserObjectPartialUpdate with any type of body +func NewPluginsFirewallUserObjectPartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallUserObjectUpdateRequest calls the generic PluginsFirewallUserObjectUpdate builder with application/json body +func NewPluginsFirewallUserObjectUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallUserObjectUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallUserObjectUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallUserObjectUpdateRequestWithBody generates requests for PluginsFirewallUserObjectUpdate with any type of body +func NewPluginsFirewallUserObjectUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallUserObjectNotesListRequest generates requests for PluginsFirewallUserObjectNotesList +func NewPluginsFirewallUserObjectNotesListRequest(server string, id openapi_types.UUID, params *PluginsFirewallUserObjectNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallUserObjectNotesCreateRequest calls the generic PluginsFirewallUserObjectNotesCreate builder with application/json body +func NewPluginsFirewallUserObjectNotesCreateRequest(server string, id openapi_types.UUID, body PluginsFirewallUserObjectNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallUserObjectNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallUserObjectNotesCreateRequestWithBody generates requests for PluginsFirewallUserObjectNotesCreate with any type of body +func NewPluginsFirewallUserObjectNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/user-object/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallZoneBulkDestroyRequest calls the generic PluginsFirewallZoneBulkDestroy builder with application/json body +func NewPluginsFirewallZoneBulkDestroyRequest(server string, body PluginsFirewallZoneBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallZoneBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallZoneBulkDestroyRequestWithBody generates requests for PluginsFirewallZoneBulkDestroy with any type of body +func NewPluginsFirewallZoneBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/zone/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallZoneListRequest generates requests for PluginsFirewallZoneList +func NewPluginsFirewallZoneListRequest(server string, params *PluginsFirewallZoneListParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/zone/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Interfaces != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interfaces", runtime.ParamLocationQuery, *params.Interfaces); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfacesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interfaces__n", runtime.ParamLocationQuery, *params.InterfacesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Name != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Vrfs != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vrfs", runtime.ParamLocationQuery, *params.Vrfs); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VrfsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "vrfs__n", runtime.ParamLocationQuery, *params.VrfsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallZoneBulkPartialUpdateRequest calls the generic PluginsFirewallZoneBulkPartialUpdate builder with application/json body +func NewPluginsFirewallZoneBulkPartialUpdateRequest(server string, body PluginsFirewallZoneBulkPartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallZoneBulkPartialUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallZoneBulkPartialUpdateRequestWithBody generates requests for PluginsFirewallZoneBulkPartialUpdate with any type of body +func NewPluginsFirewallZoneBulkPartialUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/zone/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallZoneCreateRequest calls the generic PluginsFirewallZoneCreate builder with application/json body +func NewPluginsFirewallZoneCreateRequest(server string, body PluginsFirewallZoneCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallZoneCreateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallZoneCreateRequestWithBody generates requests for PluginsFirewallZoneCreate with any type of body +func NewPluginsFirewallZoneCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/zone/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallZoneBulkUpdateRequest calls the generic PluginsFirewallZoneBulkUpdate builder with application/json body +func NewPluginsFirewallZoneBulkUpdateRequest(server string, body PluginsFirewallZoneBulkUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallZoneBulkUpdateRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsFirewallZoneBulkUpdateRequestWithBody generates requests for PluginsFirewallZoneBulkUpdate with any type of body +func NewPluginsFirewallZoneBulkUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/zone/") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallZoneDestroyRequest generates requests for PluginsFirewallZoneDestroy +func NewPluginsFirewallZoneDestroyRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/zone/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallZoneRetrieveRequest generates requests for PluginsFirewallZoneRetrieve +func NewPluginsFirewallZoneRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/zone/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallZonePartialUpdateRequest calls the generic PluginsFirewallZonePartialUpdate builder with application/json body +func NewPluginsFirewallZonePartialUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallZonePartialUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallZonePartialUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallZonePartialUpdateRequestWithBody generates requests for PluginsFirewallZonePartialUpdate with any type of body +func NewPluginsFirewallZonePartialUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/zone/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PATCH", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallZoneUpdateRequest calls the generic PluginsFirewallZoneUpdate builder with application/json body +func NewPluginsFirewallZoneUpdateRequest(server string, id openapi_types.UUID, body PluginsFirewallZoneUpdateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallZoneUpdateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallZoneUpdateRequestWithBody generates requests for PluginsFirewallZoneUpdate with any type of body +func NewPluginsFirewallZoneUpdateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/zone/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsFirewallZoneNotesListRequest generates requests for PluginsFirewallZoneNotesList +func NewPluginsFirewallZoneNotesListRequest(server string, id openapi_types.UUID, params *PluginsFirewallZoneNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/zone/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsFirewallZoneNotesCreateRequest calls the generic PluginsFirewallZoneNotesCreate builder with application/json body +func NewPluginsFirewallZoneNotesCreateRequest(server string, id openapi_types.UUID, body PluginsFirewallZoneNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsFirewallZoneNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewPluginsFirewallZoneNotesCreateRequestWithBody generates requests for PluginsFirewallZoneNotesCreate with any type of body +func NewPluginsFirewallZoneNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/firewall/zone/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewPluginsGoldenConfigComplianceFeatureBulkDestroyRequest calls the generic PluginsGoldenConfigComplianceFeatureBulkDestroy builder with application/json body +func NewPluginsGoldenConfigComplianceFeatureBulkDestroyRequest(server string, body PluginsGoldenConfigComplianceFeatureBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigComplianceFeatureBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigComplianceFeatureBulkDestroyRequestWithBody generates requests for PluginsGoldenConfigComplianceFeatureBulkDestroy with any type of body +func NewPluginsGoldenConfigComplianceFeatureBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -128330,11 +200376,13 @@ func NewPluginsGoldenConfigComplianceFeatureBulkDestroyRequest(server string) (* return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -128439,6 +200487,22 @@ func NewPluginsGoldenConfigComplianceFeatureListRequest(server string, params *P } + if params.Slug != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug", runtime.ParamLocationQuery, *params.Slug); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + queryURL.RawQuery = queryValues.Encode() req, err := http.NewRequest("GET", queryURL.String(), nil) @@ -128731,8 +200795,19 @@ func NewPluginsGoldenConfigComplianceFeatureUpdateRequestWithBody(server string, return req, nil } -// NewPluginsGoldenConfigComplianceRuleBulkDestroyRequest generates requests for PluginsGoldenConfigComplianceRuleBulkDestroy -func NewPluginsGoldenConfigComplianceRuleBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsGoldenConfigComplianceRuleBulkDestroyRequest calls the generic PluginsGoldenConfigComplianceRuleBulkDestroy builder with application/json body +func NewPluginsGoldenConfigComplianceRuleBulkDestroyRequest(server string, body PluginsGoldenConfigComplianceRuleBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigComplianceRuleBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigComplianceRuleBulkDestroyRequestWithBody generates requests for PluginsGoldenConfigComplianceRuleBulkDestroy with any type of body +func NewPluginsGoldenConfigComplianceRuleBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -128750,11 +200825,13 @@ func NewPluginsGoldenConfigComplianceRuleBulkDestroyRequest(server string) (*htt return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -129183,8 +201260,19 @@ func NewPluginsGoldenConfigComplianceRuleUpdateRequestWithBody(server string, id return req, nil } -// NewPluginsGoldenConfigConfigComplianceBulkDestroyRequest generates requests for PluginsGoldenConfigConfigComplianceBulkDestroy -func NewPluginsGoldenConfigConfigComplianceBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsGoldenConfigConfigComplianceBulkDestroyRequest calls the generic PluginsGoldenConfigConfigComplianceBulkDestroy builder with application/json body +func NewPluginsGoldenConfigConfigComplianceBulkDestroyRequest(server string, body PluginsGoldenConfigConfigComplianceBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigConfigComplianceBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigConfigComplianceBulkDestroyRequestWithBody generates requests for PluginsGoldenConfigConfigComplianceBulkDestroy with any type of body +func NewPluginsGoldenConfigConfigComplianceBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -129202,11 +201290,13 @@ func NewPluginsGoldenConfigConfigComplianceBulkDestroyRequest(server string) (*h return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -129971,8 +202061,53 @@ func NewPluginsGoldenConfigConfigComplianceUpdateRequestWithBody(server string, return req, nil } -// NewPluginsGoldenConfigConfigRemoveBulkDestroyRequest generates requests for PluginsGoldenConfigConfigRemoveBulkDestroy -func NewPluginsGoldenConfigConfigRemoveBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsGoldenConfigConfigPostprocessingRetrieveRequest generates requests for PluginsGoldenConfigConfigPostprocessingRetrieve +func NewPluginsGoldenConfigConfigPostprocessingRetrieveRequest(server string, id openapi_types.UUID) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/plugins/golden-config/config-postprocessing/%s/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPluginsGoldenConfigConfigRemoveBulkDestroyRequest calls the generic PluginsGoldenConfigConfigRemoveBulkDestroy builder with application/json body +func NewPluginsGoldenConfigConfigRemoveBulkDestroyRequest(server string, body PluginsGoldenConfigConfigRemoveBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigConfigRemoveBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigConfigRemoveBulkDestroyRequestWithBody generates requests for PluginsGoldenConfigConfigRemoveBulkDestroy with any type of body +func NewPluginsGoldenConfigConfigRemoveBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -129990,11 +202125,13 @@ func NewPluginsGoldenConfigConfigRemoveBulkDestroyRequest(server string) (*http. return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -130423,8 +202560,19 @@ func NewPluginsGoldenConfigConfigRemoveUpdateRequestWithBody(server string, id o return req, nil } -// NewPluginsGoldenConfigConfigReplaceBulkDestroyRequest generates requests for PluginsGoldenConfigConfigReplaceBulkDestroy -func NewPluginsGoldenConfigConfigReplaceBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsGoldenConfigConfigReplaceBulkDestroyRequest calls the generic PluginsGoldenConfigConfigReplaceBulkDestroy builder with application/json body +func NewPluginsGoldenConfigConfigReplaceBulkDestroyRequest(server string, body PluginsGoldenConfigConfigReplaceBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigConfigReplaceBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigConfigReplaceBulkDestroyRequestWithBody generates requests for PluginsGoldenConfigConfigReplaceBulkDestroy with any type of body +func NewPluginsGoldenConfigConfigReplaceBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -130442,11 +202590,13 @@ func NewPluginsGoldenConfigConfigReplaceBulkDestroyRequest(server string) (*http return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -130875,8 +203025,19 @@ func NewPluginsGoldenConfigConfigReplaceUpdateRequestWithBody(server string, id return req, nil } -// NewPluginsGoldenConfigGoldenConfigSettingsBulkDestroyRequest generates requests for PluginsGoldenConfigGoldenConfigSettingsBulkDestroy -func NewPluginsGoldenConfigGoldenConfigSettingsBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsGoldenConfigGoldenConfigSettingsBulkDestroyRequest calls the generic PluginsGoldenConfigGoldenConfigSettingsBulkDestroy builder with application/json body +func NewPluginsGoldenConfigGoldenConfigSettingsBulkDestroyRequest(server string, body PluginsGoldenConfigGoldenConfigSettingsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigGoldenConfigSettingsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigGoldenConfigSettingsBulkDestroyRequestWithBody generates requests for PluginsGoldenConfigGoldenConfigSettingsBulkDestroy with any type of body +func NewPluginsGoldenConfigGoldenConfigSettingsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -130894,11 +203055,13 @@ func NewPluginsGoldenConfigGoldenConfigSettingsBulkDestroyRequest(server string) return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -130923,6 +203086,326 @@ func NewPluginsGoldenConfigGoldenConfigSettingsListRequest(server string, params queryValues := queryURL.Query() + if params.BackupRepository != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "backup_repository", runtime.ParamLocationQuery, *params.BackupRepository); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BackupRepositoryN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "backup_repository__n", runtime.ParamLocationQuery, *params.BackupRepositoryN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IntendedRepository != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "intended_repository", runtime.ParamLocationQuery, *params.IntendedRepository); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IntendedRepositoryN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "intended_repository__n", runtime.ParamLocationQuery, *params.IntendedRepositoryN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JinjaRepository != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "jinja_repository", runtime.ParamLocationQuery, *params.JinjaRepository); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.JinjaRepositoryN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "jinja_repository__n", runtime.ParamLocationQuery, *params.JinjaRepositoryN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -130939,6 +203422,230 @@ func NewPluginsGoldenConfigGoldenConfigSettingsListRequest(server string, params } + if params.Name != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { @@ -130955,6 +203662,342 @@ func NewPluginsGoldenConfigGoldenConfigSettingsListRequest(server string, params } + if params.Q != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Slug != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug", runtime.ParamLocationQuery, *params.Slug); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__ic", runtime.ParamLocationQuery, *params.SlugIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__ie", runtime.ParamLocationQuery, *params.SlugIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__iew", runtime.ParamLocationQuery, *params.SlugIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__ire", runtime.ParamLocationQuery, *params.SlugIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__isw", runtime.ParamLocationQuery, *params.SlugIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__n", runtime.ParamLocationQuery, *params.SlugN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nic", runtime.ParamLocationQuery, *params.SlugNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nie", runtime.ParamLocationQuery, *params.SlugNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__niew", runtime.ParamLocationQuery, *params.SlugNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nire", runtime.ParamLocationQuery, *params.SlugNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nisw", runtime.ParamLocationQuery, *params.SlugNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__nre", runtime.ParamLocationQuery, *params.SlugNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SlugRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "slug__re", runtime.ParamLocationQuery, *params.SlugRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Weight != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight", runtime.ParamLocationQuery, *params.Weight); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WeightGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight__gt", runtime.ParamLocationQuery, *params.WeightGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WeightGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight__gte", runtime.ParamLocationQuery, *params.WeightGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WeightLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight__lt", runtime.ParamLocationQuery, *params.WeightLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WeightLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight__lte", runtime.ParamLocationQuery, *params.WeightLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.WeightN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "weight__n", runtime.ParamLocationQuery, *params.WeightN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + queryURL.RawQuery = queryValues.Encode() req, err := http.NewRequest("GET", queryURL.String(), nil) @@ -131247,8 +204290,19 @@ func NewPluginsGoldenConfigGoldenConfigSettingsUpdateRequestWithBody(server stri return req, nil } -// NewPluginsGoldenConfigGoldenConfigBulkDestroyRequest generates requests for PluginsGoldenConfigGoldenConfigBulkDestroy -func NewPluginsGoldenConfigGoldenConfigBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsGoldenConfigGoldenConfigBulkDestroyRequest calls the generic PluginsGoldenConfigGoldenConfigBulkDestroy builder with application/json body +func NewPluginsGoldenConfigGoldenConfigBulkDestroyRequest(server string, body PluginsGoldenConfigGoldenConfigBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsGoldenConfigGoldenConfigBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsGoldenConfigGoldenConfigBulkDestroyRequestWithBody generates requests for PluginsGoldenConfigGoldenConfigBulkDestroy with any type of body +func NewPluginsGoldenConfigGoldenConfigBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -131266,11 +204320,13 @@ func NewPluginsGoldenConfigGoldenConfigBulkDestroyRequest(server string) (*http. return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -132069,8 +205125,19 @@ func NewPluginsGoldenConfigSotaggRetrieveRequest(server string, id openapi_types return req, nil } -// NewPluginsNautobotDeviceLifecycleMgmtContactBulkDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtContactBulkDestroy -func NewPluginsNautobotDeviceLifecycleMgmtContactBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsNautobotDeviceLifecycleMgmtContactBulkDestroyRequest calls the generic PluginsNautobotDeviceLifecycleMgmtContactBulkDestroy builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtContactBulkDestroyRequest(server string, body PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtContactBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtContactBulkDestroyRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtContactBulkDestroy with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtContactBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -132088,11 +205155,13 @@ func NewPluginsNautobotDeviceLifecycleMgmtContactBulkDestroyRequest(server strin return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -132133,6 +205202,214 @@ func NewPluginsNautobotDeviceLifecycleMgmtContactListRequest(server string, para } + if params.AddressIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__ic", runtime.ParamLocationQuery, *params.AddressIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__ie", runtime.ParamLocationQuery, *params.AddressIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__iew", runtime.ParamLocationQuery, *params.AddressIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__ire", runtime.ParamLocationQuery, *params.AddressIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__isw", runtime.ParamLocationQuery, *params.AddressIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__n", runtime.ParamLocationQuery, *params.AddressN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__nic", runtime.ParamLocationQuery, *params.AddressNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__nie", runtime.ParamLocationQuery, *params.AddressNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__niew", runtime.ParamLocationQuery, *params.AddressNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__nire", runtime.ParamLocationQuery, *params.AddressNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__nisw", runtime.ParamLocationQuery, *params.AddressNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__nre", runtime.ParamLocationQuery, *params.AddressNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AddressRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "address__re", runtime.ParamLocationQuery, *params.AddressRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Comments != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments", runtime.ParamLocationQuery, *params.Comments); err != nil { @@ -132149,6 +205426,214 @@ func NewPluginsNautobotDeviceLifecycleMgmtContactListRequest(server string, para } + if params.CommentsIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ic", runtime.ParamLocationQuery, *params.CommentsIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ie", runtime.ParamLocationQuery, *params.CommentsIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__iew", runtime.ParamLocationQuery, *params.CommentsIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ire", runtime.ParamLocationQuery, *params.CommentsIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__isw", runtime.ParamLocationQuery, *params.CommentsIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__n", runtime.ParamLocationQuery, *params.CommentsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nic", runtime.ParamLocationQuery, *params.CommentsNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nie", runtime.ParamLocationQuery, *params.CommentsNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__niew", runtime.ParamLocationQuery, *params.CommentsNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nire", runtime.ParamLocationQuery, *params.CommentsNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nisw", runtime.ParamLocationQuery, *params.CommentsNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nre", runtime.ParamLocationQuery, *params.CommentsNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__re", runtime.ParamLocationQuery, *params.CommentsRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Contract != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contract", runtime.ParamLocationQuery, *params.Contract); err != nil { @@ -132165,6 +205650,70 @@ func NewPluginsNautobotDeviceLifecycleMgmtContactListRequest(server string, para } + if params.ContractN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contract__n", runtime.ParamLocationQuery, *params.ContractN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Email != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email", runtime.ParamLocationQuery, *params.Email); err != nil { @@ -132181,6 +205730,486 @@ func NewPluginsNautobotDeviceLifecycleMgmtContactListRequest(server string, para } + if params.EmailIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__ic", runtime.ParamLocationQuery, *params.EmailIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__ie", runtime.ParamLocationQuery, *params.EmailIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__iew", runtime.ParamLocationQuery, *params.EmailIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__ire", runtime.ParamLocationQuery, *params.EmailIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__isw", runtime.ParamLocationQuery, *params.EmailIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__n", runtime.ParamLocationQuery, *params.EmailN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__nic", runtime.ParamLocationQuery, *params.EmailNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__nie", runtime.ParamLocationQuery, *params.EmailNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__niew", runtime.ParamLocationQuery, *params.EmailNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__nire", runtime.ParamLocationQuery, *params.EmailNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__nisw", runtime.ParamLocationQuery, *params.EmailNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__nre", runtime.ParamLocationQuery, *params.EmailNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__re", runtime.ParamLocationQuery, *params.EmailRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -132213,6 +206242,214 @@ func NewPluginsNautobotDeviceLifecycleMgmtContactListRequest(server string, para } + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { @@ -132245,6 +206482,214 @@ func NewPluginsNautobotDeviceLifecycleMgmtContactListRequest(server string, para } + if params.PhoneIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__ic", runtime.ParamLocationQuery, *params.PhoneIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__ie", runtime.ParamLocationQuery, *params.PhoneIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__iew", runtime.ParamLocationQuery, *params.PhoneIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__ire", runtime.ParamLocationQuery, *params.PhoneIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__isw", runtime.ParamLocationQuery, *params.PhoneIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__n", runtime.ParamLocationQuery, *params.PhoneN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__nic", runtime.ParamLocationQuery, *params.PhoneNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__nie", runtime.ParamLocationQuery, *params.PhoneNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__niew", runtime.ParamLocationQuery, *params.PhoneNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__nire", runtime.ParamLocationQuery, *params.PhoneNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__nisw", runtime.ParamLocationQuery, *params.PhoneNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__nre", runtime.ParamLocationQuery, *params.PhoneNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__re", runtime.ParamLocationQuery, *params.PhoneRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Priority != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "priority", runtime.ParamLocationQuery, *params.Priority); err != nil { @@ -132261,6 +206706,86 @@ func NewPluginsNautobotDeviceLifecycleMgmtContactListRequest(server string, para } + if params.PriorityGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "priority__gt", runtime.ParamLocationQuery, *params.PriorityGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PriorityGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "priority__gte", runtime.ParamLocationQuery, *params.PriorityGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PriorityLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "priority__lt", runtime.ParamLocationQuery, *params.PriorityLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PriorityLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "priority__lte", runtime.ParamLocationQuery, *params.PriorityLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PriorityN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "priority__n", runtime.ParamLocationQuery, *params.PriorityN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Q != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { @@ -132293,6 +206818,214 @@ func NewPluginsNautobotDeviceLifecycleMgmtContactListRequest(server string, para } + if params.TypeIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type__ic", runtime.ParamLocationQuery, *params.TypeIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TypeIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type__ie", runtime.ParamLocationQuery, *params.TypeIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TypeIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type__iew", runtime.ParamLocationQuery, *params.TypeIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TypeIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type__ire", runtime.ParamLocationQuery, *params.TypeIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TypeIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type__isw", runtime.ParamLocationQuery, *params.TypeIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type__n", runtime.ParamLocationQuery, *params.TypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TypeNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type__nic", runtime.ParamLocationQuery, *params.TypeNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TypeNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type__nie", runtime.ParamLocationQuery, *params.TypeNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TypeNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type__niew", runtime.ParamLocationQuery, *params.TypeNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TypeNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type__nire", runtime.ParamLocationQuery, *params.TypeNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TypeNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type__nisw", runtime.ParamLocationQuery, *params.TypeNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TypeNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type__nre", runtime.ParamLocationQuery, *params.TypeNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TypeRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "type__re", runtime.ParamLocationQuery, *params.TypeRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + queryURL.RawQuery = queryValues.Encode() req, err := http.NewRequest("GET", queryURL.String(), nil) @@ -132585,8 +207318,19 @@ func NewPluginsNautobotDeviceLifecycleMgmtContactUpdateRequestWithBody(server st return req, nil } -// NewPluginsNautobotDeviceLifecycleMgmtContractBulkDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtContractBulkDestroy -func NewPluginsNautobotDeviceLifecycleMgmtContractBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsNautobotDeviceLifecycleMgmtContractBulkDestroyRequest calls the generic PluginsNautobotDeviceLifecycleMgmtContractBulkDestroy builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtContractBulkDestroyRequest(server string, body PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtContractBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtContractBulkDestroyRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtContractBulkDestroy with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtContractBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -132604,11 +207348,13 @@ func NewPluginsNautobotDeviceLifecycleMgmtContractBulkDestroyRequest(server stri return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -132649,6 +207395,214 @@ func NewPluginsNautobotDeviceLifecycleMgmtContractListRequest(server string, par } + if params.ContractTypeIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contract_type__ic", runtime.ParamLocationQuery, *params.ContractTypeIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContractTypeIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contract_type__ie", runtime.ParamLocationQuery, *params.ContractTypeIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContractTypeIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contract_type__iew", runtime.ParamLocationQuery, *params.ContractTypeIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContractTypeIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contract_type__ire", runtime.ParamLocationQuery, *params.ContractTypeIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContractTypeIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contract_type__isw", runtime.ParamLocationQuery, *params.ContractTypeIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContractTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contract_type__n", runtime.ParamLocationQuery, *params.ContractTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContractTypeNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contract_type__nic", runtime.ParamLocationQuery, *params.ContractTypeNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContractTypeNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contract_type__nie", runtime.ParamLocationQuery, *params.ContractTypeNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContractTypeNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contract_type__niew", runtime.ParamLocationQuery, *params.ContractTypeNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContractTypeNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contract_type__nire", runtime.ParamLocationQuery, *params.ContractTypeNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContractTypeNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contract_type__nisw", runtime.ParamLocationQuery, *params.ContractTypeNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContractTypeNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contract_type__nre", runtime.ParamLocationQuery, *params.ContractTypeNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ContractTypeRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "contract_type__re", runtime.ParamLocationQuery, *params.ContractTypeRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Cost != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cost", runtime.ParamLocationQuery, *params.Cost); err != nil { @@ -132665,6 +207619,134 @@ func NewPluginsNautobotDeviceLifecycleMgmtContractListRequest(server string, par } + if params.CostGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cost__gt", runtime.ParamLocationQuery, *params.CostGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CostGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cost__gte", runtime.ParamLocationQuery, *params.CostGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CostLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cost__lt", runtime.ParamLocationQuery, *params.CostLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CostLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cost__lte", runtime.ParamLocationQuery, *params.CostLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CostN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cost__n", runtime.ParamLocationQuery, *params.CostN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.End != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end", runtime.ParamLocationQuery, *params.End); err != nil { @@ -132729,6 +207811,278 @@ func NewPluginsNautobotDeviceLifecycleMgmtContractListRequest(server string, par } + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -132761,6 +208115,214 @@ func NewPluginsNautobotDeviceLifecycleMgmtContractListRequest(server string, par } + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { @@ -132793,6 +208355,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtContractListRequest(server string, par } + if params.ProviderN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "provider__n", runtime.ParamLocationQuery, *params.ProviderN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Q != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { @@ -132873,6 +208451,214 @@ func NewPluginsNautobotDeviceLifecycleMgmtContractListRequest(server string, par } + if params.SupportLevelIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "support_level__ic", runtime.ParamLocationQuery, *params.SupportLevelIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SupportLevelIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "support_level__ie", runtime.ParamLocationQuery, *params.SupportLevelIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SupportLevelIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "support_level__iew", runtime.ParamLocationQuery, *params.SupportLevelIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SupportLevelIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "support_level__ire", runtime.ParamLocationQuery, *params.SupportLevelIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SupportLevelIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "support_level__isw", runtime.ParamLocationQuery, *params.SupportLevelIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SupportLevelN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "support_level__n", runtime.ParamLocationQuery, *params.SupportLevelN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SupportLevelNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "support_level__nic", runtime.ParamLocationQuery, *params.SupportLevelNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SupportLevelNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "support_level__nie", runtime.ParamLocationQuery, *params.SupportLevelNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SupportLevelNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "support_level__niew", runtime.ParamLocationQuery, *params.SupportLevelNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SupportLevelNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "support_level__nire", runtime.ParamLocationQuery, *params.SupportLevelNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SupportLevelNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "support_level__nisw", runtime.ParamLocationQuery, *params.SupportLevelNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SupportLevelNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "support_level__nre", runtime.ParamLocationQuery, *params.SupportLevelNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.SupportLevelRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "support_level__re", runtime.ParamLocationQuery, *params.SupportLevelRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + queryURL.RawQuery = queryValues.Encode() req, err := http.NewRequest("GET", queryURL.String(), nil) @@ -133165,8 +208951,19 @@ func NewPluginsNautobotDeviceLifecycleMgmtContractUpdateRequestWithBody(server s return req, nil } -// NewPluginsNautobotDeviceLifecycleMgmtCveBulkDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtCveBulkDestroy -func NewPluginsNautobotDeviceLifecycleMgmtCveBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsNautobotDeviceLifecycleMgmtCveBulkDestroyRequest calls the generic PluginsNautobotDeviceLifecycleMgmtCveBulkDestroy builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtCveBulkDestroyRequest(server string, body PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtCveBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtCveBulkDestroyRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtCveBulkDestroy with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtCveBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -133184,11 +208981,13 @@ func NewPluginsNautobotDeviceLifecycleMgmtCveBulkDestroyRequest(server string) ( return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -133229,6 +209028,262 @@ func NewPluginsNautobotDeviceLifecycleMgmtCveListRequest(server string, params * } + if params.CommentsIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ic", runtime.ParamLocationQuery, *params.CommentsIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ie", runtime.ParamLocationQuery, *params.CommentsIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__iew", runtime.ParamLocationQuery, *params.CommentsIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ire", runtime.ParamLocationQuery, *params.CommentsIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__isw", runtime.ParamLocationQuery, *params.CommentsIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__n", runtime.ParamLocationQuery, *params.CommentsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nic", runtime.ParamLocationQuery, *params.CommentsNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nie", runtime.ParamLocationQuery, *params.CommentsNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__niew", runtime.ParamLocationQuery, *params.CommentsNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nire", runtime.ParamLocationQuery, *params.CommentsNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nisw", runtime.ParamLocationQuery, *params.CommentsNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nre", runtime.ParamLocationQuery, *params.CommentsNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__re", runtime.ParamLocationQuery, *params.CommentsRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Cvss != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cvss", runtime.ParamLocationQuery, *params.Cvss); err != nil { @@ -133245,6 +209300,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtCveListRequest(server string, params * } + if params.CvssGt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cvss__gt", runtime.ParamLocationQuery, *params.CvssGt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.CvssGte != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cvss__gte", runtime.ParamLocationQuery, *params.CvssGte); err != nil { @@ -133261,6 +209332,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtCveListRequest(server string, params * } + if params.CvssLt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cvss__lt", runtime.ParamLocationQuery, *params.CvssLt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.CvssLte != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cvss__lte", runtime.ParamLocationQuery, *params.CvssLte); err != nil { @@ -133277,6 +209364,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtCveListRequest(server string, params * } + if params.CvssN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cvss__n", runtime.ParamLocationQuery, *params.CvssN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.CvssV2 != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cvss_v2", runtime.ParamLocationQuery, *params.CvssV2); err != nil { @@ -133293,6 +209396,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtCveListRequest(server string, params * } + if params.CvssV2Gt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cvss_v2__gt", runtime.ParamLocationQuery, *params.CvssV2Gt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.CvssV2Gte != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cvss_v2__gte", runtime.ParamLocationQuery, *params.CvssV2Gte); err != nil { @@ -133309,6 +209428,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtCveListRequest(server string, params * } + if params.CvssV2Lt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cvss_v2__lt", runtime.ParamLocationQuery, *params.CvssV2Lt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.CvssV2Lte != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cvss_v2__lte", runtime.ParamLocationQuery, *params.CvssV2Lte); err != nil { @@ -133325,6 +209460,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtCveListRequest(server string, params * } + if params.CvssV2N != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cvss_v2__n", runtime.ParamLocationQuery, *params.CvssV2N); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.CvssV3 != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cvss_v3", runtime.ParamLocationQuery, *params.CvssV3); err != nil { @@ -133341,6 +209492,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtCveListRequest(server string, params * } + if params.CvssV3Gt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cvss_v3__gt", runtime.ParamLocationQuery, *params.CvssV3Gt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.CvssV3Gte != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cvss_v3__gte", runtime.ParamLocationQuery, *params.CvssV3Gte); err != nil { @@ -133357,6 +209524,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtCveListRequest(server string, params * } + if params.CvssV3Lt != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cvss_v3__lt", runtime.ParamLocationQuery, *params.CvssV3Lt); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.CvssV3Lte != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cvss_v3__lte", runtime.ParamLocationQuery, *params.CvssV3Lte); err != nil { @@ -133373,6 +209556,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtCveListRequest(server string, params * } + if params.CvssV3N != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cvss_v3__n", runtime.ParamLocationQuery, *params.CvssV3N); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Description != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { @@ -133389,6 +209588,214 @@ func NewPluginsNautobotDeviceLifecycleMgmtCveListRequest(server string, params * } + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.ExcludeStatus != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "exclude_status", runtime.ParamLocationQuery, *params.ExcludeStatus); err != nil { @@ -133405,6 +209812,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtCveListRequest(server string, params * } + if params.ExcludeStatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "exclude_status__n", runtime.ParamLocationQuery, *params.ExcludeStatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Fix != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fix", runtime.ParamLocationQuery, *params.Fix); err != nil { @@ -133421,6 +209844,486 @@ func NewPluginsNautobotDeviceLifecycleMgmtCveListRequest(server string, params * } + if params.FixIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fix__ic", runtime.ParamLocationQuery, *params.FixIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FixIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fix__ie", runtime.ParamLocationQuery, *params.FixIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FixIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fix__iew", runtime.ParamLocationQuery, *params.FixIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FixIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fix__ire", runtime.ParamLocationQuery, *params.FixIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FixIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fix__isw", runtime.ParamLocationQuery, *params.FixIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FixN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fix__n", runtime.ParamLocationQuery, *params.FixN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FixNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fix__nic", runtime.ParamLocationQuery, *params.FixNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FixNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fix__nie", runtime.ParamLocationQuery, *params.FixNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FixNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fix__niew", runtime.ParamLocationQuery, *params.FixNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FixNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fix__nire", runtime.ParamLocationQuery, *params.FixNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FixNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fix__nisw", runtime.ParamLocationQuery, *params.FixNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FixNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fix__nre", runtime.ParamLocationQuery, *params.FixNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.FixRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "fix__re", runtime.ParamLocationQuery, *params.FixRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -133453,6 +210356,214 @@ func NewPluginsNautobotDeviceLifecycleMgmtCveListRequest(server string, params * } + if params.LinkIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__ic", runtime.ParamLocationQuery, *params.LinkIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__ie", runtime.ParamLocationQuery, *params.LinkIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__iew", runtime.ParamLocationQuery, *params.LinkIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__ire", runtime.ParamLocationQuery, *params.LinkIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__isw", runtime.ParamLocationQuery, *params.LinkIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__n", runtime.ParamLocationQuery, *params.LinkN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__nic", runtime.ParamLocationQuery, *params.LinkNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__nie", runtime.ParamLocationQuery, *params.LinkNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__niew", runtime.ParamLocationQuery, *params.LinkNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__nire", runtime.ParamLocationQuery, *params.LinkNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__nisw", runtime.ParamLocationQuery, *params.LinkNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__nre", runtime.ParamLocationQuery, *params.LinkNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LinkRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "link__re", runtime.ParamLocationQuery, *params.LinkRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Name != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { @@ -133469,6 +210580,214 @@ func NewPluginsNautobotDeviceLifecycleMgmtCveListRequest(server string, params * } + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { @@ -133581,6 +210900,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtCveListRequest(server string, params * } + if params.SeverityN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "severity__n", runtime.ParamLocationQuery, *params.SeverityN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Status != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { @@ -133597,6 +210932,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtCveListRequest(server string, params * } + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Tag != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag", runtime.ParamLocationQuery, *params.Tag); err != nil { @@ -133613,6 +210964,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtCveListRequest(server string, params * } + if params.TagN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag__n", runtime.ParamLocationQuery, *params.TagN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + queryURL.RawQuery = queryValues.Encode() req, err := http.NewRequest("GET", queryURL.String(), nil) @@ -133905,8 +211272,19 @@ func NewPluginsNautobotDeviceLifecycleMgmtCveUpdateRequestWithBody(server string return req, nil } -// NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroy -func NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyRequest calls the generic PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroy builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyRequest(server string, body PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroy with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -133924,11 +211302,13 @@ func NewPluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyRequest(server stri return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -133953,6 +211333,54 @@ func NewPluginsNautobotDeviceLifecycleMgmtHardwareListRequest(server string, par queryValues := queryURL.Query() + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DeviceType != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type", runtime.ParamLocationQuery, *params.DeviceType); err != nil { @@ -133969,6 +211397,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtHardwareListRequest(server string, par } + if params.DeviceTypeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type__n", runtime.ParamLocationQuery, *params.DeviceTypeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DeviceTypeId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type_id", runtime.ParamLocationQuery, *params.DeviceTypeId); err != nil { @@ -133985,6 +211429,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtHardwareListRequest(server string, par } + if params.DeviceTypeIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_type_id__n", runtime.ParamLocationQuery, *params.DeviceTypeIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DocumentationUrl != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "documentation_url", runtime.ParamLocationQuery, *params.DocumentationUrl); err != nil { @@ -134209,6 +211669,230 @@ func NewPluginsNautobotDeviceLifecycleMgmtHardwareListRequest(server string, par } + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.InventoryItem != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "inventory_item", runtime.ParamLocationQuery, *params.InventoryItem); err != nil { @@ -134225,6 +211909,70 @@ func NewPluginsNautobotDeviceLifecycleMgmtHardwareListRequest(server string, par } + if params.InventoryItemN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "inventory_item__n", runtime.ParamLocationQuery, *params.InventoryItemN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -134565,8 +212313,19 @@ func NewPluginsNautobotDeviceLifecycleMgmtHardwareUpdateRequestWithBody(server s return req, nil } -// NewPluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroy -func NewPluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyRequest calls the generic PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroy builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyRequest(server string, body PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroy with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -134584,11 +212343,13 @@ func NewPluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyRequest(server stri return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -134629,6 +212390,214 @@ func NewPluginsNautobotDeviceLifecycleMgmtProviderListRequest(server string, par } + if params.CommentsIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ic", runtime.ParamLocationQuery, *params.CommentsIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ie", runtime.ParamLocationQuery, *params.CommentsIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__iew", runtime.ParamLocationQuery, *params.CommentsIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ire", runtime.ParamLocationQuery, *params.CommentsIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__isw", runtime.ParamLocationQuery, *params.CommentsIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__n", runtime.ParamLocationQuery, *params.CommentsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nic", runtime.ParamLocationQuery, *params.CommentsNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nie", runtime.ParamLocationQuery, *params.CommentsNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__niew", runtime.ParamLocationQuery, *params.CommentsNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nire", runtime.ParamLocationQuery, *params.CommentsNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nisw", runtime.ParamLocationQuery, *params.CommentsNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nre", runtime.ParamLocationQuery, *params.CommentsNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__re", runtime.ParamLocationQuery, *params.CommentsRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Country != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "country", runtime.ParamLocationQuery, *params.Country); err != nil { @@ -134645,6 +212614,262 @@ func NewPluginsNautobotDeviceLifecycleMgmtProviderListRequest(server string, par } + if params.CountryIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "country__ic", runtime.ParamLocationQuery, *params.CountryIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CountryIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "country__ie", runtime.ParamLocationQuery, *params.CountryIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CountryIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "country__iew", runtime.ParamLocationQuery, *params.CountryIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CountryIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "country__ire", runtime.ParamLocationQuery, *params.CountryIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CountryIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "country__isw", runtime.ParamLocationQuery, *params.CountryIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CountryN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "country__n", runtime.ParamLocationQuery, *params.CountryN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CountryNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "country__nic", runtime.ParamLocationQuery, *params.CountryNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CountryNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "country__nie", runtime.ParamLocationQuery, *params.CountryNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CountryNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "country__niew", runtime.ParamLocationQuery, *params.CountryNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CountryNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "country__nire", runtime.ParamLocationQuery, *params.CountryNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CountryNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "country__nisw", runtime.ParamLocationQuery, *params.CountryNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CountryNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "country__nre", runtime.ParamLocationQuery, *params.CountryNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CountryRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "country__re", runtime.ParamLocationQuery, *params.CountryRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Description != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { @@ -134661,6 +212886,214 @@ func NewPluginsNautobotDeviceLifecycleMgmtProviderListRequest(server string, par } + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Email != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email", runtime.ParamLocationQuery, *params.Email); err != nil { @@ -134677,6 +213110,486 @@ func NewPluginsNautobotDeviceLifecycleMgmtProviderListRequest(server string, par } + if params.EmailIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__ic", runtime.ParamLocationQuery, *params.EmailIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__ie", runtime.ParamLocationQuery, *params.EmailIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__iew", runtime.ParamLocationQuery, *params.EmailIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__ire", runtime.ParamLocationQuery, *params.EmailIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__isw", runtime.ParamLocationQuery, *params.EmailIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__n", runtime.ParamLocationQuery, *params.EmailN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__nic", runtime.ParamLocationQuery, *params.EmailNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__nie", runtime.ParamLocationQuery, *params.EmailNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__niew", runtime.ParamLocationQuery, *params.EmailNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__nire", runtime.ParamLocationQuery, *params.EmailNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__nisw", runtime.ParamLocationQuery, *params.EmailNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__nre", runtime.ParamLocationQuery, *params.EmailNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.EmailRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email__re", runtime.ParamLocationQuery, *params.EmailRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -134709,6 +213622,214 @@ func NewPluginsNautobotDeviceLifecycleMgmtProviderListRequest(server string, par } + if params.NameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ic", runtime.ParamLocationQuery, *params.NameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ie", runtime.ParamLocationQuery, *params.NameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__iew", runtime.ParamLocationQuery, *params.NameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__ire", runtime.ParamLocationQuery, *params.NameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__isw", runtime.ParamLocationQuery, *params.NameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__n", runtime.ParamLocationQuery, *params.NameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nic", runtime.ParamLocationQuery, *params.NameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nie", runtime.ParamLocationQuery, *params.NameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__niew", runtime.ParamLocationQuery, *params.NameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nire", runtime.ParamLocationQuery, *params.NameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nisw", runtime.ParamLocationQuery, *params.NameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__nre", runtime.ParamLocationQuery, *params.NameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.NameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name__re", runtime.ParamLocationQuery, *params.NameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { @@ -134741,6 +213862,214 @@ func NewPluginsNautobotDeviceLifecycleMgmtProviderListRequest(server string, par } + if params.PhoneIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__ic", runtime.ParamLocationQuery, *params.PhoneIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__ie", runtime.ParamLocationQuery, *params.PhoneIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__iew", runtime.ParamLocationQuery, *params.PhoneIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__ire", runtime.ParamLocationQuery, *params.PhoneIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__isw", runtime.ParamLocationQuery, *params.PhoneIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__n", runtime.ParamLocationQuery, *params.PhoneN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__nic", runtime.ParamLocationQuery, *params.PhoneNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__nie", runtime.ParamLocationQuery, *params.PhoneNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__niew", runtime.ParamLocationQuery, *params.PhoneNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__nire", runtime.ParamLocationQuery, *params.PhoneNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__nisw", runtime.ParamLocationQuery, *params.PhoneNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__nre", runtime.ParamLocationQuery, *params.PhoneNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhoneRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "phone__re", runtime.ParamLocationQuery, *params.PhoneRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.PhysicalAddress != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address", runtime.ParamLocationQuery, *params.PhysicalAddress); err != nil { @@ -134757,6 +214086,214 @@ func NewPluginsNautobotDeviceLifecycleMgmtProviderListRequest(server string, par } + if params.PhysicalAddressIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__ic", runtime.ParamLocationQuery, *params.PhysicalAddressIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__ie", runtime.ParamLocationQuery, *params.PhysicalAddressIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__iew", runtime.ParamLocationQuery, *params.PhysicalAddressIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__ire", runtime.ParamLocationQuery, *params.PhysicalAddressIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__isw", runtime.ParamLocationQuery, *params.PhysicalAddressIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__n", runtime.ParamLocationQuery, *params.PhysicalAddressN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__nic", runtime.ParamLocationQuery, *params.PhysicalAddressNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__nie", runtime.ParamLocationQuery, *params.PhysicalAddressNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__niew", runtime.ParamLocationQuery, *params.PhysicalAddressNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__nire", runtime.ParamLocationQuery, *params.PhysicalAddressNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__nisw", runtime.ParamLocationQuery, *params.PhysicalAddressNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__nre", runtime.ParamLocationQuery, *params.PhysicalAddressNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PhysicalAddressRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "physical_address__re", runtime.ParamLocationQuery, *params.PhysicalAddressRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.PortalUrl != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "portal_url", runtime.ParamLocationQuery, *params.PortalUrl); err != nil { @@ -134773,6 +214310,214 @@ func NewPluginsNautobotDeviceLifecycleMgmtProviderListRequest(server string, par } + if params.PortalUrlIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "portal_url__ic", runtime.ParamLocationQuery, *params.PortalUrlIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortalUrlIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "portal_url__ie", runtime.ParamLocationQuery, *params.PortalUrlIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortalUrlIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "portal_url__iew", runtime.ParamLocationQuery, *params.PortalUrlIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortalUrlIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "portal_url__ire", runtime.ParamLocationQuery, *params.PortalUrlIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortalUrlIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "portal_url__isw", runtime.ParamLocationQuery, *params.PortalUrlIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortalUrlN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "portal_url__n", runtime.ParamLocationQuery, *params.PortalUrlN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortalUrlNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "portal_url__nic", runtime.ParamLocationQuery, *params.PortalUrlNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortalUrlNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "portal_url__nie", runtime.ParamLocationQuery, *params.PortalUrlNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortalUrlNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "portal_url__niew", runtime.ParamLocationQuery, *params.PortalUrlNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortalUrlNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "portal_url__nire", runtime.ParamLocationQuery, *params.PortalUrlNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortalUrlNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "portal_url__nisw", runtime.ParamLocationQuery, *params.PortalUrlNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortalUrlNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "portal_url__nre", runtime.ParamLocationQuery, *params.PortalUrlNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PortalUrlRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "portal_url__re", runtime.ParamLocationQuery, *params.PortalUrlRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Q != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { @@ -135081,8 +214826,19 @@ func NewPluginsNautobotDeviceLifecycleMgmtProviderUpdateRequestWithBody(server s return req, nil } -// NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroy -func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyRequest calls the generic PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroy builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyRequest(server string, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroy with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -135100,11 +214856,13 @@ func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyRequest(server return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -135129,6 +214887,54 @@ func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageListRequest(server string queryValues := queryURL.Query() + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DefaultImage != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "default_image", runtime.ParamLocationQuery, *params.DefaultImage); err != nil { @@ -135193,6 +214999,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageListRequest(server string } + if params.DeviceTypesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_types__n", runtime.ParamLocationQuery, *params.DeviceTypesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DeviceTypesId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_types_id", runtime.ParamLocationQuery, *params.DeviceTypesId); err != nil { @@ -135209,6 +215031,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageListRequest(server string } + if params.DeviceTypesIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_types_id__n", runtime.ParamLocationQuery, *params.DeviceTypesIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DownloadUrl != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "download_url", runtime.ParamLocationQuery, *params.DownloadUrl); err != nil { @@ -135225,6 +215063,438 @@ func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageListRequest(server string } + if params.DownloadUrlIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "download_url__ic", runtime.ParamLocationQuery, *params.DownloadUrlIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DownloadUrlIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "download_url__ie", runtime.ParamLocationQuery, *params.DownloadUrlIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DownloadUrlIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "download_url__iew", runtime.ParamLocationQuery, *params.DownloadUrlIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DownloadUrlIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "download_url__ire", runtime.ParamLocationQuery, *params.DownloadUrlIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DownloadUrlIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "download_url__isw", runtime.ParamLocationQuery, *params.DownloadUrlIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DownloadUrlN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "download_url__n", runtime.ParamLocationQuery, *params.DownloadUrlN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DownloadUrlNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "download_url__nic", runtime.ParamLocationQuery, *params.DownloadUrlNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DownloadUrlNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "download_url__nie", runtime.ParamLocationQuery, *params.DownloadUrlNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DownloadUrlNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "download_url__niew", runtime.ParamLocationQuery, *params.DownloadUrlNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DownloadUrlNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "download_url__nire", runtime.ParamLocationQuery, *params.DownloadUrlNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DownloadUrlNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "download_url__nisw", runtime.ParamLocationQuery, *params.DownloadUrlNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DownloadUrlNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "download_url__nre", runtime.ParamLocationQuery, *params.DownloadUrlNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DownloadUrlRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "download_url__re", runtime.ParamLocationQuery, *params.DownloadUrlRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.ImageFileChecksum != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_checksum", runtime.ParamLocationQuery, *params.ImageFileChecksum); err != nil { @@ -135241,6 +215511,214 @@ func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageListRequest(server string } + if params.ImageFileChecksumIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_checksum__ic", runtime.ParamLocationQuery, *params.ImageFileChecksumIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileChecksumIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_checksum__ie", runtime.ParamLocationQuery, *params.ImageFileChecksumIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileChecksumIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_checksum__iew", runtime.ParamLocationQuery, *params.ImageFileChecksumIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileChecksumIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_checksum__ire", runtime.ParamLocationQuery, *params.ImageFileChecksumIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileChecksumIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_checksum__isw", runtime.ParamLocationQuery, *params.ImageFileChecksumIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileChecksumN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_checksum__n", runtime.ParamLocationQuery, *params.ImageFileChecksumN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileChecksumNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_checksum__nic", runtime.ParamLocationQuery, *params.ImageFileChecksumNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileChecksumNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_checksum__nie", runtime.ParamLocationQuery, *params.ImageFileChecksumNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileChecksumNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_checksum__niew", runtime.ParamLocationQuery, *params.ImageFileChecksumNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileChecksumNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_checksum__nire", runtime.ParamLocationQuery, *params.ImageFileChecksumNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileChecksumNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_checksum__nisw", runtime.ParamLocationQuery, *params.ImageFileChecksumNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileChecksumNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_checksum__nre", runtime.ParamLocationQuery, *params.ImageFileChecksumNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileChecksumRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_checksum__re", runtime.ParamLocationQuery, *params.ImageFileChecksumRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.ImageFileName != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_name", runtime.ParamLocationQuery, *params.ImageFileName); err != nil { @@ -135257,6 +215735,214 @@ func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageListRequest(server string } + if params.ImageFileNameIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_name__ic", runtime.ParamLocationQuery, *params.ImageFileNameIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileNameIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_name__ie", runtime.ParamLocationQuery, *params.ImageFileNameIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileNameIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_name__iew", runtime.ParamLocationQuery, *params.ImageFileNameIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileNameIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_name__ire", runtime.ParamLocationQuery, *params.ImageFileNameIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileNameIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_name__isw", runtime.ParamLocationQuery, *params.ImageFileNameIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileNameN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_name__n", runtime.ParamLocationQuery, *params.ImageFileNameN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileNameNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_name__nic", runtime.ParamLocationQuery, *params.ImageFileNameNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileNameNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_name__nie", runtime.ParamLocationQuery, *params.ImageFileNameNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileNameNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_name__niew", runtime.ParamLocationQuery, *params.ImageFileNameNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileNameNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_name__nire", runtime.ParamLocationQuery, *params.ImageFileNameNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileNameNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_name__nisw", runtime.ParamLocationQuery, *params.ImageFileNameNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileNameNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_name__nre", runtime.ParamLocationQuery, *params.ImageFileNameNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ImageFileNameRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "image_file_name__re", runtime.ParamLocationQuery, *params.ImageFileNameRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.InventoryItemId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "inventory_item_id", runtime.ParamLocationQuery, *params.InventoryItemId); err != nil { @@ -135289,6 +215975,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageListRequest(server string } + if params.InventoryItemsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "inventory_items__n", runtime.ParamLocationQuery, *params.InventoryItemsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.InventoryItemsId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "inventory_items_id", runtime.ParamLocationQuery, *params.InventoryItemsId); err != nil { @@ -135305,6 +216007,70 @@ func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageListRequest(server string } + if params.InventoryItemsIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "inventory_items_id__n", runtime.ParamLocationQuery, *params.InventoryItemsIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -135337,6 +216103,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageListRequest(server string } + if params.ObjectTagsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_tags__n", runtime.ParamLocationQuery, *params.ObjectTagsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.ObjectTagsId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_tags_id", runtime.ParamLocationQuery, *params.ObjectTagsId); err != nil { @@ -135353,6 +216135,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageListRequest(server string } + if params.ObjectTagsIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_tags_id__n", runtime.ParamLocationQuery, *params.ObjectTagsIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { @@ -135401,6 +216199,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageListRequest(server string } + if params.SoftwareN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "software__n", runtime.ParamLocationQuery, *params.SoftwareN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.SoftwareVersion != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "software_version", runtime.ParamLocationQuery, *params.SoftwareVersion); err != nil { @@ -135417,6 +216231,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageListRequest(server string } + if params.SoftwareVersionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "software_version__n", runtime.ParamLocationQuery, *params.SoftwareVersionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + queryURL.RawQuery = queryValues.Encode() req, err := http.NewRequest("GET", queryURL.String(), nil) @@ -135709,8 +216539,19 @@ func NewPluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateRequestWithBody(ser return req, nil } -// NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroy -func NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyRequest calls the generic PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroy builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyRequest(server string, body PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroy with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -135728,11 +216569,13 @@ func NewPluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyRequest(server stri return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -135773,6 +216616,262 @@ func NewPluginsNautobotDeviceLifecycleMgmtSoftwareListRequest(server string, par } + if params.AliasIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "alias__ic", runtime.ParamLocationQuery, *params.AliasIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AliasIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "alias__ie", runtime.ParamLocationQuery, *params.AliasIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AliasIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "alias__iew", runtime.ParamLocationQuery, *params.AliasIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AliasIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "alias__ire", runtime.ParamLocationQuery, *params.AliasIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AliasIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "alias__isw", runtime.ParamLocationQuery, *params.AliasIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AliasN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "alias__n", runtime.ParamLocationQuery, *params.AliasN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AliasNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "alias__nic", runtime.ParamLocationQuery, *params.AliasNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AliasNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "alias__nie", runtime.ParamLocationQuery, *params.AliasNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AliasNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "alias__niew", runtime.ParamLocationQuery, *params.AliasNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AliasNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "alias__nire", runtime.ParamLocationQuery, *params.AliasNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AliasNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "alias__nisw", runtime.ParamLocationQuery, *params.AliasNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AliasNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "alias__nre", runtime.ParamLocationQuery, *params.AliasNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.AliasRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "alias__re", runtime.ParamLocationQuery, *params.AliasRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DevicePlatform != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_platform", runtime.ParamLocationQuery, *params.DevicePlatform); err != nil { @@ -135789,6 +216888,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtSoftwareListRequest(server string, par } + if params.DevicePlatformN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_platform__n", runtime.ParamLocationQuery, *params.DevicePlatformN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DocumentationUrl != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "documentation_url", runtime.ParamLocationQuery, *params.DocumentationUrl); err != nil { @@ -135837,6 +216952,278 @@ func NewPluginsNautobotDeviceLifecycleMgmtSoftwareListRequest(server string, par } + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -135965,6 +217352,214 @@ func NewPluginsNautobotDeviceLifecycleMgmtSoftwareListRequest(server string, par } + if params.VersionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "version__ic", runtime.ParamLocationQuery, *params.VersionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VersionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "version__ie", runtime.ParamLocationQuery, *params.VersionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VersionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "version__iew", runtime.ParamLocationQuery, *params.VersionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VersionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "version__ire", runtime.ParamLocationQuery, *params.VersionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VersionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "version__isw", runtime.ParamLocationQuery, *params.VersionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VersionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "version__n", runtime.ParamLocationQuery, *params.VersionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VersionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "version__nic", runtime.ParamLocationQuery, *params.VersionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VersionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "version__nie", runtime.ParamLocationQuery, *params.VersionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VersionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "version__niew", runtime.ParamLocationQuery, *params.VersionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VersionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "version__nire", runtime.ParamLocationQuery, *params.VersionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VersionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "version__nisw", runtime.ParamLocationQuery, *params.VersionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VersionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "version__nre", runtime.ParamLocationQuery, *params.VersionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VersionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "version__re", runtime.ParamLocationQuery, *params.VersionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + queryURL.RawQuery = queryValues.Encode() req, err := http.NewRequest("GET", queryURL.String(), nil) @@ -136257,8 +217852,19 @@ func NewPluginsNautobotDeviceLifecycleMgmtSoftwareUpdateRequestWithBody(server s return req, nil } -// NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroy -func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyRequest calls the generic PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroy builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyRequest(server string, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroy with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -136276,11 +217882,13 @@ func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyRequest(se return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -136305,6 +217913,54 @@ func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListRequest(server st queryValues := queryURL.Query() + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DeviceId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_id", runtime.ParamLocationQuery, *params.DeviceId); err != nil { @@ -136353,6 +218009,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListRequest(server st } + if params.DeviceRolesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_roles__n", runtime.ParamLocationQuery, *params.DeviceRolesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DeviceRolesId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_roles_id", runtime.ParamLocationQuery, *params.DeviceRolesId); err != nil { @@ -136369,6 +218041,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListRequest(server st } + if params.DeviceRolesIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_roles_id__n", runtime.ParamLocationQuery, *params.DeviceRolesIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DeviceTypes != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_types", runtime.ParamLocationQuery, *params.DeviceTypes); err != nil { @@ -136385,6 +218073,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListRequest(server st } + if params.DeviceTypesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_types__n", runtime.ParamLocationQuery, *params.DeviceTypesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DeviceTypesId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_types_id", runtime.ParamLocationQuery, *params.DeviceTypesId); err != nil { @@ -136401,6 +218105,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListRequest(server st } + if params.DeviceTypesIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device_types_id__n", runtime.ParamLocationQuery, *params.DeviceTypesIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Devices != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devices", runtime.ParamLocationQuery, *params.Devices); err != nil { @@ -136417,6 +218137,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListRequest(server st } + if params.DevicesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devices__n", runtime.ParamLocationQuery, *params.DevicesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.DevicesId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devices_id", runtime.ParamLocationQuery, *params.DevicesId); err != nil { @@ -136433,6 +218169,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListRequest(server st } + if params.DevicesIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devices_id__n", runtime.ParamLocationQuery, *params.DevicesIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.EndAfter != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "end_after", runtime.ParamLocationQuery, *params.EndAfter); err != nil { @@ -136465,6 +218217,230 @@ func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListRequest(server st } + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.InventoryItemId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "inventory_item_id", runtime.ParamLocationQuery, *params.InventoryItemId); err != nil { @@ -136497,6 +218473,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListRequest(server st } + if params.InventoryItemsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "inventory_items__n", runtime.ParamLocationQuery, *params.InventoryItemsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.InventoryItemsId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "inventory_items_id", runtime.ParamLocationQuery, *params.InventoryItemsId); err != nil { @@ -136513,6 +218505,70 @@ func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListRequest(server st } + if params.InventoryItemsIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "inventory_items_id__n", runtime.ParamLocationQuery, *params.InventoryItemsIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -136545,6 +218601,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListRequest(server st } + if params.ObjectTagsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_tags__n", runtime.ParamLocationQuery, *params.ObjectTagsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.ObjectTagsId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_tags_id", runtime.ParamLocationQuery, *params.ObjectTagsId); err != nil { @@ -136561,6 +218633,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListRequest(server st } + if params.ObjectTagsIdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "object_tags_id__n", runtime.ParamLocationQuery, *params.ObjectTagsIdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { @@ -136625,6 +218713,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListRequest(server st } + if params.SoftwareN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "software__n", runtime.ParamLocationQuery, *params.SoftwareN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.StartAfter != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "start_after", runtime.ParamLocationQuery, *params.StartAfter); err != nil { @@ -136965,8 +219069,19 @@ func NewPluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateRequestWithBody return req, nil } -// NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyRequest generates requests for PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroy -func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyRequest(server string) (*http.Request, error) { +// NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyRequest calls the generic PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroy builder with application/json body +func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyRequest(server string, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyRequestWithBody generates requests for PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroy with any type of body +func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -136984,11 +219099,13 @@ func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyRequest(server return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -137013,6 +219130,54 @@ func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityListRequest(server string queryValues := queryURL.Query() + if params.Created != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__gte", runtime.ParamLocationQuery, *params.CreatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CreatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created__lte", runtime.ParamLocationQuery, *params.CreatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Cve != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cve", runtime.ParamLocationQuery, *params.Cve); err != nil { @@ -137029,6 +219194,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityListRequest(server string } + if params.CveN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cve__n", runtime.ParamLocationQuery, *params.CveN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.CvePublishedDateGte != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cve__published_date__gte", runtime.ParamLocationQuery, *params.CvePublishedDateGte); err != nil { @@ -137109,6 +219290,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityListRequest(server string } + if params.DeviceN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "device__n", runtime.ParamLocationQuery, *params.DeviceN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.ExcludeStatus != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "exclude_status", runtime.ParamLocationQuery, *params.ExcludeStatus); err != nil { @@ -137125,6 +219322,246 @@ func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityListRequest(server string } + if params.ExcludeStatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "exclude_status__n", runtime.ParamLocationQuery, *params.ExcludeStatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Id != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ic", runtime.ParamLocationQuery, *params.IdIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ie", runtime.ParamLocationQuery, *params.IdIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__iew", runtime.ParamLocationQuery, *params.IdIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__ire", runtime.ParamLocationQuery, *params.IdIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__isw", runtime.ParamLocationQuery, *params.IdIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__n", runtime.ParamLocationQuery, *params.IdN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nic", runtime.ParamLocationQuery, *params.IdNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nie", runtime.ParamLocationQuery, *params.IdNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__niew", runtime.ParamLocationQuery, *params.IdNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nire", runtime.ParamLocationQuery, *params.IdNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nisw", runtime.ParamLocationQuery, *params.IdNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__nre", runtime.ParamLocationQuery, *params.IdNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.IdRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id__re", runtime.ParamLocationQuery, *params.IdRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.InventoryItem != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "inventory_item", runtime.ParamLocationQuery, *params.InventoryItem); err != nil { @@ -137141,6 +219578,70 @@ func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityListRequest(server string } + if params.InventoryItemN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "inventory_item__n", runtime.ParamLocationQuery, *params.InventoryItemN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdated != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedGte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__gte", runtime.ParamLocationQuery, *params.LastUpdatedGte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LastUpdatedLte != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated__lte", runtime.ParamLocationQuery, *params.LastUpdatedLte); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -137205,6 +219706,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityListRequest(server string } + if params.SoftwareN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "software__n", runtime.ParamLocationQuery, *params.SoftwareN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Status != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { @@ -137221,6 +219738,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityListRequest(server string } + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Tag != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag", runtime.ParamLocationQuery, *params.Tag); err != nil { @@ -137237,6 +219770,22 @@ func NewPluginsNautobotDeviceLifecycleMgmtVulnerabilityListRequest(server string } + if params.TagN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag__n", runtime.ParamLocationQuery, *params.TagN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + queryURL.RawQuery = queryValues.Encode() req, err := http.NewRequest("GET", queryURL.String(), nil) @@ -137673,8 +220222,19 @@ func NewSwaggerRetrieveRequest(server string, params *SwaggerRetrieveParams) (*h return req, nil } -// NewTenancyTenantGroupsBulkDestroyRequest generates requests for TenancyTenantGroupsBulkDestroy -func NewTenancyTenantGroupsBulkDestroyRequest(server string) (*http.Request, error) { +// NewTenancyTenantGroupsBulkDestroyRequest calls the generic TenancyTenantGroupsBulkDestroy builder with application/json body +func NewTenancyTenantGroupsBulkDestroyRequest(server string, body TenancyTenantGroupsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyTenantGroupsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyTenantGroupsBulkDestroyRequestWithBody generates requests for TenancyTenantGroupsBulkDestroy with any type of body +func NewTenancyTenantGroupsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -137692,11 +220252,13 @@ func NewTenancyTenantGroupsBulkDestroyRequest(server string) (*http.Request, err return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -139117,8 +221679,136 @@ func NewTenancyTenantGroupsUpdateRequestWithBody(server string, id openapi_types return req, nil } -// NewTenancyTenantsBulkDestroyRequest generates requests for TenancyTenantsBulkDestroy -func NewTenancyTenantsBulkDestroyRequest(server string) (*http.Request, error) { +// NewTenancyTenantGroupsNotesListRequest generates requests for TenancyTenantGroupsNotesList +func NewTenancyTenantGroupsNotesListRequest(server string, id openapi_types.UUID, params *TenancyTenantGroupsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/tenancy/tenant-groups/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewTenancyTenantGroupsNotesCreateRequest calls the generic TenancyTenantGroupsNotesCreate builder with application/json body +func NewTenancyTenantGroupsNotesCreateRequest(server string, id openapi_types.UUID, body TenancyTenantGroupsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyTenantGroupsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewTenancyTenantGroupsNotesCreateRequestWithBody generates requests for TenancyTenantGroupsNotesCreate with any type of body +func NewTenancyTenantGroupsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/tenancy/tenant-groups/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewTenancyTenantsBulkDestroyRequest calls the generic TenancyTenantsBulkDestroy builder with application/json body +func NewTenancyTenantsBulkDestroyRequest(server string, body TenancyTenantsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyTenantsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewTenancyTenantsBulkDestroyRequestWithBody generates requests for TenancyTenantsBulkDestroy with any type of body +func NewTenancyTenantsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -139136,11 +221826,13 @@ func NewTenancyTenantsBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -139277,6 +221969,22 @@ func NewTenancyTenantsListRequest(server string, params *TenancyTenantsListParam } + if params.HasLocations != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_locations", runtime.ParamLocationQuery, *params.HasLocations); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -139565,6 +222273,38 @@ func NewTenancyTenantsListRequest(server string, params *TenancyTenantsListParam } + if params.Locations != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "locations", runtime.ParamLocationQuery, *params.Locations); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "locations__n", runtime.ParamLocationQuery, *params.LocationsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Name != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { @@ -140369,6 +223109,123 @@ func NewTenancyTenantsUpdateRequestWithBody(server string, id openapi_types.UUID return req, nil } +// NewTenancyTenantsNotesListRequest generates requests for TenancyTenantsNotesList +func NewTenancyTenantsNotesListRequest(server string, id openapi_types.UUID, params *TenancyTenantsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/tenancy/tenants/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewTenancyTenantsNotesCreateRequest calls the generic TenancyTenantsNotesCreate builder with application/json body +func NewTenancyTenantsNotesCreateRequest(server string, id openapi_types.UUID, body TenancyTenantsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewTenancyTenantsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewTenancyTenantsNotesCreateRequestWithBody generates requests for TenancyTenantsNotesCreate with any type of body +func NewTenancyTenantsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/tenancy/tenants/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + // NewUsersConfigRetrieveRequest generates requests for UsersConfigRetrieve func NewUsersConfigRetrieveRequest(server string) (*http.Request, error) { var err error @@ -140396,8 +223253,19 @@ func NewUsersConfigRetrieveRequest(server string) (*http.Request, error) { return req, nil } -// NewUsersGroupsBulkDestroyRequest generates requests for UsersGroupsBulkDestroy -func NewUsersGroupsBulkDestroyRequest(server string) (*http.Request, error) { +// NewUsersGroupsBulkDestroyRequest calls the generic UsersGroupsBulkDestroy builder with application/json body +func NewUsersGroupsBulkDestroyRequest(server string, body UsersGroupsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersGroupsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewUsersGroupsBulkDestroyRequestWithBody generates requests for UsersGroupsBulkDestroy with any type of body +func NewUsersGroupsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -140415,11 +223283,13 @@ func NewUsersGroupsBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -141104,8 +223974,19 @@ func NewUsersGroupsUpdateRequestWithBody(server string, id int, contentType stri return req, nil } -// NewUsersPermissionsBulkDestroyRequest generates requests for UsersPermissionsBulkDestroy -func NewUsersPermissionsBulkDestroyRequest(server string) (*http.Request, error) { +// NewUsersPermissionsBulkDestroyRequest calls the generic UsersPermissionsBulkDestroy builder with application/json body +func NewUsersPermissionsBulkDestroyRequest(server string, body UsersPermissionsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersPermissionsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewUsersPermissionsBulkDestroyRequestWithBody generates requests for UsersPermissionsBulkDestroy with any type of body +func NewUsersPermissionsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -141123,11 +224004,13 @@ func NewUsersPermissionsBulkDestroyRequest(server string) (*http.Request, error) return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -142100,8 +224983,19 @@ func NewUsersPermissionsUpdateRequestWithBody(server string, id openapi_types.UU return req, nil } -// NewUsersTokensBulkDestroyRequest generates requests for UsersTokensBulkDestroy -func NewUsersTokensBulkDestroyRequest(server string) (*http.Request, error) { +// NewUsersTokensBulkDestroyRequest calls the generic UsersTokensBulkDestroy builder with application/json body +func NewUsersTokensBulkDestroyRequest(server string, body UsersTokensBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersTokensBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewUsersTokensBulkDestroyRequestWithBody generates requests for UsersTokensBulkDestroy with any type of body +func NewUsersTokensBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -142119,11 +225013,13 @@ func NewUsersTokensBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -143144,8 +226040,19 @@ func NewUsersTokensUpdateRequestWithBody(server string, id openapi_types.UUID, c return req, nil } -// NewUsersUsersBulkDestroyRequest generates requests for UsersUsersBulkDestroy -func NewUsersUsersBulkDestroyRequest(server string) (*http.Request, error) { +// NewUsersUsersBulkDestroyRequest calls the generic UsersUsersBulkDestroy builder with application/json body +func NewUsersUsersBulkDestroyRequest(server string, body UsersUsersBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewUsersUsersBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewUsersUsersBulkDestroyRequestWithBody generates requests for UsersUsersBulkDestroy with any type of body +func NewUsersUsersBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -143163,11 +226070,13 @@ func NewUsersUsersBulkDestroyRequest(server string) (*http.Request, error) { return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -144748,8 +227657,19 @@ func NewUsersUsersUpdateRequestWithBody(server string, id openapi_types.UUID, co return req, nil } -// NewVirtualizationClusterGroupsBulkDestroyRequest generates requests for VirtualizationClusterGroupsBulkDestroy -func NewVirtualizationClusterGroupsBulkDestroyRequest(server string) (*http.Request, error) { +// NewVirtualizationClusterGroupsBulkDestroyRequest calls the generic VirtualizationClusterGroupsBulkDestroy builder with application/json body +func NewVirtualizationClusterGroupsBulkDestroyRequest(server string, body VirtualizationClusterGroupsBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClusterGroupsBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationClusterGroupsBulkDestroyRequestWithBody generates requests for VirtualizationClusterGroupsBulkDestroy with any type of body +func NewVirtualizationClusterGroupsBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -144767,11 +227687,13 @@ func NewVirtualizationClusterGroupsBulkDestroyRequest(server string) (*http.Requ return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -144796,6 +227718,38 @@ func NewVirtualizationClusterGroupsListRequest(server string, params *Virtualiza queryValues := queryURL.Query() + if params.Clusters != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "clusters", runtime.ParamLocationQuery, *params.Clusters); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClustersN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "clusters__n", runtime.ParamLocationQuery, *params.ClustersN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Created != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { @@ -145068,6 +228022,22 @@ func NewVirtualizationClusterGroupsListRequest(server string, params *Virtualiza } + if params.HasClusters != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_clusters", runtime.ParamLocationQuery, *params.HasClusters); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -146128,8 +229098,136 @@ func NewVirtualizationClusterGroupsUpdateRequestWithBody(server string, id opena return req, nil } -// NewVirtualizationClusterTypesBulkDestroyRequest generates requests for VirtualizationClusterTypesBulkDestroy -func NewVirtualizationClusterTypesBulkDestroyRequest(server string) (*http.Request, error) { +// NewVirtualizationClusterGroupsNotesListRequest generates requests for VirtualizationClusterGroupsNotesList +func NewVirtualizationClusterGroupsNotesListRequest(server string, id openapi_types.UUID, params *VirtualizationClusterGroupsNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/virtualization/cluster-groups/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewVirtualizationClusterGroupsNotesCreateRequest calls the generic VirtualizationClusterGroupsNotesCreate builder with application/json body +func NewVirtualizationClusterGroupsNotesCreateRequest(server string, id openapi_types.UUID, body VirtualizationClusterGroupsNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClusterGroupsNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewVirtualizationClusterGroupsNotesCreateRequestWithBody generates requests for VirtualizationClusterGroupsNotesCreate with any type of body +func NewVirtualizationClusterGroupsNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/virtualization/cluster-groups/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewVirtualizationClusterTypesBulkDestroyRequest calls the generic VirtualizationClusterTypesBulkDestroy builder with application/json body +func NewVirtualizationClusterTypesBulkDestroyRequest(server string, body VirtualizationClusterTypesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClusterTypesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationClusterTypesBulkDestroyRequestWithBody generates requests for VirtualizationClusterTypesBulkDestroy with any type of body +func NewVirtualizationClusterTypesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -146147,11 +229245,13 @@ func NewVirtualizationClusterTypesBulkDestroyRequest(server string) (*http.Reque return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -146176,6 +229276,38 @@ func NewVirtualizationClusterTypesListRequest(server string, params *Virtualizat queryValues := queryURL.Query() + if params.Clusters != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "clusters", runtime.ParamLocationQuery, *params.Clusters); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ClustersN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "clusters__n", runtime.ParamLocationQuery, *params.ClustersN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Created != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { @@ -146448,6 +229580,22 @@ func NewVirtualizationClusterTypesListRequest(server string, params *Virtualizat } + if params.HasClusters != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_clusters", runtime.ParamLocationQuery, *params.HasClusters); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -147508,8 +230656,136 @@ func NewVirtualizationClusterTypesUpdateRequestWithBody(server string, id openap return req, nil } -// NewVirtualizationClustersBulkDestroyRequest generates requests for VirtualizationClustersBulkDestroy -func NewVirtualizationClustersBulkDestroyRequest(server string) (*http.Request, error) { +// NewVirtualizationClusterTypesNotesListRequest generates requests for VirtualizationClusterTypesNotesList +func NewVirtualizationClusterTypesNotesListRequest(server string, id openapi_types.UUID, params *VirtualizationClusterTypesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/virtualization/cluster-types/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewVirtualizationClusterTypesNotesCreateRequest calls the generic VirtualizationClusterTypesNotesCreate builder with application/json body +func NewVirtualizationClusterTypesNotesCreateRequest(server string, id openapi_types.UUID, body VirtualizationClusterTypesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClusterTypesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewVirtualizationClusterTypesNotesCreateRequestWithBody generates requests for VirtualizationClusterTypesNotesCreate with any type of body +func NewVirtualizationClusterTypesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/virtualization/cluster-types/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewVirtualizationClustersBulkDestroyRequest calls the generic VirtualizationClustersBulkDestroy builder with application/json body +func NewVirtualizationClustersBulkDestroyRequest(server string, body VirtualizationClustersBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClustersBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationClustersBulkDestroyRequestWithBody generates requests for VirtualizationClustersBulkDestroy with any type of body +func NewVirtualizationClustersBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -147527,11 +230803,13 @@ func NewVirtualizationClustersBulkDestroyRequest(server string) (*http.Request, return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -147556,6 +230834,230 @@ func NewVirtualizationClustersListRequest(server string, params *VirtualizationC queryValues := queryURL.Query() + if params.Comments != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments", runtime.ParamLocationQuery, *params.Comments); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ic", runtime.ParamLocationQuery, *params.CommentsIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ie", runtime.ParamLocationQuery, *params.CommentsIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__iew", runtime.ParamLocationQuery, *params.CommentsIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ire", runtime.ParamLocationQuery, *params.CommentsIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__isw", runtime.ParamLocationQuery, *params.CommentsIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__n", runtime.ParamLocationQuery, *params.CommentsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nic", runtime.ParamLocationQuery, *params.CommentsNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nie", runtime.ParamLocationQuery, *params.CommentsNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__niew", runtime.ParamLocationQuery, *params.CommentsNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nire", runtime.ParamLocationQuery, *params.CommentsNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nisw", runtime.ParamLocationQuery, *params.CommentsNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nre", runtime.ParamLocationQuery, *params.CommentsNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__re", runtime.ParamLocationQuery, *params.CommentsRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Created != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { @@ -147604,6 +231106,38 @@ func NewVirtualizationClustersListRequest(server string, params *VirtualizationC } + if params.Devices != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devices", runtime.ParamLocationQuery, *params.Devices); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DevicesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devices__n", runtime.ParamLocationQuery, *params.DevicesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Group != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group", runtime.ParamLocationQuery, *params.Group); err != nil { @@ -147668,6 +231202,38 @@ func NewVirtualizationClustersListRequest(server string, params *VirtualizationC } + if params.HasDevices != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_devices", runtime.ParamLocationQuery, *params.HasDevices); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasVirtualMachines != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_virtual_machines", runtime.ParamLocationQuery, *params.HasVirtualMachines); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -147956,6 +231522,38 @@ func NewVirtualizationClustersListRequest(server string, params *VirtualizationC } + if params.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Name != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { @@ -148564,6 +232162,38 @@ func NewVirtualizationClustersListRequest(server string, params *VirtualizationC } + if params.VirtualMachines != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_machines", runtime.ParamLocationQuery, *params.VirtualMachines); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.VirtualMachinesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_machines__n", runtime.ParamLocationQuery, *params.VirtualMachinesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + queryURL.RawQuery = queryValues.Encode() req, err := http.NewRequest("GET", queryURL.String(), nil) @@ -148856,8 +232486,136 @@ func NewVirtualizationClustersUpdateRequestWithBody(server string, id openapi_ty return req, nil } -// NewVirtualizationInterfacesBulkDestroyRequest generates requests for VirtualizationInterfacesBulkDestroy -func NewVirtualizationInterfacesBulkDestroyRequest(server string) (*http.Request, error) { +// NewVirtualizationClustersNotesListRequest generates requests for VirtualizationClustersNotesList +func NewVirtualizationClustersNotesListRequest(server string, id openapi_types.UUID, params *VirtualizationClustersNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/virtualization/clusters/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewVirtualizationClustersNotesCreateRequest calls the generic VirtualizationClustersNotesCreate builder with application/json body +func NewVirtualizationClustersNotesCreateRequest(server string, id openapi_types.UUID, body VirtualizationClustersNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationClustersNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewVirtualizationClustersNotesCreateRequestWithBody generates requests for VirtualizationClustersNotesCreate with any type of body +func NewVirtualizationClustersNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/virtualization/clusters/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewVirtualizationInterfacesBulkDestroyRequest calls the generic VirtualizationInterfacesBulkDestroy builder with application/json body +func NewVirtualizationInterfacesBulkDestroyRequest(server string, body VirtualizationInterfacesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationInterfacesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationInterfacesBulkDestroyRequestWithBody generates requests for VirtualizationInterfacesBulkDestroy with any type of body +func NewVirtualizationInterfacesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -148875,11 +232633,13 @@ func NewVirtualizationInterfacesBulkDestroyRequest(server string) (*http.Request return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -148904,6 +232664,102 @@ func NewVirtualizationInterfacesListRequest(server string, params *Virtualizatio queryValues := queryURL.Query() + if params.Bridge != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "bridge", runtime.ParamLocationQuery, *params.Bridge); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BridgeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "bridge__n", runtime.ParamLocationQuery, *params.BridgeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BridgedInterfaces != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "bridged_interfaces", runtime.ParamLocationQuery, *params.BridgedInterfaces); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.BridgedInterfacesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "bridged_interfaces__n", runtime.ParamLocationQuery, *params.BridgedInterfacesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChildInterfaces != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "child_interfaces", runtime.ParamLocationQuery, *params.ChildInterfaces); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ChildInterfacesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "child_interfaces__n", runtime.ParamLocationQuery, *params.ChildInterfacesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Cluster != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cluster", runtime.ParamLocationQuery, *params.Cluster); err != nil { @@ -148968,6 +232824,230 @@ func NewVirtualizationInterfacesListRequest(server string, params *Virtualizatio } + if params.Description != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ic", runtime.ParamLocationQuery, *params.DescriptionIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ie", runtime.ParamLocationQuery, *params.DescriptionIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__iew", runtime.ParamLocationQuery, *params.DescriptionIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__ire", runtime.ParamLocationQuery, *params.DescriptionIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__isw", runtime.ParamLocationQuery, *params.DescriptionIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__n", runtime.ParamLocationQuery, *params.DescriptionN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nic", runtime.ParamLocationQuery, *params.DescriptionNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nie", runtime.ParamLocationQuery, *params.DescriptionNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__niew", runtime.ParamLocationQuery, *params.DescriptionNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nire", runtime.ParamLocationQuery, *params.DescriptionNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nisw", runtime.ParamLocationQuery, *params.DescriptionNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__nre", runtime.ParamLocationQuery, *params.DescriptionNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.DescriptionRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description__re", runtime.ParamLocationQuery, *params.DescriptionRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Enabled != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "enabled", runtime.ParamLocationQuery, *params.Enabled); err != nil { @@ -148984,6 +233064,70 @@ func NewVirtualizationInterfacesListRequest(server string, params *Virtualizatio } + if params.HasBridgedInterfaces != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_bridged_interfaces", runtime.ParamLocationQuery, *params.HasBridgedInterfaces); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasChildInterfaces != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_child_interfaces", runtime.ParamLocationQuery, *params.HasChildInterfaces); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasIpAddresses != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_ip_addresses", runtime.ParamLocationQuery, *params.HasIpAddresses); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.HasTaggedVlans != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_tagged_vlans", runtime.ParamLocationQuery, *params.HasTaggedVlans); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -149208,6 +233352,22 @@ func NewVirtualizationInterfacesListRequest(server string, params *Virtualizatio } + if params.IpAddresses != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ip_addresses", runtime.ParamLocationQuery, *params.IpAddresses); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { @@ -149448,6 +233608,38 @@ func NewVirtualizationInterfacesListRequest(server string, params *Virtualizatio } + if params.Mode != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mode", runtime.ParamLocationQuery, *params.Mode); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ModeN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mode__n", runtime.ParamLocationQuery, *params.ModeN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Mtu != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mtu", runtime.ParamLocationQuery, *params.Mtu); err != nil { @@ -149784,6 +233976,38 @@ func NewVirtualizationInterfacesListRequest(server string, params *Virtualizatio } + if params.ParentInterface != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent_interface", runtime.ParamLocationQuery, *params.ParentInterface); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ParentInterfaceN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent_interface__n", runtime.ParamLocationQuery, *params.ParentInterfaceN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Q != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { @@ -149800,6 +234024,38 @@ func NewVirtualizationInterfacesListRequest(server string, params *Virtualizatio } + if params.Status != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.StatusN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status__n", runtime.ParamLocationQuery, *params.StatusN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Tag != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tag", runtime.ParamLocationQuery, *params.Tag); err != nil { @@ -149832,6 +234088,70 @@ func NewVirtualizationInterfacesListRequest(server string, params *Virtualizatio } + if params.TaggedVlans != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tagged_vlans", runtime.ParamLocationQuery, *params.TaggedVlans); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.TaggedVlansN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tagged_vlans__n", runtime.ParamLocationQuery, *params.TaggedVlansN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UntaggedVlan != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "untagged_vlan", runtime.ParamLocationQuery, *params.UntaggedVlan); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.UntaggedVlanN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "untagged_vlan__n", runtime.ParamLocationQuery, *params.UntaggedVlanN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.VirtualMachine != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "virtual_machine", runtime.ParamLocationQuery, *params.VirtualMachine); err != nil { @@ -150188,8 +234508,136 @@ func NewVirtualizationInterfacesUpdateRequestWithBody(server string, id openapi_ return req, nil } -// NewVirtualizationVirtualMachinesBulkDestroyRequest generates requests for VirtualizationVirtualMachinesBulkDestroy -func NewVirtualizationVirtualMachinesBulkDestroyRequest(server string) (*http.Request, error) { +// NewVirtualizationInterfacesNotesListRequest generates requests for VirtualizationInterfacesNotesList +func NewVirtualizationInterfacesNotesListRequest(server string, id openapi_types.UUID, params *VirtualizationInterfacesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/virtualization/interfaces/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewVirtualizationInterfacesNotesCreateRequest calls the generic VirtualizationInterfacesNotesCreate builder with application/json body +func NewVirtualizationInterfacesNotesCreateRequest(server string, id openapi_types.UUID, body VirtualizationInterfacesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationInterfacesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewVirtualizationInterfacesNotesCreateRequestWithBody generates requests for VirtualizationInterfacesNotesCreate with any type of body +func NewVirtualizationInterfacesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/virtualization/interfaces/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + +// NewVirtualizationVirtualMachinesBulkDestroyRequest calls the generic VirtualizationVirtualMachinesBulkDestroy builder with application/json body +func NewVirtualizationVirtualMachinesBulkDestroyRequest(server string, body VirtualizationVirtualMachinesBulkDestroyJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationVirtualMachinesBulkDestroyRequestWithBody(server, "application/json", bodyReader) +} + +// NewVirtualizationVirtualMachinesBulkDestroyRequestWithBody generates requests for VirtualizationVirtualMachinesBulkDestroy with any type of body +func NewVirtualizationVirtualMachinesBulkDestroyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -150207,11 +234655,13 @@ func NewVirtualizationVirtualMachinesBulkDestroyRequest(server string) (*http.Re return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } + req.Header.Add("Content-Type", contentType) + return req, nil } @@ -150428,6 +234878,230 @@ func NewVirtualizationVirtualMachinesListRequest(server string, params *Virtuali } + if params.Comments != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments", runtime.ParamLocationQuery, *params.Comments); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIc != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ic", runtime.ParamLocationQuery, *params.CommentsIc); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ie", runtime.ParamLocationQuery, *params.CommentsIe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__iew", runtime.ParamLocationQuery, *params.CommentsIew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__ire", runtime.ParamLocationQuery, *params.CommentsIre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsIsw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__isw", runtime.ParamLocationQuery, *params.CommentsIsw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__n", runtime.ParamLocationQuery, *params.CommentsN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNic != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nic", runtime.ParamLocationQuery, *params.CommentsNic); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNie != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nie", runtime.ParamLocationQuery, *params.CommentsNie); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNiew != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__niew", runtime.ParamLocationQuery, *params.CommentsNiew); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNire != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nire", runtime.ParamLocationQuery, *params.CommentsNire); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNisw != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nisw", runtime.ParamLocationQuery, *params.CommentsNisw); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsNre != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__nre", runtime.ParamLocationQuery, *params.CommentsNre); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.CommentsRe != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comments__re", runtime.ParamLocationQuery, *params.CommentsRe); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Created != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "created", runtime.ParamLocationQuery, *params.Created); err != nil { @@ -150572,6 +235246,22 @@ func NewVirtualizationVirtualMachinesListRequest(server string, params *Virtuali } + if params.HasInterfaces != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_interfaces", runtime.ParamLocationQuery, *params.HasInterfaces); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.HasPrimaryIp != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_primary_ip", runtime.ParamLocationQuery, *params.HasPrimaryIp); err != nil { @@ -150588,6 +235278,22 @@ func NewVirtualizationVirtualMachinesListRequest(server string, params *Virtuali } + if params.HasServices != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "has_services", runtime.ParamLocationQuery, *params.HasServices); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { @@ -150812,6 +235518,38 @@ func NewVirtualizationVirtualMachinesListRequest(server string, params *Virtuali } + if params.Interfaces != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interfaces", runtime.ParamLocationQuery, *params.Interfaces); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.InterfacesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "interfaces__n", runtime.ParamLocationQuery, *params.InterfacesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.LastUpdated != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "last_updated", runtime.ParamLocationQuery, *params.LastUpdated); err != nil { @@ -150956,6 +235694,38 @@ func NewVirtualizationVirtualMachinesListRequest(server string, params *Virtuali } + if params.Location != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location", runtime.ParamLocationQuery, *params.Location); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.LocationN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "location__n", runtime.ParamLocationQuery, *params.LocationN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.MacAddress != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mac_address", runtime.ParamLocationQuery, *params.MacAddress); err != nil { @@ -151580,6 +236350,38 @@ func NewVirtualizationVirtualMachinesListRequest(server string, params *Virtuali } + if params.PrimaryIp4 != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "primary_ip4", runtime.ParamLocationQuery, *params.PrimaryIp4); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.PrimaryIp6 != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "primary_ip6", runtime.ParamLocationQuery, *params.PrimaryIp6); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Q != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "q", runtime.ParamLocationQuery, *params.Q); err != nil { @@ -151724,6 +236526,38 @@ func NewVirtualizationVirtualMachinesListRequest(server string, params *Virtuali } + if params.Services != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "services", runtime.ParamLocationQuery, *params.Services); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.ServicesN != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "services__n", runtime.ParamLocationQuery, *params.ServicesN); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + if params.Site != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "site", runtime.ParamLocationQuery, *params.Site); err != nil { @@ -152368,6 +237202,123 @@ func NewVirtualizationVirtualMachinesUpdateRequestWithBody(server string, id ope return req, nil } +// NewVirtualizationVirtualMachinesNotesListRequest generates requests for VirtualizationVirtualMachinesNotesList +func NewVirtualizationVirtualMachinesNotesListRequest(server string, id openapi_types.UUID, params *VirtualizationVirtualMachinesNotesListParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/virtualization/virtual-machines/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + queryValues := queryURL.Query() + + if params.Limit != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if params.Offset != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + queryURL.RawQuery = queryValues.Encode() + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewVirtualizationVirtualMachinesNotesCreateRequest calls the generic VirtualizationVirtualMachinesNotesCreate builder with application/json body +func NewVirtualizationVirtualMachinesNotesCreateRequest(server string, id openapi_types.UUID, body VirtualizationVirtualMachinesNotesCreateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewVirtualizationVirtualMachinesNotesCreateRequestWithBody(server, id, "application/json", bodyReader) +} + +// NewVirtualizationVirtualMachinesNotesCreateRequestWithBody generates requests for VirtualizationVirtualMachinesNotesCreate with any type of body +func NewVirtualizationVirtualMachinesNotesCreateRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/virtualization/virtual-machines/%s/notes/", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + return req, nil +} + func (c *Client) applyEditors(ctx context.Context, req *http.Request, additionalEditors []RequestEditorFn) error { for _, r := range c.RequestEditors { if err := r(ctx, req); err != nil { @@ -152411,8 +237362,10 @@ func WithBaseURL(baseURL string) ClientOption { // ClientWithResponsesInterface is the interface specification for the client with responses above. type ClientWithResponsesInterface interface { - // CircuitsCircuitTerminationsBulkDestroy request - CircuitsCircuitTerminationsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsBulkDestroyResponse, error) + // CircuitsCircuitTerminationsBulkDestroy request with any body + CircuitsCircuitTerminationsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsBulkDestroyResponse, error) + + CircuitsCircuitTerminationsBulkDestroyWithResponse(ctx context.Context, body CircuitsCircuitTerminationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsBulkDestroyResponse, error) // CircuitsCircuitTerminationsList request CircuitsCircuitTerminationsListWithResponse(ctx context.Context, params *CircuitsCircuitTerminationsListParams, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsListResponse, error) @@ -152448,11 +237401,21 @@ type ClientWithResponsesInterface interface { CircuitsCircuitTerminationsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTerminationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsUpdateResponse, error) + // CircuitsCircuitTerminationsNotesList request + CircuitsCircuitTerminationsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *CircuitsCircuitTerminationsNotesListParams, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsNotesListResponse, error) + + // CircuitsCircuitTerminationsNotesCreate request with any body + CircuitsCircuitTerminationsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsNotesCreateResponse, error) + + CircuitsCircuitTerminationsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTerminationsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsNotesCreateResponse, error) + // CircuitsCircuitTerminationsTraceRetrieve request CircuitsCircuitTerminationsTraceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsTraceRetrieveResponse, error) - // CircuitsCircuitTypesBulkDestroy request - CircuitsCircuitTypesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesBulkDestroyResponse, error) + // CircuitsCircuitTypesBulkDestroy request with any body + CircuitsCircuitTypesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesBulkDestroyResponse, error) + + CircuitsCircuitTypesBulkDestroyWithResponse(ctx context.Context, body CircuitsCircuitTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesBulkDestroyResponse, error) // CircuitsCircuitTypesList request CircuitsCircuitTypesListWithResponse(ctx context.Context, params *CircuitsCircuitTypesListParams, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesListResponse, error) @@ -152488,8 +237451,18 @@ type ClientWithResponsesInterface interface { CircuitsCircuitTypesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesUpdateResponse, error) - // CircuitsCircuitsBulkDestroy request - CircuitsCircuitsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CircuitsCircuitsBulkDestroyResponse, error) + // CircuitsCircuitTypesNotesList request + CircuitsCircuitTypesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *CircuitsCircuitTypesNotesListParams, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesNotesListResponse, error) + + // CircuitsCircuitTypesNotesCreate request with any body + CircuitsCircuitTypesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesNotesCreateResponse, error) + + CircuitsCircuitTypesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTypesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesNotesCreateResponse, error) + + // CircuitsCircuitsBulkDestroy request with any body + CircuitsCircuitsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitsBulkDestroyResponse, error) + + CircuitsCircuitsBulkDestroyWithResponse(ctx context.Context, body CircuitsCircuitsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitsBulkDestroyResponse, error) // CircuitsCircuitsList request CircuitsCircuitsListWithResponse(ctx context.Context, params *CircuitsCircuitsListParams, reqEditors ...RequestEditorFn) (*CircuitsCircuitsListResponse, error) @@ -152525,8 +237498,18 @@ type ClientWithResponsesInterface interface { CircuitsCircuitsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitsUpdateResponse, error) - // CircuitsProviderNetworksBulkDestroy request - CircuitsProviderNetworksBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksBulkDestroyResponse, error) + // CircuitsCircuitsNotesList request + CircuitsCircuitsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *CircuitsCircuitsNotesListParams, reqEditors ...RequestEditorFn) (*CircuitsCircuitsNotesListResponse, error) + + // CircuitsCircuitsNotesCreate request with any body + CircuitsCircuitsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitsNotesCreateResponse, error) + + CircuitsCircuitsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitsNotesCreateResponse, error) + + // CircuitsProviderNetworksBulkDestroy request with any body + CircuitsProviderNetworksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksBulkDestroyResponse, error) + + CircuitsProviderNetworksBulkDestroyWithResponse(ctx context.Context, body CircuitsProviderNetworksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksBulkDestroyResponse, error) // CircuitsProviderNetworksList request CircuitsProviderNetworksListWithResponse(ctx context.Context, params *CircuitsProviderNetworksListParams, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksListResponse, error) @@ -152562,8 +237545,18 @@ type ClientWithResponsesInterface interface { CircuitsProviderNetworksUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsProviderNetworksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksUpdateResponse, error) - // CircuitsProvidersBulkDestroy request - CircuitsProvidersBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CircuitsProvidersBulkDestroyResponse, error) + // CircuitsProviderNetworksNotesList request + CircuitsProviderNetworksNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *CircuitsProviderNetworksNotesListParams, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksNotesListResponse, error) + + // CircuitsProviderNetworksNotesCreate request with any body + CircuitsProviderNetworksNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksNotesCreateResponse, error) + + CircuitsProviderNetworksNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsProviderNetworksNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksNotesCreateResponse, error) + + // CircuitsProvidersBulkDestroy request with any body + CircuitsProvidersBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProvidersBulkDestroyResponse, error) + + CircuitsProvidersBulkDestroyWithResponse(ctx context.Context, body CircuitsProvidersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProvidersBulkDestroyResponse, error) // CircuitsProvidersList request CircuitsProvidersListWithResponse(ctx context.Context, params *CircuitsProvidersListParams, reqEditors ...RequestEditorFn) (*CircuitsProvidersListResponse, error) @@ -152599,8 +237592,18 @@ type ClientWithResponsesInterface interface { CircuitsProvidersUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsProvidersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProvidersUpdateResponse, error) - // DcimCablesBulkDestroy request - DcimCablesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimCablesBulkDestroyResponse, error) + // CircuitsProvidersNotesList request + CircuitsProvidersNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *CircuitsProvidersNotesListParams, reqEditors ...RequestEditorFn) (*CircuitsProvidersNotesListResponse, error) + + // CircuitsProvidersNotesCreate request with any body + CircuitsProvidersNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProvidersNotesCreateResponse, error) + + CircuitsProvidersNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsProvidersNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProvidersNotesCreateResponse, error) + + // DcimCablesBulkDestroy request with any body + DcimCablesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCablesBulkDestroyResponse, error) + + DcimCablesBulkDestroyWithResponse(ctx context.Context, body DcimCablesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCablesBulkDestroyResponse, error) // DcimCablesList request DcimCablesListWithResponse(ctx context.Context, params *DcimCablesListParams, reqEditors ...RequestEditorFn) (*DcimCablesListResponse, error) @@ -152636,14 +237639,24 @@ type ClientWithResponsesInterface interface { DcimCablesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimCablesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCablesUpdateResponse, error) + // DcimCablesNotesList request + DcimCablesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimCablesNotesListParams, reqEditors ...RequestEditorFn) (*DcimCablesNotesListResponse, error) + + // DcimCablesNotesCreate request with any body + DcimCablesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCablesNotesCreateResponse, error) + + DcimCablesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimCablesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCablesNotesCreateResponse, error) + // DcimConnectedDeviceList request DcimConnectedDeviceListWithResponse(ctx context.Context, params *DcimConnectedDeviceListParams, reqEditors ...RequestEditorFn) (*DcimConnectedDeviceListResponse, error) // DcimConsoleConnectionsList request DcimConsoleConnectionsListWithResponse(ctx context.Context, params *DcimConsoleConnectionsListParams, reqEditors ...RequestEditorFn) (*DcimConsoleConnectionsListResponse, error) - // DcimConsolePortTemplatesBulkDestroy request - DcimConsolePortTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesBulkDestroyResponse, error) + // DcimConsolePortTemplatesBulkDestroy request with any body + DcimConsolePortTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesBulkDestroyResponse, error) + + DcimConsolePortTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimConsolePortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesBulkDestroyResponse, error) // DcimConsolePortTemplatesList request DcimConsolePortTemplatesListWithResponse(ctx context.Context, params *DcimConsolePortTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesListResponse, error) @@ -152679,8 +237692,18 @@ type ClientWithResponsesInterface interface { DcimConsolePortTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsolePortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesUpdateResponse, error) - // DcimConsolePortsBulkDestroy request - DcimConsolePortsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimConsolePortsBulkDestroyResponse, error) + // DcimConsolePortTemplatesNotesList request + DcimConsolePortTemplatesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimConsolePortTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesNotesListResponse, error) + + // DcimConsolePortTemplatesNotesCreate request with any body + DcimConsolePortTemplatesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesNotesCreateResponse, error) + + DcimConsolePortTemplatesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsolePortTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesNotesCreateResponse, error) + + // DcimConsolePortsBulkDestroy request with any body + DcimConsolePortsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortsBulkDestroyResponse, error) + + DcimConsolePortsBulkDestroyWithResponse(ctx context.Context, body DcimConsolePortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortsBulkDestroyResponse, error) // DcimConsolePortsList request DcimConsolePortsListWithResponse(ctx context.Context, params *DcimConsolePortsListParams, reqEditors ...RequestEditorFn) (*DcimConsolePortsListResponse, error) @@ -152716,11 +237739,21 @@ type ClientWithResponsesInterface interface { DcimConsolePortsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsolePortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortsUpdateResponse, error) + // DcimConsolePortsNotesList request + DcimConsolePortsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimConsolePortsNotesListParams, reqEditors ...RequestEditorFn) (*DcimConsolePortsNotesListResponse, error) + + // DcimConsolePortsNotesCreate request with any body + DcimConsolePortsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortsNotesCreateResponse, error) + + DcimConsolePortsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsolePortsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortsNotesCreateResponse, error) + // DcimConsolePortsTraceRetrieve request DcimConsolePortsTraceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimConsolePortsTraceRetrieveResponse, error) - // DcimConsoleServerPortTemplatesBulkDestroy request - DcimConsoleServerPortTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesBulkDestroyResponse, error) + // DcimConsoleServerPortTemplatesBulkDestroy request with any body + DcimConsoleServerPortTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesBulkDestroyResponse, error) + + DcimConsoleServerPortTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimConsoleServerPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesBulkDestroyResponse, error) // DcimConsoleServerPortTemplatesList request DcimConsoleServerPortTemplatesListWithResponse(ctx context.Context, params *DcimConsoleServerPortTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesListResponse, error) @@ -152756,8 +237789,18 @@ type ClientWithResponsesInterface interface { DcimConsoleServerPortTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesUpdateResponse, error) - // DcimConsoleServerPortsBulkDestroy request - DcimConsoleServerPortsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsBulkDestroyResponse, error) + // DcimConsoleServerPortTemplatesNotesList request + DcimConsoleServerPortTemplatesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimConsoleServerPortTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesNotesListResponse, error) + + // DcimConsoleServerPortTemplatesNotesCreate request with any body + DcimConsoleServerPortTemplatesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesNotesCreateResponse, error) + + DcimConsoleServerPortTemplatesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesNotesCreateResponse, error) + + // DcimConsoleServerPortsBulkDestroy request with any body + DcimConsoleServerPortsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsBulkDestroyResponse, error) + + DcimConsoleServerPortsBulkDestroyWithResponse(ctx context.Context, body DcimConsoleServerPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsBulkDestroyResponse, error) // DcimConsoleServerPortsList request DcimConsoleServerPortsListWithResponse(ctx context.Context, params *DcimConsoleServerPortsListParams, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsListResponse, error) @@ -152793,11 +237836,21 @@ type ClientWithResponsesInterface interface { DcimConsoleServerPortsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsUpdateResponse, error) + // DcimConsoleServerPortsNotesList request + DcimConsoleServerPortsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimConsoleServerPortsNotesListParams, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsNotesListResponse, error) + + // DcimConsoleServerPortsNotesCreate request with any body + DcimConsoleServerPortsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsNotesCreateResponse, error) + + DcimConsoleServerPortsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsNotesCreateResponse, error) + // DcimConsoleServerPortsTraceRetrieve request DcimConsoleServerPortsTraceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsTraceRetrieveResponse, error) - // DcimDeviceBayTemplatesBulkDestroy request - DcimDeviceBayTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesBulkDestroyResponse, error) + // DcimDeviceBayTemplatesBulkDestroy request with any body + DcimDeviceBayTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesBulkDestroyResponse, error) + + DcimDeviceBayTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimDeviceBayTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesBulkDestroyResponse, error) // DcimDeviceBayTemplatesList request DcimDeviceBayTemplatesListWithResponse(ctx context.Context, params *DcimDeviceBayTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesListResponse, error) @@ -152833,8 +237886,18 @@ type ClientWithResponsesInterface interface { DcimDeviceBayTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceBayTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesUpdateResponse, error) - // DcimDeviceBaysBulkDestroy request - DcimDeviceBaysBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimDeviceBaysBulkDestroyResponse, error) + // DcimDeviceBayTemplatesNotesList request + DcimDeviceBayTemplatesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimDeviceBayTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesNotesListResponse, error) + + // DcimDeviceBayTemplatesNotesCreate request with any body + DcimDeviceBayTemplatesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesNotesCreateResponse, error) + + DcimDeviceBayTemplatesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceBayTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesNotesCreateResponse, error) + + // DcimDeviceBaysBulkDestroy request with any body + DcimDeviceBaysBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBaysBulkDestroyResponse, error) + + DcimDeviceBaysBulkDestroyWithResponse(ctx context.Context, body DcimDeviceBaysBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBaysBulkDestroyResponse, error) // DcimDeviceBaysList request DcimDeviceBaysListWithResponse(ctx context.Context, params *DcimDeviceBaysListParams, reqEditors ...RequestEditorFn) (*DcimDeviceBaysListResponse, error) @@ -152870,8 +237933,65 @@ type ClientWithResponsesInterface interface { DcimDeviceBaysUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceBaysUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBaysUpdateResponse, error) - // DcimDeviceRolesBulkDestroy request - DcimDeviceRolesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimDeviceRolesBulkDestroyResponse, error) + // DcimDeviceBaysNotesList request + DcimDeviceBaysNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimDeviceBaysNotesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceBaysNotesListResponse, error) + + // DcimDeviceBaysNotesCreate request with any body + DcimDeviceBaysNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBaysNotesCreateResponse, error) + + DcimDeviceBaysNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceBaysNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBaysNotesCreateResponse, error) + + // DcimDeviceRedundancyGroupsBulkDestroy request with any body + DcimDeviceRedundancyGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsBulkDestroyResponse, error) + + DcimDeviceRedundancyGroupsBulkDestroyWithResponse(ctx context.Context, body DcimDeviceRedundancyGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsBulkDestroyResponse, error) + + // DcimDeviceRedundancyGroupsList request + DcimDeviceRedundancyGroupsListWithResponse(ctx context.Context, params *DcimDeviceRedundancyGroupsListParams, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsListResponse, error) + + // DcimDeviceRedundancyGroupsBulkPartialUpdate request with any body + DcimDeviceRedundancyGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsBulkPartialUpdateResponse, error) + + DcimDeviceRedundancyGroupsBulkPartialUpdateWithResponse(ctx context.Context, body DcimDeviceRedundancyGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsBulkPartialUpdateResponse, error) + + // DcimDeviceRedundancyGroupsCreate request with any body + DcimDeviceRedundancyGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsCreateResponse, error) + + DcimDeviceRedundancyGroupsCreateWithResponse(ctx context.Context, body DcimDeviceRedundancyGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsCreateResponse, error) + + // DcimDeviceRedundancyGroupsBulkUpdate request with any body + DcimDeviceRedundancyGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsBulkUpdateResponse, error) + + DcimDeviceRedundancyGroupsBulkUpdateWithResponse(ctx context.Context, body DcimDeviceRedundancyGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsBulkUpdateResponse, error) + + // DcimDeviceRedundancyGroupsDestroy request + DcimDeviceRedundancyGroupsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsDestroyResponse, error) + + // DcimDeviceRedundancyGroupsRetrieve request + DcimDeviceRedundancyGroupsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsRetrieveResponse, error) + + // DcimDeviceRedundancyGroupsPartialUpdate request with any body + DcimDeviceRedundancyGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsPartialUpdateResponse, error) + + DcimDeviceRedundancyGroupsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceRedundancyGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsPartialUpdateResponse, error) + + // DcimDeviceRedundancyGroupsUpdate request with any body + DcimDeviceRedundancyGroupsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsUpdateResponse, error) + + DcimDeviceRedundancyGroupsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceRedundancyGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsUpdateResponse, error) + + // DcimDeviceRedundancyGroupsNotesList request + DcimDeviceRedundancyGroupsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimDeviceRedundancyGroupsNotesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsNotesListResponse, error) + + // DcimDeviceRedundancyGroupsNotesCreate request with any body + DcimDeviceRedundancyGroupsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsNotesCreateResponse, error) + + DcimDeviceRedundancyGroupsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceRedundancyGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsNotesCreateResponse, error) + + // DcimDeviceRolesBulkDestroy request with any body + DcimDeviceRolesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRolesBulkDestroyResponse, error) + + DcimDeviceRolesBulkDestroyWithResponse(ctx context.Context, body DcimDeviceRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRolesBulkDestroyResponse, error) // DcimDeviceRolesList request DcimDeviceRolesListWithResponse(ctx context.Context, params *DcimDeviceRolesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceRolesListResponse, error) @@ -152907,8 +238027,18 @@ type ClientWithResponsesInterface interface { DcimDeviceRolesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRolesUpdateResponse, error) - // DcimDeviceTypesBulkDestroy request - DcimDeviceTypesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimDeviceTypesBulkDestroyResponse, error) + // DcimDeviceRolesNotesList request + DcimDeviceRolesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimDeviceRolesNotesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceRolesNotesListResponse, error) + + // DcimDeviceRolesNotesCreate request with any body + DcimDeviceRolesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRolesNotesCreateResponse, error) + + DcimDeviceRolesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceRolesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRolesNotesCreateResponse, error) + + // DcimDeviceTypesBulkDestroy request with any body + DcimDeviceTypesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceTypesBulkDestroyResponse, error) + + DcimDeviceTypesBulkDestroyWithResponse(ctx context.Context, body DcimDeviceTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceTypesBulkDestroyResponse, error) // DcimDeviceTypesList request DcimDeviceTypesListWithResponse(ctx context.Context, params *DcimDeviceTypesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceTypesListResponse, error) @@ -152944,8 +238074,18 @@ type ClientWithResponsesInterface interface { DcimDeviceTypesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceTypesUpdateResponse, error) - // DcimDevicesBulkDestroy request - DcimDevicesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimDevicesBulkDestroyResponse, error) + // DcimDeviceTypesNotesList request + DcimDeviceTypesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimDeviceTypesNotesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceTypesNotesListResponse, error) + + // DcimDeviceTypesNotesCreate request with any body + DcimDeviceTypesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceTypesNotesCreateResponse, error) + + DcimDeviceTypesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceTypesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceTypesNotesCreateResponse, error) + + // DcimDevicesBulkDestroy request with any body + DcimDevicesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDevicesBulkDestroyResponse, error) + + DcimDevicesBulkDestroyWithResponse(ctx context.Context, body DcimDevicesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDevicesBulkDestroyResponse, error) // DcimDevicesList request DcimDevicesListWithResponse(ctx context.Context, params *DcimDevicesListParams, reqEditors ...RequestEditorFn) (*DcimDevicesListResponse, error) @@ -152984,8 +238124,18 @@ type ClientWithResponsesInterface interface { // DcimDevicesNapalmRetrieve request DcimDevicesNapalmRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimDevicesNapalmRetrieveParams, reqEditors ...RequestEditorFn) (*DcimDevicesNapalmRetrieveResponse, error) - // DcimFrontPortTemplatesBulkDestroy request - DcimFrontPortTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesBulkDestroyResponse, error) + // DcimDevicesNotesList request + DcimDevicesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimDevicesNotesListParams, reqEditors ...RequestEditorFn) (*DcimDevicesNotesListResponse, error) + + // DcimDevicesNotesCreate request with any body + DcimDevicesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDevicesNotesCreateResponse, error) + + DcimDevicesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDevicesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDevicesNotesCreateResponse, error) + + // DcimFrontPortTemplatesBulkDestroy request with any body + DcimFrontPortTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesBulkDestroyResponse, error) + + DcimFrontPortTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimFrontPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesBulkDestroyResponse, error) // DcimFrontPortTemplatesList request DcimFrontPortTemplatesListWithResponse(ctx context.Context, params *DcimFrontPortTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesListResponse, error) @@ -153021,8 +238171,18 @@ type ClientWithResponsesInterface interface { DcimFrontPortTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimFrontPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesUpdateResponse, error) - // DcimFrontPortsBulkDestroy request - DcimFrontPortsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimFrontPortsBulkDestroyResponse, error) + // DcimFrontPortTemplatesNotesList request + DcimFrontPortTemplatesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimFrontPortTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesNotesListResponse, error) + + // DcimFrontPortTemplatesNotesCreate request with any body + DcimFrontPortTemplatesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesNotesCreateResponse, error) + + DcimFrontPortTemplatesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimFrontPortTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesNotesCreateResponse, error) + + // DcimFrontPortsBulkDestroy request with any body + DcimFrontPortsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortsBulkDestroyResponse, error) + + DcimFrontPortsBulkDestroyWithResponse(ctx context.Context, body DcimFrontPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortsBulkDestroyResponse, error) // DcimFrontPortsList request DcimFrontPortsListWithResponse(ctx context.Context, params *DcimFrontPortsListParams, reqEditors ...RequestEditorFn) (*DcimFrontPortsListResponse, error) @@ -153058,14 +238218,24 @@ type ClientWithResponsesInterface interface { DcimFrontPortsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimFrontPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortsUpdateResponse, error) + // DcimFrontPortsNotesList request + DcimFrontPortsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimFrontPortsNotesListParams, reqEditors ...RequestEditorFn) (*DcimFrontPortsNotesListResponse, error) + + // DcimFrontPortsNotesCreate request with any body + DcimFrontPortsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortsNotesCreateResponse, error) + + DcimFrontPortsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimFrontPortsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortsNotesCreateResponse, error) + // DcimFrontPortsPathsRetrieve request DcimFrontPortsPathsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimFrontPortsPathsRetrieveResponse, error) // DcimInterfaceConnectionsList request DcimInterfaceConnectionsListWithResponse(ctx context.Context, params *DcimInterfaceConnectionsListParams, reqEditors ...RequestEditorFn) (*DcimInterfaceConnectionsListResponse, error) - // DcimInterfaceTemplatesBulkDestroy request - DcimInterfaceTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesBulkDestroyResponse, error) + // DcimInterfaceTemplatesBulkDestroy request with any body + DcimInterfaceTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesBulkDestroyResponse, error) + + DcimInterfaceTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimInterfaceTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesBulkDestroyResponse, error) // DcimInterfaceTemplatesList request DcimInterfaceTemplatesListWithResponse(ctx context.Context, params *DcimInterfaceTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesListResponse, error) @@ -153101,8 +238271,18 @@ type ClientWithResponsesInterface interface { DcimInterfaceTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimInterfaceTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesUpdateResponse, error) - // DcimInterfacesBulkDestroy request - DcimInterfacesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimInterfacesBulkDestroyResponse, error) + // DcimInterfaceTemplatesNotesList request + DcimInterfaceTemplatesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimInterfaceTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesNotesListResponse, error) + + // DcimInterfaceTemplatesNotesCreate request with any body + DcimInterfaceTemplatesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesNotesCreateResponse, error) + + DcimInterfaceTemplatesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimInterfaceTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesNotesCreateResponse, error) + + // DcimInterfacesBulkDestroy request with any body + DcimInterfacesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfacesBulkDestroyResponse, error) + + DcimInterfacesBulkDestroyWithResponse(ctx context.Context, body DcimInterfacesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfacesBulkDestroyResponse, error) // DcimInterfacesList request DcimInterfacesListWithResponse(ctx context.Context, params *DcimInterfacesListParams, reqEditors ...RequestEditorFn) (*DcimInterfacesListResponse, error) @@ -153138,11 +238318,21 @@ type ClientWithResponsesInterface interface { DcimInterfacesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimInterfacesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfacesUpdateResponse, error) + // DcimInterfacesNotesList request + DcimInterfacesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimInterfacesNotesListParams, reqEditors ...RequestEditorFn) (*DcimInterfacesNotesListResponse, error) + + // DcimInterfacesNotesCreate request with any body + DcimInterfacesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfacesNotesCreateResponse, error) + + DcimInterfacesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimInterfacesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfacesNotesCreateResponse, error) + // DcimInterfacesTraceRetrieve request DcimInterfacesTraceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimInterfacesTraceRetrieveResponse, error) - // DcimInventoryItemsBulkDestroy request - DcimInventoryItemsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimInventoryItemsBulkDestroyResponse, error) + // DcimInventoryItemsBulkDestroy request with any body + DcimInventoryItemsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemsBulkDestroyResponse, error) + + DcimInventoryItemsBulkDestroyWithResponse(ctx context.Context, body DcimInventoryItemsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemsBulkDestroyResponse, error) // DcimInventoryItemsList request DcimInventoryItemsListWithResponse(ctx context.Context, params *DcimInventoryItemsListParams, reqEditors ...RequestEditorFn) (*DcimInventoryItemsListResponse, error) @@ -153178,8 +238368,112 @@ type ClientWithResponsesInterface interface { DcimInventoryItemsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimInventoryItemsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemsUpdateResponse, error) - // DcimManufacturersBulkDestroy request - DcimManufacturersBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimManufacturersBulkDestroyResponse, error) + // DcimInventoryItemsNotesList request + DcimInventoryItemsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimInventoryItemsNotesListParams, reqEditors ...RequestEditorFn) (*DcimInventoryItemsNotesListResponse, error) + + // DcimInventoryItemsNotesCreate request with any body + DcimInventoryItemsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemsNotesCreateResponse, error) + + DcimInventoryItemsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimInventoryItemsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemsNotesCreateResponse, error) + + // DcimLocationTypesBulkDestroy request with any body + DcimLocationTypesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationTypesBulkDestroyResponse, error) + + DcimLocationTypesBulkDestroyWithResponse(ctx context.Context, body DcimLocationTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationTypesBulkDestroyResponse, error) + + // DcimLocationTypesList request + DcimLocationTypesListWithResponse(ctx context.Context, params *DcimLocationTypesListParams, reqEditors ...RequestEditorFn) (*DcimLocationTypesListResponse, error) + + // DcimLocationTypesBulkPartialUpdate request with any body + DcimLocationTypesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationTypesBulkPartialUpdateResponse, error) + + DcimLocationTypesBulkPartialUpdateWithResponse(ctx context.Context, body DcimLocationTypesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationTypesBulkPartialUpdateResponse, error) + + // DcimLocationTypesCreate request with any body + DcimLocationTypesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationTypesCreateResponse, error) + + DcimLocationTypesCreateWithResponse(ctx context.Context, body DcimLocationTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationTypesCreateResponse, error) + + // DcimLocationTypesBulkUpdate request with any body + DcimLocationTypesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationTypesBulkUpdateResponse, error) + + DcimLocationTypesBulkUpdateWithResponse(ctx context.Context, body DcimLocationTypesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationTypesBulkUpdateResponse, error) + + // DcimLocationTypesDestroy request + DcimLocationTypesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimLocationTypesDestroyResponse, error) + + // DcimLocationTypesRetrieve request + DcimLocationTypesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimLocationTypesRetrieveResponse, error) + + // DcimLocationTypesPartialUpdate request with any body + DcimLocationTypesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationTypesPartialUpdateResponse, error) + + DcimLocationTypesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimLocationTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationTypesPartialUpdateResponse, error) + + // DcimLocationTypesUpdate request with any body + DcimLocationTypesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationTypesUpdateResponse, error) + + DcimLocationTypesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimLocationTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationTypesUpdateResponse, error) + + // DcimLocationTypesNotesList request + DcimLocationTypesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimLocationTypesNotesListParams, reqEditors ...RequestEditorFn) (*DcimLocationTypesNotesListResponse, error) + + // DcimLocationTypesNotesCreate request with any body + DcimLocationTypesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationTypesNotesCreateResponse, error) + + DcimLocationTypesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimLocationTypesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationTypesNotesCreateResponse, error) + + // DcimLocationsBulkDestroy request with any body + DcimLocationsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsBulkDestroyResponse, error) + + DcimLocationsBulkDestroyWithResponse(ctx context.Context, body DcimLocationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsBulkDestroyResponse, error) + + // DcimLocationsList request + DcimLocationsListWithResponse(ctx context.Context, params *DcimLocationsListParams, reqEditors ...RequestEditorFn) (*DcimLocationsListResponse, error) + + // DcimLocationsBulkPartialUpdate request with any body + DcimLocationsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsBulkPartialUpdateResponse, error) + + DcimLocationsBulkPartialUpdateWithResponse(ctx context.Context, body DcimLocationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsBulkPartialUpdateResponse, error) + + // DcimLocationsCreate request with any body + DcimLocationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsCreateResponse, error) + + DcimLocationsCreateWithResponse(ctx context.Context, body DcimLocationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsCreateResponse, error) + + // DcimLocationsBulkUpdate request with any body + DcimLocationsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsBulkUpdateResponse, error) + + DcimLocationsBulkUpdateWithResponse(ctx context.Context, body DcimLocationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsBulkUpdateResponse, error) + + // DcimLocationsDestroy request + DcimLocationsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimLocationsDestroyResponse, error) + + // DcimLocationsRetrieve request + DcimLocationsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimLocationsRetrieveResponse, error) + + // DcimLocationsPartialUpdate request with any body + DcimLocationsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsPartialUpdateResponse, error) + + DcimLocationsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimLocationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsPartialUpdateResponse, error) + + // DcimLocationsUpdate request with any body + DcimLocationsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsUpdateResponse, error) + + DcimLocationsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimLocationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsUpdateResponse, error) + + // DcimLocationsNotesList request + DcimLocationsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimLocationsNotesListParams, reqEditors ...RequestEditorFn) (*DcimLocationsNotesListResponse, error) + + // DcimLocationsNotesCreate request with any body + DcimLocationsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsNotesCreateResponse, error) + + DcimLocationsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimLocationsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsNotesCreateResponse, error) + + // DcimManufacturersBulkDestroy request with any body + DcimManufacturersBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimManufacturersBulkDestroyResponse, error) + + DcimManufacturersBulkDestroyWithResponse(ctx context.Context, body DcimManufacturersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimManufacturersBulkDestroyResponse, error) // DcimManufacturersList request DcimManufacturersListWithResponse(ctx context.Context, params *DcimManufacturersListParams, reqEditors ...RequestEditorFn) (*DcimManufacturersListResponse, error) @@ -153215,8 +238509,18 @@ type ClientWithResponsesInterface interface { DcimManufacturersUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimManufacturersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimManufacturersUpdateResponse, error) - // DcimPlatformsBulkDestroy request - DcimPlatformsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPlatformsBulkDestroyResponse, error) + // DcimManufacturersNotesList request + DcimManufacturersNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimManufacturersNotesListParams, reqEditors ...RequestEditorFn) (*DcimManufacturersNotesListResponse, error) + + // DcimManufacturersNotesCreate request with any body + DcimManufacturersNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimManufacturersNotesCreateResponse, error) + + DcimManufacturersNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimManufacturersNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimManufacturersNotesCreateResponse, error) + + // DcimPlatformsBulkDestroy request with any body + DcimPlatformsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPlatformsBulkDestroyResponse, error) + + DcimPlatformsBulkDestroyWithResponse(ctx context.Context, body DcimPlatformsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPlatformsBulkDestroyResponse, error) // DcimPlatformsList request DcimPlatformsListWithResponse(ctx context.Context, params *DcimPlatformsListParams, reqEditors ...RequestEditorFn) (*DcimPlatformsListResponse, error) @@ -153252,11 +238556,21 @@ type ClientWithResponsesInterface interface { DcimPlatformsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPlatformsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPlatformsUpdateResponse, error) + // DcimPlatformsNotesList request + DcimPlatformsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimPlatformsNotesListParams, reqEditors ...RequestEditorFn) (*DcimPlatformsNotesListResponse, error) + + // DcimPlatformsNotesCreate request with any body + DcimPlatformsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPlatformsNotesCreateResponse, error) + + DcimPlatformsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPlatformsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPlatformsNotesCreateResponse, error) + // DcimPowerConnectionsList request DcimPowerConnectionsListWithResponse(ctx context.Context, params *DcimPowerConnectionsListParams, reqEditors ...RequestEditorFn) (*DcimPowerConnectionsListResponse, error) - // DcimPowerFeedsBulkDestroy request - DcimPowerFeedsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerFeedsBulkDestroyResponse, error) + // DcimPowerFeedsBulkDestroy request with any body + DcimPowerFeedsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerFeedsBulkDestroyResponse, error) + + DcimPowerFeedsBulkDestroyWithResponse(ctx context.Context, body DcimPowerFeedsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerFeedsBulkDestroyResponse, error) // DcimPowerFeedsList request DcimPowerFeedsListWithResponse(ctx context.Context, params *DcimPowerFeedsListParams, reqEditors ...RequestEditorFn) (*DcimPowerFeedsListResponse, error) @@ -153292,11 +238606,21 @@ type ClientWithResponsesInterface interface { DcimPowerFeedsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerFeedsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerFeedsUpdateResponse, error) + // DcimPowerFeedsNotesList request + DcimPowerFeedsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimPowerFeedsNotesListParams, reqEditors ...RequestEditorFn) (*DcimPowerFeedsNotesListResponse, error) + + // DcimPowerFeedsNotesCreate request with any body + DcimPowerFeedsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerFeedsNotesCreateResponse, error) + + DcimPowerFeedsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerFeedsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerFeedsNotesCreateResponse, error) + // DcimPowerFeedsTraceRetrieve request DcimPowerFeedsTraceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerFeedsTraceRetrieveResponse, error) - // DcimPowerOutletTemplatesBulkDestroy request - DcimPowerOutletTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesBulkDestroyResponse, error) + // DcimPowerOutletTemplatesBulkDestroy request with any body + DcimPowerOutletTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesBulkDestroyResponse, error) + + DcimPowerOutletTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimPowerOutletTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesBulkDestroyResponse, error) // DcimPowerOutletTemplatesList request DcimPowerOutletTemplatesListWithResponse(ctx context.Context, params *DcimPowerOutletTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesListResponse, error) @@ -153332,8 +238656,18 @@ type ClientWithResponsesInterface interface { DcimPowerOutletTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesUpdateResponse, error) - // DcimPowerOutletsBulkDestroy request - DcimPowerOutletsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerOutletsBulkDestroyResponse, error) + // DcimPowerOutletTemplatesNotesList request + DcimPowerOutletTemplatesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimPowerOutletTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesNotesListResponse, error) + + // DcimPowerOutletTemplatesNotesCreate request with any body + DcimPowerOutletTemplatesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesNotesCreateResponse, error) + + DcimPowerOutletTemplatesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesNotesCreateResponse, error) + + // DcimPowerOutletsBulkDestroy request with any body + DcimPowerOutletsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletsBulkDestroyResponse, error) + + DcimPowerOutletsBulkDestroyWithResponse(ctx context.Context, body DcimPowerOutletsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletsBulkDestroyResponse, error) // DcimPowerOutletsList request DcimPowerOutletsListWithResponse(ctx context.Context, params *DcimPowerOutletsListParams, reqEditors ...RequestEditorFn) (*DcimPowerOutletsListResponse, error) @@ -153369,11 +238703,21 @@ type ClientWithResponsesInterface interface { DcimPowerOutletsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletsUpdateResponse, error) + // DcimPowerOutletsNotesList request + DcimPowerOutletsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimPowerOutletsNotesListParams, reqEditors ...RequestEditorFn) (*DcimPowerOutletsNotesListResponse, error) + + // DcimPowerOutletsNotesCreate request with any body + DcimPowerOutletsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletsNotesCreateResponse, error) + + DcimPowerOutletsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletsNotesCreateResponse, error) + // DcimPowerOutletsTraceRetrieve request DcimPowerOutletsTraceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerOutletsTraceRetrieveResponse, error) - // DcimPowerPanelsBulkDestroy request - DcimPowerPanelsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerPanelsBulkDestroyResponse, error) + // DcimPowerPanelsBulkDestroy request with any body + DcimPowerPanelsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPanelsBulkDestroyResponse, error) + + DcimPowerPanelsBulkDestroyWithResponse(ctx context.Context, body DcimPowerPanelsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPanelsBulkDestroyResponse, error) // DcimPowerPanelsList request DcimPowerPanelsListWithResponse(ctx context.Context, params *DcimPowerPanelsListParams, reqEditors ...RequestEditorFn) (*DcimPowerPanelsListResponse, error) @@ -153409,8 +238753,18 @@ type ClientWithResponsesInterface interface { DcimPowerPanelsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerPanelsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPanelsUpdateResponse, error) - // DcimPowerPortTemplatesBulkDestroy request - DcimPowerPortTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesBulkDestroyResponse, error) + // DcimPowerPanelsNotesList request + DcimPowerPanelsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimPowerPanelsNotesListParams, reqEditors ...RequestEditorFn) (*DcimPowerPanelsNotesListResponse, error) + + // DcimPowerPanelsNotesCreate request with any body + DcimPowerPanelsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPanelsNotesCreateResponse, error) + + DcimPowerPanelsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerPanelsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPanelsNotesCreateResponse, error) + + // DcimPowerPortTemplatesBulkDestroy request with any body + DcimPowerPortTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesBulkDestroyResponse, error) + + DcimPowerPortTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimPowerPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesBulkDestroyResponse, error) // DcimPowerPortTemplatesList request DcimPowerPortTemplatesListWithResponse(ctx context.Context, params *DcimPowerPortTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesListResponse, error) @@ -153446,8 +238800,18 @@ type ClientWithResponsesInterface interface { DcimPowerPortTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesUpdateResponse, error) - // DcimPowerPortsBulkDestroy request - DcimPowerPortsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerPortsBulkDestroyResponse, error) + // DcimPowerPortTemplatesNotesList request + DcimPowerPortTemplatesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimPowerPortTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesNotesListResponse, error) + + // DcimPowerPortTemplatesNotesCreate request with any body + DcimPowerPortTemplatesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesNotesCreateResponse, error) + + DcimPowerPortTemplatesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerPortTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesNotesCreateResponse, error) + + // DcimPowerPortsBulkDestroy request with any body + DcimPowerPortsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortsBulkDestroyResponse, error) + + DcimPowerPortsBulkDestroyWithResponse(ctx context.Context, body DcimPowerPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortsBulkDestroyResponse, error) // DcimPowerPortsList request DcimPowerPortsListWithResponse(ctx context.Context, params *DcimPowerPortsListParams, reqEditors ...RequestEditorFn) (*DcimPowerPortsListResponse, error) @@ -153483,11 +238847,21 @@ type ClientWithResponsesInterface interface { DcimPowerPortsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortsUpdateResponse, error) + // DcimPowerPortsNotesList request + DcimPowerPortsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimPowerPortsNotesListParams, reqEditors ...RequestEditorFn) (*DcimPowerPortsNotesListResponse, error) + + // DcimPowerPortsNotesCreate request with any body + DcimPowerPortsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortsNotesCreateResponse, error) + + DcimPowerPortsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerPortsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortsNotesCreateResponse, error) + // DcimPowerPortsTraceRetrieve request DcimPowerPortsTraceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerPortsTraceRetrieveResponse, error) - // DcimRackGroupsBulkDestroy request - DcimRackGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRackGroupsBulkDestroyResponse, error) + // DcimRackGroupsBulkDestroy request with any body + DcimRackGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackGroupsBulkDestroyResponse, error) + + DcimRackGroupsBulkDestroyWithResponse(ctx context.Context, body DcimRackGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackGroupsBulkDestroyResponse, error) // DcimRackGroupsList request DcimRackGroupsListWithResponse(ctx context.Context, params *DcimRackGroupsListParams, reqEditors ...RequestEditorFn) (*DcimRackGroupsListResponse, error) @@ -153523,8 +238897,18 @@ type ClientWithResponsesInterface interface { DcimRackGroupsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRackGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackGroupsUpdateResponse, error) - // DcimRackReservationsBulkDestroy request - DcimRackReservationsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRackReservationsBulkDestroyResponse, error) + // DcimRackGroupsNotesList request + DcimRackGroupsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimRackGroupsNotesListParams, reqEditors ...RequestEditorFn) (*DcimRackGroupsNotesListResponse, error) + + // DcimRackGroupsNotesCreate request with any body + DcimRackGroupsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackGroupsNotesCreateResponse, error) + + DcimRackGroupsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRackGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackGroupsNotesCreateResponse, error) + + // DcimRackReservationsBulkDestroy request with any body + DcimRackReservationsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackReservationsBulkDestroyResponse, error) + + DcimRackReservationsBulkDestroyWithResponse(ctx context.Context, body DcimRackReservationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackReservationsBulkDestroyResponse, error) // DcimRackReservationsList request DcimRackReservationsListWithResponse(ctx context.Context, params *DcimRackReservationsListParams, reqEditors ...RequestEditorFn) (*DcimRackReservationsListResponse, error) @@ -153560,8 +238944,18 @@ type ClientWithResponsesInterface interface { DcimRackReservationsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRackReservationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackReservationsUpdateResponse, error) - // DcimRackRolesBulkDestroy request - DcimRackRolesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRackRolesBulkDestroyResponse, error) + // DcimRackReservationsNotesList request + DcimRackReservationsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimRackReservationsNotesListParams, reqEditors ...RequestEditorFn) (*DcimRackReservationsNotesListResponse, error) + + // DcimRackReservationsNotesCreate request with any body + DcimRackReservationsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackReservationsNotesCreateResponse, error) + + DcimRackReservationsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRackReservationsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackReservationsNotesCreateResponse, error) + + // DcimRackRolesBulkDestroy request with any body + DcimRackRolesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackRolesBulkDestroyResponse, error) + + DcimRackRolesBulkDestroyWithResponse(ctx context.Context, body DcimRackRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackRolesBulkDestroyResponse, error) // DcimRackRolesList request DcimRackRolesListWithResponse(ctx context.Context, params *DcimRackRolesListParams, reqEditors ...RequestEditorFn) (*DcimRackRolesListResponse, error) @@ -153597,8 +238991,18 @@ type ClientWithResponsesInterface interface { DcimRackRolesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRackRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackRolesUpdateResponse, error) - // DcimRacksBulkDestroy request - DcimRacksBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRacksBulkDestroyResponse, error) + // DcimRackRolesNotesList request + DcimRackRolesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimRackRolesNotesListParams, reqEditors ...RequestEditorFn) (*DcimRackRolesNotesListResponse, error) + + // DcimRackRolesNotesCreate request with any body + DcimRackRolesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackRolesNotesCreateResponse, error) + + DcimRackRolesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRackRolesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackRolesNotesCreateResponse, error) + + // DcimRacksBulkDestroy request with any body + DcimRacksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRacksBulkDestroyResponse, error) + + DcimRacksBulkDestroyWithResponse(ctx context.Context, body DcimRacksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRacksBulkDestroyResponse, error) // DcimRacksList request DcimRacksListWithResponse(ctx context.Context, params *DcimRacksListParams, reqEditors ...RequestEditorFn) (*DcimRacksListResponse, error) @@ -153637,8 +239041,18 @@ type ClientWithResponsesInterface interface { // DcimRacksElevationList request DcimRacksElevationListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimRacksElevationListParams, reqEditors ...RequestEditorFn) (*DcimRacksElevationListResponse, error) - // DcimRearPortTemplatesBulkDestroy request - DcimRearPortTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesBulkDestroyResponse, error) + // DcimRacksNotesList request + DcimRacksNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimRacksNotesListParams, reqEditors ...RequestEditorFn) (*DcimRacksNotesListResponse, error) + + // DcimRacksNotesCreate request with any body + DcimRacksNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRacksNotesCreateResponse, error) + + DcimRacksNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRacksNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRacksNotesCreateResponse, error) + + // DcimRearPortTemplatesBulkDestroy request with any body + DcimRearPortTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesBulkDestroyResponse, error) + + DcimRearPortTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimRearPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesBulkDestroyResponse, error) // DcimRearPortTemplatesList request DcimRearPortTemplatesListWithResponse(ctx context.Context, params *DcimRearPortTemplatesListParams, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesListResponse, error) @@ -153674,8 +239088,18 @@ type ClientWithResponsesInterface interface { DcimRearPortTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRearPortTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesUpdateResponse, error) - // DcimRearPortsBulkDestroy request - DcimRearPortsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRearPortsBulkDestroyResponse, error) + // DcimRearPortTemplatesNotesList request + DcimRearPortTemplatesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimRearPortTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesNotesListResponse, error) + + // DcimRearPortTemplatesNotesCreate request with any body + DcimRearPortTemplatesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesNotesCreateResponse, error) + + DcimRearPortTemplatesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRearPortTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesNotesCreateResponse, error) + + // DcimRearPortsBulkDestroy request with any body + DcimRearPortsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortsBulkDestroyResponse, error) + + DcimRearPortsBulkDestroyWithResponse(ctx context.Context, body DcimRearPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortsBulkDestroyResponse, error) // DcimRearPortsList request DcimRearPortsListWithResponse(ctx context.Context, params *DcimRearPortsListParams, reqEditors ...RequestEditorFn) (*DcimRearPortsListResponse, error) @@ -153711,11 +239135,21 @@ type ClientWithResponsesInterface interface { DcimRearPortsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRearPortsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortsUpdateResponse, error) + // DcimRearPortsNotesList request + DcimRearPortsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimRearPortsNotesListParams, reqEditors ...RequestEditorFn) (*DcimRearPortsNotesListResponse, error) + + // DcimRearPortsNotesCreate request with any body + DcimRearPortsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortsNotesCreateResponse, error) + + DcimRearPortsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRearPortsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortsNotesCreateResponse, error) + // DcimRearPortsPathsRetrieve request DcimRearPortsPathsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRearPortsPathsRetrieveResponse, error) - // DcimRegionsBulkDestroy request - DcimRegionsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRegionsBulkDestroyResponse, error) + // DcimRegionsBulkDestroy request with any body + DcimRegionsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRegionsBulkDestroyResponse, error) + + DcimRegionsBulkDestroyWithResponse(ctx context.Context, body DcimRegionsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRegionsBulkDestroyResponse, error) // DcimRegionsList request DcimRegionsListWithResponse(ctx context.Context, params *DcimRegionsListParams, reqEditors ...RequestEditorFn) (*DcimRegionsListResponse, error) @@ -153751,8 +239185,18 @@ type ClientWithResponsesInterface interface { DcimRegionsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRegionsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRegionsUpdateResponse, error) - // DcimSitesBulkDestroy request - DcimSitesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimSitesBulkDestroyResponse, error) + // DcimRegionsNotesList request + DcimRegionsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimRegionsNotesListParams, reqEditors ...RequestEditorFn) (*DcimRegionsNotesListResponse, error) + + // DcimRegionsNotesCreate request with any body + DcimRegionsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRegionsNotesCreateResponse, error) + + DcimRegionsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRegionsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRegionsNotesCreateResponse, error) + + // DcimSitesBulkDestroy request with any body + DcimSitesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSitesBulkDestroyResponse, error) + + DcimSitesBulkDestroyWithResponse(ctx context.Context, body DcimSitesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSitesBulkDestroyResponse, error) // DcimSitesList request DcimSitesListWithResponse(ctx context.Context, params *DcimSitesListParams, reqEditors ...RequestEditorFn) (*DcimSitesListResponse, error) @@ -153788,8 +239232,18 @@ type ClientWithResponsesInterface interface { DcimSitesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimSitesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSitesUpdateResponse, error) - // DcimVirtualChassisBulkDestroy request - DcimVirtualChassisBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimVirtualChassisBulkDestroyResponse, error) + // DcimSitesNotesList request + DcimSitesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimSitesNotesListParams, reqEditors ...RequestEditorFn) (*DcimSitesNotesListResponse, error) + + // DcimSitesNotesCreate request with any body + DcimSitesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSitesNotesCreateResponse, error) + + DcimSitesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimSitesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSitesNotesCreateResponse, error) + + // DcimVirtualChassisBulkDestroy request with any body + DcimVirtualChassisBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualChassisBulkDestroyResponse, error) + + DcimVirtualChassisBulkDestroyWithResponse(ctx context.Context, body DcimVirtualChassisBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualChassisBulkDestroyResponse, error) // DcimVirtualChassisList request DcimVirtualChassisListWithResponse(ctx context.Context, params *DcimVirtualChassisListParams, reqEditors ...RequestEditorFn) (*DcimVirtualChassisListResponse, error) @@ -153825,8 +239279,18 @@ type ClientWithResponsesInterface interface { DcimVirtualChassisUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimVirtualChassisUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualChassisUpdateResponse, error) - // ExtrasComputedFieldsBulkDestroy request - ExtrasComputedFieldsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsBulkDestroyResponse, error) + // DcimVirtualChassisNotesList request + DcimVirtualChassisNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimVirtualChassisNotesListParams, reqEditors ...RequestEditorFn) (*DcimVirtualChassisNotesListResponse, error) + + // DcimVirtualChassisNotesCreate request with any body + DcimVirtualChassisNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualChassisNotesCreateResponse, error) + + DcimVirtualChassisNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimVirtualChassisNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualChassisNotesCreateResponse, error) + + // ExtrasComputedFieldsBulkDestroy request with any body + ExtrasComputedFieldsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsBulkDestroyResponse, error) + + ExtrasComputedFieldsBulkDestroyWithResponse(ctx context.Context, body ExtrasComputedFieldsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsBulkDestroyResponse, error) // ExtrasComputedFieldsList request ExtrasComputedFieldsListWithResponse(ctx context.Context, params *ExtrasComputedFieldsListParams, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsListResponse, error) @@ -153862,8 +239326,18 @@ type ClientWithResponsesInterface interface { ExtrasComputedFieldsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasComputedFieldsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsUpdateResponse, error) - // ExtrasConfigContextSchemasBulkDestroy request - ExtrasConfigContextSchemasBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasBulkDestroyResponse, error) + // ExtrasComputedFieldsNotesList request + ExtrasComputedFieldsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasComputedFieldsNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsNotesListResponse, error) + + // ExtrasComputedFieldsNotesCreate request with any body + ExtrasComputedFieldsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsNotesCreateResponse, error) + + ExtrasComputedFieldsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasComputedFieldsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsNotesCreateResponse, error) + + // ExtrasConfigContextSchemasBulkDestroy request with any body + ExtrasConfigContextSchemasBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasBulkDestroyResponse, error) + + ExtrasConfigContextSchemasBulkDestroyWithResponse(ctx context.Context, body ExtrasConfigContextSchemasBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasBulkDestroyResponse, error) // ExtrasConfigContextSchemasList request ExtrasConfigContextSchemasListWithResponse(ctx context.Context, params *ExtrasConfigContextSchemasListParams, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasListResponse, error) @@ -153899,8 +239373,18 @@ type ClientWithResponsesInterface interface { ExtrasConfigContextSchemasUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextSchemasUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasUpdateResponse, error) - // ExtrasConfigContextsBulkDestroy request - ExtrasConfigContextsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsBulkDestroyResponse, error) + // ExtrasConfigContextSchemasNotesList request + ExtrasConfigContextSchemasNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasConfigContextSchemasNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasNotesListResponse, error) + + // ExtrasConfigContextSchemasNotesCreate request with any body + ExtrasConfigContextSchemasNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasNotesCreateResponse, error) + + ExtrasConfigContextSchemasNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextSchemasNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasNotesCreateResponse, error) + + // ExtrasConfigContextsBulkDestroy request with any body + ExtrasConfigContextsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsBulkDestroyResponse, error) + + ExtrasConfigContextsBulkDestroyWithResponse(ctx context.Context, body ExtrasConfigContextsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsBulkDestroyResponse, error) // ExtrasConfigContextsList request ExtrasConfigContextsListWithResponse(ctx context.Context, params *ExtrasConfigContextsListParams, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsListResponse, error) @@ -153936,14 +239420,24 @@ type ClientWithResponsesInterface interface { ExtrasConfigContextsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsUpdateResponse, error) + // ExtrasConfigContextsNotesList request + ExtrasConfigContextsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasConfigContextsNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsNotesListResponse, error) + + // ExtrasConfigContextsNotesCreate request with any body + ExtrasConfigContextsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsNotesCreateResponse, error) + + ExtrasConfigContextsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsNotesCreateResponse, error) + // ExtrasContentTypesList request ExtrasContentTypesListWithResponse(ctx context.Context, params *ExtrasContentTypesListParams, reqEditors ...RequestEditorFn) (*ExtrasContentTypesListResponse, error) // ExtrasContentTypesRetrieve request ExtrasContentTypesRetrieveWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*ExtrasContentTypesRetrieveResponse, error) - // ExtrasCustomFieldChoicesBulkDestroy request - ExtrasCustomFieldChoicesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesBulkDestroyResponse, error) + // ExtrasCustomFieldChoicesBulkDestroy request with any body + ExtrasCustomFieldChoicesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesBulkDestroyResponse, error) + + ExtrasCustomFieldChoicesBulkDestroyWithResponse(ctx context.Context, body ExtrasCustomFieldChoicesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesBulkDestroyResponse, error) // ExtrasCustomFieldChoicesList request ExtrasCustomFieldChoicesListWithResponse(ctx context.Context, params *ExtrasCustomFieldChoicesListParams, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesListResponse, error) @@ -153979,8 +239473,10 @@ type ClientWithResponsesInterface interface { ExtrasCustomFieldChoicesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldChoicesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesUpdateResponse, error) - // ExtrasCustomFieldsBulkDestroy request - ExtrasCustomFieldsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsBulkDestroyResponse, error) + // ExtrasCustomFieldsBulkDestroy request with any body + ExtrasCustomFieldsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsBulkDestroyResponse, error) + + ExtrasCustomFieldsBulkDestroyWithResponse(ctx context.Context, body ExtrasCustomFieldsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsBulkDestroyResponse, error) // ExtrasCustomFieldsList request ExtrasCustomFieldsListWithResponse(ctx context.Context, params *ExtrasCustomFieldsListParams, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsListResponse, error) @@ -154016,8 +239512,18 @@ type ClientWithResponsesInterface interface { ExtrasCustomFieldsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsUpdateResponse, error) - // ExtrasCustomLinksBulkDestroy request - ExtrasCustomLinksBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksBulkDestroyResponse, error) + // ExtrasCustomFieldsNotesList request + ExtrasCustomFieldsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasCustomFieldsNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsNotesListResponse, error) + + // ExtrasCustomFieldsNotesCreate request with any body + ExtrasCustomFieldsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsNotesCreateResponse, error) + + ExtrasCustomFieldsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsNotesCreateResponse, error) + + // ExtrasCustomLinksBulkDestroy request with any body + ExtrasCustomLinksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksBulkDestroyResponse, error) + + ExtrasCustomLinksBulkDestroyWithResponse(ctx context.Context, body ExtrasCustomLinksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksBulkDestroyResponse, error) // ExtrasCustomLinksList request ExtrasCustomLinksListWithResponse(ctx context.Context, params *ExtrasCustomLinksListParams, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksListResponse, error) @@ -154053,8 +239559,57 @@ type ClientWithResponsesInterface interface { ExtrasCustomLinksUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasCustomLinksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksUpdateResponse, error) - // ExtrasDynamicGroupsBulkDestroy request - ExtrasDynamicGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsBulkDestroyResponse, error) + // ExtrasCustomLinksNotesList request + ExtrasCustomLinksNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasCustomLinksNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksNotesListResponse, error) + + // ExtrasCustomLinksNotesCreate request with any body + ExtrasCustomLinksNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksNotesCreateResponse, error) + + ExtrasCustomLinksNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasCustomLinksNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksNotesCreateResponse, error) + + // ExtrasDynamicGroupMembershipsBulkDestroy request with any body + ExtrasDynamicGroupMembershipsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsBulkDestroyResponse, error) + + ExtrasDynamicGroupMembershipsBulkDestroyWithResponse(ctx context.Context, body ExtrasDynamicGroupMembershipsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsBulkDestroyResponse, error) + + // ExtrasDynamicGroupMembershipsList request + ExtrasDynamicGroupMembershipsListWithResponse(ctx context.Context, params *ExtrasDynamicGroupMembershipsListParams, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsListResponse, error) + + // ExtrasDynamicGroupMembershipsBulkPartialUpdate request with any body + ExtrasDynamicGroupMembershipsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsBulkPartialUpdateResponse, error) + + ExtrasDynamicGroupMembershipsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasDynamicGroupMembershipsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsBulkPartialUpdateResponse, error) + + // ExtrasDynamicGroupMembershipsCreate request with any body + ExtrasDynamicGroupMembershipsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsCreateResponse, error) + + ExtrasDynamicGroupMembershipsCreateWithResponse(ctx context.Context, body ExtrasDynamicGroupMembershipsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsCreateResponse, error) + + // ExtrasDynamicGroupMembershipsBulkUpdate request with any body + ExtrasDynamicGroupMembershipsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsBulkUpdateResponse, error) + + ExtrasDynamicGroupMembershipsBulkUpdateWithResponse(ctx context.Context, body ExtrasDynamicGroupMembershipsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsBulkUpdateResponse, error) + + // ExtrasDynamicGroupMembershipsDestroy request + ExtrasDynamicGroupMembershipsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsDestroyResponse, error) + + // ExtrasDynamicGroupMembershipsRetrieve request + ExtrasDynamicGroupMembershipsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsRetrieveResponse, error) + + // ExtrasDynamicGroupMembershipsPartialUpdate request with any body + ExtrasDynamicGroupMembershipsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsPartialUpdateResponse, error) + + ExtrasDynamicGroupMembershipsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasDynamicGroupMembershipsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsPartialUpdateResponse, error) + + // ExtrasDynamicGroupMembershipsUpdate request with any body + ExtrasDynamicGroupMembershipsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsUpdateResponse, error) + + ExtrasDynamicGroupMembershipsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasDynamicGroupMembershipsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsUpdateResponse, error) + + // ExtrasDynamicGroupsBulkDestroy request with any body + ExtrasDynamicGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsBulkDestroyResponse, error) + + ExtrasDynamicGroupsBulkDestroyWithResponse(ctx context.Context, body ExtrasDynamicGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsBulkDestroyResponse, error) // ExtrasDynamicGroupsList request ExtrasDynamicGroupsListWithResponse(ctx context.Context, params *ExtrasDynamicGroupsListParams, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsListResponse, error) @@ -154093,8 +239648,18 @@ type ClientWithResponsesInterface interface { // ExtrasDynamicGroupsMembersRetrieve request ExtrasDynamicGroupsMembersRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsMembersRetrieveResponse, error) - // ExtrasExportTemplatesBulkDestroy request - ExtrasExportTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesBulkDestroyResponse, error) + // ExtrasDynamicGroupsNotesList request + ExtrasDynamicGroupsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasDynamicGroupsNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsNotesListResponse, error) + + // ExtrasDynamicGroupsNotesCreate request with any body + ExtrasDynamicGroupsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsNotesCreateResponse, error) + + ExtrasDynamicGroupsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasDynamicGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsNotesCreateResponse, error) + + // ExtrasExportTemplatesBulkDestroy request with any body + ExtrasExportTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesBulkDestroyResponse, error) + + ExtrasExportTemplatesBulkDestroyWithResponse(ctx context.Context, body ExtrasExportTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesBulkDestroyResponse, error) // ExtrasExportTemplatesList request ExtrasExportTemplatesListWithResponse(ctx context.Context, params *ExtrasExportTemplatesListParams, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesListResponse, error) @@ -154130,8 +239695,18 @@ type ClientWithResponsesInterface interface { ExtrasExportTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasExportTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesUpdateResponse, error) - // ExtrasGitRepositoriesBulkDestroy request - ExtrasGitRepositoriesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesBulkDestroyResponse, error) + // ExtrasExportTemplatesNotesList request + ExtrasExportTemplatesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasExportTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesNotesListResponse, error) + + // ExtrasExportTemplatesNotesCreate request with any body + ExtrasExportTemplatesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesNotesCreateResponse, error) + + ExtrasExportTemplatesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasExportTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesNotesCreateResponse, error) + + // ExtrasGitRepositoriesBulkDestroy request with any body + ExtrasGitRepositoriesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesBulkDestroyResponse, error) + + ExtrasGitRepositoriesBulkDestroyWithResponse(ctx context.Context, body ExtrasGitRepositoriesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesBulkDestroyResponse, error) // ExtrasGitRepositoriesList request ExtrasGitRepositoriesListWithResponse(ctx context.Context, params *ExtrasGitRepositoriesListParams, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesListResponse, error) @@ -154167,13 +239742,23 @@ type ClientWithResponsesInterface interface { ExtrasGitRepositoriesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasGitRepositoriesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesUpdateResponse, error) + // ExtrasGitRepositoriesNotesList request + ExtrasGitRepositoriesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasGitRepositoriesNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesNotesListResponse, error) + + // ExtrasGitRepositoriesNotesCreate request with any body + ExtrasGitRepositoriesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesNotesCreateResponse, error) + + ExtrasGitRepositoriesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasGitRepositoriesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesNotesCreateResponse, error) + // ExtrasGitRepositoriesSyncCreate request with any body ExtrasGitRepositoriesSyncCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesSyncCreateResponse, error) ExtrasGitRepositoriesSyncCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasGitRepositoriesSyncCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesSyncCreateResponse, error) - // ExtrasGraphqlQueriesBulkDestroy request - ExtrasGraphqlQueriesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesBulkDestroyResponse, error) + // ExtrasGraphqlQueriesBulkDestroy request with any body + ExtrasGraphqlQueriesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesBulkDestroyResponse, error) + + ExtrasGraphqlQueriesBulkDestroyWithResponse(ctx context.Context, body ExtrasGraphqlQueriesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesBulkDestroyResponse, error) // ExtrasGraphqlQueriesList request ExtrasGraphqlQueriesListWithResponse(ctx context.Context, params *ExtrasGraphqlQueriesListParams, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesListResponse, error) @@ -154209,13 +239794,23 @@ type ClientWithResponsesInterface interface { ExtrasGraphqlQueriesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasGraphqlQueriesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesUpdateResponse, error) + // ExtrasGraphqlQueriesNotesList request + ExtrasGraphqlQueriesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasGraphqlQueriesNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesNotesListResponse, error) + + // ExtrasGraphqlQueriesNotesCreate request with any body + ExtrasGraphqlQueriesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesNotesCreateResponse, error) + + ExtrasGraphqlQueriesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasGraphqlQueriesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesNotesCreateResponse, error) + // ExtrasGraphqlQueriesRunCreate request with any body ExtrasGraphqlQueriesRunCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesRunCreateResponse, error) ExtrasGraphqlQueriesRunCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasGraphqlQueriesRunCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesRunCreateResponse, error) - // ExtrasImageAttachmentsBulkDestroy request - ExtrasImageAttachmentsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsBulkDestroyResponse, error) + // ExtrasImageAttachmentsBulkDestroy request with any body + ExtrasImageAttachmentsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsBulkDestroyResponse, error) + + ExtrasImageAttachmentsBulkDestroyWithResponse(ctx context.Context, body ExtrasImageAttachmentsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsBulkDestroyResponse, error) // ExtrasImageAttachmentsList request ExtrasImageAttachmentsListWithResponse(ctx context.Context, params *ExtrasImageAttachmentsListParams, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsListResponse, error) @@ -154251,54 +239846,80 @@ type ClientWithResponsesInterface interface { ExtrasImageAttachmentsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasImageAttachmentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsUpdateResponse, error) + // ExtrasJobHooksBulkDestroy request with any body + ExtrasJobHooksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobHooksBulkDestroyResponse, error) + + ExtrasJobHooksBulkDestroyWithResponse(ctx context.Context, body ExtrasJobHooksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobHooksBulkDestroyResponse, error) + + // ExtrasJobHooksList request + ExtrasJobHooksListWithResponse(ctx context.Context, params *ExtrasJobHooksListParams, reqEditors ...RequestEditorFn) (*ExtrasJobHooksListResponse, error) + + // ExtrasJobHooksBulkPartialUpdate request with any body + ExtrasJobHooksBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobHooksBulkPartialUpdateResponse, error) + + ExtrasJobHooksBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasJobHooksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobHooksBulkPartialUpdateResponse, error) + + // ExtrasJobHooksCreate request with any body + ExtrasJobHooksCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobHooksCreateResponse, error) + + ExtrasJobHooksCreateWithResponse(ctx context.Context, body ExtrasJobHooksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobHooksCreateResponse, error) + + // ExtrasJobHooksBulkUpdate request with any body + ExtrasJobHooksBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobHooksBulkUpdateResponse, error) + + ExtrasJobHooksBulkUpdateWithResponse(ctx context.Context, body ExtrasJobHooksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobHooksBulkUpdateResponse, error) + + // ExtrasJobHooksDestroy request + ExtrasJobHooksDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasJobHooksDestroyResponse, error) + + // ExtrasJobHooksRetrieve request + ExtrasJobHooksRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasJobHooksRetrieveResponse, error) + + // ExtrasJobHooksPartialUpdate request with any body + ExtrasJobHooksPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobHooksPartialUpdateResponse, error) + + ExtrasJobHooksPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasJobHooksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobHooksPartialUpdateResponse, error) + + // ExtrasJobHooksUpdate request with any body + ExtrasJobHooksUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobHooksUpdateResponse, error) + + ExtrasJobHooksUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasJobHooksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobHooksUpdateResponse, error) + + // ExtrasJobHooksNotesList request + ExtrasJobHooksNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasJobHooksNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasJobHooksNotesListResponse, error) + + // ExtrasJobHooksNotesCreate request with any body + ExtrasJobHooksNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobHooksNotesCreateResponse, error) + + ExtrasJobHooksNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasJobHooksNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobHooksNotesCreateResponse, error) + // ExtrasJobLogsList request ExtrasJobLogsListWithResponse(ctx context.Context, params *ExtrasJobLogsListParams, reqEditors ...RequestEditorFn) (*ExtrasJobLogsListResponse, error) // ExtrasJobLogsRetrieve request ExtrasJobLogsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasJobLogsRetrieveResponse, error) - // ExtrasJobResultsBulkDestroy request - ExtrasJobResultsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasJobResultsBulkDestroyResponse, error) + // ExtrasJobResultsBulkDestroy request with any body + ExtrasJobResultsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobResultsBulkDestroyResponse, error) + + ExtrasJobResultsBulkDestroyWithResponse(ctx context.Context, body ExtrasJobResultsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobResultsBulkDestroyResponse, error) // ExtrasJobResultsList request ExtrasJobResultsListWithResponse(ctx context.Context, params *ExtrasJobResultsListParams, reqEditors ...RequestEditorFn) (*ExtrasJobResultsListResponse, error) - // ExtrasJobResultsBulkPartialUpdate request with any body - ExtrasJobResultsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobResultsBulkPartialUpdateResponse, error) - - ExtrasJobResultsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasJobResultsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobResultsBulkPartialUpdateResponse, error) - - // ExtrasJobResultsCreate request with any body - ExtrasJobResultsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobResultsCreateResponse, error) - - ExtrasJobResultsCreateWithResponse(ctx context.Context, body ExtrasJobResultsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobResultsCreateResponse, error) - - // ExtrasJobResultsBulkUpdate request with any body - ExtrasJobResultsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobResultsBulkUpdateResponse, error) - - ExtrasJobResultsBulkUpdateWithResponse(ctx context.Context, body ExtrasJobResultsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobResultsBulkUpdateResponse, error) - // ExtrasJobResultsDestroy request ExtrasJobResultsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasJobResultsDestroyResponse, error) // ExtrasJobResultsRetrieve request ExtrasJobResultsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasJobResultsRetrieveResponse, error) - // ExtrasJobResultsPartialUpdate request with any body - ExtrasJobResultsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobResultsPartialUpdateResponse, error) - - ExtrasJobResultsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasJobResultsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobResultsPartialUpdateResponse, error) - - // ExtrasJobResultsUpdate request with any body - ExtrasJobResultsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobResultsUpdateResponse, error) - - ExtrasJobResultsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasJobResultsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobResultsUpdateResponse, error) - // ExtrasJobResultsLogsRetrieve request ExtrasJobResultsLogsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasJobResultsLogsRetrieveResponse, error) - // ExtrasJobsBulkDestroy request - ExtrasJobsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasJobsBulkDestroyResponse, error) + // ExtrasJobsBulkDestroy request with any body + ExtrasJobsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobsBulkDestroyResponse, error) + + ExtrasJobsBulkDestroyWithResponse(ctx context.Context, body ExtrasJobsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobsBulkDestroyResponse, error) // ExtrasJobsList request ExtrasJobsListWithResponse(ctx context.Context, params *ExtrasJobsListParams, reqEditors ...RequestEditorFn) (*ExtrasJobsListResponse, error) @@ -154337,6 +239958,14 @@ type ClientWithResponsesInterface interface { ExtrasJobsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasJobsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobsUpdateResponse, error) + // ExtrasJobsNotesList request + ExtrasJobsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasJobsNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasJobsNotesListResponse, error) + + // ExtrasJobsNotesCreate request with any body + ExtrasJobsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobsNotesCreateResponse, error) + + ExtrasJobsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasJobsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobsNotesCreateResponse, error) + // ExtrasJobsRunCreate request with any body ExtrasJobsRunCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobsRunCreateResponse, error) @@ -154345,14 +239974,55 @@ type ClientWithResponsesInterface interface { // ExtrasJobsVariablesList request ExtrasJobsVariablesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasJobsVariablesListParams, reqEditors ...RequestEditorFn) (*ExtrasJobsVariablesListResponse, error) + // ExtrasNotesBulkDestroy request with any body + ExtrasNotesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasNotesBulkDestroyResponse, error) + + ExtrasNotesBulkDestroyWithResponse(ctx context.Context, body ExtrasNotesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasNotesBulkDestroyResponse, error) + + // ExtrasNotesList request + ExtrasNotesListWithResponse(ctx context.Context, params *ExtrasNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasNotesListResponse, error) + + // ExtrasNotesBulkPartialUpdate request with any body + ExtrasNotesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasNotesBulkPartialUpdateResponse, error) + + ExtrasNotesBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasNotesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasNotesBulkPartialUpdateResponse, error) + + // ExtrasNotesCreate request with any body + ExtrasNotesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasNotesCreateResponse, error) + + ExtrasNotesCreateWithResponse(ctx context.Context, body ExtrasNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasNotesCreateResponse, error) + + // ExtrasNotesBulkUpdate request with any body + ExtrasNotesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasNotesBulkUpdateResponse, error) + + ExtrasNotesBulkUpdateWithResponse(ctx context.Context, body ExtrasNotesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasNotesBulkUpdateResponse, error) + + // ExtrasNotesDestroy request + ExtrasNotesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasNotesDestroyResponse, error) + + // ExtrasNotesRetrieve request + ExtrasNotesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasNotesRetrieveResponse, error) + + // ExtrasNotesPartialUpdate request with any body + ExtrasNotesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasNotesPartialUpdateResponse, error) + + ExtrasNotesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasNotesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasNotesPartialUpdateResponse, error) + + // ExtrasNotesUpdate request with any body + ExtrasNotesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasNotesUpdateResponse, error) + + ExtrasNotesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasNotesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasNotesUpdateResponse, error) + // ExtrasObjectChangesList request ExtrasObjectChangesListWithResponse(ctx context.Context, params *ExtrasObjectChangesListParams, reqEditors ...RequestEditorFn) (*ExtrasObjectChangesListResponse, error) // ExtrasObjectChangesRetrieve request ExtrasObjectChangesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasObjectChangesRetrieveResponse, error) - // ExtrasRelationshipAssociationsBulkDestroy request - ExtrasRelationshipAssociationsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsBulkDestroyResponse, error) + // ExtrasRelationshipAssociationsBulkDestroy request with any body + ExtrasRelationshipAssociationsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsBulkDestroyResponse, error) + + ExtrasRelationshipAssociationsBulkDestroyWithResponse(ctx context.Context, body ExtrasRelationshipAssociationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsBulkDestroyResponse, error) // ExtrasRelationshipAssociationsList request ExtrasRelationshipAssociationsListWithResponse(ctx context.Context, params *ExtrasRelationshipAssociationsListParams, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsListResponse, error) @@ -154388,8 +240058,10 @@ type ClientWithResponsesInterface interface { ExtrasRelationshipAssociationsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipAssociationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsUpdateResponse, error) - // ExtrasRelationshipsBulkDestroy request - ExtrasRelationshipsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsBulkDestroyResponse, error) + // ExtrasRelationshipsBulkDestroy request with any body + ExtrasRelationshipsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsBulkDestroyResponse, error) + + ExtrasRelationshipsBulkDestroyWithResponse(ctx context.Context, body ExtrasRelationshipsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsBulkDestroyResponse, error) // ExtrasRelationshipsList request ExtrasRelationshipsListWithResponse(ctx context.Context, params *ExtrasRelationshipsListParams, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsListResponse, error) @@ -154425,6 +240097,14 @@ type ClientWithResponsesInterface interface { ExtrasRelationshipsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsUpdateResponse, error) + // ExtrasRelationshipsNotesList request + ExtrasRelationshipsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasRelationshipsNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsNotesListResponse, error) + + // ExtrasRelationshipsNotesCreate request with any body + ExtrasRelationshipsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsNotesCreateResponse, error) + + ExtrasRelationshipsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsNotesCreateResponse, error) + // ExtrasScheduledJobsList request ExtrasScheduledJobsListWithResponse(ctx context.Context, params *ExtrasScheduledJobsListParams, reqEditors ...RequestEditorFn) (*ExtrasScheduledJobsListResponse, error) @@ -154440,8 +240120,10 @@ type ClientWithResponsesInterface interface { // ExtrasScheduledJobsDryRunCreate request ExtrasScheduledJobsDryRunCreateWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasScheduledJobsDryRunCreateResponse, error) - // ExtrasSecretsGroupsAssociationsBulkDestroy request - ExtrasSecretsGroupsAssociationsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsBulkDestroyResponse, error) + // ExtrasSecretsGroupsAssociationsBulkDestroy request with any body + ExtrasSecretsGroupsAssociationsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsBulkDestroyResponse, error) + + ExtrasSecretsGroupsAssociationsBulkDestroyWithResponse(ctx context.Context, body ExtrasSecretsGroupsAssociationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsBulkDestroyResponse, error) // ExtrasSecretsGroupsAssociationsList request ExtrasSecretsGroupsAssociationsListWithResponse(ctx context.Context, params *ExtrasSecretsGroupsAssociationsListParams, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsListResponse, error) @@ -154477,8 +240159,10 @@ type ClientWithResponsesInterface interface { ExtrasSecretsGroupsAssociationsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsAssociationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsUpdateResponse, error) - // ExtrasSecretsGroupsBulkDestroy request - ExtrasSecretsGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsBulkDestroyResponse, error) + // ExtrasSecretsGroupsBulkDestroy request with any body + ExtrasSecretsGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsBulkDestroyResponse, error) + + ExtrasSecretsGroupsBulkDestroyWithResponse(ctx context.Context, body ExtrasSecretsGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsBulkDestroyResponse, error) // ExtrasSecretsGroupsList request ExtrasSecretsGroupsListWithResponse(ctx context.Context, params *ExtrasSecretsGroupsListParams, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsListResponse, error) @@ -154514,8 +240198,18 @@ type ClientWithResponsesInterface interface { ExtrasSecretsGroupsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsUpdateResponse, error) - // ExtrasSecretsBulkDestroy request - ExtrasSecretsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasSecretsBulkDestroyResponse, error) + // ExtrasSecretsGroupsNotesList request + ExtrasSecretsGroupsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasSecretsGroupsNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsNotesListResponse, error) + + // ExtrasSecretsGroupsNotesCreate request with any body + ExtrasSecretsGroupsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsNotesCreateResponse, error) + + ExtrasSecretsGroupsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsNotesCreateResponse, error) + + // ExtrasSecretsBulkDestroy request with any body + ExtrasSecretsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsBulkDestroyResponse, error) + + ExtrasSecretsBulkDestroyWithResponse(ctx context.Context, body ExtrasSecretsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsBulkDestroyResponse, error) // ExtrasSecretsList request ExtrasSecretsListWithResponse(ctx context.Context, params *ExtrasSecretsListParams, reqEditors ...RequestEditorFn) (*ExtrasSecretsListResponse, error) @@ -154551,8 +240245,18 @@ type ClientWithResponsesInterface interface { ExtrasSecretsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsUpdateResponse, error) - // ExtrasStatusesBulkDestroy request - ExtrasStatusesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasStatusesBulkDestroyResponse, error) + // ExtrasSecretsNotesList request + ExtrasSecretsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasSecretsNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasSecretsNotesListResponse, error) + + // ExtrasSecretsNotesCreate request with any body + ExtrasSecretsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsNotesCreateResponse, error) + + ExtrasSecretsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsNotesCreateResponse, error) + + // ExtrasStatusesBulkDestroy request with any body + ExtrasStatusesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasStatusesBulkDestroyResponse, error) + + ExtrasStatusesBulkDestroyWithResponse(ctx context.Context, body ExtrasStatusesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasStatusesBulkDestroyResponse, error) // ExtrasStatusesList request ExtrasStatusesListWithResponse(ctx context.Context, params *ExtrasStatusesListParams, reqEditors ...RequestEditorFn) (*ExtrasStatusesListResponse, error) @@ -154588,8 +240292,18 @@ type ClientWithResponsesInterface interface { ExtrasStatusesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasStatusesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasStatusesUpdateResponse, error) - // ExtrasTagsBulkDestroy request - ExtrasTagsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasTagsBulkDestroyResponse, error) + // ExtrasStatusesNotesList request + ExtrasStatusesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasStatusesNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasStatusesNotesListResponse, error) + + // ExtrasStatusesNotesCreate request with any body + ExtrasStatusesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasStatusesNotesCreateResponse, error) + + ExtrasStatusesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasStatusesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasStatusesNotesCreateResponse, error) + + // ExtrasTagsBulkDestroy request with any body + ExtrasTagsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasTagsBulkDestroyResponse, error) + + ExtrasTagsBulkDestroyWithResponse(ctx context.Context, body ExtrasTagsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasTagsBulkDestroyResponse, error) // ExtrasTagsList request ExtrasTagsListWithResponse(ctx context.Context, params *ExtrasTagsListParams, reqEditors ...RequestEditorFn) (*ExtrasTagsListResponse, error) @@ -154625,8 +240339,18 @@ type ClientWithResponsesInterface interface { ExtrasTagsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasTagsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasTagsUpdateResponse, error) - // ExtrasWebhooksBulkDestroy request - ExtrasWebhooksBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkDestroyResponse, error) + // ExtrasTagsNotesList request + ExtrasTagsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasTagsNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasTagsNotesListResponse, error) + + // ExtrasTagsNotesCreate request with any body + ExtrasTagsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasTagsNotesCreateResponse, error) + + ExtrasTagsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasTagsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasTagsNotesCreateResponse, error) + + // ExtrasWebhooksBulkDestroy request with any body + ExtrasWebhooksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkDestroyResponse, error) + + ExtrasWebhooksBulkDestroyWithResponse(ctx context.Context, body ExtrasWebhooksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkDestroyResponse, error) // ExtrasWebhooksList request ExtrasWebhooksListWithResponse(ctx context.Context, params *ExtrasWebhooksListParams, reqEditors ...RequestEditorFn) (*ExtrasWebhooksListResponse, error) @@ -154662,13 +240386,23 @@ type ClientWithResponsesInterface interface { ExtrasWebhooksUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasWebhooksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksUpdateResponse, error) + // ExtrasWebhooksNotesList request + ExtrasWebhooksNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasWebhooksNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasWebhooksNotesListResponse, error) + + // ExtrasWebhooksNotesCreate request with any body + ExtrasWebhooksNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksNotesCreateResponse, error) + + ExtrasWebhooksNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasWebhooksNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksNotesCreateResponse, error) + // GraphqlCreate request with any body GraphqlCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GraphqlCreateResponse, error) GraphqlCreateWithResponse(ctx context.Context, body GraphqlCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*GraphqlCreateResponse, error) - // IpamAggregatesBulkDestroy request - IpamAggregatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamAggregatesBulkDestroyResponse, error) + // IpamAggregatesBulkDestroy request with any body + IpamAggregatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAggregatesBulkDestroyResponse, error) + + IpamAggregatesBulkDestroyWithResponse(ctx context.Context, body IpamAggregatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAggregatesBulkDestroyResponse, error) // IpamAggregatesList request IpamAggregatesListWithResponse(ctx context.Context, params *IpamAggregatesListParams, reqEditors ...RequestEditorFn) (*IpamAggregatesListResponse, error) @@ -154704,8 +240438,18 @@ type ClientWithResponsesInterface interface { IpamAggregatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamAggregatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAggregatesUpdateResponse, error) - // IpamIpAddressesBulkDestroy request - IpamIpAddressesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamIpAddressesBulkDestroyResponse, error) + // IpamAggregatesNotesList request + IpamAggregatesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamAggregatesNotesListParams, reqEditors ...RequestEditorFn) (*IpamAggregatesNotesListResponse, error) + + // IpamAggregatesNotesCreate request with any body + IpamAggregatesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAggregatesNotesCreateResponse, error) + + IpamAggregatesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamAggregatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAggregatesNotesCreateResponse, error) + + // IpamIpAddressesBulkDestroy request with any body + IpamIpAddressesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpAddressesBulkDestroyResponse, error) + + IpamIpAddressesBulkDestroyWithResponse(ctx context.Context, body IpamIpAddressesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpAddressesBulkDestroyResponse, error) // IpamIpAddressesList request IpamIpAddressesListWithResponse(ctx context.Context, params *IpamIpAddressesListParams, reqEditors ...RequestEditorFn) (*IpamIpAddressesListResponse, error) @@ -154741,8 +240485,18 @@ type ClientWithResponsesInterface interface { IpamIpAddressesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamIpAddressesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpAddressesUpdateResponse, error) - // IpamPrefixesBulkDestroy request - IpamPrefixesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamPrefixesBulkDestroyResponse, error) + // IpamIpAddressesNotesList request + IpamIpAddressesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamIpAddressesNotesListParams, reqEditors ...RequestEditorFn) (*IpamIpAddressesNotesListResponse, error) + + // IpamIpAddressesNotesCreate request with any body + IpamIpAddressesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpAddressesNotesCreateResponse, error) + + IpamIpAddressesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamIpAddressesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpAddressesNotesCreateResponse, error) + + // IpamPrefixesBulkDestroy request with any body + IpamPrefixesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesBulkDestroyResponse, error) + + IpamPrefixesBulkDestroyWithResponse(ctx context.Context, body IpamPrefixesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesBulkDestroyResponse, error) // IpamPrefixesList request IpamPrefixesListWithResponse(ctx context.Context, params *IpamPrefixesListParams, reqEditors ...RequestEditorFn) (*IpamPrefixesListResponse, error) @@ -154781,10 +240535,8 @@ type ClientWithResponsesInterface interface { // IpamPrefixesAvailableIpsList request IpamPrefixesAvailableIpsListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailableIpsListParams, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailableIpsListResponse, error) - // IpamPrefixesAvailableIpsCreate request with any body - IpamPrefixesAvailableIpsCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailableIpsCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailableIpsCreateResponse, error) - - IpamPrefixesAvailableIpsCreateWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailableIpsCreateParams, body IpamPrefixesAvailableIpsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailableIpsCreateResponse, error) + // IpamPrefixesAvailableIpsCreate request + IpamPrefixesAvailableIpsCreateWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailableIpsCreateParams, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailableIpsCreateResponse, error) // IpamPrefixesAvailablePrefixesList request IpamPrefixesAvailablePrefixesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailablePrefixesListParams, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailablePrefixesListResponse, error) @@ -154794,8 +240546,18 @@ type ClientWithResponsesInterface interface { IpamPrefixesAvailablePrefixesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamPrefixesAvailablePrefixesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailablePrefixesCreateResponse, error) - // IpamRirsBulkDestroy request - IpamRirsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamRirsBulkDestroyResponse, error) + // IpamPrefixesNotesList request + IpamPrefixesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesNotesListParams, reqEditors ...RequestEditorFn) (*IpamPrefixesNotesListResponse, error) + + // IpamPrefixesNotesCreate request with any body + IpamPrefixesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesNotesCreateResponse, error) + + IpamPrefixesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamPrefixesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesNotesCreateResponse, error) + + // IpamRirsBulkDestroy request with any body + IpamRirsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRirsBulkDestroyResponse, error) + + IpamRirsBulkDestroyWithResponse(ctx context.Context, body IpamRirsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRirsBulkDestroyResponse, error) // IpamRirsList request IpamRirsListWithResponse(ctx context.Context, params *IpamRirsListParams, reqEditors ...RequestEditorFn) (*IpamRirsListResponse, error) @@ -154831,8 +240593,18 @@ type ClientWithResponsesInterface interface { IpamRirsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamRirsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRirsUpdateResponse, error) - // IpamRolesBulkDestroy request - IpamRolesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamRolesBulkDestroyResponse, error) + // IpamRirsNotesList request + IpamRirsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamRirsNotesListParams, reqEditors ...RequestEditorFn) (*IpamRirsNotesListResponse, error) + + // IpamRirsNotesCreate request with any body + IpamRirsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRirsNotesCreateResponse, error) + + IpamRirsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamRirsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRirsNotesCreateResponse, error) + + // IpamRolesBulkDestroy request with any body + IpamRolesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRolesBulkDestroyResponse, error) + + IpamRolesBulkDestroyWithResponse(ctx context.Context, body IpamRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRolesBulkDestroyResponse, error) // IpamRolesList request IpamRolesListWithResponse(ctx context.Context, params *IpamRolesListParams, reqEditors ...RequestEditorFn) (*IpamRolesListResponse, error) @@ -154868,8 +240640,18 @@ type ClientWithResponsesInterface interface { IpamRolesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRolesUpdateResponse, error) - // IpamRouteTargetsBulkDestroy request - IpamRouteTargetsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamRouteTargetsBulkDestroyResponse, error) + // IpamRolesNotesList request + IpamRolesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamRolesNotesListParams, reqEditors ...RequestEditorFn) (*IpamRolesNotesListResponse, error) + + // IpamRolesNotesCreate request with any body + IpamRolesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRolesNotesCreateResponse, error) + + IpamRolesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamRolesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRolesNotesCreateResponse, error) + + // IpamRouteTargetsBulkDestroy request with any body + IpamRouteTargetsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRouteTargetsBulkDestroyResponse, error) + + IpamRouteTargetsBulkDestroyWithResponse(ctx context.Context, body IpamRouteTargetsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRouteTargetsBulkDestroyResponse, error) // IpamRouteTargetsList request IpamRouteTargetsListWithResponse(ctx context.Context, params *IpamRouteTargetsListParams, reqEditors ...RequestEditorFn) (*IpamRouteTargetsListResponse, error) @@ -154905,8 +240687,18 @@ type ClientWithResponsesInterface interface { IpamRouteTargetsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamRouteTargetsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRouteTargetsUpdateResponse, error) - // IpamServicesBulkDestroy request - IpamServicesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamServicesBulkDestroyResponse, error) + // IpamRouteTargetsNotesList request + IpamRouteTargetsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamRouteTargetsNotesListParams, reqEditors ...RequestEditorFn) (*IpamRouteTargetsNotesListResponse, error) + + // IpamRouteTargetsNotesCreate request with any body + IpamRouteTargetsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRouteTargetsNotesCreateResponse, error) + + IpamRouteTargetsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamRouteTargetsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRouteTargetsNotesCreateResponse, error) + + // IpamServicesBulkDestroy request with any body + IpamServicesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServicesBulkDestroyResponse, error) + + IpamServicesBulkDestroyWithResponse(ctx context.Context, body IpamServicesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServicesBulkDestroyResponse, error) // IpamServicesList request IpamServicesListWithResponse(ctx context.Context, params *IpamServicesListParams, reqEditors ...RequestEditorFn) (*IpamServicesListResponse, error) @@ -154942,8 +240734,18 @@ type ClientWithResponsesInterface interface { IpamServicesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamServicesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServicesUpdateResponse, error) - // IpamVlanGroupsBulkDestroy request - IpamVlanGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamVlanGroupsBulkDestroyResponse, error) + // IpamServicesNotesList request + IpamServicesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamServicesNotesListParams, reqEditors ...RequestEditorFn) (*IpamServicesNotesListResponse, error) + + // IpamServicesNotesCreate request with any body + IpamServicesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServicesNotesCreateResponse, error) + + IpamServicesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamServicesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServicesNotesCreateResponse, error) + + // IpamVlanGroupsBulkDestroy request with any body + IpamVlanGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlanGroupsBulkDestroyResponse, error) + + IpamVlanGroupsBulkDestroyWithResponse(ctx context.Context, body IpamVlanGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsBulkDestroyResponse, error) // IpamVlanGroupsList request IpamVlanGroupsListWithResponse(ctx context.Context, params *IpamVlanGroupsListParams, reqEditors ...RequestEditorFn) (*IpamVlanGroupsListResponse, error) @@ -154979,8 +240781,18 @@ type ClientWithResponsesInterface interface { IpamVlanGroupsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamVlanGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsUpdateResponse, error) - // IpamVlansBulkDestroy request - IpamVlansBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamVlansBulkDestroyResponse, error) + // IpamVlanGroupsNotesList request + IpamVlanGroupsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamVlanGroupsNotesListParams, reqEditors ...RequestEditorFn) (*IpamVlanGroupsNotesListResponse, error) + + // IpamVlanGroupsNotesCreate request with any body + IpamVlanGroupsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlanGroupsNotesCreateResponse, error) + + IpamVlanGroupsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamVlanGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsNotesCreateResponse, error) + + // IpamVlansBulkDestroy request with any body + IpamVlansBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlansBulkDestroyResponse, error) + + IpamVlansBulkDestroyWithResponse(ctx context.Context, body IpamVlansBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlansBulkDestroyResponse, error) // IpamVlansList request IpamVlansListWithResponse(ctx context.Context, params *IpamVlansListParams, reqEditors ...RequestEditorFn) (*IpamVlansListResponse, error) @@ -155016,8 +240828,18 @@ type ClientWithResponsesInterface interface { IpamVlansUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamVlansUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlansUpdateResponse, error) - // IpamVrfsBulkDestroy request - IpamVrfsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamVrfsBulkDestroyResponse, error) + // IpamVlansNotesList request + IpamVlansNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamVlansNotesListParams, reqEditors ...RequestEditorFn) (*IpamVlansNotesListResponse, error) + + // IpamVlansNotesCreate request with any body + IpamVlansNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlansNotesCreateResponse, error) + + IpamVlansNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamVlansNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlansNotesCreateResponse, error) + + // IpamVrfsBulkDestroy request with any body + IpamVrfsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVrfsBulkDestroyResponse, error) + + IpamVrfsBulkDestroyWithResponse(ctx context.Context, body IpamVrfsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVrfsBulkDestroyResponse, error) // IpamVrfsList request IpamVrfsListWithResponse(ctx context.Context, params *IpamVrfsListParams, reqEditors ...RequestEditorFn) (*IpamVrfsListResponse, error) @@ -155053,8 +240875,330 @@ type ClientWithResponsesInterface interface { IpamVrfsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamVrfsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVrfsUpdateResponse, error) - // PluginsChatopsAccessgrantBulkDestroy request - PluginsChatopsAccessgrantBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantBulkDestroyResponse, error) + // IpamVrfsNotesList request + IpamVrfsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamVrfsNotesListParams, reqEditors ...RequestEditorFn) (*IpamVrfsNotesListResponse, error) + + // IpamVrfsNotesCreate request with any body + IpamVrfsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVrfsNotesCreateResponse, error) + + IpamVrfsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamVrfsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVrfsNotesCreateResponse, error) + + // PluginsBgpAddressFamiliesBulkDestroy request with any body + PluginsBgpAddressFamiliesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesBulkDestroyResponse, error) + + PluginsBgpAddressFamiliesBulkDestroyWithResponse(ctx context.Context, body PluginsBgpAddressFamiliesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesBulkDestroyResponse, error) + + // PluginsBgpAddressFamiliesList request + PluginsBgpAddressFamiliesListWithResponse(ctx context.Context, params *PluginsBgpAddressFamiliesListParams, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesListResponse, error) + + // PluginsBgpAddressFamiliesBulkPartialUpdate request with any body + PluginsBgpAddressFamiliesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesBulkPartialUpdateResponse, error) + + PluginsBgpAddressFamiliesBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpAddressFamiliesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesBulkPartialUpdateResponse, error) + + // PluginsBgpAddressFamiliesCreate request with any body + PluginsBgpAddressFamiliesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesCreateResponse, error) + + PluginsBgpAddressFamiliesCreateWithResponse(ctx context.Context, body PluginsBgpAddressFamiliesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesCreateResponse, error) + + // PluginsBgpAddressFamiliesBulkUpdate request with any body + PluginsBgpAddressFamiliesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesBulkUpdateResponse, error) + + PluginsBgpAddressFamiliesBulkUpdateWithResponse(ctx context.Context, body PluginsBgpAddressFamiliesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesBulkUpdateResponse, error) + + // PluginsBgpAddressFamiliesDestroy request + PluginsBgpAddressFamiliesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesDestroyResponse, error) + + // PluginsBgpAddressFamiliesRetrieve request + PluginsBgpAddressFamiliesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsBgpAddressFamiliesRetrieveParams, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesRetrieveResponse, error) + + // PluginsBgpAddressFamiliesPartialUpdate request with any body + PluginsBgpAddressFamiliesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesPartialUpdateResponse, error) + + PluginsBgpAddressFamiliesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpAddressFamiliesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesPartialUpdateResponse, error) + + // PluginsBgpAddressFamiliesUpdate request with any body + PluginsBgpAddressFamiliesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesUpdateResponse, error) + + PluginsBgpAddressFamiliesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpAddressFamiliesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesUpdateResponse, error) + + // PluginsBgpAutonomousSystemsBulkDestroy request with any body + PluginsBgpAutonomousSystemsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsBulkDestroyResponse, error) + + PluginsBgpAutonomousSystemsBulkDestroyWithResponse(ctx context.Context, body PluginsBgpAutonomousSystemsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsBulkDestroyResponse, error) + + // PluginsBgpAutonomousSystemsList request + PluginsBgpAutonomousSystemsListWithResponse(ctx context.Context, params *PluginsBgpAutonomousSystemsListParams, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsListResponse, error) + + // PluginsBgpAutonomousSystemsBulkPartialUpdate request with any body + PluginsBgpAutonomousSystemsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsBulkPartialUpdateResponse, error) + + PluginsBgpAutonomousSystemsBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpAutonomousSystemsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsBulkPartialUpdateResponse, error) + + // PluginsBgpAutonomousSystemsCreate request with any body + PluginsBgpAutonomousSystemsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsCreateResponse, error) + + PluginsBgpAutonomousSystemsCreateWithResponse(ctx context.Context, body PluginsBgpAutonomousSystemsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsCreateResponse, error) + + // PluginsBgpAutonomousSystemsBulkUpdate request with any body + PluginsBgpAutonomousSystemsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsBulkUpdateResponse, error) + + PluginsBgpAutonomousSystemsBulkUpdateWithResponse(ctx context.Context, body PluginsBgpAutonomousSystemsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsBulkUpdateResponse, error) + + // PluginsBgpAutonomousSystemsDestroy request + PluginsBgpAutonomousSystemsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsDestroyResponse, error) + + // PluginsBgpAutonomousSystemsRetrieve request + PluginsBgpAutonomousSystemsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsRetrieveResponse, error) + + // PluginsBgpAutonomousSystemsPartialUpdate request with any body + PluginsBgpAutonomousSystemsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsPartialUpdateResponse, error) + + PluginsBgpAutonomousSystemsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpAutonomousSystemsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsPartialUpdateResponse, error) + + // PluginsBgpAutonomousSystemsUpdate request with any body + PluginsBgpAutonomousSystemsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsUpdateResponse, error) + + PluginsBgpAutonomousSystemsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpAutonomousSystemsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsUpdateResponse, error) + + // PluginsBgpPeerEndpointsBulkDestroy request with any body + PluginsBgpPeerEndpointsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsBulkDestroyResponse, error) + + PluginsBgpPeerEndpointsBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPeerEndpointsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsBulkDestroyResponse, error) + + // PluginsBgpPeerEndpointsList request + PluginsBgpPeerEndpointsListWithResponse(ctx context.Context, params *PluginsBgpPeerEndpointsListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsListResponse, error) + + // PluginsBgpPeerEndpointsBulkPartialUpdate request with any body + PluginsBgpPeerEndpointsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsBulkPartialUpdateResponse, error) + + PluginsBgpPeerEndpointsBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPeerEndpointsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsBulkPartialUpdateResponse, error) + + // PluginsBgpPeerEndpointsCreate request with any body + PluginsBgpPeerEndpointsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsCreateResponse, error) + + PluginsBgpPeerEndpointsCreateWithResponse(ctx context.Context, body PluginsBgpPeerEndpointsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsCreateResponse, error) + + // PluginsBgpPeerEndpointsBulkUpdate request with any body + PluginsBgpPeerEndpointsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsBulkUpdateResponse, error) + + PluginsBgpPeerEndpointsBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPeerEndpointsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsBulkUpdateResponse, error) + + // PluginsBgpPeerEndpointsDestroy request + PluginsBgpPeerEndpointsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsDestroyResponse, error) + + // PluginsBgpPeerEndpointsRetrieve request + PluginsBgpPeerEndpointsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsBgpPeerEndpointsRetrieveParams, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsRetrieveResponse, error) + + // PluginsBgpPeerEndpointsPartialUpdate request with any body + PluginsBgpPeerEndpointsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsPartialUpdateResponse, error) + + PluginsBgpPeerEndpointsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerEndpointsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsPartialUpdateResponse, error) + + // PluginsBgpPeerEndpointsUpdate request with any body + PluginsBgpPeerEndpointsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsUpdateResponse, error) + + PluginsBgpPeerEndpointsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerEndpointsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsUpdateResponse, error) + + // PluginsBgpPeerGroupTemplatesBulkDestroy request with any body + PluginsBgpPeerGroupTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesBulkDestroyResponse, error) + + PluginsBgpPeerGroupTemplatesBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPeerGroupTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesBulkDestroyResponse, error) + + // PluginsBgpPeerGroupTemplatesList request + PluginsBgpPeerGroupTemplatesListWithResponse(ctx context.Context, params *PluginsBgpPeerGroupTemplatesListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesListResponse, error) + + // PluginsBgpPeerGroupTemplatesBulkPartialUpdate request with any body + PluginsBgpPeerGroupTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesBulkPartialUpdateResponse, error) + + PluginsBgpPeerGroupTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPeerGroupTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesBulkPartialUpdateResponse, error) + + // PluginsBgpPeerGroupTemplatesCreate request with any body + PluginsBgpPeerGroupTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesCreateResponse, error) + + PluginsBgpPeerGroupTemplatesCreateWithResponse(ctx context.Context, body PluginsBgpPeerGroupTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesCreateResponse, error) + + // PluginsBgpPeerGroupTemplatesBulkUpdate request with any body + PluginsBgpPeerGroupTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesBulkUpdateResponse, error) + + PluginsBgpPeerGroupTemplatesBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPeerGroupTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesBulkUpdateResponse, error) + + // PluginsBgpPeerGroupTemplatesDestroy request + PluginsBgpPeerGroupTemplatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesDestroyResponse, error) + + // PluginsBgpPeerGroupTemplatesRetrieve request + PluginsBgpPeerGroupTemplatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsBgpPeerGroupTemplatesRetrieveParams, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesRetrieveResponse, error) + + // PluginsBgpPeerGroupTemplatesPartialUpdate request with any body + PluginsBgpPeerGroupTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesPartialUpdateResponse, error) + + PluginsBgpPeerGroupTemplatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerGroupTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesPartialUpdateResponse, error) + + // PluginsBgpPeerGroupTemplatesUpdate request with any body + PluginsBgpPeerGroupTemplatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesUpdateResponse, error) + + PluginsBgpPeerGroupTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerGroupTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesUpdateResponse, error) + + // PluginsBgpPeerGroupsBulkDestroy request with any body + PluginsBgpPeerGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsBulkDestroyResponse, error) + + PluginsBgpPeerGroupsBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPeerGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsBulkDestroyResponse, error) + + // PluginsBgpPeerGroupsList request + PluginsBgpPeerGroupsListWithResponse(ctx context.Context, params *PluginsBgpPeerGroupsListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsListResponse, error) + + // PluginsBgpPeerGroupsBulkPartialUpdate request with any body + PluginsBgpPeerGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsBulkPartialUpdateResponse, error) + + PluginsBgpPeerGroupsBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPeerGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsBulkPartialUpdateResponse, error) + + // PluginsBgpPeerGroupsCreate request with any body + PluginsBgpPeerGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsCreateResponse, error) + + PluginsBgpPeerGroupsCreateWithResponse(ctx context.Context, body PluginsBgpPeerGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsCreateResponse, error) + + // PluginsBgpPeerGroupsBulkUpdate request with any body + PluginsBgpPeerGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsBulkUpdateResponse, error) + + PluginsBgpPeerGroupsBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPeerGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsBulkUpdateResponse, error) + + // PluginsBgpPeerGroupsDestroy request + PluginsBgpPeerGroupsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsDestroyResponse, error) + + // PluginsBgpPeerGroupsRetrieve request + PluginsBgpPeerGroupsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsBgpPeerGroupsRetrieveParams, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsRetrieveResponse, error) + + // PluginsBgpPeerGroupsPartialUpdate request with any body + PluginsBgpPeerGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsPartialUpdateResponse, error) + + PluginsBgpPeerGroupsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsPartialUpdateResponse, error) + + // PluginsBgpPeerGroupsUpdate request with any body + PluginsBgpPeerGroupsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsUpdateResponse, error) + + PluginsBgpPeerGroupsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsUpdateResponse, error) + + // PluginsBgpPeeringRolesBulkDestroy request with any body + PluginsBgpPeeringRolesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesBulkDestroyResponse, error) + + PluginsBgpPeeringRolesBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPeeringRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesBulkDestroyResponse, error) + + // PluginsBgpPeeringRolesList request + PluginsBgpPeeringRolesListWithResponse(ctx context.Context, params *PluginsBgpPeeringRolesListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesListResponse, error) + + // PluginsBgpPeeringRolesBulkPartialUpdate request with any body + PluginsBgpPeeringRolesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesBulkPartialUpdateResponse, error) + + PluginsBgpPeeringRolesBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPeeringRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesBulkPartialUpdateResponse, error) + + // PluginsBgpPeeringRolesCreate request with any body + PluginsBgpPeeringRolesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesCreateResponse, error) + + PluginsBgpPeeringRolesCreateWithResponse(ctx context.Context, body PluginsBgpPeeringRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesCreateResponse, error) + + // PluginsBgpPeeringRolesBulkUpdate request with any body + PluginsBgpPeeringRolesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesBulkUpdateResponse, error) + + PluginsBgpPeeringRolesBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPeeringRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesBulkUpdateResponse, error) + + // PluginsBgpPeeringRolesDestroy request + PluginsBgpPeeringRolesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesDestroyResponse, error) + + // PluginsBgpPeeringRolesRetrieve request + PluginsBgpPeeringRolesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesRetrieveResponse, error) + + // PluginsBgpPeeringRolesPartialUpdate request with any body + PluginsBgpPeeringRolesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesPartialUpdateResponse, error) + + PluginsBgpPeeringRolesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeeringRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesPartialUpdateResponse, error) + + // PluginsBgpPeeringRolesUpdate request with any body + PluginsBgpPeeringRolesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesUpdateResponse, error) + + PluginsBgpPeeringRolesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeeringRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesUpdateResponse, error) + + // PluginsBgpPeeringsBulkDestroy request with any body + PluginsBgpPeeringsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsBulkDestroyResponse, error) + + PluginsBgpPeeringsBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPeeringsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsBulkDestroyResponse, error) + + // PluginsBgpPeeringsList request + PluginsBgpPeeringsListWithResponse(ctx context.Context, params *PluginsBgpPeeringsListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsListResponse, error) + + // PluginsBgpPeeringsBulkPartialUpdate request with any body + PluginsBgpPeeringsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsBulkPartialUpdateResponse, error) + + PluginsBgpPeeringsBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPeeringsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsBulkPartialUpdateResponse, error) + + // PluginsBgpPeeringsCreate request with any body + PluginsBgpPeeringsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsCreateResponse, error) + + PluginsBgpPeeringsCreateWithResponse(ctx context.Context, body PluginsBgpPeeringsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsCreateResponse, error) + + // PluginsBgpPeeringsBulkUpdate request with any body + PluginsBgpPeeringsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsBulkUpdateResponse, error) + + PluginsBgpPeeringsBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPeeringsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsBulkUpdateResponse, error) + + // PluginsBgpPeeringsDestroy request + PluginsBgpPeeringsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsDestroyResponse, error) + + // PluginsBgpPeeringsRetrieve request + PluginsBgpPeeringsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsRetrieveResponse, error) + + // PluginsBgpPeeringsPartialUpdate request with any body + PluginsBgpPeeringsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsPartialUpdateResponse, error) + + PluginsBgpPeeringsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeeringsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsPartialUpdateResponse, error) + + // PluginsBgpPeeringsUpdate request with any body + PluginsBgpPeeringsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsUpdateResponse, error) + + PluginsBgpPeeringsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeeringsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsUpdateResponse, error) + + // PluginsBgpRoutingInstancesBulkDestroy request with any body + PluginsBgpRoutingInstancesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesBulkDestroyResponse, error) + + PluginsBgpRoutingInstancesBulkDestroyWithResponse(ctx context.Context, body PluginsBgpRoutingInstancesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesBulkDestroyResponse, error) + + // PluginsBgpRoutingInstancesList request + PluginsBgpRoutingInstancesListWithResponse(ctx context.Context, params *PluginsBgpRoutingInstancesListParams, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesListResponse, error) + + // PluginsBgpRoutingInstancesBulkPartialUpdate request with any body + PluginsBgpRoutingInstancesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesBulkPartialUpdateResponse, error) + + PluginsBgpRoutingInstancesBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpRoutingInstancesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesBulkPartialUpdateResponse, error) + + // PluginsBgpRoutingInstancesCreate request with any body + PluginsBgpRoutingInstancesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesCreateResponse, error) + + PluginsBgpRoutingInstancesCreateWithResponse(ctx context.Context, body PluginsBgpRoutingInstancesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesCreateResponse, error) + + // PluginsBgpRoutingInstancesBulkUpdate request with any body + PluginsBgpRoutingInstancesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesBulkUpdateResponse, error) + + PluginsBgpRoutingInstancesBulkUpdateWithResponse(ctx context.Context, body PluginsBgpRoutingInstancesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesBulkUpdateResponse, error) + + // PluginsBgpRoutingInstancesDestroy request + PluginsBgpRoutingInstancesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesDestroyResponse, error) + + // PluginsBgpRoutingInstancesRetrieve request + PluginsBgpRoutingInstancesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesRetrieveResponse, error) + + // PluginsBgpRoutingInstancesPartialUpdate request with any body + PluginsBgpRoutingInstancesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesPartialUpdateResponse, error) + + PluginsBgpRoutingInstancesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpRoutingInstancesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesPartialUpdateResponse, error) + + // PluginsBgpRoutingInstancesUpdate request with any body + PluginsBgpRoutingInstancesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesUpdateResponse, error) + + PluginsBgpRoutingInstancesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpRoutingInstancesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesUpdateResponse, error) + + // PluginsChatopsAccessgrantBulkDestroy request with any body + PluginsChatopsAccessgrantBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantBulkDestroyResponse, error) + + PluginsChatopsAccessgrantBulkDestroyWithResponse(ctx context.Context, body PluginsChatopsAccessgrantBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantBulkDestroyResponse, error) // PluginsChatopsAccessgrantList request PluginsChatopsAccessgrantListWithResponse(ctx context.Context, params *PluginsChatopsAccessgrantListParams, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantListResponse, error) @@ -155090,8 +241234,10 @@ type ClientWithResponsesInterface interface { PluginsChatopsAccessgrantUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsChatopsAccessgrantUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantUpdateResponse, error) - // PluginsChatopsCommandtokenBulkDestroy request - PluginsChatopsCommandtokenBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenBulkDestroyResponse, error) + // PluginsChatopsCommandtokenBulkDestroy request with any body + PluginsChatopsCommandtokenBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenBulkDestroyResponse, error) + + PluginsChatopsCommandtokenBulkDestroyWithResponse(ctx context.Context, body PluginsChatopsCommandtokenBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenBulkDestroyResponse, error) // PluginsChatopsCommandtokenList request PluginsChatopsCommandtokenListWithResponse(ctx context.Context, params *PluginsChatopsCommandtokenListParams, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenListResponse, error) @@ -155127,8 +241273,10 @@ type ClientWithResponsesInterface interface { PluginsChatopsCommandtokenUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsChatopsCommandtokenUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenUpdateResponse, error) - // PluginsCircuitMaintenanceCircuitimpactBulkDestroy request - PluginsCircuitMaintenanceCircuitimpactBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse, error) + // PluginsCircuitMaintenanceCircuitimpactBulkDestroy request with any body + PluginsCircuitMaintenanceCircuitimpactBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse, error) + + PluginsCircuitMaintenanceCircuitimpactBulkDestroyWithResponse(ctx context.Context, body PluginsCircuitMaintenanceCircuitimpactBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse, error) // PluginsCircuitMaintenanceCircuitimpactList request PluginsCircuitMaintenanceCircuitimpactListWithResponse(ctx context.Context, params *PluginsCircuitMaintenanceCircuitimpactListParams, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactListResponse, error) @@ -155164,8 +241312,10 @@ type ClientWithResponsesInterface interface { PluginsCircuitMaintenanceCircuitimpactUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceCircuitimpactUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactUpdateResponse, error) - // PluginsCircuitMaintenanceMaintenanceBulkDestroy request - PluginsCircuitMaintenanceMaintenanceBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceBulkDestroyResponse, error) + // PluginsCircuitMaintenanceMaintenanceBulkDestroy request with any body + PluginsCircuitMaintenanceMaintenanceBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceBulkDestroyResponse, error) + + PluginsCircuitMaintenanceMaintenanceBulkDestroyWithResponse(ctx context.Context, body PluginsCircuitMaintenanceMaintenanceBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceBulkDestroyResponse, error) // PluginsCircuitMaintenanceMaintenanceList request PluginsCircuitMaintenanceMaintenanceListWithResponse(ctx context.Context, params *PluginsCircuitMaintenanceMaintenanceListParams, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceListResponse, error) @@ -155201,8 +241351,10 @@ type ClientWithResponsesInterface interface { PluginsCircuitMaintenanceMaintenanceUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsCircuitMaintenanceMaintenanceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceUpdateResponse, error) - // PluginsCircuitMaintenanceNoteBulkDestroy request - PluginsCircuitMaintenanceNoteBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteBulkDestroyResponse, error) + // PluginsCircuitMaintenanceNoteBulkDestroy request with any body + PluginsCircuitMaintenanceNoteBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteBulkDestroyResponse, error) + + PluginsCircuitMaintenanceNoteBulkDestroyWithResponse(ctx context.Context, body PluginsCircuitMaintenanceNoteBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteBulkDestroyResponse, error) // PluginsCircuitMaintenanceNoteList request PluginsCircuitMaintenanceNoteListWithResponse(ctx context.Context, params *PluginsCircuitMaintenanceNoteListParams, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteListResponse, error) @@ -155244,8 +241396,10 @@ type ClientWithResponsesInterface interface { // PluginsCircuitMaintenanceNotificationsourceRetrieve request PluginsCircuitMaintenanceNotificationsourceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNotificationsourceRetrieveResponse, error) - // PluginsDataValidationEngineRulesMinMaxBulkDestroy request - PluginsDataValidationEngineRulesMinMaxBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxBulkDestroyResponse, error) + // PluginsDataValidationEngineRulesMinMaxBulkDestroy request with any body + PluginsDataValidationEngineRulesMinMaxBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxBulkDestroyResponse, error) + + PluginsDataValidationEngineRulesMinMaxBulkDestroyWithResponse(ctx context.Context, body PluginsDataValidationEngineRulesMinMaxBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxBulkDestroyResponse, error) // PluginsDataValidationEngineRulesMinMaxList request PluginsDataValidationEngineRulesMinMaxListWithResponse(ctx context.Context, params *PluginsDataValidationEngineRulesMinMaxListParams, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxListResponse, error) @@ -155281,8 +241435,10 @@ type ClientWithResponsesInterface interface { PluginsDataValidationEngineRulesMinMaxUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsDataValidationEngineRulesMinMaxUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxUpdateResponse, error) - // PluginsDataValidationEngineRulesRegexBulkDestroy request - PluginsDataValidationEngineRulesRegexBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexBulkDestroyResponse, error) + // PluginsDataValidationEngineRulesRegexBulkDestroy request with any body + PluginsDataValidationEngineRulesRegexBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexBulkDestroyResponse, error) + + PluginsDataValidationEngineRulesRegexBulkDestroyWithResponse(ctx context.Context, body PluginsDataValidationEngineRulesRegexBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexBulkDestroyResponse, error) // PluginsDataValidationEngineRulesRegexList request PluginsDataValidationEngineRulesRegexListWithResponse(ctx context.Context, params *PluginsDataValidationEngineRulesRegexListParams, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexListResponse, error) @@ -155332,8 +241488,660 @@ type ClientWithResponsesInterface interface { // PluginsDeviceOnboardingOnboardingRetrieve request PluginsDeviceOnboardingOnboardingRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsDeviceOnboardingOnboardingRetrieveResponse, error) - // PluginsGoldenConfigComplianceFeatureBulkDestroy request - PluginsGoldenConfigComplianceFeatureBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureBulkDestroyResponse, error) + // PluginsFirewallAddressObjectGroupBulkDestroy request with any body + PluginsFirewallAddressObjectGroupBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupBulkDestroyResponse, error) + + PluginsFirewallAddressObjectGroupBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallAddressObjectGroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupBulkDestroyResponse, error) + + // PluginsFirewallAddressObjectGroupList request + PluginsFirewallAddressObjectGroupListWithResponse(ctx context.Context, params *PluginsFirewallAddressObjectGroupListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupListResponse, error) + + // PluginsFirewallAddressObjectGroupBulkPartialUpdate request with any body + PluginsFirewallAddressObjectGroupBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupBulkPartialUpdateResponse, error) + + PluginsFirewallAddressObjectGroupBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallAddressObjectGroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupBulkPartialUpdateResponse, error) + + // PluginsFirewallAddressObjectGroupCreate request with any body + PluginsFirewallAddressObjectGroupCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupCreateResponse, error) + + PluginsFirewallAddressObjectGroupCreateWithResponse(ctx context.Context, body PluginsFirewallAddressObjectGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupCreateResponse, error) + + // PluginsFirewallAddressObjectGroupBulkUpdate request with any body + PluginsFirewallAddressObjectGroupBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupBulkUpdateResponse, error) + + PluginsFirewallAddressObjectGroupBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallAddressObjectGroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupBulkUpdateResponse, error) + + // PluginsFirewallAddressObjectGroupDestroy request + PluginsFirewallAddressObjectGroupDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupDestroyResponse, error) + + // PluginsFirewallAddressObjectGroupRetrieve request + PluginsFirewallAddressObjectGroupRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupRetrieveResponse, error) + + // PluginsFirewallAddressObjectGroupPartialUpdate request with any body + PluginsFirewallAddressObjectGroupPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupPartialUpdateResponse, error) + + PluginsFirewallAddressObjectGroupPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectGroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupPartialUpdateResponse, error) + + // PluginsFirewallAddressObjectGroupUpdate request with any body + PluginsFirewallAddressObjectGroupUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupUpdateResponse, error) + + PluginsFirewallAddressObjectGroupUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupUpdateResponse, error) + + // PluginsFirewallAddressObjectGroupNotesList request + PluginsFirewallAddressObjectGroupNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallAddressObjectGroupNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupNotesListResponse, error) + + // PluginsFirewallAddressObjectGroupNotesCreate request with any body + PluginsFirewallAddressObjectGroupNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupNotesCreateResponse, error) + + PluginsFirewallAddressObjectGroupNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectGroupNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupNotesCreateResponse, error) + + // PluginsFirewallAddressObjectBulkDestroy request with any body + PluginsFirewallAddressObjectBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectBulkDestroyResponse, error) + + PluginsFirewallAddressObjectBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallAddressObjectBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectBulkDestroyResponse, error) + + // PluginsFirewallAddressObjectList request + PluginsFirewallAddressObjectListWithResponse(ctx context.Context, params *PluginsFirewallAddressObjectListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectListResponse, error) + + // PluginsFirewallAddressObjectBulkPartialUpdate request with any body + PluginsFirewallAddressObjectBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectBulkPartialUpdateResponse, error) + + PluginsFirewallAddressObjectBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallAddressObjectBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectBulkPartialUpdateResponse, error) + + // PluginsFirewallAddressObjectCreate request with any body + PluginsFirewallAddressObjectCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectCreateResponse, error) + + PluginsFirewallAddressObjectCreateWithResponse(ctx context.Context, body PluginsFirewallAddressObjectCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectCreateResponse, error) + + // PluginsFirewallAddressObjectBulkUpdate request with any body + PluginsFirewallAddressObjectBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectBulkUpdateResponse, error) + + PluginsFirewallAddressObjectBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallAddressObjectBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectBulkUpdateResponse, error) + + // PluginsFirewallAddressObjectDestroy request + PluginsFirewallAddressObjectDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectDestroyResponse, error) + + // PluginsFirewallAddressObjectRetrieve request + PluginsFirewallAddressObjectRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectRetrieveResponse, error) + + // PluginsFirewallAddressObjectPartialUpdate request with any body + PluginsFirewallAddressObjectPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectPartialUpdateResponse, error) + + PluginsFirewallAddressObjectPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectPartialUpdateResponse, error) + + // PluginsFirewallAddressObjectUpdate request with any body + PluginsFirewallAddressObjectUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectUpdateResponse, error) + + PluginsFirewallAddressObjectUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectUpdateResponse, error) + + // PluginsFirewallAddressObjectNotesList request + PluginsFirewallAddressObjectNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallAddressObjectNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectNotesListResponse, error) + + // PluginsFirewallAddressObjectNotesCreate request with any body + PluginsFirewallAddressObjectNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectNotesCreateResponse, error) + + PluginsFirewallAddressObjectNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectNotesCreateResponse, error) + + // PluginsFirewallCapircaPolicyBulkDestroy request with any body + PluginsFirewallCapircaPolicyBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyBulkDestroyResponse, error) + + PluginsFirewallCapircaPolicyBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallCapircaPolicyBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyBulkDestroyResponse, error) + + // PluginsFirewallCapircaPolicyList request + PluginsFirewallCapircaPolicyListWithResponse(ctx context.Context, params *PluginsFirewallCapircaPolicyListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyListResponse, error) + + // PluginsFirewallCapircaPolicyBulkPartialUpdate request with any body + PluginsFirewallCapircaPolicyBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyBulkPartialUpdateResponse, error) + + PluginsFirewallCapircaPolicyBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallCapircaPolicyBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyBulkPartialUpdateResponse, error) + + // PluginsFirewallCapircaPolicyCreate request with any body + PluginsFirewallCapircaPolicyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyCreateResponse, error) + + PluginsFirewallCapircaPolicyCreateWithResponse(ctx context.Context, body PluginsFirewallCapircaPolicyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyCreateResponse, error) + + // PluginsFirewallCapircaPolicyBulkUpdate request with any body + PluginsFirewallCapircaPolicyBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyBulkUpdateResponse, error) + + PluginsFirewallCapircaPolicyBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallCapircaPolicyBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyBulkUpdateResponse, error) + + // PluginsFirewallCapircaPolicyDestroy request + PluginsFirewallCapircaPolicyDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyDestroyResponse, error) + + // PluginsFirewallCapircaPolicyRetrieve request + PluginsFirewallCapircaPolicyRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyRetrieveResponse, error) + + // PluginsFirewallCapircaPolicyPartialUpdate request with any body + PluginsFirewallCapircaPolicyPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyPartialUpdateResponse, error) + + PluginsFirewallCapircaPolicyPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallCapircaPolicyPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyPartialUpdateResponse, error) + + // PluginsFirewallCapircaPolicyUpdate request with any body + PluginsFirewallCapircaPolicyUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyUpdateResponse, error) + + PluginsFirewallCapircaPolicyUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallCapircaPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyUpdateResponse, error) + + // PluginsFirewallFqdnBulkDestroy request with any body + PluginsFirewallFqdnBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnBulkDestroyResponse, error) + + PluginsFirewallFqdnBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallFqdnBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnBulkDestroyResponse, error) + + // PluginsFirewallFqdnList request + PluginsFirewallFqdnListWithResponse(ctx context.Context, params *PluginsFirewallFqdnListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnListResponse, error) + + // PluginsFirewallFqdnBulkPartialUpdate request with any body + PluginsFirewallFqdnBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnBulkPartialUpdateResponse, error) + + PluginsFirewallFqdnBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallFqdnBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnBulkPartialUpdateResponse, error) + + // PluginsFirewallFqdnCreate request with any body + PluginsFirewallFqdnCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnCreateResponse, error) + + PluginsFirewallFqdnCreateWithResponse(ctx context.Context, body PluginsFirewallFqdnCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnCreateResponse, error) + + // PluginsFirewallFqdnBulkUpdate request with any body + PluginsFirewallFqdnBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnBulkUpdateResponse, error) + + PluginsFirewallFqdnBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallFqdnBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnBulkUpdateResponse, error) + + // PluginsFirewallFqdnDestroy request + PluginsFirewallFqdnDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnDestroyResponse, error) + + // PluginsFirewallFqdnRetrieve request + PluginsFirewallFqdnRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnRetrieveResponse, error) + + // PluginsFirewallFqdnPartialUpdate request with any body + PluginsFirewallFqdnPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnPartialUpdateResponse, error) + + PluginsFirewallFqdnPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallFqdnPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnPartialUpdateResponse, error) + + // PluginsFirewallFqdnUpdate request with any body + PluginsFirewallFqdnUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnUpdateResponse, error) + + PluginsFirewallFqdnUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallFqdnUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnUpdateResponse, error) + + // PluginsFirewallFqdnNotesList request + PluginsFirewallFqdnNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallFqdnNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnNotesListResponse, error) + + // PluginsFirewallFqdnNotesCreate request with any body + PluginsFirewallFqdnNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnNotesCreateResponse, error) + + PluginsFirewallFqdnNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallFqdnNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnNotesCreateResponse, error) + + // PluginsFirewallIpRangeBulkDestroy request with any body + PluginsFirewallIpRangeBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeBulkDestroyResponse, error) + + PluginsFirewallIpRangeBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallIpRangeBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeBulkDestroyResponse, error) + + // PluginsFirewallIpRangeList request + PluginsFirewallIpRangeListWithResponse(ctx context.Context, params *PluginsFirewallIpRangeListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeListResponse, error) + + // PluginsFirewallIpRangeBulkPartialUpdate request with any body + PluginsFirewallIpRangeBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeBulkPartialUpdateResponse, error) + + PluginsFirewallIpRangeBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallIpRangeBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeBulkPartialUpdateResponse, error) + + // PluginsFirewallIpRangeCreate request with any body + PluginsFirewallIpRangeCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeCreateResponse, error) + + PluginsFirewallIpRangeCreateWithResponse(ctx context.Context, body PluginsFirewallIpRangeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeCreateResponse, error) + + // PluginsFirewallIpRangeBulkUpdate request with any body + PluginsFirewallIpRangeBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeBulkUpdateResponse, error) + + PluginsFirewallIpRangeBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallIpRangeBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeBulkUpdateResponse, error) + + // PluginsFirewallIpRangeDestroy request + PluginsFirewallIpRangeDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeDestroyResponse, error) + + // PluginsFirewallIpRangeRetrieve request + PluginsFirewallIpRangeRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeRetrieveResponse, error) + + // PluginsFirewallIpRangePartialUpdate request with any body + PluginsFirewallIpRangePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangePartialUpdateResponse, error) + + PluginsFirewallIpRangePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallIpRangePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangePartialUpdateResponse, error) + + // PluginsFirewallIpRangeUpdate request with any body + PluginsFirewallIpRangeUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeUpdateResponse, error) + + PluginsFirewallIpRangeUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallIpRangeUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeUpdateResponse, error) + + // PluginsFirewallIpRangeNotesList request + PluginsFirewallIpRangeNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallIpRangeNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeNotesListResponse, error) + + // PluginsFirewallIpRangeNotesCreate request with any body + PluginsFirewallIpRangeNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeNotesCreateResponse, error) + + PluginsFirewallIpRangeNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallIpRangeNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeNotesCreateResponse, error) + + // PluginsFirewallNatPolicyRuleBulkDestroy request with any body + PluginsFirewallNatPolicyRuleBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleBulkDestroyResponse, error) + + PluginsFirewallNatPolicyRuleBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallNatPolicyRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleBulkDestroyResponse, error) + + // PluginsFirewallNatPolicyRuleList request + PluginsFirewallNatPolicyRuleListWithResponse(ctx context.Context, params *PluginsFirewallNatPolicyRuleListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleListResponse, error) + + // PluginsFirewallNatPolicyRuleBulkPartialUpdate request with any body + PluginsFirewallNatPolicyRuleBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleBulkPartialUpdateResponse, error) + + PluginsFirewallNatPolicyRuleBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallNatPolicyRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleBulkPartialUpdateResponse, error) + + // PluginsFirewallNatPolicyRuleCreate request with any body + PluginsFirewallNatPolicyRuleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleCreateResponse, error) + + PluginsFirewallNatPolicyRuleCreateWithResponse(ctx context.Context, body PluginsFirewallNatPolicyRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleCreateResponse, error) + + // PluginsFirewallNatPolicyRuleBulkUpdate request with any body + PluginsFirewallNatPolicyRuleBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleBulkUpdateResponse, error) + + PluginsFirewallNatPolicyRuleBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallNatPolicyRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleBulkUpdateResponse, error) + + // PluginsFirewallNatPolicyRuleDestroy request + PluginsFirewallNatPolicyRuleDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleDestroyResponse, error) + + // PluginsFirewallNatPolicyRuleRetrieve request + PluginsFirewallNatPolicyRuleRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleRetrieveResponse, error) + + // PluginsFirewallNatPolicyRulePartialUpdate request with any body + PluginsFirewallNatPolicyRulePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRulePartialUpdateResponse, error) + + PluginsFirewallNatPolicyRulePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRulePartialUpdateResponse, error) + + // PluginsFirewallNatPolicyRuleUpdate request with any body + PluginsFirewallNatPolicyRuleUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleUpdateResponse, error) + + PluginsFirewallNatPolicyRuleUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleUpdateResponse, error) + + // PluginsFirewallNatPolicyRuleNotesList request + PluginsFirewallNatPolicyRuleNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallNatPolicyRuleNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleNotesListResponse, error) + + // PluginsFirewallNatPolicyRuleNotesCreate request with any body + PluginsFirewallNatPolicyRuleNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleNotesCreateResponse, error) + + PluginsFirewallNatPolicyRuleNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyRuleNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleNotesCreateResponse, error) + + // PluginsFirewallNatPolicyBulkDestroy request with any body + PluginsFirewallNatPolicyBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyBulkDestroyResponse, error) + + PluginsFirewallNatPolicyBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallNatPolicyBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyBulkDestroyResponse, error) + + // PluginsFirewallNatPolicyList request + PluginsFirewallNatPolicyListWithResponse(ctx context.Context, params *PluginsFirewallNatPolicyListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyListResponse, error) + + // PluginsFirewallNatPolicyBulkPartialUpdate request with any body + PluginsFirewallNatPolicyBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyBulkPartialUpdateResponse, error) + + PluginsFirewallNatPolicyBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallNatPolicyBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyBulkPartialUpdateResponse, error) + + // PluginsFirewallNatPolicyCreate request with any body + PluginsFirewallNatPolicyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyCreateResponse, error) + + PluginsFirewallNatPolicyCreateWithResponse(ctx context.Context, body PluginsFirewallNatPolicyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyCreateResponse, error) + + // PluginsFirewallNatPolicyBulkUpdate request with any body + PluginsFirewallNatPolicyBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyBulkUpdateResponse, error) + + PluginsFirewallNatPolicyBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallNatPolicyBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyBulkUpdateResponse, error) + + // PluginsFirewallNatPolicyDestroy request + PluginsFirewallNatPolicyDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyDestroyResponse, error) + + // PluginsFirewallNatPolicyRetrieve request + PluginsFirewallNatPolicyRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRetrieveResponse, error) + + // PluginsFirewallNatPolicyPartialUpdate request with any body + PluginsFirewallNatPolicyPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyPartialUpdateResponse, error) + + PluginsFirewallNatPolicyPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyPartialUpdateResponse, error) + + // PluginsFirewallNatPolicyUpdate request with any body + PluginsFirewallNatPolicyUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyUpdateResponse, error) + + PluginsFirewallNatPolicyUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyUpdateResponse, error) + + // PluginsFirewallNatPolicyNotesList request + PluginsFirewallNatPolicyNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallNatPolicyNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyNotesListResponse, error) + + // PluginsFirewallNatPolicyNotesCreate request with any body + PluginsFirewallNatPolicyNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyNotesCreateResponse, error) + + PluginsFirewallNatPolicyNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyNotesCreateResponse, error) + + // PluginsFirewallPolicyRuleBulkDestroy request with any body + PluginsFirewallPolicyRuleBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleBulkDestroyResponse, error) + + PluginsFirewallPolicyRuleBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallPolicyRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleBulkDestroyResponse, error) + + // PluginsFirewallPolicyRuleList request + PluginsFirewallPolicyRuleListWithResponse(ctx context.Context, params *PluginsFirewallPolicyRuleListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleListResponse, error) + + // PluginsFirewallPolicyRuleBulkPartialUpdate request with any body + PluginsFirewallPolicyRuleBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleBulkPartialUpdateResponse, error) + + PluginsFirewallPolicyRuleBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallPolicyRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleBulkPartialUpdateResponse, error) + + // PluginsFirewallPolicyRuleCreate request with any body + PluginsFirewallPolicyRuleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleCreateResponse, error) + + PluginsFirewallPolicyRuleCreateWithResponse(ctx context.Context, body PluginsFirewallPolicyRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleCreateResponse, error) + + // PluginsFirewallPolicyRuleBulkUpdate request with any body + PluginsFirewallPolicyRuleBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleBulkUpdateResponse, error) + + PluginsFirewallPolicyRuleBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallPolicyRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleBulkUpdateResponse, error) + + // PluginsFirewallPolicyRuleDestroy request + PluginsFirewallPolicyRuleDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleDestroyResponse, error) + + // PluginsFirewallPolicyRuleRetrieve request + PluginsFirewallPolicyRuleRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleRetrieveResponse, error) + + // PluginsFirewallPolicyRulePartialUpdate request with any body + PluginsFirewallPolicyRulePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRulePartialUpdateResponse, error) + + PluginsFirewallPolicyRulePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRulePartialUpdateResponse, error) + + // PluginsFirewallPolicyRuleUpdate request with any body + PluginsFirewallPolicyRuleUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleUpdateResponse, error) + + PluginsFirewallPolicyRuleUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleUpdateResponse, error) + + // PluginsFirewallPolicyRuleNotesList request + PluginsFirewallPolicyRuleNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallPolicyRuleNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleNotesListResponse, error) + + // PluginsFirewallPolicyRuleNotesCreate request with any body + PluginsFirewallPolicyRuleNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleNotesCreateResponse, error) + + PluginsFirewallPolicyRuleNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyRuleNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleNotesCreateResponse, error) + + // PluginsFirewallPolicyBulkDestroy request with any body + PluginsFirewallPolicyBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyBulkDestroyResponse, error) + + PluginsFirewallPolicyBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallPolicyBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyBulkDestroyResponse, error) + + // PluginsFirewallPolicyList request + PluginsFirewallPolicyListWithResponse(ctx context.Context, params *PluginsFirewallPolicyListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyListResponse, error) + + // PluginsFirewallPolicyBulkPartialUpdate request with any body + PluginsFirewallPolicyBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyBulkPartialUpdateResponse, error) + + PluginsFirewallPolicyBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallPolicyBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyBulkPartialUpdateResponse, error) + + // PluginsFirewallPolicyCreate request with any body + PluginsFirewallPolicyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyCreateResponse, error) + + PluginsFirewallPolicyCreateWithResponse(ctx context.Context, body PluginsFirewallPolicyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyCreateResponse, error) + + // PluginsFirewallPolicyBulkUpdate request with any body + PluginsFirewallPolicyBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyBulkUpdateResponse, error) + + PluginsFirewallPolicyBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallPolicyBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyBulkUpdateResponse, error) + + // PluginsFirewallPolicyDestroy request + PluginsFirewallPolicyDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyDestroyResponse, error) + + // PluginsFirewallPolicyRetrieve request + PluginsFirewallPolicyRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRetrieveResponse, error) + + // PluginsFirewallPolicyPartialUpdate request with any body + PluginsFirewallPolicyPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyPartialUpdateResponse, error) + + PluginsFirewallPolicyPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyPartialUpdateResponse, error) + + // PluginsFirewallPolicyUpdate request with any body + PluginsFirewallPolicyUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyUpdateResponse, error) + + PluginsFirewallPolicyUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyUpdateResponse, error) + + // PluginsFirewallPolicyNotesList request + PluginsFirewallPolicyNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallPolicyNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyNotesListResponse, error) + + // PluginsFirewallPolicyNotesCreate request with any body + PluginsFirewallPolicyNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyNotesCreateResponse, error) + + PluginsFirewallPolicyNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyNotesCreateResponse, error) + + // PluginsFirewallServiceObjectGroupBulkDestroy request with any body + PluginsFirewallServiceObjectGroupBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupBulkDestroyResponse, error) + + PluginsFirewallServiceObjectGroupBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallServiceObjectGroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupBulkDestroyResponse, error) + + // PluginsFirewallServiceObjectGroupList request + PluginsFirewallServiceObjectGroupListWithResponse(ctx context.Context, params *PluginsFirewallServiceObjectGroupListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupListResponse, error) + + // PluginsFirewallServiceObjectGroupBulkPartialUpdate request with any body + PluginsFirewallServiceObjectGroupBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupBulkPartialUpdateResponse, error) + + PluginsFirewallServiceObjectGroupBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallServiceObjectGroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupBulkPartialUpdateResponse, error) + + // PluginsFirewallServiceObjectGroupCreate request with any body + PluginsFirewallServiceObjectGroupCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupCreateResponse, error) + + PluginsFirewallServiceObjectGroupCreateWithResponse(ctx context.Context, body PluginsFirewallServiceObjectGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupCreateResponse, error) + + // PluginsFirewallServiceObjectGroupBulkUpdate request with any body + PluginsFirewallServiceObjectGroupBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupBulkUpdateResponse, error) + + PluginsFirewallServiceObjectGroupBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallServiceObjectGroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupBulkUpdateResponse, error) + + // PluginsFirewallServiceObjectGroupDestroy request + PluginsFirewallServiceObjectGroupDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupDestroyResponse, error) + + // PluginsFirewallServiceObjectGroupRetrieve request + PluginsFirewallServiceObjectGroupRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupRetrieveResponse, error) + + // PluginsFirewallServiceObjectGroupPartialUpdate request with any body + PluginsFirewallServiceObjectGroupPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupPartialUpdateResponse, error) + + PluginsFirewallServiceObjectGroupPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectGroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupPartialUpdateResponse, error) + + // PluginsFirewallServiceObjectGroupUpdate request with any body + PluginsFirewallServiceObjectGroupUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupUpdateResponse, error) + + PluginsFirewallServiceObjectGroupUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupUpdateResponse, error) + + // PluginsFirewallServiceObjectGroupNotesList request + PluginsFirewallServiceObjectGroupNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallServiceObjectGroupNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupNotesListResponse, error) + + // PluginsFirewallServiceObjectGroupNotesCreate request with any body + PluginsFirewallServiceObjectGroupNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupNotesCreateResponse, error) + + PluginsFirewallServiceObjectGroupNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectGroupNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupNotesCreateResponse, error) + + // PluginsFirewallServiceObjectBulkDestroy request with any body + PluginsFirewallServiceObjectBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectBulkDestroyResponse, error) + + PluginsFirewallServiceObjectBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallServiceObjectBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectBulkDestroyResponse, error) + + // PluginsFirewallServiceObjectList request + PluginsFirewallServiceObjectListWithResponse(ctx context.Context, params *PluginsFirewallServiceObjectListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectListResponse, error) + + // PluginsFirewallServiceObjectBulkPartialUpdate request with any body + PluginsFirewallServiceObjectBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectBulkPartialUpdateResponse, error) + + PluginsFirewallServiceObjectBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallServiceObjectBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectBulkPartialUpdateResponse, error) + + // PluginsFirewallServiceObjectCreate request with any body + PluginsFirewallServiceObjectCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectCreateResponse, error) + + PluginsFirewallServiceObjectCreateWithResponse(ctx context.Context, body PluginsFirewallServiceObjectCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectCreateResponse, error) + + // PluginsFirewallServiceObjectBulkUpdate request with any body + PluginsFirewallServiceObjectBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectBulkUpdateResponse, error) + + PluginsFirewallServiceObjectBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallServiceObjectBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectBulkUpdateResponse, error) + + // PluginsFirewallServiceObjectDestroy request + PluginsFirewallServiceObjectDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectDestroyResponse, error) + + // PluginsFirewallServiceObjectRetrieve request + PluginsFirewallServiceObjectRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectRetrieveResponse, error) + + // PluginsFirewallServiceObjectPartialUpdate request with any body + PluginsFirewallServiceObjectPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectPartialUpdateResponse, error) + + PluginsFirewallServiceObjectPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectPartialUpdateResponse, error) + + // PluginsFirewallServiceObjectUpdate request with any body + PluginsFirewallServiceObjectUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectUpdateResponse, error) + + PluginsFirewallServiceObjectUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectUpdateResponse, error) + + // PluginsFirewallServiceObjectNotesList request + PluginsFirewallServiceObjectNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallServiceObjectNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectNotesListResponse, error) + + // PluginsFirewallServiceObjectNotesCreate request with any body + PluginsFirewallServiceObjectNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectNotesCreateResponse, error) + + PluginsFirewallServiceObjectNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectNotesCreateResponse, error) + + // PluginsFirewallUserObjectGroupBulkDestroy request with any body + PluginsFirewallUserObjectGroupBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupBulkDestroyResponse, error) + + PluginsFirewallUserObjectGroupBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallUserObjectGroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupBulkDestroyResponse, error) + + // PluginsFirewallUserObjectGroupList request + PluginsFirewallUserObjectGroupListWithResponse(ctx context.Context, params *PluginsFirewallUserObjectGroupListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupListResponse, error) + + // PluginsFirewallUserObjectGroupBulkPartialUpdate request with any body + PluginsFirewallUserObjectGroupBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupBulkPartialUpdateResponse, error) + + PluginsFirewallUserObjectGroupBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallUserObjectGroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupBulkPartialUpdateResponse, error) + + // PluginsFirewallUserObjectGroupCreate request with any body + PluginsFirewallUserObjectGroupCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupCreateResponse, error) + + PluginsFirewallUserObjectGroupCreateWithResponse(ctx context.Context, body PluginsFirewallUserObjectGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupCreateResponse, error) + + // PluginsFirewallUserObjectGroupBulkUpdate request with any body + PluginsFirewallUserObjectGroupBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupBulkUpdateResponse, error) + + PluginsFirewallUserObjectGroupBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallUserObjectGroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupBulkUpdateResponse, error) + + // PluginsFirewallUserObjectGroupDestroy request + PluginsFirewallUserObjectGroupDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupDestroyResponse, error) + + // PluginsFirewallUserObjectGroupRetrieve request + PluginsFirewallUserObjectGroupRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupRetrieveResponse, error) + + // PluginsFirewallUserObjectGroupPartialUpdate request with any body + PluginsFirewallUserObjectGroupPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupPartialUpdateResponse, error) + + PluginsFirewallUserObjectGroupPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectGroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupPartialUpdateResponse, error) + + // PluginsFirewallUserObjectGroupUpdate request with any body + PluginsFirewallUserObjectGroupUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupUpdateResponse, error) + + PluginsFirewallUserObjectGroupUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupUpdateResponse, error) + + // PluginsFirewallUserObjectGroupNotesList request + PluginsFirewallUserObjectGroupNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallUserObjectGroupNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupNotesListResponse, error) + + // PluginsFirewallUserObjectGroupNotesCreate request with any body + PluginsFirewallUserObjectGroupNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupNotesCreateResponse, error) + + PluginsFirewallUserObjectGroupNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectGroupNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupNotesCreateResponse, error) + + // PluginsFirewallUserObjectBulkDestroy request with any body + PluginsFirewallUserObjectBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectBulkDestroyResponse, error) + + PluginsFirewallUserObjectBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallUserObjectBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectBulkDestroyResponse, error) + + // PluginsFirewallUserObjectList request + PluginsFirewallUserObjectListWithResponse(ctx context.Context, params *PluginsFirewallUserObjectListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectListResponse, error) + + // PluginsFirewallUserObjectBulkPartialUpdate request with any body + PluginsFirewallUserObjectBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectBulkPartialUpdateResponse, error) + + PluginsFirewallUserObjectBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallUserObjectBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectBulkPartialUpdateResponse, error) + + // PluginsFirewallUserObjectCreate request with any body + PluginsFirewallUserObjectCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectCreateResponse, error) + + PluginsFirewallUserObjectCreateWithResponse(ctx context.Context, body PluginsFirewallUserObjectCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectCreateResponse, error) + + // PluginsFirewallUserObjectBulkUpdate request with any body + PluginsFirewallUserObjectBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectBulkUpdateResponse, error) + + PluginsFirewallUserObjectBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallUserObjectBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectBulkUpdateResponse, error) + + // PluginsFirewallUserObjectDestroy request + PluginsFirewallUserObjectDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectDestroyResponse, error) + + // PluginsFirewallUserObjectRetrieve request + PluginsFirewallUserObjectRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectRetrieveResponse, error) + + // PluginsFirewallUserObjectPartialUpdate request with any body + PluginsFirewallUserObjectPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectPartialUpdateResponse, error) + + PluginsFirewallUserObjectPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectPartialUpdateResponse, error) + + // PluginsFirewallUserObjectUpdate request with any body + PluginsFirewallUserObjectUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectUpdateResponse, error) + + PluginsFirewallUserObjectUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectUpdateResponse, error) + + // PluginsFirewallUserObjectNotesList request + PluginsFirewallUserObjectNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallUserObjectNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectNotesListResponse, error) + + // PluginsFirewallUserObjectNotesCreate request with any body + PluginsFirewallUserObjectNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectNotesCreateResponse, error) + + PluginsFirewallUserObjectNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectNotesCreateResponse, error) + + // PluginsFirewallZoneBulkDestroy request with any body + PluginsFirewallZoneBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneBulkDestroyResponse, error) + + PluginsFirewallZoneBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallZoneBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneBulkDestroyResponse, error) + + // PluginsFirewallZoneList request + PluginsFirewallZoneListWithResponse(ctx context.Context, params *PluginsFirewallZoneListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneListResponse, error) + + // PluginsFirewallZoneBulkPartialUpdate request with any body + PluginsFirewallZoneBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneBulkPartialUpdateResponse, error) + + PluginsFirewallZoneBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallZoneBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneBulkPartialUpdateResponse, error) + + // PluginsFirewallZoneCreate request with any body + PluginsFirewallZoneCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneCreateResponse, error) + + PluginsFirewallZoneCreateWithResponse(ctx context.Context, body PluginsFirewallZoneCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneCreateResponse, error) + + // PluginsFirewallZoneBulkUpdate request with any body + PluginsFirewallZoneBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneBulkUpdateResponse, error) + + PluginsFirewallZoneBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallZoneBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneBulkUpdateResponse, error) + + // PluginsFirewallZoneDestroy request + PluginsFirewallZoneDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneDestroyResponse, error) + + // PluginsFirewallZoneRetrieve request + PluginsFirewallZoneRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneRetrieveResponse, error) + + // PluginsFirewallZonePartialUpdate request with any body + PluginsFirewallZonePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallZonePartialUpdateResponse, error) + + PluginsFirewallZonePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallZonePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallZonePartialUpdateResponse, error) + + // PluginsFirewallZoneUpdate request with any body + PluginsFirewallZoneUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneUpdateResponse, error) + + PluginsFirewallZoneUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallZoneUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneUpdateResponse, error) + + // PluginsFirewallZoneNotesList request + PluginsFirewallZoneNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallZoneNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneNotesListResponse, error) + + // PluginsFirewallZoneNotesCreate request with any body + PluginsFirewallZoneNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneNotesCreateResponse, error) + + PluginsFirewallZoneNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallZoneNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneNotesCreateResponse, error) + + // PluginsGoldenConfigComplianceFeatureBulkDestroy request with any body + PluginsGoldenConfigComplianceFeatureBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureBulkDestroyResponse, error) + + PluginsGoldenConfigComplianceFeatureBulkDestroyWithResponse(ctx context.Context, body PluginsGoldenConfigComplianceFeatureBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureBulkDestroyResponse, error) // PluginsGoldenConfigComplianceFeatureList request PluginsGoldenConfigComplianceFeatureListWithResponse(ctx context.Context, params *PluginsGoldenConfigComplianceFeatureListParams, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureListResponse, error) @@ -155369,8 +242177,10 @@ type ClientWithResponsesInterface interface { PluginsGoldenConfigComplianceFeatureUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigComplianceFeatureUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureUpdateResponse, error) - // PluginsGoldenConfigComplianceRuleBulkDestroy request - PluginsGoldenConfigComplianceRuleBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleBulkDestroyResponse, error) + // PluginsGoldenConfigComplianceRuleBulkDestroy request with any body + PluginsGoldenConfigComplianceRuleBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleBulkDestroyResponse, error) + + PluginsGoldenConfigComplianceRuleBulkDestroyWithResponse(ctx context.Context, body PluginsGoldenConfigComplianceRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleBulkDestroyResponse, error) // PluginsGoldenConfigComplianceRuleList request PluginsGoldenConfigComplianceRuleListWithResponse(ctx context.Context, params *PluginsGoldenConfigComplianceRuleListParams, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleListResponse, error) @@ -155406,8 +242216,10 @@ type ClientWithResponsesInterface interface { PluginsGoldenConfigComplianceRuleUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigComplianceRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleUpdateResponse, error) - // PluginsGoldenConfigConfigComplianceBulkDestroy request - PluginsGoldenConfigConfigComplianceBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceBulkDestroyResponse, error) + // PluginsGoldenConfigConfigComplianceBulkDestroy request with any body + PluginsGoldenConfigConfigComplianceBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceBulkDestroyResponse, error) + + PluginsGoldenConfigConfigComplianceBulkDestroyWithResponse(ctx context.Context, body PluginsGoldenConfigConfigComplianceBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceBulkDestroyResponse, error) // PluginsGoldenConfigConfigComplianceList request PluginsGoldenConfigConfigComplianceListWithResponse(ctx context.Context, params *PluginsGoldenConfigConfigComplianceListParams, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceListResponse, error) @@ -155443,8 +242255,13 @@ type ClientWithResponsesInterface interface { PluginsGoldenConfigConfigComplianceUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigComplianceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceUpdateResponse, error) - // PluginsGoldenConfigConfigRemoveBulkDestroy request - PluginsGoldenConfigConfigRemoveBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveBulkDestroyResponse, error) + // PluginsGoldenConfigConfigPostprocessingRetrieve request + PluginsGoldenConfigConfigPostprocessingRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigPostprocessingRetrieveResponse, error) + + // PluginsGoldenConfigConfigRemoveBulkDestroy request with any body + PluginsGoldenConfigConfigRemoveBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveBulkDestroyResponse, error) + + PluginsGoldenConfigConfigRemoveBulkDestroyWithResponse(ctx context.Context, body PluginsGoldenConfigConfigRemoveBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveBulkDestroyResponse, error) // PluginsGoldenConfigConfigRemoveList request PluginsGoldenConfigConfigRemoveListWithResponse(ctx context.Context, params *PluginsGoldenConfigConfigRemoveListParams, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveListResponse, error) @@ -155480,8 +242297,10 @@ type ClientWithResponsesInterface interface { PluginsGoldenConfigConfigRemoveUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigRemoveUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveUpdateResponse, error) - // PluginsGoldenConfigConfigReplaceBulkDestroy request - PluginsGoldenConfigConfigReplaceBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceBulkDestroyResponse, error) + // PluginsGoldenConfigConfigReplaceBulkDestroy request with any body + PluginsGoldenConfigConfigReplaceBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceBulkDestroyResponse, error) + + PluginsGoldenConfigConfigReplaceBulkDestroyWithResponse(ctx context.Context, body PluginsGoldenConfigConfigReplaceBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceBulkDestroyResponse, error) // PluginsGoldenConfigConfigReplaceList request PluginsGoldenConfigConfigReplaceListWithResponse(ctx context.Context, params *PluginsGoldenConfigConfigReplaceListParams, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceListResponse, error) @@ -155517,8 +242336,10 @@ type ClientWithResponsesInterface interface { PluginsGoldenConfigConfigReplaceUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigConfigReplaceUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceUpdateResponse, error) - // PluginsGoldenConfigGoldenConfigSettingsBulkDestroy request - PluginsGoldenConfigGoldenConfigSettingsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse, error) + // PluginsGoldenConfigGoldenConfigSettingsBulkDestroy request with any body + PluginsGoldenConfigGoldenConfigSettingsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse, error) + + PluginsGoldenConfigGoldenConfigSettingsBulkDestroyWithResponse(ctx context.Context, body PluginsGoldenConfigGoldenConfigSettingsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse, error) // PluginsGoldenConfigGoldenConfigSettingsList request PluginsGoldenConfigGoldenConfigSettingsListWithResponse(ctx context.Context, params *PluginsGoldenConfigGoldenConfigSettingsListParams, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsListResponse, error) @@ -155554,8 +242375,10 @@ type ClientWithResponsesInterface interface { PluginsGoldenConfigGoldenConfigSettingsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsGoldenConfigGoldenConfigSettingsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsUpdateResponse, error) - // PluginsGoldenConfigGoldenConfigBulkDestroy request - PluginsGoldenConfigGoldenConfigBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigBulkDestroyResponse, error) + // PluginsGoldenConfigGoldenConfigBulkDestroy request with any body + PluginsGoldenConfigGoldenConfigBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigBulkDestroyResponse, error) + + PluginsGoldenConfigGoldenConfigBulkDestroyWithResponse(ctx context.Context, body PluginsGoldenConfigGoldenConfigBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigBulkDestroyResponse, error) // PluginsGoldenConfigGoldenConfigList request PluginsGoldenConfigGoldenConfigListWithResponse(ctx context.Context, params *PluginsGoldenConfigGoldenConfigListParams, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigListResponse, error) @@ -155594,8 +242417,10 @@ type ClientWithResponsesInterface interface { // PluginsGoldenConfigSotaggRetrieve request PluginsGoldenConfigSotaggRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigSotaggRetrieveResponse, error) - // PluginsNautobotDeviceLifecycleMgmtContactBulkDestroy request - PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse, error) + // PluginsNautobotDeviceLifecycleMgmtContactBulkDestroy request with any body + PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse, error) + + PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse, error) // PluginsNautobotDeviceLifecycleMgmtContactList request PluginsNautobotDeviceLifecycleMgmtContactListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtContactListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactListResponse, error) @@ -155631,8 +242456,10 @@ type ClientWithResponsesInterface interface { PluginsNautobotDeviceLifecycleMgmtContactUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContactUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactUpdateResponse, error) - // PluginsNautobotDeviceLifecycleMgmtContractBulkDestroy request - PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse, error) + // PluginsNautobotDeviceLifecycleMgmtContractBulkDestroy request with any body + PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse, error) + + PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse, error) // PluginsNautobotDeviceLifecycleMgmtContractList request PluginsNautobotDeviceLifecycleMgmtContractListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtContractListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractListResponse, error) @@ -155668,8 +242495,10 @@ type ClientWithResponsesInterface interface { PluginsNautobotDeviceLifecycleMgmtContractUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtContractUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractUpdateResponse, error) - // PluginsNautobotDeviceLifecycleMgmtCveBulkDestroy request - PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse, error) + // PluginsNautobotDeviceLifecycleMgmtCveBulkDestroy request with any body + PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse, error) + + PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse, error) // PluginsNautobotDeviceLifecycleMgmtCveList request PluginsNautobotDeviceLifecycleMgmtCveListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtCveListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveListResponse, error) @@ -155705,8 +242534,10 @@ type ClientWithResponsesInterface interface { PluginsNautobotDeviceLifecycleMgmtCveUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtCveUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveUpdateResponse, error) - // PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroy request - PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse, error) + // PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroy request with any body + PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse, error) + + PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse, error) // PluginsNautobotDeviceLifecycleMgmtHardwareList request PluginsNautobotDeviceLifecycleMgmtHardwareListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtHardwareListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareListResponse, error) @@ -155742,8 +242573,10 @@ type ClientWithResponsesInterface interface { PluginsNautobotDeviceLifecycleMgmtHardwareUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtHardwareUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareUpdateResponse, error) - // PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroy request - PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse, error) + // PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroy request with any body + PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse, error) + + PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse, error) // PluginsNautobotDeviceLifecycleMgmtProviderList request PluginsNautobotDeviceLifecycleMgmtProviderListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtProviderListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderListResponse, error) @@ -155779,8 +242612,10 @@ type ClientWithResponsesInterface interface { PluginsNautobotDeviceLifecycleMgmtProviderUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtProviderUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderUpdateResponse, error) - // PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroy request - PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse, error) + // PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroy request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse, error) // PluginsNautobotDeviceLifecycleMgmtSoftwareImageList request PluginsNautobotDeviceLifecycleMgmtSoftwareImageListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtSoftwareImageListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageListResponse, error) @@ -155816,8 +242651,10 @@ type ClientWithResponsesInterface interface { PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateResponse, error) - // PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroy request - PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse, error) + // PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroy request with any body + PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse, error) + + PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse, error) // PluginsNautobotDeviceLifecycleMgmtSoftwareList request PluginsNautobotDeviceLifecycleMgmtSoftwareListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtSoftwareListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareListResponse, error) @@ -155853,8 +242690,10 @@ type ClientWithResponsesInterface interface { PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateResponse, error) - // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroy request - PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse, error) + // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroy request with any body + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse, error) + + PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse, error) // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareList request PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListResponse, error) @@ -155890,8 +242729,10 @@ type ClientWithResponsesInterface interface { PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateResponse, error) - // PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroy request - PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse, error) + // PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroy request with any body + PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse, error) + + PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse, error) // PluginsNautobotDeviceLifecycleMgmtVulnerabilityList request PluginsNautobotDeviceLifecycleMgmtVulnerabilityListWithResponse(ctx context.Context, params *PluginsNautobotDeviceLifecycleMgmtVulnerabilityListParams, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityListResponse, error) @@ -155934,8 +242775,10 @@ type ClientWithResponsesInterface interface { // SwaggerRetrieve request SwaggerRetrieveWithResponse(ctx context.Context, params *SwaggerRetrieveParams, reqEditors ...RequestEditorFn) (*SwaggerRetrieveResponse, error) - // TenancyTenantGroupsBulkDestroy request - TenancyTenantGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsBulkDestroyResponse, error) + // TenancyTenantGroupsBulkDestroy request with any body + TenancyTenantGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsBulkDestroyResponse, error) + + TenancyTenantGroupsBulkDestroyWithResponse(ctx context.Context, body TenancyTenantGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsBulkDestroyResponse, error) // TenancyTenantGroupsList request TenancyTenantGroupsListWithResponse(ctx context.Context, params *TenancyTenantGroupsListParams, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsListResponse, error) @@ -155971,8 +242814,18 @@ type ClientWithResponsesInterface interface { TenancyTenantGroupsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body TenancyTenantGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsUpdateResponse, error) - // TenancyTenantsBulkDestroy request - TenancyTenantsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TenancyTenantsBulkDestroyResponse, error) + // TenancyTenantGroupsNotesList request + TenancyTenantGroupsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *TenancyTenantGroupsNotesListParams, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsNotesListResponse, error) + + // TenancyTenantGroupsNotesCreate request with any body + TenancyTenantGroupsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsNotesCreateResponse, error) + + TenancyTenantGroupsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body TenancyTenantGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsNotesCreateResponse, error) + + // TenancyTenantsBulkDestroy request with any body + TenancyTenantsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantsBulkDestroyResponse, error) + + TenancyTenantsBulkDestroyWithResponse(ctx context.Context, body TenancyTenantsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantsBulkDestroyResponse, error) // TenancyTenantsList request TenancyTenantsListWithResponse(ctx context.Context, params *TenancyTenantsListParams, reqEditors ...RequestEditorFn) (*TenancyTenantsListResponse, error) @@ -156008,11 +242861,21 @@ type ClientWithResponsesInterface interface { TenancyTenantsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body TenancyTenantsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantsUpdateResponse, error) + // TenancyTenantsNotesList request + TenancyTenantsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *TenancyTenantsNotesListParams, reqEditors ...RequestEditorFn) (*TenancyTenantsNotesListResponse, error) + + // TenancyTenantsNotesCreate request with any body + TenancyTenantsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantsNotesCreateResponse, error) + + TenancyTenantsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body TenancyTenantsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantsNotesCreateResponse, error) + // UsersConfigRetrieve request UsersConfigRetrieveWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersConfigRetrieveResponse, error) - // UsersGroupsBulkDestroy request - UsersGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersGroupsBulkDestroyResponse, error) + // UsersGroupsBulkDestroy request with any body + UsersGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersGroupsBulkDestroyResponse, error) + + UsersGroupsBulkDestroyWithResponse(ctx context.Context, body UsersGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersGroupsBulkDestroyResponse, error) // UsersGroupsList request UsersGroupsListWithResponse(ctx context.Context, params *UsersGroupsListParams, reqEditors ...RequestEditorFn) (*UsersGroupsListResponse, error) @@ -156048,8 +242911,10 @@ type ClientWithResponsesInterface interface { UsersGroupsUpdateWithResponse(ctx context.Context, id int, body UsersGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersGroupsUpdateResponse, error) - // UsersPermissionsBulkDestroy request - UsersPermissionsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersPermissionsBulkDestroyResponse, error) + // UsersPermissionsBulkDestroy request with any body + UsersPermissionsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersPermissionsBulkDestroyResponse, error) + + UsersPermissionsBulkDestroyWithResponse(ctx context.Context, body UsersPermissionsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersPermissionsBulkDestroyResponse, error) // UsersPermissionsList request UsersPermissionsListWithResponse(ctx context.Context, params *UsersPermissionsListParams, reqEditors ...RequestEditorFn) (*UsersPermissionsListResponse, error) @@ -156085,8 +242950,10 @@ type ClientWithResponsesInterface interface { UsersPermissionsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body UsersPermissionsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersPermissionsUpdateResponse, error) - // UsersTokensBulkDestroy request - UsersTokensBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersTokensBulkDestroyResponse, error) + // UsersTokensBulkDestroy request with any body + UsersTokensBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersTokensBulkDestroyResponse, error) + + UsersTokensBulkDestroyWithResponse(ctx context.Context, body UsersTokensBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersTokensBulkDestroyResponse, error) // UsersTokensList request UsersTokensListWithResponse(ctx context.Context, params *UsersTokensListParams, reqEditors ...RequestEditorFn) (*UsersTokensListResponse, error) @@ -156122,8 +242989,10 @@ type ClientWithResponsesInterface interface { UsersTokensUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body UsersTokensUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersTokensUpdateResponse, error) - // UsersUsersBulkDestroy request - UsersUsersBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersUsersBulkDestroyResponse, error) + // UsersUsersBulkDestroy request with any body + UsersUsersBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersUsersBulkDestroyResponse, error) + + UsersUsersBulkDestroyWithResponse(ctx context.Context, body UsersUsersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersUsersBulkDestroyResponse, error) // UsersUsersList request UsersUsersListWithResponse(ctx context.Context, params *UsersUsersListParams, reqEditors ...RequestEditorFn) (*UsersUsersListResponse, error) @@ -156159,8 +243028,10 @@ type ClientWithResponsesInterface interface { UsersUsersUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body UsersUsersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersUsersUpdateResponse, error) - // VirtualizationClusterGroupsBulkDestroy request - VirtualizationClusterGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsBulkDestroyResponse, error) + // VirtualizationClusterGroupsBulkDestroy request with any body + VirtualizationClusterGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsBulkDestroyResponse, error) + + VirtualizationClusterGroupsBulkDestroyWithResponse(ctx context.Context, body VirtualizationClusterGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsBulkDestroyResponse, error) // VirtualizationClusterGroupsList request VirtualizationClusterGroupsListWithResponse(ctx context.Context, params *VirtualizationClusterGroupsListParams, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsListResponse, error) @@ -156196,8 +243067,18 @@ type ClientWithResponsesInterface interface { VirtualizationClusterGroupsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsUpdateResponse, error) - // VirtualizationClusterTypesBulkDestroy request - VirtualizationClusterTypesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesBulkDestroyResponse, error) + // VirtualizationClusterGroupsNotesList request + VirtualizationClusterGroupsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *VirtualizationClusterGroupsNotesListParams, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsNotesListResponse, error) + + // VirtualizationClusterGroupsNotesCreate request with any body + VirtualizationClusterGroupsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsNotesCreateResponse, error) + + VirtualizationClusterGroupsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsNotesCreateResponse, error) + + // VirtualizationClusterTypesBulkDestroy request with any body + VirtualizationClusterTypesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesBulkDestroyResponse, error) + + VirtualizationClusterTypesBulkDestroyWithResponse(ctx context.Context, body VirtualizationClusterTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesBulkDestroyResponse, error) // VirtualizationClusterTypesList request VirtualizationClusterTypesListWithResponse(ctx context.Context, params *VirtualizationClusterTypesListParams, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesListResponse, error) @@ -156233,8 +243114,18 @@ type ClientWithResponsesInterface interface { VirtualizationClusterTypesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesUpdateResponse, error) - // VirtualizationClustersBulkDestroy request - VirtualizationClustersBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VirtualizationClustersBulkDestroyResponse, error) + // VirtualizationClusterTypesNotesList request + VirtualizationClusterTypesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *VirtualizationClusterTypesNotesListParams, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesNotesListResponse, error) + + // VirtualizationClusterTypesNotesCreate request with any body + VirtualizationClusterTypesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesNotesCreateResponse, error) + + VirtualizationClusterTypesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterTypesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesNotesCreateResponse, error) + + // VirtualizationClustersBulkDestroy request with any body + VirtualizationClustersBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClustersBulkDestroyResponse, error) + + VirtualizationClustersBulkDestroyWithResponse(ctx context.Context, body VirtualizationClustersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClustersBulkDestroyResponse, error) // VirtualizationClustersList request VirtualizationClustersListWithResponse(ctx context.Context, params *VirtualizationClustersListParams, reqEditors ...RequestEditorFn) (*VirtualizationClustersListResponse, error) @@ -156270,8 +243161,18 @@ type ClientWithResponsesInterface interface { VirtualizationClustersUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationClustersUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClustersUpdateResponse, error) - // VirtualizationInterfacesBulkDestroy request - VirtualizationInterfacesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesBulkDestroyResponse, error) + // VirtualizationClustersNotesList request + VirtualizationClustersNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *VirtualizationClustersNotesListParams, reqEditors ...RequestEditorFn) (*VirtualizationClustersNotesListResponse, error) + + // VirtualizationClustersNotesCreate request with any body + VirtualizationClustersNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClustersNotesCreateResponse, error) + + VirtualizationClustersNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationClustersNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClustersNotesCreateResponse, error) + + // VirtualizationInterfacesBulkDestroy request with any body + VirtualizationInterfacesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesBulkDestroyResponse, error) + + VirtualizationInterfacesBulkDestroyWithResponse(ctx context.Context, body VirtualizationInterfacesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesBulkDestroyResponse, error) // VirtualizationInterfacesList request VirtualizationInterfacesListWithResponse(ctx context.Context, params *VirtualizationInterfacesListParams, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesListResponse, error) @@ -156307,8 +243208,18 @@ type ClientWithResponsesInterface interface { VirtualizationInterfacesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationInterfacesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesUpdateResponse, error) - // VirtualizationVirtualMachinesBulkDestroy request - VirtualizationVirtualMachinesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesBulkDestroyResponse, error) + // VirtualizationInterfacesNotesList request + VirtualizationInterfacesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *VirtualizationInterfacesNotesListParams, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesNotesListResponse, error) + + // VirtualizationInterfacesNotesCreate request with any body + VirtualizationInterfacesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesNotesCreateResponse, error) + + VirtualizationInterfacesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationInterfacesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesNotesCreateResponse, error) + + // VirtualizationVirtualMachinesBulkDestroy request with any body + VirtualizationVirtualMachinesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesBulkDestroyResponse, error) + + VirtualizationVirtualMachinesBulkDestroyWithResponse(ctx context.Context, body VirtualizationVirtualMachinesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesBulkDestroyResponse, error) // VirtualizationVirtualMachinesList request VirtualizationVirtualMachinesListWithResponse(ctx context.Context, params *VirtualizationVirtualMachinesListParams, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesListResponse, error) @@ -156343,6 +243254,14 @@ type ClientWithResponsesInterface interface { VirtualizationVirtualMachinesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesUpdateResponse, error) VirtualizationVirtualMachinesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationVirtualMachinesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesUpdateResponse, error) + + // VirtualizationVirtualMachinesNotesList request + VirtualizationVirtualMachinesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *VirtualizationVirtualMachinesNotesListParams, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesNotesListResponse, error) + + // VirtualizationVirtualMachinesNotesCreate request with any body + VirtualizationVirtualMachinesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesNotesCreateResponse, error) + + VirtualizationVirtualMachinesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationVirtualMachinesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesNotesCreateResponse, error) } type CircuitsCircuitTerminationsBulkDestroyResponse struct { @@ -156534,6 +243453,48 @@ func (r CircuitsCircuitTerminationsUpdateResponse) StatusCode() int { return 0 } +type CircuitsCircuitTerminationsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTerminationsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTerminationsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitTerminationsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTerminationsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTerminationsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type CircuitsCircuitTerminationsTraceRetrieveResponse struct { Body []byte HTTPResponse *http.Response @@ -156744,6 +243705,48 @@ func (r CircuitsCircuitTypesUpdateResponse) StatusCode() int { return 0 } +type CircuitsCircuitTypesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTypesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTypesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitTypesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitTypesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitTypesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type CircuitsCircuitsBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -156933,6 +243936,48 @@ func (r CircuitsCircuitsUpdateResponse) StatusCode() int { return 0 } +type CircuitsCircuitsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsCircuitsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsCircuitsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsCircuitsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type CircuitsProviderNetworksBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -157122,6 +244167,48 @@ func (r CircuitsProviderNetworksUpdateResponse) StatusCode() int { return 0 } +type CircuitsProviderNetworksNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProviderNetworksNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProviderNetworksNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProviderNetworksNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProviderNetworksNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProviderNetworksNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type CircuitsProvidersBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -157311,6 +244398,48 @@ func (r CircuitsProvidersUpdateResponse) StatusCode() int { return 0 } +type CircuitsProvidersNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProvidersNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProvidersNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type CircuitsProvidersNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r CircuitsProvidersNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r CircuitsProvidersNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimCablesBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -157500,6 +244629,48 @@ func (r DcimCablesUpdateResponse) StatusCode() int { return 0 } +type DcimCablesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimCablesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimCablesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimCablesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimCablesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimCablesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimConnectedDeviceListResponse struct { Body []byte HTTPResponse *http.Response @@ -157731,6 +244902,48 @@ func (r DcimConsolePortTemplatesUpdateResponse) StatusCode() int { return 0 } +type DcimConsolePortTemplatesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortTemplatesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortTemplatesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsolePortTemplatesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortTemplatesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortTemplatesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimConsolePortsBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -157920,6 +245133,48 @@ func (r DcimConsolePortsUpdateResponse) StatusCode() int { return 0 } +type DcimConsolePortsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsolePortsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsolePortsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsolePortsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimConsolePortsTraceRetrieveResponse struct { Body []byte HTTPResponse *http.Response @@ -158130,6 +245385,48 @@ func (r DcimConsoleServerPortTemplatesUpdateResponse) StatusCode() int { return 0 } +type DcimConsoleServerPortTemplatesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortTemplatesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortTemplatesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleServerPortTemplatesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortTemplatesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortTemplatesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimConsoleServerPortsBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -158319,6 +245616,48 @@ func (r DcimConsoleServerPortsUpdateResponse) StatusCode() int { return 0 } +type DcimConsoleServerPortsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimConsoleServerPortsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimConsoleServerPortsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimConsoleServerPortsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimConsoleServerPortsTraceRetrieveResponse struct { Body []byte HTTPResponse *http.Response @@ -158529,6 +245868,48 @@ func (r DcimDeviceBayTemplatesUpdateResponse) StatusCode() int { return 0 } +type DcimDeviceBayTemplatesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBayTemplatesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBayTemplatesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceBayTemplatesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBayTemplatesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBayTemplatesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimDeviceBaysBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -158718,6 +246099,279 @@ func (r DcimDeviceBaysUpdateResponse) StatusCode() int { return 0 } +type DcimDeviceBaysNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBaysNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBaysNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceBaysNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceBaysNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceBaysNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceRedundancyGroupsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRedundancyGroupsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRedundancyGroupsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceRedundancyGroupsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRedundancyGroupsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRedundancyGroupsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceRedundancyGroupsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRedundancyGroupsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRedundancyGroupsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceRedundancyGroupsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRedundancyGroupsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRedundancyGroupsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceRedundancyGroupsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRedundancyGroupsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRedundancyGroupsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceRedundancyGroupsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRedundancyGroupsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRedundancyGroupsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceRedundancyGroupsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRedundancyGroupsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRedundancyGroupsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceRedundancyGroupsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRedundancyGroupsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRedundancyGroupsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceRedundancyGroupsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRedundancyGroupsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRedundancyGroupsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceRedundancyGroupsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRedundancyGroupsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRedundancyGroupsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceRedundancyGroupsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRedundancyGroupsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRedundancyGroupsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimDeviceRolesBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -158907,6 +246561,48 @@ func (r DcimDeviceRolesUpdateResponse) StatusCode() int { return 0 } +type DcimDeviceRolesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRolesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRolesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceRolesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceRolesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceRolesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimDeviceTypesBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -159096,6 +246792,48 @@ func (r DcimDeviceTypesUpdateResponse) StatusCode() int { return 0 } +type DcimDeviceTypesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceTypesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceTypesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDeviceTypesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDeviceTypesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDeviceTypesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimDevicesBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -159306,6 +247044,48 @@ func (r DcimDevicesNapalmRetrieveResponse) StatusCode() int { return 0 } +type DcimDevicesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDevicesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDevicesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimDevicesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimDevicesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimDevicesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimFrontPortTemplatesBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -159495,6 +247275,48 @@ func (r DcimFrontPortTemplatesUpdateResponse) StatusCode() int { return 0 } +type DcimFrontPortTemplatesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortTemplatesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortTemplatesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimFrontPortTemplatesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortTemplatesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortTemplatesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimFrontPortsBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -159684,6 +247506,48 @@ func (r DcimFrontPortsUpdateResponse) StatusCode() int { return 0 } +type DcimFrontPortsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimFrontPortsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimFrontPortsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimFrontPortsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimFrontPortsPathsRetrieveResponse struct { Body []byte HTTPResponse *http.Response @@ -159915,6 +247779,48 @@ func (r DcimInterfaceTemplatesUpdateResponse) StatusCode() int { return 0 } +type DcimInterfaceTemplatesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfaceTemplatesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfaceTemplatesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfaceTemplatesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfaceTemplatesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfaceTemplatesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimInterfacesBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -160104,6 +248010,48 @@ func (r DcimInterfacesUpdateResponse) StatusCode() int { return 0 } +type DcimInterfacesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfacesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfacesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInterfacesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInterfacesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInterfacesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimInterfacesTraceRetrieveResponse struct { Body []byte HTTPResponse *http.Response @@ -160314,6 +248262,510 @@ func (r DcimInventoryItemsUpdateResponse) StatusCode() int { return 0 } +type DcimInventoryItemsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimInventoryItemsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimInventoryItemsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimInventoryItemsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationTypesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationTypesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationTypesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationTypesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationTypesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationTypesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationTypesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationTypesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationTypesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationTypesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationTypesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationTypesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationTypesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationTypesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationTypesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationTypesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationTypesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationTypesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationTypesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationTypesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationTypesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationTypesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationTypesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationTypesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationTypesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationTypesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationTypesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationTypesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationTypesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationTypesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationTypesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationTypesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationTypesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimLocationsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimLocationsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimLocationsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimManufacturersBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -160503,6 +248955,48 @@ func (r DcimManufacturersUpdateResponse) StatusCode() int { return 0 } +type DcimManufacturersNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimManufacturersNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimManufacturersNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimManufacturersNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimManufacturersNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimManufacturersNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimPlatformsBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -160692,6 +249186,48 @@ func (r DcimPlatformsUpdateResponse) StatusCode() int { return 0 } +type DcimPlatformsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPlatformsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPlatformsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPlatformsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPlatformsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPlatformsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimPowerConnectionsListResponse struct { Body []byte HTTPResponse *http.Response @@ -160902,6 +249438,48 @@ func (r DcimPowerFeedsUpdateResponse) StatusCode() int { return 0 } +type DcimPowerFeedsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerFeedsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerFeedsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerFeedsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerFeedsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerFeedsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimPowerFeedsTraceRetrieveResponse struct { Body []byte HTTPResponse *http.Response @@ -161112,6 +249690,48 @@ func (r DcimPowerOutletTemplatesUpdateResponse) StatusCode() int { return 0 } +type DcimPowerOutletTemplatesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletTemplatesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletTemplatesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerOutletTemplatesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletTemplatesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletTemplatesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimPowerOutletsBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -161301,6 +249921,48 @@ func (r DcimPowerOutletsUpdateResponse) StatusCode() int { return 0 } +type DcimPowerOutletsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerOutletsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerOutletsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerOutletsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimPowerOutletsTraceRetrieveResponse struct { Body []byte HTTPResponse *http.Response @@ -161511,6 +250173,48 @@ func (r DcimPowerPanelsUpdateResponse) StatusCode() int { return 0 } +type DcimPowerPanelsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPanelsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPanelsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPanelsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPanelsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPanelsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimPowerPortTemplatesBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -161700,6 +250404,48 @@ func (r DcimPowerPortTemplatesUpdateResponse) StatusCode() int { return 0 } +type DcimPowerPortTemplatesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortTemplatesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortTemplatesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPortTemplatesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortTemplatesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortTemplatesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimPowerPortsBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -161889,6 +250635,48 @@ func (r DcimPowerPortsUpdateResponse) StatusCode() int { return 0 } +type DcimPowerPortsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimPowerPortsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimPowerPortsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimPowerPortsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimPowerPortsTraceRetrieveResponse struct { Body []byte HTTPResponse *http.Response @@ -162099,6 +250887,48 @@ func (r DcimRackGroupsUpdateResponse) StatusCode() int { return 0 } +type DcimRackGroupsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackGroupsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackGroupsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackGroupsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackGroupsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackGroupsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimRackReservationsBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -162288,6 +251118,48 @@ func (r DcimRackReservationsUpdateResponse) StatusCode() int { return 0 } +type DcimRackReservationsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackReservationsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackReservationsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackReservationsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackReservationsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackReservationsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimRackRolesBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -162477,6 +251349,48 @@ func (r DcimRackRolesUpdateResponse) StatusCode() int { return 0 } +type DcimRackRolesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackRolesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackRolesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRackRolesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRackRolesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRackRolesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimRacksBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -162687,6 +251601,48 @@ func (r DcimRacksElevationListResponse) StatusCode() int { return 0 } +type DcimRacksNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRacksNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRacksNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRacksNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRacksNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRacksNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimRearPortTemplatesBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -162876,6 +251832,48 @@ func (r DcimRearPortTemplatesUpdateResponse) StatusCode() int { return 0 } +type DcimRearPortTemplatesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortTemplatesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortTemplatesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRearPortTemplatesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortTemplatesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortTemplatesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimRearPortsBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -163065,6 +252063,48 @@ func (r DcimRearPortsUpdateResponse) StatusCode() int { return 0 } +type DcimRearPortsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRearPortsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRearPortsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRearPortsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimRearPortsPathsRetrieveResponse struct { Body []byte HTTPResponse *http.Response @@ -163275,6 +252315,48 @@ func (r DcimRegionsUpdateResponse) StatusCode() int { return 0 } +type DcimRegionsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRegionsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRegionsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimRegionsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimRegionsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimRegionsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimSitesBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -163464,6 +252546,48 @@ func (r DcimSitesUpdateResponse) StatusCode() int { return 0 } +type DcimSitesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimSitesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimSitesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimSitesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimSitesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimSitesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type DcimVirtualChassisBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -163653,6 +252777,48 @@ func (r DcimVirtualChassisUpdateResponse) StatusCode() int { return 0 } +type DcimVirtualChassisNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimVirtualChassisNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimVirtualChassisNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DcimVirtualChassisNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DcimVirtualChassisNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DcimVirtualChassisNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type ExtrasComputedFieldsBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -163842,6 +253008,48 @@ func (r ExtrasComputedFieldsUpdateResponse) StatusCode() int { return 0 } +type ExtrasComputedFieldsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasComputedFieldsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasComputedFieldsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasComputedFieldsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasComputedFieldsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasComputedFieldsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type ExtrasConfigContextSchemasBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -164031,6 +253239,48 @@ func (r ExtrasConfigContextSchemasUpdateResponse) StatusCode() int { return 0 } +type ExtrasConfigContextSchemasNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextSchemasNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextSchemasNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigContextSchemasNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextSchemasNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextSchemasNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type ExtrasConfigContextsBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -164220,6 +253470,48 @@ func (r ExtrasConfigContextsUpdateResponse) StatusCode() int { return 0 } +type ExtrasConfigContextsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasConfigContextsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasConfigContextsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasConfigContextsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type ExtrasContentTypesListResponse struct { Body []byte HTTPResponse *http.Response @@ -164640,6 +253932,48 @@ func (r ExtrasCustomFieldsUpdateResponse) StatusCode() int { return 0 } +type ExtrasCustomFieldsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomFieldsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomFieldsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomFieldsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type ExtrasCustomLinksBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -164829,6 +254163,237 @@ func (r ExtrasCustomLinksUpdateResponse) StatusCode() int { return 0 } +type ExtrasCustomLinksNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomLinksNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomLinksNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasCustomLinksNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasCustomLinksNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasCustomLinksNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDynamicGroupMembershipsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDynamicGroupMembershipsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDynamicGroupMembershipsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDynamicGroupMembershipsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDynamicGroupMembershipsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDynamicGroupMembershipsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDynamicGroupMembershipsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDynamicGroupMembershipsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDynamicGroupMembershipsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDynamicGroupMembershipsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDynamicGroupMembershipsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDynamicGroupMembershipsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDynamicGroupMembershipsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDynamicGroupMembershipsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDynamicGroupMembershipsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDynamicGroupMembershipsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDynamicGroupMembershipsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDynamicGroupMembershipsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDynamicGroupMembershipsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDynamicGroupMembershipsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDynamicGroupMembershipsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDynamicGroupMembershipsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDynamicGroupMembershipsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDynamicGroupMembershipsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDynamicGroupMembershipsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDynamicGroupMembershipsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDynamicGroupMembershipsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type ExtrasDynamicGroupsBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -165039,6 +254604,48 @@ func (r ExtrasDynamicGroupsMembersRetrieveResponse) StatusCode() int { return 0 } +type ExtrasDynamicGroupsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDynamicGroupsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDynamicGroupsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasDynamicGroupsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasDynamicGroupsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasDynamicGroupsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type ExtrasExportTemplatesBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -165228,6 +254835,48 @@ func (r ExtrasExportTemplatesUpdateResponse) StatusCode() int { return 0 } +type ExtrasExportTemplatesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasExportTemplatesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasExportTemplatesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasExportTemplatesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasExportTemplatesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasExportTemplatesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type ExtrasGitRepositoriesBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -165417,6 +255066,48 @@ func (r ExtrasGitRepositoriesUpdateResponse) StatusCode() int { return 0 } +type ExtrasGitRepositoriesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGitRepositoriesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGitRepositoriesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGitRepositoriesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGitRepositoriesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGitRepositoriesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type ExtrasGitRepositoriesSyncCreateResponse struct { Body []byte HTTPResponse *http.Response @@ -165627,6 +255318,48 @@ func (r ExtrasGraphqlQueriesUpdateResponse) StatusCode() int { return 0 } +type ExtrasGraphqlQueriesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGraphqlQueriesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGraphqlQueriesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasGraphqlQueriesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasGraphqlQueriesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasGraphqlQueriesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type ExtrasGraphqlQueriesRunCreateResponse struct { Body []byte HTTPResponse *http.Response @@ -165837,6 +255570,237 @@ func (r ExtrasImageAttachmentsUpdateResponse) StatusCode() int { return 0 } +type ExtrasJobHooksBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobHooksBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobHooksBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobHooksListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobHooksListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobHooksListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobHooksBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobHooksBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobHooksBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobHooksCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobHooksCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobHooksCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobHooksBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobHooksBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobHooksBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobHooksDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobHooksDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobHooksDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobHooksRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobHooksRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobHooksRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobHooksPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobHooksPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobHooksPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobHooksUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobHooksUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobHooksUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobHooksNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobHooksNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobHooksNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobHooksNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobHooksNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobHooksNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type ExtrasJobLogsListResponse struct { Body []byte HTTPResponse *http.Response @@ -165921,69 +255885,6 @@ func (r ExtrasJobResultsListResponse) StatusCode() int { return 0 } -type ExtrasJobResultsBulkPartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r ExtrasJobResultsBulkPartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r ExtrasJobResultsBulkPartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type ExtrasJobResultsCreateResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r ExtrasJobResultsCreateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r ExtrasJobResultsCreateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type ExtrasJobResultsBulkUpdateResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r ExtrasJobResultsBulkUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r ExtrasJobResultsBulkUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - type ExtrasJobResultsDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -166026,48 +255927,6 @@ func (r ExtrasJobResultsRetrieveResponse) StatusCode() int { return 0 } -type ExtrasJobResultsPartialUpdateResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r ExtrasJobResultsPartialUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r ExtrasJobResultsPartialUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type ExtrasJobResultsUpdateResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r ExtrasJobResultsUpdateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r ExtrasJobResultsUpdateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - type ExtrasJobResultsLogsRetrieveResponse struct { Body []byte HTTPResponse *http.Response @@ -166299,6 +256158,48 @@ func (r ExtrasJobsUpdateResponse) StatusCode() int { return 0 } +type ExtrasJobsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasJobsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasJobsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasJobsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type ExtrasJobsRunCreateResponse struct { Body []byte HTTPResponse *http.Response @@ -166341,6 +256242,195 @@ func (r ExtrasJobsVariablesListResponse) StatusCode() int { return 0 } +type ExtrasNotesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasNotesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasNotesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasNotesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasNotesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasNotesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasNotesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasNotesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasNotesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasNotesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasNotesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasNotesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasNotesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasNotesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasNotesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasNotesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasNotesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasNotesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasNotesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasNotesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasNotesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type ExtrasObjectChangesListResponse struct { Body []byte HTTPResponse *http.Response @@ -166761,6 +256851,48 @@ func (r ExtrasRelationshipsUpdateResponse) StatusCode() int { return 0 } +type ExtrasRelationshipsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasRelationshipsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasRelationshipsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasRelationshipsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasRelationshipsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasRelationshipsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type ExtrasScheduledJobsListResponse struct { Body []byte HTTPResponse *http.Response @@ -167244,6 +257376,48 @@ func (r ExtrasSecretsGroupsUpdateResponse) StatusCode() int { return 0 } +type ExtrasSecretsGroupsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsGroupsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsGroupsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsGroupsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsGroupsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsGroupsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type ExtrasSecretsBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -167433,6 +257607,48 @@ func (r ExtrasSecretsUpdateResponse) StatusCode() int { return 0 } +type ExtrasSecretsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasSecretsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasSecretsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasSecretsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type ExtrasStatusesBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -167622,6 +257838,48 @@ func (r ExtrasStatusesUpdateResponse) StatusCode() int { return 0 } +type ExtrasStatusesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasStatusesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasStatusesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasStatusesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasStatusesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasStatusesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type ExtrasTagsBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -167811,6 +258069,48 @@ func (r ExtrasTagsUpdateResponse) StatusCode() int { return 0 } +type ExtrasTagsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasTagsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasTagsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasTagsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasTagsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasTagsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type ExtrasWebhooksBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -168000,6 +258300,48 @@ func (r ExtrasWebhooksUpdateResponse) StatusCode() int { return 0 } +type ExtrasWebhooksNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasWebhooksNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasWebhooksNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type ExtrasWebhooksNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r ExtrasWebhooksNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r ExtrasWebhooksNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type GraphqlCreateResponse struct { Body []byte HTTPResponse *http.Response @@ -168210,6 +258552,48 @@ func (r IpamAggregatesUpdateResponse) StatusCode() int { return 0 } +type IpamAggregatesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamAggregatesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAggregatesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamAggregatesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamAggregatesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamAggregatesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type IpamIpAddressesBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -168399,6 +258783,48 @@ func (r IpamIpAddressesUpdateResponse) StatusCode() int { return 0 } +type IpamIpAddressesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamIpAddressesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpAddressesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamIpAddressesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamIpAddressesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamIpAddressesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type IpamPrefixesBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -168672,6 +259098,48 @@ func (r IpamPrefixesAvailablePrefixesCreateResponse) StatusCode() int { return 0 } +type IpamPrefixesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamPrefixesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamPrefixesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamPrefixesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamPrefixesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamPrefixesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type IpamRirsBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -168861,6 +259329,48 @@ func (r IpamRirsUpdateResponse) StatusCode() int { return 0 } +type IpamRirsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRirsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRirsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRirsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRirsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRirsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type IpamRolesBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -169050,6 +259560,48 @@ func (r IpamRolesUpdateResponse) StatusCode() int { return 0 } +type IpamRolesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRolesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRolesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRolesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRolesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRolesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type IpamRouteTargetsBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -169239,6 +259791,48 @@ func (r IpamRouteTargetsUpdateResponse) StatusCode() int { return 0 } +type IpamRouteTargetsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRouteTargetsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRouteTargetsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamRouteTargetsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamRouteTargetsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamRouteTargetsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type IpamServicesBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -169428,6 +260022,48 @@ func (r IpamServicesUpdateResponse) StatusCode() int { return 0 } +type IpamServicesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamServicesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamServicesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamServicesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamServicesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamServicesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type IpamVlanGroupsBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -169617,6 +260253,48 @@ func (r IpamVlanGroupsUpdateResponse) StatusCode() int { return 0 } +type IpamVlanGroupsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlanGroupsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlanGroupsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVlanGroupsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlanGroupsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlanGroupsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type IpamVlansBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -169806,6 +260484,48 @@ func (r IpamVlansUpdateResponse) StatusCode() int { return 0 } +type IpamVlansNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlansNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlansNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVlansNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVlansNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVlansNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type IpamVrfsBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -169995,6 +260715,1560 @@ func (r IpamVrfsUpdateResponse) StatusCode() int { return 0 } +type IpamVrfsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVrfsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVrfsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type IpamVrfsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r IpamVrfsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r IpamVrfsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpAddressFamiliesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpAddressFamiliesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpAddressFamiliesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpAddressFamiliesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpAddressFamiliesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpAddressFamiliesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpAddressFamiliesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpAddressFamiliesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpAddressFamiliesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpAddressFamiliesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpAddressFamiliesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpAddressFamiliesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpAddressFamiliesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpAddressFamiliesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpAddressFamiliesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpAddressFamiliesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpAddressFamiliesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpAddressFamiliesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpAddressFamiliesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpAddressFamiliesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpAddressFamiliesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpAddressFamiliesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpAddressFamiliesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpAddressFamiliesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpAddressFamiliesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpAddressFamiliesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpAddressFamiliesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpAutonomousSystemsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpAutonomousSystemsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpAutonomousSystemsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpAutonomousSystemsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpAutonomousSystemsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpAutonomousSystemsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpAutonomousSystemsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpAutonomousSystemsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpAutonomousSystemsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpAutonomousSystemsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpAutonomousSystemsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpAutonomousSystemsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpAutonomousSystemsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpAutonomousSystemsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpAutonomousSystemsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpAutonomousSystemsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpAutonomousSystemsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpAutonomousSystemsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpAutonomousSystemsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpAutonomousSystemsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpAutonomousSystemsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpAutonomousSystemsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpAutonomousSystemsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpAutonomousSystemsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpAutonomousSystemsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpAutonomousSystemsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpAutonomousSystemsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerEndpointsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerEndpointsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerEndpointsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerEndpointsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerEndpointsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerEndpointsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerEndpointsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerEndpointsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerEndpointsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerEndpointsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerEndpointsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerEndpointsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerEndpointsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerEndpointsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerEndpointsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerEndpointsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerEndpointsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerEndpointsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerEndpointsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerEndpointsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerEndpointsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerEndpointsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerEndpointsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerEndpointsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerEndpointsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerEndpointsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerEndpointsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerGroupTemplatesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupTemplatesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupTemplatesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerGroupTemplatesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupTemplatesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupTemplatesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerGroupTemplatesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupTemplatesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupTemplatesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerGroupTemplatesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupTemplatesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupTemplatesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerGroupTemplatesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupTemplatesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupTemplatesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerGroupTemplatesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupTemplatesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupTemplatesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerGroupTemplatesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupTemplatesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupTemplatesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerGroupTemplatesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupTemplatesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupTemplatesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerGroupTemplatesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupTemplatesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupTemplatesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerGroupsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerGroupsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerGroupsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerGroupsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerGroupsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerGroupsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerGroupsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerGroupsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeerGroupsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeerGroupsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeerGroupsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeeringRolesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeeringRolesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeeringRolesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeeringRolesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeeringRolesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeeringRolesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeeringRolesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeeringRolesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeeringRolesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeeringRolesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeeringRolesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeeringRolesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeeringRolesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeeringRolesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeeringRolesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeeringRolesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeeringRolesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeeringRolesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeeringRolesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeeringRolesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeeringRolesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeeringRolesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeeringRolesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeeringRolesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeeringRolesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeeringRolesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeeringRolesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeeringsBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeeringsBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeeringsBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeeringsListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeeringsListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeeringsListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeeringsBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeeringsBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeeringsBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeeringsCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeeringsCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeeringsCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeeringsBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeeringsBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeeringsBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeeringsDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeeringsDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeeringsDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeeringsRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeeringsRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeeringsRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeeringsPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeeringsPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeeringsPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpPeeringsUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpPeeringsUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpPeeringsUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpRoutingInstancesBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingInstancesBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingInstancesBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpRoutingInstancesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingInstancesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingInstancesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpRoutingInstancesBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingInstancesBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingInstancesBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpRoutingInstancesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingInstancesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingInstancesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpRoutingInstancesBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingInstancesBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingInstancesBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpRoutingInstancesDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingInstancesDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingInstancesDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpRoutingInstancesRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingInstancesRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingInstancesRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpRoutingInstancesPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingInstancesPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingInstancesPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsBgpRoutingInstancesUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsBgpRoutingInstancesUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsBgpRoutingInstancesUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type PluginsChatopsAccessgrantBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -171444,6 +263718,3198 @@ func (r PluginsDeviceOnboardingOnboardingRetrieveResponse) StatusCode() int { return 0 } +type PluginsFirewallAddressObjectGroupBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectGroupBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectGroupBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallAddressObjectGroupListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectGroupListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectGroupListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallAddressObjectGroupBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectGroupBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectGroupBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallAddressObjectGroupCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectGroupCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectGroupCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallAddressObjectGroupBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectGroupBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectGroupBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallAddressObjectGroupDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectGroupDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectGroupDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallAddressObjectGroupRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectGroupRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectGroupRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallAddressObjectGroupPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectGroupPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectGroupPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallAddressObjectGroupUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectGroupUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectGroupUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallAddressObjectGroupNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectGroupNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectGroupNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallAddressObjectGroupNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectGroupNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectGroupNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallAddressObjectBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallAddressObjectListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallAddressObjectBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallAddressObjectCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallAddressObjectBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallAddressObjectDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallAddressObjectRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallAddressObjectPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallAddressObjectUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallAddressObjectNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallAddressObjectNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallAddressObjectNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallAddressObjectNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallCapircaPolicyBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallCapircaPolicyBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallCapircaPolicyBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallCapircaPolicyListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallCapircaPolicyListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallCapircaPolicyListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallCapircaPolicyBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallCapircaPolicyBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallCapircaPolicyBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallCapircaPolicyCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallCapircaPolicyCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallCapircaPolicyCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallCapircaPolicyBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallCapircaPolicyBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallCapircaPolicyBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallCapircaPolicyDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallCapircaPolicyDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallCapircaPolicyDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallCapircaPolicyRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallCapircaPolicyRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallCapircaPolicyRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallCapircaPolicyPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallCapircaPolicyPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallCapircaPolicyPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallCapircaPolicyUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallCapircaPolicyUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallCapircaPolicyUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallFqdnBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallFqdnBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallFqdnBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallFqdnListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallFqdnListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallFqdnListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallFqdnBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallFqdnBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallFqdnBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallFqdnCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallFqdnCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallFqdnCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallFqdnBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallFqdnBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallFqdnBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallFqdnDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallFqdnDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallFqdnDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallFqdnRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallFqdnRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallFqdnRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallFqdnPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallFqdnPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallFqdnPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallFqdnUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallFqdnUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallFqdnUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallFqdnNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallFqdnNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallFqdnNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallFqdnNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallFqdnNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallFqdnNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallIpRangeBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallIpRangeBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallIpRangeBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallIpRangeListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallIpRangeListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallIpRangeListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallIpRangeBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallIpRangeBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallIpRangeBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallIpRangeCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallIpRangeCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallIpRangeCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallIpRangeBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallIpRangeBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallIpRangeBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallIpRangeDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallIpRangeDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallIpRangeDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallIpRangeRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallIpRangeRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallIpRangeRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallIpRangePartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallIpRangePartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallIpRangePartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallIpRangeUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallIpRangeUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallIpRangeUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallIpRangeNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallIpRangeNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallIpRangeNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallIpRangeNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallIpRangeNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallIpRangeNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyRuleBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyRuleBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyRuleBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyRuleListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyRuleListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyRuleListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyRuleBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyRuleBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyRuleBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyRuleCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyRuleCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyRuleCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyRuleBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyRuleBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyRuleBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyRuleDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyRuleDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyRuleDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyRuleRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyRuleRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyRuleRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyRulePartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyRulePartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyRulePartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyRuleUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyRuleUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyRuleUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyRuleNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyRuleNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyRuleNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyRuleNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyRuleNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyRuleNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallNatPolicyNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallNatPolicyNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallNatPolicyNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyRuleBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyRuleBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyRuleBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyRuleListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyRuleListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyRuleListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyRuleBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyRuleBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyRuleBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyRuleCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyRuleCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyRuleCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyRuleBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyRuleBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyRuleBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyRuleDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyRuleDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyRuleDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyRuleRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyRuleRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyRuleRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyRulePartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyRulePartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyRulePartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyRuleUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyRuleUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyRuleUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyRuleNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyRuleNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyRuleNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyRuleNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyRuleNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyRuleNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallPolicyNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallPolicyNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallPolicyNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectGroupBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectGroupBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectGroupBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectGroupListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectGroupListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectGroupListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectGroupBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectGroupBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectGroupBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectGroupCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectGroupCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectGroupCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectGroupBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectGroupBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectGroupBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectGroupDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectGroupDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectGroupDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectGroupRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectGroupRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectGroupRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectGroupPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectGroupPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectGroupPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectGroupUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectGroupUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectGroupUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectGroupNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectGroupNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectGroupNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectGroupNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectGroupNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectGroupNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallServiceObjectNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallServiceObjectNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallServiceObjectNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectGroupBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectGroupBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectGroupBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectGroupListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectGroupListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectGroupListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectGroupBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectGroupBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectGroupBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectGroupCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectGroupCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectGroupCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectGroupBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectGroupBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectGroupBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectGroupDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectGroupDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectGroupDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectGroupRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectGroupRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectGroupRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectGroupPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectGroupPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectGroupPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectGroupUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectGroupUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectGroupUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectGroupNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectGroupNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectGroupNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectGroupNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectGroupNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectGroupNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallUserObjectNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallUserObjectNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallUserObjectNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallZoneBulkDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallZoneBulkDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallZoneBulkDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallZoneListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallZoneListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallZoneListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallZoneBulkPartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallZoneBulkPartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallZoneBulkPartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallZoneCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallZoneCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallZoneCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallZoneBulkUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallZoneBulkUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallZoneBulkUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallZoneDestroyResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallZoneDestroyResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallZoneDestroyResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallZoneRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallZoneRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallZoneRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallZonePartialUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallZonePartialUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallZonePartialUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallZoneUpdateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallZoneUpdateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallZoneUpdateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallZoneNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallZoneNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallZoneNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PluginsFirewallZoneNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsFirewallZoneNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsFirewallZoneNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type PluginsGoldenConfigComplianceFeatureBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -172011,6 +267477,27 @@ func (r PluginsGoldenConfigConfigComplianceUpdateResponse) StatusCode() int { return 0 } +type PluginsGoldenConfigConfigPostprocessingRetrieveResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PluginsGoldenConfigConfigPostprocessingRetrieveResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PluginsGoldenConfigConfigPostprocessingRetrieveResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type PluginsGoldenConfigConfigRemoveBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -174741,6 +270228,48 @@ func (r TenancyTenantGroupsUpdateResponse) StatusCode() int { return 0 } +type TenancyTenantGroupsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantGroupsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantGroupsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyTenantGroupsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantGroupsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantGroupsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type TenancyTenantsBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -174930,6 +270459,48 @@ func (r TenancyTenantsUpdateResponse) StatusCode() int { return 0 } +type TenancyTenantsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type TenancyTenantsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r TenancyTenantsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r TenancyTenantsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type UsersConfigRetrieveResponse struct { Body []byte HTTPResponse *http.Response @@ -175896,6 +271467,48 @@ func (r VirtualizationClusterGroupsUpdateResponse) StatusCode() int { return 0 } +type VirtualizationClusterGroupsNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterGroupsNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterGroupsNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClusterGroupsNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterGroupsNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterGroupsNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type VirtualizationClusterTypesBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -176085,6 +271698,48 @@ func (r VirtualizationClusterTypesUpdateResponse) StatusCode() int { return 0 } +type VirtualizationClusterTypesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterTypesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterTypesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClusterTypesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClusterTypesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClusterTypesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type VirtualizationClustersBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -176274,6 +271929,48 @@ func (r VirtualizationClustersUpdateResponse) StatusCode() int { return 0 } +type VirtualizationClustersNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClustersNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClustersNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationClustersNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationClustersNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationClustersNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type VirtualizationInterfacesBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -176463,6 +272160,48 @@ func (r VirtualizationInterfacesUpdateResponse) StatusCode() int { return 0 } +type VirtualizationInterfacesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationInterfacesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationInterfacesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationInterfacesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationInterfacesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationInterfacesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + type VirtualizationVirtualMachinesBulkDestroyResponse struct { Body []byte HTTPResponse *http.Response @@ -176652,9 +272391,59 @@ func (r VirtualizationVirtualMachinesUpdateResponse) StatusCode() int { return 0 } -// CircuitsCircuitTerminationsBulkDestroyWithResponse request returning *CircuitsCircuitTerminationsBulkDestroyResponse -func (c *ClientWithResponses) CircuitsCircuitTerminationsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsBulkDestroyResponse, error) { - rsp, err := c.CircuitsCircuitTerminationsBulkDestroy(ctx, reqEditors...) +type VirtualizationVirtualMachinesNotesListResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationVirtualMachinesNotesListResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationVirtualMachinesNotesListResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type VirtualizationVirtualMachinesNotesCreateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r VirtualizationVirtualMachinesNotesCreateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r VirtualizationVirtualMachinesNotesCreateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +// CircuitsCircuitTerminationsBulkDestroyWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitTerminationsBulkDestroyResponse +func (c *ClientWithResponses) CircuitsCircuitTerminationsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsBulkDestroyResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitTerminationsBulkDestroyWithResponse(ctx context.Context, body CircuitsCircuitTerminationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsBulkDestroyResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -176773,6 +272562,32 @@ func (c *ClientWithResponses) CircuitsCircuitTerminationsUpdateWithResponse(ctx return ParseCircuitsCircuitTerminationsUpdateResponse(rsp) } +// CircuitsCircuitTerminationsNotesListWithResponse request returning *CircuitsCircuitTerminationsNotesListResponse +func (c *ClientWithResponses) CircuitsCircuitTerminationsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *CircuitsCircuitTerminationsNotesListParams, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsNotesListResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsNotesListResponse(rsp) +} + +// CircuitsCircuitTerminationsNotesCreateWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitTerminationsNotesCreateResponse +func (c *ClientWithResponses) CircuitsCircuitTerminationsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsNotesCreateResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitTerminationsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTerminationsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsNotesCreateResponse, error) { + rsp, err := c.CircuitsCircuitTerminationsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTerminationsNotesCreateResponse(rsp) +} + // CircuitsCircuitTerminationsTraceRetrieveWithResponse request returning *CircuitsCircuitTerminationsTraceRetrieveResponse func (c *ClientWithResponses) CircuitsCircuitTerminationsTraceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CircuitsCircuitTerminationsTraceRetrieveResponse, error) { rsp, err := c.CircuitsCircuitTerminationsTraceRetrieve(ctx, id, reqEditors...) @@ -176782,9 +272597,17 @@ func (c *ClientWithResponses) CircuitsCircuitTerminationsTraceRetrieveWithRespon return ParseCircuitsCircuitTerminationsTraceRetrieveResponse(rsp) } -// CircuitsCircuitTypesBulkDestroyWithResponse request returning *CircuitsCircuitTypesBulkDestroyResponse -func (c *ClientWithResponses) CircuitsCircuitTypesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesBulkDestroyResponse, error) { - rsp, err := c.CircuitsCircuitTypesBulkDestroy(ctx, reqEditors...) +// CircuitsCircuitTypesBulkDestroyWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitTypesBulkDestroyResponse +func (c *ClientWithResponses) CircuitsCircuitTypesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesBulkDestroyResponse, error) { + rsp, err := c.CircuitsCircuitTypesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTypesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitTypesBulkDestroyWithResponse(ctx context.Context, body CircuitsCircuitTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesBulkDestroyResponse, error) { + rsp, err := c.CircuitsCircuitTypesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -176903,9 +272726,43 @@ func (c *ClientWithResponses) CircuitsCircuitTypesUpdateWithResponse(ctx context return ParseCircuitsCircuitTypesUpdateResponse(rsp) } -// CircuitsCircuitsBulkDestroyWithResponse request returning *CircuitsCircuitsBulkDestroyResponse -func (c *ClientWithResponses) CircuitsCircuitsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CircuitsCircuitsBulkDestroyResponse, error) { - rsp, err := c.CircuitsCircuitsBulkDestroy(ctx, reqEditors...) +// CircuitsCircuitTypesNotesListWithResponse request returning *CircuitsCircuitTypesNotesListResponse +func (c *ClientWithResponses) CircuitsCircuitTypesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *CircuitsCircuitTypesNotesListParams, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesNotesListResponse, error) { + rsp, err := c.CircuitsCircuitTypesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTypesNotesListResponse(rsp) +} + +// CircuitsCircuitTypesNotesCreateWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitTypesNotesCreateResponse +func (c *ClientWithResponses) CircuitsCircuitTypesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesNotesCreateResponse, error) { + rsp, err := c.CircuitsCircuitTypesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTypesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitTypesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitTypesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitTypesNotesCreateResponse, error) { + rsp, err := c.CircuitsCircuitTypesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitTypesNotesCreateResponse(rsp) +} + +// CircuitsCircuitsBulkDestroyWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitsBulkDestroyResponse +func (c *ClientWithResponses) CircuitsCircuitsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitsBulkDestroyResponse, error) { + rsp, err := c.CircuitsCircuitsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitsBulkDestroyWithResponse(ctx context.Context, body CircuitsCircuitsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitsBulkDestroyResponse, error) { + rsp, err := c.CircuitsCircuitsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -177024,9 +272881,43 @@ func (c *ClientWithResponses) CircuitsCircuitsUpdateWithResponse(ctx context.Con return ParseCircuitsCircuitsUpdateResponse(rsp) } -// CircuitsProviderNetworksBulkDestroyWithResponse request returning *CircuitsProviderNetworksBulkDestroyResponse -func (c *ClientWithResponses) CircuitsProviderNetworksBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksBulkDestroyResponse, error) { - rsp, err := c.CircuitsProviderNetworksBulkDestroy(ctx, reqEditors...) +// CircuitsCircuitsNotesListWithResponse request returning *CircuitsCircuitsNotesListResponse +func (c *ClientWithResponses) CircuitsCircuitsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *CircuitsCircuitsNotesListParams, reqEditors ...RequestEditorFn) (*CircuitsCircuitsNotesListResponse, error) { + rsp, err := c.CircuitsCircuitsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitsNotesListResponse(rsp) +} + +// CircuitsCircuitsNotesCreateWithBodyWithResponse request with arbitrary body returning *CircuitsCircuitsNotesCreateResponse +func (c *ClientWithResponses) CircuitsCircuitsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsCircuitsNotesCreateResponse, error) { + rsp, err := c.CircuitsCircuitsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsCircuitsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsCircuitsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsCircuitsNotesCreateResponse, error) { + rsp, err := c.CircuitsCircuitsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsCircuitsNotesCreateResponse(rsp) +} + +// CircuitsProviderNetworksBulkDestroyWithBodyWithResponse request with arbitrary body returning *CircuitsProviderNetworksBulkDestroyResponse +func (c *ClientWithResponses) CircuitsProviderNetworksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksBulkDestroyResponse, error) { + rsp, err := c.CircuitsProviderNetworksBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderNetworksBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProviderNetworksBulkDestroyWithResponse(ctx context.Context, body CircuitsProviderNetworksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksBulkDestroyResponse, error) { + rsp, err := c.CircuitsProviderNetworksBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -177145,9 +273036,43 @@ func (c *ClientWithResponses) CircuitsProviderNetworksUpdateWithResponse(ctx con return ParseCircuitsProviderNetworksUpdateResponse(rsp) } -// CircuitsProvidersBulkDestroyWithResponse request returning *CircuitsProvidersBulkDestroyResponse -func (c *ClientWithResponses) CircuitsProvidersBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CircuitsProvidersBulkDestroyResponse, error) { - rsp, err := c.CircuitsProvidersBulkDestroy(ctx, reqEditors...) +// CircuitsProviderNetworksNotesListWithResponse request returning *CircuitsProviderNetworksNotesListResponse +func (c *ClientWithResponses) CircuitsProviderNetworksNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *CircuitsProviderNetworksNotesListParams, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksNotesListResponse, error) { + rsp, err := c.CircuitsProviderNetworksNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderNetworksNotesListResponse(rsp) +} + +// CircuitsProviderNetworksNotesCreateWithBodyWithResponse request with arbitrary body returning *CircuitsProviderNetworksNotesCreateResponse +func (c *ClientWithResponses) CircuitsProviderNetworksNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksNotesCreateResponse, error) { + rsp, err := c.CircuitsProviderNetworksNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderNetworksNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProviderNetworksNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsProviderNetworksNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProviderNetworksNotesCreateResponse, error) { + rsp, err := c.CircuitsProviderNetworksNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProviderNetworksNotesCreateResponse(rsp) +} + +// CircuitsProvidersBulkDestroyWithBodyWithResponse request with arbitrary body returning *CircuitsProvidersBulkDestroyResponse +func (c *ClientWithResponses) CircuitsProvidersBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProvidersBulkDestroyResponse, error) { + rsp, err := c.CircuitsProvidersBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProvidersBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProvidersBulkDestroyWithResponse(ctx context.Context, body CircuitsProvidersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProvidersBulkDestroyResponse, error) { + rsp, err := c.CircuitsProvidersBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -177266,9 +273191,43 @@ func (c *ClientWithResponses) CircuitsProvidersUpdateWithResponse(ctx context.Co return ParseCircuitsProvidersUpdateResponse(rsp) } -// DcimCablesBulkDestroyWithResponse request returning *DcimCablesBulkDestroyResponse -func (c *ClientWithResponses) DcimCablesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimCablesBulkDestroyResponse, error) { - rsp, err := c.DcimCablesBulkDestroy(ctx, reqEditors...) +// CircuitsProvidersNotesListWithResponse request returning *CircuitsProvidersNotesListResponse +func (c *ClientWithResponses) CircuitsProvidersNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *CircuitsProvidersNotesListParams, reqEditors ...RequestEditorFn) (*CircuitsProvidersNotesListResponse, error) { + rsp, err := c.CircuitsProvidersNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProvidersNotesListResponse(rsp) +} + +// CircuitsProvidersNotesCreateWithBodyWithResponse request with arbitrary body returning *CircuitsProvidersNotesCreateResponse +func (c *ClientWithResponses) CircuitsProvidersNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CircuitsProvidersNotesCreateResponse, error) { + rsp, err := c.CircuitsProvidersNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProvidersNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) CircuitsProvidersNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body CircuitsProvidersNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*CircuitsProvidersNotesCreateResponse, error) { + rsp, err := c.CircuitsProvidersNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseCircuitsProvidersNotesCreateResponse(rsp) +} + +// DcimCablesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimCablesBulkDestroyResponse +func (c *ClientWithResponses) DcimCablesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCablesBulkDestroyResponse, error) { + rsp, err := c.DcimCablesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCablesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimCablesBulkDestroyWithResponse(ctx context.Context, body DcimCablesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCablesBulkDestroyResponse, error) { + rsp, err := c.DcimCablesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -177387,6 +273346,32 @@ func (c *ClientWithResponses) DcimCablesUpdateWithResponse(ctx context.Context, return ParseDcimCablesUpdateResponse(rsp) } +// DcimCablesNotesListWithResponse request returning *DcimCablesNotesListResponse +func (c *ClientWithResponses) DcimCablesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimCablesNotesListParams, reqEditors ...RequestEditorFn) (*DcimCablesNotesListResponse, error) { + rsp, err := c.DcimCablesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCablesNotesListResponse(rsp) +} + +// DcimCablesNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimCablesNotesCreateResponse +func (c *ClientWithResponses) DcimCablesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimCablesNotesCreateResponse, error) { + rsp, err := c.DcimCablesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCablesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimCablesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimCablesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimCablesNotesCreateResponse, error) { + rsp, err := c.DcimCablesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimCablesNotesCreateResponse(rsp) +} + // DcimConnectedDeviceListWithResponse request returning *DcimConnectedDeviceListResponse func (c *ClientWithResponses) DcimConnectedDeviceListWithResponse(ctx context.Context, params *DcimConnectedDeviceListParams, reqEditors ...RequestEditorFn) (*DcimConnectedDeviceListResponse, error) { rsp, err := c.DcimConnectedDeviceList(ctx, params, reqEditors...) @@ -177405,9 +273390,17 @@ func (c *ClientWithResponses) DcimConsoleConnectionsListWithResponse(ctx context return ParseDcimConsoleConnectionsListResponse(rsp) } -// DcimConsolePortTemplatesBulkDestroyWithResponse request returning *DcimConsolePortTemplatesBulkDestroyResponse -func (c *ClientWithResponses) DcimConsolePortTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesBulkDestroyResponse, error) { - rsp, err := c.DcimConsolePortTemplatesBulkDestroy(ctx, reqEditors...) +// DcimConsolePortTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimConsolePortTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimConsolePortTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimConsolePortTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsolePortTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimConsolePortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimConsolePortTemplatesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -177526,9 +273519,43 @@ func (c *ClientWithResponses) DcimConsolePortTemplatesUpdateWithResponse(ctx con return ParseDcimConsolePortTemplatesUpdateResponse(rsp) } -// DcimConsolePortsBulkDestroyWithResponse request returning *DcimConsolePortsBulkDestroyResponse -func (c *ClientWithResponses) DcimConsolePortsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimConsolePortsBulkDestroyResponse, error) { - rsp, err := c.DcimConsolePortsBulkDestroy(ctx, reqEditors...) +// DcimConsolePortTemplatesNotesListWithResponse request returning *DcimConsolePortTemplatesNotesListResponse +func (c *ClientWithResponses) DcimConsolePortTemplatesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimConsolePortTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesNotesListResponse, error) { + rsp, err := c.DcimConsolePortTemplatesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortTemplatesNotesListResponse(rsp) +} + +// DcimConsolePortTemplatesNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimConsolePortTemplatesNotesCreateResponse +func (c *ClientWithResponses) DcimConsolePortTemplatesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesNotesCreateResponse, error) { + rsp, err := c.DcimConsolePortTemplatesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortTemplatesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsolePortTemplatesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsolePortTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortTemplatesNotesCreateResponse, error) { + rsp, err := c.DcimConsolePortTemplatesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortTemplatesNotesCreateResponse(rsp) +} + +// DcimConsolePortsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimConsolePortsBulkDestroyResponse +func (c *ClientWithResponses) DcimConsolePortsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortsBulkDestroyResponse, error) { + rsp, err := c.DcimConsolePortsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsolePortsBulkDestroyWithResponse(ctx context.Context, body DcimConsolePortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortsBulkDestroyResponse, error) { + rsp, err := c.DcimConsolePortsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -177647,6 +273674,32 @@ func (c *ClientWithResponses) DcimConsolePortsUpdateWithResponse(ctx context.Con return ParseDcimConsolePortsUpdateResponse(rsp) } +// DcimConsolePortsNotesListWithResponse request returning *DcimConsolePortsNotesListResponse +func (c *ClientWithResponses) DcimConsolePortsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimConsolePortsNotesListParams, reqEditors ...RequestEditorFn) (*DcimConsolePortsNotesListResponse, error) { + rsp, err := c.DcimConsolePortsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortsNotesListResponse(rsp) +} + +// DcimConsolePortsNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimConsolePortsNotesCreateResponse +func (c *ClientWithResponses) DcimConsolePortsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsolePortsNotesCreateResponse, error) { + rsp, err := c.DcimConsolePortsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsolePortsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsolePortsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsolePortsNotesCreateResponse, error) { + rsp, err := c.DcimConsolePortsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsolePortsNotesCreateResponse(rsp) +} + // DcimConsolePortsTraceRetrieveWithResponse request returning *DcimConsolePortsTraceRetrieveResponse func (c *ClientWithResponses) DcimConsolePortsTraceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimConsolePortsTraceRetrieveResponse, error) { rsp, err := c.DcimConsolePortsTraceRetrieve(ctx, id, reqEditors...) @@ -177656,9 +273709,17 @@ func (c *ClientWithResponses) DcimConsolePortsTraceRetrieveWithResponse(ctx cont return ParseDcimConsolePortsTraceRetrieveResponse(rsp) } -// DcimConsoleServerPortTemplatesBulkDestroyWithResponse request returning *DcimConsoleServerPortTemplatesBulkDestroyResponse -func (c *ClientWithResponses) DcimConsoleServerPortTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesBulkDestroyResponse, error) { - rsp, err := c.DcimConsoleServerPortTemplatesBulkDestroy(ctx, reqEditors...) +// DcimConsoleServerPortTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimConsoleServerPortTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimConsoleServerPortTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsoleServerPortTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimConsoleServerPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -177777,9 +273838,43 @@ func (c *ClientWithResponses) DcimConsoleServerPortTemplatesUpdateWithResponse(c return ParseDcimConsoleServerPortTemplatesUpdateResponse(rsp) } -// DcimConsoleServerPortsBulkDestroyWithResponse request returning *DcimConsoleServerPortsBulkDestroyResponse -func (c *ClientWithResponses) DcimConsoleServerPortsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsBulkDestroyResponse, error) { - rsp, err := c.DcimConsoleServerPortsBulkDestroy(ctx, reqEditors...) +// DcimConsoleServerPortTemplatesNotesListWithResponse request returning *DcimConsoleServerPortTemplatesNotesListResponse +func (c *ClientWithResponses) DcimConsoleServerPortTemplatesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimConsoleServerPortTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesNotesListResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortTemplatesNotesListResponse(rsp) +} + +// DcimConsoleServerPortTemplatesNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimConsoleServerPortTemplatesNotesCreateResponse +func (c *ClientWithResponses) DcimConsoleServerPortTemplatesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesNotesCreateResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortTemplatesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsoleServerPortTemplatesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortTemplatesNotesCreateResponse, error) { + rsp, err := c.DcimConsoleServerPortTemplatesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortTemplatesNotesCreateResponse(rsp) +} + +// DcimConsoleServerPortsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimConsoleServerPortsBulkDestroyResponse +func (c *ClientWithResponses) DcimConsoleServerPortsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsBulkDestroyResponse, error) { + rsp, err := c.DcimConsoleServerPortsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsoleServerPortsBulkDestroyWithResponse(ctx context.Context, body DcimConsoleServerPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsBulkDestroyResponse, error) { + rsp, err := c.DcimConsoleServerPortsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -177898,6 +273993,32 @@ func (c *ClientWithResponses) DcimConsoleServerPortsUpdateWithResponse(ctx conte return ParseDcimConsoleServerPortsUpdateResponse(rsp) } +// DcimConsoleServerPortsNotesListWithResponse request returning *DcimConsoleServerPortsNotesListResponse +func (c *ClientWithResponses) DcimConsoleServerPortsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimConsoleServerPortsNotesListParams, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsNotesListResponse, error) { + rsp, err := c.DcimConsoleServerPortsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortsNotesListResponse(rsp) +} + +// DcimConsoleServerPortsNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimConsoleServerPortsNotesCreateResponse +func (c *ClientWithResponses) DcimConsoleServerPortsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsNotesCreateResponse, error) { + rsp, err := c.DcimConsoleServerPortsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimConsoleServerPortsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimConsoleServerPortsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsNotesCreateResponse, error) { + rsp, err := c.DcimConsoleServerPortsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimConsoleServerPortsNotesCreateResponse(rsp) +} + // DcimConsoleServerPortsTraceRetrieveWithResponse request returning *DcimConsoleServerPortsTraceRetrieveResponse func (c *ClientWithResponses) DcimConsoleServerPortsTraceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimConsoleServerPortsTraceRetrieveResponse, error) { rsp, err := c.DcimConsoleServerPortsTraceRetrieve(ctx, id, reqEditors...) @@ -177907,9 +274028,17 @@ func (c *ClientWithResponses) DcimConsoleServerPortsTraceRetrieveWithResponse(ct return ParseDcimConsoleServerPortsTraceRetrieveResponse(rsp) } -// DcimDeviceBayTemplatesBulkDestroyWithResponse request returning *DcimDeviceBayTemplatesBulkDestroyResponse -func (c *ClientWithResponses) DcimDeviceBayTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesBulkDestroyResponse, error) { - rsp, err := c.DcimDeviceBayTemplatesBulkDestroy(ctx, reqEditors...) +// DcimDeviceBayTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimDeviceBayTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimDeviceBayTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBayTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceBayTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimDeviceBayTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -178028,9 +274157,43 @@ func (c *ClientWithResponses) DcimDeviceBayTemplatesUpdateWithResponse(ctx conte return ParseDcimDeviceBayTemplatesUpdateResponse(rsp) } -// DcimDeviceBaysBulkDestroyWithResponse request returning *DcimDeviceBaysBulkDestroyResponse -func (c *ClientWithResponses) DcimDeviceBaysBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimDeviceBaysBulkDestroyResponse, error) { - rsp, err := c.DcimDeviceBaysBulkDestroy(ctx, reqEditors...) +// DcimDeviceBayTemplatesNotesListWithResponse request returning *DcimDeviceBayTemplatesNotesListResponse +func (c *ClientWithResponses) DcimDeviceBayTemplatesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimDeviceBayTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesNotesListResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBayTemplatesNotesListResponse(rsp) +} + +// DcimDeviceBayTemplatesNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimDeviceBayTemplatesNotesCreateResponse +func (c *ClientWithResponses) DcimDeviceBayTemplatesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesNotesCreateResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBayTemplatesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceBayTemplatesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceBayTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBayTemplatesNotesCreateResponse, error) { + rsp, err := c.DcimDeviceBayTemplatesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBayTemplatesNotesCreateResponse(rsp) +} + +// DcimDeviceBaysBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimDeviceBaysBulkDestroyResponse +func (c *ClientWithResponses) DcimDeviceBaysBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBaysBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceBaysBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBaysBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceBaysBulkDestroyWithResponse(ctx context.Context, body DcimDeviceBaysBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBaysBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceBaysBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -178149,9 +274312,198 @@ func (c *ClientWithResponses) DcimDeviceBaysUpdateWithResponse(ctx context.Conte return ParseDcimDeviceBaysUpdateResponse(rsp) } -// DcimDeviceRolesBulkDestroyWithResponse request returning *DcimDeviceRolesBulkDestroyResponse -func (c *ClientWithResponses) DcimDeviceRolesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimDeviceRolesBulkDestroyResponse, error) { - rsp, err := c.DcimDeviceRolesBulkDestroy(ctx, reqEditors...) +// DcimDeviceBaysNotesListWithResponse request returning *DcimDeviceBaysNotesListResponse +func (c *ClientWithResponses) DcimDeviceBaysNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimDeviceBaysNotesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceBaysNotesListResponse, error) { + rsp, err := c.DcimDeviceBaysNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBaysNotesListResponse(rsp) +} + +// DcimDeviceBaysNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimDeviceBaysNotesCreateResponse +func (c *ClientWithResponses) DcimDeviceBaysNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceBaysNotesCreateResponse, error) { + rsp, err := c.DcimDeviceBaysNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBaysNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceBaysNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceBaysNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceBaysNotesCreateResponse, error) { + rsp, err := c.DcimDeviceBaysNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceBaysNotesCreateResponse(rsp) +} + +// DcimDeviceRedundancyGroupsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimDeviceRedundancyGroupsBulkDestroyResponse +func (c *ClientWithResponses) DcimDeviceRedundancyGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceRedundancyGroupsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRedundancyGroupsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceRedundancyGroupsBulkDestroyWithResponse(ctx context.Context, body DcimDeviceRedundancyGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceRedundancyGroupsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRedundancyGroupsBulkDestroyResponse(rsp) +} + +// DcimDeviceRedundancyGroupsListWithResponse request returning *DcimDeviceRedundancyGroupsListResponse +func (c *ClientWithResponses) DcimDeviceRedundancyGroupsListWithResponse(ctx context.Context, params *DcimDeviceRedundancyGroupsListParams, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsListResponse, error) { + rsp, err := c.DcimDeviceRedundancyGroupsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRedundancyGroupsListResponse(rsp) +} + +// DcimDeviceRedundancyGroupsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimDeviceRedundancyGroupsBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimDeviceRedundancyGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimDeviceRedundancyGroupsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRedundancyGroupsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceRedundancyGroupsBulkPartialUpdateWithResponse(ctx context.Context, body DcimDeviceRedundancyGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimDeviceRedundancyGroupsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRedundancyGroupsBulkPartialUpdateResponse(rsp) +} + +// DcimDeviceRedundancyGroupsCreateWithBodyWithResponse request with arbitrary body returning *DcimDeviceRedundancyGroupsCreateResponse +func (c *ClientWithResponses) DcimDeviceRedundancyGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsCreateResponse, error) { + rsp, err := c.DcimDeviceRedundancyGroupsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRedundancyGroupsCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceRedundancyGroupsCreateWithResponse(ctx context.Context, body DcimDeviceRedundancyGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsCreateResponse, error) { + rsp, err := c.DcimDeviceRedundancyGroupsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRedundancyGroupsCreateResponse(rsp) +} + +// DcimDeviceRedundancyGroupsBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimDeviceRedundancyGroupsBulkUpdateResponse +func (c *ClientWithResponses) DcimDeviceRedundancyGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsBulkUpdateResponse, error) { + rsp, err := c.DcimDeviceRedundancyGroupsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRedundancyGroupsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceRedundancyGroupsBulkUpdateWithResponse(ctx context.Context, body DcimDeviceRedundancyGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsBulkUpdateResponse, error) { + rsp, err := c.DcimDeviceRedundancyGroupsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRedundancyGroupsBulkUpdateResponse(rsp) +} + +// DcimDeviceRedundancyGroupsDestroyWithResponse request returning *DcimDeviceRedundancyGroupsDestroyResponse +func (c *ClientWithResponses) DcimDeviceRedundancyGroupsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsDestroyResponse, error) { + rsp, err := c.DcimDeviceRedundancyGroupsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRedundancyGroupsDestroyResponse(rsp) +} + +// DcimDeviceRedundancyGroupsRetrieveWithResponse request returning *DcimDeviceRedundancyGroupsRetrieveResponse +func (c *ClientWithResponses) DcimDeviceRedundancyGroupsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsRetrieveResponse, error) { + rsp, err := c.DcimDeviceRedundancyGroupsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRedundancyGroupsRetrieveResponse(rsp) +} + +// DcimDeviceRedundancyGroupsPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimDeviceRedundancyGroupsPartialUpdateResponse +func (c *ClientWithResponses) DcimDeviceRedundancyGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsPartialUpdateResponse, error) { + rsp, err := c.DcimDeviceRedundancyGroupsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRedundancyGroupsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceRedundancyGroupsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceRedundancyGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsPartialUpdateResponse, error) { + rsp, err := c.DcimDeviceRedundancyGroupsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRedundancyGroupsPartialUpdateResponse(rsp) +} + +// DcimDeviceRedundancyGroupsUpdateWithBodyWithResponse request with arbitrary body returning *DcimDeviceRedundancyGroupsUpdateResponse +func (c *ClientWithResponses) DcimDeviceRedundancyGroupsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsUpdateResponse, error) { + rsp, err := c.DcimDeviceRedundancyGroupsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRedundancyGroupsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceRedundancyGroupsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceRedundancyGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsUpdateResponse, error) { + rsp, err := c.DcimDeviceRedundancyGroupsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRedundancyGroupsUpdateResponse(rsp) +} + +// DcimDeviceRedundancyGroupsNotesListWithResponse request returning *DcimDeviceRedundancyGroupsNotesListResponse +func (c *ClientWithResponses) DcimDeviceRedundancyGroupsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimDeviceRedundancyGroupsNotesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsNotesListResponse, error) { + rsp, err := c.DcimDeviceRedundancyGroupsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRedundancyGroupsNotesListResponse(rsp) +} + +// DcimDeviceRedundancyGroupsNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimDeviceRedundancyGroupsNotesCreateResponse +func (c *ClientWithResponses) DcimDeviceRedundancyGroupsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsNotesCreateResponse, error) { + rsp, err := c.DcimDeviceRedundancyGroupsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRedundancyGroupsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceRedundancyGroupsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceRedundancyGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRedundancyGroupsNotesCreateResponse, error) { + rsp, err := c.DcimDeviceRedundancyGroupsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRedundancyGroupsNotesCreateResponse(rsp) +} + +// DcimDeviceRolesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimDeviceRolesBulkDestroyResponse +func (c *ClientWithResponses) DcimDeviceRolesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRolesBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceRolesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRolesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceRolesBulkDestroyWithResponse(ctx context.Context, body DcimDeviceRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRolesBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceRolesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -178270,9 +274622,43 @@ func (c *ClientWithResponses) DcimDeviceRolesUpdateWithResponse(ctx context.Cont return ParseDcimDeviceRolesUpdateResponse(rsp) } -// DcimDeviceTypesBulkDestroyWithResponse request returning *DcimDeviceTypesBulkDestroyResponse -func (c *ClientWithResponses) DcimDeviceTypesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimDeviceTypesBulkDestroyResponse, error) { - rsp, err := c.DcimDeviceTypesBulkDestroy(ctx, reqEditors...) +// DcimDeviceRolesNotesListWithResponse request returning *DcimDeviceRolesNotesListResponse +func (c *ClientWithResponses) DcimDeviceRolesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimDeviceRolesNotesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceRolesNotesListResponse, error) { + rsp, err := c.DcimDeviceRolesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRolesNotesListResponse(rsp) +} + +// DcimDeviceRolesNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimDeviceRolesNotesCreateResponse +func (c *ClientWithResponses) DcimDeviceRolesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceRolesNotesCreateResponse, error) { + rsp, err := c.DcimDeviceRolesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRolesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceRolesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceRolesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceRolesNotesCreateResponse, error) { + rsp, err := c.DcimDeviceRolesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceRolesNotesCreateResponse(rsp) +} + +// DcimDeviceTypesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimDeviceTypesBulkDestroyResponse +func (c *ClientWithResponses) DcimDeviceTypesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceTypesBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceTypesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceTypesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceTypesBulkDestroyWithResponse(ctx context.Context, body DcimDeviceTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceTypesBulkDestroyResponse, error) { + rsp, err := c.DcimDeviceTypesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -178391,9 +274777,43 @@ func (c *ClientWithResponses) DcimDeviceTypesUpdateWithResponse(ctx context.Cont return ParseDcimDeviceTypesUpdateResponse(rsp) } -// DcimDevicesBulkDestroyWithResponse request returning *DcimDevicesBulkDestroyResponse -func (c *ClientWithResponses) DcimDevicesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimDevicesBulkDestroyResponse, error) { - rsp, err := c.DcimDevicesBulkDestroy(ctx, reqEditors...) +// DcimDeviceTypesNotesListWithResponse request returning *DcimDeviceTypesNotesListResponse +func (c *ClientWithResponses) DcimDeviceTypesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimDeviceTypesNotesListParams, reqEditors ...RequestEditorFn) (*DcimDeviceTypesNotesListResponse, error) { + rsp, err := c.DcimDeviceTypesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceTypesNotesListResponse(rsp) +} + +// DcimDeviceTypesNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimDeviceTypesNotesCreateResponse +func (c *ClientWithResponses) DcimDeviceTypesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDeviceTypesNotesCreateResponse, error) { + rsp, err := c.DcimDeviceTypesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceTypesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDeviceTypesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDeviceTypesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDeviceTypesNotesCreateResponse, error) { + rsp, err := c.DcimDeviceTypesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDeviceTypesNotesCreateResponse(rsp) +} + +// DcimDevicesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimDevicesBulkDestroyResponse +func (c *ClientWithResponses) DcimDevicesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDevicesBulkDestroyResponse, error) { + rsp, err := c.DcimDevicesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimDevicesBulkDestroyWithResponse(ctx context.Context, body DcimDevicesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDevicesBulkDestroyResponse, error) { + rsp, err := c.DcimDevicesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -178521,9 +274941,43 @@ func (c *ClientWithResponses) DcimDevicesNapalmRetrieveWithResponse(ctx context. return ParseDcimDevicesNapalmRetrieveResponse(rsp) } -// DcimFrontPortTemplatesBulkDestroyWithResponse request returning *DcimFrontPortTemplatesBulkDestroyResponse -func (c *ClientWithResponses) DcimFrontPortTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesBulkDestroyResponse, error) { - rsp, err := c.DcimFrontPortTemplatesBulkDestroy(ctx, reqEditors...) +// DcimDevicesNotesListWithResponse request returning *DcimDevicesNotesListResponse +func (c *ClientWithResponses) DcimDevicesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimDevicesNotesListParams, reqEditors ...RequestEditorFn) (*DcimDevicesNotesListResponse, error) { + rsp, err := c.DcimDevicesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesNotesListResponse(rsp) +} + +// DcimDevicesNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimDevicesNotesCreateResponse +func (c *ClientWithResponses) DcimDevicesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimDevicesNotesCreateResponse, error) { + rsp, err := c.DcimDevicesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimDevicesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimDevicesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimDevicesNotesCreateResponse, error) { + rsp, err := c.DcimDevicesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimDevicesNotesCreateResponse(rsp) +} + +// DcimFrontPortTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimFrontPortTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimFrontPortTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimFrontPortTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimFrontPortTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimFrontPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimFrontPortTemplatesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -178642,9 +275096,43 @@ func (c *ClientWithResponses) DcimFrontPortTemplatesUpdateWithResponse(ctx conte return ParseDcimFrontPortTemplatesUpdateResponse(rsp) } -// DcimFrontPortsBulkDestroyWithResponse request returning *DcimFrontPortsBulkDestroyResponse -func (c *ClientWithResponses) DcimFrontPortsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimFrontPortsBulkDestroyResponse, error) { - rsp, err := c.DcimFrontPortsBulkDestroy(ctx, reqEditors...) +// DcimFrontPortTemplatesNotesListWithResponse request returning *DcimFrontPortTemplatesNotesListResponse +func (c *ClientWithResponses) DcimFrontPortTemplatesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimFrontPortTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesNotesListResponse, error) { + rsp, err := c.DcimFrontPortTemplatesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortTemplatesNotesListResponse(rsp) +} + +// DcimFrontPortTemplatesNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimFrontPortTemplatesNotesCreateResponse +func (c *ClientWithResponses) DcimFrontPortTemplatesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesNotesCreateResponse, error) { + rsp, err := c.DcimFrontPortTemplatesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortTemplatesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimFrontPortTemplatesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimFrontPortTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortTemplatesNotesCreateResponse, error) { + rsp, err := c.DcimFrontPortTemplatesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortTemplatesNotesCreateResponse(rsp) +} + +// DcimFrontPortsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimFrontPortsBulkDestroyResponse +func (c *ClientWithResponses) DcimFrontPortsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortsBulkDestroyResponse, error) { + rsp, err := c.DcimFrontPortsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimFrontPortsBulkDestroyWithResponse(ctx context.Context, body DcimFrontPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortsBulkDestroyResponse, error) { + rsp, err := c.DcimFrontPortsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -178763,6 +275251,32 @@ func (c *ClientWithResponses) DcimFrontPortsUpdateWithResponse(ctx context.Conte return ParseDcimFrontPortsUpdateResponse(rsp) } +// DcimFrontPortsNotesListWithResponse request returning *DcimFrontPortsNotesListResponse +func (c *ClientWithResponses) DcimFrontPortsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimFrontPortsNotesListParams, reqEditors ...RequestEditorFn) (*DcimFrontPortsNotesListResponse, error) { + rsp, err := c.DcimFrontPortsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortsNotesListResponse(rsp) +} + +// DcimFrontPortsNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimFrontPortsNotesCreateResponse +func (c *ClientWithResponses) DcimFrontPortsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimFrontPortsNotesCreateResponse, error) { + rsp, err := c.DcimFrontPortsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimFrontPortsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimFrontPortsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimFrontPortsNotesCreateResponse, error) { + rsp, err := c.DcimFrontPortsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimFrontPortsNotesCreateResponse(rsp) +} + // DcimFrontPortsPathsRetrieveWithResponse request returning *DcimFrontPortsPathsRetrieveResponse func (c *ClientWithResponses) DcimFrontPortsPathsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimFrontPortsPathsRetrieveResponse, error) { rsp, err := c.DcimFrontPortsPathsRetrieve(ctx, id, reqEditors...) @@ -178781,9 +275295,17 @@ func (c *ClientWithResponses) DcimInterfaceConnectionsListWithResponse(ctx conte return ParseDcimInterfaceConnectionsListResponse(rsp) } -// DcimInterfaceTemplatesBulkDestroyWithResponse request returning *DcimInterfaceTemplatesBulkDestroyResponse -func (c *ClientWithResponses) DcimInterfaceTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesBulkDestroyResponse, error) { - rsp, err := c.DcimInterfaceTemplatesBulkDestroy(ctx, reqEditors...) +// DcimInterfaceTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimInterfaceTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimInterfaceTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimInterfaceTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfaceTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimInterfaceTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimInterfaceTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimInterfaceTemplatesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -178902,9 +275424,43 @@ func (c *ClientWithResponses) DcimInterfaceTemplatesUpdateWithResponse(ctx conte return ParseDcimInterfaceTemplatesUpdateResponse(rsp) } -// DcimInterfacesBulkDestroyWithResponse request returning *DcimInterfacesBulkDestroyResponse -func (c *ClientWithResponses) DcimInterfacesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimInterfacesBulkDestroyResponse, error) { - rsp, err := c.DcimInterfacesBulkDestroy(ctx, reqEditors...) +// DcimInterfaceTemplatesNotesListWithResponse request returning *DcimInterfaceTemplatesNotesListResponse +func (c *ClientWithResponses) DcimInterfaceTemplatesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimInterfaceTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesNotesListResponse, error) { + rsp, err := c.DcimInterfaceTemplatesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfaceTemplatesNotesListResponse(rsp) +} + +// DcimInterfaceTemplatesNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimInterfaceTemplatesNotesCreateResponse +func (c *ClientWithResponses) DcimInterfaceTemplatesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesNotesCreateResponse, error) { + rsp, err := c.DcimInterfaceTemplatesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfaceTemplatesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInterfaceTemplatesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimInterfaceTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfaceTemplatesNotesCreateResponse, error) { + rsp, err := c.DcimInterfaceTemplatesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfaceTemplatesNotesCreateResponse(rsp) +} + +// DcimInterfacesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimInterfacesBulkDestroyResponse +func (c *ClientWithResponses) DcimInterfacesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfacesBulkDestroyResponse, error) { + rsp, err := c.DcimInterfacesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfacesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimInterfacesBulkDestroyWithResponse(ctx context.Context, body DcimInterfacesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfacesBulkDestroyResponse, error) { + rsp, err := c.DcimInterfacesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -179023,6 +275579,32 @@ func (c *ClientWithResponses) DcimInterfacesUpdateWithResponse(ctx context.Conte return ParseDcimInterfacesUpdateResponse(rsp) } +// DcimInterfacesNotesListWithResponse request returning *DcimInterfacesNotesListResponse +func (c *ClientWithResponses) DcimInterfacesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimInterfacesNotesListParams, reqEditors ...RequestEditorFn) (*DcimInterfacesNotesListResponse, error) { + rsp, err := c.DcimInterfacesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfacesNotesListResponse(rsp) +} + +// DcimInterfacesNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimInterfacesNotesCreateResponse +func (c *ClientWithResponses) DcimInterfacesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInterfacesNotesCreateResponse, error) { + rsp, err := c.DcimInterfacesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfacesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInterfacesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimInterfacesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInterfacesNotesCreateResponse, error) { + rsp, err := c.DcimInterfacesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInterfacesNotesCreateResponse(rsp) +} + // DcimInterfacesTraceRetrieveWithResponse request returning *DcimInterfacesTraceRetrieveResponse func (c *ClientWithResponses) DcimInterfacesTraceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimInterfacesTraceRetrieveResponse, error) { rsp, err := c.DcimInterfacesTraceRetrieve(ctx, id, reqEditors...) @@ -179032,9 +275614,17 @@ func (c *ClientWithResponses) DcimInterfacesTraceRetrieveWithResponse(ctx contex return ParseDcimInterfacesTraceRetrieveResponse(rsp) } -// DcimInventoryItemsBulkDestroyWithResponse request returning *DcimInventoryItemsBulkDestroyResponse -func (c *ClientWithResponses) DcimInventoryItemsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimInventoryItemsBulkDestroyResponse, error) { - rsp, err := c.DcimInventoryItemsBulkDestroy(ctx, reqEditors...) +// DcimInventoryItemsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimInventoryItemsBulkDestroyResponse +func (c *ClientWithResponses) DcimInventoryItemsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemsBulkDestroyResponse, error) { + rsp, err := c.DcimInventoryItemsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimInventoryItemsBulkDestroyWithResponse(ctx context.Context, body DcimInventoryItemsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemsBulkDestroyResponse, error) { + rsp, err := c.DcimInventoryItemsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -179153,9 +275743,353 @@ func (c *ClientWithResponses) DcimInventoryItemsUpdateWithResponse(ctx context.C return ParseDcimInventoryItemsUpdateResponse(rsp) } -// DcimManufacturersBulkDestroyWithResponse request returning *DcimManufacturersBulkDestroyResponse -func (c *ClientWithResponses) DcimManufacturersBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimManufacturersBulkDestroyResponse, error) { - rsp, err := c.DcimManufacturersBulkDestroy(ctx, reqEditors...) +// DcimInventoryItemsNotesListWithResponse request returning *DcimInventoryItemsNotesListResponse +func (c *ClientWithResponses) DcimInventoryItemsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimInventoryItemsNotesListParams, reqEditors ...RequestEditorFn) (*DcimInventoryItemsNotesListResponse, error) { + rsp, err := c.DcimInventoryItemsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemsNotesListResponse(rsp) +} + +// DcimInventoryItemsNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimInventoryItemsNotesCreateResponse +func (c *ClientWithResponses) DcimInventoryItemsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimInventoryItemsNotesCreateResponse, error) { + rsp, err := c.DcimInventoryItemsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimInventoryItemsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimInventoryItemsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimInventoryItemsNotesCreateResponse, error) { + rsp, err := c.DcimInventoryItemsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimInventoryItemsNotesCreateResponse(rsp) +} + +// DcimLocationTypesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimLocationTypesBulkDestroyResponse +func (c *ClientWithResponses) DcimLocationTypesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationTypesBulkDestroyResponse, error) { + rsp, err := c.DcimLocationTypesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationTypesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimLocationTypesBulkDestroyWithResponse(ctx context.Context, body DcimLocationTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationTypesBulkDestroyResponse, error) { + rsp, err := c.DcimLocationTypesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationTypesBulkDestroyResponse(rsp) +} + +// DcimLocationTypesListWithResponse request returning *DcimLocationTypesListResponse +func (c *ClientWithResponses) DcimLocationTypesListWithResponse(ctx context.Context, params *DcimLocationTypesListParams, reqEditors ...RequestEditorFn) (*DcimLocationTypesListResponse, error) { + rsp, err := c.DcimLocationTypesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationTypesListResponse(rsp) +} + +// DcimLocationTypesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimLocationTypesBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimLocationTypesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationTypesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimLocationTypesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationTypesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimLocationTypesBulkPartialUpdateWithResponse(ctx context.Context, body DcimLocationTypesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationTypesBulkPartialUpdateResponse, error) { + rsp, err := c.DcimLocationTypesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationTypesBulkPartialUpdateResponse(rsp) +} + +// DcimLocationTypesCreateWithBodyWithResponse request with arbitrary body returning *DcimLocationTypesCreateResponse +func (c *ClientWithResponses) DcimLocationTypesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationTypesCreateResponse, error) { + rsp, err := c.DcimLocationTypesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationTypesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimLocationTypesCreateWithResponse(ctx context.Context, body DcimLocationTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationTypesCreateResponse, error) { + rsp, err := c.DcimLocationTypesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationTypesCreateResponse(rsp) +} + +// DcimLocationTypesBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimLocationTypesBulkUpdateResponse +func (c *ClientWithResponses) DcimLocationTypesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationTypesBulkUpdateResponse, error) { + rsp, err := c.DcimLocationTypesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationTypesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimLocationTypesBulkUpdateWithResponse(ctx context.Context, body DcimLocationTypesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationTypesBulkUpdateResponse, error) { + rsp, err := c.DcimLocationTypesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationTypesBulkUpdateResponse(rsp) +} + +// DcimLocationTypesDestroyWithResponse request returning *DcimLocationTypesDestroyResponse +func (c *ClientWithResponses) DcimLocationTypesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimLocationTypesDestroyResponse, error) { + rsp, err := c.DcimLocationTypesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationTypesDestroyResponse(rsp) +} + +// DcimLocationTypesRetrieveWithResponse request returning *DcimLocationTypesRetrieveResponse +func (c *ClientWithResponses) DcimLocationTypesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimLocationTypesRetrieveResponse, error) { + rsp, err := c.DcimLocationTypesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationTypesRetrieveResponse(rsp) +} + +// DcimLocationTypesPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimLocationTypesPartialUpdateResponse +func (c *ClientWithResponses) DcimLocationTypesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationTypesPartialUpdateResponse, error) { + rsp, err := c.DcimLocationTypesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationTypesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimLocationTypesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimLocationTypesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationTypesPartialUpdateResponse, error) { + rsp, err := c.DcimLocationTypesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationTypesPartialUpdateResponse(rsp) +} + +// DcimLocationTypesUpdateWithBodyWithResponse request with arbitrary body returning *DcimLocationTypesUpdateResponse +func (c *ClientWithResponses) DcimLocationTypesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationTypesUpdateResponse, error) { + rsp, err := c.DcimLocationTypesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationTypesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimLocationTypesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimLocationTypesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationTypesUpdateResponse, error) { + rsp, err := c.DcimLocationTypesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationTypesUpdateResponse(rsp) +} + +// DcimLocationTypesNotesListWithResponse request returning *DcimLocationTypesNotesListResponse +func (c *ClientWithResponses) DcimLocationTypesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimLocationTypesNotesListParams, reqEditors ...RequestEditorFn) (*DcimLocationTypesNotesListResponse, error) { + rsp, err := c.DcimLocationTypesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationTypesNotesListResponse(rsp) +} + +// DcimLocationTypesNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimLocationTypesNotesCreateResponse +func (c *ClientWithResponses) DcimLocationTypesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationTypesNotesCreateResponse, error) { + rsp, err := c.DcimLocationTypesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationTypesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimLocationTypesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimLocationTypesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationTypesNotesCreateResponse, error) { + rsp, err := c.DcimLocationTypesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationTypesNotesCreateResponse(rsp) +} + +// DcimLocationsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimLocationsBulkDestroyResponse +func (c *ClientWithResponses) DcimLocationsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsBulkDestroyResponse, error) { + rsp, err := c.DcimLocationsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimLocationsBulkDestroyWithResponse(ctx context.Context, body DcimLocationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsBulkDestroyResponse, error) { + rsp, err := c.DcimLocationsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsBulkDestroyResponse(rsp) +} + +// DcimLocationsListWithResponse request returning *DcimLocationsListResponse +func (c *ClientWithResponses) DcimLocationsListWithResponse(ctx context.Context, params *DcimLocationsListParams, reqEditors ...RequestEditorFn) (*DcimLocationsListResponse, error) { + rsp, err := c.DcimLocationsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsListResponse(rsp) +} + +// DcimLocationsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimLocationsBulkPartialUpdateResponse +func (c *ClientWithResponses) DcimLocationsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimLocationsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimLocationsBulkPartialUpdateWithResponse(ctx context.Context, body DcimLocationsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsBulkPartialUpdateResponse, error) { + rsp, err := c.DcimLocationsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsBulkPartialUpdateResponse(rsp) +} + +// DcimLocationsCreateWithBodyWithResponse request with arbitrary body returning *DcimLocationsCreateResponse +func (c *ClientWithResponses) DcimLocationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsCreateResponse, error) { + rsp, err := c.DcimLocationsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimLocationsCreateWithResponse(ctx context.Context, body DcimLocationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsCreateResponse, error) { + rsp, err := c.DcimLocationsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsCreateResponse(rsp) +} + +// DcimLocationsBulkUpdateWithBodyWithResponse request with arbitrary body returning *DcimLocationsBulkUpdateResponse +func (c *ClientWithResponses) DcimLocationsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsBulkUpdateResponse, error) { + rsp, err := c.DcimLocationsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimLocationsBulkUpdateWithResponse(ctx context.Context, body DcimLocationsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsBulkUpdateResponse, error) { + rsp, err := c.DcimLocationsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsBulkUpdateResponse(rsp) +} + +// DcimLocationsDestroyWithResponse request returning *DcimLocationsDestroyResponse +func (c *ClientWithResponses) DcimLocationsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimLocationsDestroyResponse, error) { + rsp, err := c.DcimLocationsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsDestroyResponse(rsp) +} + +// DcimLocationsRetrieveWithResponse request returning *DcimLocationsRetrieveResponse +func (c *ClientWithResponses) DcimLocationsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimLocationsRetrieveResponse, error) { + rsp, err := c.DcimLocationsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsRetrieveResponse(rsp) +} + +// DcimLocationsPartialUpdateWithBodyWithResponse request with arbitrary body returning *DcimLocationsPartialUpdateResponse +func (c *ClientWithResponses) DcimLocationsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsPartialUpdateResponse, error) { + rsp, err := c.DcimLocationsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimLocationsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimLocationsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsPartialUpdateResponse, error) { + rsp, err := c.DcimLocationsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsPartialUpdateResponse(rsp) +} + +// DcimLocationsUpdateWithBodyWithResponse request with arbitrary body returning *DcimLocationsUpdateResponse +func (c *ClientWithResponses) DcimLocationsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsUpdateResponse, error) { + rsp, err := c.DcimLocationsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) DcimLocationsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimLocationsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsUpdateResponse, error) { + rsp, err := c.DcimLocationsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsUpdateResponse(rsp) +} + +// DcimLocationsNotesListWithResponse request returning *DcimLocationsNotesListResponse +func (c *ClientWithResponses) DcimLocationsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimLocationsNotesListParams, reqEditors ...RequestEditorFn) (*DcimLocationsNotesListResponse, error) { + rsp, err := c.DcimLocationsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsNotesListResponse(rsp) +} + +// DcimLocationsNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimLocationsNotesCreateResponse +func (c *ClientWithResponses) DcimLocationsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimLocationsNotesCreateResponse, error) { + rsp, err := c.DcimLocationsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimLocationsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimLocationsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimLocationsNotesCreateResponse, error) { + rsp, err := c.DcimLocationsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimLocationsNotesCreateResponse(rsp) +} + +// DcimManufacturersBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimManufacturersBulkDestroyResponse +func (c *ClientWithResponses) DcimManufacturersBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimManufacturersBulkDestroyResponse, error) { + rsp, err := c.DcimManufacturersBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimManufacturersBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimManufacturersBulkDestroyWithResponse(ctx context.Context, body DcimManufacturersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimManufacturersBulkDestroyResponse, error) { + rsp, err := c.DcimManufacturersBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -179274,9 +276208,43 @@ func (c *ClientWithResponses) DcimManufacturersUpdateWithResponse(ctx context.Co return ParseDcimManufacturersUpdateResponse(rsp) } -// DcimPlatformsBulkDestroyWithResponse request returning *DcimPlatformsBulkDestroyResponse -func (c *ClientWithResponses) DcimPlatformsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPlatformsBulkDestroyResponse, error) { - rsp, err := c.DcimPlatformsBulkDestroy(ctx, reqEditors...) +// DcimManufacturersNotesListWithResponse request returning *DcimManufacturersNotesListResponse +func (c *ClientWithResponses) DcimManufacturersNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimManufacturersNotesListParams, reqEditors ...RequestEditorFn) (*DcimManufacturersNotesListResponse, error) { + rsp, err := c.DcimManufacturersNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimManufacturersNotesListResponse(rsp) +} + +// DcimManufacturersNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimManufacturersNotesCreateResponse +func (c *ClientWithResponses) DcimManufacturersNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimManufacturersNotesCreateResponse, error) { + rsp, err := c.DcimManufacturersNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimManufacturersNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimManufacturersNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimManufacturersNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimManufacturersNotesCreateResponse, error) { + rsp, err := c.DcimManufacturersNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimManufacturersNotesCreateResponse(rsp) +} + +// DcimPlatformsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimPlatformsBulkDestroyResponse +func (c *ClientWithResponses) DcimPlatformsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPlatformsBulkDestroyResponse, error) { + rsp, err := c.DcimPlatformsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPlatformsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimPlatformsBulkDestroyWithResponse(ctx context.Context, body DcimPlatformsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPlatformsBulkDestroyResponse, error) { + rsp, err := c.DcimPlatformsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -179395,6 +276363,32 @@ func (c *ClientWithResponses) DcimPlatformsUpdateWithResponse(ctx context.Contex return ParseDcimPlatformsUpdateResponse(rsp) } +// DcimPlatformsNotesListWithResponse request returning *DcimPlatformsNotesListResponse +func (c *ClientWithResponses) DcimPlatformsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimPlatformsNotesListParams, reqEditors ...RequestEditorFn) (*DcimPlatformsNotesListResponse, error) { + rsp, err := c.DcimPlatformsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPlatformsNotesListResponse(rsp) +} + +// DcimPlatformsNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimPlatformsNotesCreateResponse +func (c *ClientWithResponses) DcimPlatformsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPlatformsNotesCreateResponse, error) { + rsp, err := c.DcimPlatformsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPlatformsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPlatformsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPlatformsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPlatformsNotesCreateResponse, error) { + rsp, err := c.DcimPlatformsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPlatformsNotesCreateResponse(rsp) +} + // DcimPowerConnectionsListWithResponse request returning *DcimPowerConnectionsListResponse func (c *ClientWithResponses) DcimPowerConnectionsListWithResponse(ctx context.Context, params *DcimPowerConnectionsListParams, reqEditors ...RequestEditorFn) (*DcimPowerConnectionsListResponse, error) { rsp, err := c.DcimPowerConnectionsList(ctx, params, reqEditors...) @@ -179404,9 +276398,17 @@ func (c *ClientWithResponses) DcimPowerConnectionsListWithResponse(ctx context.C return ParseDcimPowerConnectionsListResponse(rsp) } -// DcimPowerFeedsBulkDestroyWithResponse request returning *DcimPowerFeedsBulkDestroyResponse -func (c *ClientWithResponses) DcimPowerFeedsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerFeedsBulkDestroyResponse, error) { - rsp, err := c.DcimPowerFeedsBulkDestroy(ctx, reqEditors...) +// DcimPowerFeedsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimPowerFeedsBulkDestroyResponse +func (c *ClientWithResponses) DcimPowerFeedsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerFeedsBulkDestroyResponse, error) { + rsp, err := c.DcimPowerFeedsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerFeedsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerFeedsBulkDestroyWithResponse(ctx context.Context, body DcimPowerFeedsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerFeedsBulkDestroyResponse, error) { + rsp, err := c.DcimPowerFeedsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -179525,6 +276527,32 @@ func (c *ClientWithResponses) DcimPowerFeedsUpdateWithResponse(ctx context.Conte return ParseDcimPowerFeedsUpdateResponse(rsp) } +// DcimPowerFeedsNotesListWithResponse request returning *DcimPowerFeedsNotesListResponse +func (c *ClientWithResponses) DcimPowerFeedsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimPowerFeedsNotesListParams, reqEditors ...RequestEditorFn) (*DcimPowerFeedsNotesListResponse, error) { + rsp, err := c.DcimPowerFeedsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerFeedsNotesListResponse(rsp) +} + +// DcimPowerFeedsNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimPowerFeedsNotesCreateResponse +func (c *ClientWithResponses) DcimPowerFeedsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerFeedsNotesCreateResponse, error) { + rsp, err := c.DcimPowerFeedsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerFeedsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerFeedsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerFeedsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerFeedsNotesCreateResponse, error) { + rsp, err := c.DcimPowerFeedsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerFeedsNotesCreateResponse(rsp) +} + // DcimPowerFeedsTraceRetrieveWithResponse request returning *DcimPowerFeedsTraceRetrieveResponse func (c *ClientWithResponses) DcimPowerFeedsTraceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerFeedsTraceRetrieveResponse, error) { rsp, err := c.DcimPowerFeedsTraceRetrieve(ctx, id, reqEditors...) @@ -179534,9 +276562,17 @@ func (c *ClientWithResponses) DcimPowerFeedsTraceRetrieveWithResponse(ctx contex return ParseDcimPowerFeedsTraceRetrieveResponse(rsp) } -// DcimPowerOutletTemplatesBulkDestroyWithResponse request returning *DcimPowerOutletTemplatesBulkDestroyResponse -func (c *ClientWithResponses) DcimPowerOutletTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesBulkDestroyResponse, error) { - rsp, err := c.DcimPowerOutletTemplatesBulkDestroy(ctx, reqEditors...) +// DcimPowerOutletTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimPowerOutletTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimPowerOutletTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerOutletTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimPowerOutletTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -179655,9 +276691,43 @@ func (c *ClientWithResponses) DcimPowerOutletTemplatesUpdateWithResponse(ctx con return ParseDcimPowerOutletTemplatesUpdateResponse(rsp) } -// DcimPowerOutletsBulkDestroyWithResponse request returning *DcimPowerOutletsBulkDestroyResponse -func (c *ClientWithResponses) DcimPowerOutletsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerOutletsBulkDestroyResponse, error) { - rsp, err := c.DcimPowerOutletsBulkDestroy(ctx, reqEditors...) +// DcimPowerOutletTemplatesNotesListWithResponse request returning *DcimPowerOutletTemplatesNotesListResponse +func (c *ClientWithResponses) DcimPowerOutletTemplatesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimPowerOutletTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesNotesListResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletTemplatesNotesListResponse(rsp) +} + +// DcimPowerOutletTemplatesNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimPowerOutletTemplatesNotesCreateResponse +func (c *ClientWithResponses) DcimPowerOutletTemplatesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesNotesCreateResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletTemplatesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerOutletTemplatesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletTemplatesNotesCreateResponse, error) { + rsp, err := c.DcimPowerOutletTemplatesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletTemplatesNotesCreateResponse(rsp) +} + +// DcimPowerOutletsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimPowerOutletsBulkDestroyResponse +func (c *ClientWithResponses) DcimPowerOutletsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletsBulkDestroyResponse, error) { + rsp, err := c.DcimPowerOutletsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerOutletsBulkDestroyWithResponse(ctx context.Context, body DcimPowerOutletsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletsBulkDestroyResponse, error) { + rsp, err := c.DcimPowerOutletsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -179776,6 +276846,32 @@ func (c *ClientWithResponses) DcimPowerOutletsUpdateWithResponse(ctx context.Con return ParseDcimPowerOutletsUpdateResponse(rsp) } +// DcimPowerOutletsNotesListWithResponse request returning *DcimPowerOutletsNotesListResponse +func (c *ClientWithResponses) DcimPowerOutletsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimPowerOutletsNotesListParams, reqEditors ...RequestEditorFn) (*DcimPowerOutletsNotesListResponse, error) { + rsp, err := c.DcimPowerOutletsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletsNotesListResponse(rsp) +} + +// DcimPowerOutletsNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimPowerOutletsNotesCreateResponse +func (c *ClientWithResponses) DcimPowerOutletsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerOutletsNotesCreateResponse, error) { + rsp, err := c.DcimPowerOutletsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerOutletsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerOutletsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerOutletsNotesCreateResponse, error) { + rsp, err := c.DcimPowerOutletsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerOutletsNotesCreateResponse(rsp) +} + // DcimPowerOutletsTraceRetrieveWithResponse request returning *DcimPowerOutletsTraceRetrieveResponse func (c *ClientWithResponses) DcimPowerOutletsTraceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerOutletsTraceRetrieveResponse, error) { rsp, err := c.DcimPowerOutletsTraceRetrieve(ctx, id, reqEditors...) @@ -179785,9 +276881,17 @@ func (c *ClientWithResponses) DcimPowerOutletsTraceRetrieveWithResponse(ctx cont return ParseDcimPowerOutletsTraceRetrieveResponse(rsp) } -// DcimPowerPanelsBulkDestroyWithResponse request returning *DcimPowerPanelsBulkDestroyResponse -func (c *ClientWithResponses) DcimPowerPanelsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerPanelsBulkDestroyResponse, error) { - rsp, err := c.DcimPowerPanelsBulkDestroy(ctx, reqEditors...) +// DcimPowerPanelsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimPowerPanelsBulkDestroyResponse +func (c *ClientWithResponses) DcimPowerPanelsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPanelsBulkDestroyResponse, error) { + rsp, err := c.DcimPowerPanelsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPanelsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPanelsBulkDestroyWithResponse(ctx context.Context, body DcimPowerPanelsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPanelsBulkDestroyResponse, error) { + rsp, err := c.DcimPowerPanelsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -179906,9 +277010,43 @@ func (c *ClientWithResponses) DcimPowerPanelsUpdateWithResponse(ctx context.Cont return ParseDcimPowerPanelsUpdateResponse(rsp) } -// DcimPowerPortTemplatesBulkDestroyWithResponse request returning *DcimPowerPortTemplatesBulkDestroyResponse -func (c *ClientWithResponses) DcimPowerPortTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesBulkDestroyResponse, error) { - rsp, err := c.DcimPowerPortTemplatesBulkDestroy(ctx, reqEditors...) +// DcimPowerPanelsNotesListWithResponse request returning *DcimPowerPanelsNotesListResponse +func (c *ClientWithResponses) DcimPowerPanelsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimPowerPanelsNotesListParams, reqEditors ...RequestEditorFn) (*DcimPowerPanelsNotesListResponse, error) { + rsp, err := c.DcimPowerPanelsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPanelsNotesListResponse(rsp) +} + +// DcimPowerPanelsNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimPowerPanelsNotesCreateResponse +func (c *ClientWithResponses) DcimPowerPanelsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPanelsNotesCreateResponse, error) { + rsp, err := c.DcimPowerPanelsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPanelsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPanelsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerPanelsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPanelsNotesCreateResponse, error) { + rsp, err := c.DcimPowerPanelsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPanelsNotesCreateResponse(rsp) +} + +// DcimPowerPortTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimPowerPortTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimPowerPortTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimPowerPortTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPortTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimPowerPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimPowerPortTemplatesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -180027,9 +277165,43 @@ func (c *ClientWithResponses) DcimPowerPortTemplatesUpdateWithResponse(ctx conte return ParseDcimPowerPortTemplatesUpdateResponse(rsp) } -// DcimPowerPortsBulkDestroyWithResponse request returning *DcimPowerPortsBulkDestroyResponse -func (c *ClientWithResponses) DcimPowerPortsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimPowerPortsBulkDestroyResponse, error) { - rsp, err := c.DcimPowerPortsBulkDestroy(ctx, reqEditors...) +// DcimPowerPortTemplatesNotesListWithResponse request returning *DcimPowerPortTemplatesNotesListResponse +func (c *ClientWithResponses) DcimPowerPortTemplatesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimPowerPortTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesNotesListResponse, error) { + rsp, err := c.DcimPowerPortTemplatesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortTemplatesNotesListResponse(rsp) +} + +// DcimPowerPortTemplatesNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimPowerPortTemplatesNotesCreateResponse +func (c *ClientWithResponses) DcimPowerPortTemplatesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesNotesCreateResponse, error) { + rsp, err := c.DcimPowerPortTemplatesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortTemplatesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPortTemplatesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerPortTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortTemplatesNotesCreateResponse, error) { + rsp, err := c.DcimPowerPortTemplatesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortTemplatesNotesCreateResponse(rsp) +} + +// DcimPowerPortsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimPowerPortsBulkDestroyResponse +func (c *ClientWithResponses) DcimPowerPortsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortsBulkDestroyResponse, error) { + rsp, err := c.DcimPowerPortsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPortsBulkDestroyWithResponse(ctx context.Context, body DcimPowerPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortsBulkDestroyResponse, error) { + rsp, err := c.DcimPowerPortsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -180148,6 +277320,32 @@ func (c *ClientWithResponses) DcimPowerPortsUpdateWithResponse(ctx context.Conte return ParseDcimPowerPortsUpdateResponse(rsp) } +// DcimPowerPortsNotesListWithResponse request returning *DcimPowerPortsNotesListResponse +func (c *ClientWithResponses) DcimPowerPortsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimPowerPortsNotesListParams, reqEditors ...RequestEditorFn) (*DcimPowerPortsNotesListResponse, error) { + rsp, err := c.DcimPowerPortsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortsNotesListResponse(rsp) +} + +// DcimPowerPortsNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimPowerPortsNotesCreateResponse +func (c *ClientWithResponses) DcimPowerPortsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimPowerPortsNotesCreateResponse, error) { + rsp, err := c.DcimPowerPortsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimPowerPortsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimPowerPortsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimPowerPortsNotesCreateResponse, error) { + rsp, err := c.DcimPowerPortsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimPowerPortsNotesCreateResponse(rsp) +} + // DcimPowerPortsTraceRetrieveWithResponse request returning *DcimPowerPortsTraceRetrieveResponse func (c *ClientWithResponses) DcimPowerPortsTraceRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimPowerPortsTraceRetrieveResponse, error) { rsp, err := c.DcimPowerPortsTraceRetrieve(ctx, id, reqEditors...) @@ -180157,9 +277355,17 @@ func (c *ClientWithResponses) DcimPowerPortsTraceRetrieveWithResponse(ctx contex return ParseDcimPowerPortsTraceRetrieveResponse(rsp) } -// DcimRackGroupsBulkDestroyWithResponse request returning *DcimRackGroupsBulkDestroyResponse -func (c *ClientWithResponses) DcimRackGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRackGroupsBulkDestroyResponse, error) { - rsp, err := c.DcimRackGroupsBulkDestroy(ctx, reqEditors...) +// DcimRackGroupsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimRackGroupsBulkDestroyResponse +func (c *ClientWithResponses) DcimRackGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackGroupsBulkDestroyResponse, error) { + rsp, err := c.DcimRackGroupsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackGroupsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackGroupsBulkDestroyWithResponse(ctx context.Context, body DcimRackGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackGroupsBulkDestroyResponse, error) { + rsp, err := c.DcimRackGroupsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -180278,9 +277484,43 @@ func (c *ClientWithResponses) DcimRackGroupsUpdateWithResponse(ctx context.Conte return ParseDcimRackGroupsUpdateResponse(rsp) } -// DcimRackReservationsBulkDestroyWithResponse request returning *DcimRackReservationsBulkDestroyResponse -func (c *ClientWithResponses) DcimRackReservationsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRackReservationsBulkDestroyResponse, error) { - rsp, err := c.DcimRackReservationsBulkDestroy(ctx, reqEditors...) +// DcimRackGroupsNotesListWithResponse request returning *DcimRackGroupsNotesListResponse +func (c *ClientWithResponses) DcimRackGroupsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimRackGroupsNotesListParams, reqEditors ...RequestEditorFn) (*DcimRackGroupsNotesListResponse, error) { + rsp, err := c.DcimRackGroupsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackGroupsNotesListResponse(rsp) +} + +// DcimRackGroupsNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimRackGroupsNotesCreateResponse +func (c *ClientWithResponses) DcimRackGroupsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackGroupsNotesCreateResponse, error) { + rsp, err := c.DcimRackGroupsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackGroupsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackGroupsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRackGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackGroupsNotesCreateResponse, error) { + rsp, err := c.DcimRackGroupsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackGroupsNotesCreateResponse(rsp) +} + +// DcimRackReservationsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimRackReservationsBulkDestroyResponse +func (c *ClientWithResponses) DcimRackReservationsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackReservationsBulkDestroyResponse, error) { + rsp, err := c.DcimRackReservationsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackReservationsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackReservationsBulkDestroyWithResponse(ctx context.Context, body DcimRackReservationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackReservationsBulkDestroyResponse, error) { + rsp, err := c.DcimRackReservationsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -180399,9 +277639,43 @@ func (c *ClientWithResponses) DcimRackReservationsUpdateWithResponse(ctx context return ParseDcimRackReservationsUpdateResponse(rsp) } -// DcimRackRolesBulkDestroyWithResponse request returning *DcimRackRolesBulkDestroyResponse -func (c *ClientWithResponses) DcimRackRolesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRackRolesBulkDestroyResponse, error) { - rsp, err := c.DcimRackRolesBulkDestroy(ctx, reqEditors...) +// DcimRackReservationsNotesListWithResponse request returning *DcimRackReservationsNotesListResponse +func (c *ClientWithResponses) DcimRackReservationsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimRackReservationsNotesListParams, reqEditors ...RequestEditorFn) (*DcimRackReservationsNotesListResponse, error) { + rsp, err := c.DcimRackReservationsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackReservationsNotesListResponse(rsp) +} + +// DcimRackReservationsNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimRackReservationsNotesCreateResponse +func (c *ClientWithResponses) DcimRackReservationsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackReservationsNotesCreateResponse, error) { + rsp, err := c.DcimRackReservationsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackReservationsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackReservationsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRackReservationsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackReservationsNotesCreateResponse, error) { + rsp, err := c.DcimRackReservationsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackReservationsNotesCreateResponse(rsp) +} + +// DcimRackRolesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimRackRolesBulkDestroyResponse +func (c *ClientWithResponses) DcimRackRolesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackRolesBulkDestroyResponse, error) { + rsp, err := c.DcimRackRolesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackRolesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackRolesBulkDestroyWithResponse(ctx context.Context, body DcimRackRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackRolesBulkDestroyResponse, error) { + rsp, err := c.DcimRackRolesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -180520,9 +277794,43 @@ func (c *ClientWithResponses) DcimRackRolesUpdateWithResponse(ctx context.Contex return ParseDcimRackRolesUpdateResponse(rsp) } -// DcimRacksBulkDestroyWithResponse request returning *DcimRacksBulkDestroyResponse -func (c *ClientWithResponses) DcimRacksBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRacksBulkDestroyResponse, error) { - rsp, err := c.DcimRacksBulkDestroy(ctx, reqEditors...) +// DcimRackRolesNotesListWithResponse request returning *DcimRackRolesNotesListResponse +func (c *ClientWithResponses) DcimRackRolesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimRackRolesNotesListParams, reqEditors ...RequestEditorFn) (*DcimRackRolesNotesListResponse, error) { + rsp, err := c.DcimRackRolesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackRolesNotesListResponse(rsp) +} + +// DcimRackRolesNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimRackRolesNotesCreateResponse +func (c *ClientWithResponses) DcimRackRolesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRackRolesNotesCreateResponse, error) { + rsp, err := c.DcimRackRolesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackRolesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRackRolesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRackRolesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRackRolesNotesCreateResponse, error) { + rsp, err := c.DcimRackRolesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRackRolesNotesCreateResponse(rsp) +} + +// DcimRacksBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimRacksBulkDestroyResponse +func (c *ClientWithResponses) DcimRacksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRacksBulkDestroyResponse, error) { + rsp, err := c.DcimRacksBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimRacksBulkDestroyWithResponse(ctx context.Context, body DcimRacksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRacksBulkDestroyResponse, error) { + rsp, err := c.DcimRacksBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -180650,9 +277958,43 @@ func (c *ClientWithResponses) DcimRacksElevationListWithResponse(ctx context.Con return ParseDcimRacksElevationListResponse(rsp) } -// DcimRearPortTemplatesBulkDestroyWithResponse request returning *DcimRearPortTemplatesBulkDestroyResponse -func (c *ClientWithResponses) DcimRearPortTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesBulkDestroyResponse, error) { - rsp, err := c.DcimRearPortTemplatesBulkDestroy(ctx, reqEditors...) +// DcimRacksNotesListWithResponse request returning *DcimRacksNotesListResponse +func (c *ClientWithResponses) DcimRacksNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimRacksNotesListParams, reqEditors ...RequestEditorFn) (*DcimRacksNotesListResponse, error) { + rsp, err := c.DcimRacksNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksNotesListResponse(rsp) +} + +// DcimRacksNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimRacksNotesCreateResponse +func (c *ClientWithResponses) DcimRacksNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRacksNotesCreateResponse, error) { + rsp, err := c.DcimRacksNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRacksNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRacksNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRacksNotesCreateResponse, error) { + rsp, err := c.DcimRacksNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRacksNotesCreateResponse(rsp) +} + +// DcimRearPortTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimRearPortTemplatesBulkDestroyResponse +func (c *ClientWithResponses) DcimRearPortTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimRearPortTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimRearPortTemplatesBulkDestroyWithResponse(ctx context.Context, body DcimRearPortTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesBulkDestroyResponse, error) { + rsp, err := c.DcimRearPortTemplatesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -180771,9 +278113,43 @@ func (c *ClientWithResponses) DcimRearPortTemplatesUpdateWithResponse(ctx contex return ParseDcimRearPortTemplatesUpdateResponse(rsp) } -// DcimRearPortsBulkDestroyWithResponse request returning *DcimRearPortsBulkDestroyResponse -func (c *ClientWithResponses) DcimRearPortsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRearPortsBulkDestroyResponse, error) { - rsp, err := c.DcimRearPortsBulkDestroy(ctx, reqEditors...) +// DcimRearPortTemplatesNotesListWithResponse request returning *DcimRearPortTemplatesNotesListResponse +func (c *ClientWithResponses) DcimRearPortTemplatesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimRearPortTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesNotesListResponse, error) { + rsp, err := c.DcimRearPortTemplatesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortTemplatesNotesListResponse(rsp) +} + +// DcimRearPortTemplatesNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimRearPortTemplatesNotesCreateResponse +func (c *ClientWithResponses) DcimRearPortTemplatesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesNotesCreateResponse, error) { + rsp, err := c.DcimRearPortTemplatesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortTemplatesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRearPortTemplatesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRearPortTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortTemplatesNotesCreateResponse, error) { + rsp, err := c.DcimRearPortTemplatesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortTemplatesNotesCreateResponse(rsp) +} + +// DcimRearPortsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimRearPortsBulkDestroyResponse +func (c *ClientWithResponses) DcimRearPortsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortsBulkDestroyResponse, error) { + rsp, err := c.DcimRearPortsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimRearPortsBulkDestroyWithResponse(ctx context.Context, body DcimRearPortsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortsBulkDestroyResponse, error) { + rsp, err := c.DcimRearPortsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -180892,6 +278268,32 @@ func (c *ClientWithResponses) DcimRearPortsUpdateWithResponse(ctx context.Contex return ParseDcimRearPortsUpdateResponse(rsp) } +// DcimRearPortsNotesListWithResponse request returning *DcimRearPortsNotesListResponse +func (c *ClientWithResponses) DcimRearPortsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimRearPortsNotesListParams, reqEditors ...RequestEditorFn) (*DcimRearPortsNotesListResponse, error) { + rsp, err := c.DcimRearPortsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortsNotesListResponse(rsp) +} + +// DcimRearPortsNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimRearPortsNotesCreateResponse +func (c *ClientWithResponses) DcimRearPortsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRearPortsNotesCreateResponse, error) { + rsp, err := c.DcimRearPortsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRearPortsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRearPortsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRearPortsNotesCreateResponse, error) { + rsp, err := c.DcimRearPortsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRearPortsNotesCreateResponse(rsp) +} + // DcimRearPortsPathsRetrieveWithResponse request returning *DcimRearPortsPathsRetrieveResponse func (c *ClientWithResponses) DcimRearPortsPathsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DcimRearPortsPathsRetrieveResponse, error) { rsp, err := c.DcimRearPortsPathsRetrieve(ctx, id, reqEditors...) @@ -180901,9 +278303,17 @@ func (c *ClientWithResponses) DcimRearPortsPathsRetrieveWithResponse(ctx context return ParseDcimRearPortsPathsRetrieveResponse(rsp) } -// DcimRegionsBulkDestroyWithResponse request returning *DcimRegionsBulkDestroyResponse -func (c *ClientWithResponses) DcimRegionsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimRegionsBulkDestroyResponse, error) { - rsp, err := c.DcimRegionsBulkDestroy(ctx, reqEditors...) +// DcimRegionsBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimRegionsBulkDestroyResponse +func (c *ClientWithResponses) DcimRegionsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRegionsBulkDestroyResponse, error) { + rsp, err := c.DcimRegionsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRegionsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimRegionsBulkDestroyWithResponse(ctx context.Context, body DcimRegionsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRegionsBulkDestroyResponse, error) { + rsp, err := c.DcimRegionsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -181022,9 +278432,43 @@ func (c *ClientWithResponses) DcimRegionsUpdateWithResponse(ctx context.Context, return ParseDcimRegionsUpdateResponse(rsp) } -// DcimSitesBulkDestroyWithResponse request returning *DcimSitesBulkDestroyResponse -func (c *ClientWithResponses) DcimSitesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimSitesBulkDestroyResponse, error) { - rsp, err := c.DcimSitesBulkDestroy(ctx, reqEditors...) +// DcimRegionsNotesListWithResponse request returning *DcimRegionsNotesListResponse +func (c *ClientWithResponses) DcimRegionsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimRegionsNotesListParams, reqEditors ...RequestEditorFn) (*DcimRegionsNotesListResponse, error) { + rsp, err := c.DcimRegionsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRegionsNotesListResponse(rsp) +} + +// DcimRegionsNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimRegionsNotesCreateResponse +func (c *ClientWithResponses) DcimRegionsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimRegionsNotesCreateResponse, error) { + rsp, err := c.DcimRegionsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRegionsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimRegionsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimRegionsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimRegionsNotesCreateResponse, error) { + rsp, err := c.DcimRegionsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimRegionsNotesCreateResponse(rsp) +} + +// DcimSitesBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimSitesBulkDestroyResponse +func (c *ClientWithResponses) DcimSitesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSitesBulkDestroyResponse, error) { + rsp, err := c.DcimSitesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSitesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimSitesBulkDestroyWithResponse(ctx context.Context, body DcimSitesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSitesBulkDestroyResponse, error) { + rsp, err := c.DcimSitesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -181143,9 +278587,43 @@ func (c *ClientWithResponses) DcimSitesUpdateWithResponse(ctx context.Context, i return ParseDcimSitesUpdateResponse(rsp) } -// DcimVirtualChassisBulkDestroyWithResponse request returning *DcimVirtualChassisBulkDestroyResponse -func (c *ClientWithResponses) DcimVirtualChassisBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DcimVirtualChassisBulkDestroyResponse, error) { - rsp, err := c.DcimVirtualChassisBulkDestroy(ctx, reqEditors...) +// DcimSitesNotesListWithResponse request returning *DcimSitesNotesListResponse +func (c *ClientWithResponses) DcimSitesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimSitesNotesListParams, reqEditors ...RequestEditorFn) (*DcimSitesNotesListResponse, error) { + rsp, err := c.DcimSitesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSitesNotesListResponse(rsp) +} + +// DcimSitesNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimSitesNotesCreateResponse +func (c *ClientWithResponses) DcimSitesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimSitesNotesCreateResponse, error) { + rsp, err := c.DcimSitesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSitesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimSitesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimSitesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimSitesNotesCreateResponse, error) { + rsp, err := c.DcimSitesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimSitesNotesCreateResponse(rsp) +} + +// DcimVirtualChassisBulkDestroyWithBodyWithResponse request with arbitrary body returning *DcimVirtualChassisBulkDestroyResponse +func (c *ClientWithResponses) DcimVirtualChassisBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualChassisBulkDestroyResponse, error) { + rsp, err := c.DcimVirtualChassisBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualChassisBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) DcimVirtualChassisBulkDestroyWithResponse(ctx context.Context, body DcimVirtualChassisBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualChassisBulkDestroyResponse, error) { + rsp, err := c.DcimVirtualChassisBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -181264,9 +278742,43 @@ func (c *ClientWithResponses) DcimVirtualChassisUpdateWithResponse(ctx context.C return ParseDcimVirtualChassisUpdateResponse(rsp) } -// ExtrasComputedFieldsBulkDestroyWithResponse request returning *ExtrasComputedFieldsBulkDestroyResponse -func (c *ClientWithResponses) ExtrasComputedFieldsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsBulkDestroyResponse, error) { - rsp, err := c.ExtrasComputedFieldsBulkDestroy(ctx, reqEditors...) +// DcimVirtualChassisNotesListWithResponse request returning *DcimVirtualChassisNotesListResponse +func (c *ClientWithResponses) DcimVirtualChassisNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *DcimVirtualChassisNotesListParams, reqEditors ...RequestEditorFn) (*DcimVirtualChassisNotesListResponse, error) { + rsp, err := c.DcimVirtualChassisNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualChassisNotesListResponse(rsp) +} + +// DcimVirtualChassisNotesCreateWithBodyWithResponse request with arbitrary body returning *DcimVirtualChassisNotesCreateResponse +func (c *ClientWithResponses) DcimVirtualChassisNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DcimVirtualChassisNotesCreateResponse, error) { + rsp, err := c.DcimVirtualChassisNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualChassisNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) DcimVirtualChassisNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body DcimVirtualChassisNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DcimVirtualChassisNotesCreateResponse, error) { + rsp, err := c.DcimVirtualChassisNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseDcimVirtualChassisNotesCreateResponse(rsp) +} + +// ExtrasComputedFieldsBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasComputedFieldsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasComputedFieldsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsBulkDestroyResponse, error) { + rsp, err := c.ExtrasComputedFieldsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasComputedFieldsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasComputedFieldsBulkDestroyWithResponse(ctx context.Context, body ExtrasComputedFieldsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsBulkDestroyResponse, error) { + rsp, err := c.ExtrasComputedFieldsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -181385,9 +278897,43 @@ func (c *ClientWithResponses) ExtrasComputedFieldsUpdateWithResponse(ctx context return ParseExtrasComputedFieldsUpdateResponse(rsp) } -// ExtrasConfigContextSchemasBulkDestroyWithResponse request returning *ExtrasConfigContextSchemasBulkDestroyResponse -func (c *ClientWithResponses) ExtrasConfigContextSchemasBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasBulkDestroyResponse, error) { - rsp, err := c.ExtrasConfigContextSchemasBulkDestroy(ctx, reqEditors...) +// ExtrasComputedFieldsNotesListWithResponse request returning *ExtrasComputedFieldsNotesListResponse +func (c *ClientWithResponses) ExtrasComputedFieldsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasComputedFieldsNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsNotesListResponse, error) { + rsp, err := c.ExtrasComputedFieldsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasComputedFieldsNotesListResponse(rsp) +} + +// ExtrasComputedFieldsNotesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasComputedFieldsNotesCreateResponse +func (c *ClientWithResponses) ExtrasComputedFieldsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsNotesCreateResponse, error) { + rsp, err := c.ExtrasComputedFieldsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasComputedFieldsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasComputedFieldsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasComputedFieldsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasComputedFieldsNotesCreateResponse, error) { + rsp, err := c.ExtrasComputedFieldsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasComputedFieldsNotesCreateResponse(rsp) +} + +// ExtrasConfigContextSchemasBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasConfigContextSchemasBulkDestroyResponse +func (c *ClientWithResponses) ExtrasConfigContextSchemasBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasBulkDestroyResponse, error) { + rsp, err := c.ExtrasConfigContextSchemasBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextSchemasBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigContextSchemasBulkDestroyWithResponse(ctx context.Context, body ExtrasConfigContextSchemasBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasBulkDestroyResponse, error) { + rsp, err := c.ExtrasConfigContextSchemasBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -181506,9 +279052,43 @@ func (c *ClientWithResponses) ExtrasConfigContextSchemasUpdateWithResponse(ctx c return ParseExtrasConfigContextSchemasUpdateResponse(rsp) } -// ExtrasConfigContextsBulkDestroyWithResponse request returning *ExtrasConfigContextsBulkDestroyResponse -func (c *ClientWithResponses) ExtrasConfigContextsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsBulkDestroyResponse, error) { - rsp, err := c.ExtrasConfigContextsBulkDestroy(ctx, reqEditors...) +// ExtrasConfigContextSchemasNotesListWithResponse request returning *ExtrasConfigContextSchemasNotesListResponse +func (c *ClientWithResponses) ExtrasConfigContextSchemasNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasConfigContextSchemasNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasNotesListResponse, error) { + rsp, err := c.ExtrasConfigContextSchemasNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextSchemasNotesListResponse(rsp) +} + +// ExtrasConfigContextSchemasNotesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasConfigContextSchemasNotesCreateResponse +func (c *ClientWithResponses) ExtrasConfigContextSchemasNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasNotesCreateResponse, error) { + rsp, err := c.ExtrasConfigContextSchemasNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextSchemasNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigContextSchemasNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextSchemasNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextSchemasNotesCreateResponse, error) { + rsp, err := c.ExtrasConfigContextSchemasNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextSchemasNotesCreateResponse(rsp) +} + +// ExtrasConfigContextsBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasConfigContextsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasConfigContextsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsBulkDestroyResponse, error) { + rsp, err := c.ExtrasConfigContextsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigContextsBulkDestroyWithResponse(ctx context.Context, body ExtrasConfigContextsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsBulkDestroyResponse, error) { + rsp, err := c.ExtrasConfigContextsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -181627,6 +279207,32 @@ func (c *ClientWithResponses) ExtrasConfigContextsUpdateWithResponse(ctx context return ParseExtrasConfigContextsUpdateResponse(rsp) } +// ExtrasConfigContextsNotesListWithResponse request returning *ExtrasConfigContextsNotesListResponse +func (c *ClientWithResponses) ExtrasConfigContextsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasConfigContextsNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsNotesListResponse, error) { + rsp, err := c.ExtrasConfigContextsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsNotesListResponse(rsp) +} + +// ExtrasConfigContextsNotesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasConfigContextsNotesCreateResponse +func (c *ClientWithResponses) ExtrasConfigContextsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsNotesCreateResponse, error) { + rsp, err := c.ExtrasConfigContextsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasConfigContextsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasConfigContextsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasConfigContextsNotesCreateResponse, error) { + rsp, err := c.ExtrasConfigContextsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasConfigContextsNotesCreateResponse(rsp) +} + // ExtrasContentTypesListWithResponse request returning *ExtrasContentTypesListResponse func (c *ClientWithResponses) ExtrasContentTypesListWithResponse(ctx context.Context, params *ExtrasContentTypesListParams, reqEditors ...RequestEditorFn) (*ExtrasContentTypesListResponse, error) { rsp, err := c.ExtrasContentTypesList(ctx, params, reqEditors...) @@ -181645,9 +279251,17 @@ func (c *ClientWithResponses) ExtrasContentTypesRetrieveWithResponse(ctx context return ParseExtrasContentTypesRetrieveResponse(rsp) } -// ExtrasCustomFieldChoicesBulkDestroyWithResponse request returning *ExtrasCustomFieldChoicesBulkDestroyResponse -func (c *ClientWithResponses) ExtrasCustomFieldChoicesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesBulkDestroyResponse, error) { - rsp, err := c.ExtrasCustomFieldChoicesBulkDestroy(ctx, reqEditors...) +// ExtrasCustomFieldChoicesBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasCustomFieldChoicesBulkDestroyResponse +func (c *ClientWithResponses) ExtrasCustomFieldChoicesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesBulkDestroyResponse, error) { + rsp, err := c.ExtrasCustomFieldChoicesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldChoicesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomFieldChoicesBulkDestroyWithResponse(ctx context.Context, body ExtrasCustomFieldChoicesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldChoicesBulkDestroyResponse, error) { + rsp, err := c.ExtrasCustomFieldChoicesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -181766,9 +279380,17 @@ func (c *ClientWithResponses) ExtrasCustomFieldChoicesUpdateWithResponse(ctx con return ParseExtrasCustomFieldChoicesUpdateResponse(rsp) } -// ExtrasCustomFieldsBulkDestroyWithResponse request returning *ExtrasCustomFieldsBulkDestroyResponse -func (c *ClientWithResponses) ExtrasCustomFieldsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsBulkDestroyResponse, error) { - rsp, err := c.ExtrasCustomFieldsBulkDestroy(ctx, reqEditors...) +// ExtrasCustomFieldsBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasCustomFieldsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasCustomFieldsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsBulkDestroyResponse, error) { + rsp, err := c.ExtrasCustomFieldsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomFieldsBulkDestroyWithResponse(ctx context.Context, body ExtrasCustomFieldsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsBulkDestroyResponse, error) { + rsp, err := c.ExtrasCustomFieldsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -181887,9 +279509,43 @@ func (c *ClientWithResponses) ExtrasCustomFieldsUpdateWithResponse(ctx context.C return ParseExtrasCustomFieldsUpdateResponse(rsp) } -// ExtrasCustomLinksBulkDestroyWithResponse request returning *ExtrasCustomLinksBulkDestroyResponse -func (c *ClientWithResponses) ExtrasCustomLinksBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksBulkDestroyResponse, error) { - rsp, err := c.ExtrasCustomLinksBulkDestroy(ctx, reqEditors...) +// ExtrasCustomFieldsNotesListWithResponse request returning *ExtrasCustomFieldsNotesListResponse +func (c *ClientWithResponses) ExtrasCustomFieldsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasCustomFieldsNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsNotesListResponse, error) { + rsp, err := c.ExtrasCustomFieldsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldsNotesListResponse(rsp) +} + +// ExtrasCustomFieldsNotesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomFieldsNotesCreateResponse +func (c *ClientWithResponses) ExtrasCustomFieldsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsNotesCreateResponse, error) { + rsp, err := c.ExtrasCustomFieldsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomFieldsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasCustomFieldsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomFieldsNotesCreateResponse, error) { + rsp, err := c.ExtrasCustomFieldsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomFieldsNotesCreateResponse(rsp) +} + +// ExtrasCustomLinksBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasCustomLinksBulkDestroyResponse +func (c *ClientWithResponses) ExtrasCustomLinksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksBulkDestroyResponse, error) { + rsp, err := c.ExtrasCustomLinksBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomLinksBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomLinksBulkDestroyWithResponse(ctx context.Context, body ExtrasCustomLinksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksBulkDestroyResponse, error) { + rsp, err := c.ExtrasCustomLinksBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -182008,9 +279664,172 @@ func (c *ClientWithResponses) ExtrasCustomLinksUpdateWithResponse(ctx context.Co return ParseExtrasCustomLinksUpdateResponse(rsp) } -// ExtrasDynamicGroupsBulkDestroyWithResponse request returning *ExtrasDynamicGroupsBulkDestroyResponse -func (c *ClientWithResponses) ExtrasDynamicGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsBulkDestroyResponse, error) { - rsp, err := c.ExtrasDynamicGroupsBulkDestroy(ctx, reqEditors...) +// ExtrasCustomLinksNotesListWithResponse request returning *ExtrasCustomLinksNotesListResponse +func (c *ClientWithResponses) ExtrasCustomLinksNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasCustomLinksNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksNotesListResponse, error) { + rsp, err := c.ExtrasCustomLinksNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomLinksNotesListResponse(rsp) +} + +// ExtrasCustomLinksNotesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasCustomLinksNotesCreateResponse +func (c *ClientWithResponses) ExtrasCustomLinksNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksNotesCreateResponse, error) { + rsp, err := c.ExtrasCustomLinksNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomLinksNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasCustomLinksNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasCustomLinksNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasCustomLinksNotesCreateResponse, error) { + rsp, err := c.ExtrasCustomLinksNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasCustomLinksNotesCreateResponse(rsp) +} + +// ExtrasDynamicGroupMembershipsBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasDynamicGroupMembershipsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasDynamicGroupMembershipsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsBulkDestroyResponse, error) { + rsp, err := c.ExtrasDynamicGroupMembershipsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupMembershipsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasDynamicGroupMembershipsBulkDestroyWithResponse(ctx context.Context, body ExtrasDynamicGroupMembershipsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsBulkDestroyResponse, error) { + rsp, err := c.ExtrasDynamicGroupMembershipsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupMembershipsBulkDestroyResponse(rsp) +} + +// ExtrasDynamicGroupMembershipsListWithResponse request returning *ExtrasDynamicGroupMembershipsListResponse +func (c *ClientWithResponses) ExtrasDynamicGroupMembershipsListWithResponse(ctx context.Context, params *ExtrasDynamicGroupMembershipsListParams, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsListResponse, error) { + rsp, err := c.ExtrasDynamicGroupMembershipsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupMembershipsListResponse(rsp) +} + +// ExtrasDynamicGroupMembershipsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasDynamicGroupMembershipsBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasDynamicGroupMembershipsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasDynamicGroupMembershipsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupMembershipsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasDynamicGroupMembershipsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasDynamicGroupMembershipsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasDynamicGroupMembershipsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupMembershipsBulkPartialUpdateResponse(rsp) +} + +// ExtrasDynamicGroupMembershipsCreateWithBodyWithResponse request with arbitrary body returning *ExtrasDynamicGroupMembershipsCreateResponse +func (c *ClientWithResponses) ExtrasDynamicGroupMembershipsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsCreateResponse, error) { + rsp, err := c.ExtrasDynamicGroupMembershipsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupMembershipsCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasDynamicGroupMembershipsCreateWithResponse(ctx context.Context, body ExtrasDynamicGroupMembershipsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsCreateResponse, error) { + rsp, err := c.ExtrasDynamicGroupMembershipsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupMembershipsCreateResponse(rsp) +} + +// ExtrasDynamicGroupMembershipsBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasDynamicGroupMembershipsBulkUpdateResponse +func (c *ClientWithResponses) ExtrasDynamicGroupMembershipsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsBulkUpdateResponse, error) { + rsp, err := c.ExtrasDynamicGroupMembershipsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupMembershipsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasDynamicGroupMembershipsBulkUpdateWithResponse(ctx context.Context, body ExtrasDynamicGroupMembershipsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsBulkUpdateResponse, error) { + rsp, err := c.ExtrasDynamicGroupMembershipsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupMembershipsBulkUpdateResponse(rsp) +} + +// ExtrasDynamicGroupMembershipsDestroyWithResponse request returning *ExtrasDynamicGroupMembershipsDestroyResponse +func (c *ClientWithResponses) ExtrasDynamicGroupMembershipsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsDestroyResponse, error) { + rsp, err := c.ExtrasDynamicGroupMembershipsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupMembershipsDestroyResponse(rsp) +} + +// ExtrasDynamicGroupMembershipsRetrieveWithResponse request returning *ExtrasDynamicGroupMembershipsRetrieveResponse +func (c *ClientWithResponses) ExtrasDynamicGroupMembershipsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsRetrieveResponse, error) { + rsp, err := c.ExtrasDynamicGroupMembershipsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupMembershipsRetrieveResponse(rsp) +} + +// ExtrasDynamicGroupMembershipsPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasDynamicGroupMembershipsPartialUpdateResponse +func (c *ClientWithResponses) ExtrasDynamicGroupMembershipsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsPartialUpdateResponse, error) { + rsp, err := c.ExtrasDynamicGroupMembershipsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupMembershipsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasDynamicGroupMembershipsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasDynamicGroupMembershipsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsPartialUpdateResponse, error) { + rsp, err := c.ExtrasDynamicGroupMembershipsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupMembershipsPartialUpdateResponse(rsp) +} + +// ExtrasDynamicGroupMembershipsUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasDynamicGroupMembershipsUpdateResponse +func (c *ClientWithResponses) ExtrasDynamicGroupMembershipsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsUpdateResponse, error) { + rsp, err := c.ExtrasDynamicGroupMembershipsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupMembershipsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasDynamicGroupMembershipsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasDynamicGroupMembershipsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupMembershipsUpdateResponse, error) { + rsp, err := c.ExtrasDynamicGroupMembershipsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupMembershipsUpdateResponse(rsp) +} + +// ExtrasDynamicGroupsBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasDynamicGroupsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasDynamicGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsBulkDestroyResponse, error) { + rsp, err := c.ExtrasDynamicGroupsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasDynamicGroupsBulkDestroyWithResponse(ctx context.Context, body ExtrasDynamicGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsBulkDestroyResponse, error) { + rsp, err := c.ExtrasDynamicGroupsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -182138,9 +279957,43 @@ func (c *ClientWithResponses) ExtrasDynamicGroupsMembersRetrieveWithResponse(ctx return ParseExtrasDynamicGroupsMembersRetrieveResponse(rsp) } -// ExtrasExportTemplatesBulkDestroyWithResponse request returning *ExtrasExportTemplatesBulkDestroyResponse -func (c *ClientWithResponses) ExtrasExportTemplatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesBulkDestroyResponse, error) { - rsp, err := c.ExtrasExportTemplatesBulkDestroy(ctx, reqEditors...) +// ExtrasDynamicGroupsNotesListWithResponse request returning *ExtrasDynamicGroupsNotesListResponse +func (c *ClientWithResponses) ExtrasDynamicGroupsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasDynamicGroupsNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsNotesListResponse, error) { + rsp, err := c.ExtrasDynamicGroupsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupsNotesListResponse(rsp) +} + +// ExtrasDynamicGroupsNotesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasDynamicGroupsNotesCreateResponse +func (c *ClientWithResponses) ExtrasDynamicGroupsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsNotesCreateResponse, error) { + rsp, err := c.ExtrasDynamicGroupsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasDynamicGroupsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasDynamicGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasDynamicGroupsNotesCreateResponse, error) { + rsp, err := c.ExtrasDynamicGroupsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasDynamicGroupsNotesCreateResponse(rsp) +} + +// ExtrasExportTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasExportTemplatesBulkDestroyResponse +func (c *ClientWithResponses) ExtrasExportTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesBulkDestroyResponse, error) { + rsp, err := c.ExtrasExportTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasExportTemplatesBulkDestroyWithResponse(ctx context.Context, body ExtrasExportTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesBulkDestroyResponse, error) { + rsp, err := c.ExtrasExportTemplatesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -182259,9 +280112,43 @@ func (c *ClientWithResponses) ExtrasExportTemplatesUpdateWithResponse(ctx contex return ParseExtrasExportTemplatesUpdateResponse(rsp) } -// ExtrasGitRepositoriesBulkDestroyWithResponse request returning *ExtrasGitRepositoriesBulkDestroyResponse -func (c *ClientWithResponses) ExtrasGitRepositoriesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesBulkDestroyResponse, error) { - rsp, err := c.ExtrasGitRepositoriesBulkDestroy(ctx, reqEditors...) +// ExtrasExportTemplatesNotesListWithResponse request returning *ExtrasExportTemplatesNotesListResponse +func (c *ClientWithResponses) ExtrasExportTemplatesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasExportTemplatesNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesNotesListResponse, error) { + rsp, err := c.ExtrasExportTemplatesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesNotesListResponse(rsp) +} + +// ExtrasExportTemplatesNotesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasExportTemplatesNotesCreateResponse +func (c *ClientWithResponses) ExtrasExportTemplatesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesNotesCreateResponse, error) { + rsp, err := c.ExtrasExportTemplatesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasExportTemplatesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasExportTemplatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasExportTemplatesNotesCreateResponse, error) { + rsp, err := c.ExtrasExportTemplatesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasExportTemplatesNotesCreateResponse(rsp) +} + +// ExtrasGitRepositoriesBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasGitRepositoriesBulkDestroyResponse +func (c *ClientWithResponses) ExtrasGitRepositoriesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesBulkDestroyResponse, error) { + rsp, err := c.ExtrasGitRepositoriesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGitRepositoriesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasGitRepositoriesBulkDestroyWithResponse(ctx context.Context, body ExtrasGitRepositoriesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesBulkDestroyResponse, error) { + rsp, err := c.ExtrasGitRepositoriesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -182380,6 +280267,32 @@ func (c *ClientWithResponses) ExtrasGitRepositoriesUpdateWithResponse(ctx contex return ParseExtrasGitRepositoriesUpdateResponse(rsp) } +// ExtrasGitRepositoriesNotesListWithResponse request returning *ExtrasGitRepositoriesNotesListResponse +func (c *ClientWithResponses) ExtrasGitRepositoriesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasGitRepositoriesNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesNotesListResponse, error) { + rsp, err := c.ExtrasGitRepositoriesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGitRepositoriesNotesListResponse(rsp) +} + +// ExtrasGitRepositoriesNotesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasGitRepositoriesNotesCreateResponse +func (c *ClientWithResponses) ExtrasGitRepositoriesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesNotesCreateResponse, error) { + rsp, err := c.ExtrasGitRepositoriesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGitRepositoriesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasGitRepositoriesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasGitRepositoriesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesNotesCreateResponse, error) { + rsp, err := c.ExtrasGitRepositoriesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGitRepositoriesNotesCreateResponse(rsp) +} + // ExtrasGitRepositoriesSyncCreateWithBodyWithResponse request with arbitrary body returning *ExtrasGitRepositoriesSyncCreateResponse func (c *ClientWithResponses) ExtrasGitRepositoriesSyncCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGitRepositoriesSyncCreateResponse, error) { rsp, err := c.ExtrasGitRepositoriesSyncCreateWithBody(ctx, id, contentType, body, reqEditors...) @@ -182397,9 +280310,17 @@ func (c *ClientWithResponses) ExtrasGitRepositoriesSyncCreateWithResponse(ctx co return ParseExtrasGitRepositoriesSyncCreateResponse(rsp) } -// ExtrasGraphqlQueriesBulkDestroyWithResponse request returning *ExtrasGraphqlQueriesBulkDestroyResponse -func (c *ClientWithResponses) ExtrasGraphqlQueriesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesBulkDestroyResponse, error) { - rsp, err := c.ExtrasGraphqlQueriesBulkDestroy(ctx, reqEditors...) +// ExtrasGraphqlQueriesBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasGraphqlQueriesBulkDestroyResponse +func (c *ClientWithResponses) ExtrasGraphqlQueriesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesBulkDestroyResponse, error) { + rsp, err := c.ExtrasGraphqlQueriesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGraphqlQueriesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasGraphqlQueriesBulkDestroyWithResponse(ctx context.Context, body ExtrasGraphqlQueriesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesBulkDestroyResponse, error) { + rsp, err := c.ExtrasGraphqlQueriesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -182518,6 +280439,32 @@ func (c *ClientWithResponses) ExtrasGraphqlQueriesUpdateWithResponse(ctx context return ParseExtrasGraphqlQueriesUpdateResponse(rsp) } +// ExtrasGraphqlQueriesNotesListWithResponse request returning *ExtrasGraphqlQueriesNotesListResponse +func (c *ClientWithResponses) ExtrasGraphqlQueriesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasGraphqlQueriesNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesNotesListResponse, error) { + rsp, err := c.ExtrasGraphqlQueriesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGraphqlQueriesNotesListResponse(rsp) +} + +// ExtrasGraphqlQueriesNotesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasGraphqlQueriesNotesCreateResponse +func (c *ClientWithResponses) ExtrasGraphqlQueriesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesNotesCreateResponse, error) { + rsp, err := c.ExtrasGraphqlQueriesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGraphqlQueriesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasGraphqlQueriesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasGraphqlQueriesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesNotesCreateResponse, error) { + rsp, err := c.ExtrasGraphqlQueriesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasGraphqlQueriesNotesCreateResponse(rsp) +} + // ExtrasGraphqlQueriesRunCreateWithBodyWithResponse request with arbitrary body returning *ExtrasGraphqlQueriesRunCreateResponse func (c *ClientWithResponses) ExtrasGraphqlQueriesRunCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasGraphqlQueriesRunCreateResponse, error) { rsp, err := c.ExtrasGraphqlQueriesRunCreateWithBody(ctx, id, contentType, body, reqEditors...) @@ -182535,9 +280482,17 @@ func (c *ClientWithResponses) ExtrasGraphqlQueriesRunCreateWithResponse(ctx cont return ParseExtrasGraphqlQueriesRunCreateResponse(rsp) } -// ExtrasImageAttachmentsBulkDestroyWithResponse request returning *ExtrasImageAttachmentsBulkDestroyResponse -func (c *ClientWithResponses) ExtrasImageAttachmentsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsBulkDestroyResponse, error) { - rsp, err := c.ExtrasImageAttachmentsBulkDestroy(ctx, reqEditors...) +// ExtrasImageAttachmentsBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasImageAttachmentsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasImageAttachmentsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsBulkDestroyResponse, error) { + rsp, err := c.ExtrasImageAttachmentsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasImageAttachmentsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasImageAttachmentsBulkDestroyWithResponse(ctx context.Context, body ExtrasImageAttachmentsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasImageAttachmentsBulkDestroyResponse, error) { + rsp, err := c.ExtrasImageAttachmentsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -182656,6 +280611,161 @@ func (c *ClientWithResponses) ExtrasImageAttachmentsUpdateWithResponse(ctx conte return ParseExtrasImageAttachmentsUpdateResponse(rsp) } +// ExtrasJobHooksBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasJobHooksBulkDestroyResponse +func (c *ClientWithResponses) ExtrasJobHooksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobHooksBulkDestroyResponse, error) { + rsp, err := c.ExtrasJobHooksBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobHooksBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJobHooksBulkDestroyWithResponse(ctx context.Context, body ExtrasJobHooksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobHooksBulkDestroyResponse, error) { + rsp, err := c.ExtrasJobHooksBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobHooksBulkDestroyResponse(rsp) +} + +// ExtrasJobHooksListWithResponse request returning *ExtrasJobHooksListResponse +func (c *ClientWithResponses) ExtrasJobHooksListWithResponse(ctx context.Context, params *ExtrasJobHooksListParams, reqEditors ...RequestEditorFn) (*ExtrasJobHooksListResponse, error) { + rsp, err := c.ExtrasJobHooksList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobHooksListResponse(rsp) +} + +// ExtrasJobHooksBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasJobHooksBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasJobHooksBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobHooksBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasJobHooksBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobHooksBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJobHooksBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasJobHooksBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobHooksBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasJobHooksBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobHooksBulkPartialUpdateResponse(rsp) +} + +// ExtrasJobHooksCreateWithBodyWithResponse request with arbitrary body returning *ExtrasJobHooksCreateResponse +func (c *ClientWithResponses) ExtrasJobHooksCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobHooksCreateResponse, error) { + rsp, err := c.ExtrasJobHooksCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobHooksCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJobHooksCreateWithResponse(ctx context.Context, body ExtrasJobHooksCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobHooksCreateResponse, error) { + rsp, err := c.ExtrasJobHooksCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobHooksCreateResponse(rsp) +} + +// ExtrasJobHooksBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasJobHooksBulkUpdateResponse +func (c *ClientWithResponses) ExtrasJobHooksBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobHooksBulkUpdateResponse, error) { + rsp, err := c.ExtrasJobHooksBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobHooksBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJobHooksBulkUpdateWithResponse(ctx context.Context, body ExtrasJobHooksBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobHooksBulkUpdateResponse, error) { + rsp, err := c.ExtrasJobHooksBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobHooksBulkUpdateResponse(rsp) +} + +// ExtrasJobHooksDestroyWithResponse request returning *ExtrasJobHooksDestroyResponse +func (c *ClientWithResponses) ExtrasJobHooksDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasJobHooksDestroyResponse, error) { + rsp, err := c.ExtrasJobHooksDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobHooksDestroyResponse(rsp) +} + +// ExtrasJobHooksRetrieveWithResponse request returning *ExtrasJobHooksRetrieveResponse +func (c *ClientWithResponses) ExtrasJobHooksRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasJobHooksRetrieveResponse, error) { + rsp, err := c.ExtrasJobHooksRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobHooksRetrieveResponse(rsp) +} + +// ExtrasJobHooksPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasJobHooksPartialUpdateResponse +func (c *ClientWithResponses) ExtrasJobHooksPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobHooksPartialUpdateResponse, error) { + rsp, err := c.ExtrasJobHooksPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobHooksPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJobHooksPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasJobHooksPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobHooksPartialUpdateResponse, error) { + rsp, err := c.ExtrasJobHooksPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobHooksPartialUpdateResponse(rsp) +} + +// ExtrasJobHooksUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasJobHooksUpdateResponse +func (c *ClientWithResponses) ExtrasJobHooksUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobHooksUpdateResponse, error) { + rsp, err := c.ExtrasJobHooksUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobHooksUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJobHooksUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasJobHooksUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobHooksUpdateResponse, error) { + rsp, err := c.ExtrasJobHooksUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobHooksUpdateResponse(rsp) +} + +// ExtrasJobHooksNotesListWithResponse request returning *ExtrasJobHooksNotesListResponse +func (c *ClientWithResponses) ExtrasJobHooksNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasJobHooksNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasJobHooksNotesListResponse, error) { + rsp, err := c.ExtrasJobHooksNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobHooksNotesListResponse(rsp) +} + +// ExtrasJobHooksNotesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasJobHooksNotesCreateResponse +func (c *ClientWithResponses) ExtrasJobHooksNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobHooksNotesCreateResponse, error) { + rsp, err := c.ExtrasJobHooksNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobHooksNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJobHooksNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasJobHooksNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobHooksNotesCreateResponse, error) { + rsp, err := c.ExtrasJobHooksNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobHooksNotesCreateResponse(rsp) +} + // ExtrasJobLogsListWithResponse request returning *ExtrasJobLogsListResponse func (c *ClientWithResponses) ExtrasJobLogsListWithResponse(ctx context.Context, params *ExtrasJobLogsListParams, reqEditors ...RequestEditorFn) (*ExtrasJobLogsListResponse, error) { rsp, err := c.ExtrasJobLogsList(ctx, params, reqEditors...) @@ -182674,9 +280784,17 @@ func (c *ClientWithResponses) ExtrasJobLogsRetrieveWithResponse(ctx context.Cont return ParseExtrasJobLogsRetrieveResponse(rsp) } -// ExtrasJobResultsBulkDestroyWithResponse request returning *ExtrasJobResultsBulkDestroyResponse -func (c *ClientWithResponses) ExtrasJobResultsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasJobResultsBulkDestroyResponse, error) { - rsp, err := c.ExtrasJobResultsBulkDestroy(ctx, reqEditors...) +// ExtrasJobResultsBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasJobResultsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasJobResultsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobResultsBulkDestroyResponse, error) { + rsp, err := c.ExtrasJobResultsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobResultsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJobResultsBulkDestroyWithResponse(ctx context.Context, body ExtrasJobResultsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobResultsBulkDestroyResponse, error) { + rsp, err := c.ExtrasJobResultsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -182692,57 +280810,6 @@ func (c *ClientWithResponses) ExtrasJobResultsListWithResponse(ctx context.Conte return ParseExtrasJobResultsListResponse(rsp) } -// ExtrasJobResultsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasJobResultsBulkPartialUpdateResponse -func (c *ClientWithResponses) ExtrasJobResultsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobResultsBulkPartialUpdateResponse, error) { - rsp, err := c.ExtrasJobResultsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseExtrasJobResultsBulkPartialUpdateResponse(rsp) -} - -func (c *ClientWithResponses) ExtrasJobResultsBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasJobResultsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobResultsBulkPartialUpdateResponse, error) { - rsp, err := c.ExtrasJobResultsBulkPartialUpdate(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseExtrasJobResultsBulkPartialUpdateResponse(rsp) -} - -// ExtrasJobResultsCreateWithBodyWithResponse request with arbitrary body returning *ExtrasJobResultsCreateResponse -func (c *ClientWithResponses) ExtrasJobResultsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobResultsCreateResponse, error) { - rsp, err := c.ExtrasJobResultsCreateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseExtrasJobResultsCreateResponse(rsp) -} - -func (c *ClientWithResponses) ExtrasJobResultsCreateWithResponse(ctx context.Context, body ExtrasJobResultsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobResultsCreateResponse, error) { - rsp, err := c.ExtrasJobResultsCreate(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseExtrasJobResultsCreateResponse(rsp) -} - -// ExtrasJobResultsBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasJobResultsBulkUpdateResponse -func (c *ClientWithResponses) ExtrasJobResultsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobResultsBulkUpdateResponse, error) { - rsp, err := c.ExtrasJobResultsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseExtrasJobResultsBulkUpdateResponse(rsp) -} - -func (c *ClientWithResponses) ExtrasJobResultsBulkUpdateWithResponse(ctx context.Context, body ExtrasJobResultsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobResultsBulkUpdateResponse, error) { - rsp, err := c.ExtrasJobResultsBulkUpdate(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseExtrasJobResultsBulkUpdateResponse(rsp) -} - // ExtrasJobResultsDestroyWithResponse request returning *ExtrasJobResultsDestroyResponse func (c *ClientWithResponses) ExtrasJobResultsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasJobResultsDestroyResponse, error) { rsp, err := c.ExtrasJobResultsDestroy(ctx, id, reqEditors...) @@ -182761,40 +280828,6 @@ func (c *ClientWithResponses) ExtrasJobResultsRetrieveWithResponse(ctx context.C return ParseExtrasJobResultsRetrieveResponse(rsp) } -// ExtrasJobResultsPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasJobResultsPartialUpdateResponse -func (c *ClientWithResponses) ExtrasJobResultsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobResultsPartialUpdateResponse, error) { - rsp, err := c.ExtrasJobResultsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseExtrasJobResultsPartialUpdateResponse(rsp) -} - -func (c *ClientWithResponses) ExtrasJobResultsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasJobResultsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobResultsPartialUpdateResponse, error) { - rsp, err := c.ExtrasJobResultsPartialUpdate(ctx, id, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseExtrasJobResultsPartialUpdateResponse(rsp) -} - -// ExtrasJobResultsUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasJobResultsUpdateResponse -func (c *ClientWithResponses) ExtrasJobResultsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobResultsUpdateResponse, error) { - rsp, err := c.ExtrasJobResultsUpdateWithBody(ctx, id, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseExtrasJobResultsUpdateResponse(rsp) -} - -func (c *ClientWithResponses) ExtrasJobResultsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasJobResultsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobResultsUpdateResponse, error) { - rsp, err := c.ExtrasJobResultsUpdate(ctx, id, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseExtrasJobResultsUpdateResponse(rsp) -} - // ExtrasJobResultsLogsRetrieveWithResponse request returning *ExtrasJobResultsLogsRetrieveResponse func (c *ClientWithResponses) ExtrasJobResultsLogsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasJobResultsLogsRetrieveResponse, error) { rsp, err := c.ExtrasJobResultsLogsRetrieve(ctx, id, reqEditors...) @@ -182804,9 +280837,17 @@ func (c *ClientWithResponses) ExtrasJobResultsLogsRetrieveWithResponse(ctx conte return ParseExtrasJobResultsLogsRetrieveResponse(rsp) } -// ExtrasJobsBulkDestroyWithResponse request returning *ExtrasJobsBulkDestroyResponse -func (c *ClientWithResponses) ExtrasJobsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasJobsBulkDestroyResponse, error) { - rsp, err := c.ExtrasJobsBulkDestroy(ctx, reqEditors...) +// ExtrasJobsBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasJobsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasJobsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobsBulkDestroyResponse, error) { + rsp, err := c.ExtrasJobsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJobsBulkDestroyWithResponse(ctx context.Context, body ExtrasJobsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobsBulkDestroyResponse, error) { + rsp, err := c.ExtrasJobsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -182934,6 +280975,32 @@ func (c *ClientWithResponses) ExtrasJobsUpdateWithResponse(ctx context.Context, return ParseExtrasJobsUpdateResponse(rsp) } +// ExtrasJobsNotesListWithResponse request returning *ExtrasJobsNotesListResponse +func (c *ClientWithResponses) ExtrasJobsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasJobsNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasJobsNotesListResponse, error) { + rsp, err := c.ExtrasJobsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobsNotesListResponse(rsp) +} + +// ExtrasJobsNotesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasJobsNotesCreateResponse +func (c *ClientWithResponses) ExtrasJobsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobsNotesCreateResponse, error) { + rsp, err := c.ExtrasJobsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasJobsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasJobsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasJobsNotesCreateResponse, error) { + rsp, err := c.ExtrasJobsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasJobsNotesCreateResponse(rsp) +} + // ExtrasJobsRunCreateWithBodyWithResponse request with arbitrary body returning *ExtrasJobsRunCreateResponse func (c *ClientWithResponses) ExtrasJobsRunCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasJobsRunCreateResponse, error) { rsp, err := c.ExtrasJobsRunCreateWithBody(ctx, id, contentType, body, reqEditors...) @@ -182960,6 +281027,135 @@ func (c *ClientWithResponses) ExtrasJobsVariablesListWithResponse(ctx context.Co return ParseExtrasJobsVariablesListResponse(rsp) } +// ExtrasNotesBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasNotesBulkDestroyResponse +func (c *ClientWithResponses) ExtrasNotesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasNotesBulkDestroyResponse, error) { + rsp, err := c.ExtrasNotesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasNotesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasNotesBulkDestroyWithResponse(ctx context.Context, body ExtrasNotesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasNotesBulkDestroyResponse, error) { + rsp, err := c.ExtrasNotesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasNotesBulkDestroyResponse(rsp) +} + +// ExtrasNotesListWithResponse request returning *ExtrasNotesListResponse +func (c *ClientWithResponses) ExtrasNotesListWithResponse(ctx context.Context, params *ExtrasNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasNotesListResponse, error) { + rsp, err := c.ExtrasNotesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasNotesListResponse(rsp) +} + +// ExtrasNotesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasNotesBulkPartialUpdateResponse +func (c *ClientWithResponses) ExtrasNotesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasNotesBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasNotesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasNotesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasNotesBulkPartialUpdateWithResponse(ctx context.Context, body ExtrasNotesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasNotesBulkPartialUpdateResponse, error) { + rsp, err := c.ExtrasNotesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasNotesBulkPartialUpdateResponse(rsp) +} + +// ExtrasNotesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasNotesCreateResponse +func (c *ClientWithResponses) ExtrasNotesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasNotesCreateResponse, error) { + rsp, err := c.ExtrasNotesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasNotesCreateWithResponse(ctx context.Context, body ExtrasNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasNotesCreateResponse, error) { + rsp, err := c.ExtrasNotesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasNotesCreateResponse(rsp) +} + +// ExtrasNotesBulkUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasNotesBulkUpdateResponse +func (c *ClientWithResponses) ExtrasNotesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasNotesBulkUpdateResponse, error) { + rsp, err := c.ExtrasNotesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasNotesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasNotesBulkUpdateWithResponse(ctx context.Context, body ExtrasNotesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasNotesBulkUpdateResponse, error) { + rsp, err := c.ExtrasNotesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasNotesBulkUpdateResponse(rsp) +} + +// ExtrasNotesDestroyWithResponse request returning *ExtrasNotesDestroyResponse +func (c *ClientWithResponses) ExtrasNotesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasNotesDestroyResponse, error) { + rsp, err := c.ExtrasNotesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasNotesDestroyResponse(rsp) +} + +// ExtrasNotesRetrieveWithResponse request returning *ExtrasNotesRetrieveResponse +func (c *ClientWithResponses) ExtrasNotesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExtrasNotesRetrieveResponse, error) { + rsp, err := c.ExtrasNotesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasNotesRetrieveResponse(rsp) +} + +// ExtrasNotesPartialUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasNotesPartialUpdateResponse +func (c *ClientWithResponses) ExtrasNotesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasNotesPartialUpdateResponse, error) { + rsp, err := c.ExtrasNotesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasNotesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasNotesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasNotesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasNotesPartialUpdateResponse, error) { + rsp, err := c.ExtrasNotesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasNotesPartialUpdateResponse(rsp) +} + +// ExtrasNotesUpdateWithBodyWithResponse request with arbitrary body returning *ExtrasNotesUpdateResponse +func (c *ClientWithResponses) ExtrasNotesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasNotesUpdateResponse, error) { + rsp, err := c.ExtrasNotesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasNotesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasNotesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasNotesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasNotesUpdateResponse, error) { + rsp, err := c.ExtrasNotesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasNotesUpdateResponse(rsp) +} + // ExtrasObjectChangesListWithResponse request returning *ExtrasObjectChangesListResponse func (c *ClientWithResponses) ExtrasObjectChangesListWithResponse(ctx context.Context, params *ExtrasObjectChangesListParams, reqEditors ...RequestEditorFn) (*ExtrasObjectChangesListResponse, error) { rsp, err := c.ExtrasObjectChangesList(ctx, params, reqEditors...) @@ -182978,9 +281174,17 @@ func (c *ClientWithResponses) ExtrasObjectChangesRetrieveWithResponse(ctx contex return ParseExtrasObjectChangesRetrieveResponse(rsp) } -// ExtrasRelationshipAssociationsBulkDestroyWithResponse request returning *ExtrasRelationshipAssociationsBulkDestroyResponse -func (c *ClientWithResponses) ExtrasRelationshipAssociationsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsBulkDestroyResponse, error) { - rsp, err := c.ExtrasRelationshipAssociationsBulkDestroy(ctx, reqEditors...) +// ExtrasRelationshipAssociationsBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasRelationshipAssociationsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasRelationshipAssociationsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsBulkDestroyResponse, error) { + rsp, err := c.ExtrasRelationshipAssociationsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipAssociationsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasRelationshipAssociationsBulkDestroyWithResponse(ctx context.Context, body ExtrasRelationshipAssociationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipAssociationsBulkDestroyResponse, error) { + rsp, err := c.ExtrasRelationshipAssociationsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -183099,9 +281303,17 @@ func (c *ClientWithResponses) ExtrasRelationshipAssociationsUpdateWithResponse(c return ParseExtrasRelationshipAssociationsUpdateResponse(rsp) } -// ExtrasRelationshipsBulkDestroyWithResponse request returning *ExtrasRelationshipsBulkDestroyResponse -func (c *ClientWithResponses) ExtrasRelationshipsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsBulkDestroyResponse, error) { - rsp, err := c.ExtrasRelationshipsBulkDestroy(ctx, reqEditors...) +// ExtrasRelationshipsBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasRelationshipsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasRelationshipsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsBulkDestroyResponse, error) { + rsp, err := c.ExtrasRelationshipsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasRelationshipsBulkDestroyWithResponse(ctx context.Context, body ExtrasRelationshipsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsBulkDestroyResponse, error) { + rsp, err := c.ExtrasRelationshipsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -183220,6 +281432,32 @@ func (c *ClientWithResponses) ExtrasRelationshipsUpdateWithResponse(ctx context. return ParseExtrasRelationshipsUpdateResponse(rsp) } +// ExtrasRelationshipsNotesListWithResponse request returning *ExtrasRelationshipsNotesListResponse +func (c *ClientWithResponses) ExtrasRelationshipsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasRelationshipsNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsNotesListResponse, error) { + rsp, err := c.ExtrasRelationshipsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipsNotesListResponse(rsp) +} + +// ExtrasRelationshipsNotesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasRelationshipsNotesCreateResponse +func (c *ClientWithResponses) ExtrasRelationshipsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsNotesCreateResponse, error) { + rsp, err := c.ExtrasRelationshipsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasRelationshipsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasRelationshipsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasRelationshipsNotesCreateResponse, error) { + rsp, err := c.ExtrasRelationshipsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasRelationshipsNotesCreateResponse(rsp) +} + // ExtrasScheduledJobsListWithResponse request returning *ExtrasScheduledJobsListResponse func (c *ClientWithResponses) ExtrasScheduledJobsListWithResponse(ctx context.Context, params *ExtrasScheduledJobsListParams, reqEditors ...RequestEditorFn) (*ExtrasScheduledJobsListResponse, error) { rsp, err := c.ExtrasScheduledJobsList(ctx, params, reqEditors...) @@ -183265,9 +281503,17 @@ func (c *ClientWithResponses) ExtrasScheduledJobsDryRunCreateWithResponse(ctx co return ParseExtrasScheduledJobsDryRunCreateResponse(rsp) } -// ExtrasSecretsGroupsAssociationsBulkDestroyWithResponse request returning *ExtrasSecretsGroupsAssociationsBulkDestroyResponse -func (c *ClientWithResponses) ExtrasSecretsGroupsAssociationsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsBulkDestroyResponse, error) { - rsp, err := c.ExtrasSecretsGroupsAssociationsBulkDestroy(ctx, reqEditors...) +// ExtrasSecretsGroupsAssociationsBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasSecretsGroupsAssociationsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsAssociationsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsBulkDestroyResponse, error) { + rsp, err := c.ExtrasSecretsGroupsAssociationsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsAssociationsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSecretsGroupsAssociationsBulkDestroyWithResponse(ctx context.Context, body ExtrasSecretsGroupsAssociationsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsAssociationsBulkDestroyResponse, error) { + rsp, err := c.ExtrasSecretsGroupsAssociationsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -183386,9 +281632,17 @@ func (c *ClientWithResponses) ExtrasSecretsGroupsAssociationsUpdateWithResponse( return ParseExtrasSecretsGroupsAssociationsUpdateResponse(rsp) } -// ExtrasSecretsGroupsBulkDestroyWithResponse request returning *ExtrasSecretsGroupsBulkDestroyResponse -func (c *ClientWithResponses) ExtrasSecretsGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsBulkDestroyResponse, error) { - rsp, err := c.ExtrasSecretsGroupsBulkDestroy(ctx, reqEditors...) +// ExtrasSecretsGroupsBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasSecretsGroupsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsBulkDestroyResponse, error) { + rsp, err := c.ExtrasSecretsGroupsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSecretsGroupsBulkDestroyWithResponse(ctx context.Context, body ExtrasSecretsGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsBulkDestroyResponse, error) { + rsp, err := c.ExtrasSecretsGroupsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -183507,9 +281761,43 @@ func (c *ClientWithResponses) ExtrasSecretsGroupsUpdateWithResponse(ctx context. return ParseExtrasSecretsGroupsUpdateResponse(rsp) } -// ExtrasSecretsBulkDestroyWithResponse request returning *ExtrasSecretsBulkDestroyResponse -func (c *ClientWithResponses) ExtrasSecretsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasSecretsBulkDestroyResponse, error) { - rsp, err := c.ExtrasSecretsBulkDestroy(ctx, reqEditors...) +// ExtrasSecretsGroupsNotesListWithResponse request returning *ExtrasSecretsGroupsNotesListResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasSecretsGroupsNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsNotesListResponse, error) { + rsp, err := c.ExtrasSecretsGroupsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsNotesListResponse(rsp) +} + +// ExtrasSecretsGroupsNotesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasSecretsGroupsNotesCreateResponse +func (c *ClientWithResponses) ExtrasSecretsGroupsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsNotesCreateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSecretsGroupsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsGroupsNotesCreateResponse, error) { + rsp, err := c.ExtrasSecretsGroupsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsGroupsNotesCreateResponse(rsp) +} + +// ExtrasSecretsBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasSecretsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasSecretsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsBulkDestroyResponse, error) { + rsp, err := c.ExtrasSecretsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSecretsBulkDestroyWithResponse(ctx context.Context, body ExtrasSecretsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsBulkDestroyResponse, error) { + rsp, err := c.ExtrasSecretsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -183628,9 +281916,43 @@ func (c *ClientWithResponses) ExtrasSecretsUpdateWithResponse(ctx context.Contex return ParseExtrasSecretsUpdateResponse(rsp) } -// ExtrasStatusesBulkDestroyWithResponse request returning *ExtrasStatusesBulkDestroyResponse -func (c *ClientWithResponses) ExtrasStatusesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasStatusesBulkDestroyResponse, error) { - rsp, err := c.ExtrasStatusesBulkDestroy(ctx, reqEditors...) +// ExtrasSecretsNotesListWithResponse request returning *ExtrasSecretsNotesListResponse +func (c *ClientWithResponses) ExtrasSecretsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasSecretsNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasSecretsNotesListResponse, error) { + rsp, err := c.ExtrasSecretsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsNotesListResponse(rsp) +} + +// ExtrasSecretsNotesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasSecretsNotesCreateResponse +func (c *ClientWithResponses) ExtrasSecretsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasSecretsNotesCreateResponse, error) { + rsp, err := c.ExtrasSecretsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasSecretsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasSecretsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasSecretsNotesCreateResponse, error) { + rsp, err := c.ExtrasSecretsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasSecretsNotesCreateResponse(rsp) +} + +// ExtrasStatusesBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasStatusesBulkDestroyResponse +func (c *ClientWithResponses) ExtrasStatusesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasStatusesBulkDestroyResponse, error) { + rsp, err := c.ExtrasStatusesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasStatusesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasStatusesBulkDestroyWithResponse(ctx context.Context, body ExtrasStatusesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasStatusesBulkDestroyResponse, error) { + rsp, err := c.ExtrasStatusesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -183749,9 +282071,43 @@ func (c *ClientWithResponses) ExtrasStatusesUpdateWithResponse(ctx context.Conte return ParseExtrasStatusesUpdateResponse(rsp) } -// ExtrasTagsBulkDestroyWithResponse request returning *ExtrasTagsBulkDestroyResponse -func (c *ClientWithResponses) ExtrasTagsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasTagsBulkDestroyResponse, error) { - rsp, err := c.ExtrasTagsBulkDestroy(ctx, reqEditors...) +// ExtrasStatusesNotesListWithResponse request returning *ExtrasStatusesNotesListResponse +func (c *ClientWithResponses) ExtrasStatusesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasStatusesNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasStatusesNotesListResponse, error) { + rsp, err := c.ExtrasStatusesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasStatusesNotesListResponse(rsp) +} + +// ExtrasStatusesNotesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasStatusesNotesCreateResponse +func (c *ClientWithResponses) ExtrasStatusesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasStatusesNotesCreateResponse, error) { + rsp, err := c.ExtrasStatusesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasStatusesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasStatusesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasStatusesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasStatusesNotesCreateResponse, error) { + rsp, err := c.ExtrasStatusesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasStatusesNotesCreateResponse(rsp) +} + +// ExtrasTagsBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasTagsBulkDestroyResponse +func (c *ClientWithResponses) ExtrasTagsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasTagsBulkDestroyResponse, error) { + rsp, err := c.ExtrasTagsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasTagsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasTagsBulkDestroyWithResponse(ctx context.Context, body ExtrasTagsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasTagsBulkDestroyResponse, error) { + rsp, err := c.ExtrasTagsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -183870,9 +282226,43 @@ func (c *ClientWithResponses) ExtrasTagsUpdateWithResponse(ctx context.Context, return ParseExtrasTagsUpdateResponse(rsp) } -// ExtrasWebhooksBulkDestroyWithResponse request returning *ExtrasWebhooksBulkDestroyResponse -func (c *ClientWithResponses) ExtrasWebhooksBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkDestroyResponse, error) { - rsp, err := c.ExtrasWebhooksBulkDestroy(ctx, reqEditors...) +// ExtrasTagsNotesListWithResponse request returning *ExtrasTagsNotesListResponse +func (c *ClientWithResponses) ExtrasTagsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasTagsNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasTagsNotesListResponse, error) { + rsp, err := c.ExtrasTagsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasTagsNotesListResponse(rsp) +} + +// ExtrasTagsNotesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasTagsNotesCreateResponse +func (c *ClientWithResponses) ExtrasTagsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasTagsNotesCreateResponse, error) { + rsp, err := c.ExtrasTagsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasTagsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasTagsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasTagsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasTagsNotesCreateResponse, error) { + rsp, err := c.ExtrasTagsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasTagsNotesCreateResponse(rsp) +} + +// ExtrasWebhooksBulkDestroyWithBodyWithResponse request with arbitrary body returning *ExtrasWebhooksBulkDestroyResponse +func (c *ClientWithResponses) ExtrasWebhooksBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkDestroyResponse, error) { + rsp, err := c.ExtrasWebhooksBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasWebhooksBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasWebhooksBulkDestroyWithResponse(ctx context.Context, body ExtrasWebhooksBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksBulkDestroyResponse, error) { + rsp, err := c.ExtrasWebhooksBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -183991,6 +282381,32 @@ func (c *ClientWithResponses) ExtrasWebhooksUpdateWithResponse(ctx context.Conte return ParseExtrasWebhooksUpdateResponse(rsp) } +// ExtrasWebhooksNotesListWithResponse request returning *ExtrasWebhooksNotesListResponse +func (c *ClientWithResponses) ExtrasWebhooksNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *ExtrasWebhooksNotesListParams, reqEditors ...RequestEditorFn) (*ExtrasWebhooksNotesListResponse, error) { + rsp, err := c.ExtrasWebhooksNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasWebhooksNotesListResponse(rsp) +} + +// ExtrasWebhooksNotesCreateWithBodyWithResponse request with arbitrary body returning *ExtrasWebhooksNotesCreateResponse +func (c *ClientWithResponses) ExtrasWebhooksNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExtrasWebhooksNotesCreateResponse, error) { + rsp, err := c.ExtrasWebhooksNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasWebhooksNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) ExtrasWebhooksNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body ExtrasWebhooksNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExtrasWebhooksNotesCreateResponse, error) { + rsp, err := c.ExtrasWebhooksNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseExtrasWebhooksNotesCreateResponse(rsp) +} + // GraphqlCreateWithBodyWithResponse request with arbitrary body returning *GraphqlCreateResponse func (c *ClientWithResponses) GraphqlCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GraphqlCreateResponse, error) { rsp, err := c.GraphqlCreateWithBody(ctx, contentType, body, reqEditors...) @@ -184008,9 +282424,17 @@ func (c *ClientWithResponses) GraphqlCreateWithResponse(ctx context.Context, bod return ParseGraphqlCreateResponse(rsp) } -// IpamAggregatesBulkDestroyWithResponse request returning *IpamAggregatesBulkDestroyResponse -func (c *ClientWithResponses) IpamAggregatesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamAggregatesBulkDestroyResponse, error) { - rsp, err := c.IpamAggregatesBulkDestroy(ctx, reqEditors...) +// IpamAggregatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamAggregatesBulkDestroyResponse +func (c *ClientWithResponses) IpamAggregatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAggregatesBulkDestroyResponse, error) { + rsp, err := c.IpamAggregatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAggregatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamAggregatesBulkDestroyWithResponse(ctx context.Context, body IpamAggregatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAggregatesBulkDestroyResponse, error) { + rsp, err := c.IpamAggregatesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -184129,9 +282553,43 @@ func (c *ClientWithResponses) IpamAggregatesUpdateWithResponse(ctx context.Conte return ParseIpamAggregatesUpdateResponse(rsp) } -// IpamIpAddressesBulkDestroyWithResponse request returning *IpamIpAddressesBulkDestroyResponse -func (c *ClientWithResponses) IpamIpAddressesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamIpAddressesBulkDestroyResponse, error) { - rsp, err := c.IpamIpAddressesBulkDestroy(ctx, reqEditors...) +// IpamAggregatesNotesListWithResponse request returning *IpamAggregatesNotesListResponse +func (c *ClientWithResponses) IpamAggregatesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamAggregatesNotesListParams, reqEditors ...RequestEditorFn) (*IpamAggregatesNotesListResponse, error) { + rsp, err := c.IpamAggregatesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAggregatesNotesListResponse(rsp) +} + +// IpamAggregatesNotesCreateWithBodyWithResponse request with arbitrary body returning *IpamAggregatesNotesCreateResponse +func (c *ClientWithResponses) IpamAggregatesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamAggregatesNotesCreateResponse, error) { + rsp, err := c.IpamAggregatesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAggregatesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamAggregatesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamAggregatesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamAggregatesNotesCreateResponse, error) { + rsp, err := c.IpamAggregatesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamAggregatesNotesCreateResponse(rsp) +} + +// IpamIpAddressesBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamIpAddressesBulkDestroyResponse +func (c *ClientWithResponses) IpamIpAddressesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpAddressesBulkDestroyResponse, error) { + rsp, err := c.IpamIpAddressesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpAddressesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamIpAddressesBulkDestroyWithResponse(ctx context.Context, body IpamIpAddressesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpAddressesBulkDestroyResponse, error) { + rsp, err := c.IpamIpAddressesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -184250,9 +282708,43 @@ func (c *ClientWithResponses) IpamIpAddressesUpdateWithResponse(ctx context.Cont return ParseIpamIpAddressesUpdateResponse(rsp) } -// IpamPrefixesBulkDestroyWithResponse request returning *IpamPrefixesBulkDestroyResponse -func (c *ClientWithResponses) IpamPrefixesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamPrefixesBulkDestroyResponse, error) { - rsp, err := c.IpamPrefixesBulkDestroy(ctx, reqEditors...) +// IpamIpAddressesNotesListWithResponse request returning *IpamIpAddressesNotesListResponse +func (c *ClientWithResponses) IpamIpAddressesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamIpAddressesNotesListParams, reqEditors ...RequestEditorFn) (*IpamIpAddressesNotesListResponse, error) { + rsp, err := c.IpamIpAddressesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpAddressesNotesListResponse(rsp) +} + +// IpamIpAddressesNotesCreateWithBodyWithResponse request with arbitrary body returning *IpamIpAddressesNotesCreateResponse +func (c *ClientWithResponses) IpamIpAddressesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamIpAddressesNotesCreateResponse, error) { + rsp, err := c.IpamIpAddressesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpAddressesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamIpAddressesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamIpAddressesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamIpAddressesNotesCreateResponse, error) { + rsp, err := c.IpamIpAddressesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamIpAddressesNotesCreateResponse(rsp) +} + +// IpamPrefixesBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamPrefixesBulkDestroyResponse +func (c *ClientWithResponses) IpamPrefixesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesBulkDestroyResponse, error) { + rsp, err := c.IpamPrefixesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamPrefixesBulkDestroyWithResponse(ctx context.Context, body IpamPrefixesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesBulkDestroyResponse, error) { + rsp, err := c.IpamPrefixesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -184380,17 +282872,9 @@ func (c *ClientWithResponses) IpamPrefixesAvailableIpsListWithResponse(ctx conte return ParseIpamPrefixesAvailableIpsListResponse(rsp) } -// IpamPrefixesAvailableIpsCreateWithBodyWithResponse request with arbitrary body returning *IpamPrefixesAvailableIpsCreateResponse -func (c *ClientWithResponses) IpamPrefixesAvailableIpsCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailableIpsCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailableIpsCreateResponse, error) { - rsp, err := c.IpamPrefixesAvailableIpsCreateWithBody(ctx, id, params, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseIpamPrefixesAvailableIpsCreateResponse(rsp) -} - -func (c *ClientWithResponses) IpamPrefixesAvailableIpsCreateWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailableIpsCreateParams, body IpamPrefixesAvailableIpsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailableIpsCreateResponse, error) { - rsp, err := c.IpamPrefixesAvailableIpsCreate(ctx, id, params, body, reqEditors...) +// IpamPrefixesAvailableIpsCreateWithResponse request returning *IpamPrefixesAvailableIpsCreateResponse +func (c *ClientWithResponses) IpamPrefixesAvailableIpsCreateWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesAvailableIpsCreateParams, reqEditors ...RequestEditorFn) (*IpamPrefixesAvailableIpsCreateResponse, error) { + rsp, err := c.IpamPrefixesAvailableIpsCreate(ctx, id, params, reqEditors...) if err != nil { return nil, err } @@ -184423,9 +282907,43 @@ func (c *ClientWithResponses) IpamPrefixesAvailablePrefixesCreateWithResponse(ct return ParseIpamPrefixesAvailablePrefixesCreateResponse(rsp) } -// IpamRirsBulkDestroyWithResponse request returning *IpamRirsBulkDestroyResponse -func (c *ClientWithResponses) IpamRirsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamRirsBulkDestroyResponse, error) { - rsp, err := c.IpamRirsBulkDestroy(ctx, reqEditors...) +// IpamPrefixesNotesListWithResponse request returning *IpamPrefixesNotesListResponse +func (c *ClientWithResponses) IpamPrefixesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamPrefixesNotesListParams, reqEditors ...RequestEditorFn) (*IpamPrefixesNotesListResponse, error) { + rsp, err := c.IpamPrefixesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesNotesListResponse(rsp) +} + +// IpamPrefixesNotesCreateWithBodyWithResponse request with arbitrary body returning *IpamPrefixesNotesCreateResponse +func (c *ClientWithResponses) IpamPrefixesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamPrefixesNotesCreateResponse, error) { + rsp, err := c.IpamPrefixesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamPrefixesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamPrefixesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamPrefixesNotesCreateResponse, error) { + rsp, err := c.IpamPrefixesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamPrefixesNotesCreateResponse(rsp) +} + +// IpamRirsBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamRirsBulkDestroyResponse +func (c *ClientWithResponses) IpamRirsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRirsBulkDestroyResponse, error) { + rsp, err := c.IpamRirsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRirsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamRirsBulkDestroyWithResponse(ctx context.Context, body IpamRirsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRirsBulkDestroyResponse, error) { + rsp, err := c.IpamRirsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -184544,9 +283062,43 @@ func (c *ClientWithResponses) IpamRirsUpdateWithResponse(ctx context.Context, id return ParseIpamRirsUpdateResponse(rsp) } -// IpamRolesBulkDestroyWithResponse request returning *IpamRolesBulkDestroyResponse -func (c *ClientWithResponses) IpamRolesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamRolesBulkDestroyResponse, error) { - rsp, err := c.IpamRolesBulkDestroy(ctx, reqEditors...) +// IpamRirsNotesListWithResponse request returning *IpamRirsNotesListResponse +func (c *ClientWithResponses) IpamRirsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamRirsNotesListParams, reqEditors ...RequestEditorFn) (*IpamRirsNotesListResponse, error) { + rsp, err := c.IpamRirsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRirsNotesListResponse(rsp) +} + +// IpamRirsNotesCreateWithBodyWithResponse request with arbitrary body returning *IpamRirsNotesCreateResponse +func (c *ClientWithResponses) IpamRirsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRirsNotesCreateResponse, error) { + rsp, err := c.IpamRirsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRirsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamRirsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamRirsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRirsNotesCreateResponse, error) { + rsp, err := c.IpamRirsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRirsNotesCreateResponse(rsp) +} + +// IpamRolesBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamRolesBulkDestroyResponse +func (c *ClientWithResponses) IpamRolesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRolesBulkDestroyResponse, error) { + rsp, err := c.IpamRolesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRolesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamRolesBulkDestroyWithResponse(ctx context.Context, body IpamRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRolesBulkDestroyResponse, error) { + rsp, err := c.IpamRolesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -184665,9 +283217,43 @@ func (c *ClientWithResponses) IpamRolesUpdateWithResponse(ctx context.Context, i return ParseIpamRolesUpdateResponse(rsp) } -// IpamRouteTargetsBulkDestroyWithResponse request returning *IpamRouteTargetsBulkDestroyResponse -func (c *ClientWithResponses) IpamRouteTargetsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamRouteTargetsBulkDestroyResponse, error) { - rsp, err := c.IpamRouteTargetsBulkDestroy(ctx, reqEditors...) +// IpamRolesNotesListWithResponse request returning *IpamRolesNotesListResponse +func (c *ClientWithResponses) IpamRolesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamRolesNotesListParams, reqEditors ...RequestEditorFn) (*IpamRolesNotesListResponse, error) { + rsp, err := c.IpamRolesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRolesNotesListResponse(rsp) +} + +// IpamRolesNotesCreateWithBodyWithResponse request with arbitrary body returning *IpamRolesNotesCreateResponse +func (c *ClientWithResponses) IpamRolesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRolesNotesCreateResponse, error) { + rsp, err := c.IpamRolesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRolesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamRolesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamRolesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRolesNotesCreateResponse, error) { + rsp, err := c.IpamRolesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRolesNotesCreateResponse(rsp) +} + +// IpamRouteTargetsBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamRouteTargetsBulkDestroyResponse +func (c *ClientWithResponses) IpamRouteTargetsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRouteTargetsBulkDestroyResponse, error) { + rsp, err := c.IpamRouteTargetsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRouteTargetsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamRouteTargetsBulkDestroyWithResponse(ctx context.Context, body IpamRouteTargetsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRouteTargetsBulkDestroyResponse, error) { + rsp, err := c.IpamRouteTargetsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -184786,9 +283372,43 @@ func (c *ClientWithResponses) IpamRouteTargetsUpdateWithResponse(ctx context.Con return ParseIpamRouteTargetsUpdateResponse(rsp) } -// IpamServicesBulkDestroyWithResponse request returning *IpamServicesBulkDestroyResponse -func (c *ClientWithResponses) IpamServicesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamServicesBulkDestroyResponse, error) { - rsp, err := c.IpamServicesBulkDestroy(ctx, reqEditors...) +// IpamRouteTargetsNotesListWithResponse request returning *IpamRouteTargetsNotesListResponse +func (c *ClientWithResponses) IpamRouteTargetsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamRouteTargetsNotesListParams, reqEditors ...RequestEditorFn) (*IpamRouteTargetsNotesListResponse, error) { + rsp, err := c.IpamRouteTargetsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRouteTargetsNotesListResponse(rsp) +} + +// IpamRouteTargetsNotesCreateWithBodyWithResponse request with arbitrary body returning *IpamRouteTargetsNotesCreateResponse +func (c *ClientWithResponses) IpamRouteTargetsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamRouteTargetsNotesCreateResponse, error) { + rsp, err := c.IpamRouteTargetsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRouteTargetsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamRouteTargetsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamRouteTargetsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamRouteTargetsNotesCreateResponse, error) { + rsp, err := c.IpamRouteTargetsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamRouteTargetsNotesCreateResponse(rsp) +} + +// IpamServicesBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamServicesBulkDestroyResponse +func (c *ClientWithResponses) IpamServicesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServicesBulkDestroyResponse, error) { + rsp, err := c.IpamServicesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServicesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamServicesBulkDestroyWithResponse(ctx context.Context, body IpamServicesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServicesBulkDestroyResponse, error) { + rsp, err := c.IpamServicesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -184907,9 +283527,43 @@ func (c *ClientWithResponses) IpamServicesUpdateWithResponse(ctx context.Context return ParseIpamServicesUpdateResponse(rsp) } -// IpamVlanGroupsBulkDestroyWithResponse request returning *IpamVlanGroupsBulkDestroyResponse -func (c *ClientWithResponses) IpamVlanGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamVlanGroupsBulkDestroyResponse, error) { - rsp, err := c.IpamVlanGroupsBulkDestroy(ctx, reqEditors...) +// IpamServicesNotesListWithResponse request returning *IpamServicesNotesListResponse +func (c *ClientWithResponses) IpamServicesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamServicesNotesListParams, reqEditors ...RequestEditorFn) (*IpamServicesNotesListResponse, error) { + rsp, err := c.IpamServicesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServicesNotesListResponse(rsp) +} + +// IpamServicesNotesCreateWithBodyWithResponse request with arbitrary body returning *IpamServicesNotesCreateResponse +func (c *ClientWithResponses) IpamServicesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamServicesNotesCreateResponse, error) { + rsp, err := c.IpamServicesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServicesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamServicesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamServicesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamServicesNotesCreateResponse, error) { + rsp, err := c.IpamServicesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamServicesNotesCreateResponse(rsp) +} + +// IpamVlanGroupsBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamVlanGroupsBulkDestroyResponse +func (c *ClientWithResponses) IpamVlanGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlanGroupsBulkDestroyResponse, error) { + rsp, err := c.IpamVlanGroupsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamVlanGroupsBulkDestroyWithResponse(ctx context.Context, body IpamVlanGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsBulkDestroyResponse, error) { + rsp, err := c.IpamVlanGroupsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -185028,9 +283682,43 @@ func (c *ClientWithResponses) IpamVlanGroupsUpdateWithResponse(ctx context.Conte return ParseIpamVlanGroupsUpdateResponse(rsp) } -// IpamVlansBulkDestroyWithResponse request returning *IpamVlansBulkDestroyResponse -func (c *ClientWithResponses) IpamVlansBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamVlansBulkDestroyResponse, error) { - rsp, err := c.IpamVlansBulkDestroy(ctx, reqEditors...) +// IpamVlanGroupsNotesListWithResponse request returning *IpamVlanGroupsNotesListResponse +func (c *ClientWithResponses) IpamVlanGroupsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamVlanGroupsNotesListParams, reqEditors ...RequestEditorFn) (*IpamVlanGroupsNotesListResponse, error) { + rsp, err := c.IpamVlanGroupsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsNotesListResponse(rsp) +} + +// IpamVlanGroupsNotesCreateWithBodyWithResponse request with arbitrary body returning *IpamVlanGroupsNotesCreateResponse +func (c *ClientWithResponses) IpamVlanGroupsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlanGroupsNotesCreateResponse, error) { + rsp, err := c.IpamVlanGroupsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamVlanGroupsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamVlanGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlanGroupsNotesCreateResponse, error) { + rsp, err := c.IpamVlanGroupsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlanGroupsNotesCreateResponse(rsp) +} + +// IpamVlansBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamVlansBulkDestroyResponse +func (c *ClientWithResponses) IpamVlansBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlansBulkDestroyResponse, error) { + rsp, err := c.IpamVlansBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlansBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamVlansBulkDestroyWithResponse(ctx context.Context, body IpamVlansBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlansBulkDestroyResponse, error) { + rsp, err := c.IpamVlansBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -185149,9 +283837,43 @@ func (c *ClientWithResponses) IpamVlansUpdateWithResponse(ctx context.Context, i return ParseIpamVlansUpdateResponse(rsp) } -// IpamVrfsBulkDestroyWithResponse request returning *IpamVrfsBulkDestroyResponse -func (c *ClientWithResponses) IpamVrfsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IpamVrfsBulkDestroyResponse, error) { - rsp, err := c.IpamVrfsBulkDestroy(ctx, reqEditors...) +// IpamVlansNotesListWithResponse request returning *IpamVlansNotesListResponse +func (c *ClientWithResponses) IpamVlansNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamVlansNotesListParams, reqEditors ...RequestEditorFn) (*IpamVlansNotesListResponse, error) { + rsp, err := c.IpamVlansNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlansNotesListResponse(rsp) +} + +// IpamVlansNotesCreateWithBodyWithResponse request with arbitrary body returning *IpamVlansNotesCreateResponse +func (c *ClientWithResponses) IpamVlansNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVlansNotesCreateResponse, error) { + rsp, err := c.IpamVlansNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlansNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamVlansNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamVlansNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVlansNotesCreateResponse, error) { + rsp, err := c.IpamVlansNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVlansNotesCreateResponse(rsp) +} + +// IpamVrfsBulkDestroyWithBodyWithResponse request with arbitrary body returning *IpamVrfsBulkDestroyResponse +func (c *ClientWithResponses) IpamVrfsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVrfsBulkDestroyResponse, error) { + rsp, err := c.IpamVrfsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVrfsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) IpamVrfsBulkDestroyWithResponse(ctx context.Context, body IpamVrfsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVrfsBulkDestroyResponse, error) { + rsp, err := c.IpamVrfsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -185270,9 +283992,1075 @@ func (c *ClientWithResponses) IpamVrfsUpdateWithResponse(ctx context.Context, id return ParseIpamVrfsUpdateResponse(rsp) } -// PluginsChatopsAccessgrantBulkDestroyWithResponse request returning *PluginsChatopsAccessgrantBulkDestroyResponse -func (c *ClientWithResponses) PluginsChatopsAccessgrantBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantBulkDestroyResponse, error) { - rsp, err := c.PluginsChatopsAccessgrantBulkDestroy(ctx, reqEditors...) +// IpamVrfsNotesListWithResponse request returning *IpamVrfsNotesListResponse +func (c *ClientWithResponses) IpamVrfsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *IpamVrfsNotesListParams, reqEditors ...RequestEditorFn) (*IpamVrfsNotesListResponse, error) { + rsp, err := c.IpamVrfsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVrfsNotesListResponse(rsp) +} + +// IpamVrfsNotesCreateWithBodyWithResponse request with arbitrary body returning *IpamVrfsNotesCreateResponse +func (c *ClientWithResponses) IpamVrfsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IpamVrfsNotesCreateResponse, error) { + rsp, err := c.IpamVrfsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVrfsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) IpamVrfsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body IpamVrfsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IpamVrfsNotesCreateResponse, error) { + rsp, err := c.IpamVrfsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseIpamVrfsNotesCreateResponse(rsp) +} + +// PluginsBgpAddressFamiliesBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpAddressFamiliesBulkDestroyResponse +func (c *ClientWithResponses) PluginsBgpAddressFamiliesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpAddressFamiliesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAddressFamiliesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpAddressFamiliesBulkDestroyWithResponse(ctx context.Context, body PluginsBgpAddressFamiliesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpAddressFamiliesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAddressFamiliesBulkDestroyResponse(rsp) +} + +// PluginsBgpAddressFamiliesListWithResponse request returning *PluginsBgpAddressFamiliesListResponse +func (c *ClientWithResponses) PluginsBgpAddressFamiliesListWithResponse(ctx context.Context, params *PluginsBgpAddressFamiliesListParams, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesListResponse, error) { + rsp, err := c.PluginsBgpAddressFamiliesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAddressFamiliesListResponse(rsp) +} + +// PluginsBgpAddressFamiliesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpAddressFamiliesBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpAddressFamiliesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpAddressFamiliesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAddressFamiliesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpAddressFamiliesBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpAddressFamiliesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpAddressFamiliesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAddressFamiliesBulkPartialUpdateResponse(rsp) +} + +// PluginsBgpAddressFamiliesCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpAddressFamiliesCreateResponse +func (c *ClientWithResponses) PluginsBgpAddressFamiliesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesCreateResponse, error) { + rsp, err := c.PluginsBgpAddressFamiliesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAddressFamiliesCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpAddressFamiliesCreateWithResponse(ctx context.Context, body PluginsBgpAddressFamiliesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesCreateResponse, error) { + rsp, err := c.PluginsBgpAddressFamiliesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAddressFamiliesCreateResponse(rsp) +} + +// PluginsBgpAddressFamiliesBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpAddressFamiliesBulkUpdateResponse +func (c *ClientWithResponses) PluginsBgpAddressFamiliesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpAddressFamiliesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAddressFamiliesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpAddressFamiliesBulkUpdateWithResponse(ctx context.Context, body PluginsBgpAddressFamiliesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpAddressFamiliesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAddressFamiliesBulkUpdateResponse(rsp) +} + +// PluginsBgpAddressFamiliesDestroyWithResponse request returning *PluginsBgpAddressFamiliesDestroyResponse +func (c *ClientWithResponses) PluginsBgpAddressFamiliesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesDestroyResponse, error) { + rsp, err := c.PluginsBgpAddressFamiliesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAddressFamiliesDestroyResponse(rsp) +} + +// PluginsBgpAddressFamiliesRetrieveWithResponse request returning *PluginsBgpAddressFamiliesRetrieveResponse +func (c *ClientWithResponses) PluginsBgpAddressFamiliesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsBgpAddressFamiliesRetrieveParams, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesRetrieveResponse, error) { + rsp, err := c.PluginsBgpAddressFamiliesRetrieve(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAddressFamiliesRetrieveResponse(rsp) +} + +// PluginsBgpAddressFamiliesPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpAddressFamiliesPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpAddressFamiliesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpAddressFamiliesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAddressFamiliesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpAddressFamiliesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpAddressFamiliesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpAddressFamiliesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAddressFamiliesPartialUpdateResponse(rsp) +} + +// PluginsBgpAddressFamiliesUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpAddressFamiliesUpdateResponse +func (c *ClientWithResponses) PluginsBgpAddressFamiliesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesUpdateResponse, error) { + rsp, err := c.PluginsBgpAddressFamiliesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAddressFamiliesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpAddressFamiliesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpAddressFamiliesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAddressFamiliesUpdateResponse, error) { + rsp, err := c.PluginsBgpAddressFamiliesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAddressFamiliesUpdateResponse(rsp) +} + +// PluginsBgpAutonomousSystemsBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpAutonomousSystemsBulkDestroyResponse +func (c *ClientWithResponses) PluginsBgpAutonomousSystemsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpAutonomousSystemsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAutonomousSystemsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpAutonomousSystemsBulkDestroyWithResponse(ctx context.Context, body PluginsBgpAutonomousSystemsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpAutonomousSystemsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAutonomousSystemsBulkDestroyResponse(rsp) +} + +// PluginsBgpAutonomousSystemsListWithResponse request returning *PluginsBgpAutonomousSystemsListResponse +func (c *ClientWithResponses) PluginsBgpAutonomousSystemsListWithResponse(ctx context.Context, params *PluginsBgpAutonomousSystemsListParams, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsListResponse, error) { + rsp, err := c.PluginsBgpAutonomousSystemsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAutonomousSystemsListResponse(rsp) +} + +// PluginsBgpAutonomousSystemsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpAutonomousSystemsBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpAutonomousSystemsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpAutonomousSystemsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAutonomousSystemsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpAutonomousSystemsBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpAutonomousSystemsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpAutonomousSystemsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAutonomousSystemsBulkPartialUpdateResponse(rsp) +} + +// PluginsBgpAutonomousSystemsCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpAutonomousSystemsCreateResponse +func (c *ClientWithResponses) PluginsBgpAutonomousSystemsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsCreateResponse, error) { + rsp, err := c.PluginsBgpAutonomousSystemsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAutonomousSystemsCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpAutonomousSystemsCreateWithResponse(ctx context.Context, body PluginsBgpAutonomousSystemsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsCreateResponse, error) { + rsp, err := c.PluginsBgpAutonomousSystemsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAutonomousSystemsCreateResponse(rsp) +} + +// PluginsBgpAutonomousSystemsBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpAutonomousSystemsBulkUpdateResponse +func (c *ClientWithResponses) PluginsBgpAutonomousSystemsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpAutonomousSystemsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAutonomousSystemsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpAutonomousSystemsBulkUpdateWithResponse(ctx context.Context, body PluginsBgpAutonomousSystemsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpAutonomousSystemsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAutonomousSystemsBulkUpdateResponse(rsp) +} + +// PluginsBgpAutonomousSystemsDestroyWithResponse request returning *PluginsBgpAutonomousSystemsDestroyResponse +func (c *ClientWithResponses) PluginsBgpAutonomousSystemsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsDestroyResponse, error) { + rsp, err := c.PluginsBgpAutonomousSystemsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAutonomousSystemsDestroyResponse(rsp) +} + +// PluginsBgpAutonomousSystemsRetrieveWithResponse request returning *PluginsBgpAutonomousSystemsRetrieveResponse +func (c *ClientWithResponses) PluginsBgpAutonomousSystemsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsRetrieveResponse, error) { + rsp, err := c.PluginsBgpAutonomousSystemsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAutonomousSystemsRetrieveResponse(rsp) +} + +// PluginsBgpAutonomousSystemsPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpAutonomousSystemsPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpAutonomousSystemsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpAutonomousSystemsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAutonomousSystemsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpAutonomousSystemsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpAutonomousSystemsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpAutonomousSystemsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAutonomousSystemsPartialUpdateResponse(rsp) +} + +// PluginsBgpAutonomousSystemsUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpAutonomousSystemsUpdateResponse +func (c *ClientWithResponses) PluginsBgpAutonomousSystemsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsUpdateResponse, error) { + rsp, err := c.PluginsBgpAutonomousSystemsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAutonomousSystemsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpAutonomousSystemsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpAutonomousSystemsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpAutonomousSystemsUpdateResponse, error) { + rsp, err := c.PluginsBgpAutonomousSystemsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpAutonomousSystemsUpdateResponse(rsp) +} + +// PluginsBgpPeerEndpointsBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerEndpointsBulkDestroyResponse +func (c *ClientWithResponses) PluginsBgpPeerEndpointsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpPeerEndpointsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerEndpointsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeerEndpointsBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPeerEndpointsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpPeerEndpointsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerEndpointsBulkDestroyResponse(rsp) +} + +// PluginsBgpPeerEndpointsListWithResponse request returning *PluginsBgpPeerEndpointsListResponse +func (c *ClientWithResponses) PluginsBgpPeerEndpointsListWithResponse(ctx context.Context, params *PluginsBgpPeerEndpointsListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsListResponse, error) { + rsp, err := c.PluginsBgpPeerEndpointsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerEndpointsListResponse(rsp) +} + +// PluginsBgpPeerEndpointsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerEndpointsBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeerEndpointsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerEndpointsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerEndpointsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeerEndpointsBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPeerEndpointsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerEndpointsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerEndpointsBulkPartialUpdateResponse(rsp) +} + +// PluginsBgpPeerEndpointsCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerEndpointsCreateResponse +func (c *ClientWithResponses) PluginsBgpPeerEndpointsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsCreateResponse, error) { + rsp, err := c.PluginsBgpPeerEndpointsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerEndpointsCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeerEndpointsCreateWithResponse(ctx context.Context, body PluginsBgpPeerEndpointsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsCreateResponse, error) { + rsp, err := c.PluginsBgpPeerEndpointsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerEndpointsCreateResponse(rsp) +} + +// PluginsBgpPeerEndpointsBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerEndpointsBulkUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeerEndpointsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerEndpointsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerEndpointsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeerEndpointsBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPeerEndpointsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerEndpointsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerEndpointsBulkUpdateResponse(rsp) +} + +// PluginsBgpPeerEndpointsDestroyWithResponse request returning *PluginsBgpPeerEndpointsDestroyResponse +func (c *ClientWithResponses) PluginsBgpPeerEndpointsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsDestroyResponse, error) { + rsp, err := c.PluginsBgpPeerEndpointsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerEndpointsDestroyResponse(rsp) +} + +// PluginsBgpPeerEndpointsRetrieveWithResponse request returning *PluginsBgpPeerEndpointsRetrieveResponse +func (c *ClientWithResponses) PluginsBgpPeerEndpointsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsBgpPeerEndpointsRetrieveParams, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsRetrieveResponse, error) { + rsp, err := c.PluginsBgpPeerEndpointsRetrieve(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerEndpointsRetrieveResponse(rsp) +} + +// PluginsBgpPeerEndpointsPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerEndpointsPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeerEndpointsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerEndpointsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerEndpointsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeerEndpointsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerEndpointsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerEndpointsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerEndpointsPartialUpdateResponse(rsp) +} + +// PluginsBgpPeerEndpointsUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerEndpointsUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeerEndpointsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerEndpointsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerEndpointsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeerEndpointsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerEndpointsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerEndpointsUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerEndpointsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerEndpointsUpdateResponse(rsp) +} + +// PluginsBgpPeerGroupTemplatesBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupTemplatesBulkDestroyResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupTemplatesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpPeerGroupTemplatesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupTemplatesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeerGroupTemplatesBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPeerGroupTemplatesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpPeerGroupTemplatesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupTemplatesBulkDestroyResponse(rsp) +} + +// PluginsBgpPeerGroupTemplatesListWithResponse request returning *PluginsBgpPeerGroupTemplatesListResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupTemplatesListWithResponse(ctx context.Context, params *PluginsBgpPeerGroupTemplatesListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesListResponse, error) { + rsp, err := c.PluginsBgpPeerGroupTemplatesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupTemplatesListResponse(rsp) +} + +// PluginsBgpPeerGroupTemplatesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupTemplatesBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupTemplatesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupTemplatesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupTemplatesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeerGroupTemplatesBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPeerGroupTemplatesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupTemplatesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupTemplatesBulkPartialUpdateResponse(rsp) +} + +// PluginsBgpPeerGroupTemplatesCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupTemplatesCreateResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupTemplatesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesCreateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupTemplatesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupTemplatesCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeerGroupTemplatesCreateWithResponse(ctx context.Context, body PluginsBgpPeerGroupTemplatesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesCreateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupTemplatesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupTemplatesCreateResponse(rsp) +} + +// PluginsBgpPeerGroupTemplatesBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupTemplatesBulkUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupTemplatesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupTemplatesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupTemplatesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeerGroupTemplatesBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPeerGroupTemplatesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupTemplatesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupTemplatesBulkUpdateResponse(rsp) +} + +// PluginsBgpPeerGroupTemplatesDestroyWithResponse request returning *PluginsBgpPeerGroupTemplatesDestroyResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupTemplatesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesDestroyResponse, error) { + rsp, err := c.PluginsBgpPeerGroupTemplatesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupTemplatesDestroyResponse(rsp) +} + +// PluginsBgpPeerGroupTemplatesRetrieveWithResponse request returning *PluginsBgpPeerGroupTemplatesRetrieveResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupTemplatesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsBgpPeerGroupTemplatesRetrieveParams, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesRetrieveResponse, error) { + rsp, err := c.PluginsBgpPeerGroupTemplatesRetrieve(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupTemplatesRetrieveResponse(rsp) +} + +// PluginsBgpPeerGroupTemplatesPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupTemplatesPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupTemplatesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupTemplatesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupTemplatesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeerGroupTemplatesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerGroupTemplatesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupTemplatesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupTemplatesPartialUpdateResponse(rsp) +} + +// PluginsBgpPeerGroupTemplatesUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupTemplatesUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupTemplatesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupTemplatesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupTemplatesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeerGroupTemplatesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerGroupTemplatesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupTemplatesUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupTemplatesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupTemplatesUpdateResponse(rsp) +} + +// PluginsBgpPeerGroupsBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupsBulkDestroyResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpPeerGroupsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeerGroupsBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPeerGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpPeerGroupsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupsBulkDestroyResponse(rsp) +} + +// PluginsBgpPeerGroupsListWithResponse request returning *PluginsBgpPeerGroupsListResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupsListWithResponse(ctx context.Context, params *PluginsBgpPeerGroupsListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsListResponse, error) { + rsp, err := c.PluginsBgpPeerGroupsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupsListResponse(rsp) +} + +// PluginsBgpPeerGroupsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupsBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeerGroupsBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPeerGroupsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupsBulkPartialUpdateResponse(rsp) +} + +// PluginsBgpPeerGroupsCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupsCreateResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsCreateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupsCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeerGroupsCreateWithResponse(ctx context.Context, body PluginsBgpPeerGroupsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsCreateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupsCreateResponse(rsp) +} + +// PluginsBgpPeerGroupsBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupsBulkUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeerGroupsBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPeerGroupsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupsBulkUpdateResponse(rsp) +} + +// PluginsBgpPeerGroupsDestroyWithResponse request returning *PluginsBgpPeerGroupsDestroyResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsDestroyResponse, error) { + rsp, err := c.PluginsBgpPeerGroupsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupsDestroyResponse(rsp) +} + +// PluginsBgpPeerGroupsRetrieveWithResponse request returning *PluginsBgpPeerGroupsRetrieveResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsBgpPeerGroupsRetrieveParams, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsRetrieveResponse, error) { + rsp, err := c.PluginsBgpPeerGroupsRetrieve(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupsRetrieveResponse(rsp) +} + +// PluginsBgpPeerGroupsPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupsPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeerGroupsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerGroupsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupsPartialUpdateResponse(rsp) +} + +// PluginsBgpPeerGroupsUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeerGroupsUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeerGroupsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeerGroupsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeerGroupsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeerGroupsUpdateResponse, error) { + rsp, err := c.PluginsBgpPeerGroupsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeerGroupsUpdateResponse(rsp) +} + +// PluginsBgpPeeringRolesBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeeringRolesBulkDestroyResponse +func (c *ClientWithResponses) PluginsBgpPeeringRolesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpPeeringRolesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringRolesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeeringRolesBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPeeringRolesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpPeeringRolesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringRolesBulkDestroyResponse(rsp) +} + +// PluginsBgpPeeringRolesListWithResponse request returning *PluginsBgpPeeringRolesListResponse +func (c *ClientWithResponses) PluginsBgpPeeringRolesListWithResponse(ctx context.Context, params *PluginsBgpPeeringRolesListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesListResponse, error) { + rsp, err := c.PluginsBgpPeeringRolesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringRolesListResponse(rsp) +} + +// PluginsBgpPeeringRolesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeeringRolesBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeeringRolesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeeringRolesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringRolesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeeringRolesBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPeeringRolesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeeringRolesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringRolesBulkPartialUpdateResponse(rsp) +} + +// PluginsBgpPeeringRolesCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeeringRolesCreateResponse +func (c *ClientWithResponses) PluginsBgpPeeringRolesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesCreateResponse, error) { + rsp, err := c.PluginsBgpPeeringRolesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringRolesCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeeringRolesCreateWithResponse(ctx context.Context, body PluginsBgpPeeringRolesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesCreateResponse, error) { + rsp, err := c.PluginsBgpPeeringRolesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringRolesCreateResponse(rsp) +} + +// PluginsBgpPeeringRolesBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeeringRolesBulkUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeeringRolesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpPeeringRolesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringRolesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeeringRolesBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPeeringRolesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpPeeringRolesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringRolesBulkUpdateResponse(rsp) +} + +// PluginsBgpPeeringRolesDestroyWithResponse request returning *PluginsBgpPeeringRolesDestroyResponse +func (c *ClientWithResponses) PluginsBgpPeeringRolesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesDestroyResponse, error) { + rsp, err := c.PluginsBgpPeeringRolesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringRolesDestroyResponse(rsp) +} + +// PluginsBgpPeeringRolesRetrieveWithResponse request returning *PluginsBgpPeeringRolesRetrieveResponse +func (c *ClientWithResponses) PluginsBgpPeeringRolesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesRetrieveResponse, error) { + rsp, err := c.PluginsBgpPeeringRolesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringRolesRetrieveResponse(rsp) +} + +// PluginsBgpPeeringRolesPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeeringRolesPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeeringRolesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeeringRolesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringRolesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeeringRolesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeeringRolesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeeringRolesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringRolesPartialUpdateResponse(rsp) +} + +// PluginsBgpPeeringRolesUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeeringRolesUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeeringRolesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesUpdateResponse, error) { + rsp, err := c.PluginsBgpPeeringRolesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringRolesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeeringRolesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeeringRolesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringRolesUpdateResponse, error) { + rsp, err := c.PluginsBgpPeeringRolesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringRolesUpdateResponse(rsp) +} + +// PluginsBgpPeeringsBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeeringsBulkDestroyResponse +func (c *ClientWithResponses) PluginsBgpPeeringsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpPeeringsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeeringsBulkDestroyWithResponse(ctx context.Context, body PluginsBgpPeeringsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpPeeringsBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringsBulkDestroyResponse(rsp) +} + +// PluginsBgpPeeringsListWithResponse request returning *PluginsBgpPeeringsListResponse +func (c *ClientWithResponses) PluginsBgpPeeringsListWithResponse(ctx context.Context, params *PluginsBgpPeeringsListParams, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsListResponse, error) { + rsp, err := c.PluginsBgpPeeringsList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringsListResponse(rsp) +} + +// PluginsBgpPeeringsBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeeringsBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeeringsBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeeringsBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringsBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeeringsBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpPeeringsBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeeringsBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringsBulkPartialUpdateResponse(rsp) +} + +// PluginsBgpPeeringsCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeeringsCreateResponse +func (c *ClientWithResponses) PluginsBgpPeeringsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsCreateResponse, error) { + rsp, err := c.PluginsBgpPeeringsCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringsCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeeringsCreateWithResponse(ctx context.Context, body PluginsBgpPeeringsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsCreateResponse, error) { + rsp, err := c.PluginsBgpPeeringsCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringsCreateResponse(rsp) +} + +// PluginsBgpPeeringsBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeeringsBulkUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeeringsBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpPeeringsBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringsBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeeringsBulkUpdateWithResponse(ctx context.Context, body PluginsBgpPeeringsBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpPeeringsBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringsBulkUpdateResponse(rsp) +} + +// PluginsBgpPeeringsDestroyWithResponse request returning *PluginsBgpPeeringsDestroyResponse +func (c *ClientWithResponses) PluginsBgpPeeringsDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsDestroyResponse, error) { + rsp, err := c.PluginsBgpPeeringsDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringsDestroyResponse(rsp) +} + +// PluginsBgpPeeringsRetrieveWithResponse request returning *PluginsBgpPeeringsRetrieveResponse +func (c *ClientWithResponses) PluginsBgpPeeringsRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsRetrieveResponse, error) { + rsp, err := c.PluginsBgpPeeringsRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringsRetrieveResponse(rsp) +} + +// PluginsBgpPeeringsPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeeringsPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeeringsPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeeringsPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringsPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeeringsPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeeringsPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpPeeringsPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringsPartialUpdateResponse(rsp) +} + +// PluginsBgpPeeringsUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpPeeringsUpdateResponse +func (c *ClientWithResponses) PluginsBgpPeeringsUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsUpdateResponse, error) { + rsp, err := c.PluginsBgpPeeringsUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringsUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpPeeringsUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpPeeringsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpPeeringsUpdateResponse, error) { + rsp, err := c.PluginsBgpPeeringsUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpPeeringsUpdateResponse(rsp) +} + +// PluginsBgpRoutingInstancesBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingInstancesBulkDestroyResponse +func (c *ClientWithResponses) PluginsBgpRoutingInstancesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpRoutingInstancesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingInstancesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpRoutingInstancesBulkDestroyWithResponse(ctx context.Context, body PluginsBgpRoutingInstancesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesBulkDestroyResponse, error) { + rsp, err := c.PluginsBgpRoutingInstancesBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingInstancesBulkDestroyResponse(rsp) +} + +// PluginsBgpRoutingInstancesListWithResponse request returning *PluginsBgpRoutingInstancesListResponse +func (c *ClientWithResponses) PluginsBgpRoutingInstancesListWithResponse(ctx context.Context, params *PluginsBgpRoutingInstancesListParams, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesListResponse, error) { + rsp, err := c.PluginsBgpRoutingInstancesList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingInstancesListResponse(rsp) +} + +// PluginsBgpRoutingInstancesBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingInstancesBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpRoutingInstancesBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingInstancesBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingInstancesBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpRoutingInstancesBulkPartialUpdateWithResponse(ctx context.Context, body PluginsBgpRoutingInstancesBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingInstancesBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingInstancesBulkPartialUpdateResponse(rsp) +} + +// PluginsBgpRoutingInstancesCreateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingInstancesCreateResponse +func (c *ClientWithResponses) PluginsBgpRoutingInstancesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesCreateResponse, error) { + rsp, err := c.PluginsBgpRoutingInstancesCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingInstancesCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpRoutingInstancesCreateWithResponse(ctx context.Context, body PluginsBgpRoutingInstancesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesCreateResponse, error) { + rsp, err := c.PluginsBgpRoutingInstancesCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingInstancesCreateResponse(rsp) +} + +// PluginsBgpRoutingInstancesBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingInstancesBulkUpdateResponse +func (c *ClientWithResponses) PluginsBgpRoutingInstancesBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingInstancesBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingInstancesBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpRoutingInstancesBulkUpdateWithResponse(ctx context.Context, body PluginsBgpRoutingInstancesBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesBulkUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingInstancesBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingInstancesBulkUpdateResponse(rsp) +} + +// PluginsBgpRoutingInstancesDestroyWithResponse request returning *PluginsBgpRoutingInstancesDestroyResponse +func (c *ClientWithResponses) PluginsBgpRoutingInstancesDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesDestroyResponse, error) { + rsp, err := c.PluginsBgpRoutingInstancesDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingInstancesDestroyResponse(rsp) +} + +// PluginsBgpRoutingInstancesRetrieveWithResponse request returning *PluginsBgpRoutingInstancesRetrieveResponse +func (c *ClientWithResponses) PluginsBgpRoutingInstancesRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesRetrieveResponse, error) { + rsp, err := c.PluginsBgpRoutingInstancesRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingInstancesRetrieveResponse(rsp) +} + +// PluginsBgpRoutingInstancesPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingInstancesPartialUpdateResponse +func (c *ClientWithResponses) PluginsBgpRoutingInstancesPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingInstancesPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingInstancesPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpRoutingInstancesPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpRoutingInstancesPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesPartialUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingInstancesPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingInstancesPartialUpdateResponse(rsp) +} + +// PluginsBgpRoutingInstancesUpdateWithBodyWithResponse request with arbitrary body returning *PluginsBgpRoutingInstancesUpdateResponse +func (c *ClientWithResponses) PluginsBgpRoutingInstancesUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingInstancesUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingInstancesUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsBgpRoutingInstancesUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsBgpRoutingInstancesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsBgpRoutingInstancesUpdateResponse, error) { + rsp, err := c.PluginsBgpRoutingInstancesUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsBgpRoutingInstancesUpdateResponse(rsp) +} + +// PluginsChatopsAccessgrantBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsChatopsAccessgrantBulkDestroyResponse +func (c *ClientWithResponses) PluginsChatopsAccessgrantBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantBulkDestroyResponse, error) { + rsp, err := c.PluginsChatopsAccessgrantBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsAccessgrantBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsChatopsAccessgrantBulkDestroyWithResponse(ctx context.Context, body PluginsChatopsAccessgrantBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsAccessgrantBulkDestroyResponse, error) { + rsp, err := c.PluginsChatopsAccessgrantBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -185391,9 +285179,17 @@ func (c *ClientWithResponses) PluginsChatopsAccessgrantUpdateWithResponse(ctx co return ParsePluginsChatopsAccessgrantUpdateResponse(rsp) } -// PluginsChatopsCommandtokenBulkDestroyWithResponse request returning *PluginsChatopsCommandtokenBulkDestroyResponse -func (c *ClientWithResponses) PluginsChatopsCommandtokenBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenBulkDestroyResponse, error) { - rsp, err := c.PluginsChatopsCommandtokenBulkDestroy(ctx, reqEditors...) +// PluginsChatopsCommandtokenBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsChatopsCommandtokenBulkDestroyResponse +func (c *ClientWithResponses) PluginsChatopsCommandtokenBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenBulkDestroyResponse, error) { + rsp, err := c.PluginsChatopsCommandtokenBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsChatopsCommandtokenBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsChatopsCommandtokenBulkDestroyWithResponse(ctx context.Context, body PluginsChatopsCommandtokenBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsChatopsCommandtokenBulkDestroyResponse, error) { + rsp, err := c.PluginsChatopsCommandtokenBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -185512,9 +285308,17 @@ func (c *ClientWithResponses) PluginsChatopsCommandtokenUpdateWithResponse(ctx c return ParsePluginsChatopsCommandtokenUpdateResponse(rsp) } -// PluginsCircuitMaintenanceCircuitimpactBulkDestroyWithResponse request returning *PluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse -func (c *ClientWithResponses) PluginsCircuitMaintenanceCircuitimpactBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse, error) { - rsp, err := c.PluginsCircuitMaintenanceCircuitimpactBulkDestroy(ctx, reqEditors...) +// PluginsCircuitMaintenanceCircuitimpactBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceCircuitimpactBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceCircuitimpactBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsCircuitMaintenanceCircuitimpactBulkDestroyWithResponse(ctx context.Context, body PluginsCircuitMaintenanceCircuitimpactBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceCircuitimpactBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -185633,9 +285437,17 @@ func (c *ClientWithResponses) PluginsCircuitMaintenanceCircuitimpactUpdateWithRe return ParsePluginsCircuitMaintenanceCircuitimpactUpdateResponse(rsp) } -// PluginsCircuitMaintenanceMaintenanceBulkDestroyWithResponse request returning *PluginsCircuitMaintenanceMaintenanceBulkDestroyResponse -func (c *ClientWithResponses) PluginsCircuitMaintenanceMaintenanceBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceBulkDestroyResponse, error) { - rsp, err := c.PluginsCircuitMaintenanceMaintenanceBulkDestroy(ctx, reqEditors...) +// PluginsCircuitMaintenanceMaintenanceBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsCircuitMaintenanceMaintenanceBulkDestroyResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceMaintenanceBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceBulkDestroyResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceMaintenanceBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceMaintenanceBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsCircuitMaintenanceMaintenanceBulkDestroyWithResponse(ctx context.Context, body PluginsCircuitMaintenanceMaintenanceBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceMaintenanceBulkDestroyResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceMaintenanceBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -185754,9 +285566,17 @@ func (c *ClientWithResponses) PluginsCircuitMaintenanceMaintenanceUpdateWithResp return ParsePluginsCircuitMaintenanceMaintenanceUpdateResponse(rsp) } -// PluginsCircuitMaintenanceNoteBulkDestroyWithResponse request returning *PluginsCircuitMaintenanceNoteBulkDestroyResponse -func (c *ClientWithResponses) PluginsCircuitMaintenanceNoteBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteBulkDestroyResponse, error) { - rsp, err := c.PluginsCircuitMaintenanceNoteBulkDestroy(ctx, reqEditors...) +// PluginsCircuitMaintenanceNoteBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsCircuitMaintenanceNoteBulkDestroyResponse +func (c *ClientWithResponses) PluginsCircuitMaintenanceNoteBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteBulkDestroyResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceNoteBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsCircuitMaintenanceNoteBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsCircuitMaintenanceNoteBulkDestroyWithResponse(ctx context.Context, body PluginsCircuitMaintenanceNoteBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsCircuitMaintenanceNoteBulkDestroyResponse, error) { + rsp, err := c.PluginsCircuitMaintenanceNoteBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -185893,9 +285713,17 @@ func (c *ClientWithResponses) PluginsCircuitMaintenanceNotificationsourceRetriev return ParsePluginsCircuitMaintenanceNotificationsourceRetrieveResponse(rsp) } -// PluginsDataValidationEngineRulesMinMaxBulkDestroyWithResponse request returning *PluginsDataValidationEngineRulesMinMaxBulkDestroyResponse -func (c *ClientWithResponses) PluginsDataValidationEngineRulesMinMaxBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxBulkDestroyResponse, error) { - rsp, err := c.PluginsDataValidationEngineRulesMinMaxBulkDestroy(ctx, reqEditors...) +// PluginsDataValidationEngineRulesMinMaxBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsDataValidationEngineRulesMinMaxBulkDestroyResponse +func (c *ClientWithResponses) PluginsDataValidationEngineRulesMinMaxBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxBulkDestroyResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesMinMaxBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesMinMaxBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsDataValidationEngineRulesMinMaxBulkDestroyWithResponse(ctx context.Context, body PluginsDataValidationEngineRulesMinMaxBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesMinMaxBulkDestroyResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesMinMaxBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -186014,9 +285842,17 @@ func (c *ClientWithResponses) PluginsDataValidationEngineRulesMinMaxUpdateWithRe return ParsePluginsDataValidationEngineRulesMinMaxUpdateResponse(rsp) } -// PluginsDataValidationEngineRulesRegexBulkDestroyWithResponse request returning *PluginsDataValidationEngineRulesRegexBulkDestroyResponse -func (c *ClientWithResponses) PluginsDataValidationEngineRulesRegexBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexBulkDestroyResponse, error) { - rsp, err := c.PluginsDataValidationEngineRulesRegexBulkDestroy(ctx, reqEditors...) +// PluginsDataValidationEngineRulesRegexBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsDataValidationEngineRulesRegexBulkDestroyResponse +func (c *ClientWithResponses) PluginsDataValidationEngineRulesRegexBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexBulkDestroyResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesRegexBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsDataValidationEngineRulesRegexBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsDataValidationEngineRulesRegexBulkDestroyWithResponse(ctx context.Context, body PluginsDataValidationEngineRulesRegexBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsDataValidationEngineRulesRegexBulkDestroyResponse, error) { + rsp, err := c.PluginsDataValidationEngineRulesRegexBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -186179,9 +286015,2161 @@ func (c *ClientWithResponses) PluginsDeviceOnboardingOnboardingRetrieveWithRespo return ParsePluginsDeviceOnboardingOnboardingRetrieveResponse(rsp) } -// PluginsGoldenConfigComplianceFeatureBulkDestroyWithResponse request returning *PluginsGoldenConfigComplianceFeatureBulkDestroyResponse -func (c *ClientWithResponses) PluginsGoldenConfigComplianceFeatureBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureBulkDestroyResponse, error) { - rsp, err := c.PluginsGoldenConfigComplianceFeatureBulkDestroy(ctx, reqEditors...) +// PluginsFirewallAddressObjectGroupBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsFirewallAddressObjectGroupBulkDestroyResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectGroupBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectGroupBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectGroupBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallAddressObjectGroupBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallAddressObjectGroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectGroupBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectGroupBulkDestroyResponse(rsp) +} + +// PluginsFirewallAddressObjectGroupListWithResponse request returning *PluginsFirewallAddressObjectGroupListResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectGroupListWithResponse(ctx context.Context, params *PluginsFirewallAddressObjectGroupListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupListResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectGroupList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectGroupListResponse(rsp) +} + +// PluginsFirewallAddressObjectGroupBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallAddressObjectGroupBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectGroupBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectGroupBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectGroupBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallAddressObjectGroupBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallAddressObjectGroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectGroupBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectGroupBulkPartialUpdateResponse(rsp) +} + +// PluginsFirewallAddressObjectGroupCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallAddressObjectGroupCreateResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectGroupCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupCreateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectGroupCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectGroupCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallAddressObjectGroupCreateWithResponse(ctx context.Context, body PluginsFirewallAddressObjectGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupCreateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectGroupCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectGroupCreateResponse(rsp) +} + +// PluginsFirewallAddressObjectGroupBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallAddressObjectGroupBulkUpdateResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectGroupBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectGroupBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectGroupBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallAddressObjectGroupBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallAddressObjectGroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectGroupBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectGroupBulkUpdateResponse(rsp) +} + +// PluginsFirewallAddressObjectGroupDestroyWithResponse request returning *PluginsFirewallAddressObjectGroupDestroyResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectGroupDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupDestroyResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectGroupDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectGroupDestroyResponse(rsp) +} + +// PluginsFirewallAddressObjectGroupRetrieveWithResponse request returning *PluginsFirewallAddressObjectGroupRetrieveResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectGroupRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupRetrieveResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectGroupRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectGroupRetrieveResponse(rsp) +} + +// PluginsFirewallAddressObjectGroupPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallAddressObjectGroupPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectGroupPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectGroupPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectGroupPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallAddressObjectGroupPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectGroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectGroupPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectGroupPartialUpdateResponse(rsp) +} + +// PluginsFirewallAddressObjectGroupUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallAddressObjectGroupUpdateResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectGroupUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupUpdateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectGroupUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectGroupUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallAddressObjectGroupUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupUpdateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectGroupUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectGroupUpdateResponse(rsp) +} + +// PluginsFirewallAddressObjectGroupNotesListWithResponse request returning *PluginsFirewallAddressObjectGroupNotesListResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectGroupNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallAddressObjectGroupNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupNotesListResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectGroupNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectGroupNotesListResponse(rsp) +} + +// PluginsFirewallAddressObjectGroupNotesCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallAddressObjectGroupNotesCreateResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectGroupNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectGroupNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectGroupNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallAddressObjectGroupNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectGroupNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectGroupNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectGroupNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectGroupNotesCreateResponse(rsp) +} + +// PluginsFirewallAddressObjectBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsFirewallAddressObjectBulkDestroyResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallAddressObjectBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallAddressObjectBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectBulkDestroyResponse(rsp) +} + +// PluginsFirewallAddressObjectListWithResponse request returning *PluginsFirewallAddressObjectListResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectListWithResponse(ctx context.Context, params *PluginsFirewallAddressObjectListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectListResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectListResponse(rsp) +} + +// PluginsFirewallAddressObjectBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallAddressObjectBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallAddressObjectBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallAddressObjectBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectBulkPartialUpdateResponse(rsp) +} + +// PluginsFirewallAddressObjectCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallAddressObjectCreateResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectCreateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallAddressObjectCreateWithResponse(ctx context.Context, body PluginsFirewallAddressObjectCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectCreateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectCreateResponse(rsp) +} + +// PluginsFirewallAddressObjectBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallAddressObjectBulkUpdateResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallAddressObjectBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallAddressObjectBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectBulkUpdateResponse(rsp) +} + +// PluginsFirewallAddressObjectDestroyWithResponse request returning *PluginsFirewallAddressObjectDestroyResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectDestroyResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectDestroyResponse(rsp) +} + +// PluginsFirewallAddressObjectRetrieveWithResponse request returning *PluginsFirewallAddressObjectRetrieveResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectRetrieveResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectRetrieveResponse(rsp) +} + +// PluginsFirewallAddressObjectPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallAddressObjectPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallAddressObjectPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectPartialUpdateResponse(rsp) +} + +// PluginsFirewallAddressObjectUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallAddressObjectUpdateResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectUpdateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallAddressObjectUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectUpdateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectUpdateResponse(rsp) +} + +// PluginsFirewallAddressObjectNotesListWithResponse request returning *PluginsFirewallAddressObjectNotesListResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallAddressObjectNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectNotesListResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectNotesListResponse(rsp) +} + +// PluginsFirewallAddressObjectNotesCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallAddressObjectNotesCreateResponse +func (c *ClientWithResponses) PluginsFirewallAddressObjectNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallAddressObjectNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallAddressObjectNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallAddressObjectNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallAddressObjectNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallAddressObjectNotesCreateResponse(rsp) +} + +// PluginsFirewallCapircaPolicyBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsFirewallCapircaPolicyBulkDestroyResponse +func (c *ClientWithResponses) PluginsFirewallCapircaPolicyBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallCapircaPolicyBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallCapircaPolicyBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallCapircaPolicyBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallCapircaPolicyBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallCapircaPolicyBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallCapircaPolicyBulkDestroyResponse(rsp) +} + +// PluginsFirewallCapircaPolicyListWithResponse request returning *PluginsFirewallCapircaPolicyListResponse +func (c *ClientWithResponses) PluginsFirewallCapircaPolicyListWithResponse(ctx context.Context, params *PluginsFirewallCapircaPolicyListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyListResponse, error) { + rsp, err := c.PluginsFirewallCapircaPolicyList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallCapircaPolicyListResponse(rsp) +} + +// PluginsFirewallCapircaPolicyBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallCapircaPolicyBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallCapircaPolicyBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallCapircaPolicyBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallCapircaPolicyBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallCapircaPolicyBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallCapircaPolicyBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallCapircaPolicyBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallCapircaPolicyBulkPartialUpdateResponse(rsp) +} + +// PluginsFirewallCapircaPolicyCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallCapircaPolicyCreateResponse +func (c *ClientWithResponses) PluginsFirewallCapircaPolicyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyCreateResponse, error) { + rsp, err := c.PluginsFirewallCapircaPolicyCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallCapircaPolicyCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallCapircaPolicyCreateWithResponse(ctx context.Context, body PluginsFirewallCapircaPolicyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyCreateResponse, error) { + rsp, err := c.PluginsFirewallCapircaPolicyCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallCapircaPolicyCreateResponse(rsp) +} + +// PluginsFirewallCapircaPolicyBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallCapircaPolicyBulkUpdateResponse +func (c *ClientWithResponses) PluginsFirewallCapircaPolicyBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallCapircaPolicyBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallCapircaPolicyBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallCapircaPolicyBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallCapircaPolicyBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallCapircaPolicyBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallCapircaPolicyBulkUpdateResponse(rsp) +} + +// PluginsFirewallCapircaPolicyDestroyWithResponse request returning *PluginsFirewallCapircaPolicyDestroyResponse +func (c *ClientWithResponses) PluginsFirewallCapircaPolicyDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyDestroyResponse, error) { + rsp, err := c.PluginsFirewallCapircaPolicyDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallCapircaPolicyDestroyResponse(rsp) +} + +// PluginsFirewallCapircaPolicyRetrieveWithResponse request returning *PluginsFirewallCapircaPolicyRetrieveResponse +func (c *ClientWithResponses) PluginsFirewallCapircaPolicyRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyRetrieveResponse, error) { + rsp, err := c.PluginsFirewallCapircaPolicyRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallCapircaPolicyRetrieveResponse(rsp) +} + +// PluginsFirewallCapircaPolicyPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallCapircaPolicyPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallCapircaPolicyPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallCapircaPolicyPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallCapircaPolicyPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallCapircaPolicyPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallCapircaPolicyPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallCapircaPolicyPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallCapircaPolicyPartialUpdateResponse(rsp) +} + +// PluginsFirewallCapircaPolicyUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallCapircaPolicyUpdateResponse +func (c *ClientWithResponses) PluginsFirewallCapircaPolicyUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyUpdateResponse, error) { + rsp, err := c.PluginsFirewallCapircaPolicyUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallCapircaPolicyUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallCapircaPolicyUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallCapircaPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallCapircaPolicyUpdateResponse, error) { + rsp, err := c.PluginsFirewallCapircaPolicyUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallCapircaPolicyUpdateResponse(rsp) +} + +// PluginsFirewallFqdnBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsFirewallFqdnBulkDestroyResponse +func (c *ClientWithResponses) PluginsFirewallFqdnBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallFqdnBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallFqdnBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallFqdnBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallFqdnBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallFqdnBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallFqdnBulkDestroyResponse(rsp) +} + +// PluginsFirewallFqdnListWithResponse request returning *PluginsFirewallFqdnListResponse +func (c *ClientWithResponses) PluginsFirewallFqdnListWithResponse(ctx context.Context, params *PluginsFirewallFqdnListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnListResponse, error) { + rsp, err := c.PluginsFirewallFqdnList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallFqdnListResponse(rsp) +} + +// PluginsFirewallFqdnBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallFqdnBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallFqdnBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallFqdnBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallFqdnBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallFqdnBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallFqdnBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallFqdnBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallFqdnBulkPartialUpdateResponse(rsp) +} + +// PluginsFirewallFqdnCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallFqdnCreateResponse +func (c *ClientWithResponses) PluginsFirewallFqdnCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnCreateResponse, error) { + rsp, err := c.PluginsFirewallFqdnCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallFqdnCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallFqdnCreateWithResponse(ctx context.Context, body PluginsFirewallFqdnCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnCreateResponse, error) { + rsp, err := c.PluginsFirewallFqdnCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallFqdnCreateResponse(rsp) +} + +// PluginsFirewallFqdnBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallFqdnBulkUpdateResponse +func (c *ClientWithResponses) PluginsFirewallFqdnBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallFqdnBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallFqdnBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallFqdnBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallFqdnBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallFqdnBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallFqdnBulkUpdateResponse(rsp) +} + +// PluginsFirewallFqdnDestroyWithResponse request returning *PluginsFirewallFqdnDestroyResponse +func (c *ClientWithResponses) PluginsFirewallFqdnDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnDestroyResponse, error) { + rsp, err := c.PluginsFirewallFqdnDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallFqdnDestroyResponse(rsp) +} + +// PluginsFirewallFqdnRetrieveWithResponse request returning *PluginsFirewallFqdnRetrieveResponse +func (c *ClientWithResponses) PluginsFirewallFqdnRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnRetrieveResponse, error) { + rsp, err := c.PluginsFirewallFqdnRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallFqdnRetrieveResponse(rsp) +} + +// PluginsFirewallFqdnPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallFqdnPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallFqdnPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallFqdnPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallFqdnPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallFqdnPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallFqdnPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallFqdnPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallFqdnPartialUpdateResponse(rsp) +} + +// PluginsFirewallFqdnUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallFqdnUpdateResponse +func (c *ClientWithResponses) PluginsFirewallFqdnUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnUpdateResponse, error) { + rsp, err := c.PluginsFirewallFqdnUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallFqdnUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallFqdnUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallFqdnUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnUpdateResponse, error) { + rsp, err := c.PluginsFirewallFqdnUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallFqdnUpdateResponse(rsp) +} + +// PluginsFirewallFqdnNotesListWithResponse request returning *PluginsFirewallFqdnNotesListResponse +func (c *ClientWithResponses) PluginsFirewallFqdnNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallFqdnNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnNotesListResponse, error) { + rsp, err := c.PluginsFirewallFqdnNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallFqdnNotesListResponse(rsp) +} + +// PluginsFirewallFqdnNotesCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallFqdnNotesCreateResponse +func (c *ClientWithResponses) PluginsFirewallFqdnNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallFqdnNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallFqdnNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallFqdnNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallFqdnNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallFqdnNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallFqdnNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallFqdnNotesCreateResponse(rsp) +} + +// PluginsFirewallIpRangeBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsFirewallIpRangeBulkDestroyResponse +func (c *ClientWithResponses) PluginsFirewallIpRangeBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallIpRangeBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallIpRangeBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallIpRangeBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallIpRangeBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallIpRangeBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallIpRangeBulkDestroyResponse(rsp) +} + +// PluginsFirewallIpRangeListWithResponse request returning *PluginsFirewallIpRangeListResponse +func (c *ClientWithResponses) PluginsFirewallIpRangeListWithResponse(ctx context.Context, params *PluginsFirewallIpRangeListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeListResponse, error) { + rsp, err := c.PluginsFirewallIpRangeList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallIpRangeListResponse(rsp) +} + +// PluginsFirewallIpRangeBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallIpRangeBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallIpRangeBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallIpRangeBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallIpRangeBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallIpRangeBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallIpRangeBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallIpRangeBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallIpRangeBulkPartialUpdateResponse(rsp) +} + +// PluginsFirewallIpRangeCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallIpRangeCreateResponse +func (c *ClientWithResponses) PluginsFirewallIpRangeCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeCreateResponse, error) { + rsp, err := c.PluginsFirewallIpRangeCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallIpRangeCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallIpRangeCreateWithResponse(ctx context.Context, body PluginsFirewallIpRangeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeCreateResponse, error) { + rsp, err := c.PluginsFirewallIpRangeCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallIpRangeCreateResponse(rsp) +} + +// PluginsFirewallIpRangeBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallIpRangeBulkUpdateResponse +func (c *ClientWithResponses) PluginsFirewallIpRangeBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallIpRangeBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallIpRangeBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallIpRangeBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallIpRangeBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallIpRangeBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallIpRangeBulkUpdateResponse(rsp) +} + +// PluginsFirewallIpRangeDestroyWithResponse request returning *PluginsFirewallIpRangeDestroyResponse +func (c *ClientWithResponses) PluginsFirewallIpRangeDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeDestroyResponse, error) { + rsp, err := c.PluginsFirewallIpRangeDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallIpRangeDestroyResponse(rsp) +} + +// PluginsFirewallIpRangeRetrieveWithResponse request returning *PluginsFirewallIpRangeRetrieveResponse +func (c *ClientWithResponses) PluginsFirewallIpRangeRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeRetrieveResponse, error) { + rsp, err := c.PluginsFirewallIpRangeRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallIpRangeRetrieveResponse(rsp) +} + +// PluginsFirewallIpRangePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallIpRangePartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallIpRangePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangePartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallIpRangePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallIpRangePartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallIpRangePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallIpRangePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangePartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallIpRangePartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallIpRangePartialUpdateResponse(rsp) +} + +// PluginsFirewallIpRangeUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallIpRangeUpdateResponse +func (c *ClientWithResponses) PluginsFirewallIpRangeUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeUpdateResponse, error) { + rsp, err := c.PluginsFirewallIpRangeUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallIpRangeUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallIpRangeUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallIpRangeUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeUpdateResponse, error) { + rsp, err := c.PluginsFirewallIpRangeUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallIpRangeUpdateResponse(rsp) +} + +// PluginsFirewallIpRangeNotesListWithResponse request returning *PluginsFirewallIpRangeNotesListResponse +func (c *ClientWithResponses) PluginsFirewallIpRangeNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallIpRangeNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeNotesListResponse, error) { + rsp, err := c.PluginsFirewallIpRangeNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallIpRangeNotesListResponse(rsp) +} + +// PluginsFirewallIpRangeNotesCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallIpRangeNotesCreateResponse +func (c *ClientWithResponses) PluginsFirewallIpRangeNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallIpRangeNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallIpRangeNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallIpRangeNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallIpRangeNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallIpRangeNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallIpRangeNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallIpRangeNotesCreateResponse(rsp) +} + +// PluginsFirewallNatPolicyRuleBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsFirewallNatPolicyRuleBulkDestroyResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyRuleBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyRuleBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyRuleBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallNatPolicyRuleBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallNatPolicyRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyRuleBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyRuleBulkDestroyResponse(rsp) +} + +// PluginsFirewallNatPolicyRuleListWithResponse request returning *PluginsFirewallNatPolicyRuleListResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyRuleListWithResponse(ctx context.Context, params *PluginsFirewallNatPolicyRuleListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleListResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyRuleList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyRuleListResponse(rsp) +} + +// PluginsFirewallNatPolicyRuleBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallNatPolicyRuleBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyRuleBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyRuleBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyRuleBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallNatPolicyRuleBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallNatPolicyRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyRuleBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyRuleBulkPartialUpdateResponse(rsp) +} + +// PluginsFirewallNatPolicyRuleCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallNatPolicyRuleCreateResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyRuleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleCreateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyRuleCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyRuleCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallNatPolicyRuleCreateWithResponse(ctx context.Context, body PluginsFirewallNatPolicyRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleCreateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyRuleCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyRuleCreateResponse(rsp) +} + +// PluginsFirewallNatPolicyRuleBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallNatPolicyRuleBulkUpdateResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyRuleBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyRuleBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyRuleBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallNatPolicyRuleBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallNatPolicyRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyRuleBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyRuleBulkUpdateResponse(rsp) +} + +// PluginsFirewallNatPolicyRuleDestroyWithResponse request returning *PluginsFirewallNatPolicyRuleDestroyResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyRuleDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleDestroyResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyRuleDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyRuleDestroyResponse(rsp) +} + +// PluginsFirewallNatPolicyRuleRetrieveWithResponse request returning *PluginsFirewallNatPolicyRuleRetrieveResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyRuleRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleRetrieveResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyRuleRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyRuleRetrieveResponse(rsp) +} + +// PluginsFirewallNatPolicyRulePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallNatPolicyRulePartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyRulePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRulePartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyRulePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyRulePartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallNatPolicyRulePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRulePartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyRulePartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyRulePartialUpdateResponse(rsp) +} + +// PluginsFirewallNatPolicyRuleUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallNatPolicyRuleUpdateResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyRuleUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleUpdateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyRuleUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyRuleUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallNatPolicyRuleUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleUpdateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyRuleUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyRuleUpdateResponse(rsp) +} + +// PluginsFirewallNatPolicyRuleNotesListWithResponse request returning *PluginsFirewallNatPolicyRuleNotesListResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyRuleNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallNatPolicyRuleNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleNotesListResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyRuleNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyRuleNotesListResponse(rsp) +} + +// PluginsFirewallNatPolicyRuleNotesCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallNatPolicyRuleNotesCreateResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyRuleNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyRuleNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyRuleNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallNatPolicyRuleNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyRuleNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRuleNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyRuleNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyRuleNotesCreateResponse(rsp) +} + +// PluginsFirewallNatPolicyBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsFirewallNatPolicyBulkDestroyResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallNatPolicyBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallNatPolicyBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyBulkDestroyResponse(rsp) +} + +// PluginsFirewallNatPolicyListWithResponse request returning *PluginsFirewallNatPolicyListResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyListWithResponse(ctx context.Context, params *PluginsFirewallNatPolicyListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyListResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyListResponse(rsp) +} + +// PluginsFirewallNatPolicyBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallNatPolicyBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallNatPolicyBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallNatPolicyBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyBulkPartialUpdateResponse(rsp) +} + +// PluginsFirewallNatPolicyCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallNatPolicyCreateResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyCreateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallNatPolicyCreateWithResponse(ctx context.Context, body PluginsFirewallNatPolicyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyCreateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyCreateResponse(rsp) +} + +// PluginsFirewallNatPolicyBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallNatPolicyBulkUpdateResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallNatPolicyBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallNatPolicyBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyBulkUpdateResponse(rsp) +} + +// PluginsFirewallNatPolicyDestroyWithResponse request returning *PluginsFirewallNatPolicyDestroyResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyDestroyResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyDestroyResponse(rsp) +} + +// PluginsFirewallNatPolicyRetrieveWithResponse request returning *PluginsFirewallNatPolicyRetrieveResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyRetrieveResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyRetrieveResponse(rsp) +} + +// PluginsFirewallNatPolicyPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallNatPolicyPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallNatPolicyPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyPartialUpdateResponse(rsp) +} + +// PluginsFirewallNatPolicyUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallNatPolicyUpdateResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyUpdateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallNatPolicyUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyUpdateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyUpdateResponse(rsp) +} + +// PluginsFirewallNatPolicyNotesListWithResponse request returning *PluginsFirewallNatPolicyNotesListResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallNatPolicyNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyNotesListResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyNotesListResponse(rsp) +} + +// PluginsFirewallNatPolicyNotesCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallNatPolicyNotesCreateResponse +func (c *ClientWithResponses) PluginsFirewallNatPolicyNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallNatPolicyNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallNatPolicyNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallNatPolicyNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallNatPolicyNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallNatPolicyNotesCreateResponse(rsp) +} + +// PluginsFirewallPolicyRuleBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsFirewallPolicyRuleBulkDestroyResponse +func (c *ClientWithResponses) PluginsFirewallPolicyRuleBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallPolicyRuleBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyRuleBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallPolicyRuleBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallPolicyRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallPolicyRuleBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyRuleBulkDestroyResponse(rsp) +} + +// PluginsFirewallPolicyRuleListWithResponse request returning *PluginsFirewallPolicyRuleListResponse +func (c *ClientWithResponses) PluginsFirewallPolicyRuleListWithResponse(ctx context.Context, params *PluginsFirewallPolicyRuleListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleListResponse, error) { + rsp, err := c.PluginsFirewallPolicyRuleList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyRuleListResponse(rsp) +} + +// PluginsFirewallPolicyRuleBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallPolicyRuleBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallPolicyRuleBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallPolicyRuleBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyRuleBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallPolicyRuleBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallPolicyRuleBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallPolicyRuleBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyRuleBulkPartialUpdateResponse(rsp) +} + +// PluginsFirewallPolicyRuleCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallPolicyRuleCreateResponse +func (c *ClientWithResponses) PluginsFirewallPolicyRuleCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleCreateResponse, error) { + rsp, err := c.PluginsFirewallPolicyRuleCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyRuleCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallPolicyRuleCreateWithResponse(ctx context.Context, body PluginsFirewallPolicyRuleCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleCreateResponse, error) { + rsp, err := c.PluginsFirewallPolicyRuleCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyRuleCreateResponse(rsp) +} + +// PluginsFirewallPolicyRuleBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallPolicyRuleBulkUpdateResponse +func (c *ClientWithResponses) PluginsFirewallPolicyRuleBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallPolicyRuleBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyRuleBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallPolicyRuleBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallPolicyRuleBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallPolicyRuleBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyRuleBulkUpdateResponse(rsp) +} + +// PluginsFirewallPolicyRuleDestroyWithResponse request returning *PluginsFirewallPolicyRuleDestroyResponse +func (c *ClientWithResponses) PluginsFirewallPolicyRuleDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleDestroyResponse, error) { + rsp, err := c.PluginsFirewallPolicyRuleDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyRuleDestroyResponse(rsp) +} + +// PluginsFirewallPolicyRuleRetrieveWithResponse request returning *PluginsFirewallPolicyRuleRetrieveResponse +func (c *ClientWithResponses) PluginsFirewallPolicyRuleRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleRetrieveResponse, error) { + rsp, err := c.PluginsFirewallPolicyRuleRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyRuleRetrieveResponse(rsp) +} + +// PluginsFirewallPolicyRulePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallPolicyRulePartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallPolicyRulePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRulePartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallPolicyRulePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyRulePartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallPolicyRulePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyRulePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRulePartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallPolicyRulePartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyRulePartialUpdateResponse(rsp) +} + +// PluginsFirewallPolicyRuleUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallPolicyRuleUpdateResponse +func (c *ClientWithResponses) PluginsFirewallPolicyRuleUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleUpdateResponse, error) { + rsp, err := c.PluginsFirewallPolicyRuleUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyRuleUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallPolicyRuleUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyRuleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleUpdateResponse, error) { + rsp, err := c.PluginsFirewallPolicyRuleUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyRuleUpdateResponse(rsp) +} + +// PluginsFirewallPolicyRuleNotesListWithResponse request returning *PluginsFirewallPolicyRuleNotesListResponse +func (c *ClientWithResponses) PluginsFirewallPolicyRuleNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallPolicyRuleNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleNotesListResponse, error) { + rsp, err := c.PluginsFirewallPolicyRuleNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyRuleNotesListResponse(rsp) +} + +// PluginsFirewallPolicyRuleNotesCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallPolicyRuleNotesCreateResponse +func (c *ClientWithResponses) PluginsFirewallPolicyRuleNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallPolicyRuleNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyRuleNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallPolicyRuleNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyRuleNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRuleNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallPolicyRuleNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyRuleNotesCreateResponse(rsp) +} + +// PluginsFirewallPolicyBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsFirewallPolicyBulkDestroyResponse +func (c *ClientWithResponses) PluginsFirewallPolicyBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallPolicyBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallPolicyBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallPolicyBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallPolicyBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyBulkDestroyResponse(rsp) +} + +// PluginsFirewallPolicyListWithResponse request returning *PluginsFirewallPolicyListResponse +func (c *ClientWithResponses) PluginsFirewallPolicyListWithResponse(ctx context.Context, params *PluginsFirewallPolicyListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyListResponse, error) { + rsp, err := c.PluginsFirewallPolicyList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyListResponse(rsp) +} + +// PluginsFirewallPolicyBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallPolicyBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallPolicyBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallPolicyBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallPolicyBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallPolicyBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallPolicyBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyBulkPartialUpdateResponse(rsp) +} + +// PluginsFirewallPolicyCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallPolicyCreateResponse +func (c *ClientWithResponses) PluginsFirewallPolicyCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyCreateResponse, error) { + rsp, err := c.PluginsFirewallPolicyCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallPolicyCreateWithResponse(ctx context.Context, body PluginsFirewallPolicyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyCreateResponse, error) { + rsp, err := c.PluginsFirewallPolicyCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyCreateResponse(rsp) +} + +// PluginsFirewallPolicyBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallPolicyBulkUpdateResponse +func (c *ClientWithResponses) PluginsFirewallPolicyBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallPolicyBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallPolicyBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallPolicyBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallPolicyBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyBulkUpdateResponse(rsp) +} + +// PluginsFirewallPolicyDestroyWithResponse request returning *PluginsFirewallPolicyDestroyResponse +func (c *ClientWithResponses) PluginsFirewallPolicyDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyDestroyResponse, error) { + rsp, err := c.PluginsFirewallPolicyDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyDestroyResponse(rsp) +} + +// PluginsFirewallPolicyRetrieveWithResponse request returning *PluginsFirewallPolicyRetrieveResponse +func (c *ClientWithResponses) PluginsFirewallPolicyRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyRetrieveResponse, error) { + rsp, err := c.PluginsFirewallPolicyRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyRetrieveResponse(rsp) +} + +// PluginsFirewallPolicyPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallPolicyPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallPolicyPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallPolicyPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallPolicyPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallPolicyPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyPartialUpdateResponse(rsp) +} + +// PluginsFirewallPolicyUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallPolicyUpdateResponse +func (c *ClientWithResponses) PluginsFirewallPolicyUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyUpdateResponse, error) { + rsp, err := c.PluginsFirewallPolicyUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallPolicyUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyUpdateResponse, error) { + rsp, err := c.PluginsFirewallPolicyUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyUpdateResponse(rsp) +} + +// PluginsFirewallPolicyNotesListWithResponse request returning *PluginsFirewallPolicyNotesListResponse +func (c *ClientWithResponses) PluginsFirewallPolicyNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallPolicyNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyNotesListResponse, error) { + rsp, err := c.PluginsFirewallPolicyNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyNotesListResponse(rsp) +} + +// PluginsFirewallPolicyNotesCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallPolicyNotesCreateResponse +func (c *ClientWithResponses) PluginsFirewallPolicyNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallPolicyNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallPolicyNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallPolicyNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallPolicyNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallPolicyNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallPolicyNotesCreateResponse(rsp) +} + +// PluginsFirewallServiceObjectGroupBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsFirewallServiceObjectGroupBulkDestroyResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectGroupBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectGroupBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectGroupBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallServiceObjectGroupBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallServiceObjectGroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectGroupBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectGroupBulkDestroyResponse(rsp) +} + +// PluginsFirewallServiceObjectGroupListWithResponse request returning *PluginsFirewallServiceObjectGroupListResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectGroupListWithResponse(ctx context.Context, params *PluginsFirewallServiceObjectGroupListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupListResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectGroupList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectGroupListResponse(rsp) +} + +// PluginsFirewallServiceObjectGroupBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallServiceObjectGroupBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectGroupBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectGroupBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectGroupBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallServiceObjectGroupBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallServiceObjectGroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectGroupBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectGroupBulkPartialUpdateResponse(rsp) +} + +// PluginsFirewallServiceObjectGroupCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallServiceObjectGroupCreateResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectGroupCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupCreateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectGroupCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectGroupCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallServiceObjectGroupCreateWithResponse(ctx context.Context, body PluginsFirewallServiceObjectGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupCreateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectGroupCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectGroupCreateResponse(rsp) +} + +// PluginsFirewallServiceObjectGroupBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallServiceObjectGroupBulkUpdateResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectGroupBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectGroupBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectGroupBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallServiceObjectGroupBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallServiceObjectGroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectGroupBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectGroupBulkUpdateResponse(rsp) +} + +// PluginsFirewallServiceObjectGroupDestroyWithResponse request returning *PluginsFirewallServiceObjectGroupDestroyResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectGroupDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupDestroyResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectGroupDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectGroupDestroyResponse(rsp) +} + +// PluginsFirewallServiceObjectGroupRetrieveWithResponse request returning *PluginsFirewallServiceObjectGroupRetrieveResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectGroupRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupRetrieveResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectGroupRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectGroupRetrieveResponse(rsp) +} + +// PluginsFirewallServiceObjectGroupPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallServiceObjectGroupPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectGroupPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectGroupPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectGroupPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallServiceObjectGroupPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectGroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectGroupPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectGroupPartialUpdateResponse(rsp) +} + +// PluginsFirewallServiceObjectGroupUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallServiceObjectGroupUpdateResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectGroupUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupUpdateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectGroupUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectGroupUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallServiceObjectGroupUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupUpdateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectGroupUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectGroupUpdateResponse(rsp) +} + +// PluginsFirewallServiceObjectGroupNotesListWithResponse request returning *PluginsFirewallServiceObjectGroupNotesListResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectGroupNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallServiceObjectGroupNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupNotesListResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectGroupNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectGroupNotesListResponse(rsp) +} + +// PluginsFirewallServiceObjectGroupNotesCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallServiceObjectGroupNotesCreateResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectGroupNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectGroupNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectGroupNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallServiceObjectGroupNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectGroupNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectGroupNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectGroupNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectGroupNotesCreateResponse(rsp) +} + +// PluginsFirewallServiceObjectBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsFirewallServiceObjectBulkDestroyResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallServiceObjectBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallServiceObjectBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectBulkDestroyResponse(rsp) +} + +// PluginsFirewallServiceObjectListWithResponse request returning *PluginsFirewallServiceObjectListResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectListWithResponse(ctx context.Context, params *PluginsFirewallServiceObjectListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectListResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectListResponse(rsp) +} + +// PluginsFirewallServiceObjectBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallServiceObjectBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallServiceObjectBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallServiceObjectBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectBulkPartialUpdateResponse(rsp) +} + +// PluginsFirewallServiceObjectCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallServiceObjectCreateResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectCreateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallServiceObjectCreateWithResponse(ctx context.Context, body PluginsFirewallServiceObjectCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectCreateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectCreateResponse(rsp) +} + +// PluginsFirewallServiceObjectBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallServiceObjectBulkUpdateResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallServiceObjectBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallServiceObjectBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectBulkUpdateResponse(rsp) +} + +// PluginsFirewallServiceObjectDestroyWithResponse request returning *PluginsFirewallServiceObjectDestroyResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectDestroyResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectDestroyResponse(rsp) +} + +// PluginsFirewallServiceObjectRetrieveWithResponse request returning *PluginsFirewallServiceObjectRetrieveResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectRetrieveResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectRetrieveResponse(rsp) +} + +// PluginsFirewallServiceObjectPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallServiceObjectPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallServiceObjectPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectPartialUpdateResponse(rsp) +} + +// PluginsFirewallServiceObjectUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallServiceObjectUpdateResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectUpdateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallServiceObjectUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectUpdateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectUpdateResponse(rsp) +} + +// PluginsFirewallServiceObjectNotesListWithResponse request returning *PluginsFirewallServiceObjectNotesListResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallServiceObjectNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectNotesListResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectNotesListResponse(rsp) +} + +// PluginsFirewallServiceObjectNotesCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallServiceObjectNotesCreateResponse +func (c *ClientWithResponses) PluginsFirewallServiceObjectNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallServiceObjectNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallServiceObjectNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallServiceObjectNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallServiceObjectNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallServiceObjectNotesCreateResponse(rsp) +} + +// PluginsFirewallUserObjectGroupBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsFirewallUserObjectGroupBulkDestroyResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectGroupBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallUserObjectGroupBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectGroupBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallUserObjectGroupBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallUserObjectGroupBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallUserObjectGroupBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectGroupBulkDestroyResponse(rsp) +} + +// PluginsFirewallUserObjectGroupListWithResponse request returning *PluginsFirewallUserObjectGroupListResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectGroupListWithResponse(ctx context.Context, params *PluginsFirewallUserObjectGroupListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupListResponse, error) { + rsp, err := c.PluginsFirewallUserObjectGroupList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectGroupListResponse(rsp) +} + +// PluginsFirewallUserObjectGroupBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallUserObjectGroupBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectGroupBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectGroupBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectGroupBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallUserObjectGroupBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallUserObjectGroupBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectGroupBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectGroupBulkPartialUpdateResponse(rsp) +} + +// PluginsFirewallUserObjectGroupCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallUserObjectGroupCreateResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectGroupCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupCreateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectGroupCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectGroupCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallUserObjectGroupCreateWithResponse(ctx context.Context, body PluginsFirewallUserObjectGroupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupCreateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectGroupCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectGroupCreateResponse(rsp) +} + +// PluginsFirewallUserObjectGroupBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallUserObjectGroupBulkUpdateResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectGroupBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectGroupBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectGroupBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallUserObjectGroupBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallUserObjectGroupBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectGroupBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectGroupBulkUpdateResponse(rsp) +} + +// PluginsFirewallUserObjectGroupDestroyWithResponse request returning *PluginsFirewallUserObjectGroupDestroyResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectGroupDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupDestroyResponse, error) { + rsp, err := c.PluginsFirewallUserObjectGroupDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectGroupDestroyResponse(rsp) +} + +// PluginsFirewallUserObjectGroupRetrieveWithResponse request returning *PluginsFirewallUserObjectGroupRetrieveResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectGroupRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupRetrieveResponse, error) { + rsp, err := c.PluginsFirewallUserObjectGroupRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectGroupRetrieveResponse(rsp) +} + +// PluginsFirewallUserObjectGroupPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallUserObjectGroupPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectGroupPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectGroupPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectGroupPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallUserObjectGroupPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectGroupPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectGroupPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectGroupPartialUpdateResponse(rsp) +} + +// PluginsFirewallUserObjectGroupUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallUserObjectGroupUpdateResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectGroupUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupUpdateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectGroupUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectGroupUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallUserObjectGroupUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectGroupUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupUpdateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectGroupUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectGroupUpdateResponse(rsp) +} + +// PluginsFirewallUserObjectGroupNotesListWithResponse request returning *PluginsFirewallUserObjectGroupNotesListResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectGroupNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallUserObjectGroupNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupNotesListResponse, error) { + rsp, err := c.PluginsFirewallUserObjectGroupNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectGroupNotesListResponse(rsp) +} + +// PluginsFirewallUserObjectGroupNotesCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallUserObjectGroupNotesCreateResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectGroupNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectGroupNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectGroupNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallUserObjectGroupNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectGroupNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectGroupNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectGroupNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectGroupNotesCreateResponse(rsp) +} + +// PluginsFirewallUserObjectBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsFirewallUserObjectBulkDestroyResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallUserObjectBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallUserObjectBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallUserObjectBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallUserObjectBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectBulkDestroyResponse(rsp) +} + +// PluginsFirewallUserObjectListWithResponse request returning *PluginsFirewallUserObjectListResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectListWithResponse(ctx context.Context, params *PluginsFirewallUserObjectListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectListResponse, error) { + rsp, err := c.PluginsFirewallUserObjectList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectListResponse(rsp) +} + +// PluginsFirewallUserObjectBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallUserObjectBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallUserObjectBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallUserObjectBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectBulkPartialUpdateResponse(rsp) +} + +// PluginsFirewallUserObjectCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallUserObjectCreateResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectCreateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallUserObjectCreateWithResponse(ctx context.Context, body PluginsFirewallUserObjectCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectCreateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectCreateResponse(rsp) +} + +// PluginsFirewallUserObjectBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallUserObjectBulkUpdateResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallUserObjectBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallUserObjectBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectBulkUpdateResponse(rsp) +} + +// PluginsFirewallUserObjectDestroyWithResponse request returning *PluginsFirewallUserObjectDestroyResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectDestroyResponse, error) { + rsp, err := c.PluginsFirewallUserObjectDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectDestroyResponse(rsp) +} + +// PluginsFirewallUserObjectRetrieveWithResponse request returning *PluginsFirewallUserObjectRetrieveResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectRetrieveResponse, error) { + rsp, err := c.PluginsFirewallUserObjectRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectRetrieveResponse(rsp) +} + +// PluginsFirewallUserObjectPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallUserObjectPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectPartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectPartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallUserObjectPartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectPartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectPartialUpdateResponse(rsp) +} + +// PluginsFirewallUserObjectUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallUserObjectUpdateResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectUpdateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallUserObjectUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectUpdateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectUpdateResponse(rsp) +} + +// PluginsFirewallUserObjectNotesListWithResponse request returning *PluginsFirewallUserObjectNotesListResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallUserObjectNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectNotesListResponse, error) { + rsp, err := c.PluginsFirewallUserObjectNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectNotesListResponse(rsp) +} + +// PluginsFirewallUserObjectNotesCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallUserObjectNotesCreateResponse +func (c *ClientWithResponses) PluginsFirewallUserObjectNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallUserObjectNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallUserObjectNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallUserObjectNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallUserObjectNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallUserObjectNotesCreateResponse(rsp) +} + +// PluginsFirewallZoneBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsFirewallZoneBulkDestroyResponse +func (c *ClientWithResponses) PluginsFirewallZoneBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallZoneBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallZoneBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallZoneBulkDestroyWithResponse(ctx context.Context, body PluginsFirewallZoneBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneBulkDestroyResponse, error) { + rsp, err := c.PluginsFirewallZoneBulkDestroy(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallZoneBulkDestroyResponse(rsp) +} + +// PluginsFirewallZoneListWithResponse request returning *PluginsFirewallZoneListResponse +func (c *ClientWithResponses) PluginsFirewallZoneListWithResponse(ctx context.Context, params *PluginsFirewallZoneListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneListResponse, error) { + rsp, err := c.PluginsFirewallZoneList(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallZoneListResponse(rsp) +} + +// PluginsFirewallZoneBulkPartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallZoneBulkPartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallZoneBulkPartialUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallZoneBulkPartialUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallZoneBulkPartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallZoneBulkPartialUpdateWithResponse(ctx context.Context, body PluginsFirewallZoneBulkPartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneBulkPartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallZoneBulkPartialUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallZoneBulkPartialUpdateResponse(rsp) +} + +// PluginsFirewallZoneCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallZoneCreateResponse +func (c *ClientWithResponses) PluginsFirewallZoneCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneCreateResponse, error) { + rsp, err := c.PluginsFirewallZoneCreateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallZoneCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallZoneCreateWithResponse(ctx context.Context, body PluginsFirewallZoneCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneCreateResponse, error) { + rsp, err := c.PluginsFirewallZoneCreate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallZoneCreateResponse(rsp) +} + +// PluginsFirewallZoneBulkUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallZoneBulkUpdateResponse +func (c *ClientWithResponses) PluginsFirewallZoneBulkUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallZoneBulkUpdateWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallZoneBulkUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallZoneBulkUpdateWithResponse(ctx context.Context, body PluginsFirewallZoneBulkUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneBulkUpdateResponse, error) { + rsp, err := c.PluginsFirewallZoneBulkUpdate(ctx, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallZoneBulkUpdateResponse(rsp) +} + +// PluginsFirewallZoneDestroyWithResponse request returning *PluginsFirewallZoneDestroyResponse +func (c *ClientWithResponses) PluginsFirewallZoneDestroyWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneDestroyResponse, error) { + rsp, err := c.PluginsFirewallZoneDestroy(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallZoneDestroyResponse(rsp) +} + +// PluginsFirewallZoneRetrieveWithResponse request returning *PluginsFirewallZoneRetrieveResponse +func (c *ClientWithResponses) PluginsFirewallZoneRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneRetrieveResponse, error) { + rsp, err := c.PluginsFirewallZoneRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallZoneRetrieveResponse(rsp) +} + +// PluginsFirewallZonePartialUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallZonePartialUpdateResponse +func (c *ClientWithResponses) PluginsFirewallZonePartialUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallZonePartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallZonePartialUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallZonePartialUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallZonePartialUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallZonePartialUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallZonePartialUpdateResponse, error) { + rsp, err := c.PluginsFirewallZonePartialUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallZonePartialUpdateResponse(rsp) +} + +// PluginsFirewallZoneUpdateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallZoneUpdateResponse +func (c *ClientWithResponses) PluginsFirewallZoneUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneUpdateResponse, error) { + rsp, err := c.PluginsFirewallZoneUpdateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallZoneUpdateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallZoneUpdateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallZoneUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneUpdateResponse, error) { + rsp, err := c.PluginsFirewallZoneUpdate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallZoneUpdateResponse(rsp) +} + +// PluginsFirewallZoneNotesListWithResponse request returning *PluginsFirewallZoneNotesListResponse +func (c *ClientWithResponses) PluginsFirewallZoneNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *PluginsFirewallZoneNotesListParams, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneNotesListResponse, error) { + rsp, err := c.PluginsFirewallZoneNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallZoneNotesListResponse(rsp) +} + +// PluginsFirewallZoneNotesCreateWithBodyWithResponse request with arbitrary body returning *PluginsFirewallZoneNotesCreateResponse +func (c *ClientWithResponses) PluginsFirewallZoneNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallZoneNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallZoneNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) PluginsFirewallZoneNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body PluginsFirewallZoneNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsFirewallZoneNotesCreateResponse, error) { + rsp, err := c.PluginsFirewallZoneNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsFirewallZoneNotesCreateResponse(rsp) +} + +// PluginsGoldenConfigComplianceFeatureBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigComplianceFeatureBulkDestroyResponse +func (c *ClientWithResponses) PluginsGoldenConfigComplianceFeatureBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureBulkDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceFeatureBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceFeatureBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigComplianceFeatureBulkDestroyWithResponse(ctx context.Context, body PluginsGoldenConfigComplianceFeatureBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceFeatureBulkDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceFeatureBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -186300,9 +288288,17 @@ func (c *ClientWithResponses) PluginsGoldenConfigComplianceFeatureUpdateWithResp return ParsePluginsGoldenConfigComplianceFeatureUpdateResponse(rsp) } -// PluginsGoldenConfigComplianceRuleBulkDestroyWithResponse request returning *PluginsGoldenConfigComplianceRuleBulkDestroyResponse -func (c *ClientWithResponses) PluginsGoldenConfigComplianceRuleBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleBulkDestroyResponse, error) { - rsp, err := c.PluginsGoldenConfigComplianceRuleBulkDestroy(ctx, reqEditors...) +// PluginsGoldenConfigComplianceRuleBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigComplianceRuleBulkDestroyResponse +func (c *ClientWithResponses) PluginsGoldenConfigComplianceRuleBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleBulkDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceRuleBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigComplianceRuleBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigComplianceRuleBulkDestroyWithResponse(ctx context.Context, body PluginsGoldenConfigComplianceRuleBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigComplianceRuleBulkDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigComplianceRuleBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -186421,9 +288417,17 @@ func (c *ClientWithResponses) PluginsGoldenConfigComplianceRuleUpdateWithRespons return ParsePluginsGoldenConfigComplianceRuleUpdateResponse(rsp) } -// PluginsGoldenConfigConfigComplianceBulkDestroyWithResponse request returning *PluginsGoldenConfigConfigComplianceBulkDestroyResponse -func (c *ClientWithResponses) PluginsGoldenConfigConfigComplianceBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceBulkDestroyResponse, error) { - rsp, err := c.PluginsGoldenConfigConfigComplianceBulkDestroy(ctx, reqEditors...) +// PluginsGoldenConfigConfigComplianceBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigConfigComplianceBulkDestroyResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigComplianceBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceBulkDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigComplianceBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigComplianceBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigConfigComplianceBulkDestroyWithResponse(ctx context.Context, body PluginsGoldenConfigConfigComplianceBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigComplianceBulkDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigComplianceBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -186542,9 +288546,26 @@ func (c *ClientWithResponses) PluginsGoldenConfigConfigComplianceUpdateWithRespo return ParsePluginsGoldenConfigConfigComplianceUpdateResponse(rsp) } -// PluginsGoldenConfigConfigRemoveBulkDestroyWithResponse request returning *PluginsGoldenConfigConfigRemoveBulkDestroyResponse -func (c *ClientWithResponses) PluginsGoldenConfigConfigRemoveBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveBulkDestroyResponse, error) { - rsp, err := c.PluginsGoldenConfigConfigRemoveBulkDestroy(ctx, reqEditors...) +// PluginsGoldenConfigConfigPostprocessingRetrieveWithResponse request returning *PluginsGoldenConfigConfigPostprocessingRetrieveResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigPostprocessingRetrieveWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigPostprocessingRetrieveResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigPostprocessingRetrieve(ctx, id, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigPostprocessingRetrieveResponse(rsp) +} + +// PluginsGoldenConfigConfigRemoveBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigConfigRemoveBulkDestroyResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigRemoveBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveBulkDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigRemoveBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigRemoveBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigConfigRemoveBulkDestroyWithResponse(ctx context.Context, body PluginsGoldenConfigConfigRemoveBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigRemoveBulkDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigRemoveBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -186663,9 +288684,17 @@ func (c *ClientWithResponses) PluginsGoldenConfigConfigRemoveUpdateWithResponse( return ParsePluginsGoldenConfigConfigRemoveUpdateResponse(rsp) } -// PluginsGoldenConfigConfigReplaceBulkDestroyWithResponse request returning *PluginsGoldenConfigConfigReplaceBulkDestroyResponse -func (c *ClientWithResponses) PluginsGoldenConfigConfigReplaceBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceBulkDestroyResponse, error) { - rsp, err := c.PluginsGoldenConfigConfigReplaceBulkDestroy(ctx, reqEditors...) +// PluginsGoldenConfigConfigReplaceBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigConfigReplaceBulkDestroyResponse +func (c *ClientWithResponses) PluginsGoldenConfigConfigReplaceBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceBulkDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigReplaceBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigConfigReplaceBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigConfigReplaceBulkDestroyWithResponse(ctx context.Context, body PluginsGoldenConfigConfigReplaceBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigConfigReplaceBulkDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigConfigReplaceBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -186784,9 +288813,17 @@ func (c *ClientWithResponses) PluginsGoldenConfigConfigReplaceUpdateWithResponse return ParsePluginsGoldenConfigConfigReplaceUpdateResponse(rsp) } -// PluginsGoldenConfigGoldenConfigSettingsBulkDestroyWithResponse request returning *PluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse -func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigSettingsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse, error) { - rsp, err := c.PluginsGoldenConfigGoldenConfigSettingsBulkDestroy(ctx, reqEditors...) +// PluginsGoldenConfigGoldenConfigSettingsBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigSettingsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigSettingsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigSettingsBulkDestroyWithResponse(ctx context.Context, body PluginsGoldenConfigGoldenConfigSettingsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigSettingsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -186905,9 +288942,17 @@ func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigSettingsUpdateWithR return ParsePluginsGoldenConfigGoldenConfigSettingsUpdateResponse(rsp) } -// PluginsGoldenConfigGoldenConfigBulkDestroyWithResponse request returning *PluginsGoldenConfigGoldenConfigBulkDestroyResponse -func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigBulkDestroyResponse, error) { - rsp, err := c.PluginsGoldenConfigGoldenConfigBulkDestroy(ctx, reqEditors...) +// PluginsGoldenConfigGoldenConfigBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsGoldenConfigGoldenConfigBulkDestroyResponse +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigBulkDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsGoldenConfigGoldenConfigBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsGoldenConfigGoldenConfigBulkDestroyWithResponse(ctx context.Context, body PluginsGoldenConfigGoldenConfigBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsGoldenConfigGoldenConfigBulkDestroyResponse, error) { + rsp, err := c.PluginsGoldenConfigGoldenConfigBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -187035,9 +289080,17 @@ func (c *ClientWithResponses) PluginsGoldenConfigSotaggRetrieveWithResponse(ctx return ParsePluginsGoldenConfigSotaggRetrieveResponse(rsp) } -// PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse -func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse, error) { - rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContactBulkDestroy(ctx, reqEditors...) +// PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContactBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -187156,9 +289209,17 @@ func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContactUpdateWit return ParsePluginsNautobotDeviceLifecycleMgmtContactUpdateResponse(rsp) } -// PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse -func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse, error) { - rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContractBulkDestroy(ctx, reqEditors...) +// PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtContractBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -187277,9 +289338,17 @@ func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtContractUpdateWi return ParsePluginsNautobotDeviceLifecycleMgmtContractUpdateResponse(rsp) } -// PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse -func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse, error) { - rsp, err := c.PluginsNautobotDeviceLifecycleMgmtCveBulkDestroy(ctx, reqEditors...) +// PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtCveBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -187398,9 +289467,17 @@ func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtCveUpdateWithRes return ParsePluginsNautobotDeviceLifecycleMgmtCveUpdateResponse(rsp) } -// PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse -func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse, error) { - rsp, err := c.PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroy(ctx, reqEditors...) +// PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -187519,9 +289596,17 @@ func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtHardwareUpdateWi return ParsePluginsNautobotDeviceLifecycleMgmtHardwareUpdateResponse(rsp) } -// PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse -func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse, error) { - rsp, err := c.PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroy(ctx, reqEditors...) +// PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -187640,9 +289725,17 @@ func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtProviderUpdateWi return ParsePluginsNautobotDeviceLifecycleMgmtProviderUpdateResponse(rsp) } -// PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse -func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse, error) { - rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroy(ctx, reqEditors...) +// PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -187761,9 +289854,17 @@ func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpd return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateResponse(rsp) } -// PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse -func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse, error) { - rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroy(ctx, reqEditors...) +// PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -187882,9 +289983,17 @@ func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateWi return ParsePluginsNautobotDeviceLifecycleMgmtSoftwareUpdateResponse(rsp) } -// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse -func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse, error) { - rsp, err := c.PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroy(ctx, reqEditors...) +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -188003,9 +290112,17 @@ func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtValidatedSoftwar return ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateResponse(rsp) } -// PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyWithResponse request returning *PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse -func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse, error) { - rsp, err := c.PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroy(ctx, reqEditors...) +// PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyWithBodyWithResponse request with arbitrary body returning *PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyWithResponse(ctx context.Context, body PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse, error) { + rsp, err := c.PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -188143,9 +290260,17 @@ func (c *ClientWithResponses) SwaggerRetrieveWithResponse(ctx context.Context, p return ParseSwaggerRetrieveResponse(rsp) } -// TenancyTenantGroupsBulkDestroyWithResponse request returning *TenancyTenantGroupsBulkDestroyResponse -func (c *ClientWithResponses) TenancyTenantGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsBulkDestroyResponse, error) { - rsp, err := c.TenancyTenantGroupsBulkDestroy(ctx, reqEditors...) +// TenancyTenantGroupsBulkDestroyWithBodyWithResponse request with arbitrary body returning *TenancyTenantGroupsBulkDestroyResponse +func (c *ClientWithResponses) TenancyTenantGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsBulkDestroyResponse, error) { + rsp, err := c.TenancyTenantGroupsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantGroupsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) TenancyTenantGroupsBulkDestroyWithResponse(ctx context.Context, body TenancyTenantGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsBulkDestroyResponse, error) { + rsp, err := c.TenancyTenantGroupsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -188264,9 +290389,43 @@ func (c *ClientWithResponses) TenancyTenantGroupsUpdateWithResponse(ctx context. return ParseTenancyTenantGroupsUpdateResponse(rsp) } -// TenancyTenantsBulkDestroyWithResponse request returning *TenancyTenantsBulkDestroyResponse -func (c *ClientWithResponses) TenancyTenantsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TenancyTenantsBulkDestroyResponse, error) { - rsp, err := c.TenancyTenantsBulkDestroy(ctx, reqEditors...) +// TenancyTenantGroupsNotesListWithResponse request returning *TenancyTenantGroupsNotesListResponse +func (c *ClientWithResponses) TenancyTenantGroupsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *TenancyTenantGroupsNotesListParams, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsNotesListResponse, error) { + rsp, err := c.TenancyTenantGroupsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantGroupsNotesListResponse(rsp) +} + +// TenancyTenantGroupsNotesCreateWithBodyWithResponse request with arbitrary body returning *TenancyTenantGroupsNotesCreateResponse +func (c *ClientWithResponses) TenancyTenantGroupsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsNotesCreateResponse, error) { + rsp, err := c.TenancyTenantGroupsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantGroupsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyTenantGroupsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body TenancyTenantGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantGroupsNotesCreateResponse, error) { + rsp, err := c.TenancyTenantGroupsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantGroupsNotesCreateResponse(rsp) +} + +// TenancyTenantsBulkDestroyWithBodyWithResponse request with arbitrary body returning *TenancyTenantsBulkDestroyResponse +func (c *ClientWithResponses) TenancyTenantsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantsBulkDestroyResponse, error) { + rsp, err := c.TenancyTenantsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) TenancyTenantsBulkDestroyWithResponse(ctx context.Context, body TenancyTenantsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantsBulkDestroyResponse, error) { + rsp, err := c.TenancyTenantsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -188385,6 +290544,32 @@ func (c *ClientWithResponses) TenancyTenantsUpdateWithResponse(ctx context.Conte return ParseTenancyTenantsUpdateResponse(rsp) } +// TenancyTenantsNotesListWithResponse request returning *TenancyTenantsNotesListResponse +func (c *ClientWithResponses) TenancyTenantsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *TenancyTenantsNotesListParams, reqEditors ...RequestEditorFn) (*TenancyTenantsNotesListResponse, error) { + rsp, err := c.TenancyTenantsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantsNotesListResponse(rsp) +} + +// TenancyTenantsNotesCreateWithBodyWithResponse request with arbitrary body returning *TenancyTenantsNotesCreateResponse +func (c *ClientWithResponses) TenancyTenantsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenancyTenantsNotesCreateResponse, error) { + rsp, err := c.TenancyTenantsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) TenancyTenantsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body TenancyTenantsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenancyTenantsNotesCreateResponse, error) { + rsp, err := c.TenancyTenantsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseTenancyTenantsNotesCreateResponse(rsp) +} + // UsersConfigRetrieveWithResponse request returning *UsersConfigRetrieveResponse func (c *ClientWithResponses) UsersConfigRetrieveWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersConfigRetrieveResponse, error) { rsp, err := c.UsersConfigRetrieve(ctx, reqEditors...) @@ -188394,9 +290579,17 @@ func (c *ClientWithResponses) UsersConfigRetrieveWithResponse(ctx context.Contex return ParseUsersConfigRetrieveResponse(rsp) } -// UsersGroupsBulkDestroyWithResponse request returning *UsersGroupsBulkDestroyResponse -func (c *ClientWithResponses) UsersGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersGroupsBulkDestroyResponse, error) { - rsp, err := c.UsersGroupsBulkDestroy(ctx, reqEditors...) +// UsersGroupsBulkDestroyWithBodyWithResponse request with arbitrary body returning *UsersGroupsBulkDestroyResponse +func (c *ClientWithResponses) UsersGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersGroupsBulkDestroyResponse, error) { + rsp, err := c.UsersGroupsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersGroupsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) UsersGroupsBulkDestroyWithResponse(ctx context.Context, body UsersGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersGroupsBulkDestroyResponse, error) { + rsp, err := c.UsersGroupsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -188515,9 +290708,17 @@ func (c *ClientWithResponses) UsersGroupsUpdateWithResponse(ctx context.Context, return ParseUsersGroupsUpdateResponse(rsp) } -// UsersPermissionsBulkDestroyWithResponse request returning *UsersPermissionsBulkDestroyResponse -func (c *ClientWithResponses) UsersPermissionsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersPermissionsBulkDestroyResponse, error) { - rsp, err := c.UsersPermissionsBulkDestroy(ctx, reqEditors...) +// UsersPermissionsBulkDestroyWithBodyWithResponse request with arbitrary body returning *UsersPermissionsBulkDestroyResponse +func (c *ClientWithResponses) UsersPermissionsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersPermissionsBulkDestroyResponse, error) { + rsp, err := c.UsersPermissionsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersPermissionsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) UsersPermissionsBulkDestroyWithResponse(ctx context.Context, body UsersPermissionsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersPermissionsBulkDestroyResponse, error) { + rsp, err := c.UsersPermissionsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -188636,9 +290837,17 @@ func (c *ClientWithResponses) UsersPermissionsUpdateWithResponse(ctx context.Con return ParseUsersPermissionsUpdateResponse(rsp) } -// UsersTokensBulkDestroyWithResponse request returning *UsersTokensBulkDestroyResponse -func (c *ClientWithResponses) UsersTokensBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersTokensBulkDestroyResponse, error) { - rsp, err := c.UsersTokensBulkDestroy(ctx, reqEditors...) +// UsersTokensBulkDestroyWithBodyWithResponse request with arbitrary body returning *UsersTokensBulkDestroyResponse +func (c *ClientWithResponses) UsersTokensBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersTokensBulkDestroyResponse, error) { + rsp, err := c.UsersTokensBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersTokensBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) UsersTokensBulkDestroyWithResponse(ctx context.Context, body UsersTokensBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersTokensBulkDestroyResponse, error) { + rsp, err := c.UsersTokensBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -188757,9 +290966,17 @@ func (c *ClientWithResponses) UsersTokensUpdateWithResponse(ctx context.Context, return ParseUsersTokensUpdateResponse(rsp) } -// UsersUsersBulkDestroyWithResponse request returning *UsersUsersBulkDestroyResponse -func (c *ClientWithResponses) UsersUsersBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UsersUsersBulkDestroyResponse, error) { - rsp, err := c.UsersUsersBulkDestroy(ctx, reqEditors...) +// UsersUsersBulkDestroyWithBodyWithResponse request with arbitrary body returning *UsersUsersBulkDestroyResponse +func (c *ClientWithResponses) UsersUsersBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersUsersBulkDestroyResponse, error) { + rsp, err := c.UsersUsersBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseUsersUsersBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) UsersUsersBulkDestroyWithResponse(ctx context.Context, body UsersUsersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersUsersBulkDestroyResponse, error) { + rsp, err := c.UsersUsersBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -188878,9 +291095,17 @@ func (c *ClientWithResponses) UsersUsersUpdateWithResponse(ctx context.Context, return ParseUsersUsersUpdateResponse(rsp) } -// VirtualizationClusterGroupsBulkDestroyWithResponse request returning *VirtualizationClusterGroupsBulkDestroyResponse -func (c *ClientWithResponses) VirtualizationClusterGroupsBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsBulkDestroyResponse, error) { - rsp, err := c.VirtualizationClusterGroupsBulkDestroy(ctx, reqEditors...) +// VirtualizationClusterGroupsBulkDestroyWithBodyWithResponse request with arbitrary body returning *VirtualizationClusterGroupsBulkDestroyResponse +func (c *ClientWithResponses) VirtualizationClusterGroupsBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsBulkDestroyResponse, error) { + rsp, err := c.VirtualizationClusterGroupsBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterGroupsBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClusterGroupsBulkDestroyWithResponse(ctx context.Context, body VirtualizationClusterGroupsBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsBulkDestroyResponse, error) { + rsp, err := c.VirtualizationClusterGroupsBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -188999,9 +291224,43 @@ func (c *ClientWithResponses) VirtualizationClusterGroupsUpdateWithResponse(ctx return ParseVirtualizationClusterGroupsUpdateResponse(rsp) } -// VirtualizationClusterTypesBulkDestroyWithResponse request returning *VirtualizationClusterTypesBulkDestroyResponse -func (c *ClientWithResponses) VirtualizationClusterTypesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesBulkDestroyResponse, error) { - rsp, err := c.VirtualizationClusterTypesBulkDestroy(ctx, reqEditors...) +// VirtualizationClusterGroupsNotesListWithResponse request returning *VirtualizationClusterGroupsNotesListResponse +func (c *ClientWithResponses) VirtualizationClusterGroupsNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *VirtualizationClusterGroupsNotesListParams, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsNotesListResponse, error) { + rsp, err := c.VirtualizationClusterGroupsNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterGroupsNotesListResponse(rsp) +} + +// VirtualizationClusterGroupsNotesCreateWithBodyWithResponse request with arbitrary body returning *VirtualizationClusterGroupsNotesCreateResponse +func (c *ClientWithResponses) VirtualizationClusterGroupsNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsNotesCreateResponse, error) { + rsp, err := c.VirtualizationClusterGroupsNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterGroupsNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClusterGroupsNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterGroupsNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterGroupsNotesCreateResponse, error) { + rsp, err := c.VirtualizationClusterGroupsNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterGroupsNotesCreateResponse(rsp) +} + +// VirtualizationClusterTypesBulkDestroyWithBodyWithResponse request with arbitrary body returning *VirtualizationClusterTypesBulkDestroyResponse +func (c *ClientWithResponses) VirtualizationClusterTypesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesBulkDestroyResponse, error) { + rsp, err := c.VirtualizationClusterTypesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterTypesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClusterTypesBulkDestroyWithResponse(ctx context.Context, body VirtualizationClusterTypesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesBulkDestroyResponse, error) { + rsp, err := c.VirtualizationClusterTypesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -189120,9 +291379,43 @@ func (c *ClientWithResponses) VirtualizationClusterTypesUpdateWithResponse(ctx c return ParseVirtualizationClusterTypesUpdateResponse(rsp) } -// VirtualizationClustersBulkDestroyWithResponse request returning *VirtualizationClustersBulkDestroyResponse -func (c *ClientWithResponses) VirtualizationClustersBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VirtualizationClustersBulkDestroyResponse, error) { - rsp, err := c.VirtualizationClustersBulkDestroy(ctx, reqEditors...) +// VirtualizationClusterTypesNotesListWithResponse request returning *VirtualizationClusterTypesNotesListResponse +func (c *ClientWithResponses) VirtualizationClusterTypesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *VirtualizationClusterTypesNotesListParams, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesNotesListResponse, error) { + rsp, err := c.VirtualizationClusterTypesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterTypesNotesListResponse(rsp) +} + +// VirtualizationClusterTypesNotesCreateWithBodyWithResponse request with arbitrary body returning *VirtualizationClusterTypesNotesCreateResponse +func (c *ClientWithResponses) VirtualizationClusterTypesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesNotesCreateResponse, error) { + rsp, err := c.VirtualizationClusterTypesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterTypesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClusterTypesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationClusterTypesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClusterTypesNotesCreateResponse, error) { + rsp, err := c.VirtualizationClusterTypesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClusterTypesNotesCreateResponse(rsp) +} + +// VirtualizationClustersBulkDestroyWithBodyWithResponse request with arbitrary body returning *VirtualizationClustersBulkDestroyResponse +func (c *ClientWithResponses) VirtualizationClustersBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClustersBulkDestroyResponse, error) { + rsp, err := c.VirtualizationClustersBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClustersBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClustersBulkDestroyWithResponse(ctx context.Context, body VirtualizationClustersBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClustersBulkDestroyResponse, error) { + rsp, err := c.VirtualizationClustersBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -189241,9 +291534,43 @@ func (c *ClientWithResponses) VirtualizationClustersUpdateWithResponse(ctx conte return ParseVirtualizationClustersUpdateResponse(rsp) } -// VirtualizationInterfacesBulkDestroyWithResponse request returning *VirtualizationInterfacesBulkDestroyResponse -func (c *ClientWithResponses) VirtualizationInterfacesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesBulkDestroyResponse, error) { - rsp, err := c.VirtualizationInterfacesBulkDestroy(ctx, reqEditors...) +// VirtualizationClustersNotesListWithResponse request returning *VirtualizationClustersNotesListResponse +func (c *ClientWithResponses) VirtualizationClustersNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *VirtualizationClustersNotesListParams, reqEditors ...RequestEditorFn) (*VirtualizationClustersNotesListResponse, error) { + rsp, err := c.VirtualizationClustersNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClustersNotesListResponse(rsp) +} + +// VirtualizationClustersNotesCreateWithBodyWithResponse request with arbitrary body returning *VirtualizationClustersNotesCreateResponse +func (c *ClientWithResponses) VirtualizationClustersNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationClustersNotesCreateResponse, error) { + rsp, err := c.VirtualizationClustersNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClustersNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationClustersNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationClustersNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationClustersNotesCreateResponse, error) { + rsp, err := c.VirtualizationClustersNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationClustersNotesCreateResponse(rsp) +} + +// VirtualizationInterfacesBulkDestroyWithBodyWithResponse request with arbitrary body returning *VirtualizationInterfacesBulkDestroyResponse +func (c *ClientWithResponses) VirtualizationInterfacesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesBulkDestroyResponse, error) { + rsp, err := c.VirtualizationInterfacesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationInterfacesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationInterfacesBulkDestroyWithResponse(ctx context.Context, body VirtualizationInterfacesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesBulkDestroyResponse, error) { + rsp, err := c.VirtualizationInterfacesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -189362,9 +291689,43 @@ func (c *ClientWithResponses) VirtualizationInterfacesUpdateWithResponse(ctx con return ParseVirtualizationInterfacesUpdateResponse(rsp) } -// VirtualizationVirtualMachinesBulkDestroyWithResponse request returning *VirtualizationVirtualMachinesBulkDestroyResponse -func (c *ClientWithResponses) VirtualizationVirtualMachinesBulkDestroyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesBulkDestroyResponse, error) { - rsp, err := c.VirtualizationVirtualMachinesBulkDestroy(ctx, reqEditors...) +// VirtualizationInterfacesNotesListWithResponse request returning *VirtualizationInterfacesNotesListResponse +func (c *ClientWithResponses) VirtualizationInterfacesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *VirtualizationInterfacesNotesListParams, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesNotesListResponse, error) { + rsp, err := c.VirtualizationInterfacesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationInterfacesNotesListResponse(rsp) +} + +// VirtualizationInterfacesNotesCreateWithBodyWithResponse request with arbitrary body returning *VirtualizationInterfacesNotesCreateResponse +func (c *ClientWithResponses) VirtualizationInterfacesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesNotesCreateResponse, error) { + rsp, err := c.VirtualizationInterfacesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationInterfacesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationInterfacesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationInterfacesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationInterfacesNotesCreateResponse, error) { + rsp, err := c.VirtualizationInterfacesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationInterfacesNotesCreateResponse(rsp) +} + +// VirtualizationVirtualMachinesBulkDestroyWithBodyWithResponse request with arbitrary body returning *VirtualizationVirtualMachinesBulkDestroyResponse +func (c *ClientWithResponses) VirtualizationVirtualMachinesBulkDestroyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesBulkDestroyResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesBulkDestroyWithBody(ctx, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationVirtualMachinesBulkDestroyResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationVirtualMachinesBulkDestroyWithResponse(ctx context.Context, body VirtualizationVirtualMachinesBulkDestroyJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesBulkDestroyResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesBulkDestroy(ctx, body, reqEditors...) if err != nil { return nil, err } @@ -189483,9 +291844,35 @@ func (c *ClientWithResponses) VirtualizationVirtualMachinesUpdateWithResponse(ct return ParseVirtualizationVirtualMachinesUpdateResponse(rsp) } +// VirtualizationVirtualMachinesNotesListWithResponse request returning *VirtualizationVirtualMachinesNotesListResponse +func (c *ClientWithResponses) VirtualizationVirtualMachinesNotesListWithResponse(ctx context.Context, id openapi_types.UUID, params *VirtualizationVirtualMachinesNotesListParams, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesNotesListResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesNotesList(ctx, id, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationVirtualMachinesNotesListResponse(rsp) +} + +// VirtualizationVirtualMachinesNotesCreateWithBodyWithResponse request with arbitrary body returning *VirtualizationVirtualMachinesNotesCreateResponse +func (c *ClientWithResponses) VirtualizationVirtualMachinesNotesCreateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesNotesCreateResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesNotesCreateWithBody(ctx, id, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationVirtualMachinesNotesCreateResponse(rsp) +} + +func (c *ClientWithResponses) VirtualizationVirtualMachinesNotesCreateWithResponse(ctx context.Context, id openapi_types.UUID, body VirtualizationVirtualMachinesNotesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VirtualizationVirtualMachinesNotesCreateResponse, error) { + rsp, err := c.VirtualizationVirtualMachinesNotesCreate(ctx, id, body, reqEditors...) + if err != nil { + return nil, err + } + return ParseVirtualizationVirtualMachinesNotesCreateResponse(rsp) +} + // ParseCircuitsCircuitTerminationsBulkDestroyResponse parses an HTTP response from a CircuitsCircuitTerminationsBulkDestroyWithResponse call func ParseCircuitsCircuitTerminationsBulkDestroyResponse(rsp *http.Response) (*CircuitsCircuitTerminationsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189501,7 +291888,7 @@ func ParseCircuitsCircuitTerminationsBulkDestroyResponse(rsp *http.Response) (*C // ParseCircuitsCircuitTerminationsListResponse parses an HTTP response from a CircuitsCircuitTerminationsListWithResponse call func ParseCircuitsCircuitTerminationsListResponse(rsp *http.Response) (*CircuitsCircuitTerminationsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189517,7 +291904,7 @@ func ParseCircuitsCircuitTerminationsListResponse(rsp *http.Response) (*Circuits // ParseCircuitsCircuitTerminationsBulkPartialUpdateResponse parses an HTTP response from a CircuitsCircuitTerminationsBulkPartialUpdateWithResponse call func ParseCircuitsCircuitTerminationsBulkPartialUpdateResponse(rsp *http.Response) (*CircuitsCircuitTerminationsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189533,7 +291920,7 @@ func ParseCircuitsCircuitTerminationsBulkPartialUpdateResponse(rsp *http.Respons // ParseCircuitsCircuitTerminationsCreateResponse parses an HTTP response from a CircuitsCircuitTerminationsCreateWithResponse call func ParseCircuitsCircuitTerminationsCreateResponse(rsp *http.Response) (*CircuitsCircuitTerminationsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189549,7 +291936,7 @@ func ParseCircuitsCircuitTerminationsCreateResponse(rsp *http.Response) (*Circui // ParseCircuitsCircuitTerminationsBulkUpdateResponse parses an HTTP response from a CircuitsCircuitTerminationsBulkUpdateWithResponse call func ParseCircuitsCircuitTerminationsBulkUpdateResponse(rsp *http.Response) (*CircuitsCircuitTerminationsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189565,7 +291952,7 @@ func ParseCircuitsCircuitTerminationsBulkUpdateResponse(rsp *http.Response) (*Ci // ParseCircuitsCircuitTerminationsDestroyResponse parses an HTTP response from a CircuitsCircuitTerminationsDestroyWithResponse call func ParseCircuitsCircuitTerminationsDestroyResponse(rsp *http.Response) (*CircuitsCircuitTerminationsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189581,7 +291968,7 @@ func ParseCircuitsCircuitTerminationsDestroyResponse(rsp *http.Response) (*Circu // ParseCircuitsCircuitTerminationsRetrieveResponse parses an HTTP response from a CircuitsCircuitTerminationsRetrieveWithResponse call func ParseCircuitsCircuitTerminationsRetrieveResponse(rsp *http.Response) (*CircuitsCircuitTerminationsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189597,7 +291984,7 @@ func ParseCircuitsCircuitTerminationsRetrieveResponse(rsp *http.Response) (*Circ // ParseCircuitsCircuitTerminationsPartialUpdateResponse parses an HTTP response from a CircuitsCircuitTerminationsPartialUpdateWithResponse call func ParseCircuitsCircuitTerminationsPartialUpdateResponse(rsp *http.Response) (*CircuitsCircuitTerminationsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189613,7 +292000,7 @@ func ParseCircuitsCircuitTerminationsPartialUpdateResponse(rsp *http.Response) ( // ParseCircuitsCircuitTerminationsUpdateResponse parses an HTTP response from a CircuitsCircuitTerminationsUpdateWithResponse call func ParseCircuitsCircuitTerminationsUpdateResponse(rsp *http.Response) (*CircuitsCircuitTerminationsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189627,9 +292014,41 @@ func ParseCircuitsCircuitTerminationsUpdateResponse(rsp *http.Response) (*Circui return response, nil } +// ParseCircuitsCircuitTerminationsNotesListResponse parses an HTTP response from a CircuitsCircuitTerminationsNotesListWithResponse call +func ParseCircuitsCircuitTerminationsNotesListResponse(rsp *http.Response) (*CircuitsCircuitTerminationsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTerminationsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitTerminationsNotesCreateResponse parses an HTTP response from a CircuitsCircuitTerminationsNotesCreateWithResponse call +func ParseCircuitsCircuitTerminationsNotesCreateResponse(rsp *http.Response) (*CircuitsCircuitTerminationsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTerminationsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseCircuitsCircuitTerminationsTraceRetrieveResponse parses an HTTP response from a CircuitsCircuitTerminationsTraceRetrieveWithResponse call func ParseCircuitsCircuitTerminationsTraceRetrieveResponse(rsp *http.Response) (*CircuitsCircuitTerminationsTraceRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189645,7 +292064,7 @@ func ParseCircuitsCircuitTerminationsTraceRetrieveResponse(rsp *http.Response) ( // ParseCircuitsCircuitTypesBulkDestroyResponse parses an HTTP response from a CircuitsCircuitTypesBulkDestroyWithResponse call func ParseCircuitsCircuitTypesBulkDestroyResponse(rsp *http.Response) (*CircuitsCircuitTypesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189661,7 +292080,7 @@ func ParseCircuitsCircuitTypesBulkDestroyResponse(rsp *http.Response) (*Circuits // ParseCircuitsCircuitTypesListResponse parses an HTTP response from a CircuitsCircuitTypesListWithResponse call func ParseCircuitsCircuitTypesListResponse(rsp *http.Response) (*CircuitsCircuitTypesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189677,7 +292096,7 @@ func ParseCircuitsCircuitTypesListResponse(rsp *http.Response) (*CircuitsCircuit // ParseCircuitsCircuitTypesBulkPartialUpdateResponse parses an HTTP response from a CircuitsCircuitTypesBulkPartialUpdateWithResponse call func ParseCircuitsCircuitTypesBulkPartialUpdateResponse(rsp *http.Response) (*CircuitsCircuitTypesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189693,7 +292112,7 @@ func ParseCircuitsCircuitTypesBulkPartialUpdateResponse(rsp *http.Response) (*Ci // ParseCircuitsCircuitTypesCreateResponse parses an HTTP response from a CircuitsCircuitTypesCreateWithResponse call func ParseCircuitsCircuitTypesCreateResponse(rsp *http.Response) (*CircuitsCircuitTypesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189709,7 +292128,7 @@ func ParseCircuitsCircuitTypesCreateResponse(rsp *http.Response) (*CircuitsCircu // ParseCircuitsCircuitTypesBulkUpdateResponse parses an HTTP response from a CircuitsCircuitTypesBulkUpdateWithResponse call func ParseCircuitsCircuitTypesBulkUpdateResponse(rsp *http.Response) (*CircuitsCircuitTypesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189725,7 +292144,7 @@ func ParseCircuitsCircuitTypesBulkUpdateResponse(rsp *http.Response) (*CircuitsC // ParseCircuitsCircuitTypesDestroyResponse parses an HTTP response from a CircuitsCircuitTypesDestroyWithResponse call func ParseCircuitsCircuitTypesDestroyResponse(rsp *http.Response) (*CircuitsCircuitTypesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189741,7 +292160,7 @@ func ParseCircuitsCircuitTypesDestroyResponse(rsp *http.Response) (*CircuitsCirc // ParseCircuitsCircuitTypesRetrieveResponse parses an HTTP response from a CircuitsCircuitTypesRetrieveWithResponse call func ParseCircuitsCircuitTypesRetrieveResponse(rsp *http.Response) (*CircuitsCircuitTypesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189757,7 +292176,7 @@ func ParseCircuitsCircuitTypesRetrieveResponse(rsp *http.Response) (*CircuitsCir // ParseCircuitsCircuitTypesPartialUpdateResponse parses an HTTP response from a CircuitsCircuitTypesPartialUpdateWithResponse call func ParseCircuitsCircuitTypesPartialUpdateResponse(rsp *http.Response) (*CircuitsCircuitTypesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189773,7 +292192,7 @@ func ParseCircuitsCircuitTypesPartialUpdateResponse(rsp *http.Response) (*Circui // ParseCircuitsCircuitTypesUpdateResponse parses an HTTP response from a CircuitsCircuitTypesUpdateWithResponse call func ParseCircuitsCircuitTypesUpdateResponse(rsp *http.Response) (*CircuitsCircuitTypesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189787,9 +292206,41 @@ func ParseCircuitsCircuitTypesUpdateResponse(rsp *http.Response) (*CircuitsCircu return response, nil } +// ParseCircuitsCircuitTypesNotesListResponse parses an HTTP response from a CircuitsCircuitTypesNotesListWithResponse call +func ParseCircuitsCircuitTypesNotesListResponse(rsp *http.Response) (*CircuitsCircuitTypesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTypesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitTypesNotesCreateResponse parses an HTTP response from a CircuitsCircuitTypesNotesCreateWithResponse call +func ParseCircuitsCircuitTypesNotesCreateResponse(rsp *http.Response) (*CircuitsCircuitTypesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitTypesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseCircuitsCircuitsBulkDestroyResponse parses an HTTP response from a CircuitsCircuitsBulkDestroyWithResponse call func ParseCircuitsCircuitsBulkDestroyResponse(rsp *http.Response) (*CircuitsCircuitsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189805,7 +292256,7 @@ func ParseCircuitsCircuitsBulkDestroyResponse(rsp *http.Response) (*CircuitsCirc // ParseCircuitsCircuitsListResponse parses an HTTP response from a CircuitsCircuitsListWithResponse call func ParseCircuitsCircuitsListResponse(rsp *http.Response) (*CircuitsCircuitsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189821,7 +292272,7 @@ func ParseCircuitsCircuitsListResponse(rsp *http.Response) (*CircuitsCircuitsLis // ParseCircuitsCircuitsBulkPartialUpdateResponse parses an HTTP response from a CircuitsCircuitsBulkPartialUpdateWithResponse call func ParseCircuitsCircuitsBulkPartialUpdateResponse(rsp *http.Response) (*CircuitsCircuitsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189837,7 +292288,7 @@ func ParseCircuitsCircuitsBulkPartialUpdateResponse(rsp *http.Response) (*Circui // ParseCircuitsCircuitsCreateResponse parses an HTTP response from a CircuitsCircuitsCreateWithResponse call func ParseCircuitsCircuitsCreateResponse(rsp *http.Response) (*CircuitsCircuitsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189853,7 +292304,7 @@ func ParseCircuitsCircuitsCreateResponse(rsp *http.Response) (*CircuitsCircuitsC // ParseCircuitsCircuitsBulkUpdateResponse parses an HTTP response from a CircuitsCircuitsBulkUpdateWithResponse call func ParseCircuitsCircuitsBulkUpdateResponse(rsp *http.Response) (*CircuitsCircuitsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189869,7 +292320,7 @@ func ParseCircuitsCircuitsBulkUpdateResponse(rsp *http.Response) (*CircuitsCircu // ParseCircuitsCircuitsDestroyResponse parses an HTTP response from a CircuitsCircuitsDestroyWithResponse call func ParseCircuitsCircuitsDestroyResponse(rsp *http.Response) (*CircuitsCircuitsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189885,7 +292336,7 @@ func ParseCircuitsCircuitsDestroyResponse(rsp *http.Response) (*CircuitsCircuits // ParseCircuitsCircuitsRetrieveResponse parses an HTTP response from a CircuitsCircuitsRetrieveWithResponse call func ParseCircuitsCircuitsRetrieveResponse(rsp *http.Response) (*CircuitsCircuitsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189901,7 +292352,7 @@ func ParseCircuitsCircuitsRetrieveResponse(rsp *http.Response) (*CircuitsCircuit // ParseCircuitsCircuitsPartialUpdateResponse parses an HTTP response from a CircuitsCircuitsPartialUpdateWithResponse call func ParseCircuitsCircuitsPartialUpdateResponse(rsp *http.Response) (*CircuitsCircuitsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189917,7 +292368,7 @@ func ParseCircuitsCircuitsPartialUpdateResponse(rsp *http.Response) (*CircuitsCi // ParseCircuitsCircuitsUpdateResponse parses an HTTP response from a CircuitsCircuitsUpdateWithResponse call func ParseCircuitsCircuitsUpdateResponse(rsp *http.Response) (*CircuitsCircuitsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189931,9 +292382,41 @@ func ParseCircuitsCircuitsUpdateResponse(rsp *http.Response) (*CircuitsCircuitsU return response, nil } +// ParseCircuitsCircuitsNotesListResponse parses an HTTP response from a CircuitsCircuitsNotesListWithResponse call +func ParseCircuitsCircuitsNotesListResponse(rsp *http.Response) (*CircuitsCircuitsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsCircuitsNotesCreateResponse parses an HTTP response from a CircuitsCircuitsNotesCreateWithResponse call +func ParseCircuitsCircuitsNotesCreateResponse(rsp *http.Response) (*CircuitsCircuitsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsCircuitsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseCircuitsProviderNetworksBulkDestroyResponse parses an HTTP response from a CircuitsProviderNetworksBulkDestroyWithResponse call func ParseCircuitsProviderNetworksBulkDestroyResponse(rsp *http.Response) (*CircuitsProviderNetworksBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189949,7 +292432,7 @@ func ParseCircuitsProviderNetworksBulkDestroyResponse(rsp *http.Response) (*Circ // ParseCircuitsProviderNetworksListResponse parses an HTTP response from a CircuitsProviderNetworksListWithResponse call func ParseCircuitsProviderNetworksListResponse(rsp *http.Response) (*CircuitsProviderNetworksListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189965,7 +292448,7 @@ func ParseCircuitsProviderNetworksListResponse(rsp *http.Response) (*CircuitsPro // ParseCircuitsProviderNetworksBulkPartialUpdateResponse parses an HTTP response from a CircuitsProviderNetworksBulkPartialUpdateWithResponse call func ParseCircuitsProviderNetworksBulkPartialUpdateResponse(rsp *http.Response) (*CircuitsProviderNetworksBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189981,7 +292464,7 @@ func ParseCircuitsProviderNetworksBulkPartialUpdateResponse(rsp *http.Response) // ParseCircuitsProviderNetworksCreateResponse parses an HTTP response from a CircuitsProviderNetworksCreateWithResponse call func ParseCircuitsProviderNetworksCreateResponse(rsp *http.Response) (*CircuitsProviderNetworksCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -189997,7 +292480,7 @@ func ParseCircuitsProviderNetworksCreateResponse(rsp *http.Response) (*CircuitsP // ParseCircuitsProviderNetworksBulkUpdateResponse parses an HTTP response from a CircuitsProviderNetworksBulkUpdateWithResponse call func ParseCircuitsProviderNetworksBulkUpdateResponse(rsp *http.Response) (*CircuitsProviderNetworksBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190013,7 +292496,7 @@ func ParseCircuitsProviderNetworksBulkUpdateResponse(rsp *http.Response) (*Circu // ParseCircuitsProviderNetworksDestroyResponse parses an HTTP response from a CircuitsProviderNetworksDestroyWithResponse call func ParseCircuitsProviderNetworksDestroyResponse(rsp *http.Response) (*CircuitsProviderNetworksDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190029,7 +292512,7 @@ func ParseCircuitsProviderNetworksDestroyResponse(rsp *http.Response) (*Circuits // ParseCircuitsProviderNetworksRetrieveResponse parses an HTTP response from a CircuitsProviderNetworksRetrieveWithResponse call func ParseCircuitsProviderNetworksRetrieveResponse(rsp *http.Response) (*CircuitsProviderNetworksRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190045,7 +292528,7 @@ func ParseCircuitsProviderNetworksRetrieveResponse(rsp *http.Response) (*Circuit // ParseCircuitsProviderNetworksPartialUpdateResponse parses an HTTP response from a CircuitsProviderNetworksPartialUpdateWithResponse call func ParseCircuitsProviderNetworksPartialUpdateResponse(rsp *http.Response) (*CircuitsProviderNetworksPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190061,7 +292544,7 @@ func ParseCircuitsProviderNetworksPartialUpdateResponse(rsp *http.Response) (*Ci // ParseCircuitsProviderNetworksUpdateResponse parses an HTTP response from a CircuitsProviderNetworksUpdateWithResponse call func ParseCircuitsProviderNetworksUpdateResponse(rsp *http.Response) (*CircuitsProviderNetworksUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190075,9 +292558,41 @@ func ParseCircuitsProviderNetworksUpdateResponse(rsp *http.Response) (*CircuitsP return response, nil } +// ParseCircuitsProviderNetworksNotesListResponse parses an HTTP response from a CircuitsProviderNetworksNotesListWithResponse call +func ParseCircuitsProviderNetworksNotesListResponse(rsp *http.Response) (*CircuitsProviderNetworksNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderNetworksNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsProviderNetworksNotesCreateResponse parses an HTTP response from a CircuitsProviderNetworksNotesCreateWithResponse call +func ParseCircuitsProviderNetworksNotesCreateResponse(rsp *http.Response) (*CircuitsProviderNetworksNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProviderNetworksNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseCircuitsProvidersBulkDestroyResponse parses an HTTP response from a CircuitsProvidersBulkDestroyWithResponse call func ParseCircuitsProvidersBulkDestroyResponse(rsp *http.Response) (*CircuitsProvidersBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190093,7 +292608,7 @@ func ParseCircuitsProvidersBulkDestroyResponse(rsp *http.Response) (*CircuitsPro // ParseCircuitsProvidersListResponse parses an HTTP response from a CircuitsProvidersListWithResponse call func ParseCircuitsProvidersListResponse(rsp *http.Response) (*CircuitsProvidersListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190109,7 +292624,7 @@ func ParseCircuitsProvidersListResponse(rsp *http.Response) (*CircuitsProvidersL // ParseCircuitsProvidersBulkPartialUpdateResponse parses an HTTP response from a CircuitsProvidersBulkPartialUpdateWithResponse call func ParseCircuitsProvidersBulkPartialUpdateResponse(rsp *http.Response) (*CircuitsProvidersBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190125,7 +292640,7 @@ func ParseCircuitsProvidersBulkPartialUpdateResponse(rsp *http.Response) (*Circu // ParseCircuitsProvidersCreateResponse parses an HTTP response from a CircuitsProvidersCreateWithResponse call func ParseCircuitsProvidersCreateResponse(rsp *http.Response) (*CircuitsProvidersCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190141,7 +292656,7 @@ func ParseCircuitsProvidersCreateResponse(rsp *http.Response) (*CircuitsProvider // ParseCircuitsProvidersBulkUpdateResponse parses an HTTP response from a CircuitsProvidersBulkUpdateWithResponse call func ParseCircuitsProvidersBulkUpdateResponse(rsp *http.Response) (*CircuitsProvidersBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190157,7 +292672,7 @@ func ParseCircuitsProvidersBulkUpdateResponse(rsp *http.Response) (*CircuitsProv // ParseCircuitsProvidersDestroyResponse parses an HTTP response from a CircuitsProvidersDestroyWithResponse call func ParseCircuitsProvidersDestroyResponse(rsp *http.Response) (*CircuitsProvidersDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190173,7 +292688,7 @@ func ParseCircuitsProvidersDestroyResponse(rsp *http.Response) (*CircuitsProvide // ParseCircuitsProvidersRetrieveResponse parses an HTTP response from a CircuitsProvidersRetrieveWithResponse call func ParseCircuitsProvidersRetrieveResponse(rsp *http.Response) (*CircuitsProvidersRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190189,7 +292704,7 @@ func ParseCircuitsProvidersRetrieveResponse(rsp *http.Response) (*CircuitsProvid // ParseCircuitsProvidersPartialUpdateResponse parses an HTTP response from a CircuitsProvidersPartialUpdateWithResponse call func ParseCircuitsProvidersPartialUpdateResponse(rsp *http.Response) (*CircuitsProvidersPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190205,7 +292720,7 @@ func ParseCircuitsProvidersPartialUpdateResponse(rsp *http.Response) (*CircuitsP // ParseCircuitsProvidersUpdateResponse parses an HTTP response from a CircuitsProvidersUpdateWithResponse call func ParseCircuitsProvidersUpdateResponse(rsp *http.Response) (*CircuitsProvidersUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190219,9 +292734,41 @@ func ParseCircuitsProvidersUpdateResponse(rsp *http.Response) (*CircuitsProvider return response, nil } +// ParseCircuitsProvidersNotesListResponse parses an HTTP response from a CircuitsProvidersNotesListWithResponse call +func ParseCircuitsProvidersNotesListResponse(rsp *http.Response) (*CircuitsProvidersNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProvidersNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseCircuitsProvidersNotesCreateResponse parses an HTTP response from a CircuitsProvidersNotesCreateWithResponse call +func ParseCircuitsProvidersNotesCreateResponse(rsp *http.Response) (*CircuitsProvidersNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &CircuitsProvidersNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimCablesBulkDestroyResponse parses an HTTP response from a DcimCablesBulkDestroyWithResponse call func ParseDcimCablesBulkDestroyResponse(rsp *http.Response) (*DcimCablesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190237,7 +292784,7 @@ func ParseDcimCablesBulkDestroyResponse(rsp *http.Response) (*DcimCablesBulkDest // ParseDcimCablesListResponse parses an HTTP response from a DcimCablesListWithResponse call func ParseDcimCablesListResponse(rsp *http.Response) (*DcimCablesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190253,7 +292800,7 @@ func ParseDcimCablesListResponse(rsp *http.Response) (*DcimCablesListResponse, e // ParseDcimCablesBulkPartialUpdateResponse parses an HTTP response from a DcimCablesBulkPartialUpdateWithResponse call func ParseDcimCablesBulkPartialUpdateResponse(rsp *http.Response) (*DcimCablesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190269,7 +292816,7 @@ func ParseDcimCablesBulkPartialUpdateResponse(rsp *http.Response) (*DcimCablesBu // ParseDcimCablesCreateResponse parses an HTTP response from a DcimCablesCreateWithResponse call func ParseDcimCablesCreateResponse(rsp *http.Response) (*DcimCablesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190285,7 +292832,7 @@ func ParseDcimCablesCreateResponse(rsp *http.Response) (*DcimCablesCreateRespons // ParseDcimCablesBulkUpdateResponse parses an HTTP response from a DcimCablesBulkUpdateWithResponse call func ParseDcimCablesBulkUpdateResponse(rsp *http.Response) (*DcimCablesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190301,7 +292848,7 @@ func ParseDcimCablesBulkUpdateResponse(rsp *http.Response) (*DcimCablesBulkUpdat // ParseDcimCablesDestroyResponse parses an HTTP response from a DcimCablesDestroyWithResponse call func ParseDcimCablesDestroyResponse(rsp *http.Response) (*DcimCablesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190317,7 +292864,7 @@ func ParseDcimCablesDestroyResponse(rsp *http.Response) (*DcimCablesDestroyRespo // ParseDcimCablesRetrieveResponse parses an HTTP response from a DcimCablesRetrieveWithResponse call func ParseDcimCablesRetrieveResponse(rsp *http.Response) (*DcimCablesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190333,7 +292880,7 @@ func ParseDcimCablesRetrieveResponse(rsp *http.Response) (*DcimCablesRetrieveRes // ParseDcimCablesPartialUpdateResponse parses an HTTP response from a DcimCablesPartialUpdateWithResponse call func ParseDcimCablesPartialUpdateResponse(rsp *http.Response) (*DcimCablesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190349,7 +292896,7 @@ func ParseDcimCablesPartialUpdateResponse(rsp *http.Response) (*DcimCablesPartia // ParseDcimCablesUpdateResponse parses an HTTP response from a DcimCablesUpdateWithResponse call func ParseDcimCablesUpdateResponse(rsp *http.Response) (*DcimCablesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190363,9 +292910,41 @@ func ParseDcimCablesUpdateResponse(rsp *http.Response) (*DcimCablesUpdateRespons return response, nil } +// ParseDcimCablesNotesListResponse parses an HTTP response from a DcimCablesNotesListWithResponse call +func ParseDcimCablesNotesListResponse(rsp *http.Response) (*DcimCablesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCablesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimCablesNotesCreateResponse parses an HTTP response from a DcimCablesNotesCreateWithResponse call +func ParseDcimCablesNotesCreateResponse(rsp *http.Response) (*DcimCablesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimCablesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimConnectedDeviceListResponse parses an HTTP response from a DcimConnectedDeviceListWithResponse call func ParseDcimConnectedDeviceListResponse(rsp *http.Response) (*DcimConnectedDeviceListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190381,7 +292960,7 @@ func ParseDcimConnectedDeviceListResponse(rsp *http.Response) (*DcimConnectedDev // ParseDcimConsoleConnectionsListResponse parses an HTTP response from a DcimConsoleConnectionsListWithResponse call func ParseDcimConsoleConnectionsListResponse(rsp *http.Response) (*DcimConsoleConnectionsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190397,7 +292976,7 @@ func ParseDcimConsoleConnectionsListResponse(rsp *http.Response) (*DcimConsoleCo // ParseDcimConsolePortTemplatesBulkDestroyResponse parses an HTTP response from a DcimConsolePortTemplatesBulkDestroyWithResponse call func ParseDcimConsolePortTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimConsolePortTemplatesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190413,7 +292992,7 @@ func ParseDcimConsolePortTemplatesBulkDestroyResponse(rsp *http.Response) (*Dcim // ParseDcimConsolePortTemplatesListResponse parses an HTTP response from a DcimConsolePortTemplatesListWithResponse call func ParseDcimConsolePortTemplatesListResponse(rsp *http.Response) (*DcimConsolePortTemplatesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190429,7 +293008,7 @@ func ParseDcimConsolePortTemplatesListResponse(rsp *http.Response) (*DcimConsole // ParseDcimConsolePortTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimConsolePortTemplatesBulkPartialUpdateWithResponse call func ParseDcimConsolePortTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimConsolePortTemplatesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190445,7 +293024,7 @@ func ParseDcimConsolePortTemplatesBulkPartialUpdateResponse(rsp *http.Response) // ParseDcimConsolePortTemplatesCreateResponse parses an HTTP response from a DcimConsolePortTemplatesCreateWithResponse call func ParseDcimConsolePortTemplatesCreateResponse(rsp *http.Response) (*DcimConsolePortTemplatesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190461,7 +293040,7 @@ func ParseDcimConsolePortTemplatesCreateResponse(rsp *http.Response) (*DcimConso // ParseDcimConsolePortTemplatesBulkUpdateResponse parses an HTTP response from a DcimConsolePortTemplatesBulkUpdateWithResponse call func ParseDcimConsolePortTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimConsolePortTemplatesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190477,7 +293056,7 @@ func ParseDcimConsolePortTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimC // ParseDcimConsolePortTemplatesDestroyResponse parses an HTTP response from a DcimConsolePortTemplatesDestroyWithResponse call func ParseDcimConsolePortTemplatesDestroyResponse(rsp *http.Response) (*DcimConsolePortTemplatesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190493,7 +293072,7 @@ func ParseDcimConsolePortTemplatesDestroyResponse(rsp *http.Response) (*DcimCons // ParseDcimConsolePortTemplatesRetrieveResponse parses an HTTP response from a DcimConsolePortTemplatesRetrieveWithResponse call func ParseDcimConsolePortTemplatesRetrieveResponse(rsp *http.Response) (*DcimConsolePortTemplatesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190509,7 +293088,7 @@ func ParseDcimConsolePortTemplatesRetrieveResponse(rsp *http.Response) (*DcimCon // ParseDcimConsolePortTemplatesPartialUpdateResponse parses an HTTP response from a DcimConsolePortTemplatesPartialUpdateWithResponse call func ParseDcimConsolePortTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimConsolePortTemplatesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190525,7 +293104,7 @@ func ParseDcimConsolePortTemplatesPartialUpdateResponse(rsp *http.Response) (*Dc // ParseDcimConsolePortTemplatesUpdateResponse parses an HTTP response from a DcimConsolePortTemplatesUpdateWithResponse call func ParseDcimConsolePortTemplatesUpdateResponse(rsp *http.Response) (*DcimConsolePortTemplatesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190539,9 +293118,41 @@ func ParseDcimConsolePortTemplatesUpdateResponse(rsp *http.Response) (*DcimConso return response, nil } +// ParseDcimConsolePortTemplatesNotesListResponse parses an HTTP response from a DcimConsolePortTemplatesNotesListWithResponse call +func ParseDcimConsolePortTemplatesNotesListResponse(rsp *http.Response) (*DcimConsolePortTemplatesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortTemplatesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsolePortTemplatesNotesCreateResponse parses an HTTP response from a DcimConsolePortTemplatesNotesCreateWithResponse call +func ParseDcimConsolePortTemplatesNotesCreateResponse(rsp *http.Response) (*DcimConsolePortTemplatesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortTemplatesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimConsolePortsBulkDestroyResponse parses an HTTP response from a DcimConsolePortsBulkDestroyWithResponse call func ParseDcimConsolePortsBulkDestroyResponse(rsp *http.Response) (*DcimConsolePortsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190557,7 +293168,7 @@ func ParseDcimConsolePortsBulkDestroyResponse(rsp *http.Response) (*DcimConsoleP // ParseDcimConsolePortsListResponse parses an HTTP response from a DcimConsolePortsListWithResponse call func ParseDcimConsolePortsListResponse(rsp *http.Response) (*DcimConsolePortsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190573,7 +293184,7 @@ func ParseDcimConsolePortsListResponse(rsp *http.Response) (*DcimConsolePortsLis // ParseDcimConsolePortsBulkPartialUpdateResponse parses an HTTP response from a DcimConsolePortsBulkPartialUpdateWithResponse call func ParseDcimConsolePortsBulkPartialUpdateResponse(rsp *http.Response) (*DcimConsolePortsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190589,7 +293200,7 @@ func ParseDcimConsolePortsBulkPartialUpdateResponse(rsp *http.Response) (*DcimCo // ParseDcimConsolePortsCreateResponse parses an HTTP response from a DcimConsolePortsCreateWithResponse call func ParseDcimConsolePortsCreateResponse(rsp *http.Response) (*DcimConsolePortsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190605,7 +293216,7 @@ func ParseDcimConsolePortsCreateResponse(rsp *http.Response) (*DcimConsolePortsC // ParseDcimConsolePortsBulkUpdateResponse parses an HTTP response from a DcimConsolePortsBulkUpdateWithResponse call func ParseDcimConsolePortsBulkUpdateResponse(rsp *http.Response) (*DcimConsolePortsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190621,7 +293232,7 @@ func ParseDcimConsolePortsBulkUpdateResponse(rsp *http.Response) (*DcimConsolePo // ParseDcimConsolePortsDestroyResponse parses an HTTP response from a DcimConsolePortsDestroyWithResponse call func ParseDcimConsolePortsDestroyResponse(rsp *http.Response) (*DcimConsolePortsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190637,7 +293248,7 @@ func ParseDcimConsolePortsDestroyResponse(rsp *http.Response) (*DcimConsolePorts // ParseDcimConsolePortsRetrieveResponse parses an HTTP response from a DcimConsolePortsRetrieveWithResponse call func ParseDcimConsolePortsRetrieveResponse(rsp *http.Response) (*DcimConsolePortsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190653,7 +293264,7 @@ func ParseDcimConsolePortsRetrieveResponse(rsp *http.Response) (*DcimConsolePort // ParseDcimConsolePortsPartialUpdateResponse parses an HTTP response from a DcimConsolePortsPartialUpdateWithResponse call func ParseDcimConsolePortsPartialUpdateResponse(rsp *http.Response) (*DcimConsolePortsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190669,7 +293280,7 @@ func ParseDcimConsolePortsPartialUpdateResponse(rsp *http.Response) (*DcimConsol // ParseDcimConsolePortsUpdateResponse parses an HTTP response from a DcimConsolePortsUpdateWithResponse call func ParseDcimConsolePortsUpdateResponse(rsp *http.Response) (*DcimConsolePortsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190683,9 +293294,41 @@ func ParseDcimConsolePortsUpdateResponse(rsp *http.Response) (*DcimConsolePortsU return response, nil } +// ParseDcimConsolePortsNotesListResponse parses an HTTP response from a DcimConsolePortsNotesListWithResponse call +func ParseDcimConsolePortsNotesListResponse(rsp *http.Response) (*DcimConsolePortsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsolePortsNotesCreateResponse parses an HTTP response from a DcimConsolePortsNotesCreateWithResponse call +func ParseDcimConsolePortsNotesCreateResponse(rsp *http.Response) (*DcimConsolePortsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsolePortsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimConsolePortsTraceRetrieveResponse parses an HTTP response from a DcimConsolePortsTraceRetrieveWithResponse call func ParseDcimConsolePortsTraceRetrieveResponse(rsp *http.Response) (*DcimConsolePortsTraceRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190701,7 +293344,7 @@ func ParseDcimConsolePortsTraceRetrieveResponse(rsp *http.Response) (*DcimConsol // ParseDcimConsoleServerPortTemplatesBulkDestroyResponse parses an HTTP response from a DcimConsoleServerPortTemplatesBulkDestroyWithResponse call func ParseDcimConsoleServerPortTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190717,7 +293360,7 @@ func ParseDcimConsoleServerPortTemplatesBulkDestroyResponse(rsp *http.Response) // ParseDcimConsoleServerPortTemplatesListResponse parses an HTTP response from a DcimConsoleServerPortTemplatesListWithResponse call func ParseDcimConsoleServerPortTemplatesListResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190733,7 +293376,7 @@ func ParseDcimConsoleServerPortTemplatesListResponse(rsp *http.Response) (*DcimC // ParseDcimConsoleServerPortTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimConsoleServerPortTemplatesBulkPartialUpdateWithResponse call func ParseDcimConsoleServerPortTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190749,7 +293392,7 @@ func ParseDcimConsoleServerPortTemplatesBulkPartialUpdateResponse(rsp *http.Resp // ParseDcimConsoleServerPortTemplatesCreateResponse parses an HTTP response from a DcimConsoleServerPortTemplatesCreateWithResponse call func ParseDcimConsoleServerPortTemplatesCreateResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190765,7 +293408,7 @@ func ParseDcimConsoleServerPortTemplatesCreateResponse(rsp *http.Response) (*Dci // ParseDcimConsoleServerPortTemplatesBulkUpdateResponse parses an HTTP response from a DcimConsoleServerPortTemplatesBulkUpdateWithResponse call func ParseDcimConsoleServerPortTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190781,7 +293424,7 @@ func ParseDcimConsoleServerPortTemplatesBulkUpdateResponse(rsp *http.Response) ( // ParseDcimConsoleServerPortTemplatesDestroyResponse parses an HTTP response from a DcimConsoleServerPortTemplatesDestroyWithResponse call func ParseDcimConsoleServerPortTemplatesDestroyResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190797,7 +293440,7 @@ func ParseDcimConsoleServerPortTemplatesDestroyResponse(rsp *http.Response) (*Dc // ParseDcimConsoleServerPortTemplatesRetrieveResponse parses an HTTP response from a DcimConsoleServerPortTemplatesRetrieveWithResponse call func ParseDcimConsoleServerPortTemplatesRetrieveResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190813,7 +293456,7 @@ func ParseDcimConsoleServerPortTemplatesRetrieveResponse(rsp *http.Response) (*D // ParseDcimConsoleServerPortTemplatesPartialUpdateResponse parses an HTTP response from a DcimConsoleServerPortTemplatesPartialUpdateWithResponse call func ParseDcimConsoleServerPortTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190829,7 +293472,7 @@ func ParseDcimConsoleServerPortTemplatesPartialUpdateResponse(rsp *http.Response // ParseDcimConsoleServerPortTemplatesUpdateResponse parses an HTTP response from a DcimConsoleServerPortTemplatesUpdateWithResponse call func ParseDcimConsoleServerPortTemplatesUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190843,9 +293486,41 @@ func ParseDcimConsoleServerPortTemplatesUpdateResponse(rsp *http.Response) (*Dci return response, nil } +// ParseDcimConsoleServerPortTemplatesNotesListResponse parses an HTTP response from a DcimConsoleServerPortTemplatesNotesListWithResponse call +func ParseDcimConsoleServerPortTemplatesNotesListResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortTemplatesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsoleServerPortTemplatesNotesCreateResponse parses an HTTP response from a DcimConsoleServerPortTemplatesNotesCreateWithResponse call +func ParseDcimConsoleServerPortTemplatesNotesCreateResponse(rsp *http.Response) (*DcimConsoleServerPortTemplatesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortTemplatesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimConsoleServerPortsBulkDestroyResponse parses an HTTP response from a DcimConsoleServerPortsBulkDestroyWithResponse call func ParseDcimConsoleServerPortsBulkDestroyResponse(rsp *http.Response) (*DcimConsoleServerPortsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190861,7 +293536,7 @@ func ParseDcimConsoleServerPortsBulkDestroyResponse(rsp *http.Response) (*DcimCo // ParseDcimConsoleServerPortsListResponse parses an HTTP response from a DcimConsoleServerPortsListWithResponse call func ParseDcimConsoleServerPortsListResponse(rsp *http.Response) (*DcimConsoleServerPortsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190877,7 +293552,7 @@ func ParseDcimConsoleServerPortsListResponse(rsp *http.Response) (*DcimConsoleSe // ParseDcimConsoleServerPortsBulkPartialUpdateResponse parses an HTTP response from a DcimConsoleServerPortsBulkPartialUpdateWithResponse call func ParseDcimConsoleServerPortsBulkPartialUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190893,7 +293568,7 @@ func ParseDcimConsoleServerPortsBulkPartialUpdateResponse(rsp *http.Response) (* // ParseDcimConsoleServerPortsCreateResponse parses an HTTP response from a DcimConsoleServerPortsCreateWithResponse call func ParseDcimConsoleServerPortsCreateResponse(rsp *http.Response) (*DcimConsoleServerPortsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190909,7 +293584,7 @@ func ParseDcimConsoleServerPortsCreateResponse(rsp *http.Response) (*DcimConsole // ParseDcimConsoleServerPortsBulkUpdateResponse parses an HTTP response from a DcimConsoleServerPortsBulkUpdateWithResponse call func ParseDcimConsoleServerPortsBulkUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190925,7 +293600,7 @@ func ParseDcimConsoleServerPortsBulkUpdateResponse(rsp *http.Response) (*DcimCon // ParseDcimConsoleServerPortsDestroyResponse parses an HTTP response from a DcimConsoleServerPortsDestroyWithResponse call func ParseDcimConsoleServerPortsDestroyResponse(rsp *http.Response) (*DcimConsoleServerPortsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190941,7 +293616,7 @@ func ParseDcimConsoleServerPortsDestroyResponse(rsp *http.Response) (*DcimConsol // ParseDcimConsoleServerPortsRetrieveResponse parses an HTTP response from a DcimConsoleServerPortsRetrieveWithResponse call func ParseDcimConsoleServerPortsRetrieveResponse(rsp *http.Response) (*DcimConsoleServerPortsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190957,7 +293632,7 @@ func ParseDcimConsoleServerPortsRetrieveResponse(rsp *http.Response) (*DcimConso // ParseDcimConsoleServerPortsPartialUpdateResponse parses an HTTP response from a DcimConsoleServerPortsPartialUpdateWithResponse call func ParseDcimConsoleServerPortsPartialUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190973,7 +293648,7 @@ func ParseDcimConsoleServerPortsPartialUpdateResponse(rsp *http.Response) (*Dcim // ParseDcimConsoleServerPortsUpdateResponse parses an HTTP response from a DcimConsoleServerPortsUpdateWithResponse call func ParseDcimConsoleServerPortsUpdateResponse(rsp *http.Response) (*DcimConsoleServerPortsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -190987,9 +293662,41 @@ func ParseDcimConsoleServerPortsUpdateResponse(rsp *http.Response) (*DcimConsole return response, nil } +// ParseDcimConsoleServerPortsNotesListResponse parses an HTTP response from a DcimConsoleServerPortsNotesListWithResponse call +func ParseDcimConsoleServerPortsNotesListResponse(rsp *http.Response) (*DcimConsoleServerPortsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimConsoleServerPortsNotesCreateResponse parses an HTTP response from a DcimConsoleServerPortsNotesCreateWithResponse call +func ParseDcimConsoleServerPortsNotesCreateResponse(rsp *http.Response) (*DcimConsoleServerPortsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimConsoleServerPortsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimConsoleServerPortsTraceRetrieveResponse parses an HTTP response from a DcimConsoleServerPortsTraceRetrieveWithResponse call func ParseDcimConsoleServerPortsTraceRetrieveResponse(rsp *http.Response) (*DcimConsoleServerPortsTraceRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191005,7 +293712,7 @@ func ParseDcimConsoleServerPortsTraceRetrieveResponse(rsp *http.Response) (*Dcim // ParseDcimDeviceBayTemplatesBulkDestroyResponse parses an HTTP response from a DcimDeviceBayTemplatesBulkDestroyWithResponse call func ParseDcimDeviceBayTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimDeviceBayTemplatesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191021,7 +293728,7 @@ func ParseDcimDeviceBayTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimDe // ParseDcimDeviceBayTemplatesListResponse parses an HTTP response from a DcimDeviceBayTemplatesListWithResponse call func ParseDcimDeviceBayTemplatesListResponse(rsp *http.Response) (*DcimDeviceBayTemplatesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191037,7 +293744,7 @@ func ParseDcimDeviceBayTemplatesListResponse(rsp *http.Response) (*DcimDeviceBay // ParseDcimDeviceBayTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimDeviceBayTemplatesBulkPartialUpdateWithResponse call func ParseDcimDeviceBayTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimDeviceBayTemplatesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191053,7 +293760,7 @@ func ParseDcimDeviceBayTemplatesBulkPartialUpdateResponse(rsp *http.Response) (* // ParseDcimDeviceBayTemplatesCreateResponse parses an HTTP response from a DcimDeviceBayTemplatesCreateWithResponse call func ParseDcimDeviceBayTemplatesCreateResponse(rsp *http.Response) (*DcimDeviceBayTemplatesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191069,7 +293776,7 @@ func ParseDcimDeviceBayTemplatesCreateResponse(rsp *http.Response) (*DcimDeviceB // ParseDcimDeviceBayTemplatesBulkUpdateResponse parses an HTTP response from a DcimDeviceBayTemplatesBulkUpdateWithResponse call func ParseDcimDeviceBayTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimDeviceBayTemplatesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191085,7 +293792,7 @@ func ParseDcimDeviceBayTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimDev // ParseDcimDeviceBayTemplatesDestroyResponse parses an HTTP response from a DcimDeviceBayTemplatesDestroyWithResponse call func ParseDcimDeviceBayTemplatesDestroyResponse(rsp *http.Response) (*DcimDeviceBayTemplatesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191101,7 +293808,7 @@ func ParseDcimDeviceBayTemplatesDestroyResponse(rsp *http.Response) (*DcimDevice // ParseDcimDeviceBayTemplatesRetrieveResponse parses an HTTP response from a DcimDeviceBayTemplatesRetrieveWithResponse call func ParseDcimDeviceBayTemplatesRetrieveResponse(rsp *http.Response) (*DcimDeviceBayTemplatesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191117,7 +293824,7 @@ func ParseDcimDeviceBayTemplatesRetrieveResponse(rsp *http.Response) (*DcimDevic // ParseDcimDeviceBayTemplatesPartialUpdateResponse parses an HTTP response from a DcimDeviceBayTemplatesPartialUpdateWithResponse call func ParseDcimDeviceBayTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimDeviceBayTemplatesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191133,7 +293840,7 @@ func ParseDcimDeviceBayTemplatesPartialUpdateResponse(rsp *http.Response) (*Dcim // ParseDcimDeviceBayTemplatesUpdateResponse parses an HTTP response from a DcimDeviceBayTemplatesUpdateWithResponse call func ParseDcimDeviceBayTemplatesUpdateResponse(rsp *http.Response) (*DcimDeviceBayTemplatesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191147,9 +293854,41 @@ func ParseDcimDeviceBayTemplatesUpdateResponse(rsp *http.Response) (*DcimDeviceB return response, nil } +// ParseDcimDeviceBayTemplatesNotesListResponse parses an HTTP response from a DcimDeviceBayTemplatesNotesListWithResponse call +func ParseDcimDeviceBayTemplatesNotesListResponse(rsp *http.Response) (*DcimDeviceBayTemplatesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBayTemplatesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceBayTemplatesNotesCreateResponse parses an HTTP response from a DcimDeviceBayTemplatesNotesCreateWithResponse call +func ParseDcimDeviceBayTemplatesNotesCreateResponse(rsp *http.Response) (*DcimDeviceBayTemplatesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBayTemplatesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimDeviceBaysBulkDestroyResponse parses an HTTP response from a DcimDeviceBaysBulkDestroyWithResponse call func ParseDcimDeviceBaysBulkDestroyResponse(rsp *http.Response) (*DcimDeviceBaysBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191165,7 +293904,7 @@ func ParseDcimDeviceBaysBulkDestroyResponse(rsp *http.Response) (*DcimDeviceBays // ParseDcimDeviceBaysListResponse parses an HTTP response from a DcimDeviceBaysListWithResponse call func ParseDcimDeviceBaysListResponse(rsp *http.Response) (*DcimDeviceBaysListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191181,7 +293920,7 @@ func ParseDcimDeviceBaysListResponse(rsp *http.Response) (*DcimDeviceBaysListRes // ParseDcimDeviceBaysBulkPartialUpdateResponse parses an HTTP response from a DcimDeviceBaysBulkPartialUpdateWithResponse call func ParseDcimDeviceBaysBulkPartialUpdateResponse(rsp *http.Response) (*DcimDeviceBaysBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191197,7 +293936,7 @@ func ParseDcimDeviceBaysBulkPartialUpdateResponse(rsp *http.Response) (*DcimDevi // ParseDcimDeviceBaysCreateResponse parses an HTTP response from a DcimDeviceBaysCreateWithResponse call func ParseDcimDeviceBaysCreateResponse(rsp *http.Response) (*DcimDeviceBaysCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191213,7 +293952,7 @@ func ParseDcimDeviceBaysCreateResponse(rsp *http.Response) (*DcimDeviceBaysCreat // ParseDcimDeviceBaysBulkUpdateResponse parses an HTTP response from a DcimDeviceBaysBulkUpdateWithResponse call func ParseDcimDeviceBaysBulkUpdateResponse(rsp *http.Response) (*DcimDeviceBaysBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191229,7 +293968,7 @@ func ParseDcimDeviceBaysBulkUpdateResponse(rsp *http.Response) (*DcimDeviceBaysB // ParseDcimDeviceBaysDestroyResponse parses an HTTP response from a DcimDeviceBaysDestroyWithResponse call func ParseDcimDeviceBaysDestroyResponse(rsp *http.Response) (*DcimDeviceBaysDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191245,7 +293984,7 @@ func ParseDcimDeviceBaysDestroyResponse(rsp *http.Response) (*DcimDeviceBaysDest // ParseDcimDeviceBaysRetrieveResponse parses an HTTP response from a DcimDeviceBaysRetrieveWithResponse call func ParseDcimDeviceBaysRetrieveResponse(rsp *http.Response) (*DcimDeviceBaysRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191261,7 +294000,7 @@ func ParseDcimDeviceBaysRetrieveResponse(rsp *http.Response) (*DcimDeviceBaysRet // ParseDcimDeviceBaysPartialUpdateResponse parses an HTTP response from a DcimDeviceBaysPartialUpdateWithResponse call func ParseDcimDeviceBaysPartialUpdateResponse(rsp *http.Response) (*DcimDeviceBaysPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191277,7 +294016,7 @@ func ParseDcimDeviceBaysPartialUpdateResponse(rsp *http.Response) (*DcimDeviceBa // ParseDcimDeviceBaysUpdateResponse parses an HTTP response from a DcimDeviceBaysUpdateWithResponse call func ParseDcimDeviceBaysUpdateResponse(rsp *http.Response) (*DcimDeviceBaysUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191291,9 +294030,217 @@ func ParseDcimDeviceBaysUpdateResponse(rsp *http.Response) (*DcimDeviceBaysUpdat return response, nil } +// ParseDcimDeviceBaysNotesListResponse parses an HTTP response from a DcimDeviceBaysNotesListWithResponse call +func ParseDcimDeviceBaysNotesListResponse(rsp *http.Response) (*DcimDeviceBaysNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBaysNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceBaysNotesCreateResponse parses an HTTP response from a DcimDeviceBaysNotesCreateWithResponse call +func ParseDcimDeviceBaysNotesCreateResponse(rsp *http.Response) (*DcimDeviceBaysNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceBaysNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceRedundancyGroupsBulkDestroyResponse parses an HTTP response from a DcimDeviceRedundancyGroupsBulkDestroyWithResponse call +func ParseDcimDeviceRedundancyGroupsBulkDestroyResponse(rsp *http.Response) (*DcimDeviceRedundancyGroupsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRedundancyGroupsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceRedundancyGroupsListResponse parses an HTTP response from a DcimDeviceRedundancyGroupsListWithResponse call +func ParseDcimDeviceRedundancyGroupsListResponse(rsp *http.Response) (*DcimDeviceRedundancyGroupsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRedundancyGroupsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceRedundancyGroupsBulkPartialUpdateResponse parses an HTTP response from a DcimDeviceRedundancyGroupsBulkPartialUpdateWithResponse call +func ParseDcimDeviceRedundancyGroupsBulkPartialUpdateResponse(rsp *http.Response) (*DcimDeviceRedundancyGroupsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRedundancyGroupsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceRedundancyGroupsCreateResponse parses an HTTP response from a DcimDeviceRedundancyGroupsCreateWithResponse call +func ParseDcimDeviceRedundancyGroupsCreateResponse(rsp *http.Response) (*DcimDeviceRedundancyGroupsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRedundancyGroupsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceRedundancyGroupsBulkUpdateResponse parses an HTTP response from a DcimDeviceRedundancyGroupsBulkUpdateWithResponse call +func ParseDcimDeviceRedundancyGroupsBulkUpdateResponse(rsp *http.Response) (*DcimDeviceRedundancyGroupsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRedundancyGroupsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceRedundancyGroupsDestroyResponse parses an HTTP response from a DcimDeviceRedundancyGroupsDestroyWithResponse call +func ParseDcimDeviceRedundancyGroupsDestroyResponse(rsp *http.Response) (*DcimDeviceRedundancyGroupsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRedundancyGroupsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceRedundancyGroupsRetrieveResponse parses an HTTP response from a DcimDeviceRedundancyGroupsRetrieveWithResponse call +func ParseDcimDeviceRedundancyGroupsRetrieveResponse(rsp *http.Response) (*DcimDeviceRedundancyGroupsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRedundancyGroupsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceRedundancyGroupsPartialUpdateResponse parses an HTTP response from a DcimDeviceRedundancyGroupsPartialUpdateWithResponse call +func ParseDcimDeviceRedundancyGroupsPartialUpdateResponse(rsp *http.Response) (*DcimDeviceRedundancyGroupsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRedundancyGroupsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceRedundancyGroupsUpdateResponse parses an HTTP response from a DcimDeviceRedundancyGroupsUpdateWithResponse call +func ParseDcimDeviceRedundancyGroupsUpdateResponse(rsp *http.Response) (*DcimDeviceRedundancyGroupsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRedundancyGroupsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceRedundancyGroupsNotesListResponse parses an HTTP response from a DcimDeviceRedundancyGroupsNotesListWithResponse call +func ParseDcimDeviceRedundancyGroupsNotesListResponse(rsp *http.Response) (*DcimDeviceRedundancyGroupsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRedundancyGroupsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceRedundancyGroupsNotesCreateResponse parses an HTTP response from a DcimDeviceRedundancyGroupsNotesCreateWithResponse call +func ParseDcimDeviceRedundancyGroupsNotesCreateResponse(rsp *http.Response) (*DcimDeviceRedundancyGroupsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRedundancyGroupsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimDeviceRolesBulkDestroyResponse parses an HTTP response from a DcimDeviceRolesBulkDestroyWithResponse call func ParseDcimDeviceRolesBulkDestroyResponse(rsp *http.Response) (*DcimDeviceRolesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191309,7 +294256,7 @@ func ParseDcimDeviceRolesBulkDestroyResponse(rsp *http.Response) (*DcimDeviceRol // ParseDcimDeviceRolesListResponse parses an HTTP response from a DcimDeviceRolesListWithResponse call func ParseDcimDeviceRolesListResponse(rsp *http.Response) (*DcimDeviceRolesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191325,7 +294272,7 @@ func ParseDcimDeviceRolesListResponse(rsp *http.Response) (*DcimDeviceRolesListR // ParseDcimDeviceRolesBulkPartialUpdateResponse parses an HTTP response from a DcimDeviceRolesBulkPartialUpdateWithResponse call func ParseDcimDeviceRolesBulkPartialUpdateResponse(rsp *http.Response) (*DcimDeviceRolesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191341,7 +294288,7 @@ func ParseDcimDeviceRolesBulkPartialUpdateResponse(rsp *http.Response) (*DcimDev // ParseDcimDeviceRolesCreateResponse parses an HTTP response from a DcimDeviceRolesCreateWithResponse call func ParseDcimDeviceRolesCreateResponse(rsp *http.Response) (*DcimDeviceRolesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191357,7 +294304,7 @@ func ParseDcimDeviceRolesCreateResponse(rsp *http.Response) (*DcimDeviceRolesCre // ParseDcimDeviceRolesBulkUpdateResponse parses an HTTP response from a DcimDeviceRolesBulkUpdateWithResponse call func ParseDcimDeviceRolesBulkUpdateResponse(rsp *http.Response) (*DcimDeviceRolesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191373,7 +294320,7 @@ func ParseDcimDeviceRolesBulkUpdateResponse(rsp *http.Response) (*DcimDeviceRole // ParseDcimDeviceRolesDestroyResponse parses an HTTP response from a DcimDeviceRolesDestroyWithResponse call func ParseDcimDeviceRolesDestroyResponse(rsp *http.Response) (*DcimDeviceRolesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191389,7 +294336,7 @@ func ParseDcimDeviceRolesDestroyResponse(rsp *http.Response) (*DcimDeviceRolesDe // ParseDcimDeviceRolesRetrieveResponse parses an HTTP response from a DcimDeviceRolesRetrieveWithResponse call func ParseDcimDeviceRolesRetrieveResponse(rsp *http.Response) (*DcimDeviceRolesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191405,7 +294352,7 @@ func ParseDcimDeviceRolesRetrieveResponse(rsp *http.Response) (*DcimDeviceRolesR // ParseDcimDeviceRolesPartialUpdateResponse parses an HTTP response from a DcimDeviceRolesPartialUpdateWithResponse call func ParseDcimDeviceRolesPartialUpdateResponse(rsp *http.Response) (*DcimDeviceRolesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191421,7 +294368,7 @@ func ParseDcimDeviceRolesPartialUpdateResponse(rsp *http.Response) (*DcimDeviceR // ParseDcimDeviceRolesUpdateResponse parses an HTTP response from a DcimDeviceRolesUpdateWithResponse call func ParseDcimDeviceRolesUpdateResponse(rsp *http.Response) (*DcimDeviceRolesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191435,9 +294382,41 @@ func ParseDcimDeviceRolesUpdateResponse(rsp *http.Response) (*DcimDeviceRolesUpd return response, nil } +// ParseDcimDeviceRolesNotesListResponse parses an HTTP response from a DcimDeviceRolesNotesListWithResponse call +func ParseDcimDeviceRolesNotesListResponse(rsp *http.Response) (*DcimDeviceRolesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRolesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceRolesNotesCreateResponse parses an HTTP response from a DcimDeviceRolesNotesCreateWithResponse call +func ParseDcimDeviceRolesNotesCreateResponse(rsp *http.Response) (*DcimDeviceRolesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceRolesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimDeviceTypesBulkDestroyResponse parses an HTTP response from a DcimDeviceTypesBulkDestroyWithResponse call func ParseDcimDeviceTypesBulkDestroyResponse(rsp *http.Response) (*DcimDeviceTypesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191453,7 +294432,7 @@ func ParseDcimDeviceTypesBulkDestroyResponse(rsp *http.Response) (*DcimDeviceTyp // ParseDcimDeviceTypesListResponse parses an HTTP response from a DcimDeviceTypesListWithResponse call func ParseDcimDeviceTypesListResponse(rsp *http.Response) (*DcimDeviceTypesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191469,7 +294448,7 @@ func ParseDcimDeviceTypesListResponse(rsp *http.Response) (*DcimDeviceTypesListR // ParseDcimDeviceTypesBulkPartialUpdateResponse parses an HTTP response from a DcimDeviceTypesBulkPartialUpdateWithResponse call func ParseDcimDeviceTypesBulkPartialUpdateResponse(rsp *http.Response) (*DcimDeviceTypesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191485,7 +294464,7 @@ func ParseDcimDeviceTypesBulkPartialUpdateResponse(rsp *http.Response) (*DcimDev // ParseDcimDeviceTypesCreateResponse parses an HTTP response from a DcimDeviceTypesCreateWithResponse call func ParseDcimDeviceTypesCreateResponse(rsp *http.Response) (*DcimDeviceTypesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191501,7 +294480,7 @@ func ParseDcimDeviceTypesCreateResponse(rsp *http.Response) (*DcimDeviceTypesCre // ParseDcimDeviceTypesBulkUpdateResponse parses an HTTP response from a DcimDeviceTypesBulkUpdateWithResponse call func ParseDcimDeviceTypesBulkUpdateResponse(rsp *http.Response) (*DcimDeviceTypesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191517,7 +294496,7 @@ func ParseDcimDeviceTypesBulkUpdateResponse(rsp *http.Response) (*DcimDeviceType // ParseDcimDeviceTypesDestroyResponse parses an HTTP response from a DcimDeviceTypesDestroyWithResponse call func ParseDcimDeviceTypesDestroyResponse(rsp *http.Response) (*DcimDeviceTypesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191533,7 +294512,7 @@ func ParseDcimDeviceTypesDestroyResponse(rsp *http.Response) (*DcimDeviceTypesDe // ParseDcimDeviceTypesRetrieveResponse parses an HTTP response from a DcimDeviceTypesRetrieveWithResponse call func ParseDcimDeviceTypesRetrieveResponse(rsp *http.Response) (*DcimDeviceTypesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191549,7 +294528,7 @@ func ParseDcimDeviceTypesRetrieveResponse(rsp *http.Response) (*DcimDeviceTypesR // ParseDcimDeviceTypesPartialUpdateResponse parses an HTTP response from a DcimDeviceTypesPartialUpdateWithResponse call func ParseDcimDeviceTypesPartialUpdateResponse(rsp *http.Response) (*DcimDeviceTypesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191565,7 +294544,7 @@ func ParseDcimDeviceTypesPartialUpdateResponse(rsp *http.Response) (*DcimDeviceT // ParseDcimDeviceTypesUpdateResponse parses an HTTP response from a DcimDeviceTypesUpdateWithResponse call func ParseDcimDeviceTypesUpdateResponse(rsp *http.Response) (*DcimDeviceTypesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191579,9 +294558,41 @@ func ParseDcimDeviceTypesUpdateResponse(rsp *http.Response) (*DcimDeviceTypesUpd return response, nil } +// ParseDcimDeviceTypesNotesListResponse parses an HTTP response from a DcimDeviceTypesNotesListWithResponse call +func ParseDcimDeviceTypesNotesListResponse(rsp *http.Response) (*DcimDeviceTypesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceTypesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDeviceTypesNotesCreateResponse parses an HTTP response from a DcimDeviceTypesNotesCreateWithResponse call +func ParseDcimDeviceTypesNotesCreateResponse(rsp *http.Response) (*DcimDeviceTypesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDeviceTypesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimDevicesBulkDestroyResponse parses an HTTP response from a DcimDevicesBulkDestroyWithResponse call func ParseDcimDevicesBulkDestroyResponse(rsp *http.Response) (*DcimDevicesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191597,7 +294608,7 @@ func ParseDcimDevicesBulkDestroyResponse(rsp *http.Response) (*DcimDevicesBulkDe // ParseDcimDevicesListResponse parses an HTTP response from a DcimDevicesListWithResponse call func ParseDcimDevicesListResponse(rsp *http.Response) (*DcimDevicesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191613,7 +294624,7 @@ func ParseDcimDevicesListResponse(rsp *http.Response) (*DcimDevicesListResponse, // ParseDcimDevicesBulkPartialUpdateResponse parses an HTTP response from a DcimDevicesBulkPartialUpdateWithResponse call func ParseDcimDevicesBulkPartialUpdateResponse(rsp *http.Response) (*DcimDevicesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191629,7 +294640,7 @@ func ParseDcimDevicesBulkPartialUpdateResponse(rsp *http.Response) (*DcimDevices // ParseDcimDevicesCreateResponse parses an HTTP response from a DcimDevicesCreateWithResponse call func ParseDcimDevicesCreateResponse(rsp *http.Response) (*DcimDevicesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191645,7 +294656,7 @@ func ParseDcimDevicesCreateResponse(rsp *http.Response) (*DcimDevicesCreateRespo // ParseDcimDevicesBulkUpdateResponse parses an HTTP response from a DcimDevicesBulkUpdateWithResponse call func ParseDcimDevicesBulkUpdateResponse(rsp *http.Response) (*DcimDevicesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191661,7 +294672,7 @@ func ParseDcimDevicesBulkUpdateResponse(rsp *http.Response) (*DcimDevicesBulkUpd // ParseDcimDevicesDestroyResponse parses an HTTP response from a DcimDevicesDestroyWithResponse call func ParseDcimDevicesDestroyResponse(rsp *http.Response) (*DcimDevicesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191677,7 +294688,7 @@ func ParseDcimDevicesDestroyResponse(rsp *http.Response) (*DcimDevicesDestroyRes // ParseDcimDevicesRetrieveResponse parses an HTTP response from a DcimDevicesRetrieveWithResponse call func ParseDcimDevicesRetrieveResponse(rsp *http.Response) (*DcimDevicesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191693,7 +294704,7 @@ func ParseDcimDevicesRetrieveResponse(rsp *http.Response) (*DcimDevicesRetrieveR // ParseDcimDevicesPartialUpdateResponse parses an HTTP response from a DcimDevicesPartialUpdateWithResponse call func ParseDcimDevicesPartialUpdateResponse(rsp *http.Response) (*DcimDevicesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191709,7 +294720,7 @@ func ParseDcimDevicesPartialUpdateResponse(rsp *http.Response) (*DcimDevicesPart // ParseDcimDevicesUpdateResponse parses an HTTP response from a DcimDevicesUpdateWithResponse call func ParseDcimDevicesUpdateResponse(rsp *http.Response) (*DcimDevicesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191725,7 +294736,7 @@ func ParseDcimDevicesUpdateResponse(rsp *http.Response) (*DcimDevicesUpdateRespo // ParseDcimDevicesNapalmRetrieveResponse parses an HTTP response from a DcimDevicesNapalmRetrieveWithResponse call func ParseDcimDevicesNapalmRetrieveResponse(rsp *http.Response) (*DcimDevicesNapalmRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191739,9 +294750,41 @@ func ParseDcimDevicesNapalmRetrieveResponse(rsp *http.Response) (*DcimDevicesNap return response, nil } +// ParseDcimDevicesNotesListResponse parses an HTTP response from a DcimDevicesNotesListWithResponse call +func ParseDcimDevicesNotesListResponse(rsp *http.Response) (*DcimDevicesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDevicesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimDevicesNotesCreateResponse parses an HTTP response from a DcimDevicesNotesCreateWithResponse call +func ParseDcimDevicesNotesCreateResponse(rsp *http.Response) (*DcimDevicesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimDevicesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimFrontPortTemplatesBulkDestroyResponse parses an HTTP response from a DcimFrontPortTemplatesBulkDestroyWithResponse call func ParseDcimFrontPortTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimFrontPortTemplatesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191757,7 +294800,7 @@ func ParseDcimFrontPortTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimFr // ParseDcimFrontPortTemplatesListResponse parses an HTTP response from a DcimFrontPortTemplatesListWithResponse call func ParseDcimFrontPortTemplatesListResponse(rsp *http.Response) (*DcimFrontPortTemplatesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191773,7 +294816,7 @@ func ParseDcimFrontPortTemplatesListResponse(rsp *http.Response) (*DcimFrontPort // ParseDcimFrontPortTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimFrontPortTemplatesBulkPartialUpdateWithResponse call func ParseDcimFrontPortTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimFrontPortTemplatesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191789,7 +294832,7 @@ func ParseDcimFrontPortTemplatesBulkPartialUpdateResponse(rsp *http.Response) (* // ParseDcimFrontPortTemplatesCreateResponse parses an HTTP response from a DcimFrontPortTemplatesCreateWithResponse call func ParseDcimFrontPortTemplatesCreateResponse(rsp *http.Response) (*DcimFrontPortTemplatesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191805,7 +294848,7 @@ func ParseDcimFrontPortTemplatesCreateResponse(rsp *http.Response) (*DcimFrontPo // ParseDcimFrontPortTemplatesBulkUpdateResponse parses an HTTP response from a DcimFrontPortTemplatesBulkUpdateWithResponse call func ParseDcimFrontPortTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimFrontPortTemplatesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191821,7 +294864,7 @@ func ParseDcimFrontPortTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimFro // ParseDcimFrontPortTemplatesDestroyResponse parses an HTTP response from a DcimFrontPortTemplatesDestroyWithResponse call func ParseDcimFrontPortTemplatesDestroyResponse(rsp *http.Response) (*DcimFrontPortTemplatesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191837,7 +294880,7 @@ func ParseDcimFrontPortTemplatesDestroyResponse(rsp *http.Response) (*DcimFrontP // ParseDcimFrontPortTemplatesRetrieveResponse parses an HTTP response from a DcimFrontPortTemplatesRetrieveWithResponse call func ParseDcimFrontPortTemplatesRetrieveResponse(rsp *http.Response) (*DcimFrontPortTemplatesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191853,7 +294896,7 @@ func ParseDcimFrontPortTemplatesRetrieveResponse(rsp *http.Response) (*DcimFront // ParseDcimFrontPortTemplatesPartialUpdateResponse parses an HTTP response from a DcimFrontPortTemplatesPartialUpdateWithResponse call func ParseDcimFrontPortTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimFrontPortTemplatesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191869,7 +294912,7 @@ func ParseDcimFrontPortTemplatesPartialUpdateResponse(rsp *http.Response) (*Dcim // ParseDcimFrontPortTemplatesUpdateResponse parses an HTTP response from a DcimFrontPortTemplatesUpdateWithResponse call func ParseDcimFrontPortTemplatesUpdateResponse(rsp *http.Response) (*DcimFrontPortTemplatesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191883,9 +294926,41 @@ func ParseDcimFrontPortTemplatesUpdateResponse(rsp *http.Response) (*DcimFrontPo return response, nil } +// ParseDcimFrontPortTemplatesNotesListResponse parses an HTTP response from a DcimFrontPortTemplatesNotesListWithResponse call +func ParseDcimFrontPortTemplatesNotesListResponse(rsp *http.Response) (*DcimFrontPortTemplatesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortTemplatesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimFrontPortTemplatesNotesCreateResponse parses an HTTP response from a DcimFrontPortTemplatesNotesCreateWithResponse call +func ParseDcimFrontPortTemplatesNotesCreateResponse(rsp *http.Response) (*DcimFrontPortTemplatesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortTemplatesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimFrontPortsBulkDestroyResponse parses an HTTP response from a DcimFrontPortsBulkDestroyWithResponse call func ParseDcimFrontPortsBulkDestroyResponse(rsp *http.Response) (*DcimFrontPortsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191901,7 +294976,7 @@ func ParseDcimFrontPortsBulkDestroyResponse(rsp *http.Response) (*DcimFrontPorts // ParseDcimFrontPortsListResponse parses an HTTP response from a DcimFrontPortsListWithResponse call func ParseDcimFrontPortsListResponse(rsp *http.Response) (*DcimFrontPortsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191917,7 +294992,7 @@ func ParseDcimFrontPortsListResponse(rsp *http.Response) (*DcimFrontPortsListRes // ParseDcimFrontPortsBulkPartialUpdateResponse parses an HTTP response from a DcimFrontPortsBulkPartialUpdateWithResponse call func ParseDcimFrontPortsBulkPartialUpdateResponse(rsp *http.Response) (*DcimFrontPortsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191933,7 +295008,7 @@ func ParseDcimFrontPortsBulkPartialUpdateResponse(rsp *http.Response) (*DcimFron // ParseDcimFrontPortsCreateResponse parses an HTTP response from a DcimFrontPortsCreateWithResponse call func ParseDcimFrontPortsCreateResponse(rsp *http.Response) (*DcimFrontPortsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191949,7 +295024,7 @@ func ParseDcimFrontPortsCreateResponse(rsp *http.Response) (*DcimFrontPortsCreat // ParseDcimFrontPortsBulkUpdateResponse parses an HTTP response from a DcimFrontPortsBulkUpdateWithResponse call func ParseDcimFrontPortsBulkUpdateResponse(rsp *http.Response) (*DcimFrontPortsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191965,7 +295040,7 @@ func ParseDcimFrontPortsBulkUpdateResponse(rsp *http.Response) (*DcimFrontPortsB // ParseDcimFrontPortsDestroyResponse parses an HTTP response from a DcimFrontPortsDestroyWithResponse call func ParseDcimFrontPortsDestroyResponse(rsp *http.Response) (*DcimFrontPortsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191981,7 +295056,7 @@ func ParseDcimFrontPortsDestroyResponse(rsp *http.Response) (*DcimFrontPortsDest // ParseDcimFrontPortsRetrieveResponse parses an HTTP response from a DcimFrontPortsRetrieveWithResponse call func ParseDcimFrontPortsRetrieveResponse(rsp *http.Response) (*DcimFrontPortsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -191997,7 +295072,7 @@ func ParseDcimFrontPortsRetrieveResponse(rsp *http.Response) (*DcimFrontPortsRet // ParseDcimFrontPortsPartialUpdateResponse parses an HTTP response from a DcimFrontPortsPartialUpdateWithResponse call func ParseDcimFrontPortsPartialUpdateResponse(rsp *http.Response) (*DcimFrontPortsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192013,7 +295088,7 @@ func ParseDcimFrontPortsPartialUpdateResponse(rsp *http.Response) (*DcimFrontPor // ParseDcimFrontPortsUpdateResponse parses an HTTP response from a DcimFrontPortsUpdateWithResponse call func ParseDcimFrontPortsUpdateResponse(rsp *http.Response) (*DcimFrontPortsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192027,9 +295102,41 @@ func ParseDcimFrontPortsUpdateResponse(rsp *http.Response) (*DcimFrontPortsUpdat return response, nil } +// ParseDcimFrontPortsNotesListResponse parses an HTTP response from a DcimFrontPortsNotesListWithResponse call +func ParseDcimFrontPortsNotesListResponse(rsp *http.Response) (*DcimFrontPortsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimFrontPortsNotesCreateResponse parses an HTTP response from a DcimFrontPortsNotesCreateWithResponse call +func ParseDcimFrontPortsNotesCreateResponse(rsp *http.Response) (*DcimFrontPortsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimFrontPortsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimFrontPortsPathsRetrieveResponse parses an HTTP response from a DcimFrontPortsPathsRetrieveWithResponse call func ParseDcimFrontPortsPathsRetrieveResponse(rsp *http.Response) (*DcimFrontPortsPathsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192045,7 +295152,7 @@ func ParseDcimFrontPortsPathsRetrieveResponse(rsp *http.Response) (*DcimFrontPor // ParseDcimInterfaceConnectionsListResponse parses an HTTP response from a DcimInterfaceConnectionsListWithResponse call func ParseDcimInterfaceConnectionsListResponse(rsp *http.Response) (*DcimInterfaceConnectionsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192061,7 +295168,7 @@ func ParseDcimInterfaceConnectionsListResponse(rsp *http.Response) (*DcimInterfa // ParseDcimInterfaceTemplatesBulkDestroyResponse parses an HTTP response from a DcimInterfaceTemplatesBulkDestroyWithResponse call func ParseDcimInterfaceTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimInterfaceTemplatesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192077,7 +295184,7 @@ func ParseDcimInterfaceTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimIn // ParseDcimInterfaceTemplatesListResponse parses an HTTP response from a DcimInterfaceTemplatesListWithResponse call func ParseDcimInterfaceTemplatesListResponse(rsp *http.Response) (*DcimInterfaceTemplatesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192093,7 +295200,7 @@ func ParseDcimInterfaceTemplatesListResponse(rsp *http.Response) (*DcimInterface // ParseDcimInterfaceTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimInterfaceTemplatesBulkPartialUpdateWithResponse call func ParseDcimInterfaceTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimInterfaceTemplatesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192109,7 +295216,7 @@ func ParseDcimInterfaceTemplatesBulkPartialUpdateResponse(rsp *http.Response) (* // ParseDcimInterfaceTemplatesCreateResponse parses an HTTP response from a DcimInterfaceTemplatesCreateWithResponse call func ParseDcimInterfaceTemplatesCreateResponse(rsp *http.Response) (*DcimInterfaceTemplatesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192125,7 +295232,7 @@ func ParseDcimInterfaceTemplatesCreateResponse(rsp *http.Response) (*DcimInterfa // ParseDcimInterfaceTemplatesBulkUpdateResponse parses an HTTP response from a DcimInterfaceTemplatesBulkUpdateWithResponse call func ParseDcimInterfaceTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimInterfaceTemplatesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192141,7 +295248,7 @@ func ParseDcimInterfaceTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimInt // ParseDcimInterfaceTemplatesDestroyResponse parses an HTTP response from a DcimInterfaceTemplatesDestroyWithResponse call func ParseDcimInterfaceTemplatesDestroyResponse(rsp *http.Response) (*DcimInterfaceTemplatesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192157,7 +295264,7 @@ func ParseDcimInterfaceTemplatesDestroyResponse(rsp *http.Response) (*DcimInterf // ParseDcimInterfaceTemplatesRetrieveResponse parses an HTTP response from a DcimInterfaceTemplatesRetrieveWithResponse call func ParseDcimInterfaceTemplatesRetrieveResponse(rsp *http.Response) (*DcimInterfaceTemplatesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192173,7 +295280,7 @@ func ParseDcimInterfaceTemplatesRetrieveResponse(rsp *http.Response) (*DcimInter // ParseDcimInterfaceTemplatesPartialUpdateResponse parses an HTTP response from a DcimInterfaceTemplatesPartialUpdateWithResponse call func ParseDcimInterfaceTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimInterfaceTemplatesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192189,7 +295296,7 @@ func ParseDcimInterfaceTemplatesPartialUpdateResponse(rsp *http.Response) (*Dcim // ParseDcimInterfaceTemplatesUpdateResponse parses an HTTP response from a DcimInterfaceTemplatesUpdateWithResponse call func ParseDcimInterfaceTemplatesUpdateResponse(rsp *http.Response) (*DcimInterfaceTemplatesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192203,9 +295310,41 @@ func ParseDcimInterfaceTemplatesUpdateResponse(rsp *http.Response) (*DcimInterfa return response, nil } +// ParseDcimInterfaceTemplatesNotesListResponse parses an HTTP response from a DcimInterfaceTemplatesNotesListWithResponse call +func ParseDcimInterfaceTemplatesNotesListResponse(rsp *http.Response) (*DcimInterfaceTemplatesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfaceTemplatesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInterfaceTemplatesNotesCreateResponse parses an HTTP response from a DcimInterfaceTemplatesNotesCreateWithResponse call +func ParseDcimInterfaceTemplatesNotesCreateResponse(rsp *http.Response) (*DcimInterfaceTemplatesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfaceTemplatesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimInterfacesBulkDestroyResponse parses an HTTP response from a DcimInterfacesBulkDestroyWithResponse call func ParseDcimInterfacesBulkDestroyResponse(rsp *http.Response) (*DcimInterfacesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192221,7 +295360,7 @@ func ParseDcimInterfacesBulkDestroyResponse(rsp *http.Response) (*DcimInterfaces // ParseDcimInterfacesListResponse parses an HTTP response from a DcimInterfacesListWithResponse call func ParseDcimInterfacesListResponse(rsp *http.Response) (*DcimInterfacesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192237,7 +295376,7 @@ func ParseDcimInterfacesListResponse(rsp *http.Response) (*DcimInterfacesListRes // ParseDcimInterfacesBulkPartialUpdateResponse parses an HTTP response from a DcimInterfacesBulkPartialUpdateWithResponse call func ParseDcimInterfacesBulkPartialUpdateResponse(rsp *http.Response) (*DcimInterfacesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192253,7 +295392,7 @@ func ParseDcimInterfacesBulkPartialUpdateResponse(rsp *http.Response) (*DcimInte // ParseDcimInterfacesCreateResponse parses an HTTP response from a DcimInterfacesCreateWithResponse call func ParseDcimInterfacesCreateResponse(rsp *http.Response) (*DcimInterfacesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192269,7 +295408,7 @@ func ParseDcimInterfacesCreateResponse(rsp *http.Response) (*DcimInterfacesCreat // ParseDcimInterfacesBulkUpdateResponse parses an HTTP response from a DcimInterfacesBulkUpdateWithResponse call func ParseDcimInterfacesBulkUpdateResponse(rsp *http.Response) (*DcimInterfacesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192285,7 +295424,7 @@ func ParseDcimInterfacesBulkUpdateResponse(rsp *http.Response) (*DcimInterfacesB // ParseDcimInterfacesDestroyResponse parses an HTTP response from a DcimInterfacesDestroyWithResponse call func ParseDcimInterfacesDestroyResponse(rsp *http.Response) (*DcimInterfacesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192301,7 +295440,7 @@ func ParseDcimInterfacesDestroyResponse(rsp *http.Response) (*DcimInterfacesDest // ParseDcimInterfacesRetrieveResponse parses an HTTP response from a DcimInterfacesRetrieveWithResponse call func ParseDcimInterfacesRetrieveResponse(rsp *http.Response) (*DcimInterfacesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192317,7 +295456,7 @@ func ParseDcimInterfacesRetrieveResponse(rsp *http.Response) (*DcimInterfacesRet // ParseDcimInterfacesPartialUpdateResponse parses an HTTP response from a DcimInterfacesPartialUpdateWithResponse call func ParseDcimInterfacesPartialUpdateResponse(rsp *http.Response) (*DcimInterfacesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192333,7 +295472,7 @@ func ParseDcimInterfacesPartialUpdateResponse(rsp *http.Response) (*DcimInterfac // ParseDcimInterfacesUpdateResponse parses an HTTP response from a DcimInterfacesUpdateWithResponse call func ParseDcimInterfacesUpdateResponse(rsp *http.Response) (*DcimInterfacesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192347,9 +295486,41 @@ func ParseDcimInterfacesUpdateResponse(rsp *http.Response) (*DcimInterfacesUpdat return response, nil } +// ParseDcimInterfacesNotesListResponse parses an HTTP response from a DcimInterfacesNotesListWithResponse call +func ParseDcimInterfacesNotesListResponse(rsp *http.Response) (*DcimInterfacesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfacesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInterfacesNotesCreateResponse parses an HTTP response from a DcimInterfacesNotesCreateWithResponse call +func ParseDcimInterfacesNotesCreateResponse(rsp *http.Response) (*DcimInterfacesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInterfacesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimInterfacesTraceRetrieveResponse parses an HTTP response from a DcimInterfacesTraceRetrieveWithResponse call func ParseDcimInterfacesTraceRetrieveResponse(rsp *http.Response) (*DcimInterfacesTraceRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192365,7 +295536,7 @@ func ParseDcimInterfacesTraceRetrieveResponse(rsp *http.Response) (*DcimInterfac // ParseDcimInventoryItemsBulkDestroyResponse parses an HTTP response from a DcimInventoryItemsBulkDestroyWithResponse call func ParseDcimInventoryItemsBulkDestroyResponse(rsp *http.Response) (*DcimInventoryItemsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192381,7 +295552,7 @@ func ParseDcimInventoryItemsBulkDestroyResponse(rsp *http.Response) (*DcimInvent // ParseDcimInventoryItemsListResponse parses an HTTP response from a DcimInventoryItemsListWithResponse call func ParseDcimInventoryItemsListResponse(rsp *http.Response) (*DcimInventoryItemsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192397,7 +295568,7 @@ func ParseDcimInventoryItemsListResponse(rsp *http.Response) (*DcimInventoryItem // ParseDcimInventoryItemsBulkPartialUpdateResponse parses an HTTP response from a DcimInventoryItemsBulkPartialUpdateWithResponse call func ParseDcimInventoryItemsBulkPartialUpdateResponse(rsp *http.Response) (*DcimInventoryItemsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192413,7 +295584,7 @@ func ParseDcimInventoryItemsBulkPartialUpdateResponse(rsp *http.Response) (*Dcim // ParseDcimInventoryItemsCreateResponse parses an HTTP response from a DcimInventoryItemsCreateWithResponse call func ParseDcimInventoryItemsCreateResponse(rsp *http.Response) (*DcimInventoryItemsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192429,7 +295600,7 @@ func ParseDcimInventoryItemsCreateResponse(rsp *http.Response) (*DcimInventoryIt // ParseDcimInventoryItemsBulkUpdateResponse parses an HTTP response from a DcimInventoryItemsBulkUpdateWithResponse call func ParseDcimInventoryItemsBulkUpdateResponse(rsp *http.Response) (*DcimInventoryItemsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192445,7 +295616,7 @@ func ParseDcimInventoryItemsBulkUpdateResponse(rsp *http.Response) (*DcimInvento // ParseDcimInventoryItemsDestroyResponse parses an HTTP response from a DcimInventoryItemsDestroyWithResponse call func ParseDcimInventoryItemsDestroyResponse(rsp *http.Response) (*DcimInventoryItemsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192461,7 +295632,7 @@ func ParseDcimInventoryItemsDestroyResponse(rsp *http.Response) (*DcimInventoryI // ParseDcimInventoryItemsRetrieveResponse parses an HTTP response from a DcimInventoryItemsRetrieveWithResponse call func ParseDcimInventoryItemsRetrieveResponse(rsp *http.Response) (*DcimInventoryItemsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192477,7 +295648,7 @@ func ParseDcimInventoryItemsRetrieveResponse(rsp *http.Response) (*DcimInventory // ParseDcimInventoryItemsPartialUpdateResponse parses an HTTP response from a DcimInventoryItemsPartialUpdateWithResponse call func ParseDcimInventoryItemsPartialUpdateResponse(rsp *http.Response) (*DcimInventoryItemsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192493,7 +295664,7 @@ func ParseDcimInventoryItemsPartialUpdateResponse(rsp *http.Response) (*DcimInve // ParseDcimInventoryItemsUpdateResponse parses an HTTP response from a DcimInventoryItemsUpdateWithResponse call func ParseDcimInventoryItemsUpdateResponse(rsp *http.Response) (*DcimInventoryItemsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192507,9 +295678,393 @@ func ParseDcimInventoryItemsUpdateResponse(rsp *http.Response) (*DcimInventoryIt return response, nil } +// ParseDcimInventoryItemsNotesListResponse parses an HTTP response from a DcimInventoryItemsNotesListWithResponse call +func ParseDcimInventoryItemsNotesListResponse(rsp *http.Response) (*DcimInventoryItemsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimInventoryItemsNotesCreateResponse parses an HTTP response from a DcimInventoryItemsNotesCreateWithResponse call +func ParseDcimInventoryItemsNotesCreateResponse(rsp *http.Response) (*DcimInventoryItemsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimInventoryItemsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationTypesBulkDestroyResponse parses an HTTP response from a DcimLocationTypesBulkDestroyWithResponse call +func ParseDcimLocationTypesBulkDestroyResponse(rsp *http.Response) (*DcimLocationTypesBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationTypesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationTypesListResponse parses an HTTP response from a DcimLocationTypesListWithResponse call +func ParseDcimLocationTypesListResponse(rsp *http.Response) (*DcimLocationTypesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationTypesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationTypesBulkPartialUpdateResponse parses an HTTP response from a DcimLocationTypesBulkPartialUpdateWithResponse call +func ParseDcimLocationTypesBulkPartialUpdateResponse(rsp *http.Response) (*DcimLocationTypesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationTypesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationTypesCreateResponse parses an HTTP response from a DcimLocationTypesCreateWithResponse call +func ParseDcimLocationTypesCreateResponse(rsp *http.Response) (*DcimLocationTypesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationTypesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationTypesBulkUpdateResponse parses an HTTP response from a DcimLocationTypesBulkUpdateWithResponse call +func ParseDcimLocationTypesBulkUpdateResponse(rsp *http.Response) (*DcimLocationTypesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationTypesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationTypesDestroyResponse parses an HTTP response from a DcimLocationTypesDestroyWithResponse call +func ParseDcimLocationTypesDestroyResponse(rsp *http.Response) (*DcimLocationTypesDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationTypesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationTypesRetrieveResponse parses an HTTP response from a DcimLocationTypesRetrieveWithResponse call +func ParseDcimLocationTypesRetrieveResponse(rsp *http.Response) (*DcimLocationTypesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationTypesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationTypesPartialUpdateResponse parses an HTTP response from a DcimLocationTypesPartialUpdateWithResponse call +func ParseDcimLocationTypesPartialUpdateResponse(rsp *http.Response) (*DcimLocationTypesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationTypesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationTypesUpdateResponse parses an HTTP response from a DcimLocationTypesUpdateWithResponse call +func ParseDcimLocationTypesUpdateResponse(rsp *http.Response) (*DcimLocationTypesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationTypesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationTypesNotesListResponse parses an HTTP response from a DcimLocationTypesNotesListWithResponse call +func ParseDcimLocationTypesNotesListResponse(rsp *http.Response) (*DcimLocationTypesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationTypesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationTypesNotesCreateResponse parses an HTTP response from a DcimLocationTypesNotesCreateWithResponse call +func ParseDcimLocationTypesNotesCreateResponse(rsp *http.Response) (*DcimLocationTypesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationTypesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationsBulkDestroyResponse parses an HTTP response from a DcimLocationsBulkDestroyWithResponse call +func ParseDcimLocationsBulkDestroyResponse(rsp *http.Response) (*DcimLocationsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationsListResponse parses an HTTP response from a DcimLocationsListWithResponse call +func ParseDcimLocationsListResponse(rsp *http.Response) (*DcimLocationsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationsBulkPartialUpdateResponse parses an HTTP response from a DcimLocationsBulkPartialUpdateWithResponse call +func ParseDcimLocationsBulkPartialUpdateResponse(rsp *http.Response) (*DcimLocationsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationsCreateResponse parses an HTTP response from a DcimLocationsCreateWithResponse call +func ParseDcimLocationsCreateResponse(rsp *http.Response) (*DcimLocationsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationsBulkUpdateResponse parses an HTTP response from a DcimLocationsBulkUpdateWithResponse call +func ParseDcimLocationsBulkUpdateResponse(rsp *http.Response) (*DcimLocationsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationsDestroyResponse parses an HTTP response from a DcimLocationsDestroyWithResponse call +func ParseDcimLocationsDestroyResponse(rsp *http.Response) (*DcimLocationsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationsRetrieveResponse parses an HTTP response from a DcimLocationsRetrieveWithResponse call +func ParseDcimLocationsRetrieveResponse(rsp *http.Response) (*DcimLocationsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationsPartialUpdateResponse parses an HTTP response from a DcimLocationsPartialUpdateWithResponse call +func ParseDcimLocationsPartialUpdateResponse(rsp *http.Response) (*DcimLocationsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationsUpdateResponse parses an HTTP response from a DcimLocationsUpdateWithResponse call +func ParseDcimLocationsUpdateResponse(rsp *http.Response) (*DcimLocationsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationsNotesListResponse parses an HTTP response from a DcimLocationsNotesListWithResponse call +func ParseDcimLocationsNotesListResponse(rsp *http.Response) (*DcimLocationsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimLocationsNotesCreateResponse parses an HTTP response from a DcimLocationsNotesCreateWithResponse call +func ParseDcimLocationsNotesCreateResponse(rsp *http.Response) (*DcimLocationsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimLocationsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimManufacturersBulkDestroyResponse parses an HTTP response from a DcimManufacturersBulkDestroyWithResponse call func ParseDcimManufacturersBulkDestroyResponse(rsp *http.Response) (*DcimManufacturersBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192525,7 +296080,7 @@ func ParseDcimManufacturersBulkDestroyResponse(rsp *http.Response) (*DcimManufac // ParseDcimManufacturersListResponse parses an HTTP response from a DcimManufacturersListWithResponse call func ParseDcimManufacturersListResponse(rsp *http.Response) (*DcimManufacturersListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192541,7 +296096,7 @@ func ParseDcimManufacturersListResponse(rsp *http.Response) (*DcimManufacturersL // ParseDcimManufacturersBulkPartialUpdateResponse parses an HTTP response from a DcimManufacturersBulkPartialUpdateWithResponse call func ParseDcimManufacturersBulkPartialUpdateResponse(rsp *http.Response) (*DcimManufacturersBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192557,7 +296112,7 @@ func ParseDcimManufacturersBulkPartialUpdateResponse(rsp *http.Response) (*DcimM // ParseDcimManufacturersCreateResponse parses an HTTP response from a DcimManufacturersCreateWithResponse call func ParseDcimManufacturersCreateResponse(rsp *http.Response) (*DcimManufacturersCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192573,7 +296128,7 @@ func ParseDcimManufacturersCreateResponse(rsp *http.Response) (*DcimManufacturer // ParseDcimManufacturersBulkUpdateResponse parses an HTTP response from a DcimManufacturersBulkUpdateWithResponse call func ParseDcimManufacturersBulkUpdateResponse(rsp *http.Response) (*DcimManufacturersBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192589,7 +296144,7 @@ func ParseDcimManufacturersBulkUpdateResponse(rsp *http.Response) (*DcimManufact // ParseDcimManufacturersDestroyResponse parses an HTTP response from a DcimManufacturersDestroyWithResponse call func ParseDcimManufacturersDestroyResponse(rsp *http.Response) (*DcimManufacturersDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192605,7 +296160,7 @@ func ParseDcimManufacturersDestroyResponse(rsp *http.Response) (*DcimManufacture // ParseDcimManufacturersRetrieveResponse parses an HTTP response from a DcimManufacturersRetrieveWithResponse call func ParseDcimManufacturersRetrieveResponse(rsp *http.Response) (*DcimManufacturersRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192621,7 +296176,7 @@ func ParseDcimManufacturersRetrieveResponse(rsp *http.Response) (*DcimManufactur // ParseDcimManufacturersPartialUpdateResponse parses an HTTP response from a DcimManufacturersPartialUpdateWithResponse call func ParseDcimManufacturersPartialUpdateResponse(rsp *http.Response) (*DcimManufacturersPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192637,7 +296192,7 @@ func ParseDcimManufacturersPartialUpdateResponse(rsp *http.Response) (*DcimManuf // ParseDcimManufacturersUpdateResponse parses an HTTP response from a DcimManufacturersUpdateWithResponse call func ParseDcimManufacturersUpdateResponse(rsp *http.Response) (*DcimManufacturersUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192651,9 +296206,41 @@ func ParseDcimManufacturersUpdateResponse(rsp *http.Response) (*DcimManufacturer return response, nil } +// ParseDcimManufacturersNotesListResponse parses an HTTP response from a DcimManufacturersNotesListWithResponse call +func ParseDcimManufacturersNotesListResponse(rsp *http.Response) (*DcimManufacturersNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimManufacturersNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimManufacturersNotesCreateResponse parses an HTTP response from a DcimManufacturersNotesCreateWithResponse call +func ParseDcimManufacturersNotesCreateResponse(rsp *http.Response) (*DcimManufacturersNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimManufacturersNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimPlatformsBulkDestroyResponse parses an HTTP response from a DcimPlatformsBulkDestroyWithResponse call func ParseDcimPlatformsBulkDestroyResponse(rsp *http.Response) (*DcimPlatformsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192669,7 +296256,7 @@ func ParseDcimPlatformsBulkDestroyResponse(rsp *http.Response) (*DcimPlatformsBu // ParseDcimPlatformsListResponse parses an HTTP response from a DcimPlatformsListWithResponse call func ParseDcimPlatformsListResponse(rsp *http.Response) (*DcimPlatformsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192685,7 +296272,7 @@ func ParseDcimPlatformsListResponse(rsp *http.Response) (*DcimPlatformsListRespo // ParseDcimPlatformsBulkPartialUpdateResponse parses an HTTP response from a DcimPlatformsBulkPartialUpdateWithResponse call func ParseDcimPlatformsBulkPartialUpdateResponse(rsp *http.Response) (*DcimPlatformsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192701,7 +296288,7 @@ func ParseDcimPlatformsBulkPartialUpdateResponse(rsp *http.Response) (*DcimPlatf // ParseDcimPlatformsCreateResponse parses an HTTP response from a DcimPlatformsCreateWithResponse call func ParseDcimPlatformsCreateResponse(rsp *http.Response) (*DcimPlatformsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192717,7 +296304,7 @@ func ParseDcimPlatformsCreateResponse(rsp *http.Response) (*DcimPlatformsCreateR // ParseDcimPlatformsBulkUpdateResponse parses an HTTP response from a DcimPlatformsBulkUpdateWithResponse call func ParseDcimPlatformsBulkUpdateResponse(rsp *http.Response) (*DcimPlatformsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192733,7 +296320,7 @@ func ParseDcimPlatformsBulkUpdateResponse(rsp *http.Response) (*DcimPlatformsBul // ParseDcimPlatformsDestroyResponse parses an HTTP response from a DcimPlatformsDestroyWithResponse call func ParseDcimPlatformsDestroyResponse(rsp *http.Response) (*DcimPlatformsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192749,7 +296336,7 @@ func ParseDcimPlatformsDestroyResponse(rsp *http.Response) (*DcimPlatformsDestro // ParseDcimPlatformsRetrieveResponse parses an HTTP response from a DcimPlatformsRetrieveWithResponse call func ParseDcimPlatformsRetrieveResponse(rsp *http.Response) (*DcimPlatformsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192765,7 +296352,7 @@ func ParseDcimPlatformsRetrieveResponse(rsp *http.Response) (*DcimPlatformsRetri // ParseDcimPlatformsPartialUpdateResponse parses an HTTP response from a DcimPlatformsPartialUpdateWithResponse call func ParseDcimPlatformsPartialUpdateResponse(rsp *http.Response) (*DcimPlatformsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192781,7 +296368,7 @@ func ParseDcimPlatformsPartialUpdateResponse(rsp *http.Response) (*DcimPlatforms // ParseDcimPlatformsUpdateResponse parses an HTTP response from a DcimPlatformsUpdateWithResponse call func ParseDcimPlatformsUpdateResponse(rsp *http.Response) (*DcimPlatformsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192795,9 +296382,41 @@ func ParseDcimPlatformsUpdateResponse(rsp *http.Response) (*DcimPlatformsUpdateR return response, nil } +// ParseDcimPlatformsNotesListResponse parses an HTTP response from a DcimPlatformsNotesListWithResponse call +func ParseDcimPlatformsNotesListResponse(rsp *http.Response) (*DcimPlatformsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPlatformsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPlatformsNotesCreateResponse parses an HTTP response from a DcimPlatformsNotesCreateWithResponse call +func ParseDcimPlatformsNotesCreateResponse(rsp *http.Response) (*DcimPlatformsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPlatformsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimPowerConnectionsListResponse parses an HTTP response from a DcimPowerConnectionsListWithResponse call func ParseDcimPowerConnectionsListResponse(rsp *http.Response) (*DcimPowerConnectionsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192813,7 +296432,7 @@ func ParseDcimPowerConnectionsListResponse(rsp *http.Response) (*DcimPowerConnec // ParseDcimPowerFeedsBulkDestroyResponse parses an HTTP response from a DcimPowerFeedsBulkDestroyWithResponse call func ParseDcimPowerFeedsBulkDestroyResponse(rsp *http.Response) (*DcimPowerFeedsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192829,7 +296448,7 @@ func ParseDcimPowerFeedsBulkDestroyResponse(rsp *http.Response) (*DcimPowerFeeds // ParseDcimPowerFeedsListResponse parses an HTTP response from a DcimPowerFeedsListWithResponse call func ParseDcimPowerFeedsListResponse(rsp *http.Response) (*DcimPowerFeedsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192845,7 +296464,7 @@ func ParseDcimPowerFeedsListResponse(rsp *http.Response) (*DcimPowerFeedsListRes // ParseDcimPowerFeedsBulkPartialUpdateResponse parses an HTTP response from a DcimPowerFeedsBulkPartialUpdateWithResponse call func ParseDcimPowerFeedsBulkPartialUpdateResponse(rsp *http.Response) (*DcimPowerFeedsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192861,7 +296480,7 @@ func ParseDcimPowerFeedsBulkPartialUpdateResponse(rsp *http.Response) (*DcimPowe // ParseDcimPowerFeedsCreateResponse parses an HTTP response from a DcimPowerFeedsCreateWithResponse call func ParseDcimPowerFeedsCreateResponse(rsp *http.Response) (*DcimPowerFeedsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192877,7 +296496,7 @@ func ParseDcimPowerFeedsCreateResponse(rsp *http.Response) (*DcimPowerFeedsCreat // ParseDcimPowerFeedsBulkUpdateResponse parses an HTTP response from a DcimPowerFeedsBulkUpdateWithResponse call func ParseDcimPowerFeedsBulkUpdateResponse(rsp *http.Response) (*DcimPowerFeedsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192893,7 +296512,7 @@ func ParseDcimPowerFeedsBulkUpdateResponse(rsp *http.Response) (*DcimPowerFeedsB // ParseDcimPowerFeedsDestroyResponse parses an HTTP response from a DcimPowerFeedsDestroyWithResponse call func ParseDcimPowerFeedsDestroyResponse(rsp *http.Response) (*DcimPowerFeedsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192909,7 +296528,7 @@ func ParseDcimPowerFeedsDestroyResponse(rsp *http.Response) (*DcimPowerFeedsDest // ParseDcimPowerFeedsRetrieveResponse parses an HTTP response from a DcimPowerFeedsRetrieveWithResponse call func ParseDcimPowerFeedsRetrieveResponse(rsp *http.Response) (*DcimPowerFeedsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192925,7 +296544,7 @@ func ParseDcimPowerFeedsRetrieveResponse(rsp *http.Response) (*DcimPowerFeedsRet // ParseDcimPowerFeedsPartialUpdateResponse parses an HTTP response from a DcimPowerFeedsPartialUpdateWithResponse call func ParseDcimPowerFeedsPartialUpdateResponse(rsp *http.Response) (*DcimPowerFeedsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192941,7 +296560,7 @@ func ParseDcimPowerFeedsPartialUpdateResponse(rsp *http.Response) (*DcimPowerFee // ParseDcimPowerFeedsUpdateResponse parses an HTTP response from a DcimPowerFeedsUpdateWithResponse call func ParseDcimPowerFeedsUpdateResponse(rsp *http.Response) (*DcimPowerFeedsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192955,9 +296574,41 @@ func ParseDcimPowerFeedsUpdateResponse(rsp *http.Response) (*DcimPowerFeedsUpdat return response, nil } +// ParseDcimPowerFeedsNotesListResponse parses an HTTP response from a DcimPowerFeedsNotesListWithResponse call +func ParseDcimPowerFeedsNotesListResponse(rsp *http.Response) (*DcimPowerFeedsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerFeedsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerFeedsNotesCreateResponse parses an HTTP response from a DcimPowerFeedsNotesCreateWithResponse call +func ParseDcimPowerFeedsNotesCreateResponse(rsp *http.Response) (*DcimPowerFeedsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerFeedsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimPowerFeedsTraceRetrieveResponse parses an HTTP response from a DcimPowerFeedsTraceRetrieveWithResponse call func ParseDcimPowerFeedsTraceRetrieveResponse(rsp *http.Response) (*DcimPowerFeedsTraceRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192973,7 +296624,7 @@ func ParseDcimPowerFeedsTraceRetrieveResponse(rsp *http.Response) (*DcimPowerFee // ParseDcimPowerOutletTemplatesBulkDestroyResponse parses an HTTP response from a DcimPowerOutletTemplatesBulkDestroyWithResponse call func ParseDcimPowerOutletTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimPowerOutletTemplatesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -192989,7 +296640,7 @@ func ParseDcimPowerOutletTemplatesBulkDestroyResponse(rsp *http.Response) (*Dcim // ParseDcimPowerOutletTemplatesListResponse parses an HTTP response from a DcimPowerOutletTemplatesListWithResponse call func ParseDcimPowerOutletTemplatesListResponse(rsp *http.Response) (*DcimPowerOutletTemplatesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193005,7 +296656,7 @@ func ParseDcimPowerOutletTemplatesListResponse(rsp *http.Response) (*DcimPowerOu // ParseDcimPowerOutletTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimPowerOutletTemplatesBulkPartialUpdateWithResponse call func ParseDcimPowerOutletTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimPowerOutletTemplatesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193021,7 +296672,7 @@ func ParseDcimPowerOutletTemplatesBulkPartialUpdateResponse(rsp *http.Response) // ParseDcimPowerOutletTemplatesCreateResponse parses an HTTP response from a DcimPowerOutletTemplatesCreateWithResponse call func ParseDcimPowerOutletTemplatesCreateResponse(rsp *http.Response) (*DcimPowerOutletTemplatesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193037,7 +296688,7 @@ func ParseDcimPowerOutletTemplatesCreateResponse(rsp *http.Response) (*DcimPower // ParseDcimPowerOutletTemplatesBulkUpdateResponse parses an HTTP response from a DcimPowerOutletTemplatesBulkUpdateWithResponse call func ParseDcimPowerOutletTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimPowerOutletTemplatesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193053,7 +296704,7 @@ func ParseDcimPowerOutletTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimP // ParseDcimPowerOutletTemplatesDestroyResponse parses an HTTP response from a DcimPowerOutletTemplatesDestroyWithResponse call func ParseDcimPowerOutletTemplatesDestroyResponse(rsp *http.Response) (*DcimPowerOutletTemplatesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193069,7 +296720,7 @@ func ParseDcimPowerOutletTemplatesDestroyResponse(rsp *http.Response) (*DcimPowe // ParseDcimPowerOutletTemplatesRetrieveResponse parses an HTTP response from a DcimPowerOutletTemplatesRetrieveWithResponse call func ParseDcimPowerOutletTemplatesRetrieveResponse(rsp *http.Response) (*DcimPowerOutletTemplatesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193085,7 +296736,7 @@ func ParseDcimPowerOutletTemplatesRetrieveResponse(rsp *http.Response) (*DcimPow // ParseDcimPowerOutletTemplatesPartialUpdateResponse parses an HTTP response from a DcimPowerOutletTemplatesPartialUpdateWithResponse call func ParseDcimPowerOutletTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimPowerOutletTemplatesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193101,7 +296752,7 @@ func ParseDcimPowerOutletTemplatesPartialUpdateResponse(rsp *http.Response) (*Dc // ParseDcimPowerOutletTemplatesUpdateResponse parses an HTTP response from a DcimPowerOutletTemplatesUpdateWithResponse call func ParseDcimPowerOutletTemplatesUpdateResponse(rsp *http.Response) (*DcimPowerOutletTemplatesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193115,9 +296766,41 @@ func ParseDcimPowerOutletTemplatesUpdateResponse(rsp *http.Response) (*DcimPower return response, nil } +// ParseDcimPowerOutletTemplatesNotesListResponse parses an HTTP response from a DcimPowerOutletTemplatesNotesListWithResponse call +func ParseDcimPowerOutletTemplatesNotesListResponse(rsp *http.Response) (*DcimPowerOutletTemplatesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletTemplatesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerOutletTemplatesNotesCreateResponse parses an HTTP response from a DcimPowerOutletTemplatesNotesCreateWithResponse call +func ParseDcimPowerOutletTemplatesNotesCreateResponse(rsp *http.Response) (*DcimPowerOutletTemplatesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletTemplatesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimPowerOutletsBulkDestroyResponse parses an HTTP response from a DcimPowerOutletsBulkDestroyWithResponse call func ParseDcimPowerOutletsBulkDestroyResponse(rsp *http.Response) (*DcimPowerOutletsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193133,7 +296816,7 @@ func ParseDcimPowerOutletsBulkDestroyResponse(rsp *http.Response) (*DcimPowerOut // ParseDcimPowerOutletsListResponse parses an HTTP response from a DcimPowerOutletsListWithResponse call func ParseDcimPowerOutletsListResponse(rsp *http.Response) (*DcimPowerOutletsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193149,7 +296832,7 @@ func ParseDcimPowerOutletsListResponse(rsp *http.Response) (*DcimPowerOutletsLis // ParseDcimPowerOutletsBulkPartialUpdateResponse parses an HTTP response from a DcimPowerOutletsBulkPartialUpdateWithResponse call func ParseDcimPowerOutletsBulkPartialUpdateResponse(rsp *http.Response) (*DcimPowerOutletsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193165,7 +296848,7 @@ func ParseDcimPowerOutletsBulkPartialUpdateResponse(rsp *http.Response) (*DcimPo // ParseDcimPowerOutletsCreateResponse parses an HTTP response from a DcimPowerOutletsCreateWithResponse call func ParseDcimPowerOutletsCreateResponse(rsp *http.Response) (*DcimPowerOutletsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193181,7 +296864,7 @@ func ParseDcimPowerOutletsCreateResponse(rsp *http.Response) (*DcimPowerOutletsC // ParseDcimPowerOutletsBulkUpdateResponse parses an HTTP response from a DcimPowerOutletsBulkUpdateWithResponse call func ParseDcimPowerOutletsBulkUpdateResponse(rsp *http.Response) (*DcimPowerOutletsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193197,7 +296880,7 @@ func ParseDcimPowerOutletsBulkUpdateResponse(rsp *http.Response) (*DcimPowerOutl // ParseDcimPowerOutletsDestroyResponse parses an HTTP response from a DcimPowerOutletsDestroyWithResponse call func ParseDcimPowerOutletsDestroyResponse(rsp *http.Response) (*DcimPowerOutletsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193213,7 +296896,7 @@ func ParseDcimPowerOutletsDestroyResponse(rsp *http.Response) (*DcimPowerOutlets // ParseDcimPowerOutletsRetrieveResponse parses an HTTP response from a DcimPowerOutletsRetrieveWithResponse call func ParseDcimPowerOutletsRetrieveResponse(rsp *http.Response) (*DcimPowerOutletsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193229,7 +296912,7 @@ func ParseDcimPowerOutletsRetrieveResponse(rsp *http.Response) (*DcimPowerOutlet // ParseDcimPowerOutletsPartialUpdateResponse parses an HTTP response from a DcimPowerOutletsPartialUpdateWithResponse call func ParseDcimPowerOutletsPartialUpdateResponse(rsp *http.Response) (*DcimPowerOutletsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193245,7 +296928,7 @@ func ParseDcimPowerOutletsPartialUpdateResponse(rsp *http.Response) (*DcimPowerO // ParseDcimPowerOutletsUpdateResponse parses an HTTP response from a DcimPowerOutletsUpdateWithResponse call func ParseDcimPowerOutletsUpdateResponse(rsp *http.Response) (*DcimPowerOutletsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193259,9 +296942,41 @@ func ParseDcimPowerOutletsUpdateResponse(rsp *http.Response) (*DcimPowerOutletsU return response, nil } +// ParseDcimPowerOutletsNotesListResponse parses an HTTP response from a DcimPowerOutletsNotesListWithResponse call +func ParseDcimPowerOutletsNotesListResponse(rsp *http.Response) (*DcimPowerOutletsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerOutletsNotesCreateResponse parses an HTTP response from a DcimPowerOutletsNotesCreateWithResponse call +func ParseDcimPowerOutletsNotesCreateResponse(rsp *http.Response) (*DcimPowerOutletsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerOutletsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimPowerOutletsTraceRetrieveResponse parses an HTTP response from a DcimPowerOutletsTraceRetrieveWithResponse call func ParseDcimPowerOutletsTraceRetrieveResponse(rsp *http.Response) (*DcimPowerOutletsTraceRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193277,7 +296992,7 @@ func ParseDcimPowerOutletsTraceRetrieveResponse(rsp *http.Response) (*DcimPowerO // ParseDcimPowerPanelsBulkDestroyResponse parses an HTTP response from a DcimPowerPanelsBulkDestroyWithResponse call func ParseDcimPowerPanelsBulkDestroyResponse(rsp *http.Response) (*DcimPowerPanelsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193293,7 +297008,7 @@ func ParseDcimPowerPanelsBulkDestroyResponse(rsp *http.Response) (*DcimPowerPane // ParseDcimPowerPanelsListResponse parses an HTTP response from a DcimPowerPanelsListWithResponse call func ParseDcimPowerPanelsListResponse(rsp *http.Response) (*DcimPowerPanelsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193309,7 +297024,7 @@ func ParseDcimPowerPanelsListResponse(rsp *http.Response) (*DcimPowerPanelsListR // ParseDcimPowerPanelsBulkPartialUpdateResponse parses an HTTP response from a DcimPowerPanelsBulkPartialUpdateWithResponse call func ParseDcimPowerPanelsBulkPartialUpdateResponse(rsp *http.Response) (*DcimPowerPanelsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193325,7 +297040,7 @@ func ParseDcimPowerPanelsBulkPartialUpdateResponse(rsp *http.Response) (*DcimPow // ParseDcimPowerPanelsCreateResponse parses an HTTP response from a DcimPowerPanelsCreateWithResponse call func ParseDcimPowerPanelsCreateResponse(rsp *http.Response) (*DcimPowerPanelsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193341,7 +297056,7 @@ func ParseDcimPowerPanelsCreateResponse(rsp *http.Response) (*DcimPowerPanelsCre // ParseDcimPowerPanelsBulkUpdateResponse parses an HTTP response from a DcimPowerPanelsBulkUpdateWithResponse call func ParseDcimPowerPanelsBulkUpdateResponse(rsp *http.Response) (*DcimPowerPanelsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193357,7 +297072,7 @@ func ParseDcimPowerPanelsBulkUpdateResponse(rsp *http.Response) (*DcimPowerPanel // ParseDcimPowerPanelsDestroyResponse parses an HTTP response from a DcimPowerPanelsDestroyWithResponse call func ParseDcimPowerPanelsDestroyResponse(rsp *http.Response) (*DcimPowerPanelsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193373,7 +297088,7 @@ func ParseDcimPowerPanelsDestroyResponse(rsp *http.Response) (*DcimPowerPanelsDe // ParseDcimPowerPanelsRetrieveResponse parses an HTTP response from a DcimPowerPanelsRetrieveWithResponse call func ParseDcimPowerPanelsRetrieveResponse(rsp *http.Response) (*DcimPowerPanelsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193389,7 +297104,7 @@ func ParseDcimPowerPanelsRetrieveResponse(rsp *http.Response) (*DcimPowerPanelsR // ParseDcimPowerPanelsPartialUpdateResponse parses an HTTP response from a DcimPowerPanelsPartialUpdateWithResponse call func ParseDcimPowerPanelsPartialUpdateResponse(rsp *http.Response) (*DcimPowerPanelsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193405,7 +297120,7 @@ func ParseDcimPowerPanelsPartialUpdateResponse(rsp *http.Response) (*DcimPowerPa // ParseDcimPowerPanelsUpdateResponse parses an HTTP response from a DcimPowerPanelsUpdateWithResponse call func ParseDcimPowerPanelsUpdateResponse(rsp *http.Response) (*DcimPowerPanelsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193419,9 +297134,41 @@ func ParseDcimPowerPanelsUpdateResponse(rsp *http.Response) (*DcimPowerPanelsUpd return response, nil } +// ParseDcimPowerPanelsNotesListResponse parses an HTTP response from a DcimPowerPanelsNotesListWithResponse call +func ParseDcimPowerPanelsNotesListResponse(rsp *http.Response) (*DcimPowerPanelsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPanelsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPanelsNotesCreateResponse parses an HTTP response from a DcimPowerPanelsNotesCreateWithResponse call +func ParseDcimPowerPanelsNotesCreateResponse(rsp *http.Response) (*DcimPowerPanelsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPanelsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimPowerPortTemplatesBulkDestroyResponse parses an HTTP response from a DcimPowerPortTemplatesBulkDestroyWithResponse call func ParseDcimPowerPortTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimPowerPortTemplatesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193437,7 +297184,7 @@ func ParseDcimPowerPortTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimPo // ParseDcimPowerPortTemplatesListResponse parses an HTTP response from a DcimPowerPortTemplatesListWithResponse call func ParseDcimPowerPortTemplatesListResponse(rsp *http.Response) (*DcimPowerPortTemplatesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193453,7 +297200,7 @@ func ParseDcimPowerPortTemplatesListResponse(rsp *http.Response) (*DcimPowerPort // ParseDcimPowerPortTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimPowerPortTemplatesBulkPartialUpdateWithResponse call func ParseDcimPowerPortTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimPowerPortTemplatesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193469,7 +297216,7 @@ func ParseDcimPowerPortTemplatesBulkPartialUpdateResponse(rsp *http.Response) (* // ParseDcimPowerPortTemplatesCreateResponse parses an HTTP response from a DcimPowerPortTemplatesCreateWithResponse call func ParseDcimPowerPortTemplatesCreateResponse(rsp *http.Response) (*DcimPowerPortTemplatesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193485,7 +297232,7 @@ func ParseDcimPowerPortTemplatesCreateResponse(rsp *http.Response) (*DcimPowerPo // ParseDcimPowerPortTemplatesBulkUpdateResponse parses an HTTP response from a DcimPowerPortTemplatesBulkUpdateWithResponse call func ParseDcimPowerPortTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimPowerPortTemplatesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193501,7 +297248,7 @@ func ParseDcimPowerPortTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimPow // ParseDcimPowerPortTemplatesDestroyResponse parses an HTTP response from a DcimPowerPortTemplatesDestroyWithResponse call func ParseDcimPowerPortTemplatesDestroyResponse(rsp *http.Response) (*DcimPowerPortTemplatesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193517,7 +297264,7 @@ func ParseDcimPowerPortTemplatesDestroyResponse(rsp *http.Response) (*DcimPowerP // ParseDcimPowerPortTemplatesRetrieveResponse parses an HTTP response from a DcimPowerPortTemplatesRetrieveWithResponse call func ParseDcimPowerPortTemplatesRetrieveResponse(rsp *http.Response) (*DcimPowerPortTemplatesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193533,7 +297280,7 @@ func ParseDcimPowerPortTemplatesRetrieveResponse(rsp *http.Response) (*DcimPower // ParseDcimPowerPortTemplatesPartialUpdateResponse parses an HTTP response from a DcimPowerPortTemplatesPartialUpdateWithResponse call func ParseDcimPowerPortTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimPowerPortTemplatesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193549,7 +297296,7 @@ func ParseDcimPowerPortTemplatesPartialUpdateResponse(rsp *http.Response) (*Dcim // ParseDcimPowerPortTemplatesUpdateResponse parses an HTTP response from a DcimPowerPortTemplatesUpdateWithResponse call func ParseDcimPowerPortTemplatesUpdateResponse(rsp *http.Response) (*DcimPowerPortTemplatesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193563,9 +297310,41 @@ func ParseDcimPowerPortTemplatesUpdateResponse(rsp *http.Response) (*DcimPowerPo return response, nil } +// ParseDcimPowerPortTemplatesNotesListResponse parses an HTTP response from a DcimPowerPortTemplatesNotesListWithResponse call +func ParseDcimPowerPortTemplatesNotesListResponse(rsp *http.Response) (*DcimPowerPortTemplatesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortTemplatesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPortTemplatesNotesCreateResponse parses an HTTP response from a DcimPowerPortTemplatesNotesCreateWithResponse call +func ParseDcimPowerPortTemplatesNotesCreateResponse(rsp *http.Response) (*DcimPowerPortTemplatesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortTemplatesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimPowerPortsBulkDestroyResponse parses an HTTP response from a DcimPowerPortsBulkDestroyWithResponse call func ParseDcimPowerPortsBulkDestroyResponse(rsp *http.Response) (*DcimPowerPortsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193581,7 +297360,7 @@ func ParseDcimPowerPortsBulkDestroyResponse(rsp *http.Response) (*DcimPowerPorts // ParseDcimPowerPortsListResponse parses an HTTP response from a DcimPowerPortsListWithResponse call func ParseDcimPowerPortsListResponse(rsp *http.Response) (*DcimPowerPortsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193597,7 +297376,7 @@ func ParseDcimPowerPortsListResponse(rsp *http.Response) (*DcimPowerPortsListRes // ParseDcimPowerPortsBulkPartialUpdateResponse parses an HTTP response from a DcimPowerPortsBulkPartialUpdateWithResponse call func ParseDcimPowerPortsBulkPartialUpdateResponse(rsp *http.Response) (*DcimPowerPortsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193613,7 +297392,7 @@ func ParseDcimPowerPortsBulkPartialUpdateResponse(rsp *http.Response) (*DcimPowe // ParseDcimPowerPortsCreateResponse parses an HTTP response from a DcimPowerPortsCreateWithResponse call func ParseDcimPowerPortsCreateResponse(rsp *http.Response) (*DcimPowerPortsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193629,7 +297408,7 @@ func ParseDcimPowerPortsCreateResponse(rsp *http.Response) (*DcimPowerPortsCreat // ParseDcimPowerPortsBulkUpdateResponse parses an HTTP response from a DcimPowerPortsBulkUpdateWithResponse call func ParseDcimPowerPortsBulkUpdateResponse(rsp *http.Response) (*DcimPowerPortsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193645,7 +297424,7 @@ func ParseDcimPowerPortsBulkUpdateResponse(rsp *http.Response) (*DcimPowerPortsB // ParseDcimPowerPortsDestroyResponse parses an HTTP response from a DcimPowerPortsDestroyWithResponse call func ParseDcimPowerPortsDestroyResponse(rsp *http.Response) (*DcimPowerPortsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193661,7 +297440,7 @@ func ParseDcimPowerPortsDestroyResponse(rsp *http.Response) (*DcimPowerPortsDest // ParseDcimPowerPortsRetrieveResponse parses an HTTP response from a DcimPowerPortsRetrieveWithResponse call func ParseDcimPowerPortsRetrieveResponse(rsp *http.Response) (*DcimPowerPortsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193677,7 +297456,7 @@ func ParseDcimPowerPortsRetrieveResponse(rsp *http.Response) (*DcimPowerPortsRet // ParseDcimPowerPortsPartialUpdateResponse parses an HTTP response from a DcimPowerPortsPartialUpdateWithResponse call func ParseDcimPowerPortsPartialUpdateResponse(rsp *http.Response) (*DcimPowerPortsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193693,7 +297472,7 @@ func ParseDcimPowerPortsPartialUpdateResponse(rsp *http.Response) (*DcimPowerPor // ParseDcimPowerPortsUpdateResponse parses an HTTP response from a DcimPowerPortsUpdateWithResponse call func ParseDcimPowerPortsUpdateResponse(rsp *http.Response) (*DcimPowerPortsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193707,9 +297486,41 @@ func ParseDcimPowerPortsUpdateResponse(rsp *http.Response) (*DcimPowerPortsUpdat return response, nil } +// ParseDcimPowerPortsNotesListResponse parses an HTTP response from a DcimPowerPortsNotesListWithResponse call +func ParseDcimPowerPortsNotesListResponse(rsp *http.Response) (*DcimPowerPortsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimPowerPortsNotesCreateResponse parses an HTTP response from a DcimPowerPortsNotesCreateWithResponse call +func ParseDcimPowerPortsNotesCreateResponse(rsp *http.Response) (*DcimPowerPortsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimPowerPortsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimPowerPortsTraceRetrieveResponse parses an HTTP response from a DcimPowerPortsTraceRetrieveWithResponse call func ParseDcimPowerPortsTraceRetrieveResponse(rsp *http.Response) (*DcimPowerPortsTraceRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193725,7 +297536,7 @@ func ParseDcimPowerPortsTraceRetrieveResponse(rsp *http.Response) (*DcimPowerPor // ParseDcimRackGroupsBulkDestroyResponse parses an HTTP response from a DcimRackGroupsBulkDestroyWithResponse call func ParseDcimRackGroupsBulkDestroyResponse(rsp *http.Response) (*DcimRackGroupsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193741,7 +297552,7 @@ func ParseDcimRackGroupsBulkDestroyResponse(rsp *http.Response) (*DcimRackGroups // ParseDcimRackGroupsListResponse parses an HTTP response from a DcimRackGroupsListWithResponse call func ParseDcimRackGroupsListResponse(rsp *http.Response) (*DcimRackGroupsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193757,7 +297568,7 @@ func ParseDcimRackGroupsListResponse(rsp *http.Response) (*DcimRackGroupsListRes // ParseDcimRackGroupsBulkPartialUpdateResponse parses an HTTP response from a DcimRackGroupsBulkPartialUpdateWithResponse call func ParseDcimRackGroupsBulkPartialUpdateResponse(rsp *http.Response) (*DcimRackGroupsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193773,7 +297584,7 @@ func ParseDcimRackGroupsBulkPartialUpdateResponse(rsp *http.Response) (*DcimRack // ParseDcimRackGroupsCreateResponse parses an HTTP response from a DcimRackGroupsCreateWithResponse call func ParseDcimRackGroupsCreateResponse(rsp *http.Response) (*DcimRackGroupsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193789,7 +297600,7 @@ func ParseDcimRackGroupsCreateResponse(rsp *http.Response) (*DcimRackGroupsCreat // ParseDcimRackGroupsBulkUpdateResponse parses an HTTP response from a DcimRackGroupsBulkUpdateWithResponse call func ParseDcimRackGroupsBulkUpdateResponse(rsp *http.Response) (*DcimRackGroupsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193805,7 +297616,7 @@ func ParseDcimRackGroupsBulkUpdateResponse(rsp *http.Response) (*DcimRackGroupsB // ParseDcimRackGroupsDestroyResponse parses an HTTP response from a DcimRackGroupsDestroyWithResponse call func ParseDcimRackGroupsDestroyResponse(rsp *http.Response) (*DcimRackGroupsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193821,7 +297632,7 @@ func ParseDcimRackGroupsDestroyResponse(rsp *http.Response) (*DcimRackGroupsDest // ParseDcimRackGroupsRetrieveResponse parses an HTTP response from a DcimRackGroupsRetrieveWithResponse call func ParseDcimRackGroupsRetrieveResponse(rsp *http.Response) (*DcimRackGroupsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193837,7 +297648,7 @@ func ParseDcimRackGroupsRetrieveResponse(rsp *http.Response) (*DcimRackGroupsRet // ParseDcimRackGroupsPartialUpdateResponse parses an HTTP response from a DcimRackGroupsPartialUpdateWithResponse call func ParseDcimRackGroupsPartialUpdateResponse(rsp *http.Response) (*DcimRackGroupsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193853,7 +297664,7 @@ func ParseDcimRackGroupsPartialUpdateResponse(rsp *http.Response) (*DcimRackGrou // ParseDcimRackGroupsUpdateResponse parses an HTTP response from a DcimRackGroupsUpdateWithResponse call func ParseDcimRackGroupsUpdateResponse(rsp *http.Response) (*DcimRackGroupsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193867,9 +297678,41 @@ func ParseDcimRackGroupsUpdateResponse(rsp *http.Response) (*DcimRackGroupsUpdat return response, nil } +// ParseDcimRackGroupsNotesListResponse parses an HTTP response from a DcimRackGroupsNotesListWithResponse call +func ParseDcimRackGroupsNotesListResponse(rsp *http.Response) (*DcimRackGroupsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackGroupsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackGroupsNotesCreateResponse parses an HTTP response from a DcimRackGroupsNotesCreateWithResponse call +func ParseDcimRackGroupsNotesCreateResponse(rsp *http.Response) (*DcimRackGroupsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackGroupsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimRackReservationsBulkDestroyResponse parses an HTTP response from a DcimRackReservationsBulkDestroyWithResponse call func ParseDcimRackReservationsBulkDestroyResponse(rsp *http.Response) (*DcimRackReservationsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193885,7 +297728,7 @@ func ParseDcimRackReservationsBulkDestroyResponse(rsp *http.Response) (*DcimRack // ParseDcimRackReservationsListResponse parses an HTTP response from a DcimRackReservationsListWithResponse call func ParseDcimRackReservationsListResponse(rsp *http.Response) (*DcimRackReservationsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193901,7 +297744,7 @@ func ParseDcimRackReservationsListResponse(rsp *http.Response) (*DcimRackReserva // ParseDcimRackReservationsBulkPartialUpdateResponse parses an HTTP response from a DcimRackReservationsBulkPartialUpdateWithResponse call func ParseDcimRackReservationsBulkPartialUpdateResponse(rsp *http.Response) (*DcimRackReservationsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193917,7 +297760,7 @@ func ParseDcimRackReservationsBulkPartialUpdateResponse(rsp *http.Response) (*Dc // ParseDcimRackReservationsCreateResponse parses an HTTP response from a DcimRackReservationsCreateWithResponse call func ParseDcimRackReservationsCreateResponse(rsp *http.Response) (*DcimRackReservationsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193933,7 +297776,7 @@ func ParseDcimRackReservationsCreateResponse(rsp *http.Response) (*DcimRackReser // ParseDcimRackReservationsBulkUpdateResponse parses an HTTP response from a DcimRackReservationsBulkUpdateWithResponse call func ParseDcimRackReservationsBulkUpdateResponse(rsp *http.Response) (*DcimRackReservationsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193949,7 +297792,7 @@ func ParseDcimRackReservationsBulkUpdateResponse(rsp *http.Response) (*DcimRackR // ParseDcimRackReservationsDestroyResponse parses an HTTP response from a DcimRackReservationsDestroyWithResponse call func ParseDcimRackReservationsDestroyResponse(rsp *http.Response) (*DcimRackReservationsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193965,7 +297808,7 @@ func ParseDcimRackReservationsDestroyResponse(rsp *http.Response) (*DcimRackRese // ParseDcimRackReservationsRetrieveResponse parses an HTTP response from a DcimRackReservationsRetrieveWithResponse call func ParseDcimRackReservationsRetrieveResponse(rsp *http.Response) (*DcimRackReservationsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193981,7 +297824,7 @@ func ParseDcimRackReservationsRetrieveResponse(rsp *http.Response) (*DcimRackRes // ParseDcimRackReservationsPartialUpdateResponse parses an HTTP response from a DcimRackReservationsPartialUpdateWithResponse call func ParseDcimRackReservationsPartialUpdateResponse(rsp *http.Response) (*DcimRackReservationsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -193997,7 +297840,7 @@ func ParseDcimRackReservationsPartialUpdateResponse(rsp *http.Response) (*DcimRa // ParseDcimRackReservationsUpdateResponse parses an HTTP response from a DcimRackReservationsUpdateWithResponse call func ParseDcimRackReservationsUpdateResponse(rsp *http.Response) (*DcimRackReservationsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194011,9 +297854,41 @@ func ParseDcimRackReservationsUpdateResponse(rsp *http.Response) (*DcimRackReser return response, nil } +// ParseDcimRackReservationsNotesListResponse parses an HTTP response from a DcimRackReservationsNotesListWithResponse call +func ParseDcimRackReservationsNotesListResponse(rsp *http.Response) (*DcimRackReservationsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackReservationsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackReservationsNotesCreateResponse parses an HTTP response from a DcimRackReservationsNotesCreateWithResponse call +func ParseDcimRackReservationsNotesCreateResponse(rsp *http.Response) (*DcimRackReservationsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackReservationsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimRackRolesBulkDestroyResponse parses an HTTP response from a DcimRackRolesBulkDestroyWithResponse call func ParseDcimRackRolesBulkDestroyResponse(rsp *http.Response) (*DcimRackRolesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194029,7 +297904,7 @@ func ParseDcimRackRolesBulkDestroyResponse(rsp *http.Response) (*DcimRackRolesBu // ParseDcimRackRolesListResponse parses an HTTP response from a DcimRackRolesListWithResponse call func ParseDcimRackRolesListResponse(rsp *http.Response) (*DcimRackRolesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194045,7 +297920,7 @@ func ParseDcimRackRolesListResponse(rsp *http.Response) (*DcimRackRolesListRespo // ParseDcimRackRolesBulkPartialUpdateResponse parses an HTTP response from a DcimRackRolesBulkPartialUpdateWithResponse call func ParseDcimRackRolesBulkPartialUpdateResponse(rsp *http.Response) (*DcimRackRolesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194061,7 +297936,7 @@ func ParseDcimRackRolesBulkPartialUpdateResponse(rsp *http.Response) (*DcimRackR // ParseDcimRackRolesCreateResponse parses an HTTP response from a DcimRackRolesCreateWithResponse call func ParseDcimRackRolesCreateResponse(rsp *http.Response) (*DcimRackRolesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194077,7 +297952,7 @@ func ParseDcimRackRolesCreateResponse(rsp *http.Response) (*DcimRackRolesCreateR // ParseDcimRackRolesBulkUpdateResponse parses an HTTP response from a DcimRackRolesBulkUpdateWithResponse call func ParseDcimRackRolesBulkUpdateResponse(rsp *http.Response) (*DcimRackRolesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194093,7 +297968,7 @@ func ParseDcimRackRolesBulkUpdateResponse(rsp *http.Response) (*DcimRackRolesBul // ParseDcimRackRolesDestroyResponse parses an HTTP response from a DcimRackRolesDestroyWithResponse call func ParseDcimRackRolesDestroyResponse(rsp *http.Response) (*DcimRackRolesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194109,7 +297984,7 @@ func ParseDcimRackRolesDestroyResponse(rsp *http.Response) (*DcimRackRolesDestro // ParseDcimRackRolesRetrieveResponse parses an HTTP response from a DcimRackRolesRetrieveWithResponse call func ParseDcimRackRolesRetrieveResponse(rsp *http.Response) (*DcimRackRolesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194125,7 +298000,7 @@ func ParseDcimRackRolesRetrieveResponse(rsp *http.Response) (*DcimRackRolesRetri // ParseDcimRackRolesPartialUpdateResponse parses an HTTP response from a DcimRackRolesPartialUpdateWithResponse call func ParseDcimRackRolesPartialUpdateResponse(rsp *http.Response) (*DcimRackRolesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194141,7 +298016,7 @@ func ParseDcimRackRolesPartialUpdateResponse(rsp *http.Response) (*DcimRackRoles // ParseDcimRackRolesUpdateResponse parses an HTTP response from a DcimRackRolesUpdateWithResponse call func ParseDcimRackRolesUpdateResponse(rsp *http.Response) (*DcimRackRolesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194155,9 +298030,41 @@ func ParseDcimRackRolesUpdateResponse(rsp *http.Response) (*DcimRackRolesUpdateR return response, nil } +// ParseDcimRackRolesNotesListResponse parses an HTTP response from a DcimRackRolesNotesListWithResponse call +func ParseDcimRackRolesNotesListResponse(rsp *http.Response) (*DcimRackRolesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackRolesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRackRolesNotesCreateResponse parses an HTTP response from a DcimRackRolesNotesCreateWithResponse call +func ParseDcimRackRolesNotesCreateResponse(rsp *http.Response) (*DcimRackRolesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRackRolesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimRacksBulkDestroyResponse parses an HTTP response from a DcimRacksBulkDestroyWithResponse call func ParseDcimRacksBulkDestroyResponse(rsp *http.Response) (*DcimRacksBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194173,7 +298080,7 @@ func ParseDcimRacksBulkDestroyResponse(rsp *http.Response) (*DcimRacksBulkDestro // ParseDcimRacksListResponse parses an HTTP response from a DcimRacksListWithResponse call func ParseDcimRacksListResponse(rsp *http.Response) (*DcimRacksListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194189,7 +298096,7 @@ func ParseDcimRacksListResponse(rsp *http.Response) (*DcimRacksListResponse, err // ParseDcimRacksBulkPartialUpdateResponse parses an HTTP response from a DcimRacksBulkPartialUpdateWithResponse call func ParseDcimRacksBulkPartialUpdateResponse(rsp *http.Response) (*DcimRacksBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194205,7 +298112,7 @@ func ParseDcimRacksBulkPartialUpdateResponse(rsp *http.Response) (*DcimRacksBulk // ParseDcimRacksCreateResponse parses an HTTP response from a DcimRacksCreateWithResponse call func ParseDcimRacksCreateResponse(rsp *http.Response) (*DcimRacksCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194221,7 +298128,7 @@ func ParseDcimRacksCreateResponse(rsp *http.Response) (*DcimRacksCreateResponse, // ParseDcimRacksBulkUpdateResponse parses an HTTP response from a DcimRacksBulkUpdateWithResponse call func ParseDcimRacksBulkUpdateResponse(rsp *http.Response) (*DcimRacksBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194237,7 +298144,7 @@ func ParseDcimRacksBulkUpdateResponse(rsp *http.Response) (*DcimRacksBulkUpdateR // ParseDcimRacksDestroyResponse parses an HTTP response from a DcimRacksDestroyWithResponse call func ParseDcimRacksDestroyResponse(rsp *http.Response) (*DcimRacksDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194253,7 +298160,7 @@ func ParseDcimRacksDestroyResponse(rsp *http.Response) (*DcimRacksDestroyRespons // ParseDcimRacksRetrieveResponse parses an HTTP response from a DcimRacksRetrieveWithResponse call func ParseDcimRacksRetrieveResponse(rsp *http.Response) (*DcimRacksRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194269,7 +298176,7 @@ func ParseDcimRacksRetrieveResponse(rsp *http.Response) (*DcimRacksRetrieveRespo // ParseDcimRacksPartialUpdateResponse parses an HTTP response from a DcimRacksPartialUpdateWithResponse call func ParseDcimRacksPartialUpdateResponse(rsp *http.Response) (*DcimRacksPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194285,7 +298192,7 @@ func ParseDcimRacksPartialUpdateResponse(rsp *http.Response) (*DcimRacksPartialU // ParseDcimRacksUpdateResponse parses an HTTP response from a DcimRacksUpdateWithResponse call func ParseDcimRacksUpdateResponse(rsp *http.Response) (*DcimRacksUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194301,7 +298208,7 @@ func ParseDcimRacksUpdateResponse(rsp *http.Response) (*DcimRacksUpdateResponse, // ParseDcimRacksElevationListResponse parses an HTTP response from a DcimRacksElevationListWithResponse call func ParseDcimRacksElevationListResponse(rsp *http.Response) (*DcimRacksElevationListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194315,9 +298222,41 @@ func ParseDcimRacksElevationListResponse(rsp *http.Response) (*DcimRacksElevatio return response, nil } +// ParseDcimRacksNotesListResponse parses an HTTP response from a DcimRacksNotesListWithResponse call +func ParseDcimRacksNotesListResponse(rsp *http.Response) (*DcimRacksNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRacksNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRacksNotesCreateResponse parses an HTTP response from a DcimRacksNotesCreateWithResponse call +func ParseDcimRacksNotesCreateResponse(rsp *http.Response) (*DcimRacksNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRacksNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimRearPortTemplatesBulkDestroyResponse parses an HTTP response from a DcimRearPortTemplatesBulkDestroyWithResponse call func ParseDcimRearPortTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimRearPortTemplatesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194333,7 +298272,7 @@ func ParseDcimRearPortTemplatesBulkDestroyResponse(rsp *http.Response) (*DcimRea // ParseDcimRearPortTemplatesListResponse parses an HTTP response from a DcimRearPortTemplatesListWithResponse call func ParseDcimRearPortTemplatesListResponse(rsp *http.Response) (*DcimRearPortTemplatesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194349,7 +298288,7 @@ func ParseDcimRearPortTemplatesListResponse(rsp *http.Response) (*DcimRearPortTe // ParseDcimRearPortTemplatesBulkPartialUpdateResponse parses an HTTP response from a DcimRearPortTemplatesBulkPartialUpdateWithResponse call func ParseDcimRearPortTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*DcimRearPortTemplatesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194365,7 +298304,7 @@ func ParseDcimRearPortTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*D // ParseDcimRearPortTemplatesCreateResponse parses an HTTP response from a DcimRearPortTemplatesCreateWithResponse call func ParseDcimRearPortTemplatesCreateResponse(rsp *http.Response) (*DcimRearPortTemplatesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194381,7 +298320,7 @@ func ParseDcimRearPortTemplatesCreateResponse(rsp *http.Response) (*DcimRearPort // ParseDcimRearPortTemplatesBulkUpdateResponse parses an HTTP response from a DcimRearPortTemplatesBulkUpdateWithResponse call func ParseDcimRearPortTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimRearPortTemplatesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194397,7 +298336,7 @@ func ParseDcimRearPortTemplatesBulkUpdateResponse(rsp *http.Response) (*DcimRear // ParseDcimRearPortTemplatesDestroyResponse parses an HTTP response from a DcimRearPortTemplatesDestroyWithResponse call func ParseDcimRearPortTemplatesDestroyResponse(rsp *http.Response) (*DcimRearPortTemplatesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194413,7 +298352,7 @@ func ParseDcimRearPortTemplatesDestroyResponse(rsp *http.Response) (*DcimRearPor // ParseDcimRearPortTemplatesRetrieveResponse parses an HTTP response from a DcimRearPortTemplatesRetrieveWithResponse call func ParseDcimRearPortTemplatesRetrieveResponse(rsp *http.Response) (*DcimRearPortTemplatesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194429,7 +298368,7 @@ func ParseDcimRearPortTemplatesRetrieveResponse(rsp *http.Response) (*DcimRearPo // ParseDcimRearPortTemplatesPartialUpdateResponse parses an HTTP response from a DcimRearPortTemplatesPartialUpdateWithResponse call func ParseDcimRearPortTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimRearPortTemplatesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194445,7 +298384,7 @@ func ParseDcimRearPortTemplatesPartialUpdateResponse(rsp *http.Response) (*DcimR // ParseDcimRearPortTemplatesUpdateResponse parses an HTTP response from a DcimRearPortTemplatesUpdateWithResponse call func ParseDcimRearPortTemplatesUpdateResponse(rsp *http.Response) (*DcimRearPortTemplatesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194459,9 +298398,41 @@ func ParseDcimRearPortTemplatesUpdateResponse(rsp *http.Response) (*DcimRearPort return response, nil } +// ParseDcimRearPortTemplatesNotesListResponse parses an HTTP response from a DcimRearPortTemplatesNotesListWithResponse call +func ParseDcimRearPortTemplatesNotesListResponse(rsp *http.Response) (*DcimRearPortTemplatesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortTemplatesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRearPortTemplatesNotesCreateResponse parses an HTTP response from a DcimRearPortTemplatesNotesCreateWithResponse call +func ParseDcimRearPortTemplatesNotesCreateResponse(rsp *http.Response) (*DcimRearPortTemplatesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortTemplatesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimRearPortsBulkDestroyResponse parses an HTTP response from a DcimRearPortsBulkDestroyWithResponse call func ParseDcimRearPortsBulkDestroyResponse(rsp *http.Response) (*DcimRearPortsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194477,7 +298448,7 @@ func ParseDcimRearPortsBulkDestroyResponse(rsp *http.Response) (*DcimRearPortsBu // ParseDcimRearPortsListResponse parses an HTTP response from a DcimRearPortsListWithResponse call func ParseDcimRearPortsListResponse(rsp *http.Response) (*DcimRearPortsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194493,7 +298464,7 @@ func ParseDcimRearPortsListResponse(rsp *http.Response) (*DcimRearPortsListRespo // ParseDcimRearPortsBulkPartialUpdateResponse parses an HTTP response from a DcimRearPortsBulkPartialUpdateWithResponse call func ParseDcimRearPortsBulkPartialUpdateResponse(rsp *http.Response) (*DcimRearPortsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194509,7 +298480,7 @@ func ParseDcimRearPortsBulkPartialUpdateResponse(rsp *http.Response) (*DcimRearP // ParseDcimRearPortsCreateResponse parses an HTTP response from a DcimRearPortsCreateWithResponse call func ParseDcimRearPortsCreateResponse(rsp *http.Response) (*DcimRearPortsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194525,7 +298496,7 @@ func ParseDcimRearPortsCreateResponse(rsp *http.Response) (*DcimRearPortsCreateR // ParseDcimRearPortsBulkUpdateResponse parses an HTTP response from a DcimRearPortsBulkUpdateWithResponse call func ParseDcimRearPortsBulkUpdateResponse(rsp *http.Response) (*DcimRearPortsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194541,7 +298512,7 @@ func ParseDcimRearPortsBulkUpdateResponse(rsp *http.Response) (*DcimRearPortsBul // ParseDcimRearPortsDestroyResponse parses an HTTP response from a DcimRearPortsDestroyWithResponse call func ParseDcimRearPortsDestroyResponse(rsp *http.Response) (*DcimRearPortsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194557,7 +298528,7 @@ func ParseDcimRearPortsDestroyResponse(rsp *http.Response) (*DcimRearPortsDestro // ParseDcimRearPortsRetrieveResponse parses an HTTP response from a DcimRearPortsRetrieveWithResponse call func ParseDcimRearPortsRetrieveResponse(rsp *http.Response) (*DcimRearPortsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194573,7 +298544,7 @@ func ParseDcimRearPortsRetrieveResponse(rsp *http.Response) (*DcimRearPortsRetri // ParseDcimRearPortsPartialUpdateResponse parses an HTTP response from a DcimRearPortsPartialUpdateWithResponse call func ParseDcimRearPortsPartialUpdateResponse(rsp *http.Response) (*DcimRearPortsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194589,7 +298560,7 @@ func ParseDcimRearPortsPartialUpdateResponse(rsp *http.Response) (*DcimRearPorts // ParseDcimRearPortsUpdateResponse parses an HTTP response from a DcimRearPortsUpdateWithResponse call func ParseDcimRearPortsUpdateResponse(rsp *http.Response) (*DcimRearPortsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194603,9 +298574,41 @@ func ParseDcimRearPortsUpdateResponse(rsp *http.Response) (*DcimRearPortsUpdateR return response, nil } +// ParseDcimRearPortsNotesListResponse parses an HTTP response from a DcimRearPortsNotesListWithResponse call +func ParseDcimRearPortsNotesListResponse(rsp *http.Response) (*DcimRearPortsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRearPortsNotesCreateResponse parses an HTTP response from a DcimRearPortsNotesCreateWithResponse call +func ParseDcimRearPortsNotesCreateResponse(rsp *http.Response) (*DcimRearPortsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRearPortsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimRearPortsPathsRetrieveResponse parses an HTTP response from a DcimRearPortsPathsRetrieveWithResponse call func ParseDcimRearPortsPathsRetrieveResponse(rsp *http.Response) (*DcimRearPortsPathsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194621,7 +298624,7 @@ func ParseDcimRearPortsPathsRetrieveResponse(rsp *http.Response) (*DcimRearPorts // ParseDcimRegionsBulkDestroyResponse parses an HTTP response from a DcimRegionsBulkDestroyWithResponse call func ParseDcimRegionsBulkDestroyResponse(rsp *http.Response) (*DcimRegionsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194637,7 +298640,7 @@ func ParseDcimRegionsBulkDestroyResponse(rsp *http.Response) (*DcimRegionsBulkDe // ParseDcimRegionsListResponse parses an HTTP response from a DcimRegionsListWithResponse call func ParseDcimRegionsListResponse(rsp *http.Response) (*DcimRegionsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194653,7 +298656,7 @@ func ParseDcimRegionsListResponse(rsp *http.Response) (*DcimRegionsListResponse, // ParseDcimRegionsBulkPartialUpdateResponse parses an HTTP response from a DcimRegionsBulkPartialUpdateWithResponse call func ParseDcimRegionsBulkPartialUpdateResponse(rsp *http.Response) (*DcimRegionsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194669,7 +298672,7 @@ func ParseDcimRegionsBulkPartialUpdateResponse(rsp *http.Response) (*DcimRegions // ParseDcimRegionsCreateResponse parses an HTTP response from a DcimRegionsCreateWithResponse call func ParseDcimRegionsCreateResponse(rsp *http.Response) (*DcimRegionsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194685,7 +298688,7 @@ func ParseDcimRegionsCreateResponse(rsp *http.Response) (*DcimRegionsCreateRespo // ParseDcimRegionsBulkUpdateResponse parses an HTTP response from a DcimRegionsBulkUpdateWithResponse call func ParseDcimRegionsBulkUpdateResponse(rsp *http.Response) (*DcimRegionsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194701,7 +298704,7 @@ func ParseDcimRegionsBulkUpdateResponse(rsp *http.Response) (*DcimRegionsBulkUpd // ParseDcimRegionsDestroyResponse parses an HTTP response from a DcimRegionsDestroyWithResponse call func ParseDcimRegionsDestroyResponse(rsp *http.Response) (*DcimRegionsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194717,7 +298720,7 @@ func ParseDcimRegionsDestroyResponse(rsp *http.Response) (*DcimRegionsDestroyRes // ParseDcimRegionsRetrieveResponse parses an HTTP response from a DcimRegionsRetrieveWithResponse call func ParseDcimRegionsRetrieveResponse(rsp *http.Response) (*DcimRegionsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194733,7 +298736,7 @@ func ParseDcimRegionsRetrieveResponse(rsp *http.Response) (*DcimRegionsRetrieveR // ParseDcimRegionsPartialUpdateResponse parses an HTTP response from a DcimRegionsPartialUpdateWithResponse call func ParseDcimRegionsPartialUpdateResponse(rsp *http.Response) (*DcimRegionsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194749,7 +298752,7 @@ func ParseDcimRegionsPartialUpdateResponse(rsp *http.Response) (*DcimRegionsPart // ParseDcimRegionsUpdateResponse parses an HTTP response from a DcimRegionsUpdateWithResponse call func ParseDcimRegionsUpdateResponse(rsp *http.Response) (*DcimRegionsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194763,9 +298766,41 @@ func ParseDcimRegionsUpdateResponse(rsp *http.Response) (*DcimRegionsUpdateRespo return response, nil } +// ParseDcimRegionsNotesListResponse parses an HTTP response from a DcimRegionsNotesListWithResponse call +func ParseDcimRegionsNotesListResponse(rsp *http.Response) (*DcimRegionsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRegionsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimRegionsNotesCreateResponse parses an HTTP response from a DcimRegionsNotesCreateWithResponse call +func ParseDcimRegionsNotesCreateResponse(rsp *http.Response) (*DcimRegionsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimRegionsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimSitesBulkDestroyResponse parses an HTTP response from a DcimSitesBulkDestroyWithResponse call func ParseDcimSitesBulkDestroyResponse(rsp *http.Response) (*DcimSitesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194781,7 +298816,7 @@ func ParseDcimSitesBulkDestroyResponse(rsp *http.Response) (*DcimSitesBulkDestro // ParseDcimSitesListResponse parses an HTTP response from a DcimSitesListWithResponse call func ParseDcimSitesListResponse(rsp *http.Response) (*DcimSitesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194797,7 +298832,7 @@ func ParseDcimSitesListResponse(rsp *http.Response) (*DcimSitesListResponse, err // ParseDcimSitesBulkPartialUpdateResponse parses an HTTP response from a DcimSitesBulkPartialUpdateWithResponse call func ParseDcimSitesBulkPartialUpdateResponse(rsp *http.Response) (*DcimSitesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194813,7 +298848,7 @@ func ParseDcimSitesBulkPartialUpdateResponse(rsp *http.Response) (*DcimSitesBulk // ParseDcimSitesCreateResponse parses an HTTP response from a DcimSitesCreateWithResponse call func ParseDcimSitesCreateResponse(rsp *http.Response) (*DcimSitesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194829,7 +298864,7 @@ func ParseDcimSitesCreateResponse(rsp *http.Response) (*DcimSitesCreateResponse, // ParseDcimSitesBulkUpdateResponse parses an HTTP response from a DcimSitesBulkUpdateWithResponse call func ParseDcimSitesBulkUpdateResponse(rsp *http.Response) (*DcimSitesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194845,7 +298880,7 @@ func ParseDcimSitesBulkUpdateResponse(rsp *http.Response) (*DcimSitesBulkUpdateR // ParseDcimSitesDestroyResponse parses an HTTP response from a DcimSitesDestroyWithResponse call func ParseDcimSitesDestroyResponse(rsp *http.Response) (*DcimSitesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194861,7 +298896,7 @@ func ParseDcimSitesDestroyResponse(rsp *http.Response) (*DcimSitesDestroyRespons // ParseDcimSitesRetrieveResponse parses an HTTP response from a DcimSitesRetrieveWithResponse call func ParseDcimSitesRetrieveResponse(rsp *http.Response) (*DcimSitesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194877,7 +298912,7 @@ func ParseDcimSitesRetrieveResponse(rsp *http.Response) (*DcimSitesRetrieveRespo // ParseDcimSitesPartialUpdateResponse parses an HTTP response from a DcimSitesPartialUpdateWithResponse call func ParseDcimSitesPartialUpdateResponse(rsp *http.Response) (*DcimSitesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194893,7 +298928,7 @@ func ParseDcimSitesPartialUpdateResponse(rsp *http.Response) (*DcimSitesPartialU // ParseDcimSitesUpdateResponse parses an HTTP response from a DcimSitesUpdateWithResponse call func ParseDcimSitesUpdateResponse(rsp *http.Response) (*DcimSitesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194907,9 +298942,41 @@ func ParseDcimSitesUpdateResponse(rsp *http.Response) (*DcimSitesUpdateResponse, return response, nil } +// ParseDcimSitesNotesListResponse parses an HTTP response from a DcimSitesNotesListWithResponse call +func ParseDcimSitesNotesListResponse(rsp *http.Response) (*DcimSitesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSitesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimSitesNotesCreateResponse parses an HTTP response from a DcimSitesNotesCreateWithResponse call +func ParseDcimSitesNotesCreateResponse(rsp *http.Response) (*DcimSitesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimSitesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseDcimVirtualChassisBulkDestroyResponse parses an HTTP response from a DcimVirtualChassisBulkDestroyWithResponse call func ParseDcimVirtualChassisBulkDestroyResponse(rsp *http.Response) (*DcimVirtualChassisBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194925,7 +298992,7 @@ func ParseDcimVirtualChassisBulkDestroyResponse(rsp *http.Response) (*DcimVirtua // ParseDcimVirtualChassisListResponse parses an HTTP response from a DcimVirtualChassisListWithResponse call func ParseDcimVirtualChassisListResponse(rsp *http.Response) (*DcimVirtualChassisListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194941,7 +299008,7 @@ func ParseDcimVirtualChassisListResponse(rsp *http.Response) (*DcimVirtualChassi // ParseDcimVirtualChassisBulkPartialUpdateResponse parses an HTTP response from a DcimVirtualChassisBulkPartialUpdateWithResponse call func ParseDcimVirtualChassisBulkPartialUpdateResponse(rsp *http.Response) (*DcimVirtualChassisBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194957,7 +299024,7 @@ func ParseDcimVirtualChassisBulkPartialUpdateResponse(rsp *http.Response) (*Dcim // ParseDcimVirtualChassisCreateResponse parses an HTTP response from a DcimVirtualChassisCreateWithResponse call func ParseDcimVirtualChassisCreateResponse(rsp *http.Response) (*DcimVirtualChassisCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194973,7 +299040,7 @@ func ParseDcimVirtualChassisCreateResponse(rsp *http.Response) (*DcimVirtualChas // ParseDcimVirtualChassisBulkUpdateResponse parses an HTTP response from a DcimVirtualChassisBulkUpdateWithResponse call func ParseDcimVirtualChassisBulkUpdateResponse(rsp *http.Response) (*DcimVirtualChassisBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -194989,7 +299056,7 @@ func ParseDcimVirtualChassisBulkUpdateResponse(rsp *http.Response) (*DcimVirtual // ParseDcimVirtualChassisDestroyResponse parses an HTTP response from a DcimVirtualChassisDestroyWithResponse call func ParseDcimVirtualChassisDestroyResponse(rsp *http.Response) (*DcimVirtualChassisDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195005,7 +299072,7 @@ func ParseDcimVirtualChassisDestroyResponse(rsp *http.Response) (*DcimVirtualCha // ParseDcimVirtualChassisRetrieveResponse parses an HTTP response from a DcimVirtualChassisRetrieveWithResponse call func ParseDcimVirtualChassisRetrieveResponse(rsp *http.Response) (*DcimVirtualChassisRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195021,7 +299088,7 @@ func ParseDcimVirtualChassisRetrieveResponse(rsp *http.Response) (*DcimVirtualCh // ParseDcimVirtualChassisPartialUpdateResponse parses an HTTP response from a DcimVirtualChassisPartialUpdateWithResponse call func ParseDcimVirtualChassisPartialUpdateResponse(rsp *http.Response) (*DcimVirtualChassisPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195037,7 +299104,7 @@ func ParseDcimVirtualChassisPartialUpdateResponse(rsp *http.Response) (*DcimVirt // ParseDcimVirtualChassisUpdateResponse parses an HTTP response from a DcimVirtualChassisUpdateWithResponse call func ParseDcimVirtualChassisUpdateResponse(rsp *http.Response) (*DcimVirtualChassisUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195051,9 +299118,41 @@ func ParseDcimVirtualChassisUpdateResponse(rsp *http.Response) (*DcimVirtualChas return response, nil } +// ParseDcimVirtualChassisNotesListResponse parses an HTTP response from a DcimVirtualChassisNotesListWithResponse call +func ParseDcimVirtualChassisNotesListResponse(rsp *http.Response) (*DcimVirtualChassisNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualChassisNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDcimVirtualChassisNotesCreateResponse parses an HTTP response from a DcimVirtualChassisNotesCreateWithResponse call +func ParseDcimVirtualChassisNotesCreateResponse(rsp *http.Response) (*DcimVirtualChassisNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DcimVirtualChassisNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseExtrasComputedFieldsBulkDestroyResponse parses an HTTP response from a ExtrasComputedFieldsBulkDestroyWithResponse call func ParseExtrasComputedFieldsBulkDestroyResponse(rsp *http.Response) (*ExtrasComputedFieldsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195069,7 +299168,7 @@ func ParseExtrasComputedFieldsBulkDestroyResponse(rsp *http.Response) (*ExtrasCo // ParseExtrasComputedFieldsListResponse parses an HTTP response from a ExtrasComputedFieldsListWithResponse call func ParseExtrasComputedFieldsListResponse(rsp *http.Response) (*ExtrasComputedFieldsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195085,7 +299184,7 @@ func ParseExtrasComputedFieldsListResponse(rsp *http.Response) (*ExtrasComputedF // ParseExtrasComputedFieldsBulkPartialUpdateResponse parses an HTTP response from a ExtrasComputedFieldsBulkPartialUpdateWithResponse call func ParseExtrasComputedFieldsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasComputedFieldsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195101,7 +299200,7 @@ func ParseExtrasComputedFieldsBulkPartialUpdateResponse(rsp *http.Response) (*Ex // ParseExtrasComputedFieldsCreateResponse parses an HTTP response from a ExtrasComputedFieldsCreateWithResponse call func ParseExtrasComputedFieldsCreateResponse(rsp *http.Response) (*ExtrasComputedFieldsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195117,7 +299216,7 @@ func ParseExtrasComputedFieldsCreateResponse(rsp *http.Response) (*ExtrasCompute // ParseExtrasComputedFieldsBulkUpdateResponse parses an HTTP response from a ExtrasComputedFieldsBulkUpdateWithResponse call func ParseExtrasComputedFieldsBulkUpdateResponse(rsp *http.Response) (*ExtrasComputedFieldsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195133,7 +299232,7 @@ func ParseExtrasComputedFieldsBulkUpdateResponse(rsp *http.Response) (*ExtrasCom // ParseExtrasComputedFieldsDestroyResponse parses an HTTP response from a ExtrasComputedFieldsDestroyWithResponse call func ParseExtrasComputedFieldsDestroyResponse(rsp *http.Response) (*ExtrasComputedFieldsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195149,7 +299248,7 @@ func ParseExtrasComputedFieldsDestroyResponse(rsp *http.Response) (*ExtrasComput // ParseExtrasComputedFieldsRetrieveResponse parses an HTTP response from a ExtrasComputedFieldsRetrieveWithResponse call func ParseExtrasComputedFieldsRetrieveResponse(rsp *http.Response) (*ExtrasComputedFieldsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195165,7 +299264,7 @@ func ParseExtrasComputedFieldsRetrieveResponse(rsp *http.Response) (*ExtrasCompu // ParseExtrasComputedFieldsPartialUpdateResponse parses an HTTP response from a ExtrasComputedFieldsPartialUpdateWithResponse call func ParseExtrasComputedFieldsPartialUpdateResponse(rsp *http.Response) (*ExtrasComputedFieldsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195181,7 +299280,7 @@ func ParseExtrasComputedFieldsPartialUpdateResponse(rsp *http.Response) (*Extras // ParseExtrasComputedFieldsUpdateResponse parses an HTTP response from a ExtrasComputedFieldsUpdateWithResponse call func ParseExtrasComputedFieldsUpdateResponse(rsp *http.Response) (*ExtrasComputedFieldsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195195,9 +299294,41 @@ func ParseExtrasComputedFieldsUpdateResponse(rsp *http.Response) (*ExtrasCompute return response, nil } +// ParseExtrasComputedFieldsNotesListResponse parses an HTTP response from a ExtrasComputedFieldsNotesListWithResponse call +func ParseExtrasComputedFieldsNotesListResponse(rsp *http.Response) (*ExtrasComputedFieldsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasComputedFieldsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasComputedFieldsNotesCreateResponse parses an HTTP response from a ExtrasComputedFieldsNotesCreateWithResponse call +func ParseExtrasComputedFieldsNotesCreateResponse(rsp *http.Response) (*ExtrasComputedFieldsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasComputedFieldsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseExtrasConfigContextSchemasBulkDestroyResponse parses an HTTP response from a ExtrasConfigContextSchemasBulkDestroyWithResponse call func ParseExtrasConfigContextSchemasBulkDestroyResponse(rsp *http.Response) (*ExtrasConfigContextSchemasBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195213,7 +299344,7 @@ func ParseExtrasConfigContextSchemasBulkDestroyResponse(rsp *http.Response) (*Ex // ParseExtrasConfigContextSchemasListResponse parses an HTTP response from a ExtrasConfigContextSchemasListWithResponse call func ParseExtrasConfigContextSchemasListResponse(rsp *http.Response) (*ExtrasConfigContextSchemasListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195229,7 +299360,7 @@ func ParseExtrasConfigContextSchemasListResponse(rsp *http.Response) (*ExtrasCon // ParseExtrasConfigContextSchemasBulkPartialUpdateResponse parses an HTTP response from a ExtrasConfigContextSchemasBulkPartialUpdateWithResponse call func ParseExtrasConfigContextSchemasBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasConfigContextSchemasBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195245,7 +299376,7 @@ func ParseExtrasConfigContextSchemasBulkPartialUpdateResponse(rsp *http.Response // ParseExtrasConfigContextSchemasCreateResponse parses an HTTP response from a ExtrasConfigContextSchemasCreateWithResponse call func ParseExtrasConfigContextSchemasCreateResponse(rsp *http.Response) (*ExtrasConfigContextSchemasCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195261,7 +299392,7 @@ func ParseExtrasConfigContextSchemasCreateResponse(rsp *http.Response) (*ExtrasC // ParseExtrasConfigContextSchemasBulkUpdateResponse parses an HTTP response from a ExtrasConfigContextSchemasBulkUpdateWithResponse call func ParseExtrasConfigContextSchemasBulkUpdateResponse(rsp *http.Response) (*ExtrasConfigContextSchemasBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195277,7 +299408,7 @@ func ParseExtrasConfigContextSchemasBulkUpdateResponse(rsp *http.Response) (*Ext // ParseExtrasConfigContextSchemasDestroyResponse parses an HTTP response from a ExtrasConfigContextSchemasDestroyWithResponse call func ParseExtrasConfigContextSchemasDestroyResponse(rsp *http.Response) (*ExtrasConfigContextSchemasDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195293,7 +299424,7 @@ func ParseExtrasConfigContextSchemasDestroyResponse(rsp *http.Response) (*Extras // ParseExtrasConfigContextSchemasRetrieveResponse parses an HTTP response from a ExtrasConfigContextSchemasRetrieveWithResponse call func ParseExtrasConfigContextSchemasRetrieveResponse(rsp *http.Response) (*ExtrasConfigContextSchemasRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195309,7 +299440,7 @@ func ParseExtrasConfigContextSchemasRetrieveResponse(rsp *http.Response) (*Extra // ParseExtrasConfigContextSchemasPartialUpdateResponse parses an HTTP response from a ExtrasConfigContextSchemasPartialUpdateWithResponse call func ParseExtrasConfigContextSchemasPartialUpdateResponse(rsp *http.Response) (*ExtrasConfigContextSchemasPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195325,7 +299456,7 @@ func ParseExtrasConfigContextSchemasPartialUpdateResponse(rsp *http.Response) (* // ParseExtrasConfigContextSchemasUpdateResponse parses an HTTP response from a ExtrasConfigContextSchemasUpdateWithResponse call func ParseExtrasConfigContextSchemasUpdateResponse(rsp *http.Response) (*ExtrasConfigContextSchemasUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195339,9 +299470,41 @@ func ParseExtrasConfigContextSchemasUpdateResponse(rsp *http.Response) (*ExtrasC return response, nil } +// ParseExtrasConfigContextSchemasNotesListResponse parses an HTTP response from a ExtrasConfigContextSchemasNotesListWithResponse call +func ParseExtrasConfigContextSchemasNotesListResponse(rsp *http.Response) (*ExtrasConfigContextSchemasNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextSchemasNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasConfigContextSchemasNotesCreateResponse parses an HTTP response from a ExtrasConfigContextSchemasNotesCreateWithResponse call +func ParseExtrasConfigContextSchemasNotesCreateResponse(rsp *http.Response) (*ExtrasConfigContextSchemasNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextSchemasNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseExtrasConfigContextsBulkDestroyResponse parses an HTTP response from a ExtrasConfigContextsBulkDestroyWithResponse call func ParseExtrasConfigContextsBulkDestroyResponse(rsp *http.Response) (*ExtrasConfigContextsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195357,7 +299520,7 @@ func ParseExtrasConfigContextsBulkDestroyResponse(rsp *http.Response) (*ExtrasCo // ParseExtrasConfigContextsListResponse parses an HTTP response from a ExtrasConfigContextsListWithResponse call func ParseExtrasConfigContextsListResponse(rsp *http.Response) (*ExtrasConfigContextsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195373,7 +299536,7 @@ func ParseExtrasConfigContextsListResponse(rsp *http.Response) (*ExtrasConfigCon // ParseExtrasConfigContextsBulkPartialUpdateResponse parses an HTTP response from a ExtrasConfigContextsBulkPartialUpdateWithResponse call func ParseExtrasConfigContextsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasConfigContextsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195389,7 +299552,7 @@ func ParseExtrasConfigContextsBulkPartialUpdateResponse(rsp *http.Response) (*Ex // ParseExtrasConfigContextsCreateResponse parses an HTTP response from a ExtrasConfigContextsCreateWithResponse call func ParseExtrasConfigContextsCreateResponse(rsp *http.Response) (*ExtrasConfigContextsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195405,7 +299568,7 @@ func ParseExtrasConfigContextsCreateResponse(rsp *http.Response) (*ExtrasConfigC // ParseExtrasConfigContextsBulkUpdateResponse parses an HTTP response from a ExtrasConfigContextsBulkUpdateWithResponse call func ParseExtrasConfigContextsBulkUpdateResponse(rsp *http.Response) (*ExtrasConfigContextsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195421,7 +299584,7 @@ func ParseExtrasConfigContextsBulkUpdateResponse(rsp *http.Response) (*ExtrasCon // ParseExtrasConfigContextsDestroyResponse parses an HTTP response from a ExtrasConfigContextsDestroyWithResponse call func ParseExtrasConfigContextsDestroyResponse(rsp *http.Response) (*ExtrasConfigContextsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195437,7 +299600,7 @@ func ParseExtrasConfigContextsDestroyResponse(rsp *http.Response) (*ExtrasConfig // ParseExtrasConfigContextsRetrieveResponse parses an HTTP response from a ExtrasConfigContextsRetrieveWithResponse call func ParseExtrasConfigContextsRetrieveResponse(rsp *http.Response) (*ExtrasConfigContextsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195453,7 +299616,7 @@ func ParseExtrasConfigContextsRetrieveResponse(rsp *http.Response) (*ExtrasConfi // ParseExtrasConfigContextsPartialUpdateResponse parses an HTTP response from a ExtrasConfigContextsPartialUpdateWithResponse call func ParseExtrasConfigContextsPartialUpdateResponse(rsp *http.Response) (*ExtrasConfigContextsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195469,7 +299632,7 @@ func ParseExtrasConfigContextsPartialUpdateResponse(rsp *http.Response) (*Extras // ParseExtrasConfigContextsUpdateResponse parses an HTTP response from a ExtrasConfigContextsUpdateWithResponse call func ParseExtrasConfigContextsUpdateResponse(rsp *http.Response) (*ExtrasConfigContextsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195483,9 +299646,41 @@ func ParseExtrasConfigContextsUpdateResponse(rsp *http.Response) (*ExtrasConfigC return response, nil } +// ParseExtrasConfigContextsNotesListResponse parses an HTTP response from a ExtrasConfigContextsNotesListWithResponse call +func ParseExtrasConfigContextsNotesListResponse(rsp *http.Response) (*ExtrasConfigContextsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasConfigContextsNotesCreateResponse parses an HTTP response from a ExtrasConfigContextsNotesCreateWithResponse call +func ParseExtrasConfigContextsNotesCreateResponse(rsp *http.Response) (*ExtrasConfigContextsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasConfigContextsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseExtrasContentTypesListResponse parses an HTTP response from a ExtrasContentTypesListWithResponse call func ParseExtrasContentTypesListResponse(rsp *http.Response) (*ExtrasContentTypesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195501,7 +299696,7 @@ func ParseExtrasContentTypesListResponse(rsp *http.Response) (*ExtrasContentType // ParseExtrasContentTypesRetrieveResponse parses an HTTP response from a ExtrasContentTypesRetrieveWithResponse call func ParseExtrasContentTypesRetrieveResponse(rsp *http.Response) (*ExtrasContentTypesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195517,7 +299712,7 @@ func ParseExtrasContentTypesRetrieveResponse(rsp *http.Response) (*ExtrasContent // ParseExtrasCustomFieldChoicesBulkDestroyResponse parses an HTTP response from a ExtrasCustomFieldChoicesBulkDestroyWithResponse call func ParseExtrasCustomFieldChoicesBulkDestroyResponse(rsp *http.Response) (*ExtrasCustomFieldChoicesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195533,7 +299728,7 @@ func ParseExtrasCustomFieldChoicesBulkDestroyResponse(rsp *http.Response) (*Extr // ParseExtrasCustomFieldChoicesListResponse parses an HTTP response from a ExtrasCustomFieldChoicesListWithResponse call func ParseExtrasCustomFieldChoicesListResponse(rsp *http.Response) (*ExtrasCustomFieldChoicesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195549,7 +299744,7 @@ func ParseExtrasCustomFieldChoicesListResponse(rsp *http.Response) (*ExtrasCusto // ParseExtrasCustomFieldChoicesBulkPartialUpdateResponse parses an HTTP response from a ExtrasCustomFieldChoicesBulkPartialUpdateWithResponse call func ParseExtrasCustomFieldChoicesBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldChoicesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195565,7 +299760,7 @@ func ParseExtrasCustomFieldChoicesBulkPartialUpdateResponse(rsp *http.Response) // ParseExtrasCustomFieldChoicesCreateResponse parses an HTTP response from a ExtrasCustomFieldChoicesCreateWithResponse call func ParseExtrasCustomFieldChoicesCreateResponse(rsp *http.Response) (*ExtrasCustomFieldChoicesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195581,7 +299776,7 @@ func ParseExtrasCustomFieldChoicesCreateResponse(rsp *http.Response) (*ExtrasCus // ParseExtrasCustomFieldChoicesBulkUpdateResponse parses an HTTP response from a ExtrasCustomFieldChoicesBulkUpdateWithResponse call func ParseExtrasCustomFieldChoicesBulkUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldChoicesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195597,7 +299792,7 @@ func ParseExtrasCustomFieldChoicesBulkUpdateResponse(rsp *http.Response) (*Extra // ParseExtrasCustomFieldChoicesDestroyResponse parses an HTTP response from a ExtrasCustomFieldChoicesDestroyWithResponse call func ParseExtrasCustomFieldChoicesDestroyResponse(rsp *http.Response) (*ExtrasCustomFieldChoicesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195613,7 +299808,7 @@ func ParseExtrasCustomFieldChoicesDestroyResponse(rsp *http.Response) (*ExtrasCu // ParseExtrasCustomFieldChoicesRetrieveResponse parses an HTTP response from a ExtrasCustomFieldChoicesRetrieveWithResponse call func ParseExtrasCustomFieldChoicesRetrieveResponse(rsp *http.Response) (*ExtrasCustomFieldChoicesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195629,7 +299824,7 @@ func ParseExtrasCustomFieldChoicesRetrieveResponse(rsp *http.Response) (*ExtrasC // ParseExtrasCustomFieldChoicesPartialUpdateResponse parses an HTTP response from a ExtrasCustomFieldChoicesPartialUpdateWithResponse call func ParseExtrasCustomFieldChoicesPartialUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldChoicesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195645,7 +299840,7 @@ func ParseExtrasCustomFieldChoicesPartialUpdateResponse(rsp *http.Response) (*Ex // ParseExtrasCustomFieldChoicesUpdateResponse parses an HTTP response from a ExtrasCustomFieldChoicesUpdateWithResponse call func ParseExtrasCustomFieldChoicesUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldChoicesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195661,7 +299856,7 @@ func ParseExtrasCustomFieldChoicesUpdateResponse(rsp *http.Response) (*ExtrasCus // ParseExtrasCustomFieldsBulkDestroyResponse parses an HTTP response from a ExtrasCustomFieldsBulkDestroyWithResponse call func ParseExtrasCustomFieldsBulkDestroyResponse(rsp *http.Response) (*ExtrasCustomFieldsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195677,7 +299872,7 @@ func ParseExtrasCustomFieldsBulkDestroyResponse(rsp *http.Response) (*ExtrasCust // ParseExtrasCustomFieldsListResponse parses an HTTP response from a ExtrasCustomFieldsListWithResponse call func ParseExtrasCustomFieldsListResponse(rsp *http.Response) (*ExtrasCustomFieldsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195693,7 +299888,7 @@ func ParseExtrasCustomFieldsListResponse(rsp *http.Response) (*ExtrasCustomField // ParseExtrasCustomFieldsBulkPartialUpdateResponse parses an HTTP response from a ExtrasCustomFieldsBulkPartialUpdateWithResponse call func ParseExtrasCustomFieldsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195709,7 +299904,7 @@ func ParseExtrasCustomFieldsBulkPartialUpdateResponse(rsp *http.Response) (*Extr // ParseExtrasCustomFieldsCreateResponse parses an HTTP response from a ExtrasCustomFieldsCreateWithResponse call func ParseExtrasCustomFieldsCreateResponse(rsp *http.Response) (*ExtrasCustomFieldsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195725,7 +299920,7 @@ func ParseExtrasCustomFieldsCreateResponse(rsp *http.Response) (*ExtrasCustomFie // ParseExtrasCustomFieldsBulkUpdateResponse parses an HTTP response from a ExtrasCustomFieldsBulkUpdateWithResponse call func ParseExtrasCustomFieldsBulkUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195741,7 +299936,7 @@ func ParseExtrasCustomFieldsBulkUpdateResponse(rsp *http.Response) (*ExtrasCusto // ParseExtrasCustomFieldsDestroyResponse parses an HTTP response from a ExtrasCustomFieldsDestroyWithResponse call func ParseExtrasCustomFieldsDestroyResponse(rsp *http.Response) (*ExtrasCustomFieldsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195757,7 +299952,7 @@ func ParseExtrasCustomFieldsDestroyResponse(rsp *http.Response) (*ExtrasCustomFi // ParseExtrasCustomFieldsRetrieveResponse parses an HTTP response from a ExtrasCustomFieldsRetrieveWithResponse call func ParseExtrasCustomFieldsRetrieveResponse(rsp *http.Response) (*ExtrasCustomFieldsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195773,7 +299968,7 @@ func ParseExtrasCustomFieldsRetrieveResponse(rsp *http.Response) (*ExtrasCustomF // ParseExtrasCustomFieldsPartialUpdateResponse parses an HTTP response from a ExtrasCustomFieldsPartialUpdateWithResponse call func ParseExtrasCustomFieldsPartialUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195789,7 +299984,7 @@ func ParseExtrasCustomFieldsPartialUpdateResponse(rsp *http.Response) (*ExtrasCu // ParseExtrasCustomFieldsUpdateResponse parses an HTTP response from a ExtrasCustomFieldsUpdateWithResponse call func ParseExtrasCustomFieldsUpdateResponse(rsp *http.Response) (*ExtrasCustomFieldsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195803,9 +299998,41 @@ func ParseExtrasCustomFieldsUpdateResponse(rsp *http.Response) (*ExtrasCustomFie return response, nil } +// ParseExtrasCustomFieldsNotesListResponse parses an HTTP response from a ExtrasCustomFieldsNotesListWithResponse call +func ParseExtrasCustomFieldsNotesListResponse(rsp *http.Response) (*ExtrasCustomFieldsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomFieldsNotesCreateResponse parses an HTTP response from a ExtrasCustomFieldsNotesCreateWithResponse call +func ParseExtrasCustomFieldsNotesCreateResponse(rsp *http.Response) (*ExtrasCustomFieldsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomFieldsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseExtrasCustomLinksBulkDestroyResponse parses an HTTP response from a ExtrasCustomLinksBulkDestroyWithResponse call func ParseExtrasCustomLinksBulkDestroyResponse(rsp *http.Response) (*ExtrasCustomLinksBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195821,7 +300048,7 @@ func ParseExtrasCustomLinksBulkDestroyResponse(rsp *http.Response) (*ExtrasCusto // ParseExtrasCustomLinksListResponse parses an HTTP response from a ExtrasCustomLinksListWithResponse call func ParseExtrasCustomLinksListResponse(rsp *http.Response) (*ExtrasCustomLinksListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195837,7 +300064,7 @@ func ParseExtrasCustomLinksListResponse(rsp *http.Response) (*ExtrasCustomLinksL // ParseExtrasCustomLinksBulkPartialUpdateResponse parses an HTTP response from a ExtrasCustomLinksBulkPartialUpdateWithResponse call func ParseExtrasCustomLinksBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasCustomLinksBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195853,7 +300080,7 @@ func ParseExtrasCustomLinksBulkPartialUpdateResponse(rsp *http.Response) (*Extra // ParseExtrasCustomLinksCreateResponse parses an HTTP response from a ExtrasCustomLinksCreateWithResponse call func ParseExtrasCustomLinksCreateResponse(rsp *http.Response) (*ExtrasCustomLinksCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195869,7 +300096,7 @@ func ParseExtrasCustomLinksCreateResponse(rsp *http.Response) (*ExtrasCustomLink // ParseExtrasCustomLinksBulkUpdateResponse parses an HTTP response from a ExtrasCustomLinksBulkUpdateWithResponse call func ParseExtrasCustomLinksBulkUpdateResponse(rsp *http.Response) (*ExtrasCustomLinksBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195885,7 +300112,7 @@ func ParseExtrasCustomLinksBulkUpdateResponse(rsp *http.Response) (*ExtrasCustom // ParseExtrasCustomLinksDestroyResponse parses an HTTP response from a ExtrasCustomLinksDestroyWithResponse call func ParseExtrasCustomLinksDestroyResponse(rsp *http.Response) (*ExtrasCustomLinksDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195901,7 +300128,7 @@ func ParseExtrasCustomLinksDestroyResponse(rsp *http.Response) (*ExtrasCustomLin // ParseExtrasCustomLinksRetrieveResponse parses an HTTP response from a ExtrasCustomLinksRetrieveWithResponse call func ParseExtrasCustomLinksRetrieveResponse(rsp *http.Response) (*ExtrasCustomLinksRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195917,7 +300144,7 @@ func ParseExtrasCustomLinksRetrieveResponse(rsp *http.Response) (*ExtrasCustomLi // ParseExtrasCustomLinksPartialUpdateResponse parses an HTTP response from a ExtrasCustomLinksPartialUpdateWithResponse call func ParseExtrasCustomLinksPartialUpdateResponse(rsp *http.Response) (*ExtrasCustomLinksPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195933,7 +300160,7 @@ func ParseExtrasCustomLinksPartialUpdateResponse(rsp *http.Response) (*ExtrasCus // ParseExtrasCustomLinksUpdateResponse parses an HTTP response from a ExtrasCustomLinksUpdateWithResponse call func ParseExtrasCustomLinksUpdateResponse(rsp *http.Response) (*ExtrasCustomLinksUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195947,9 +300174,185 @@ func ParseExtrasCustomLinksUpdateResponse(rsp *http.Response) (*ExtrasCustomLink return response, nil } +// ParseExtrasCustomLinksNotesListResponse parses an HTTP response from a ExtrasCustomLinksNotesListWithResponse call +func ParseExtrasCustomLinksNotesListResponse(rsp *http.Response) (*ExtrasCustomLinksNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomLinksNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasCustomLinksNotesCreateResponse parses an HTTP response from a ExtrasCustomLinksNotesCreateWithResponse call +func ParseExtrasCustomLinksNotesCreateResponse(rsp *http.Response) (*ExtrasCustomLinksNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasCustomLinksNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasDynamicGroupMembershipsBulkDestroyResponse parses an HTTP response from a ExtrasDynamicGroupMembershipsBulkDestroyWithResponse call +func ParseExtrasDynamicGroupMembershipsBulkDestroyResponse(rsp *http.Response) (*ExtrasDynamicGroupMembershipsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDynamicGroupMembershipsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasDynamicGroupMembershipsListResponse parses an HTTP response from a ExtrasDynamicGroupMembershipsListWithResponse call +func ParseExtrasDynamicGroupMembershipsListResponse(rsp *http.Response) (*ExtrasDynamicGroupMembershipsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDynamicGroupMembershipsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasDynamicGroupMembershipsBulkPartialUpdateResponse parses an HTTP response from a ExtrasDynamicGroupMembershipsBulkPartialUpdateWithResponse call +func ParseExtrasDynamicGroupMembershipsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasDynamicGroupMembershipsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDynamicGroupMembershipsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasDynamicGroupMembershipsCreateResponse parses an HTTP response from a ExtrasDynamicGroupMembershipsCreateWithResponse call +func ParseExtrasDynamicGroupMembershipsCreateResponse(rsp *http.Response) (*ExtrasDynamicGroupMembershipsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDynamicGroupMembershipsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasDynamicGroupMembershipsBulkUpdateResponse parses an HTTP response from a ExtrasDynamicGroupMembershipsBulkUpdateWithResponse call +func ParseExtrasDynamicGroupMembershipsBulkUpdateResponse(rsp *http.Response) (*ExtrasDynamicGroupMembershipsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDynamicGroupMembershipsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasDynamicGroupMembershipsDestroyResponse parses an HTTP response from a ExtrasDynamicGroupMembershipsDestroyWithResponse call +func ParseExtrasDynamicGroupMembershipsDestroyResponse(rsp *http.Response) (*ExtrasDynamicGroupMembershipsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDynamicGroupMembershipsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasDynamicGroupMembershipsRetrieveResponse parses an HTTP response from a ExtrasDynamicGroupMembershipsRetrieveWithResponse call +func ParseExtrasDynamicGroupMembershipsRetrieveResponse(rsp *http.Response) (*ExtrasDynamicGroupMembershipsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDynamicGroupMembershipsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasDynamicGroupMembershipsPartialUpdateResponse parses an HTTP response from a ExtrasDynamicGroupMembershipsPartialUpdateWithResponse call +func ParseExtrasDynamicGroupMembershipsPartialUpdateResponse(rsp *http.Response) (*ExtrasDynamicGroupMembershipsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDynamicGroupMembershipsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasDynamicGroupMembershipsUpdateResponse parses an HTTP response from a ExtrasDynamicGroupMembershipsUpdateWithResponse call +func ParseExtrasDynamicGroupMembershipsUpdateResponse(rsp *http.Response) (*ExtrasDynamicGroupMembershipsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDynamicGroupMembershipsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseExtrasDynamicGroupsBulkDestroyResponse parses an HTTP response from a ExtrasDynamicGroupsBulkDestroyWithResponse call func ParseExtrasDynamicGroupsBulkDestroyResponse(rsp *http.Response) (*ExtrasDynamicGroupsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195965,7 +300368,7 @@ func ParseExtrasDynamicGroupsBulkDestroyResponse(rsp *http.Response) (*ExtrasDyn // ParseExtrasDynamicGroupsListResponse parses an HTTP response from a ExtrasDynamicGroupsListWithResponse call func ParseExtrasDynamicGroupsListResponse(rsp *http.Response) (*ExtrasDynamicGroupsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195981,7 +300384,7 @@ func ParseExtrasDynamicGroupsListResponse(rsp *http.Response) (*ExtrasDynamicGro // ParseExtrasDynamicGroupsBulkPartialUpdateResponse parses an HTTP response from a ExtrasDynamicGroupsBulkPartialUpdateWithResponse call func ParseExtrasDynamicGroupsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasDynamicGroupsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -195997,7 +300400,7 @@ func ParseExtrasDynamicGroupsBulkPartialUpdateResponse(rsp *http.Response) (*Ext // ParseExtrasDynamicGroupsCreateResponse parses an HTTP response from a ExtrasDynamicGroupsCreateWithResponse call func ParseExtrasDynamicGroupsCreateResponse(rsp *http.Response) (*ExtrasDynamicGroupsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196013,7 +300416,7 @@ func ParseExtrasDynamicGroupsCreateResponse(rsp *http.Response) (*ExtrasDynamicG // ParseExtrasDynamicGroupsBulkUpdateResponse parses an HTTP response from a ExtrasDynamicGroupsBulkUpdateWithResponse call func ParseExtrasDynamicGroupsBulkUpdateResponse(rsp *http.Response) (*ExtrasDynamicGroupsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196029,7 +300432,7 @@ func ParseExtrasDynamicGroupsBulkUpdateResponse(rsp *http.Response) (*ExtrasDyna // ParseExtrasDynamicGroupsDestroyResponse parses an HTTP response from a ExtrasDynamicGroupsDestroyWithResponse call func ParseExtrasDynamicGroupsDestroyResponse(rsp *http.Response) (*ExtrasDynamicGroupsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196045,7 +300448,7 @@ func ParseExtrasDynamicGroupsDestroyResponse(rsp *http.Response) (*ExtrasDynamic // ParseExtrasDynamicGroupsRetrieveResponse parses an HTTP response from a ExtrasDynamicGroupsRetrieveWithResponse call func ParseExtrasDynamicGroupsRetrieveResponse(rsp *http.Response) (*ExtrasDynamicGroupsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196061,7 +300464,7 @@ func ParseExtrasDynamicGroupsRetrieveResponse(rsp *http.Response) (*ExtrasDynami // ParseExtrasDynamicGroupsPartialUpdateResponse parses an HTTP response from a ExtrasDynamicGroupsPartialUpdateWithResponse call func ParseExtrasDynamicGroupsPartialUpdateResponse(rsp *http.Response) (*ExtrasDynamicGroupsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196077,7 +300480,7 @@ func ParseExtrasDynamicGroupsPartialUpdateResponse(rsp *http.Response) (*ExtrasD // ParseExtrasDynamicGroupsUpdateResponse parses an HTTP response from a ExtrasDynamicGroupsUpdateWithResponse call func ParseExtrasDynamicGroupsUpdateResponse(rsp *http.Response) (*ExtrasDynamicGroupsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196093,7 +300496,7 @@ func ParseExtrasDynamicGroupsUpdateResponse(rsp *http.Response) (*ExtrasDynamicG // ParseExtrasDynamicGroupsMembersRetrieveResponse parses an HTTP response from a ExtrasDynamicGroupsMembersRetrieveWithResponse call func ParseExtrasDynamicGroupsMembersRetrieveResponse(rsp *http.Response) (*ExtrasDynamicGroupsMembersRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196107,9 +300510,41 @@ func ParseExtrasDynamicGroupsMembersRetrieveResponse(rsp *http.Response) (*Extra return response, nil } +// ParseExtrasDynamicGroupsNotesListResponse parses an HTTP response from a ExtrasDynamicGroupsNotesListWithResponse call +func ParseExtrasDynamicGroupsNotesListResponse(rsp *http.Response) (*ExtrasDynamicGroupsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDynamicGroupsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasDynamicGroupsNotesCreateResponse parses an HTTP response from a ExtrasDynamicGroupsNotesCreateWithResponse call +func ParseExtrasDynamicGroupsNotesCreateResponse(rsp *http.Response) (*ExtrasDynamicGroupsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasDynamicGroupsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseExtrasExportTemplatesBulkDestroyResponse parses an HTTP response from a ExtrasExportTemplatesBulkDestroyWithResponse call func ParseExtrasExportTemplatesBulkDestroyResponse(rsp *http.Response) (*ExtrasExportTemplatesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196125,7 +300560,7 @@ func ParseExtrasExportTemplatesBulkDestroyResponse(rsp *http.Response) (*ExtrasE // ParseExtrasExportTemplatesListResponse parses an HTTP response from a ExtrasExportTemplatesListWithResponse call func ParseExtrasExportTemplatesListResponse(rsp *http.Response) (*ExtrasExportTemplatesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196141,7 +300576,7 @@ func ParseExtrasExportTemplatesListResponse(rsp *http.Response) (*ExtrasExportTe // ParseExtrasExportTemplatesBulkPartialUpdateResponse parses an HTTP response from a ExtrasExportTemplatesBulkPartialUpdateWithResponse call func ParseExtrasExportTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasExportTemplatesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196157,7 +300592,7 @@ func ParseExtrasExportTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*E // ParseExtrasExportTemplatesCreateResponse parses an HTTP response from a ExtrasExportTemplatesCreateWithResponse call func ParseExtrasExportTemplatesCreateResponse(rsp *http.Response) (*ExtrasExportTemplatesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196173,7 +300608,7 @@ func ParseExtrasExportTemplatesCreateResponse(rsp *http.Response) (*ExtrasExport // ParseExtrasExportTemplatesBulkUpdateResponse parses an HTTP response from a ExtrasExportTemplatesBulkUpdateWithResponse call func ParseExtrasExportTemplatesBulkUpdateResponse(rsp *http.Response) (*ExtrasExportTemplatesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196189,7 +300624,7 @@ func ParseExtrasExportTemplatesBulkUpdateResponse(rsp *http.Response) (*ExtrasEx // ParseExtrasExportTemplatesDestroyResponse parses an HTTP response from a ExtrasExportTemplatesDestroyWithResponse call func ParseExtrasExportTemplatesDestroyResponse(rsp *http.Response) (*ExtrasExportTemplatesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196205,7 +300640,7 @@ func ParseExtrasExportTemplatesDestroyResponse(rsp *http.Response) (*ExtrasExpor // ParseExtrasExportTemplatesRetrieveResponse parses an HTTP response from a ExtrasExportTemplatesRetrieveWithResponse call func ParseExtrasExportTemplatesRetrieveResponse(rsp *http.Response) (*ExtrasExportTemplatesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196221,7 +300656,7 @@ func ParseExtrasExportTemplatesRetrieveResponse(rsp *http.Response) (*ExtrasExpo // ParseExtrasExportTemplatesPartialUpdateResponse parses an HTTP response from a ExtrasExportTemplatesPartialUpdateWithResponse call func ParseExtrasExportTemplatesPartialUpdateResponse(rsp *http.Response) (*ExtrasExportTemplatesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196237,7 +300672,7 @@ func ParseExtrasExportTemplatesPartialUpdateResponse(rsp *http.Response) (*Extra // ParseExtrasExportTemplatesUpdateResponse parses an HTTP response from a ExtrasExportTemplatesUpdateWithResponse call func ParseExtrasExportTemplatesUpdateResponse(rsp *http.Response) (*ExtrasExportTemplatesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196251,9 +300686,41 @@ func ParseExtrasExportTemplatesUpdateResponse(rsp *http.Response) (*ExtrasExport return response, nil } +// ParseExtrasExportTemplatesNotesListResponse parses an HTTP response from a ExtrasExportTemplatesNotesListWithResponse call +func ParseExtrasExportTemplatesNotesListResponse(rsp *http.Response) (*ExtrasExportTemplatesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasExportTemplatesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasExportTemplatesNotesCreateResponse parses an HTTP response from a ExtrasExportTemplatesNotesCreateWithResponse call +func ParseExtrasExportTemplatesNotesCreateResponse(rsp *http.Response) (*ExtrasExportTemplatesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasExportTemplatesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseExtrasGitRepositoriesBulkDestroyResponse parses an HTTP response from a ExtrasGitRepositoriesBulkDestroyWithResponse call func ParseExtrasGitRepositoriesBulkDestroyResponse(rsp *http.Response) (*ExtrasGitRepositoriesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196269,7 +300736,7 @@ func ParseExtrasGitRepositoriesBulkDestroyResponse(rsp *http.Response) (*ExtrasG // ParseExtrasGitRepositoriesListResponse parses an HTTP response from a ExtrasGitRepositoriesListWithResponse call func ParseExtrasGitRepositoriesListResponse(rsp *http.Response) (*ExtrasGitRepositoriesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196285,7 +300752,7 @@ func ParseExtrasGitRepositoriesListResponse(rsp *http.Response) (*ExtrasGitRepos // ParseExtrasGitRepositoriesBulkPartialUpdateResponse parses an HTTP response from a ExtrasGitRepositoriesBulkPartialUpdateWithResponse call func ParseExtrasGitRepositoriesBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasGitRepositoriesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196301,7 +300768,7 @@ func ParseExtrasGitRepositoriesBulkPartialUpdateResponse(rsp *http.Response) (*E // ParseExtrasGitRepositoriesCreateResponse parses an HTTP response from a ExtrasGitRepositoriesCreateWithResponse call func ParseExtrasGitRepositoriesCreateResponse(rsp *http.Response) (*ExtrasGitRepositoriesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196317,7 +300784,7 @@ func ParseExtrasGitRepositoriesCreateResponse(rsp *http.Response) (*ExtrasGitRep // ParseExtrasGitRepositoriesBulkUpdateResponse parses an HTTP response from a ExtrasGitRepositoriesBulkUpdateWithResponse call func ParseExtrasGitRepositoriesBulkUpdateResponse(rsp *http.Response) (*ExtrasGitRepositoriesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196333,7 +300800,7 @@ func ParseExtrasGitRepositoriesBulkUpdateResponse(rsp *http.Response) (*ExtrasGi // ParseExtrasGitRepositoriesDestroyResponse parses an HTTP response from a ExtrasGitRepositoriesDestroyWithResponse call func ParseExtrasGitRepositoriesDestroyResponse(rsp *http.Response) (*ExtrasGitRepositoriesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196349,7 +300816,7 @@ func ParseExtrasGitRepositoriesDestroyResponse(rsp *http.Response) (*ExtrasGitRe // ParseExtrasGitRepositoriesRetrieveResponse parses an HTTP response from a ExtrasGitRepositoriesRetrieveWithResponse call func ParseExtrasGitRepositoriesRetrieveResponse(rsp *http.Response) (*ExtrasGitRepositoriesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196365,7 +300832,7 @@ func ParseExtrasGitRepositoriesRetrieveResponse(rsp *http.Response) (*ExtrasGitR // ParseExtrasGitRepositoriesPartialUpdateResponse parses an HTTP response from a ExtrasGitRepositoriesPartialUpdateWithResponse call func ParseExtrasGitRepositoriesPartialUpdateResponse(rsp *http.Response) (*ExtrasGitRepositoriesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196381,7 +300848,7 @@ func ParseExtrasGitRepositoriesPartialUpdateResponse(rsp *http.Response) (*Extra // ParseExtrasGitRepositoriesUpdateResponse parses an HTTP response from a ExtrasGitRepositoriesUpdateWithResponse call func ParseExtrasGitRepositoriesUpdateResponse(rsp *http.Response) (*ExtrasGitRepositoriesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196395,9 +300862,41 @@ func ParseExtrasGitRepositoriesUpdateResponse(rsp *http.Response) (*ExtrasGitRep return response, nil } +// ParseExtrasGitRepositoriesNotesListResponse parses an HTTP response from a ExtrasGitRepositoriesNotesListWithResponse call +func ParseExtrasGitRepositoriesNotesListResponse(rsp *http.Response) (*ExtrasGitRepositoriesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGitRepositoriesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasGitRepositoriesNotesCreateResponse parses an HTTP response from a ExtrasGitRepositoriesNotesCreateWithResponse call +func ParseExtrasGitRepositoriesNotesCreateResponse(rsp *http.Response) (*ExtrasGitRepositoriesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGitRepositoriesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseExtrasGitRepositoriesSyncCreateResponse parses an HTTP response from a ExtrasGitRepositoriesSyncCreateWithResponse call func ParseExtrasGitRepositoriesSyncCreateResponse(rsp *http.Response) (*ExtrasGitRepositoriesSyncCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196413,7 +300912,7 @@ func ParseExtrasGitRepositoriesSyncCreateResponse(rsp *http.Response) (*ExtrasGi // ParseExtrasGraphqlQueriesBulkDestroyResponse parses an HTTP response from a ExtrasGraphqlQueriesBulkDestroyWithResponse call func ParseExtrasGraphqlQueriesBulkDestroyResponse(rsp *http.Response) (*ExtrasGraphqlQueriesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196429,7 +300928,7 @@ func ParseExtrasGraphqlQueriesBulkDestroyResponse(rsp *http.Response) (*ExtrasGr // ParseExtrasGraphqlQueriesListResponse parses an HTTP response from a ExtrasGraphqlQueriesListWithResponse call func ParseExtrasGraphqlQueriesListResponse(rsp *http.Response) (*ExtrasGraphqlQueriesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196445,7 +300944,7 @@ func ParseExtrasGraphqlQueriesListResponse(rsp *http.Response) (*ExtrasGraphqlQu // ParseExtrasGraphqlQueriesBulkPartialUpdateResponse parses an HTTP response from a ExtrasGraphqlQueriesBulkPartialUpdateWithResponse call func ParseExtrasGraphqlQueriesBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasGraphqlQueriesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196461,7 +300960,7 @@ func ParseExtrasGraphqlQueriesBulkPartialUpdateResponse(rsp *http.Response) (*Ex // ParseExtrasGraphqlQueriesCreateResponse parses an HTTP response from a ExtrasGraphqlQueriesCreateWithResponse call func ParseExtrasGraphqlQueriesCreateResponse(rsp *http.Response) (*ExtrasGraphqlQueriesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196477,7 +300976,7 @@ func ParseExtrasGraphqlQueriesCreateResponse(rsp *http.Response) (*ExtrasGraphql // ParseExtrasGraphqlQueriesBulkUpdateResponse parses an HTTP response from a ExtrasGraphqlQueriesBulkUpdateWithResponse call func ParseExtrasGraphqlQueriesBulkUpdateResponse(rsp *http.Response) (*ExtrasGraphqlQueriesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196493,7 +300992,7 @@ func ParseExtrasGraphqlQueriesBulkUpdateResponse(rsp *http.Response) (*ExtrasGra // ParseExtrasGraphqlQueriesDestroyResponse parses an HTTP response from a ExtrasGraphqlQueriesDestroyWithResponse call func ParseExtrasGraphqlQueriesDestroyResponse(rsp *http.Response) (*ExtrasGraphqlQueriesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196509,7 +301008,7 @@ func ParseExtrasGraphqlQueriesDestroyResponse(rsp *http.Response) (*ExtrasGraphq // ParseExtrasGraphqlQueriesRetrieveResponse parses an HTTP response from a ExtrasGraphqlQueriesRetrieveWithResponse call func ParseExtrasGraphqlQueriesRetrieveResponse(rsp *http.Response) (*ExtrasGraphqlQueriesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196525,7 +301024,7 @@ func ParseExtrasGraphqlQueriesRetrieveResponse(rsp *http.Response) (*ExtrasGraph // ParseExtrasGraphqlQueriesPartialUpdateResponse parses an HTTP response from a ExtrasGraphqlQueriesPartialUpdateWithResponse call func ParseExtrasGraphqlQueriesPartialUpdateResponse(rsp *http.Response) (*ExtrasGraphqlQueriesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196541,7 +301040,7 @@ func ParseExtrasGraphqlQueriesPartialUpdateResponse(rsp *http.Response) (*Extras // ParseExtrasGraphqlQueriesUpdateResponse parses an HTTP response from a ExtrasGraphqlQueriesUpdateWithResponse call func ParseExtrasGraphqlQueriesUpdateResponse(rsp *http.Response) (*ExtrasGraphqlQueriesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196555,9 +301054,41 @@ func ParseExtrasGraphqlQueriesUpdateResponse(rsp *http.Response) (*ExtrasGraphql return response, nil } +// ParseExtrasGraphqlQueriesNotesListResponse parses an HTTP response from a ExtrasGraphqlQueriesNotesListWithResponse call +func ParseExtrasGraphqlQueriesNotesListResponse(rsp *http.Response) (*ExtrasGraphqlQueriesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGraphqlQueriesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasGraphqlQueriesNotesCreateResponse parses an HTTP response from a ExtrasGraphqlQueriesNotesCreateWithResponse call +func ParseExtrasGraphqlQueriesNotesCreateResponse(rsp *http.Response) (*ExtrasGraphqlQueriesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasGraphqlQueriesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseExtrasGraphqlQueriesRunCreateResponse parses an HTTP response from a ExtrasGraphqlQueriesRunCreateWithResponse call func ParseExtrasGraphqlQueriesRunCreateResponse(rsp *http.Response) (*ExtrasGraphqlQueriesRunCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196573,7 +301104,7 @@ func ParseExtrasGraphqlQueriesRunCreateResponse(rsp *http.Response) (*ExtrasGrap // ParseExtrasImageAttachmentsBulkDestroyResponse parses an HTTP response from a ExtrasImageAttachmentsBulkDestroyWithResponse call func ParseExtrasImageAttachmentsBulkDestroyResponse(rsp *http.Response) (*ExtrasImageAttachmentsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196589,7 +301120,7 @@ func ParseExtrasImageAttachmentsBulkDestroyResponse(rsp *http.Response) (*Extras // ParseExtrasImageAttachmentsListResponse parses an HTTP response from a ExtrasImageAttachmentsListWithResponse call func ParseExtrasImageAttachmentsListResponse(rsp *http.Response) (*ExtrasImageAttachmentsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196605,7 +301136,7 @@ func ParseExtrasImageAttachmentsListResponse(rsp *http.Response) (*ExtrasImageAt // ParseExtrasImageAttachmentsBulkPartialUpdateResponse parses an HTTP response from a ExtrasImageAttachmentsBulkPartialUpdateWithResponse call func ParseExtrasImageAttachmentsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasImageAttachmentsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196621,7 +301152,7 @@ func ParseExtrasImageAttachmentsBulkPartialUpdateResponse(rsp *http.Response) (* // ParseExtrasImageAttachmentsCreateResponse parses an HTTP response from a ExtrasImageAttachmentsCreateWithResponse call func ParseExtrasImageAttachmentsCreateResponse(rsp *http.Response) (*ExtrasImageAttachmentsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196637,7 +301168,7 @@ func ParseExtrasImageAttachmentsCreateResponse(rsp *http.Response) (*ExtrasImage // ParseExtrasImageAttachmentsBulkUpdateResponse parses an HTTP response from a ExtrasImageAttachmentsBulkUpdateWithResponse call func ParseExtrasImageAttachmentsBulkUpdateResponse(rsp *http.Response) (*ExtrasImageAttachmentsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196653,7 +301184,7 @@ func ParseExtrasImageAttachmentsBulkUpdateResponse(rsp *http.Response) (*ExtrasI // ParseExtrasImageAttachmentsDestroyResponse parses an HTTP response from a ExtrasImageAttachmentsDestroyWithResponse call func ParseExtrasImageAttachmentsDestroyResponse(rsp *http.Response) (*ExtrasImageAttachmentsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196669,7 +301200,7 @@ func ParseExtrasImageAttachmentsDestroyResponse(rsp *http.Response) (*ExtrasImag // ParseExtrasImageAttachmentsRetrieveResponse parses an HTTP response from a ExtrasImageAttachmentsRetrieveWithResponse call func ParseExtrasImageAttachmentsRetrieveResponse(rsp *http.Response) (*ExtrasImageAttachmentsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196685,7 +301216,7 @@ func ParseExtrasImageAttachmentsRetrieveResponse(rsp *http.Response) (*ExtrasIma // ParseExtrasImageAttachmentsPartialUpdateResponse parses an HTTP response from a ExtrasImageAttachmentsPartialUpdateWithResponse call func ParseExtrasImageAttachmentsPartialUpdateResponse(rsp *http.Response) (*ExtrasImageAttachmentsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196701,7 +301232,7 @@ func ParseExtrasImageAttachmentsPartialUpdateResponse(rsp *http.Response) (*Extr // ParseExtrasImageAttachmentsUpdateResponse parses an HTTP response from a ExtrasImageAttachmentsUpdateWithResponse call func ParseExtrasImageAttachmentsUpdateResponse(rsp *http.Response) (*ExtrasImageAttachmentsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196715,9 +301246,185 @@ func ParseExtrasImageAttachmentsUpdateResponse(rsp *http.Response) (*ExtrasImage return response, nil } +// ParseExtrasJobHooksBulkDestroyResponse parses an HTTP response from a ExtrasJobHooksBulkDestroyWithResponse call +func ParseExtrasJobHooksBulkDestroyResponse(rsp *http.Response) (*ExtrasJobHooksBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobHooksBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobHooksListResponse parses an HTTP response from a ExtrasJobHooksListWithResponse call +func ParseExtrasJobHooksListResponse(rsp *http.Response) (*ExtrasJobHooksListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobHooksListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobHooksBulkPartialUpdateResponse parses an HTTP response from a ExtrasJobHooksBulkPartialUpdateWithResponse call +func ParseExtrasJobHooksBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasJobHooksBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobHooksBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobHooksCreateResponse parses an HTTP response from a ExtrasJobHooksCreateWithResponse call +func ParseExtrasJobHooksCreateResponse(rsp *http.Response) (*ExtrasJobHooksCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobHooksCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobHooksBulkUpdateResponse parses an HTTP response from a ExtrasJobHooksBulkUpdateWithResponse call +func ParseExtrasJobHooksBulkUpdateResponse(rsp *http.Response) (*ExtrasJobHooksBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobHooksBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobHooksDestroyResponse parses an HTTP response from a ExtrasJobHooksDestroyWithResponse call +func ParseExtrasJobHooksDestroyResponse(rsp *http.Response) (*ExtrasJobHooksDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobHooksDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobHooksRetrieveResponse parses an HTTP response from a ExtrasJobHooksRetrieveWithResponse call +func ParseExtrasJobHooksRetrieveResponse(rsp *http.Response) (*ExtrasJobHooksRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobHooksRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobHooksPartialUpdateResponse parses an HTTP response from a ExtrasJobHooksPartialUpdateWithResponse call +func ParseExtrasJobHooksPartialUpdateResponse(rsp *http.Response) (*ExtrasJobHooksPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobHooksPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobHooksUpdateResponse parses an HTTP response from a ExtrasJobHooksUpdateWithResponse call +func ParseExtrasJobHooksUpdateResponse(rsp *http.Response) (*ExtrasJobHooksUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobHooksUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobHooksNotesListResponse parses an HTTP response from a ExtrasJobHooksNotesListWithResponse call +func ParseExtrasJobHooksNotesListResponse(rsp *http.Response) (*ExtrasJobHooksNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobHooksNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobHooksNotesCreateResponse parses an HTTP response from a ExtrasJobHooksNotesCreateWithResponse call +func ParseExtrasJobHooksNotesCreateResponse(rsp *http.Response) (*ExtrasJobHooksNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobHooksNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseExtrasJobLogsListResponse parses an HTTP response from a ExtrasJobLogsListWithResponse call func ParseExtrasJobLogsListResponse(rsp *http.Response) (*ExtrasJobLogsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196733,7 +301440,7 @@ func ParseExtrasJobLogsListResponse(rsp *http.Response) (*ExtrasJobLogsListRespo // ParseExtrasJobLogsRetrieveResponse parses an HTTP response from a ExtrasJobLogsRetrieveWithResponse call func ParseExtrasJobLogsRetrieveResponse(rsp *http.Response) (*ExtrasJobLogsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196749,7 +301456,7 @@ func ParseExtrasJobLogsRetrieveResponse(rsp *http.Response) (*ExtrasJobLogsRetri // ParseExtrasJobResultsBulkDestroyResponse parses an HTTP response from a ExtrasJobResultsBulkDestroyWithResponse call func ParseExtrasJobResultsBulkDestroyResponse(rsp *http.Response) (*ExtrasJobResultsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196765,7 +301472,7 @@ func ParseExtrasJobResultsBulkDestroyResponse(rsp *http.Response) (*ExtrasJobRes // ParseExtrasJobResultsListResponse parses an HTTP response from a ExtrasJobResultsListWithResponse call func ParseExtrasJobResultsListResponse(rsp *http.Response) (*ExtrasJobResultsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196779,57 +301486,9 @@ func ParseExtrasJobResultsListResponse(rsp *http.Response) (*ExtrasJobResultsLis return response, nil } -// ParseExtrasJobResultsBulkPartialUpdateResponse parses an HTTP response from a ExtrasJobResultsBulkPartialUpdateWithResponse call -func ParseExtrasJobResultsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasJobResultsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &ExtrasJobResultsBulkPartialUpdateResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseExtrasJobResultsCreateResponse parses an HTTP response from a ExtrasJobResultsCreateWithResponse call -func ParseExtrasJobResultsCreateResponse(rsp *http.Response) (*ExtrasJobResultsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &ExtrasJobResultsCreateResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseExtrasJobResultsBulkUpdateResponse parses an HTTP response from a ExtrasJobResultsBulkUpdateWithResponse call -func ParseExtrasJobResultsBulkUpdateResponse(rsp *http.Response) (*ExtrasJobResultsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &ExtrasJobResultsBulkUpdateResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - // ParseExtrasJobResultsDestroyResponse parses an HTTP response from a ExtrasJobResultsDestroyWithResponse call func ParseExtrasJobResultsDestroyResponse(rsp *http.Response) (*ExtrasJobResultsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196845,7 +301504,7 @@ func ParseExtrasJobResultsDestroyResponse(rsp *http.Response) (*ExtrasJobResults // ParseExtrasJobResultsRetrieveResponse parses an HTTP response from a ExtrasJobResultsRetrieveWithResponse call func ParseExtrasJobResultsRetrieveResponse(rsp *http.Response) (*ExtrasJobResultsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196859,41 +301518,9 @@ func ParseExtrasJobResultsRetrieveResponse(rsp *http.Response) (*ExtrasJobResult return response, nil } -// ParseExtrasJobResultsPartialUpdateResponse parses an HTTP response from a ExtrasJobResultsPartialUpdateWithResponse call -func ParseExtrasJobResultsPartialUpdateResponse(rsp *http.Response) (*ExtrasJobResultsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &ExtrasJobResultsPartialUpdateResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseExtrasJobResultsUpdateResponse parses an HTTP response from a ExtrasJobResultsUpdateWithResponse call -func ParseExtrasJobResultsUpdateResponse(rsp *http.Response) (*ExtrasJobResultsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &ExtrasJobResultsUpdateResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - // ParseExtrasJobResultsLogsRetrieveResponse parses an HTTP response from a ExtrasJobResultsLogsRetrieveWithResponse call func ParseExtrasJobResultsLogsRetrieveResponse(rsp *http.Response) (*ExtrasJobResultsLogsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196909,7 +301536,7 @@ func ParseExtrasJobResultsLogsRetrieveResponse(rsp *http.Response) (*ExtrasJobRe // ParseExtrasJobsBulkDestroyResponse parses an HTTP response from a ExtrasJobsBulkDestroyWithResponse call func ParseExtrasJobsBulkDestroyResponse(rsp *http.Response) (*ExtrasJobsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196925,7 +301552,7 @@ func ParseExtrasJobsBulkDestroyResponse(rsp *http.Response) (*ExtrasJobsBulkDest // ParseExtrasJobsListResponse parses an HTTP response from a ExtrasJobsListWithResponse call func ParseExtrasJobsListResponse(rsp *http.Response) (*ExtrasJobsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196941,7 +301568,7 @@ func ParseExtrasJobsListResponse(rsp *http.Response) (*ExtrasJobsListResponse, e // ParseExtrasJobsBulkPartialUpdateResponse parses an HTTP response from a ExtrasJobsBulkPartialUpdateWithResponse call func ParseExtrasJobsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasJobsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196957,7 +301584,7 @@ func ParseExtrasJobsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasJobsBu // ParseExtrasJobsBulkUpdateResponse parses an HTTP response from a ExtrasJobsBulkUpdateWithResponse call func ParseExtrasJobsBulkUpdateResponse(rsp *http.Response) (*ExtrasJobsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196973,7 +301600,7 @@ func ParseExtrasJobsBulkUpdateResponse(rsp *http.Response) (*ExtrasJobsBulkUpdat // ParseExtrasJobsReadDeprecatedResponse parses an HTTP response from a ExtrasJobsReadDeprecatedWithResponse call func ParseExtrasJobsReadDeprecatedResponse(rsp *http.Response) (*ExtrasJobsReadDeprecatedResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -196989,7 +301616,7 @@ func ParseExtrasJobsReadDeprecatedResponse(rsp *http.Response) (*ExtrasJobsReadD // ParseExtrasJobsRunDeprecatedResponse parses an HTTP response from a ExtrasJobsRunDeprecatedWithResponse call func ParseExtrasJobsRunDeprecatedResponse(rsp *http.Response) (*ExtrasJobsRunDeprecatedResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197005,7 +301632,7 @@ func ParseExtrasJobsRunDeprecatedResponse(rsp *http.Response) (*ExtrasJobsRunDep // ParseExtrasJobsDestroyResponse parses an HTTP response from a ExtrasJobsDestroyWithResponse call func ParseExtrasJobsDestroyResponse(rsp *http.Response) (*ExtrasJobsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197021,7 +301648,7 @@ func ParseExtrasJobsDestroyResponse(rsp *http.Response) (*ExtrasJobsDestroyRespo // ParseExtrasJobsRetrieveResponse parses an HTTP response from a ExtrasJobsRetrieveWithResponse call func ParseExtrasJobsRetrieveResponse(rsp *http.Response) (*ExtrasJobsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197037,7 +301664,7 @@ func ParseExtrasJobsRetrieveResponse(rsp *http.Response) (*ExtrasJobsRetrieveRes // ParseExtrasJobsPartialUpdateResponse parses an HTTP response from a ExtrasJobsPartialUpdateWithResponse call func ParseExtrasJobsPartialUpdateResponse(rsp *http.Response) (*ExtrasJobsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197053,7 +301680,7 @@ func ParseExtrasJobsPartialUpdateResponse(rsp *http.Response) (*ExtrasJobsPartia // ParseExtrasJobsUpdateResponse parses an HTTP response from a ExtrasJobsUpdateWithResponse call func ParseExtrasJobsUpdateResponse(rsp *http.Response) (*ExtrasJobsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197067,9 +301694,41 @@ func ParseExtrasJobsUpdateResponse(rsp *http.Response) (*ExtrasJobsUpdateRespons return response, nil } +// ParseExtrasJobsNotesListResponse parses an HTTP response from a ExtrasJobsNotesListWithResponse call +func ParseExtrasJobsNotesListResponse(rsp *http.Response) (*ExtrasJobsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasJobsNotesCreateResponse parses an HTTP response from a ExtrasJobsNotesCreateWithResponse call +func ParseExtrasJobsNotesCreateResponse(rsp *http.Response) (*ExtrasJobsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasJobsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseExtrasJobsRunCreateResponse parses an HTTP response from a ExtrasJobsRunCreateWithResponse call func ParseExtrasJobsRunCreateResponse(rsp *http.Response) (*ExtrasJobsRunCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197085,7 +301744,7 @@ func ParseExtrasJobsRunCreateResponse(rsp *http.Response) (*ExtrasJobsRunCreateR // ParseExtrasJobsVariablesListResponse parses an HTTP response from a ExtrasJobsVariablesListWithResponse call func ParseExtrasJobsVariablesListResponse(rsp *http.Response) (*ExtrasJobsVariablesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197099,9 +301758,153 @@ func ParseExtrasJobsVariablesListResponse(rsp *http.Response) (*ExtrasJobsVariab return response, nil } +// ParseExtrasNotesBulkDestroyResponse parses an HTTP response from a ExtrasNotesBulkDestroyWithResponse call +func ParseExtrasNotesBulkDestroyResponse(rsp *http.Response) (*ExtrasNotesBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasNotesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasNotesListResponse parses an HTTP response from a ExtrasNotesListWithResponse call +func ParseExtrasNotesListResponse(rsp *http.Response) (*ExtrasNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasNotesBulkPartialUpdateResponse parses an HTTP response from a ExtrasNotesBulkPartialUpdateWithResponse call +func ParseExtrasNotesBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasNotesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasNotesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasNotesCreateResponse parses an HTTP response from a ExtrasNotesCreateWithResponse call +func ParseExtrasNotesCreateResponse(rsp *http.Response) (*ExtrasNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasNotesBulkUpdateResponse parses an HTTP response from a ExtrasNotesBulkUpdateWithResponse call +func ParseExtrasNotesBulkUpdateResponse(rsp *http.Response) (*ExtrasNotesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasNotesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasNotesDestroyResponse parses an HTTP response from a ExtrasNotesDestroyWithResponse call +func ParseExtrasNotesDestroyResponse(rsp *http.Response) (*ExtrasNotesDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasNotesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasNotesRetrieveResponse parses an HTTP response from a ExtrasNotesRetrieveWithResponse call +func ParseExtrasNotesRetrieveResponse(rsp *http.Response) (*ExtrasNotesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasNotesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasNotesPartialUpdateResponse parses an HTTP response from a ExtrasNotesPartialUpdateWithResponse call +func ParseExtrasNotesPartialUpdateResponse(rsp *http.Response) (*ExtrasNotesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasNotesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasNotesUpdateResponse parses an HTTP response from a ExtrasNotesUpdateWithResponse call +func ParseExtrasNotesUpdateResponse(rsp *http.Response) (*ExtrasNotesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasNotesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseExtrasObjectChangesListResponse parses an HTTP response from a ExtrasObjectChangesListWithResponse call func ParseExtrasObjectChangesListResponse(rsp *http.Response) (*ExtrasObjectChangesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197117,7 +301920,7 @@ func ParseExtrasObjectChangesListResponse(rsp *http.Response) (*ExtrasObjectChan // ParseExtrasObjectChangesRetrieveResponse parses an HTTP response from a ExtrasObjectChangesRetrieveWithResponse call func ParseExtrasObjectChangesRetrieveResponse(rsp *http.Response) (*ExtrasObjectChangesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197133,7 +301936,7 @@ func ParseExtrasObjectChangesRetrieveResponse(rsp *http.Response) (*ExtrasObject // ParseExtrasRelationshipAssociationsBulkDestroyResponse parses an HTTP response from a ExtrasRelationshipAssociationsBulkDestroyWithResponse call func ParseExtrasRelationshipAssociationsBulkDestroyResponse(rsp *http.Response) (*ExtrasRelationshipAssociationsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197149,7 +301952,7 @@ func ParseExtrasRelationshipAssociationsBulkDestroyResponse(rsp *http.Response) // ParseExtrasRelationshipAssociationsListResponse parses an HTTP response from a ExtrasRelationshipAssociationsListWithResponse call func ParseExtrasRelationshipAssociationsListResponse(rsp *http.Response) (*ExtrasRelationshipAssociationsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197165,7 +301968,7 @@ func ParseExtrasRelationshipAssociationsListResponse(rsp *http.Response) (*Extra // ParseExtrasRelationshipAssociationsBulkPartialUpdateResponse parses an HTTP response from a ExtrasRelationshipAssociationsBulkPartialUpdateWithResponse call func ParseExtrasRelationshipAssociationsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasRelationshipAssociationsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197181,7 +301984,7 @@ func ParseExtrasRelationshipAssociationsBulkPartialUpdateResponse(rsp *http.Resp // ParseExtrasRelationshipAssociationsCreateResponse parses an HTTP response from a ExtrasRelationshipAssociationsCreateWithResponse call func ParseExtrasRelationshipAssociationsCreateResponse(rsp *http.Response) (*ExtrasRelationshipAssociationsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197197,7 +302000,7 @@ func ParseExtrasRelationshipAssociationsCreateResponse(rsp *http.Response) (*Ext // ParseExtrasRelationshipAssociationsBulkUpdateResponse parses an HTTP response from a ExtrasRelationshipAssociationsBulkUpdateWithResponse call func ParseExtrasRelationshipAssociationsBulkUpdateResponse(rsp *http.Response) (*ExtrasRelationshipAssociationsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197213,7 +302016,7 @@ func ParseExtrasRelationshipAssociationsBulkUpdateResponse(rsp *http.Response) ( // ParseExtrasRelationshipAssociationsDestroyResponse parses an HTTP response from a ExtrasRelationshipAssociationsDestroyWithResponse call func ParseExtrasRelationshipAssociationsDestroyResponse(rsp *http.Response) (*ExtrasRelationshipAssociationsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197229,7 +302032,7 @@ func ParseExtrasRelationshipAssociationsDestroyResponse(rsp *http.Response) (*Ex // ParseExtrasRelationshipAssociationsRetrieveResponse parses an HTTP response from a ExtrasRelationshipAssociationsRetrieveWithResponse call func ParseExtrasRelationshipAssociationsRetrieveResponse(rsp *http.Response) (*ExtrasRelationshipAssociationsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197245,7 +302048,7 @@ func ParseExtrasRelationshipAssociationsRetrieveResponse(rsp *http.Response) (*E // ParseExtrasRelationshipAssociationsPartialUpdateResponse parses an HTTP response from a ExtrasRelationshipAssociationsPartialUpdateWithResponse call func ParseExtrasRelationshipAssociationsPartialUpdateResponse(rsp *http.Response) (*ExtrasRelationshipAssociationsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197261,7 +302064,7 @@ func ParseExtrasRelationshipAssociationsPartialUpdateResponse(rsp *http.Response // ParseExtrasRelationshipAssociationsUpdateResponse parses an HTTP response from a ExtrasRelationshipAssociationsUpdateWithResponse call func ParseExtrasRelationshipAssociationsUpdateResponse(rsp *http.Response) (*ExtrasRelationshipAssociationsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197277,7 +302080,7 @@ func ParseExtrasRelationshipAssociationsUpdateResponse(rsp *http.Response) (*Ext // ParseExtrasRelationshipsBulkDestroyResponse parses an HTTP response from a ExtrasRelationshipsBulkDestroyWithResponse call func ParseExtrasRelationshipsBulkDestroyResponse(rsp *http.Response) (*ExtrasRelationshipsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197293,7 +302096,7 @@ func ParseExtrasRelationshipsBulkDestroyResponse(rsp *http.Response) (*ExtrasRel // ParseExtrasRelationshipsListResponse parses an HTTP response from a ExtrasRelationshipsListWithResponse call func ParseExtrasRelationshipsListResponse(rsp *http.Response) (*ExtrasRelationshipsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197309,7 +302112,7 @@ func ParseExtrasRelationshipsListResponse(rsp *http.Response) (*ExtrasRelationsh // ParseExtrasRelationshipsBulkPartialUpdateResponse parses an HTTP response from a ExtrasRelationshipsBulkPartialUpdateWithResponse call func ParseExtrasRelationshipsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasRelationshipsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197325,7 +302128,7 @@ func ParseExtrasRelationshipsBulkPartialUpdateResponse(rsp *http.Response) (*Ext // ParseExtrasRelationshipsCreateResponse parses an HTTP response from a ExtrasRelationshipsCreateWithResponse call func ParseExtrasRelationshipsCreateResponse(rsp *http.Response) (*ExtrasRelationshipsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197341,7 +302144,7 @@ func ParseExtrasRelationshipsCreateResponse(rsp *http.Response) (*ExtrasRelation // ParseExtrasRelationshipsBulkUpdateResponse parses an HTTP response from a ExtrasRelationshipsBulkUpdateWithResponse call func ParseExtrasRelationshipsBulkUpdateResponse(rsp *http.Response) (*ExtrasRelationshipsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197357,7 +302160,7 @@ func ParseExtrasRelationshipsBulkUpdateResponse(rsp *http.Response) (*ExtrasRela // ParseExtrasRelationshipsDestroyResponse parses an HTTP response from a ExtrasRelationshipsDestroyWithResponse call func ParseExtrasRelationshipsDestroyResponse(rsp *http.Response) (*ExtrasRelationshipsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197373,7 +302176,7 @@ func ParseExtrasRelationshipsDestroyResponse(rsp *http.Response) (*ExtrasRelatio // ParseExtrasRelationshipsRetrieveResponse parses an HTTP response from a ExtrasRelationshipsRetrieveWithResponse call func ParseExtrasRelationshipsRetrieveResponse(rsp *http.Response) (*ExtrasRelationshipsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197389,7 +302192,7 @@ func ParseExtrasRelationshipsRetrieveResponse(rsp *http.Response) (*ExtrasRelati // ParseExtrasRelationshipsPartialUpdateResponse parses an HTTP response from a ExtrasRelationshipsPartialUpdateWithResponse call func ParseExtrasRelationshipsPartialUpdateResponse(rsp *http.Response) (*ExtrasRelationshipsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197405,7 +302208,7 @@ func ParseExtrasRelationshipsPartialUpdateResponse(rsp *http.Response) (*ExtrasR // ParseExtrasRelationshipsUpdateResponse parses an HTTP response from a ExtrasRelationshipsUpdateWithResponse call func ParseExtrasRelationshipsUpdateResponse(rsp *http.Response) (*ExtrasRelationshipsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197419,9 +302222,41 @@ func ParseExtrasRelationshipsUpdateResponse(rsp *http.Response) (*ExtrasRelation return response, nil } +// ParseExtrasRelationshipsNotesListResponse parses an HTTP response from a ExtrasRelationshipsNotesListWithResponse call +func ParseExtrasRelationshipsNotesListResponse(rsp *http.Response) (*ExtrasRelationshipsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasRelationshipsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasRelationshipsNotesCreateResponse parses an HTTP response from a ExtrasRelationshipsNotesCreateWithResponse call +func ParseExtrasRelationshipsNotesCreateResponse(rsp *http.Response) (*ExtrasRelationshipsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasRelationshipsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseExtrasScheduledJobsListResponse parses an HTTP response from a ExtrasScheduledJobsListWithResponse call func ParseExtrasScheduledJobsListResponse(rsp *http.Response) (*ExtrasScheduledJobsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197437,7 +302272,7 @@ func ParseExtrasScheduledJobsListResponse(rsp *http.Response) (*ExtrasScheduledJ // ParseExtrasScheduledJobsRetrieveResponse parses an HTTP response from a ExtrasScheduledJobsRetrieveWithResponse call func ParseExtrasScheduledJobsRetrieveResponse(rsp *http.Response) (*ExtrasScheduledJobsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197453,7 +302288,7 @@ func ParseExtrasScheduledJobsRetrieveResponse(rsp *http.Response) (*ExtrasSchedu // ParseExtrasScheduledJobsApproveCreateResponse parses an HTTP response from a ExtrasScheduledJobsApproveCreateWithResponse call func ParseExtrasScheduledJobsApproveCreateResponse(rsp *http.Response) (*ExtrasScheduledJobsApproveCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197469,7 +302304,7 @@ func ParseExtrasScheduledJobsApproveCreateResponse(rsp *http.Response) (*ExtrasS // ParseExtrasScheduledJobsDenyCreateResponse parses an HTTP response from a ExtrasScheduledJobsDenyCreateWithResponse call func ParseExtrasScheduledJobsDenyCreateResponse(rsp *http.Response) (*ExtrasScheduledJobsDenyCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197485,7 +302320,7 @@ func ParseExtrasScheduledJobsDenyCreateResponse(rsp *http.Response) (*ExtrasSche // ParseExtrasScheduledJobsDryRunCreateResponse parses an HTTP response from a ExtrasScheduledJobsDryRunCreateWithResponse call func ParseExtrasScheduledJobsDryRunCreateResponse(rsp *http.Response) (*ExtrasScheduledJobsDryRunCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197501,7 +302336,7 @@ func ParseExtrasScheduledJobsDryRunCreateResponse(rsp *http.Response) (*ExtrasSc // ParseExtrasSecretsGroupsAssociationsBulkDestroyResponse parses an HTTP response from a ExtrasSecretsGroupsAssociationsBulkDestroyWithResponse call func ParseExtrasSecretsGroupsAssociationsBulkDestroyResponse(rsp *http.Response) (*ExtrasSecretsGroupsAssociationsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197517,7 +302352,7 @@ func ParseExtrasSecretsGroupsAssociationsBulkDestroyResponse(rsp *http.Response) // ParseExtrasSecretsGroupsAssociationsListResponse parses an HTTP response from a ExtrasSecretsGroupsAssociationsListWithResponse call func ParseExtrasSecretsGroupsAssociationsListResponse(rsp *http.Response) (*ExtrasSecretsGroupsAssociationsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197533,7 +302368,7 @@ func ParseExtrasSecretsGroupsAssociationsListResponse(rsp *http.Response) (*Extr // ParseExtrasSecretsGroupsAssociationsBulkPartialUpdateResponse parses an HTTP response from a ExtrasSecretsGroupsAssociationsBulkPartialUpdateWithResponse call func ParseExtrasSecretsGroupsAssociationsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasSecretsGroupsAssociationsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197549,7 +302384,7 @@ func ParseExtrasSecretsGroupsAssociationsBulkPartialUpdateResponse(rsp *http.Res // ParseExtrasSecretsGroupsAssociationsCreateResponse parses an HTTP response from a ExtrasSecretsGroupsAssociationsCreateWithResponse call func ParseExtrasSecretsGroupsAssociationsCreateResponse(rsp *http.Response) (*ExtrasSecretsGroupsAssociationsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197565,7 +302400,7 @@ func ParseExtrasSecretsGroupsAssociationsCreateResponse(rsp *http.Response) (*Ex // ParseExtrasSecretsGroupsAssociationsBulkUpdateResponse parses an HTTP response from a ExtrasSecretsGroupsAssociationsBulkUpdateWithResponse call func ParseExtrasSecretsGroupsAssociationsBulkUpdateResponse(rsp *http.Response) (*ExtrasSecretsGroupsAssociationsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197581,7 +302416,7 @@ func ParseExtrasSecretsGroupsAssociationsBulkUpdateResponse(rsp *http.Response) // ParseExtrasSecretsGroupsAssociationsDestroyResponse parses an HTTP response from a ExtrasSecretsGroupsAssociationsDestroyWithResponse call func ParseExtrasSecretsGroupsAssociationsDestroyResponse(rsp *http.Response) (*ExtrasSecretsGroupsAssociationsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197597,7 +302432,7 @@ func ParseExtrasSecretsGroupsAssociationsDestroyResponse(rsp *http.Response) (*E // ParseExtrasSecretsGroupsAssociationsRetrieveResponse parses an HTTP response from a ExtrasSecretsGroupsAssociationsRetrieveWithResponse call func ParseExtrasSecretsGroupsAssociationsRetrieveResponse(rsp *http.Response) (*ExtrasSecretsGroupsAssociationsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197613,7 +302448,7 @@ func ParseExtrasSecretsGroupsAssociationsRetrieveResponse(rsp *http.Response) (* // ParseExtrasSecretsGroupsAssociationsPartialUpdateResponse parses an HTTP response from a ExtrasSecretsGroupsAssociationsPartialUpdateWithResponse call func ParseExtrasSecretsGroupsAssociationsPartialUpdateResponse(rsp *http.Response) (*ExtrasSecretsGroupsAssociationsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197629,7 +302464,7 @@ func ParseExtrasSecretsGroupsAssociationsPartialUpdateResponse(rsp *http.Respons // ParseExtrasSecretsGroupsAssociationsUpdateResponse parses an HTTP response from a ExtrasSecretsGroupsAssociationsUpdateWithResponse call func ParseExtrasSecretsGroupsAssociationsUpdateResponse(rsp *http.Response) (*ExtrasSecretsGroupsAssociationsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197645,7 +302480,7 @@ func ParseExtrasSecretsGroupsAssociationsUpdateResponse(rsp *http.Response) (*Ex // ParseExtrasSecretsGroupsBulkDestroyResponse parses an HTTP response from a ExtrasSecretsGroupsBulkDestroyWithResponse call func ParseExtrasSecretsGroupsBulkDestroyResponse(rsp *http.Response) (*ExtrasSecretsGroupsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197661,7 +302496,7 @@ func ParseExtrasSecretsGroupsBulkDestroyResponse(rsp *http.Response) (*ExtrasSec // ParseExtrasSecretsGroupsListResponse parses an HTTP response from a ExtrasSecretsGroupsListWithResponse call func ParseExtrasSecretsGroupsListResponse(rsp *http.Response) (*ExtrasSecretsGroupsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197677,7 +302512,7 @@ func ParseExtrasSecretsGroupsListResponse(rsp *http.Response) (*ExtrasSecretsGro // ParseExtrasSecretsGroupsBulkPartialUpdateResponse parses an HTTP response from a ExtrasSecretsGroupsBulkPartialUpdateWithResponse call func ParseExtrasSecretsGroupsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasSecretsGroupsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197693,7 +302528,7 @@ func ParseExtrasSecretsGroupsBulkPartialUpdateResponse(rsp *http.Response) (*Ext // ParseExtrasSecretsGroupsCreateResponse parses an HTTP response from a ExtrasSecretsGroupsCreateWithResponse call func ParseExtrasSecretsGroupsCreateResponse(rsp *http.Response) (*ExtrasSecretsGroupsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197709,7 +302544,7 @@ func ParseExtrasSecretsGroupsCreateResponse(rsp *http.Response) (*ExtrasSecretsG // ParseExtrasSecretsGroupsBulkUpdateResponse parses an HTTP response from a ExtrasSecretsGroupsBulkUpdateWithResponse call func ParseExtrasSecretsGroupsBulkUpdateResponse(rsp *http.Response) (*ExtrasSecretsGroupsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197725,7 +302560,7 @@ func ParseExtrasSecretsGroupsBulkUpdateResponse(rsp *http.Response) (*ExtrasSecr // ParseExtrasSecretsGroupsDestroyResponse parses an HTTP response from a ExtrasSecretsGroupsDestroyWithResponse call func ParseExtrasSecretsGroupsDestroyResponse(rsp *http.Response) (*ExtrasSecretsGroupsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197741,7 +302576,7 @@ func ParseExtrasSecretsGroupsDestroyResponse(rsp *http.Response) (*ExtrasSecrets // ParseExtrasSecretsGroupsRetrieveResponse parses an HTTP response from a ExtrasSecretsGroupsRetrieveWithResponse call func ParseExtrasSecretsGroupsRetrieveResponse(rsp *http.Response) (*ExtrasSecretsGroupsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197757,7 +302592,7 @@ func ParseExtrasSecretsGroupsRetrieveResponse(rsp *http.Response) (*ExtrasSecret // ParseExtrasSecretsGroupsPartialUpdateResponse parses an HTTP response from a ExtrasSecretsGroupsPartialUpdateWithResponse call func ParseExtrasSecretsGroupsPartialUpdateResponse(rsp *http.Response) (*ExtrasSecretsGroupsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197773,7 +302608,7 @@ func ParseExtrasSecretsGroupsPartialUpdateResponse(rsp *http.Response) (*ExtrasS // ParseExtrasSecretsGroupsUpdateResponse parses an HTTP response from a ExtrasSecretsGroupsUpdateWithResponse call func ParseExtrasSecretsGroupsUpdateResponse(rsp *http.Response) (*ExtrasSecretsGroupsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197787,9 +302622,41 @@ func ParseExtrasSecretsGroupsUpdateResponse(rsp *http.Response) (*ExtrasSecretsG return response, nil } +// ParseExtrasSecretsGroupsNotesListResponse parses an HTTP response from a ExtrasSecretsGroupsNotesListWithResponse call +func ParseExtrasSecretsGroupsNotesListResponse(rsp *http.Response) (*ExtrasSecretsGroupsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsGroupsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsGroupsNotesCreateResponse parses an HTTP response from a ExtrasSecretsGroupsNotesCreateWithResponse call +func ParseExtrasSecretsGroupsNotesCreateResponse(rsp *http.Response) (*ExtrasSecretsGroupsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsGroupsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseExtrasSecretsBulkDestroyResponse parses an HTTP response from a ExtrasSecretsBulkDestroyWithResponse call func ParseExtrasSecretsBulkDestroyResponse(rsp *http.Response) (*ExtrasSecretsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197805,7 +302672,7 @@ func ParseExtrasSecretsBulkDestroyResponse(rsp *http.Response) (*ExtrasSecretsBu // ParseExtrasSecretsListResponse parses an HTTP response from a ExtrasSecretsListWithResponse call func ParseExtrasSecretsListResponse(rsp *http.Response) (*ExtrasSecretsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197821,7 +302688,7 @@ func ParseExtrasSecretsListResponse(rsp *http.Response) (*ExtrasSecretsListRespo // ParseExtrasSecretsBulkPartialUpdateResponse parses an HTTP response from a ExtrasSecretsBulkPartialUpdateWithResponse call func ParseExtrasSecretsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasSecretsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197837,7 +302704,7 @@ func ParseExtrasSecretsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasSec // ParseExtrasSecretsCreateResponse parses an HTTP response from a ExtrasSecretsCreateWithResponse call func ParseExtrasSecretsCreateResponse(rsp *http.Response) (*ExtrasSecretsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197853,7 +302720,7 @@ func ParseExtrasSecretsCreateResponse(rsp *http.Response) (*ExtrasSecretsCreateR // ParseExtrasSecretsBulkUpdateResponse parses an HTTP response from a ExtrasSecretsBulkUpdateWithResponse call func ParseExtrasSecretsBulkUpdateResponse(rsp *http.Response) (*ExtrasSecretsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197869,7 +302736,7 @@ func ParseExtrasSecretsBulkUpdateResponse(rsp *http.Response) (*ExtrasSecretsBul // ParseExtrasSecretsDestroyResponse parses an HTTP response from a ExtrasSecretsDestroyWithResponse call func ParseExtrasSecretsDestroyResponse(rsp *http.Response) (*ExtrasSecretsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197885,7 +302752,7 @@ func ParseExtrasSecretsDestroyResponse(rsp *http.Response) (*ExtrasSecretsDestro // ParseExtrasSecretsRetrieveResponse parses an HTTP response from a ExtrasSecretsRetrieveWithResponse call func ParseExtrasSecretsRetrieveResponse(rsp *http.Response) (*ExtrasSecretsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197901,7 +302768,7 @@ func ParseExtrasSecretsRetrieveResponse(rsp *http.Response) (*ExtrasSecretsRetri // ParseExtrasSecretsPartialUpdateResponse parses an HTTP response from a ExtrasSecretsPartialUpdateWithResponse call func ParseExtrasSecretsPartialUpdateResponse(rsp *http.Response) (*ExtrasSecretsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197917,7 +302784,7 @@ func ParseExtrasSecretsPartialUpdateResponse(rsp *http.Response) (*ExtrasSecrets // ParseExtrasSecretsUpdateResponse parses an HTTP response from a ExtrasSecretsUpdateWithResponse call func ParseExtrasSecretsUpdateResponse(rsp *http.Response) (*ExtrasSecretsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197931,9 +302798,41 @@ func ParseExtrasSecretsUpdateResponse(rsp *http.Response) (*ExtrasSecretsUpdateR return response, nil } +// ParseExtrasSecretsNotesListResponse parses an HTTP response from a ExtrasSecretsNotesListWithResponse call +func ParseExtrasSecretsNotesListResponse(rsp *http.Response) (*ExtrasSecretsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasSecretsNotesCreateResponse parses an HTTP response from a ExtrasSecretsNotesCreateWithResponse call +func ParseExtrasSecretsNotesCreateResponse(rsp *http.Response) (*ExtrasSecretsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasSecretsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseExtrasStatusesBulkDestroyResponse parses an HTTP response from a ExtrasStatusesBulkDestroyWithResponse call func ParseExtrasStatusesBulkDestroyResponse(rsp *http.Response) (*ExtrasStatusesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197949,7 +302848,7 @@ func ParseExtrasStatusesBulkDestroyResponse(rsp *http.Response) (*ExtrasStatuses // ParseExtrasStatusesListResponse parses an HTTP response from a ExtrasStatusesListWithResponse call func ParseExtrasStatusesListResponse(rsp *http.Response) (*ExtrasStatusesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197965,7 +302864,7 @@ func ParseExtrasStatusesListResponse(rsp *http.Response) (*ExtrasStatusesListRes // ParseExtrasStatusesBulkPartialUpdateResponse parses an HTTP response from a ExtrasStatusesBulkPartialUpdateWithResponse call func ParseExtrasStatusesBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasStatusesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197981,7 +302880,7 @@ func ParseExtrasStatusesBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasSt // ParseExtrasStatusesCreateResponse parses an HTTP response from a ExtrasStatusesCreateWithResponse call func ParseExtrasStatusesCreateResponse(rsp *http.Response) (*ExtrasStatusesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -197997,7 +302896,7 @@ func ParseExtrasStatusesCreateResponse(rsp *http.Response) (*ExtrasStatusesCreat // ParseExtrasStatusesBulkUpdateResponse parses an HTTP response from a ExtrasStatusesBulkUpdateWithResponse call func ParseExtrasStatusesBulkUpdateResponse(rsp *http.Response) (*ExtrasStatusesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198013,7 +302912,7 @@ func ParseExtrasStatusesBulkUpdateResponse(rsp *http.Response) (*ExtrasStatusesB // ParseExtrasStatusesDestroyResponse parses an HTTP response from a ExtrasStatusesDestroyWithResponse call func ParseExtrasStatusesDestroyResponse(rsp *http.Response) (*ExtrasStatusesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198029,7 +302928,7 @@ func ParseExtrasStatusesDestroyResponse(rsp *http.Response) (*ExtrasStatusesDest // ParseExtrasStatusesRetrieveResponse parses an HTTP response from a ExtrasStatusesRetrieveWithResponse call func ParseExtrasStatusesRetrieveResponse(rsp *http.Response) (*ExtrasStatusesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198045,7 +302944,7 @@ func ParseExtrasStatusesRetrieveResponse(rsp *http.Response) (*ExtrasStatusesRet // ParseExtrasStatusesPartialUpdateResponse parses an HTTP response from a ExtrasStatusesPartialUpdateWithResponse call func ParseExtrasStatusesPartialUpdateResponse(rsp *http.Response) (*ExtrasStatusesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198061,7 +302960,7 @@ func ParseExtrasStatusesPartialUpdateResponse(rsp *http.Response) (*ExtrasStatus // ParseExtrasStatusesUpdateResponse parses an HTTP response from a ExtrasStatusesUpdateWithResponse call func ParseExtrasStatusesUpdateResponse(rsp *http.Response) (*ExtrasStatusesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198075,9 +302974,41 @@ func ParseExtrasStatusesUpdateResponse(rsp *http.Response) (*ExtrasStatusesUpdat return response, nil } +// ParseExtrasStatusesNotesListResponse parses an HTTP response from a ExtrasStatusesNotesListWithResponse call +func ParseExtrasStatusesNotesListResponse(rsp *http.Response) (*ExtrasStatusesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasStatusesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasStatusesNotesCreateResponse parses an HTTP response from a ExtrasStatusesNotesCreateWithResponse call +func ParseExtrasStatusesNotesCreateResponse(rsp *http.Response) (*ExtrasStatusesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasStatusesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseExtrasTagsBulkDestroyResponse parses an HTTP response from a ExtrasTagsBulkDestroyWithResponse call func ParseExtrasTagsBulkDestroyResponse(rsp *http.Response) (*ExtrasTagsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198093,7 +303024,7 @@ func ParseExtrasTagsBulkDestroyResponse(rsp *http.Response) (*ExtrasTagsBulkDest // ParseExtrasTagsListResponse parses an HTTP response from a ExtrasTagsListWithResponse call func ParseExtrasTagsListResponse(rsp *http.Response) (*ExtrasTagsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198109,7 +303040,7 @@ func ParseExtrasTagsListResponse(rsp *http.Response) (*ExtrasTagsListResponse, e // ParseExtrasTagsBulkPartialUpdateResponse parses an HTTP response from a ExtrasTagsBulkPartialUpdateWithResponse call func ParseExtrasTagsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasTagsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198125,7 +303056,7 @@ func ParseExtrasTagsBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasTagsBu // ParseExtrasTagsCreateResponse parses an HTTP response from a ExtrasTagsCreateWithResponse call func ParseExtrasTagsCreateResponse(rsp *http.Response) (*ExtrasTagsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198141,7 +303072,7 @@ func ParseExtrasTagsCreateResponse(rsp *http.Response) (*ExtrasTagsCreateRespons // ParseExtrasTagsBulkUpdateResponse parses an HTTP response from a ExtrasTagsBulkUpdateWithResponse call func ParseExtrasTagsBulkUpdateResponse(rsp *http.Response) (*ExtrasTagsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198157,7 +303088,7 @@ func ParseExtrasTagsBulkUpdateResponse(rsp *http.Response) (*ExtrasTagsBulkUpdat // ParseExtrasTagsDestroyResponse parses an HTTP response from a ExtrasTagsDestroyWithResponse call func ParseExtrasTagsDestroyResponse(rsp *http.Response) (*ExtrasTagsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198173,7 +303104,7 @@ func ParseExtrasTagsDestroyResponse(rsp *http.Response) (*ExtrasTagsDestroyRespo // ParseExtrasTagsRetrieveResponse parses an HTTP response from a ExtrasTagsRetrieveWithResponse call func ParseExtrasTagsRetrieveResponse(rsp *http.Response) (*ExtrasTagsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198189,7 +303120,7 @@ func ParseExtrasTagsRetrieveResponse(rsp *http.Response) (*ExtrasTagsRetrieveRes // ParseExtrasTagsPartialUpdateResponse parses an HTTP response from a ExtrasTagsPartialUpdateWithResponse call func ParseExtrasTagsPartialUpdateResponse(rsp *http.Response) (*ExtrasTagsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198205,7 +303136,7 @@ func ParseExtrasTagsPartialUpdateResponse(rsp *http.Response) (*ExtrasTagsPartia // ParseExtrasTagsUpdateResponse parses an HTTP response from a ExtrasTagsUpdateWithResponse call func ParseExtrasTagsUpdateResponse(rsp *http.Response) (*ExtrasTagsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198219,9 +303150,41 @@ func ParseExtrasTagsUpdateResponse(rsp *http.Response) (*ExtrasTagsUpdateRespons return response, nil } +// ParseExtrasTagsNotesListResponse parses an HTTP response from a ExtrasTagsNotesListWithResponse call +func ParseExtrasTagsNotesListResponse(rsp *http.Response) (*ExtrasTagsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasTagsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasTagsNotesCreateResponse parses an HTTP response from a ExtrasTagsNotesCreateWithResponse call +func ParseExtrasTagsNotesCreateResponse(rsp *http.Response) (*ExtrasTagsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasTagsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseExtrasWebhooksBulkDestroyResponse parses an HTTP response from a ExtrasWebhooksBulkDestroyWithResponse call func ParseExtrasWebhooksBulkDestroyResponse(rsp *http.Response) (*ExtrasWebhooksBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198237,7 +303200,7 @@ func ParseExtrasWebhooksBulkDestroyResponse(rsp *http.Response) (*ExtrasWebhooks // ParseExtrasWebhooksListResponse parses an HTTP response from a ExtrasWebhooksListWithResponse call func ParseExtrasWebhooksListResponse(rsp *http.Response) (*ExtrasWebhooksListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198253,7 +303216,7 @@ func ParseExtrasWebhooksListResponse(rsp *http.Response) (*ExtrasWebhooksListRes // ParseExtrasWebhooksBulkPartialUpdateResponse parses an HTTP response from a ExtrasWebhooksBulkPartialUpdateWithResponse call func ParseExtrasWebhooksBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasWebhooksBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198269,7 +303232,7 @@ func ParseExtrasWebhooksBulkPartialUpdateResponse(rsp *http.Response) (*ExtrasWe // ParseExtrasWebhooksCreateResponse parses an HTTP response from a ExtrasWebhooksCreateWithResponse call func ParseExtrasWebhooksCreateResponse(rsp *http.Response) (*ExtrasWebhooksCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198285,7 +303248,7 @@ func ParseExtrasWebhooksCreateResponse(rsp *http.Response) (*ExtrasWebhooksCreat // ParseExtrasWebhooksBulkUpdateResponse parses an HTTP response from a ExtrasWebhooksBulkUpdateWithResponse call func ParseExtrasWebhooksBulkUpdateResponse(rsp *http.Response) (*ExtrasWebhooksBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198301,7 +303264,7 @@ func ParseExtrasWebhooksBulkUpdateResponse(rsp *http.Response) (*ExtrasWebhooksB // ParseExtrasWebhooksDestroyResponse parses an HTTP response from a ExtrasWebhooksDestroyWithResponse call func ParseExtrasWebhooksDestroyResponse(rsp *http.Response) (*ExtrasWebhooksDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198317,7 +303280,7 @@ func ParseExtrasWebhooksDestroyResponse(rsp *http.Response) (*ExtrasWebhooksDest // ParseExtrasWebhooksRetrieveResponse parses an HTTP response from a ExtrasWebhooksRetrieveWithResponse call func ParseExtrasWebhooksRetrieveResponse(rsp *http.Response) (*ExtrasWebhooksRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198333,7 +303296,7 @@ func ParseExtrasWebhooksRetrieveResponse(rsp *http.Response) (*ExtrasWebhooksRet // ParseExtrasWebhooksPartialUpdateResponse parses an HTTP response from a ExtrasWebhooksPartialUpdateWithResponse call func ParseExtrasWebhooksPartialUpdateResponse(rsp *http.Response) (*ExtrasWebhooksPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198349,7 +303312,7 @@ func ParseExtrasWebhooksPartialUpdateResponse(rsp *http.Response) (*ExtrasWebhoo // ParseExtrasWebhooksUpdateResponse parses an HTTP response from a ExtrasWebhooksUpdateWithResponse call func ParseExtrasWebhooksUpdateResponse(rsp *http.Response) (*ExtrasWebhooksUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198363,9 +303326,41 @@ func ParseExtrasWebhooksUpdateResponse(rsp *http.Response) (*ExtrasWebhooksUpdat return response, nil } +// ParseExtrasWebhooksNotesListResponse parses an HTTP response from a ExtrasWebhooksNotesListWithResponse call +func ParseExtrasWebhooksNotesListResponse(rsp *http.Response) (*ExtrasWebhooksNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasWebhooksNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseExtrasWebhooksNotesCreateResponse parses an HTTP response from a ExtrasWebhooksNotesCreateWithResponse call +func ParseExtrasWebhooksNotesCreateResponse(rsp *http.Response) (*ExtrasWebhooksNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &ExtrasWebhooksNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseGraphqlCreateResponse parses an HTTP response from a GraphqlCreateWithResponse call func ParseGraphqlCreateResponse(rsp *http.Response) (*GraphqlCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198381,7 +303376,7 @@ func ParseGraphqlCreateResponse(rsp *http.Response) (*GraphqlCreateResponse, err // ParseIpamAggregatesBulkDestroyResponse parses an HTTP response from a IpamAggregatesBulkDestroyWithResponse call func ParseIpamAggregatesBulkDestroyResponse(rsp *http.Response) (*IpamAggregatesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198397,7 +303392,7 @@ func ParseIpamAggregatesBulkDestroyResponse(rsp *http.Response) (*IpamAggregates // ParseIpamAggregatesListResponse parses an HTTP response from a IpamAggregatesListWithResponse call func ParseIpamAggregatesListResponse(rsp *http.Response) (*IpamAggregatesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198413,7 +303408,7 @@ func ParseIpamAggregatesListResponse(rsp *http.Response) (*IpamAggregatesListRes // ParseIpamAggregatesBulkPartialUpdateResponse parses an HTTP response from a IpamAggregatesBulkPartialUpdateWithResponse call func ParseIpamAggregatesBulkPartialUpdateResponse(rsp *http.Response) (*IpamAggregatesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198429,7 +303424,7 @@ func ParseIpamAggregatesBulkPartialUpdateResponse(rsp *http.Response) (*IpamAggr // ParseIpamAggregatesCreateResponse parses an HTTP response from a IpamAggregatesCreateWithResponse call func ParseIpamAggregatesCreateResponse(rsp *http.Response) (*IpamAggregatesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198445,7 +303440,7 @@ func ParseIpamAggregatesCreateResponse(rsp *http.Response) (*IpamAggregatesCreat // ParseIpamAggregatesBulkUpdateResponse parses an HTTP response from a IpamAggregatesBulkUpdateWithResponse call func ParseIpamAggregatesBulkUpdateResponse(rsp *http.Response) (*IpamAggregatesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198461,7 +303456,7 @@ func ParseIpamAggregatesBulkUpdateResponse(rsp *http.Response) (*IpamAggregatesB // ParseIpamAggregatesDestroyResponse parses an HTTP response from a IpamAggregatesDestroyWithResponse call func ParseIpamAggregatesDestroyResponse(rsp *http.Response) (*IpamAggregatesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198477,7 +303472,7 @@ func ParseIpamAggregatesDestroyResponse(rsp *http.Response) (*IpamAggregatesDest // ParseIpamAggregatesRetrieveResponse parses an HTTP response from a IpamAggregatesRetrieveWithResponse call func ParseIpamAggregatesRetrieveResponse(rsp *http.Response) (*IpamAggregatesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198493,7 +303488,7 @@ func ParseIpamAggregatesRetrieveResponse(rsp *http.Response) (*IpamAggregatesRet // ParseIpamAggregatesPartialUpdateResponse parses an HTTP response from a IpamAggregatesPartialUpdateWithResponse call func ParseIpamAggregatesPartialUpdateResponse(rsp *http.Response) (*IpamAggregatesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198509,7 +303504,7 @@ func ParseIpamAggregatesPartialUpdateResponse(rsp *http.Response) (*IpamAggregat // ParseIpamAggregatesUpdateResponse parses an HTTP response from a IpamAggregatesUpdateWithResponse call func ParseIpamAggregatesUpdateResponse(rsp *http.Response) (*IpamAggregatesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198523,9 +303518,41 @@ func ParseIpamAggregatesUpdateResponse(rsp *http.Response) (*IpamAggregatesUpdat return response, nil } +// ParseIpamAggregatesNotesListResponse parses an HTTP response from a IpamAggregatesNotesListWithResponse call +func ParseIpamAggregatesNotesListResponse(rsp *http.Response) (*IpamAggregatesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAggregatesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamAggregatesNotesCreateResponse parses an HTTP response from a IpamAggregatesNotesCreateWithResponse call +func ParseIpamAggregatesNotesCreateResponse(rsp *http.Response) (*IpamAggregatesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamAggregatesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseIpamIpAddressesBulkDestroyResponse parses an HTTP response from a IpamIpAddressesBulkDestroyWithResponse call func ParseIpamIpAddressesBulkDestroyResponse(rsp *http.Response) (*IpamIpAddressesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198541,7 +303568,7 @@ func ParseIpamIpAddressesBulkDestroyResponse(rsp *http.Response) (*IpamIpAddress // ParseIpamIpAddressesListResponse parses an HTTP response from a IpamIpAddressesListWithResponse call func ParseIpamIpAddressesListResponse(rsp *http.Response) (*IpamIpAddressesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198557,7 +303584,7 @@ func ParseIpamIpAddressesListResponse(rsp *http.Response) (*IpamIpAddressesListR // ParseIpamIpAddressesBulkPartialUpdateResponse parses an HTTP response from a IpamIpAddressesBulkPartialUpdateWithResponse call func ParseIpamIpAddressesBulkPartialUpdateResponse(rsp *http.Response) (*IpamIpAddressesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198573,7 +303600,7 @@ func ParseIpamIpAddressesBulkPartialUpdateResponse(rsp *http.Response) (*IpamIpA // ParseIpamIpAddressesCreateResponse parses an HTTP response from a IpamIpAddressesCreateWithResponse call func ParseIpamIpAddressesCreateResponse(rsp *http.Response) (*IpamIpAddressesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198589,7 +303616,7 @@ func ParseIpamIpAddressesCreateResponse(rsp *http.Response) (*IpamIpAddressesCre // ParseIpamIpAddressesBulkUpdateResponse parses an HTTP response from a IpamIpAddressesBulkUpdateWithResponse call func ParseIpamIpAddressesBulkUpdateResponse(rsp *http.Response) (*IpamIpAddressesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198605,7 +303632,7 @@ func ParseIpamIpAddressesBulkUpdateResponse(rsp *http.Response) (*IpamIpAddresse // ParseIpamIpAddressesDestroyResponse parses an HTTP response from a IpamIpAddressesDestroyWithResponse call func ParseIpamIpAddressesDestroyResponse(rsp *http.Response) (*IpamIpAddressesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198621,7 +303648,7 @@ func ParseIpamIpAddressesDestroyResponse(rsp *http.Response) (*IpamIpAddressesDe // ParseIpamIpAddressesRetrieveResponse parses an HTTP response from a IpamIpAddressesRetrieveWithResponse call func ParseIpamIpAddressesRetrieveResponse(rsp *http.Response) (*IpamIpAddressesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198637,7 +303664,7 @@ func ParseIpamIpAddressesRetrieveResponse(rsp *http.Response) (*IpamIpAddressesR // ParseIpamIpAddressesPartialUpdateResponse parses an HTTP response from a IpamIpAddressesPartialUpdateWithResponse call func ParseIpamIpAddressesPartialUpdateResponse(rsp *http.Response) (*IpamIpAddressesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198653,7 +303680,7 @@ func ParseIpamIpAddressesPartialUpdateResponse(rsp *http.Response) (*IpamIpAddre // ParseIpamIpAddressesUpdateResponse parses an HTTP response from a IpamIpAddressesUpdateWithResponse call func ParseIpamIpAddressesUpdateResponse(rsp *http.Response) (*IpamIpAddressesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198667,9 +303694,41 @@ func ParseIpamIpAddressesUpdateResponse(rsp *http.Response) (*IpamIpAddressesUpd return response, nil } +// ParseIpamIpAddressesNotesListResponse parses an HTTP response from a IpamIpAddressesNotesListWithResponse call +func ParseIpamIpAddressesNotesListResponse(rsp *http.Response) (*IpamIpAddressesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpAddressesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamIpAddressesNotesCreateResponse parses an HTTP response from a IpamIpAddressesNotesCreateWithResponse call +func ParseIpamIpAddressesNotesCreateResponse(rsp *http.Response) (*IpamIpAddressesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamIpAddressesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseIpamPrefixesBulkDestroyResponse parses an HTTP response from a IpamPrefixesBulkDestroyWithResponse call func ParseIpamPrefixesBulkDestroyResponse(rsp *http.Response) (*IpamPrefixesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198685,7 +303744,7 @@ func ParseIpamPrefixesBulkDestroyResponse(rsp *http.Response) (*IpamPrefixesBulk // ParseIpamPrefixesListResponse parses an HTTP response from a IpamPrefixesListWithResponse call func ParseIpamPrefixesListResponse(rsp *http.Response) (*IpamPrefixesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198701,7 +303760,7 @@ func ParseIpamPrefixesListResponse(rsp *http.Response) (*IpamPrefixesListRespons // ParseIpamPrefixesBulkPartialUpdateResponse parses an HTTP response from a IpamPrefixesBulkPartialUpdateWithResponse call func ParseIpamPrefixesBulkPartialUpdateResponse(rsp *http.Response) (*IpamPrefixesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198717,7 +303776,7 @@ func ParseIpamPrefixesBulkPartialUpdateResponse(rsp *http.Response) (*IpamPrefix // ParseIpamPrefixesCreateResponse parses an HTTP response from a IpamPrefixesCreateWithResponse call func ParseIpamPrefixesCreateResponse(rsp *http.Response) (*IpamPrefixesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198733,7 +303792,7 @@ func ParseIpamPrefixesCreateResponse(rsp *http.Response) (*IpamPrefixesCreateRes // ParseIpamPrefixesBulkUpdateResponse parses an HTTP response from a IpamPrefixesBulkUpdateWithResponse call func ParseIpamPrefixesBulkUpdateResponse(rsp *http.Response) (*IpamPrefixesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198749,7 +303808,7 @@ func ParseIpamPrefixesBulkUpdateResponse(rsp *http.Response) (*IpamPrefixesBulkU // ParseIpamPrefixesDestroyResponse parses an HTTP response from a IpamPrefixesDestroyWithResponse call func ParseIpamPrefixesDestroyResponse(rsp *http.Response) (*IpamPrefixesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198765,7 +303824,7 @@ func ParseIpamPrefixesDestroyResponse(rsp *http.Response) (*IpamPrefixesDestroyR // ParseIpamPrefixesRetrieveResponse parses an HTTP response from a IpamPrefixesRetrieveWithResponse call func ParseIpamPrefixesRetrieveResponse(rsp *http.Response) (*IpamPrefixesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198781,7 +303840,7 @@ func ParseIpamPrefixesRetrieveResponse(rsp *http.Response) (*IpamPrefixesRetriev // ParseIpamPrefixesPartialUpdateResponse parses an HTTP response from a IpamPrefixesPartialUpdateWithResponse call func ParseIpamPrefixesPartialUpdateResponse(rsp *http.Response) (*IpamPrefixesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198797,7 +303856,7 @@ func ParseIpamPrefixesPartialUpdateResponse(rsp *http.Response) (*IpamPrefixesPa // ParseIpamPrefixesUpdateResponse parses an HTTP response from a IpamPrefixesUpdateWithResponse call func ParseIpamPrefixesUpdateResponse(rsp *http.Response) (*IpamPrefixesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198813,7 +303872,7 @@ func ParseIpamPrefixesUpdateResponse(rsp *http.Response) (*IpamPrefixesUpdateRes // ParseIpamPrefixesAvailableIpsListResponse parses an HTTP response from a IpamPrefixesAvailableIpsListWithResponse call func ParseIpamPrefixesAvailableIpsListResponse(rsp *http.Response) (*IpamPrefixesAvailableIpsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198829,7 +303888,7 @@ func ParseIpamPrefixesAvailableIpsListResponse(rsp *http.Response) (*IpamPrefixe // ParseIpamPrefixesAvailableIpsCreateResponse parses an HTTP response from a IpamPrefixesAvailableIpsCreateWithResponse call func ParseIpamPrefixesAvailableIpsCreateResponse(rsp *http.Response) (*IpamPrefixesAvailableIpsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198845,7 +303904,7 @@ func ParseIpamPrefixesAvailableIpsCreateResponse(rsp *http.Response) (*IpamPrefi // ParseIpamPrefixesAvailablePrefixesListResponse parses an HTTP response from a IpamPrefixesAvailablePrefixesListWithResponse call func ParseIpamPrefixesAvailablePrefixesListResponse(rsp *http.Response) (*IpamPrefixesAvailablePrefixesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198861,7 +303920,7 @@ func ParseIpamPrefixesAvailablePrefixesListResponse(rsp *http.Response) (*IpamPr // ParseIpamPrefixesAvailablePrefixesCreateResponse parses an HTTP response from a IpamPrefixesAvailablePrefixesCreateWithResponse call func ParseIpamPrefixesAvailablePrefixesCreateResponse(rsp *http.Response) (*IpamPrefixesAvailablePrefixesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198875,9 +303934,41 @@ func ParseIpamPrefixesAvailablePrefixesCreateResponse(rsp *http.Response) (*Ipam return response, nil } +// ParseIpamPrefixesNotesListResponse parses an HTTP response from a IpamPrefixesNotesListWithResponse call +func ParseIpamPrefixesNotesListResponse(rsp *http.Response) (*IpamPrefixesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamPrefixesNotesCreateResponse parses an HTTP response from a IpamPrefixesNotesCreateWithResponse call +func ParseIpamPrefixesNotesCreateResponse(rsp *http.Response) (*IpamPrefixesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamPrefixesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseIpamRirsBulkDestroyResponse parses an HTTP response from a IpamRirsBulkDestroyWithResponse call func ParseIpamRirsBulkDestroyResponse(rsp *http.Response) (*IpamRirsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198893,7 +303984,7 @@ func ParseIpamRirsBulkDestroyResponse(rsp *http.Response) (*IpamRirsBulkDestroyR // ParseIpamRirsListResponse parses an HTTP response from a IpamRirsListWithResponse call func ParseIpamRirsListResponse(rsp *http.Response) (*IpamRirsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198909,7 +304000,7 @@ func ParseIpamRirsListResponse(rsp *http.Response) (*IpamRirsListResponse, error // ParseIpamRirsBulkPartialUpdateResponse parses an HTTP response from a IpamRirsBulkPartialUpdateWithResponse call func ParseIpamRirsBulkPartialUpdateResponse(rsp *http.Response) (*IpamRirsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198925,7 +304016,7 @@ func ParseIpamRirsBulkPartialUpdateResponse(rsp *http.Response) (*IpamRirsBulkPa // ParseIpamRirsCreateResponse parses an HTTP response from a IpamRirsCreateWithResponse call func ParseIpamRirsCreateResponse(rsp *http.Response) (*IpamRirsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198941,7 +304032,7 @@ func ParseIpamRirsCreateResponse(rsp *http.Response) (*IpamRirsCreateResponse, e // ParseIpamRirsBulkUpdateResponse parses an HTTP response from a IpamRirsBulkUpdateWithResponse call func ParseIpamRirsBulkUpdateResponse(rsp *http.Response) (*IpamRirsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198957,7 +304048,7 @@ func ParseIpamRirsBulkUpdateResponse(rsp *http.Response) (*IpamRirsBulkUpdateRes // ParseIpamRirsDestroyResponse parses an HTTP response from a IpamRirsDestroyWithResponse call func ParseIpamRirsDestroyResponse(rsp *http.Response) (*IpamRirsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198973,7 +304064,7 @@ func ParseIpamRirsDestroyResponse(rsp *http.Response) (*IpamRirsDestroyResponse, // ParseIpamRirsRetrieveResponse parses an HTTP response from a IpamRirsRetrieveWithResponse call func ParseIpamRirsRetrieveResponse(rsp *http.Response) (*IpamRirsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -198989,7 +304080,7 @@ func ParseIpamRirsRetrieveResponse(rsp *http.Response) (*IpamRirsRetrieveRespons // ParseIpamRirsPartialUpdateResponse parses an HTTP response from a IpamRirsPartialUpdateWithResponse call func ParseIpamRirsPartialUpdateResponse(rsp *http.Response) (*IpamRirsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199005,7 +304096,7 @@ func ParseIpamRirsPartialUpdateResponse(rsp *http.Response) (*IpamRirsPartialUpd // ParseIpamRirsUpdateResponse parses an HTTP response from a IpamRirsUpdateWithResponse call func ParseIpamRirsUpdateResponse(rsp *http.Response) (*IpamRirsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199019,9 +304110,41 @@ func ParseIpamRirsUpdateResponse(rsp *http.Response) (*IpamRirsUpdateResponse, e return response, nil } +// ParseIpamRirsNotesListResponse parses an HTTP response from a IpamRirsNotesListWithResponse call +func ParseIpamRirsNotesListResponse(rsp *http.Response) (*IpamRirsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRirsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRirsNotesCreateResponse parses an HTTP response from a IpamRirsNotesCreateWithResponse call +func ParseIpamRirsNotesCreateResponse(rsp *http.Response) (*IpamRirsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRirsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseIpamRolesBulkDestroyResponse parses an HTTP response from a IpamRolesBulkDestroyWithResponse call func ParseIpamRolesBulkDestroyResponse(rsp *http.Response) (*IpamRolesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199037,7 +304160,7 @@ func ParseIpamRolesBulkDestroyResponse(rsp *http.Response) (*IpamRolesBulkDestro // ParseIpamRolesListResponse parses an HTTP response from a IpamRolesListWithResponse call func ParseIpamRolesListResponse(rsp *http.Response) (*IpamRolesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199053,7 +304176,7 @@ func ParseIpamRolesListResponse(rsp *http.Response) (*IpamRolesListResponse, err // ParseIpamRolesBulkPartialUpdateResponse parses an HTTP response from a IpamRolesBulkPartialUpdateWithResponse call func ParseIpamRolesBulkPartialUpdateResponse(rsp *http.Response) (*IpamRolesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199069,7 +304192,7 @@ func ParseIpamRolesBulkPartialUpdateResponse(rsp *http.Response) (*IpamRolesBulk // ParseIpamRolesCreateResponse parses an HTTP response from a IpamRolesCreateWithResponse call func ParseIpamRolesCreateResponse(rsp *http.Response) (*IpamRolesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199085,7 +304208,7 @@ func ParseIpamRolesCreateResponse(rsp *http.Response) (*IpamRolesCreateResponse, // ParseIpamRolesBulkUpdateResponse parses an HTTP response from a IpamRolesBulkUpdateWithResponse call func ParseIpamRolesBulkUpdateResponse(rsp *http.Response) (*IpamRolesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199101,7 +304224,7 @@ func ParseIpamRolesBulkUpdateResponse(rsp *http.Response) (*IpamRolesBulkUpdateR // ParseIpamRolesDestroyResponse parses an HTTP response from a IpamRolesDestroyWithResponse call func ParseIpamRolesDestroyResponse(rsp *http.Response) (*IpamRolesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199117,7 +304240,7 @@ func ParseIpamRolesDestroyResponse(rsp *http.Response) (*IpamRolesDestroyRespons // ParseIpamRolesRetrieveResponse parses an HTTP response from a IpamRolesRetrieveWithResponse call func ParseIpamRolesRetrieveResponse(rsp *http.Response) (*IpamRolesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199133,7 +304256,7 @@ func ParseIpamRolesRetrieveResponse(rsp *http.Response) (*IpamRolesRetrieveRespo // ParseIpamRolesPartialUpdateResponse parses an HTTP response from a IpamRolesPartialUpdateWithResponse call func ParseIpamRolesPartialUpdateResponse(rsp *http.Response) (*IpamRolesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199149,7 +304272,7 @@ func ParseIpamRolesPartialUpdateResponse(rsp *http.Response) (*IpamRolesPartialU // ParseIpamRolesUpdateResponse parses an HTTP response from a IpamRolesUpdateWithResponse call func ParseIpamRolesUpdateResponse(rsp *http.Response) (*IpamRolesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199163,9 +304286,41 @@ func ParseIpamRolesUpdateResponse(rsp *http.Response) (*IpamRolesUpdateResponse, return response, nil } +// ParseIpamRolesNotesListResponse parses an HTTP response from a IpamRolesNotesListWithResponse call +func ParseIpamRolesNotesListResponse(rsp *http.Response) (*IpamRolesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRolesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRolesNotesCreateResponse parses an HTTP response from a IpamRolesNotesCreateWithResponse call +func ParseIpamRolesNotesCreateResponse(rsp *http.Response) (*IpamRolesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRolesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseIpamRouteTargetsBulkDestroyResponse parses an HTTP response from a IpamRouteTargetsBulkDestroyWithResponse call func ParseIpamRouteTargetsBulkDestroyResponse(rsp *http.Response) (*IpamRouteTargetsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199181,7 +304336,7 @@ func ParseIpamRouteTargetsBulkDestroyResponse(rsp *http.Response) (*IpamRouteTar // ParseIpamRouteTargetsListResponse parses an HTTP response from a IpamRouteTargetsListWithResponse call func ParseIpamRouteTargetsListResponse(rsp *http.Response) (*IpamRouteTargetsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199197,7 +304352,7 @@ func ParseIpamRouteTargetsListResponse(rsp *http.Response) (*IpamRouteTargetsLis // ParseIpamRouteTargetsBulkPartialUpdateResponse parses an HTTP response from a IpamRouteTargetsBulkPartialUpdateWithResponse call func ParseIpamRouteTargetsBulkPartialUpdateResponse(rsp *http.Response) (*IpamRouteTargetsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199213,7 +304368,7 @@ func ParseIpamRouteTargetsBulkPartialUpdateResponse(rsp *http.Response) (*IpamRo // ParseIpamRouteTargetsCreateResponse parses an HTTP response from a IpamRouteTargetsCreateWithResponse call func ParseIpamRouteTargetsCreateResponse(rsp *http.Response) (*IpamRouteTargetsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199229,7 +304384,7 @@ func ParseIpamRouteTargetsCreateResponse(rsp *http.Response) (*IpamRouteTargetsC // ParseIpamRouteTargetsBulkUpdateResponse parses an HTTP response from a IpamRouteTargetsBulkUpdateWithResponse call func ParseIpamRouteTargetsBulkUpdateResponse(rsp *http.Response) (*IpamRouteTargetsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199245,7 +304400,7 @@ func ParseIpamRouteTargetsBulkUpdateResponse(rsp *http.Response) (*IpamRouteTarg // ParseIpamRouteTargetsDestroyResponse parses an HTTP response from a IpamRouteTargetsDestroyWithResponse call func ParseIpamRouteTargetsDestroyResponse(rsp *http.Response) (*IpamRouteTargetsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199261,7 +304416,7 @@ func ParseIpamRouteTargetsDestroyResponse(rsp *http.Response) (*IpamRouteTargets // ParseIpamRouteTargetsRetrieveResponse parses an HTTP response from a IpamRouteTargetsRetrieveWithResponse call func ParseIpamRouteTargetsRetrieveResponse(rsp *http.Response) (*IpamRouteTargetsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199277,7 +304432,7 @@ func ParseIpamRouteTargetsRetrieveResponse(rsp *http.Response) (*IpamRouteTarget // ParseIpamRouteTargetsPartialUpdateResponse parses an HTTP response from a IpamRouteTargetsPartialUpdateWithResponse call func ParseIpamRouteTargetsPartialUpdateResponse(rsp *http.Response) (*IpamRouteTargetsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199293,7 +304448,7 @@ func ParseIpamRouteTargetsPartialUpdateResponse(rsp *http.Response) (*IpamRouteT // ParseIpamRouteTargetsUpdateResponse parses an HTTP response from a IpamRouteTargetsUpdateWithResponse call func ParseIpamRouteTargetsUpdateResponse(rsp *http.Response) (*IpamRouteTargetsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199307,9 +304462,41 @@ func ParseIpamRouteTargetsUpdateResponse(rsp *http.Response) (*IpamRouteTargetsU return response, nil } +// ParseIpamRouteTargetsNotesListResponse parses an HTTP response from a IpamRouteTargetsNotesListWithResponse call +func ParseIpamRouteTargetsNotesListResponse(rsp *http.Response) (*IpamRouteTargetsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRouteTargetsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamRouteTargetsNotesCreateResponse parses an HTTP response from a IpamRouteTargetsNotesCreateWithResponse call +func ParseIpamRouteTargetsNotesCreateResponse(rsp *http.Response) (*IpamRouteTargetsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamRouteTargetsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseIpamServicesBulkDestroyResponse parses an HTTP response from a IpamServicesBulkDestroyWithResponse call func ParseIpamServicesBulkDestroyResponse(rsp *http.Response) (*IpamServicesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199325,7 +304512,7 @@ func ParseIpamServicesBulkDestroyResponse(rsp *http.Response) (*IpamServicesBulk // ParseIpamServicesListResponse parses an HTTP response from a IpamServicesListWithResponse call func ParseIpamServicesListResponse(rsp *http.Response) (*IpamServicesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199341,7 +304528,7 @@ func ParseIpamServicesListResponse(rsp *http.Response) (*IpamServicesListRespons // ParseIpamServicesBulkPartialUpdateResponse parses an HTTP response from a IpamServicesBulkPartialUpdateWithResponse call func ParseIpamServicesBulkPartialUpdateResponse(rsp *http.Response) (*IpamServicesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199357,7 +304544,7 @@ func ParseIpamServicesBulkPartialUpdateResponse(rsp *http.Response) (*IpamServic // ParseIpamServicesCreateResponse parses an HTTP response from a IpamServicesCreateWithResponse call func ParseIpamServicesCreateResponse(rsp *http.Response) (*IpamServicesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199373,7 +304560,7 @@ func ParseIpamServicesCreateResponse(rsp *http.Response) (*IpamServicesCreateRes // ParseIpamServicesBulkUpdateResponse parses an HTTP response from a IpamServicesBulkUpdateWithResponse call func ParseIpamServicesBulkUpdateResponse(rsp *http.Response) (*IpamServicesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199389,7 +304576,7 @@ func ParseIpamServicesBulkUpdateResponse(rsp *http.Response) (*IpamServicesBulkU // ParseIpamServicesDestroyResponse parses an HTTP response from a IpamServicesDestroyWithResponse call func ParseIpamServicesDestroyResponse(rsp *http.Response) (*IpamServicesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199405,7 +304592,7 @@ func ParseIpamServicesDestroyResponse(rsp *http.Response) (*IpamServicesDestroyR // ParseIpamServicesRetrieveResponse parses an HTTP response from a IpamServicesRetrieveWithResponse call func ParseIpamServicesRetrieveResponse(rsp *http.Response) (*IpamServicesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199421,7 +304608,7 @@ func ParseIpamServicesRetrieveResponse(rsp *http.Response) (*IpamServicesRetriev // ParseIpamServicesPartialUpdateResponse parses an HTTP response from a IpamServicesPartialUpdateWithResponse call func ParseIpamServicesPartialUpdateResponse(rsp *http.Response) (*IpamServicesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199437,7 +304624,7 @@ func ParseIpamServicesPartialUpdateResponse(rsp *http.Response) (*IpamServicesPa // ParseIpamServicesUpdateResponse parses an HTTP response from a IpamServicesUpdateWithResponse call func ParseIpamServicesUpdateResponse(rsp *http.Response) (*IpamServicesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199451,9 +304638,41 @@ func ParseIpamServicesUpdateResponse(rsp *http.Response) (*IpamServicesUpdateRes return response, nil } +// ParseIpamServicesNotesListResponse parses an HTTP response from a IpamServicesNotesListWithResponse call +func ParseIpamServicesNotesListResponse(rsp *http.Response) (*IpamServicesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServicesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamServicesNotesCreateResponse parses an HTTP response from a IpamServicesNotesCreateWithResponse call +func ParseIpamServicesNotesCreateResponse(rsp *http.Response) (*IpamServicesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamServicesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseIpamVlanGroupsBulkDestroyResponse parses an HTTP response from a IpamVlanGroupsBulkDestroyWithResponse call func ParseIpamVlanGroupsBulkDestroyResponse(rsp *http.Response) (*IpamVlanGroupsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199469,7 +304688,7 @@ func ParseIpamVlanGroupsBulkDestroyResponse(rsp *http.Response) (*IpamVlanGroups // ParseIpamVlanGroupsListResponse parses an HTTP response from a IpamVlanGroupsListWithResponse call func ParseIpamVlanGroupsListResponse(rsp *http.Response) (*IpamVlanGroupsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199485,7 +304704,7 @@ func ParseIpamVlanGroupsListResponse(rsp *http.Response) (*IpamVlanGroupsListRes // ParseIpamVlanGroupsBulkPartialUpdateResponse parses an HTTP response from a IpamVlanGroupsBulkPartialUpdateWithResponse call func ParseIpamVlanGroupsBulkPartialUpdateResponse(rsp *http.Response) (*IpamVlanGroupsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199501,7 +304720,7 @@ func ParseIpamVlanGroupsBulkPartialUpdateResponse(rsp *http.Response) (*IpamVlan // ParseIpamVlanGroupsCreateResponse parses an HTTP response from a IpamVlanGroupsCreateWithResponse call func ParseIpamVlanGroupsCreateResponse(rsp *http.Response) (*IpamVlanGroupsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199517,7 +304736,7 @@ func ParseIpamVlanGroupsCreateResponse(rsp *http.Response) (*IpamVlanGroupsCreat // ParseIpamVlanGroupsBulkUpdateResponse parses an HTTP response from a IpamVlanGroupsBulkUpdateWithResponse call func ParseIpamVlanGroupsBulkUpdateResponse(rsp *http.Response) (*IpamVlanGroupsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199533,7 +304752,7 @@ func ParseIpamVlanGroupsBulkUpdateResponse(rsp *http.Response) (*IpamVlanGroupsB // ParseIpamVlanGroupsDestroyResponse parses an HTTP response from a IpamVlanGroupsDestroyWithResponse call func ParseIpamVlanGroupsDestroyResponse(rsp *http.Response) (*IpamVlanGroupsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199549,7 +304768,7 @@ func ParseIpamVlanGroupsDestroyResponse(rsp *http.Response) (*IpamVlanGroupsDest // ParseIpamVlanGroupsRetrieveResponse parses an HTTP response from a IpamVlanGroupsRetrieveWithResponse call func ParseIpamVlanGroupsRetrieveResponse(rsp *http.Response) (*IpamVlanGroupsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199565,7 +304784,7 @@ func ParseIpamVlanGroupsRetrieveResponse(rsp *http.Response) (*IpamVlanGroupsRet // ParseIpamVlanGroupsPartialUpdateResponse parses an HTTP response from a IpamVlanGroupsPartialUpdateWithResponse call func ParseIpamVlanGroupsPartialUpdateResponse(rsp *http.Response) (*IpamVlanGroupsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199581,7 +304800,7 @@ func ParseIpamVlanGroupsPartialUpdateResponse(rsp *http.Response) (*IpamVlanGrou // ParseIpamVlanGroupsUpdateResponse parses an HTTP response from a IpamVlanGroupsUpdateWithResponse call func ParseIpamVlanGroupsUpdateResponse(rsp *http.Response) (*IpamVlanGroupsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199595,9 +304814,41 @@ func ParseIpamVlanGroupsUpdateResponse(rsp *http.Response) (*IpamVlanGroupsUpdat return response, nil } +// ParseIpamVlanGroupsNotesListResponse parses an HTTP response from a IpamVlanGroupsNotesListWithResponse call +func ParseIpamVlanGroupsNotesListResponse(rsp *http.Response) (*IpamVlanGroupsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlanGroupsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVlanGroupsNotesCreateResponse parses an HTTP response from a IpamVlanGroupsNotesCreateWithResponse call +func ParseIpamVlanGroupsNotesCreateResponse(rsp *http.Response) (*IpamVlanGroupsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlanGroupsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseIpamVlansBulkDestroyResponse parses an HTTP response from a IpamVlansBulkDestroyWithResponse call func ParseIpamVlansBulkDestroyResponse(rsp *http.Response) (*IpamVlansBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199613,7 +304864,7 @@ func ParseIpamVlansBulkDestroyResponse(rsp *http.Response) (*IpamVlansBulkDestro // ParseIpamVlansListResponse parses an HTTP response from a IpamVlansListWithResponse call func ParseIpamVlansListResponse(rsp *http.Response) (*IpamVlansListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199629,7 +304880,7 @@ func ParseIpamVlansListResponse(rsp *http.Response) (*IpamVlansListResponse, err // ParseIpamVlansBulkPartialUpdateResponse parses an HTTP response from a IpamVlansBulkPartialUpdateWithResponse call func ParseIpamVlansBulkPartialUpdateResponse(rsp *http.Response) (*IpamVlansBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199645,7 +304896,7 @@ func ParseIpamVlansBulkPartialUpdateResponse(rsp *http.Response) (*IpamVlansBulk // ParseIpamVlansCreateResponse parses an HTTP response from a IpamVlansCreateWithResponse call func ParseIpamVlansCreateResponse(rsp *http.Response) (*IpamVlansCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199661,7 +304912,7 @@ func ParseIpamVlansCreateResponse(rsp *http.Response) (*IpamVlansCreateResponse, // ParseIpamVlansBulkUpdateResponse parses an HTTP response from a IpamVlansBulkUpdateWithResponse call func ParseIpamVlansBulkUpdateResponse(rsp *http.Response) (*IpamVlansBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199677,7 +304928,7 @@ func ParseIpamVlansBulkUpdateResponse(rsp *http.Response) (*IpamVlansBulkUpdateR // ParseIpamVlansDestroyResponse parses an HTTP response from a IpamVlansDestroyWithResponse call func ParseIpamVlansDestroyResponse(rsp *http.Response) (*IpamVlansDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199693,7 +304944,7 @@ func ParseIpamVlansDestroyResponse(rsp *http.Response) (*IpamVlansDestroyRespons // ParseIpamVlansRetrieveResponse parses an HTTP response from a IpamVlansRetrieveWithResponse call func ParseIpamVlansRetrieveResponse(rsp *http.Response) (*IpamVlansRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199709,7 +304960,7 @@ func ParseIpamVlansRetrieveResponse(rsp *http.Response) (*IpamVlansRetrieveRespo // ParseIpamVlansPartialUpdateResponse parses an HTTP response from a IpamVlansPartialUpdateWithResponse call func ParseIpamVlansPartialUpdateResponse(rsp *http.Response) (*IpamVlansPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199725,7 +304976,7 @@ func ParseIpamVlansPartialUpdateResponse(rsp *http.Response) (*IpamVlansPartialU // ParseIpamVlansUpdateResponse parses an HTTP response from a IpamVlansUpdateWithResponse call func ParseIpamVlansUpdateResponse(rsp *http.Response) (*IpamVlansUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199739,9 +304990,41 @@ func ParseIpamVlansUpdateResponse(rsp *http.Response) (*IpamVlansUpdateResponse, return response, nil } +// ParseIpamVlansNotesListResponse parses an HTTP response from a IpamVlansNotesListWithResponse call +func ParseIpamVlansNotesListResponse(rsp *http.Response) (*IpamVlansNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlansNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVlansNotesCreateResponse parses an HTTP response from a IpamVlansNotesCreateWithResponse call +func ParseIpamVlansNotesCreateResponse(rsp *http.Response) (*IpamVlansNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVlansNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseIpamVrfsBulkDestroyResponse parses an HTTP response from a IpamVrfsBulkDestroyWithResponse call func ParseIpamVrfsBulkDestroyResponse(rsp *http.Response) (*IpamVrfsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199757,7 +305040,7 @@ func ParseIpamVrfsBulkDestroyResponse(rsp *http.Response) (*IpamVrfsBulkDestroyR // ParseIpamVrfsListResponse parses an HTTP response from a IpamVrfsListWithResponse call func ParseIpamVrfsListResponse(rsp *http.Response) (*IpamVrfsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199773,7 +305056,7 @@ func ParseIpamVrfsListResponse(rsp *http.Response) (*IpamVrfsListResponse, error // ParseIpamVrfsBulkPartialUpdateResponse parses an HTTP response from a IpamVrfsBulkPartialUpdateWithResponse call func ParseIpamVrfsBulkPartialUpdateResponse(rsp *http.Response) (*IpamVrfsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199789,7 +305072,7 @@ func ParseIpamVrfsBulkPartialUpdateResponse(rsp *http.Response) (*IpamVrfsBulkPa // ParseIpamVrfsCreateResponse parses an HTTP response from a IpamVrfsCreateWithResponse call func ParseIpamVrfsCreateResponse(rsp *http.Response) (*IpamVrfsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199805,7 +305088,7 @@ func ParseIpamVrfsCreateResponse(rsp *http.Response) (*IpamVrfsCreateResponse, e // ParseIpamVrfsBulkUpdateResponse parses an HTTP response from a IpamVrfsBulkUpdateWithResponse call func ParseIpamVrfsBulkUpdateResponse(rsp *http.Response) (*IpamVrfsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199821,7 +305104,7 @@ func ParseIpamVrfsBulkUpdateResponse(rsp *http.Response) (*IpamVrfsBulkUpdateRes // ParseIpamVrfsDestroyResponse parses an HTTP response from a IpamVrfsDestroyWithResponse call func ParseIpamVrfsDestroyResponse(rsp *http.Response) (*IpamVrfsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199837,7 +305120,7 @@ func ParseIpamVrfsDestroyResponse(rsp *http.Response) (*IpamVrfsDestroyResponse, // ParseIpamVrfsRetrieveResponse parses an HTTP response from a IpamVrfsRetrieveWithResponse call func ParseIpamVrfsRetrieveResponse(rsp *http.Response) (*IpamVrfsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199853,7 +305136,7 @@ func ParseIpamVrfsRetrieveResponse(rsp *http.Response) (*IpamVrfsRetrieveRespons // ParseIpamVrfsPartialUpdateResponse parses an HTTP response from a IpamVrfsPartialUpdateWithResponse call func ParseIpamVrfsPartialUpdateResponse(rsp *http.Response) (*IpamVrfsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199869,7 +305152,7 @@ func ParseIpamVrfsPartialUpdateResponse(rsp *http.Response) (*IpamVrfsPartialUpd // ParseIpamVrfsUpdateResponse parses an HTTP response from a IpamVrfsUpdateWithResponse call func ParseIpamVrfsUpdateResponse(rsp *http.Response) (*IpamVrfsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199883,9 +305166,1193 @@ func ParseIpamVrfsUpdateResponse(rsp *http.Response) (*IpamVrfsUpdateResponse, e return response, nil } +// ParseIpamVrfsNotesListResponse parses an HTTP response from a IpamVrfsNotesListWithResponse call +func ParseIpamVrfsNotesListResponse(rsp *http.Response) (*IpamVrfsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVrfsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseIpamVrfsNotesCreateResponse parses an HTTP response from a IpamVrfsNotesCreateWithResponse call +func ParseIpamVrfsNotesCreateResponse(rsp *http.Response) (*IpamVrfsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &IpamVrfsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpAddressFamiliesBulkDestroyResponse parses an HTTP response from a PluginsBgpAddressFamiliesBulkDestroyWithResponse call +func ParsePluginsBgpAddressFamiliesBulkDestroyResponse(rsp *http.Response) (*PluginsBgpAddressFamiliesBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpAddressFamiliesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpAddressFamiliesListResponse parses an HTTP response from a PluginsBgpAddressFamiliesListWithResponse call +func ParsePluginsBgpAddressFamiliesListResponse(rsp *http.Response) (*PluginsBgpAddressFamiliesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpAddressFamiliesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpAddressFamiliesBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpAddressFamiliesBulkPartialUpdateWithResponse call +func ParsePluginsBgpAddressFamiliesBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpAddressFamiliesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpAddressFamiliesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpAddressFamiliesCreateResponse parses an HTTP response from a PluginsBgpAddressFamiliesCreateWithResponse call +func ParsePluginsBgpAddressFamiliesCreateResponse(rsp *http.Response) (*PluginsBgpAddressFamiliesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpAddressFamiliesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpAddressFamiliesBulkUpdateResponse parses an HTTP response from a PluginsBgpAddressFamiliesBulkUpdateWithResponse call +func ParsePluginsBgpAddressFamiliesBulkUpdateResponse(rsp *http.Response) (*PluginsBgpAddressFamiliesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpAddressFamiliesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpAddressFamiliesDestroyResponse parses an HTTP response from a PluginsBgpAddressFamiliesDestroyWithResponse call +func ParsePluginsBgpAddressFamiliesDestroyResponse(rsp *http.Response) (*PluginsBgpAddressFamiliesDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpAddressFamiliesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpAddressFamiliesRetrieveResponse parses an HTTP response from a PluginsBgpAddressFamiliesRetrieveWithResponse call +func ParsePluginsBgpAddressFamiliesRetrieveResponse(rsp *http.Response) (*PluginsBgpAddressFamiliesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpAddressFamiliesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpAddressFamiliesPartialUpdateResponse parses an HTTP response from a PluginsBgpAddressFamiliesPartialUpdateWithResponse call +func ParsePluginsBgpAddressFamiliesPartialUpdateResponse(rsp *http.Response) (*PluginsBgpAddressFamiliesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpAddressFamiliesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpAddressFamiliesUpdateResponse parses an HTTP response from a PluginsBgpAddressFamiliesUpdateWithResponse call +func ParsePluginsBgpAddressFamiliesUpdateResponse(rsp *http.Response) (*PluginsBgpAddressFamiliesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpAddressFamiliesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpAutonomousSystemsBulkDestroyResponse parses an HTTP response from a PluginsBgpAutonomousSystemsBulkDestroyWithResponse call +func ParsePluginsBgpAutonomousSystemsBulkDestroyResponse(rsp *http.Response) (*PluginsBgpAutonomousSystemsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpAutonomousSystemsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpAutonomousSystemsListResponse parses an HTTP response from a PluginsBgpAutonomousSystemsListWithResponse call +func ParsePluginsBgpAutonomousSystemsListResponse(rsp *http.Response) (*PluginsBgpAutonomousSystemsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpAutonomousSystemsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpAutonomousSystemsBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpAutonomousSystemsBulkPartialUpdateWithResponse call +func ParsePluginsBgpAutonomousSystemsBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpAutonomousSystemsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpAutonomousSystemsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpAutonomousSystemsCreateResponse parses an HTTP response from a PluginsBgpAutonomousSystemsCreateWithResponse call +func ParsePluginsBgpAutonomousSystemsCreateResponse(rsp *http.Response) (*PluginsBgpAutonomousSystemsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpAutonomousSystemsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpAutonomousSystemsBulkUpdateResponse parses an HTTP response from a PluginsBgpAutonomousSystemsBulkUpdateWithResponse call +func ParsePluginsBgpAutonomousSystemsBulkUpdateResponse(rsp *http.Response) (*PluginsBgpAutonomousSystemsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpAutonomousSystemsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpAutonomousSystemsDestroyResponse parses an HTTP response from a PluginsBgpAutonomousSystemsDestroyWithResponse call +func ParsePluginsBgpAutonomousSystemsDestroyResponse(rsp *http.Response) (*PluginsBgpAutonomousSystemsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpAutonomousSystemsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpAutonomousSystemsRetrieveResponse parses an HTTP response from a PluginsBgpAutonomousSystemsRetrieveWithResponse call +func ParsePluginsBgpAutonomousSystemsRetrieveResponse(rsp *http.Response) (*PluginsBgpAutonomousSystemsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpAutonomousSystemsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpAutonomousSystemsPartialUpdateResponse parses an HTTP response from a PluginsBgpAutonomousSystemsPartialUpdateWithResponse call +func ParsePluginsBgpAutonomousSystemsPartialUpdateResponse(rsp *http.Response) (*PluginsBgpAutonomousSystemsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpAutonomousSystemsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpAutonomousSystemsUpdateResponse parses an HTTP response from a PluginsBgpAutonomousSystemsUpdateWithResponse call +func ParsePluginsBgpAutonomousSystemsUpdateResponse(rsp *http.Response) (*PluginsBgpAutonomousSystemsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpAutonomousSystemsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerEndpointsBulkDestroyResponse parses an HTTP response from a PluginsBgpPeerEndpointsBulkDestroyWithResponse call +func ParsePluginsBgpPeerEndpointsBulkDestroyResponse(rsp *http.Response) (*PluginsBgpPeerEndpointsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerEndpointsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerEndpointsListResponse parses an HTTP response from a PluginsBgpPeerEndpointsListWithResponse call +func ParsePluginsBgpPeerEndpointsListResponse(rsp *http.Response) (*PluginsBgpPeerEndpointsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerEndpointsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerEndpointsBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpPeerEndpointsBulkPartialUpdateWithResponse call +func ParsePluginsBgpPeerEndpointsBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpPeerEndpointsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerEndpointsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerEndpointsCreateResponse parses an HTTP response from a PluginsBgpPeerEndpointsCreateWithResponse call +func ParsePluginsBgpPeerEndpointsCreateResponse(rsp *http.Response) (*PluginsBgpPeerEndpointsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerEndpointsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerEndpointsBulkUpdateResponse parses an HTTP response from a PluginsBgpPeerEndpointsBulkUpdateWithResponse call +func ParsePluginsBgpPeerEndpointsBulkUpdateResponse(rsp *http.Response) (*PluginsBgpPeerEndpointsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerEndpointsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerEndpointsDestroyResponse parses an HTTP response from a PluginsBgpPeerEndpointsDestroyWithResponse call +func ParsePluginsBgpPeerEndpointsDestroyResponse(rsp *http.Response) (*PluginsBgpPeerEndpointsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerEndpointsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerEndpointsRetrieveResponse parses an HTTP response from a PluginsBgpPeerEndpointsRetrieveWithResponse call +func ParsePluginsBgpPeerEndpointsRetrieveResponse(rsp *http.Response) (*PluginsBgpPeerEndpointsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerEndpointsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerEndpointsPartialUpdateResponse parses an HTTP response from a PluginsBgpPeerEndpointsPartialUpdateWithResponse call +func ParsePluginsBgpPeerEndpointsPartialUpdateResponse(rsp *http.Response) (*PluginsBgpPeerEndpointsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerEndpointsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerEndpointsUpdateResponse parses an HTTP response from a PluginsBgpPeerEndpointsUpdateWithResponse call +func ParsePluginsBgpPeerEndpointsUpdateResponse(rsp *http.Response) (*PluginsBgpPeerEndpointsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerEndpointsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerGroupTemplatesBulkDestroyResponse parses an HTTP response from a PluginsBgpPeerGroupTemplatesBulkDestroyWithResponse call +func ParsePluginsBgpPeerGroupTemplatesBulkDestroyResponse(rsp *http.Response) (*PluginsBgpPeerGroupTemplatesBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerGroupTemplatesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerGroupTemplatesListResponse parses an HTTP response from a PluginsBgpPeerGroupTemplatesListWithResponse call +func ParsePluginsBgpPeerGroupTemplatesListResponse(rsp *http.Response) (*PluginsBgpPeerGroupTemplatesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerGroupTemplatesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerGroupTemplatesBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpPeerGroupTemplatesBulkPartialUpdateWithResponse call +func ParsePluginsBgpPeerGroupTemplatesBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpPeerGroupTemplatesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerGroupTemplatesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerGroupTemplatesCreateResponse parses an HTTP response from a PluginsBgpPeerGroupTemplatesCreateWithResponse call +func ParsePluginsBgpPeerGroupTemplatesCreateResponse(rsp *http.Response) (*PluginsBgpPeerGroupTemplatesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerGroupTemplatesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerGroupTemplatesBulkUpdateResponse parses an HTTP response from a PluginsBgpPeerGroupTemplatesBulkUpdateWithResponse call +func ParsePluginsBgpPeerGroupTemplatesBulkUpdateResponse(rsp *http.Response) (*PluginsBgpPeerGroupTemplatesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerGroupTemplatesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerGroupTemplatesDestroyResponse parses an HTTP response from a PluginsBgpPeerGroupTemplatesDestroyWithResponse call +func ParsePluginsBgpPeerGroupTemplatesDestroyResponse(rsp *http.Response) (*PluginsBgpPeerGroupTemplatesDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerGroupTemplatesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerGroupTemplatesRetrieveResponse parses an HTTP response from a PluginsBgpPeerGroupTemplatesRetrieveWithResponse call +func ParsePluginsBgpPeerGroupTemplatesRetrieveResponse(rsp *http.Response) (*PluginsBgpPeerGroupTemplatesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerGroupTemplatesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerGroupTemplatesPartialUpdateResponse parses an HTTP response from a PluginsBgpPeerGroupTemplatesPartialUpdateWithResponse call +func ParsePluginsBgpPeerGroupTemplatesPartialUpdateResponse(rsp *http.Response) (*PluginsBgpPeerGroupTemplatesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerGroupTemplatesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerGroupTemplatesUpdateResponse parses an HTTP response from a PluginsBgpPeerGroupTemplatesUpdateWithResponse call +func ParsePluginsBgpPeerGroupTemplatesUpdateResponse(rsp *http.Response) (*PluginsBgpPeerGroupTemplatesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerGroupTemplatesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerGroupsBulkDestroyResponse parses an HTTP response from a PluginsBgpPeerGroupsBulkDestroyWithResponse call +func ParsePluginsBgpPeerGroupsBulkDestroyResponse(rsp *http.Response) (*PluginsBgpPeerGroupsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerGroupsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerGroupsListResponse parses an HTTP response from a PluginsBgpPeerGroupsListWithResponse call +func ParsePluginsBgpPeerGroupsListResponse(rsp *http.Response) (*PluginsBgpPeerGroupsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerGroupsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerGroupsBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpPeerGroupsBulkPartialUpdateWithResponse call +func ParsePluginsBgpPeerGroupsBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpPeerGroupsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerGroupsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerGroupsCreateResponse parses an HTTP response from a PluginsBgpPeerGroupsCreateWithResponse call +func ParsePluginsBgpPeerGroupsCreateResponse(rsp *http.Response) (*PluginsBgpPeerGroupsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerGroupsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerGroupsBulkUpdateResponse parses an HTTP response from a PluginsBgpPeerGroupsBulkUpdateWithResponse call +func ParsePluginsBgpPeerGroupsBulkUpdateResponse(rsp *http.Response) (*PluginsBgpPeerGroupsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerGroupsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerGroupsDestroyResponse parses an HTTP response from a PluginsBgpPeerGroupsDestroyWithResponse call +func ParsePluginsBgpPeerGroupsDestroyResponse(rsp *http.Response) (*PluginsBgpPeerGroupsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerGroupsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerGroupsRetrieveResponse parses an HTTP response from a PluginsBgpPeerGroupsRetrieveWithResponse call +func ParsePluginsBgpPeerGroupsRetrieveResponse(rsp *http.Response) (*PluginsBgpPeerGroupsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerGroupsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerGroupsPartialUpdateResponse parses an HTTP response from a PluginsBgpPeerGroupsPartialUpdateWithResponse call +func ParsePluginsBgpPeerGroupsPartialUpdateResponse(rsp *http.Response) (*PluginsBgpPeerGroupsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerGroupsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeerGroupsUpdateResponse parses an HTTP response from a PluginsBgpPeerGroupsUpdateWithResponse call +func ParsePluginsBgpPeerGroupsUpdateResponse(rsp *http.Response) (*PluginsBgpPeerGroupsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeerGroupsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeeringRolesBulkDestroyResponse parses an HTTP response from a PluginsBgpPeeringRolesBulkDestroyWithResponse call +func ParsePluginsBgpPeeringRolesBulkDestroyResponse(rsp *http.Response) (*PluginsBgpPeeringRolesBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeeringRolesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeeringRolesListResponse parses an HTTP response from a PluginsBgpPeeringRolesListWithResponse call +func ParsePluginsBgpPeeringRolesListResponse(rsp *http.Response) (*PluginsBgpPeeringRolesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeeringRolesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeeringRolesBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpPeeringRolesBulkPartialUpdateWithResponse call +func ParsePluginsBgpPeeringRolesBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpPeeringRolesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeeringRolesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeeringRolesCreateResponse parses an HTTP response from a PluginsBgpPeeringRolesCreateWithResponse call +func ParsePluginsBgpPeeringRolesCreateResponse(rsp *http.Response) (*PluginsBgpPeeringRolesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeeringRolesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeeringRolesBulkUpdateResponse parses an HTTP response from a PluginsBgpPeeringRolesBulkUpdateWithResponse call +func ParsePluginsBgpPeeringRolesBulkUpdateResponse(rsp *http.Response) (*PluginsBgpPeeringRolesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeeringRolesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeeringRolesDestroyResponse parses an HTTP response from a PluginsBgpPeeringRolesDestroyWithResponse call +func ParsePluginsBgpPeeringRolesDestroyResponse(rsp *http.Response) (*PluginsBgpPeeringRolesDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeeringRolesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeeringRolesRetrieveResponse parses an HTTP response from a PluginsBgpPeeringRolesRetrieveWithResponse call +func ParsePluginsBgpPeeringRolesRetrieveResponse(rsp *http.Response) (*PluginsBgpPeeringRolesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeeringRolesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeeringRolesPartialUpdateResponse parses an HTTP response from a PluginsBgpPeeringRolesPartialUpdateWithResponse call +func ParsePluginsBgpPeeringRolesPartialUpdateResponse(rsp *http.Response) (*PluginsBgpPeeringRolesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeeringRolesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeeringRolesUpdateResponse parses an HTTP response from a PluginsBgpPeeringRolesUpdateWithResponse call +func ParsePluginsBgpPeeringRolesUpdateResponse(rsp *http.Response) (*PluginsBgpPeeringRolesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeeringRolesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeeringsBulkDestroyResponse parses an HTTP response from a PluginsBgpPeeringsBulkDestroyWithResponse call +func ParsePluginsBgpPeeringsBulkDestroyResponse(rsp *http.Response) (*PluginsBgpPeeringsBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeeringsBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeeringsListResponse parses an HTTP response from a PluginsBgpPeeringsListWithResponse call +func ParsePluginsBgpPeeringsListResponse(rsp *http.Response) (*PluginsBgpPeeringsListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeeringsListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeeringsBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpPeeringsBulkPartialUpdateWithResponse call +func ParsePluginsBgpPeeringsBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpPeeringsBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeeringsBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeeringsCreateResponse parses an HTTP response from a PluginsBgpPeeringsCreateWithResponse call +func ParsePluginsBgpPeeringsCreateResponse(rsp *http.Response) (*PluginsBgpPeeringsCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeeringsCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeeringsBulkUpdateResponse parses an HTTP response from a PluginsBgpPeeringsBulkUpdateWithResponse call +func ParsePluginsBgpPeeringsBulkUpdateResponse(rsp *http.Response) (*PluginsBgpPeeringsBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeeringsBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeeringsDestroyResponse parses an HTTP response from a PluginsBgpPeeringsDestroyWithResponse call +func ParsePluginsBgpPeeringsDestroyResponse(rsp *http.Response) (*PluginsBgpPeeringsDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeeringsDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeeringsRetrieveResponse parses an HTTP response from a PluginsBgpPeeringsRetrieveWithResponse call +func ParsePluginsBgpPeeringsRetrieveResponse(rsp *http.Response) (*PluginsBgpPeeringsRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeeringsRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeeringsPartialUpdateResponse parses an HTTP response from a PluginsBgpPeeringsPartialUpdateWithResponse call +func ParsePluginsBgpPeeringsPartialUpdateResponse(rsp *http.Response) (*PluginsBgpPeeringsPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeeringsPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpPeeringsUpdateResponse parses an HTTP response from a PluginsBgpPeeringsUpdateWithResponse call +func ParsePluginsBgpPeeringsUpdateResponse(rsp *http.Response) (*PluginsBgpPeeringsUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpPeeringsUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpRoutingInstancesBulkDestroyResponse parses an HTTP response from a PluginsBgpRoutingInstancesBulkDestroyWithResponse call +func ParsePluginsBgpRoutingInstancesBulkDestroyResponse(rsp *http.Response) (*PluginsBgpRoutingInstancesBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpRoutingInstancesBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpRoutingInstancesListResponse parses an HTTP response from a PluginsBgpRoutingInstancesListWithResponse call +func ParsePluginsBgpRoutingInstancesListResponse(rsp *http.Response) (*PluginsBgpRoutingInstancesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpRoutingInstancesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpRoutingInstancesBulkPartialUpdateResponse parses an HTTP response from a PluginsBgpRoutingInstancesBulkPartialUpdateWithResponse call +func ParsePluginsBgpRoutingInstancesBulkPartialUpdateResponse(rsp *http.Response) (*PluginsBgpRoutingInstancesBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpRoutingInstancesBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpRoutingInstancesCreateResponse parses an HTTP response from a PluginsBgpRoutingInstancesCreateWithResponse call +func ParsePluginsBgpRoutingInstancesCreateResponse(rsp *http.Response) (*PluginsBgpRoutingInstancesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpRoutingInstancesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpRoutingInstancesBulkUpdateResponse parses an HTTP response from a PluginsBgpRoutingInstancesBulkUpdateWithResponse call +func ParsePluginsBgpRoutingInstancesBulkUpdateResponse(rsp *http.Response) (*PluginsBgpRoutingInstancesBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpRoutingInstancesBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpRoutingInstancesDestroyResponse parses an HTTP response from a PluginsBgpRoutingInstancesDestroyWithResponse call +func ParsePluginsBgpRoutingInstancesDestroyResponse(rsp *http.Response) (*PluginsBgpRoutingInstancesDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpRoutingInstancesDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpRoutingInstancesRetrieveResponse parses an HTTP response from a PluginsBgpRoutingInstancesRetrieveWithResponse call +func ParsePluginsBgpRoutingInstancesRetrieveResponse(rsp *http.Response) (*PluginsBgpRoutingInstancesRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpRoutingInstancesRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpRoutingInstancesPartialUpdateResponse parses an HTTP response from a PluginsBgpRoutingInstancesPartialUpdateWithResponse call +func ParsePluginsBgpRoutingInstancesPartialUpdateResponse(rsp *http.Response) (*PluginsBgpRoutingInstancesPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpRoutingInstancesPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsBgpRoutingInstancesUpdateResponse parses an HTTP response from a PluginsBgpRoutingInstancesUpdateWithResponse call +func ParsePluginsBgpRoutingInstancesUpdateResponse(rsp *http.Response) (*PluginsBgpRoutingInstancesUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsBgpRoutingInstancesUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParsePluginsChatopsAccessgrantBulkDestroyResponse parses an HTTP response from a PluginsChatopsAccessgrantBulkDestroyWithResponse call func ParsePluginsChatopsAccessgrantBulkDestroyResponse(rsp *http.Response) (*PluginsChatopsAccessgrantBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199901,7 +306368,7 @@ func ParsePluginsChatopsAccessgrantBulkDestroyResponse(rsp *http.Response) (*Plu // ParsePluginsChatopsAccessgrantListResponse parses an HTTP response from a PluginsChatopsAccessgrantListWithResponse call func ParsePluginsChatopsAccessgrantListResponse(rsp *http.Response) (*PluginsChatopsAccessgrantListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199917,7 +306384,7 @@ func ParsePluginsChatopsAccessgrantListResponse(rsp *http.Response) (*PluginsCha // ParsePluginsChatopsAccessgrantBulkPartialUpdateResponse parses an HTTP response from a PluginsChatopsAccessgrantBulkPartialUpdateWithResponse call func ParsePluginsChatopsAccessgrantBulkPartialUpdateResponse(rsp *http.Response) (*PluginsChatopsAccessgrantBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199933,7 +306400,7 @@ func ParsePluginsChatopsAccessgrantBulkPartialUpdateResponse(rsp *http.Response) // ParsePluginsChatopsAccessgrantCreateResponse parses an HTTP response from a PluginsChatopsAccessgrantCreateWithResponse call func ParsePluginsChatopsAccessgrantCreateResponse(rsp *http.Response) (*PluginsChatopsAccessgrantCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199949,7 +306416,7 @@ func ParsePluginsChatopsAccessgrantCreateResponse(rsp *http.Response) (*PluginsC // ParsePluginsChatopsAccessgrantBulkUpdateResponse parses an HTTP response from a PluginsChatopsAccessgrantBulkUpdateWithResponse call func ParsePluginsChatopsAccessgrantBulkUpdateResponse(rsp *http.Response) (*PluginsChatopsAccessgrantBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199965,7 +306432,7 @@ func ParsePluginsChatopsAccessgrantBulkUpdateResponse(rsp *http.Response) (*Plug // ParsePluginsChatopsAccessgrantDestroyResponse parses an HTTP response from a PluginsChatopsAccessgrantDestroyWithResponse call func ParsePluginsChatopsAccessgrantDestroyResponse(rsp *http.Response) (*PluginsChatopsAccessgrantDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199981,7 +306448,7 @@ func ParsePluginsChatopsAccessgrantDestroyResponse(rsp *http.Response) (*Plugins // ParsePluginsChatopsAccessgrantRetrieveResponse parses an HTTP response from a PluginsChatopsAccessgrantRetrieveWithResponse call func ParsePluginsChatopsAccessgrantRetrieveResponse(rsp *http.Response) (*PluginsChatopsAccessgrantRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -199997,7 +306464,7 @@ func ParsePluginsChatopsAccessgrantRetrieveResponse(rsp *http.Response) (*Plugin // ParsePluginsChatopsAccessgrantPartialUpdateResponse parses an HTTP response from a PluginsChatopsAccessgrantPartialUpdateWithResponse call func ParsePluginsChatopsAccessgrantPartialUpdateResponse(rsp *http.Response) (*PluginsChatopsAccessgrantPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200013,7 +306480,7 @@ func ParsePluginsChatopsAccessgrantPartialUpdateResponse(rsp *http.Response) (*P // ParsePluginsChatopsAccessgrantUpdateResponse parses an HTTP response from a PluginsChatopsAccessgrantUpdateWithResponse call func ParsePluginsChatopsAccessgrantUpdateResponse(rsp *http.Response) (*PluginsChatopsAccessgrantUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200029,7 +306496,7 @@ func ParsePluginsChatopsAccessgrantUpdateResponse(rsp *http.Response) (*PluginsC // ParsePluginsChatopsCommandtokenBulkDestroyResponse parses an HTTP response from a PluginsChatopsCommandtokenBulkDestroyWithResponse call func ParsePluginsChatopsCommandtokenBulkDestroyResponse(rsp *http.Response) (*PluginsChatopsCommandtokenBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200045,7 +306512,7 @@ func ParsePluginsChatopsCommandtokenBulkDestroyResponse(rsp *http.Response) (*Pl // ParsePluginsChatopsCommandtokenListResponse parses an HTTP response from a PluginsChatopsCommandtokenListWithResponse call func ParsePluginsChatopsCommandtokenListResponse(rsp *http.Response) (*PluginsChatopsCommandtokenListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200061,7 +306528,7 @@ func ParsePluginsChatopsCommandtokenListResponse(rsp *http.Response) (*PluginsCh // ParsePluginsChatopsCommandtokenBulkPartialUpdateResponse parses an HTTP response from a PluginsChatopsCommandtokenBulkPartialUpdateWithResponse call func ParsePluginsChatopsCommandtokenBulkPartialUpdateResponse(rsp *http.Response) (*PluginsChatopsCommandtokenBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200077,7 +306544,7 @@ func ParsePluginsChatopsCommandtokenBulkPartialUpdateResponse(rsp *http.Response // ParsePluginsChatopsCommandtokenCreateResponse parses an HTTP response from a PluginsChatopsCommandtokenCreateWithResponse call func ParsePluginsChatopsCommandtokenCreateResponse(rsp *http.Response) (*PluginsChatopsCommandtokenCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200093,7 +306560,7 @@ func ParsePluginsChatopsCommandtokenCreateResponse(rsp *http.Response) (*Plugins // ParsePluginsChatopsCommandtokenBulkUpdateResponse parses an HTTP response from a PluginsChatopsCommandtokenBulkUpdateWithResponse call func ParsePluginsChatopsCommandtokenBulkUpdateResponse(rsp *http.Response) (*PluginsChatopsCommandtokenBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200109,7 +306576,7 @@ func ParsePluginsChatopsCommandtokenBulkUpdateResponse(rsp *http.Response) (*Plu // ParsePluginsChatopsCommandtokenDestroyResponse parses an HTTP response from a PluginsChatopsCommandtokenDestroyWithResponse call func ParsePluginsChatopsCommandtokenDestroyResponse(rsp *http.Response) (*PluginsChatopsCommandtokenDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200125,7 +306592,7 @@ func ParsePluginsChatopsCommandtokenDestroyResponse(rsp *http.Response) (*Plugin // ParsePluginsChatopsCommandtokenRetrieveResponse parses an HTTP response from a PluginsChatopsCommandtokenRetrieveWithResponse call func ParsePluginsChatopsCommandtokenRetrieveResponse(rsp *http.Response) (*PluginsChatopsCommandtokenRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200141,7 +306608,7 @@ func ParsePluginsChatopsCommandtokenRetrieveResponse(rsp *http.Response) (*Plugi // ParsePluginsChatopsCommandtokenPartialUpdateResponse parses an HTTP response from a PluginsChatopsCommandtokenPartialUpdateWithResponse call func ParsePluginsChatopsCommandtokenPartialUpdateResponse(rsp *http.Response) (*PluginsChatopsCommandtokenPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200157,7 +306624,7 @@ func ParsePluginsChatopsCommandtokenPartialUpdateResponse(rsp *http.Response) (* // ParsePluginsChatopsCommandtokenUpdateResponse parses an HTTP response from a PluginsChatopsCommandtokenUpdateWithResponse call func ParsePluginsChatopsCommandtokenUpdateResponse(rsp *http.Response) (*PluginsChatopsCommandtokenUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200173,7 +306640,7 @@ func ParsePluginsChatopsCommandtokenUpdateResponse(rsp *http.Response) (*Plugins // ParsePluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse parses an HTTP response from a PluginsCircuitMaintenanceCircuitimpactBulkDestroyWithResponse call func ParsePluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse(rsp *http.Response) (*PluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200189,7 +306656,7 @@ func ParsePluginsCircuitMaintenanceCircuitimpactBulkDestroyResponse(rsp *http.Re // ParsePluginsCircuitMaintenanceCircuitimpactListResponse parses an HTTP response from a PluginsCircuitMaintenanceCircuitimpactListWithResponse call func ParsePluginsCircuitMaintenanceCircuitimpactListResponse(rsp *http.Response) (*PluginsCircuitMaintenanceCircuitimpactListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200205,7 +306672,7 @@ func ParsePluginsCircuitMaintenanceCircuitimpactListResponse(rsp *http.Response) // ParsePluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateWithResponse call func ParsePluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200221,7 +306688,7 @@ func ParsePluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateResponse(rsp *h // ParsePluginsCircuitMaintenanceCircuitimpactCreateResponse parses an HTTP response from a PluginsCircuitMaintenanceCircuitimpactCreateWithResponse call func ParsePluginsCircuitMaintenanceCircuitimpactCreateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceCircuitimpactCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200237,7 +306704,7 @@ func ParsePluginsCircuitMaintenanceCircuitimpactCreateResponse(rsp *http.Respons // ParsePluginsCircuitMaintenanceCircuitimpactBulkUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceCircuitimpactBulkUpdateWithResponse call func ParsePluginsCircuitMaintenanceCircuitimpactBulkUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceCircuitimpactBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200253,7 +306720,7 @@ func ParsePluginsCircuitMaintenanceCircuitimpactBulkUpdateResponse(rsp *http.Res // ParsePluginsCircuitMaintenanceCircuitimpactDestroyResponse parses an HTTP response from a PluginsCircuitMaintenanceCircuitimpactDestroyWithResponse call func ParsePluginsCircuitMaintenanceCircuitimpactDestroyResponse(rsp *http.Response) (*PluginsCircuitMaintenanceCircuitimpactDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200269,7 +306736,7 @@ func ParsePluginsCircuitMaintenanceCircuitimpactDestroyResponse(rsp *http.Respon // ParsePluginsCircuitMaintenanceCircuitimpactRetrieveResponse parses an HTTP response from a PluginsCircuitMaintenanceCircuitimpactRetrieveWithResponse call func ParsePluginsCircuitMaintenanceCircuitimpactRetrieveResponse(rsp *http.Response) (*PluginsCircuitMaintenanceCircuitimpactRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200285,7 +306752,7 @@ func ParsePluginsCircuitMaintenanceCircuitimpactRetrieveResponse(rsp *http.Respo // ParsePluginsCircuitMaintenanceCircuitimpactPartialUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceCircuitimpactPartialUpdateWithResponse call func ParsePluginsCircuitMaintenanceCircuitimpactPartialUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceCircuitimpactPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200301,7 +306768,7 @@ func ParsePluginsCircuitMaintenanceCircuitimpactPartialUpdateResponse(rsp *http. // ParsePluginsCircuitMaintenanceCircuitimpactUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceCircuitimpactUpdateWithResponse call func ParsePluginsCircuitMaintenanceCircuitimpactUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceCircuitimpactUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200317,7 +306784,7 @@ func ParsePluginsCircuitMaintenanceCircuitimpactUpdateResponse(rsp *http.Respons // ParsePluginsCircuitMaintenanceMaintenanceBulkDestroyResponse parses an HTTP response from a PluginsCircuitMaintenanceMaintenanceBulkDestroyWithResponse call func ParsePluginsCircuitMaintenanceMaintenanceBulkDestroyResponse(rsp *http.Response) (*PluginsCircuitMaintenanceMaintenanceBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200333,7 +306800,7 @@ func ParsePluginsCircuitMaintenanceMaintenanceBulkDestroyResponse(rsp *http.Resp // ParsePluginsCircuitMaintenanceMaintenanceListResponse parses an HTTP response from a PluginsCircuitMaintenanceMaintenanceListWithResponse call func ParsePluginsCircuitMaintenanceMaintenanceListResponse(rsp *http.Response) (*PluginsCircuitMaintenanceMaintenanceListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200349,7 +306816,7 @@ func ParsePluginsCircuitMaintenanceMaintenanceListResponse(rsp *http.Response) ( // ParsePluginsCircuitMaintenanceMaintenanceBulkPartialUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateWithResponse call func ParsePluginsCircuitMaintenanceMaintenanceBulkPartialUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200365,7 +306832,7 @@ func ParsePluginsCircuitMaintenanceMaintenanceBulkPartialUpdateResponse(rsp *htt // ParsePluginsCircuitMaintenanceMaintenanceCreateResponse parses an HTTP response from a PluginsCircuitMaintenanceMaintenanceCreateWithResponse call func ParsePluginsCircuitMaintenanceMaintenanceCreateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceMaintenanceCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200381,7 +306848,7 @@ func ParsePluginsCircuitMaintenanceMaintenanceCreateResponse(rsp *http.Response) // ParsePluginsCircuitMaintenanceMaintenanceBulkUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceMaintenanceBulkUpdateWithResponse call func ParsePluginsCircuitMaintenanceMaintenanceBulkUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceMaintenanceBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200397,7 +306864,7 @@ func ParsePluginsCircuitMaintenanceMaintenanceBulkUpdateResponse(rsp *http.Respo // ParsePluginsCircuitMaintenanceMaintenanceDestroyResponse parses an HTTP response from a PluginsCircuitMaintenanceMaintenanceDestroyWithResponse call func ParsePluginsCircuitMaintenanceMaintenanceDestroyResponse(rsp *http.Response) (*PluginsCircuitMaintenanceMaintenanceDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200413,7 +306880,7 @@ func ParsePluginsCircuitMaintenanceMaintenanceDestroyResponse(rsp *http.Response // ParsePluginsCircuitMaintenanceMaintenanceRetrieveResponse parses an HTTP response from a PluginsCircuitMaintenanceMaintenanceRetrieveWithResponse call func ParsePluginsCircuitMaintenanceMaintenanceRetrieveResponse(rsp *http.Response) (*PluginsCircuitMaintenanceMaintenanceRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200429,7 +306896,7 @@ func ParsePluginsCircuitMaintenanceMaintenanceRetrieveResponse(rsp *http.Respons // ParsePluginsCircuitMaintenanceMaintenancePartialUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceMaintenancePartialUpdateWithResponse call func ParsePluginsCircuitMaintenanceMaintenancePartialUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceMaintenancePartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200445,7 +306912,7 @@ func ParsePluginsCircuitMaintenanceMaintenancePartialUpdateResponse(rsp *http.Re // ParsePluginsCircuitMaintenanceMaintenanceUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceMaintenanceUpdateWithResponse call func ParsePluginsCircuitMaintenanceMaintenanceUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceMaintenanceUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200461,7 +306928,7 @@ func ParsePluginsCircuitMaintenanceMaintenanceUpdateResponse(rsp *http.Response) // ParsePluginsCircuitMaintenanceNoteBulkDestroyResponse parses an HTTP response from a PluginsCircuitMaintenanceNoteBulkDestroyWithResponse call func ParsePluginsCircuitMaintenanceNoteBulkDestroyResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNoteBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200477,7 +306944,7 @@ func ParsePluginsCircuitMaintenanceNoteBulkDestroyResponse(rsp *http.Response) ( // ParsePluginsCircuitMaintenanceNoteListResponse parses an HTTP response from a PluginsCircuitMaintenanceNoteListWithResponse call func ParsePluginsCircuitMaintenanceNoteListResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNoteListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200493,7 +306960,7 @@ func ParsePluginsCircuitMaintenanceNoteListResponse(rsp *http.Response) (*Plugin // ParsePluginsCircuitMaintenanceNoteBulkPartialUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceNoteBulkPartialUpdateWithResponse call func ParsePluginsCircuitMaintenanceNoteBulkPartialUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNoteBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200509,7 +306976,7 @@ func ParsePluginsCircuitMaintenanceNoteBulkPartialUpdateResponse(rsp *http.Respo // ParsePluginsCircuitMaintenanceNoteCreateResponse parses an HTTP response from a PluginsCircuitMaintenanceNoteCreateWithResponse call func ParsePluginsCircuitMaintenanceNoteCreateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNoteCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200525,7 +306992,7 @@ func ParsePluginsCircuitMaintenanceNoteCreateResponse(rsp *http.Response) (*Plug // ParsePluginsCircuitMaintenanceNoteBulkUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceNoteBulkUpdateWithResponse call func ParsePluginsCircuitMaintenanceNoteBulkUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNoteBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200541,7 +307008,7 @@ func ParsePluginsCircuitMaintenanceNoteBulkUpdateResponse(rsp *http.Response) (* // ParsePluginsCircuitMaintenanceNoteDestroyResponse parses an HTTP response from a PluginsCircuitMaintenanceNoteDestroyWithResponse call func ParsePluginsCircuitMaintenanceNoteDestroyResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNoteDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200557,7 +307024,7 @@ func ParsePluginsCircuitMaintenanceNoteDestroyResponse(rsp *http.Response) (*Plu // ParsePluginsCircuitMaintenanceNoteRetrieveResponse parses an HTTP response from a PluginsCircuitMaintenanceNoteRetrieveWithResponse call func ParsePluginsCircuitMaintenanceNoteRetrieveResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNoteRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200573,7 +307040,7 @@ func ParsePluginsCircuitMaintenanceNoteRetrieveResponse(rsp *http.Response) (*Pl // ParsePluginsCircuitMaintenanceNotePartialUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceNotePartialUpdateWithResponse call func ParsePluginsCircuitMaintenanceNotePartialUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNotePartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200589,7 +307056,7 @@ func ParsePluginsCircuitMaintenanceNotePartialUpdateResponse(rsp *http.Response) // ParsePluginsCircuitMaintenanceNoteUpdateResponse parses an HTTP response from a PluginsCircuitMaintenanceNoteUpdateWithResponse call func ParsePluginsCircuitMaintenanceNoteUpdateResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNoteUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200605,7 +307072,7 @@ func ParsePluginsCircuitMaintenanceNoteUpdateResponse(rsp *http.Response) (*Plug // ParsePluginsCircuitMaintenanceNotificationsourceListResponse parses an HTTP response from a PluginsCircuitMaintenanceNotificationsourceListWithResponse call func ParsePluginsCircuitMaintenanceNotificationsourceListResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNotificationsourceListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200621,7 +307088,7 @@ func ParsePluginsCircuitMaintenanceNotificationsourceListResponse(rsp *http.Resp // ParsePluginsCircuitMaintenanceNotificationsourceRetrieveResponse parses an HTTP response from a PluginsCircuitMaintenanceNotificationsourceRetrieveWithResponse call func ParsePluginsCircuitMaintenanceNotificationsourceRetrieveResponse(rsp *http.Response) (*PluginsCircuitMaintenanceNotificationsourceRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200637,7 +307104,7 @@ func ParsePluginsCircuitMaintenanceNotificationsourceRetrieveResponse(rsp *http. // ParsePluginsDataValidationEngineRulesMinMaxBulkDestroyResponse parses an HTTP response from a PluginsDataValidationEngineRulesMinMaxBulkDestroyWithResponse call func ParsePluginsDataValidationEngineRulesMinMaxBulkDestroyResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesMinMaxBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200653,7 +307120,7 @@ func ParsePluginsDataValidationEngineRulesMinMaxBulkDestroyResponse(rsp *http.Re // ParsePluginsDataValidationEngineRulesMinMaxListResponse parses an HTTP response from a PluginsDataValidationEngineRulesMinMaxListWithResponse call func ParsePluginsDataValidationEngineRulesMinMaxListResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesMinMaxListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200669,7 +307136,7 @@ func ParsePluginsDataValidationEngineRulesMinMaxListResponse(rsp *http.Response) // ParsePluginsDataValidationEngineRulesMinMaxBulkPartialUpdateResponse parses an HTTP response from a PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateWithResponse call func ParsePluginsDataValidationEngineRulesMinMaxBulkPartialUpdateResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200685,7 +307152,7 @@ func ParsePluginsDataValidationEngineRulesMinMaxBulkPartialUpdateResponse(rsp *h // ParsePluginsDataValidationEngineRulesMinMaxCreateResponse parses an HTTP response from a PluginsDataValidationEngineRulesMinMaxCreateWithResponse call func ParsePluginsDataValidationEngineRulesMinMaxCreateResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesMinMaxCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200701,7 +307168,7 @@ func ParsePluginsDataValidationEngineRulesMinMaxCreateResponse(rsp *http.Respons // ParsePluginsDataValidationEngineRulesMinMaxBulkUpdateResponse parses an HTTP response from a PluginsDataValidationEngineRulesMinMaxBulkUpdateWithResponse call func ParsePluginsDataValidationEngineRulesMinMaxBulkUpdateResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesMinMaxBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200717,7 +307184,7 @@ func ParsePluginsDataValidationEngineRulesMinMaxBulkUpdateResponse(rsp *http.Res // ParsePluginsDataValidationEngineRulesMinMaxDestroyResponse parses an HTTP response from a PluginsDataValidationEngineRulesMinMaxDestroyWithResponse call func ParsePluginsDataValidationEngineRulesMinMaxDestroyResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesMinMaxDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200733,7 +307200,7 @@ func ParsePluginsDataValidationEngineRulesMinMaxDestroyResponse(rsp *http.Respon // ParsePluginsDataValidationEngineRulesMinMaxRetrieveResponse parses an HTTP response from a PluginsDataValidationEngineRulesMinMaxRetrieveWithResponse call func ParsePluginsDataValidationEngineRulesMinMaxRetrieveResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesMinMaxRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200749,7 +307216,7 @@ func ParsePluginsDataValidationEngineRulesMinMaxRetrieveResponse(rsp *http.Respo // ParsePluginsDataValidationEngineRulesMinMaxPartialUpdateResponse parses an HTTP response from a PluginsDataValidationEngineRulesMinMaxPartialUpdateWithResponse call func ParsePluginsDataValidationEngineRulesMinMaxPartialUpdateResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesMinMaxPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200765,7 +307232,7 @@ func ParsePluginsDataValidationEngineRulesMinMaxPartialUpdateResponse(rsp *http. // ParsePluginsDataValidationEngineRulesMinMaxUpdateResponse parses an HTTP response from a PluginsDataValidationEngineRulesMinMaxUpdateWithResponse call func ParsePluginsDataValidationEngineRulesMinMaxUpdateResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesMinMaxUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200781,7 +307248,7 @@ func ParsePluginsDataValidationEngineRulesMinMaxUpdateResponse(rsp *http.Respons // ParsePluginsDataValidationEngineRulesRegexBulkDestroyResponse parses an HTTP response from a PluginsDataValidationEngineRulesRegexBulkDestroyWithResponse call func ParsePluginsDataValidationEngineRulesRegexBulkDestroyResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesRegexBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200797,7 +307264,7 @@ func ParsePluginsDataValidationEngineRulesRegexBulkDestroyResponse(rsp *http.Res // ParsePluginsDataValidationEngineRulesRegexListResponse parses an HTTP response from a PluginsDataValidationEngineRulesRegexListWithResponse call func ParsePluginsDataValidationEngineRulesRegexListResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesRegexListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200813,7 +307280,7 @@ func ParsePluginsDataValidationEngineRulesRegexListResponse(rsp *http.Response) // ParsePluginsDataValidationEngineRulesRegexBulkPartialUpdateResponse parses an HTTP response from a PluginsDataValidationEngineRulesRegexBulkPartialUpdateWithResponse call func ParsePluginsDataValidationEngineRulesRegexBulkPartialUpdateResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesRegexBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200829,7 +307296,7 @@ func ParsePluginsDataValidationEngineRulesRegexBulkPartialUpdateResponse(rsp *ht // ParsePluginsDataValidationEngineRulesRegexCreateResponse parses an HTTP response from a PluginsDataValidationEngineRulesRegexCreateWithResponse call func ParsePluginsDataValidationEngineRulesRegexCreateResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesRegexCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200845,7 +307312,7 @@ func ParsePluginsDataValidationEngineRulesRegexCreateResponse(rsp *http.Response // ParsePluginsDataValidationEngineRulesRegexBulkUpdateResponse parses an HTTP response from a PluginsDataValidationEngineRulesRegexBulkUpdateWithResponse call func ParsePluginsDataValidationEngineRulesRegexBulkUpdateResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesRegexBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200861,7 +307328,7 @@ func ParsePluginsDataValidationEngineRulesRegexBulkUpdateResponse(rsp *http.Resp // ParsePluginsDataValidationEngineRulesRegexDestroyResponse parses an HTTP response from a PluginsDataValidationEngineRulesRegexDestroyWithResponse call func ParsePluginsDataValidationEngineRulesRegexDestroyResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesRegexDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200877,7 +307344,7 @@ func ParsePluginsDataValidationEngineRulesRegexDestroyResponse(rsp *http.Respons // ParsePluginsDataValidationEngineRulesRegexRetrieveResponse parses an HTTP response from a PluginsDataValidationEngineRulesRegexRetrieveWithResponse call func ParsePluginsDataValidationEngineRulesRegexRetrieveResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesRegexRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200893,7 +307360,7 @@ func ParsePluginsDataValidationEngineRulesRegexRetrieveResponse(rsp *http.Respon // ParsePluginsDataValidationEngineRulesRegexPartialUpdateResponse parses an HTTP response from a PluginsDataValidationEngineRulesRegexPartialUpdateWithResponse call func ParsePluginsDataValidationEngineRulesRegexPartialUpdateResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesRegexPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200909,7 +307376,7 @@ func ParsePluginsDataValidationEngineRulesRegexPartialUpdateResponse(rsp *http.R // ParsePluginsDataValidationEngineRulesRegexUpdateResponse parses an HTTP response from a PluginsDataValidationEngineRulesRegexUpdateWithResponse call func ParsePluginsDataValidationEngineRulesRegexUpdateResponse(rsp *http.Response) (*PluginsDataValidationEngineRulesRegexUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200925,7 +307392,7 @@ func ParsePluginsDataValidationEngineRulesRegexUpdateResponse(rsp *http.Response // ParsePluginsDeviceOnboardingOnboardingListResponse parses an HTTP response from a PluginsDeviceOnboardingOnboardingListWithResponse call func ParsePluginsDeviceOnboardingOnboardingListResponse(rsp *http.Response) (*PluginsDeviceOnboardingOnboardingListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200941,7 +307408,7 @@ func ParsePluginsDeviceOnboardingOnboardingListResponse(rsp *http.Response) (*Pl // ParsePluginsDeviceOnboardingOnboardingCreateResponse parses an HTTP response from a PluginsDeviceOnboardingOnboardingCreateWithResponse call func ParsePluginsDeviceOnboardingOnboardingCreateResponse(rsp *http.Response) (*PluginsDeviceOnboardingOnboardingCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200957,7 +307424,7 @@ func ParsePluginsDeviceOnboardingOnboardingCreateResponse(rsp *http.Response) (* // ParsePluginsDeviceOnboardingOnboardingDestroyResponse parses an HTTP response from a PluginsDeviceOnboardingOnboardingDestroyWithResponse call func ParsePluginsDeviceOnboardingOnboardingDestroyResponse(rsp *http.Response) (*PluginsDeviceOnboardingOnboardingDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200973,7 +307440,7 @@ func ParsePluginsDeviceOnboardingOnboardingDestroyResponse(rsp *http.Response) ( // ParsePluginsDeviceOnboardingOnboardingRetrieveResponse parses an HTTP response from a PluginsDeviceOnboardingOnboardingRetrieveWithResponse call func ParsePluginsDeviceOnboardingOnboardingRetrieveResponse(rsp *http.Response) (*PluginsDeviceOnboardingOnboardingRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -200987,9 +307454,2441 @@ func ParsePluginsDeviceOnboardingOnboardingRetrieveResponse(rsp *http.Response) return response, nil } +// ParsePluginsFirewallAddressObjectGroupBulkDestroyResponse parses an HTTP response from a PluginsFirewallAddressObjectGroupBulkDestroyWithResponse call +func ParsePluginsFirewallAddressObjectGroupBulkDestroyResponse(rsp *http.Response) (*PluginsFirewallAddressObjectGroupBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectGroupBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallAddressObjectGroupListResponse parses an HTTP response from a PluginsFirewallAddressObjectGroupListWithResponse call +func ParsePluginsFirewallAddressObjectGroupListResponse(rsp *http.Response) (*PluginsFirewallAddressObjectGroupListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectGroupListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallAddressObjectGroupBulkPartialUpdateResponse parses an HTTP response from a PluginsFirewallAddressObjectGroupBulkPartialUpdateWithResponse call +func ParsePluginsFirewallAddressObjectGroupBulkPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallAddressObjectGroupBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectGroupBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallAddressObjectGroupCreateResponse parses an HTTP response from a PluginsFirewallAddressObjectGroupCreateWithResponse call +func ParsePluginsFirewallAddressObjectGroupCreateResponse(rsp *http.Response) (*PluginsFirewallAddressObjectGroupCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectGroupCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallAddressObjectGroupBulkUpdateResponse parses an HTTP response from a PluginsFirewallAddressObjectGroupBulkUpdateWithResponse call +func ParsePluginsFirewallAddressObjectGroupBulkUpdateResponse(rsp *http.Response) (*PluginsFirewallAddressObjectGroupBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectGroupBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallAddressObjectGroupDestroyResponse parses an HTTP response from a PluginsFirewallAddressObjectGroupDestroyWithResponse call +func ParsePluginsFirewallAddressObjectGroupDestroyResponse(rsp *http.Response) (*PluginsFirewallAddressObjectGroupDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectGroupDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallAddressObjectGroupRetrieveResponse parses an HTTP response from a PluginsFirewallAddressObjectGroupRetrieveWithResponse call +func ParsePluginsFirewallAddressObjectGroupRetrieveResponse(rsp *http.Response) (*PluginsFirewallAddressObjectGroupRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectGroupRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallAddressObjectGroupPartialUpdateResponse parses an HTTP response from a PluginsFirewallAddressObjectGroupPartialUpdateWithResponse call +func ParsePluginsFirewallAddressObjectGroupPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallAddressObjectGroupPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectGroupPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallAddressObjectGroupUpdateResponse parses an HTTP response from a PluginsFirewallAddressObjectGroupUpdateWithResponse call +func ParsePluginsFirewallAddressObjectGroupUpdateResponse(rsp *http.Response) (*PluginsFirewallAddressObjectGroupUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectGroupUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallAddressObjectGroupNotesListResponse parses an HTTP response from a PluginsFirewallAddressObjectGroupNotesListWithResponse call +func ParsePluginsFirewallAddressObjectGroupNotesListResponse(rsp *http.Response) (*PluginsFirewallAddressObjectGroupNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectGroupNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallAddressObjectGroupNotesCreateResponse parses an HTTP response from a PluginsFirewallAddressObjectGroupNotesCreateWithResponse call +func ParsePluginsFirewallAddressObjectGroupNotesCreateResponse(rsp *http.Response) (*PluginsFirewallAddressObjectGroupNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectGroupNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallAddressObjectBulkDestroyResponse parses an HTTP response from a PluginsFirewallAddressObjectBulkDestroyWithResponse call +func ParsePluginsFirewallAddressObjectBulkDestroyResponse(rsp *http.Response) (*PluginsFirewallAddressObjectBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallAddressObjectListResponse parses an HTTP response from a PluginsFirewallAddressObjectListWithResponse call +func ParsePluginsFirewallAddressObjectListResponse(rsp *http.Response) (*PluginsFirewallAddressObjectListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallAddressObjectBulkPartialUpdateResponse parses an HTTP response from a PluginsFirewallAddressObjectBulkPartialUpdateWithResponse call +func ParsePluginsFirewallAddressObjectBulkPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallAddressObjectBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallAddressObjectCreateResponse parses an HTTP response from a PluginsFirewallAddressObjectCreateWithResponse call +func ParsePluginsFirewallAddressObjectCreateResponse(rsp *http.Response) (*PluginsFirewallAddressObjectCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallAddressObjectBulkUpdateResponse parses an HTTP response from a PluginsFirewallAddressObjectBulkUpdateWithResponse call +func ParsePluginsFirewallAddressObjectBulkUpdateResponse(rsp *http.Response) (*PluginsFirewallAddressObjectBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallAddressObjectDestroyResponse parses an HTTP response from a PluginsFirewallAddressObjectDestroyWithResponse call +func ParsePluginsFirewallAddressObjectDestroyResponse(rsp *http.Response) (*PluginsFirewallAddressObjectDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallAddressObjectRetrieveResponse parses an HTTP response from a PluginsFirewallAddressObjectRetrieveWithResponse call +func ParsePluginsFirewallAddressObjectRetrieveResponse(rsp *http.Response) (*PluginsFirewallAddressObjectRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallAddressObjectPartialUpdateResponse parses an HTTP response from a PluginsFirewallAddressObjectPartialUpdateWithResponse call +func ParsePluginsFirewallAddressObjectPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallAddressObjectPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallAddressObjectUpdateResponse parses an HTTP response from a PluginsFirewallAddressObjectUpdateWithResponse call +func ParsePluginsFirewallAddressObjectUpdateResponse(rsp *http.Response) (*PluginsFirewallAddressObjectUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallAddressObjectNotesListResponse parses an HTTP response from a PluginsFirewallAddressObjectNotesListWithResponse call +func ParsePluginsFirewallAddressObjectNotesListResponse(rsp *http.Response) (*PluginsFirewallAddressObjectNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallAddressObjectNotesCreateResponse parses an HTTP response from a PluginsFirewallAddressObjectNotesCreateWithResponse call +func ParsePluginsFirewallAddressObjectNotesCreateResponse(rsp *http.Response) (*PluginsFirewallAddressObjectNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallAddressObjectNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallCapircaPolicyBulkDestroyResponse parses an HTTP response from a PluginsFirewallCapircaPolicyBulkDestroyWithResponse call +func ParsePluginsFirewallCapircaPolicyBulkDestroyResponse(rsp *http.Response) (*PluginsFirewallCapircaPolicyBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallCapircaPolicyBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallCapircaPolicyListResponse parses an HTTP response from a PluginsFirewallCapircaPolicyListWithResponse call +func ParsePluginsFirewallCapircaPolicyListResponse(rsp *http.Response) (*PluginsFirewallCapircaPolicyListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallCapircaPolicyListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallCapircaPolicyBulkPartialUpdateResponse parses an HTTP response from a PluginsFirewallCapircaPolicyBulkPartialUpdateWithResponse call +func ParsePluginsFirewallCapircaPolicyBulkPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallCapircaPolicyBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallCapircaPolicyBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallCapircaPolicyCreateResponse parses an HTTP response from a PluginsFirewallCapircaPolicyCreateWithResponse call +func ParsePluginsFirewallCapircaPolicyCreateResponse(rsp *http.Response) (*PluginsFirewallCapircaPolicyCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallCapircaPolicyCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallCapircaPolicyBulkUpdateResponse parses an HTTP response from a PluginsFirewallCapircaPolicyBulkUpdateWithResponse call +func ParsePluginsFirewallCapircaPolicyBulkUpdateResponse(rsp *http.Response) (*PluginsFirewallCapircaPolicyBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallCapircaPolicyBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallCapircaPolicyDestroyResponse parses an HTTP response from a PluginsFirewallCapircaPolicyDestroyWithResponse call +func ParsePluginsFirewallCapircaPolicyDestroyResponse(rsp *http.Response) (*PluginsFirewallCapircaPolicyDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallCapircaPolicyDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallCapircaPolicyRetrieveResponse parses an HTTP response from a PluginsFirewallCapircaPolicyRetrieveWithResponse call +func ParsePluginsFirewallCapircaPolicyRetrieveResponse(rsp *http.Response) (*PluginsFirewallCapircaPolicyRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallCapircaPolicyRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallCapircaPolicyPartialUpdateResponse parses an HTTP response from a PluginsFirewallCapircaPolicyPartialUpdateWithResponse call +func ParsePluginsFirewallCapircaPolicyPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallCapircaPolicyPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallCapircaPolicyPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallCapircaPolicyUpdateResponse parses an HTTP response from a PluginsFirewallCapircaPolicyUpdateWithResponse call +func ParsePluginsFirewallCapircaPolicyUpdateResponse(rsp *http.Response) (*PluginsFirewallCapircaPolicyUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallCapircaPolicyUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallFqdnBulkDestroyResponse parses an HTTP response from a PluginsFirewallFqdnBulkDestroyWithResponse call +func ParsePluginsFirewallFqdnBulkDestroyResponse(rsp *http.Response) (*PluginsFirewallFqdnBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallFqdnBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallFqdnListResponse parses an HTTP response from a PluginsFirewallFqdnListWithResponse call +func ParsePluginsFirewallFqdnListResponse(rsp *http.Response) (*PluginsFirewallFqdnListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallFqdnListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallFqdnBulkPartialUpdateResponse parses an HTTP response from a PluginsFirewallFqdnBulkPartialUpdateWithResponse call +func ParsePluginsFirewallFqdnBulkPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallFqdnBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallFqdnBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallFqdnCreateResponse parses an HTTP response from a PluginsFirewallFqdnCreateWithResponse call +func ParsePluginsFirewallFqdnCreateResponse(rsp *http.Response) (*PluginsFirewallFqdnCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallFqdnCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallFqdnBulkUpdateResponse parses an HTTP response from a PluginsFirewallFqdnBulkUpdateWithResponse call +func ParsePluginsFirewallFqdnBulkUpdateResponse(rsp *http.Response) (*PluginsFirewallFqdnBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallFqdnBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallFqdnDestroyResponse parses an HTTP response from a PluginsFirewallFqdnDestroyWithResponse call +func ParsePluginsFirewallFqdnDestroyResponse(rsp *http.Response) (*PluginsFirewallFqdnDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallFqdnDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallFqdnRetrieveResponse parses an HTTP response from a PluginsFirewallFqdnRetrieveWithResponse call +func ParsePluginsFirewallFqdnRetrieveResponse(rsp *http.Response) (*PluginsFirewallFqdnRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallFqdnRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallFqdnPartialUpdateResponse parses an HTTP response from a PluginsFirewallFqdnPartialUpdateWithResponse call +func ParsePluginsFirewallFqdnPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallFqdnPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallFqdnPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallFqdnUpdateResponse parses an HTTP response from a PluginsFirewallFqdnUpdateWithResponse call +func ParsePluginsFirewallFqdnUpdateResponse(rsp *http.Response) (*PluginsFirewallFqdnUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallFqdnUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallFqdnNotesListResponse parses an HTTP response from a PluginsFirewallFqdnNotesListWithResponse call +func ParsePluginsFirewallFqdnNotesListResponse(rsp *http.Response) (*PluginsFirewallFqdnNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallFqdnNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallFqdnNotesCreateResponse parses an HTTP response from a PluginsFirewallFqdnNotesCreateWithResponse call +func ParsePluginsFirewallFqdnNotesCreateResponse(rsp *http.Response) (*PluginsFirewallFqdnNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallFqdnNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallIpRangeBulkDestroyResponse parses an HTTP response from a PluginsFirewallIpRangeBulkDestroyWithResponse call +func ParsePluginsFirewallIpRangeBulkDestroyResponse(rsp *http.Response) (*PluginsFirewallIpRangeBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallIpRangeBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallIpRangeListResponse parses an HTTP response from a PluginsFirewallIpRangeListWithResponse call +func ParsePluginsFirewallIpRangeListResponse(rsp *http.Response) (*PluginsFirewallIpRangeListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallIpRangeListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallIpRangeBulkPartialUpdateResponse parses an HTTP response from a PluginsFirewallIpRangeBulkPartialUpdateWithResponse call +func ParsePluginsFirewallIpRangeBulkPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallIpRangeBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallIpRangeBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallIpRangeCreateResponse parses an HTTP response from a PluginsFirewallIpRangeCreateWithResponse call +func ParsePluginsFirewallIpRangeCreateResponse(rsp *http.Response) (*PluginsFirewallIpRangeCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallIpRangeCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallIpRangeBulkUpdateResponse parses an HTTP response from a PluginsFirewallIpRangeBulkUpdateWithResponse call +func ParsePluginsFirewallIpRangeBulkUpdateResponse(rsp *http.Response) (*PluginsFirewallIpRangeBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallIpRangeBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallIpRangeDestroyResponse parses an HTTP response from a PluginsFirewallIpRangeDestroyWithResponse call +func ParsePluginsFirewallIpRangeDestroyResponse(rsp *http.Response) (*PluginsFirewallIpRangeDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallIpRangeDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallIpRangeRetrieveResponse parses an HTTP response from a PluginsFirewallIpRangeRetrieveWithResponse call +func ParsePluginsFirewallIpRangeRetrieveResponse(rsp *http.Response) (*PluginsFirewallIpRangeRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallIpRangeRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallIpRangePartialUpdateResponse parses an HTTP response from a PluginsFirewallIpRangePartialUpdateWithResponse call +func ParsePluginsFirewallIpRangePartialUpdateResponse(rsp *http.Response) (*PluginsFirewallIpRangePartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallIpRangePartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallIpRangeUpdateResponse parses an HTTP response from a PluginsFirewallIpRangeUpdateWithResponse call +func ParsePluginsFirewallIpRangeUpdateResponse(rsp *http.Response) (*PluginsFirewallIpRangeUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallIpRangeUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallIpRangeNotesListResponse parses an HTTP response from a PluginsFirewallIpRangeNotesListWithResponse call +func ParsePluginsFirewallIpRangeNotesListResponse(rsp *http.Response) (*PluginsFirewallIpRangeNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallIpRangeNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallIpRangeNotesCreateResponse parses an HTTP response from a PluginsFirewallIpRangeNotesCreateWithResponse call +func ParsePluginsFirewallIpRangeNotesCreateResponse(rsp *http.Response) (*PluginsFirewallIpRangeNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallIpRangeNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyRuleBulkDestroyResponse parses an HTTP response from a PluginsFirewallNatPolicyRuleBulkDestroyWithResponse call +func ParsePluginsFirewallNatPolicyRuleBulkDestroyResponse(rsp *http.Response) (*PluginsFirewallNatPolicyRuleBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyRuleBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyRuleListResponse parses an HTTP response from a PluginsFirewallNatPolicyRuleListWithResponse call +func ParsePluginsFirewallNatPolicyRuleListResponse(rsp *http.Response) (*PluginsFirewallNatPolicyRuleListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyRuleListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyRuleBulkPartialUpdateResponse parses an HTTP response from a PluginsFirewallNatPolicyRuleBulkPartialUpdateWithResponse call +func ParsePluginsFirewallNatPolicyRuleBulkPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallNatPolicyRuleBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyRuleBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyRuleCreateResponse parses an HTTP response from a PluginsFirewallNatPolicyRuleCreateWithResponse call +func ParsePluginsFirewallNatPolicyRuleCreateResponse(rsp *http.Response) (*PluginsFirewallNatPolicyRuleCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyRuleCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyRuleBulkUpdateResponse parses an HTTP response from a PluginsFirewallNatPolicyRuleBulkUpdateWithResponse call +func ParsePluginsFirewallNatPolicyRuleBulkUpdateResponse(rsp *http.Response) (*PluginsFirewallNatPolicyRuleBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyRuleBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyRuleDestroyResponse parses an HTTP response from a PluginsFirewallNatPolicyRuleDestroyWithResponse call +func ParsePluginsFirewallNatPolicyRuleDestroyResponse(rsp *http.Response) (*PluginsFirewallNatPolicyRuleDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyRuleDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyRuleRetrieveResponse parses an HTTP response from a PluginsFirewallNatPolicyRuleRetrieveWithResponse call +func ParsePluginsFirewallNatPolicyRuleRetrieveResponse(rsp *http.Response) (*PluginsFirewallNatPolicyRuleRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyRuleRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyRulePartialUpdateResponse parses an HTTP response from a PluginsFirewallNatPolicyRulePartialUpdateWithResponse call +func ParsePluginsFirewallNatPolicyRulePartialUpdateResponse(rsp *http.Response) (*PluginsFirewallNatPolicyRulePartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyRulePartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyRuleUpdateResponse parses an HTTP response from a PluginsFirewallNatPolicyRuleUpdateWithResponse call +func ParsePluginsFirewallNatPolicyRuleUpdateResponse(rsp *http.Response) (*PluginsFirewallNatPolicyRuleUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyRuleUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyRuleNotesListResponse parses an HTTP response from a PluginsFirewallNatPolicyRuleNotesListWithResponse call +func ParsePluginsFirewallNatPolicyRuleNotesListResponse(rsp *http.Response) (*PluginsFirewallNatPolicyRuleNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyRuleNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyRuleNotesCreateResponse parses an HTTP response from a PluginsFirewallNatPolicyRuleNotesCreateWithResponse call +func ParsePluginsFirewallNatPolicyRuleNotesCreateResponse(rsp *http.Response) (*PluginsFirewallNatPolicyRuleNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyRuleNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyBulkDestroyResponse parses an HTTP response from a PluginsFirewallNatPolicyBulkDestroyWithResponse call +func ParsePluginsFirewallNatPolicyBulkDestroyResponse(rsp *http.Response) (*PluginsFirewallNatPolicyBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyListResponse parses an HTTP response from a PluginsFirewallNatPolicyListWithResponse call +func ParsePluginsFirewallNatPolicyListResponse(rsp *http.Response) (*PluginsFirewallNatPolicyListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyBulkPartialUpdateResponse parses an HTTP response from a PluginsFirewallNatPolicyBulkPartialUpdateWithResponse call +func ParsePluginsFirewallNatPolicyBulkPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallNatPolicyBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyCreateResponse parses an HTTP response from a PluginsFirewallNatPolicyCreateWithResponse call +func ParsePluginsFirewallNatPolicyCreateResponse(rsp *http.Response) (*PluginsFirewallNatPolicyCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyBulkUpdateResponse parses an HTTP response from a PluginsFirewallNatPolicyBulkUpdateWithResponse call +func ParsePluginsFirewallNatPolicyBulkUpdateResponse(rsp *http.Response) (*PluginsFirewallNatPolicyBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyDestroyResponse parses an HTTP response from a PluginsFirewallNatPolicyDestroyWithResponse call +func ParsePluginsFirewallNatPolicyDestroyResponse(rsp *http.Response) (*PluginsFirewallNatPolicyDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyRetrieveResponse parses an HTTP response from a PluginsFirewallNatPolicyRetrieveWithResponse call +func ParsePluginsFirewallNatPolicyRetrieveResponse(rsp *http.Response) (*PluginsFirewallNatPolicyRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyPartialUpdateResponse parses an HTTP response from a PluginsFirewallNatPolicyPartialUpdateWithResponse call +func ParsePluginsFirewallNatPolicyPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallNatPolicyPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyUpdateResponse parses an HTTP response from a PluginsFirewallNatPolicyUpdateWithResponse call +func ParsePluginsFirewallNatPolicyUpdateResponse(rsp *http.Response) (*PluginsFirewallNatPolicyUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyNotesListResponse parses an HTTP response from a PluginsFirewallNatPolicyNotesListWithResponse call +func ParsePluginsFirewallNatPolicyNotesListResponse(rsp *http.Response) (*PluginsFirewallNatPolicyNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallNatPolicyNotesCreateResponse parses an HTTP response from a PluginsFirewallNatPolicyNotesCreateWithResponse call +func ParsePluginsFirewallNatPolicyNotesCreateResponse(rsp *http.Response) (*PluginsFirewallNatPolicyNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallNatPolicyNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyRuleBulkDestroyResponse parses an HTTP response from a PluginsFirewallPolicyRuleBulkDestroyWithResponse call +func ParsePluginsFirewallPolicyRuleBulkDestroyResponse(rsp *http.Response) (*PluginsFirewallPolicyRuleBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyRuleBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyRuleListResponse parses an HTTP response from a PluginsFirewallPolicyRuleListWithResponse call +func ParsePluginsFirewallPolicyRuleListResponse(rsp *http.Response) (*PluginsFirewallPolicyRuleListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyRuleListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyRuleBulkPartialUpdateResponse parses an HTTP response from a PluginsFirewallPolicyRuleBulkPartialUpdateWithResponse call +func ParsePluginsFirewallPolicyRuleBulkPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallPolicyRuleBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyRuleBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyRuleCreateResponse parses an HTTP response from a PluginsFirewallPolicyRuleCreateWithResponse call +func ParsePluginsFirewallPolicyRuleCreateResponse(rsp *http.Response) (*PluginsFirewallPolicyRuleCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyRuleCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyRuleBulkUpdateResponse parses an HTTP response from a PluginsFirewallPolicyRuleBulkUpdateWithResponse call +func ParsePluginsFirewallPolicyRuleBulkUpdateResponse(rsp *http.Response) (*PluginsFirewallPolicyRuleBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyRuleBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyRuleDestroyResponse parses an HTTP response from a PluginsFirewallPolicyRuleDestroyWithResponse call +func ParsePluginsFirewallPolicyRuleDestroyResponse(rsp *http.Response) (*PluginsFirewallPolicyRuleDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyRuleDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyRuleRetrieveResponse parses an HTTP response from a PluginsFirewallPolicyRuleRetrieveWithResponse call +func ParsePluginsFirewallPolicyRuleRetrieveResponse(rsp *http.Response) (*PluginsFirewallPolicyRuleRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyRuleRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyRulePartialUpdateResponse parses an HTTP response from a PluginsFirewallPolicyRulePartialUpdateWithResponse call +func ParsePluginsFirewallPolicyRulePartialUpdateResponse(rsp *http.Response) (*PluginsFirewallPolicyRulePartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyRulePartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyRuleUpdateResponse parses an HTTP response from a PluginsFirewallPolicyRuleUpdateWithResponse call +func ParsePluginsFirewallPolicyRuleUpdateResponse(rsp *http.Response) (*PluginsFirewallPolicyRuleUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyRuleUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyRuleNotesListResponse parses an HTTP response from a PluginsFirewallPolicyRuleNotesListWithResponse call +func ParsePluginsFirewallPolicyRuleNotesListResponse(rsp *http.Response) (*PluginsFirewallPolicyRuleNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyRuleNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyRuleNotesCreateResponse parses an HTTP response from a PluginsFirewallPolicyRuleNotesCreateWithResponse call +func ParsePluginsFirewallPolicyRuleNotesCreateResponse(rsp *http.Response) (*PluginsFirewallPolicyRuleNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyRuleNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyBulkDestroyResponse parses an HTTP response from a PluginsFirewallPolicyBulkDestroyWithResponse call +func ParsePluginsFirewallPolicyBulkDestroyResponse(rsp *http.Response) (*PluginsFirewallPolicyBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyListResponse parses an HTTP response from a PluginsFirewallPolicyListWithResponse call +func ParsePluginsFirewallPolicyListResponse(rsp *http.Response) (*PluginsFirewallPolicyListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyBulkPartialUpdateResponse parses an HTTP response from a PluginsFirewallPolicyBulkPartialUpdateWithResponse call +func ParsePluginsFirewallPolicyBulkPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallPolicyBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyCreateResponse parses an HTTP response from a PluginsFirewallPolicyCreateWithResponse call +func ParsePluginsFirewallPolicyCreateResponse(rsp *http.Response) (*PluginsFirewallPolicyCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyBulkUpdateResponse parses an HTTP response from a PluginsFirewallPolicyBulkUpdateWithResponse call +func ParsePluginsFirewallPolicyBulkUpdateResponse(rsp *http.Response) (*PluginsFirewallPolicyBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyDestroyResponse parses an HTTP response from a PluginsFirewallPolicyDestroyWithResponse call +func ParsePluginsFirewallPolicyDestroyResponse(rsp *http.Response) (*PluginsFirewallPolicyDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyRetrieveResponse parses an HTTP response from a PluginsFirewallPolicyRetrieveWithResponse call +func ParsePluginsFirewallPolicyRetrieveResponse(rsp *http.Response) (*PluginsFirewallPolicyRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyPartialUpdateResponse parses an HTTP response from a PluginsFirewallPolicyPartialUpdateWithResponse call +func ParsePluginsFirewallPolicyPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallPolicyPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyUpdateResponse parses an HTTP response from a PluginsFirewallPolicyUpdateWithResponse call +func ParsePluginsFirewallPolicyUpdateResponse(rsp *http.Response) (*PluginsFirewallPolicyUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyNotesListResponse parses an HTTP response from a PluginsFirewallPolicyNotesListWithResponse call +func ParsePluginsFirewallPolicyNotesListResponse(rsp *http.Response) (*PluginsFirewallPolicyNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallPolicyNotesCreateResponse parses an HTTP response from a PluginsFirewallPolicyNotesCreateWithResponse call +func ParsePluginsFirewallPolicyNotesCreateResponse(rsp *http.Response) (*PluginsFirewallPolicyNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallPolicyNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectGroupBulkDestroyResponse parses an HTTP response from a PluginsFirewallServiceObjectGroupBulkDestroyWithResponse call +func ParsePluginsFirewallServiceObjectGroupBulkDestroyResponse(rsp *http.Response) (*PluginsFirewallServiceObjectGroupBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectGroupBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectGroupListResponse parses an HTTP response from a PluginsFirewallServiceObjectGroupListWithResponse call +func ParsePluginsFirewallServiceObjectGroupListResponse(rsp *http.Response) (*PluginsFirewallServiceObjectGroupListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectGroupListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectGroupBulkPartialUpdateResponse parses an HTTP response from a PluginsFirewallServiceObjectGroupBulkPartialUpdateWithResponse call +func ParsePluginsFirewallServiceObjectGroupBulkPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallServiceObjectGroupBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectGroupBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectGroupCreateResponse parses an HTTP response from a PluginsFirewallServiceObjectGroupCreateWithResponse call +func ParsePluginsFirewallServiceObjectGroupCreateResponse(rsp *http.Response) (*PluginsFirewallServiceObjectGroupCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectGroupCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectGroupBulkUpdateResponse parses an HTTP response from a PluginsFirewallServiceObjectGroupBulkUpdateWithResponse call +func ParsePluginsFirewallServiceObjectGroupBulkUpdateResponse(rsp *http.Response) (*PluginsFirewallServiceObjectGroupBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectGroupBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectGroupDestroyResponse parses an HTTP response from a PluginsFirewallServiceObjectGroupDestroyWithResponse call +func ParsePluginsFirewallServiceObjectGroupDestroyResponse(rsp *http.Response) (*PluginsFirewallServiceObjectGroupDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectGroupDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectGroupRetrieveResponse parses an HTTP response from a PluginsFirewallServiceObjectGroupRetrieveWithResponse call +func ParsePluginsFirewallServiceObjectGroupRetrieveResponse(rsp *http.Response) (*PluginsFirewallServiceObjectGroupRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectGroupRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectGroupPartialUpdateResponse parses an HTTP response from a PluginsFirewallServiceObjectGroupPartialUpdateWithResponse call +func ParsePluginsFirewallServiceObjectGroupPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallServiceObjectGroupPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectGroupPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectGroupUpdateResponse parses an HTTP response from a PluginsFirewallServiceObjectGroupUpdateWithResponse call +func ParsePluginsFirewallServiceObjectGroupUpdateResponse(rsp *http.Response) (*PluginsFirewallServiceObjectGroupUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectGroupUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectGroupNotesListResponse parses an HTTP response from a PluginsFirewallServiceObjectGroupNotesListWithResponse call +func ParsePluginsFirewallServiceObjectGroupNotesListResponse(rsp *http.Response) (*PluginsFirewallServiceObjectGroupNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectGroupNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectGroupNotesCreateResponse parses an HTTP response from a PluginsFirewallServiceObjectGroupNotesCreateWithResponse call +func ParsePluginsFirewallServiceObjectGroupNotesCreateResponse(rsp *http.Response) (*PluginsFirewallServiceObjectGroupNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectGroupNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectBulkDestroyResponse parses an HTTP response from a PluginsFirewallServiceObjectBulkDestroyWithResponse call +func ParsePluginsFirewallServiceObjectBulkDestroyResponse(rsp *http.Response) (*PluginsFirewallServiceObjectBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectListResponse parses an HTTP response from a PluginsFirewallServiceObjectListWithResponse call +func ParsePluginsFirewallServiceObjectListResponse(rsp *http.Response) (*PluginsFirewallServiceObjectListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectBulkPartialUpdateResponse parses an HTTP response from a PluginsFirewallServiceObjectBulkPartialUpdateWithResponse call +func ParsePluginsFirewallServiceObjectBulkPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallServiceObjectBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectCreateResponse parses an HTTP response from a PluginsFirewallServiceObjectCreateWithResponse call +func ParsePluginsFirewallServiceObjectCreateResponse(rsp *http.Response) (*PluginsFirewallServiceObjectCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectBulkUpdateResponse parses an HTTP response from a PluginsFirewallServiceObjectBulkUpdateWithResponse call +func ParsePluginsFirewallServiceObjectBulkUpdateResponse(rsp *http.Response) (*PluginsFirewallServiceObjectBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectDestroyResponse parses an HTTP response from a PluginsFirewallServiceObjectDestroyWithResponse call +func ParsePluginsFirewallServiceObjectDestroyResponse(rsp *http.Response) (*PluginsFirewallServiceObjectDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectRetrieveResponse parses an HTTP response from a PluginsFirewallServiceObjectRetrieveWithResponse call +func ParsePluginsFirewallServiceObjectRetrieveResponse(rsp *http.Response) (*PluginsFirewallServiceObjectRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectPartialUpdateResponse parses an HTTP response from a PluginsFirewallServiceObjectPartialUpdateWithResponse call +func ParsePluginsFirewallServiceObjectPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallServiceObjectPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectUpdateResponse parses an HTTP response from a PluginsFirewallServiceObjectUpdateWithResponse call +func ParsePluginsFirewallServiceObjectUpdateResponse(rsp *http.Response) (*PluginsFirewallServiceObjectUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectNotesListResponse parses an HTTP response from a PluginsFirewallServiceObjectNotesListWithResponse call +func ParsePluginsFirewallServiceObjectNotesListResponse(rsp *http.Response) (*PluginsFirewallServiceObjectNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallServiceObjectNotesCreateResponse parses an HTTP response from a PluginsFirewallServiceObjectNotesCreateWithResponse call +func ParsePluginsFirewallServiceObjectNotesCreateResponse(rsp *http.Response) (*PluginsFirewallServiceObjectNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallServiceObjectNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectGroupBulkDestroyResponse parses an HTTP response from a PluginsFirewallUserObjectGroupBulkDestroyWithResponse call +func ParsePluginsFirewallUserObjectGroupBulkDestroyResponse(rsp *http.Response) (*PluginsFirewallUserObjectGroupBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectGroupBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectGroupListResponse parses an HTTP response from a PluginsFirewallUserObjectGroupListWithResponse call +func ParsePluginsFirewallUserObjectGroupListResponse(rsp *http.Response) (*PluginsFirewallUserObjectGroupListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectGroupListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectGroupBulkPartialUpdateResponse parses an HTTP response from a PluginsFirewallUserObjectGroupBulkPartialUpdateWithResponse call +func ParsePluginsFirewallUserObjectGroupBulkPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallUserObjectGroupBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectGroupBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectGroupCreateResponse parses an HTTP response from a PluginsFirewallUserObjectGroupCreateWithResponse call +func ParsePluginsFirewallUserObjectGroupCreateResponse(rsp *http.Response) (*PluginsFirewallUserObjectGroupCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectGroupCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectGroupBulkUpdateResponse parses an HTTP response from a PluginsFirewallUserObjectGroupBulkUpdateWithResponse call +func ParsePluginsFirewallUserObjectGroupBulkUpdateResponse(rsp *http.Response) (*PluginsFirewallUserObjectGroupBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectGroupBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectGroupDestroyResponse parses an HTTP response from a PluginsFirewallUserObjectGroupDestroyWithResponse call +func ParsePluginsFirewallUserObjectGroupDestroyResponse(rsp *http.Response) (*PluginsFirewallUserObjectGroupDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectGroupDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectGroupRetrieveResponse parses an HTTP response from a PluginsFirewallUserObjectGroupRetrieveWithResponse call +func ParsePluginsFirewallUserObjectGroupRetrieveResponse(rsp *http.Response) (*PluginsFirewallUserObjectGroupRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectGroupRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectGroupPartialUpdateResponse parses an HTTP response from a PluginsFirewallUserObjectGroupPartialUpdateWithResponse call +func ParsePluginsFirewallUserObjectGroupPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallUserObjectGroupPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectGroupPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectGroupUpdateResponse parses an HTTP response from a PluginsFirewallUserObjectGroupUpdateWithResponse call +func ParsePluginsFirewallUserObjectGroupUpdateResponse(rsp *http.Response) (*PluginsFirewallUserObjectGroupUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectGroupUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectGroupNotesListResponse parses an HTTP response from a PluginsFirewallUserObjectGroupNotesListWithResponse call +func ParsePluginsFirewallUserObjectGroupNotesListResponse(rsp *http.Response) (*PluginsFirewallUserObjectGroupNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectGroupNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectGroupNotesCreateResponse parses an HTTP response from a PluginsFirewallUserObjectGroupNotesCreateWithResponse call +func ParsePluginsFirewallUserObjectGroupNotesCreateResponse(rsp *http.Response) (*PluginsFirewallUserObjectGroupNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectGroupNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectBulkDestroyResponse parses an HTTP response from a PluginsFirewallUserObjectBulkDestroyWithResponse call +func ParsePluginsFirewallUserObjectBulkDestroyResponse(rsp *http.Response) (*PluginsFirewallUserObjectBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectListResponse parses an HTTP response from a PluginsFirewallUserObjectListWithResponse call +func ParsePluginsFirewallUserObjectListResponse(rsp *http.Response) (*PluginsFirewallUserObjectListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectBulkPartialUpdateResponse parses an HTTP response from a PluginsFirewallUserObjectBulkPartialUpdateWithResponse call +func ParsePluginsFirewallUserObjectBulkPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallUserObjectBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectCreateResponse parses an HTTP response from a PluginsFirewallUserObjectCreateWithResponse call +func ParsePluginsFirewallUserObjectCreateResponse(rsp *http.Response) (*PluginsFirewallUserObjectCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectBulkUpdateResponse parses an HTTP response from a PluginsFirewallUserObjectBulkUpdateWithResponse call +func ParsePluginsFirewallUserObjectBulkUpdateResponse(rsp *http.Response) (*PluginsFirewallUserObjectBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectDestroyResponse parses an HTTP response from a PluginsFirewallUserObjectDestroyWithResponse call +func ParsePluginsFirewallUserObjectDestroyResponse(rsp *http.Response) (*PluginsFirewallUserObjectDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectRetrieveResponse parses an HTTP response from a PluginsFirewallUserObjectRetrieveWithResponse call +func ParsePluginsFirewallUserObjectRetrieveResponse(rsp *http.Response) (*PluginsFirewallUserObjectRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectPartialUpdateResponse parses an HTTP response from a PluginsFirewallUserObjectPartialUpdateWithResponse call +func ParsePluginsFirewallUserObjectPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallUserObjectPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectUpdateResponse parses an HTTP response from a PluginsFirewallUserObjectUpdateWithResponse call +func ParsePluginsFirewallUserObjectUpdateResponse(rsp *http.Response) (*PluginsFirewallUserObjectUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectNotesListResponse parses an HTTP response from a PluginsFirewallUserObjectNotesListWithResponse call +func ParsePluginsFirewallUserObjectNotesListResponse(rsp *http.Response) (*PluginsFirewallUserObjectNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallUserObjectNotesCreateResponse parses an HTTP response from a PluginsFirewallUserObjectNotesCreateWithResponse call +func ParsePluginsFirewallUserObjectNotesCreateResponse(rsp *http.Response) (*PluginsFirewallUserObjectNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallUserObjectNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallZoneBulkDestroyResponse parses an HTTP response from a PluginsFirewallZoneBulkDestroyWithResponse call +func ParsePluginsFirewallZoneBulkDestroyResponse(rsp *http.Response) (*PluginsFirewallZoneBulkDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallZoneBulkDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallZoneListResponse parses an HTTP response from a PluginsFirewallZoneListWithResponse call +func ParsePluginsFirewallZoneListResponse(rsp *http.Response) (*PluginsFirewallZoneListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallZoneListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallZoneBulkPartialUpdateResponse parses an HTTP response from a PluginsFirewallZoneBulkPartialUpdateWithResponse call +func ParsePluginsFirewallZoneBulkPartialUpdateResponse(rsp *http.Response) (*PluginsFirewallZoneBulkPartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallZoneBulkPartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallZoneCreateResponse parses an HTTP response from a PluginsFirewallZoneCreateWithResponse call +func ParsePluginsFirewallZoneCreateResponse(rsp *http.Response) (*PluginsFirewallZoneCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallZoneCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallZoneBulkUpdateResponse parses an HTTP response from a PluginsFirewallZoneBulkUpdateWithResponse call +func ParsePluginsFirewallZoneBulkUpdateResponse(rsp *http.Response) (*PluginsFirewallZoneBulkUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallZoneBulkUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallZoneDestroyResponse parses an HTTP response from a PluginsFirewallZoneDestroyWithResponse call +func ParsePluginsFirewallZoneDestroyResponse(rsp *http.Response) (*PluginsFirewallZoneDestroyResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallZoneDestroyResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallZoneRetrieveResponse parses an HTTP response from a PluginsFirewallZoneRetrieveWithResponse call +func ParsePluginsFirewallZoneRetrieveResponse(rsp *http.Response) (*PluginsFirewallZoneRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallZoneRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallZonePartialUpdateResponse parses an HTTP response from a PluginsFirewallZonePartialUpdateWithResponse call +func ParsePluginsFirewallZonePartialUpdateResponse(rsp *http.Response) (*PluginsFirewallZonePartialUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallZonePartialUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallZoneUpdateResponse parses an HTTP response from a PluginsFirewallZoneUpdateWithResponse call +func ParsePluginsFirewallZoneUpdateResponse(rsp *http.Response) (*PluginsFirewallZoneUpdateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallZoneUpdateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallZoneNotesListResponse parses an HTTP response from a PluginsFirewallZoneNotesListWithResponse call +func ParsePluginsFirewallZoneNotesListResponse(rsp *http.Response) (*PluginsFirewallZoneNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallZoneNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePluginsFirewallZoneNotesCreateResponse parses an HTTP response from a PluginsFirewallZoneNotesCreateWithResponse call +func ParsePluginsFirewallZoneNotesCreateResponse(rsp *http.Response) (*PluginsFirewallZoneNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsFirewallZoneNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParsePluginsGoldenConfigComplianceFeatureBulkDestroyResponse parses an HTTP response from a PluginsGoldenConfigComplianceFeatureBulkDestroyWithResponse call func ParsePluginsGoldenConfigComplianceFeatureBulkDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceFeatureBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201005,7 +309904,7 @@ func ParsePluginsGoldenConfigComplianceFeatureBulkDestroyResponse(rsp *http.Resp // ParsePluginsGoldenConfigComplianceFeatureListResponse parses an HTTP response from a PluginsGoldenConfigComplianceFeatureListWithResponse call func ParsePluginsGoldenConfigComplianceFeatureListResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceFeatureListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201021,7 +309920,7 @@ func ParsePluginsGoldenConfigComplianceFeatureListResponse(rsp *http.Response) ( // ParsePluginsGoldenConfigComplianceFeatureBulkPartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigComplianceFeatureBulkPartialUpdateWithResponse call func ParsePluginsGoldenConfigComplianceFeatureBulkPartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceFeatureBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201037,7 +309936,7 @@ func ParsePluginsGoldenConfigComplianceFeatureBulkPartialUpdateResponse(rsp *htt // ParsePluginsGoldenConfigComplianceFeatureCreateResponse parses an HTTP response from a PluginsGoldenConfigComplianceFeatureCreateWithResponse call func ParsePluginsGoldenConfigComplianceFeatureCreateResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceFeatureCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201053,7 +309952,7 @@ func ParsePluginsGoldenConfigComplianceFeatureCreateResponse(rsp *http.Response) // ParsePluginsGoldenConfigComplianceFeatureBulkUpdateResponse parses an HTTP response from a PluginsGoldenConfigComplianceFeatureBulkUpdateWithResponse call func ParsePluginsGoldenConfigComplianceFeatureBulkUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceFeatureBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201069,7 +309968,7 @@ func ParsePluginsGoldenConfigComplianceFeatureBulkUpdateResponse(rsp *http.Respo // ParsePluginsGoldenConfigComplianceFeatureDestroyResponse parses an HTTP response from a PluginsGoldenConfigComplianceFeatureDestroyWithResponse call func ParsePluginsGoldenConfigComplianceFeatureDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceFeatureDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201085,7 +309984,7 @@ func ParsePluginsGoldenConfigComplianceFeatureDestroyResponse(rsp *http.Response // ParsePluginsGoldenConfigComplianceFeatureRetrieveResponse parses an HTTP response from a PluginsGoldenConfigComplianceFeatureRetrieveWithResponse call func ParsePluginsGoldenConfigComplianceFeatureRetrieveResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceFeatureRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201101,7 +310000,7 @@ func ParsePluginsGoldenConfigComplianceFeatureRetrieveResponse(rsp *http.Respons // ParsePluginsGoldenConfigComplianceFeaturePartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigComplianceFeaturePartialUpdateWithResponse call func ParsePluginsGoldenConfigComplianceFeaturePartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceFeaturePartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201117,7 +310016,7 @@ func ParsePluginsGoldenConfigComplianceFeaturePartialUpdateResponse(rsp *http.Re // ParsePluginsGoldenConfigComplianceFeatureUpdateResponse parses an HTTP response from a PluginsGoldenConfigComplianceFeatureUpdateWithResponse call func ParsePluginsGoldenConfigComplianceFeatureUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceFeatureUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201133,7 +310032,7 @@ func ParsePluginsGoldenConfigComplianceFeatureUpdateResponse(rsp *http.Response) // ParsePluginsGoldenConfigComplianceRuleBulkDestroyResponse parses an HTTP response from a PluginsGoldenConfigComplianceRuleBulkDestroyWithResponse call func ParsePluginsGoldenConfigComplianceRuleBulkDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceRuleBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201149,7 +310048,7 @@ func ParsePluginsGoldenConfigComplianceRuleBulkDestroyResponse(rsp *http.Respons // ParsePluginsGoldenConfigComplianceRuleListResponse parses an HTTP response from a PluginsGoldenConfigComplianceRuleListWithResponse call func ParsePluginsGoldenConfigComplianceRuleListResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceRuleListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201165,7 +310064,7 @@ func ParsePluginsGoldenConfigComplianceRuleListResponse(rsp *http.Response) (*Pl // ParsePluginsGoldenConfigComplianceRuleBulkPartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigComplianceRuleBulkPartialUpdateWithResponse call func ParsePluginsGoldenConfigComplianceRuleBulkPartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceRuleBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201181,7 +310080,7 @@ func ParsePluginsGoldenConfigComplianceRuleBulkPartialUpdateResponse(rsp *http.R // ParsePluginsGoldenConfigComplianceRuleCreateResponse parses an HTTP response from a PluginsGoldenConfigComplianceRuleCreateWithResponse call func ParsePluginsGoldenConfigComplianceRuleCreateResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceRuleCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201197,7 +310096,7 @@ func ParsePluginsGoldenConfigComplianceRuleCreateResponse(rsp *http.Response) (* // ParsePluginsGoldenConfigComplianceRuleBulkUpdateResponse parses an HTTP response from a PluginsGoldenConfigComplianceRuleBulkUpdateWithResponse call func ParsePluginsGoldenConfigComplianceRuleBulkUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceRuleBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201213,7 +310112,7 @@ func ParsePluginsGoldenConfigComplianceRuleBulkUpdateResponse(rsp *http.Response // ParsePluginsGoldenConfigComplianceRuleDestroyResponse parses an HTTP response from a PluginsGoldenConfigComplianceRuleDestroyWithResponse call func ParsePluginsGoldenConfigComplianceRuleDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceRuleDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201229,7 +310128,7 @@ func ParsePluginsGoldenConfigComplianceRuleDestroyResponse(rsp *http.Response) ( // ParsePluginsGoldenConfigComplianceRuleRetrieveResponse parses an HTTP response from a PluginsGoldenConfigComplianceRuleRetrieveWithResponse call func ParsePluginsGoldenConfigComplianceRuleRetrieveResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceRuleRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201245,7 +310144,7 @@ func ParsePluginsGoldenConfigComplianceRuleRetrieveResponse(rsp *http.Response) // ParsePluginsGoldenConfigComplianceRulePartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigComplianceRulePartialUpdateWithResponse call func ParsePluginsGoldenConfigComplianceRulePartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceRulePartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201261,7 +310160,7 @@ func ParsePluginsGoldenConfigComplianceRulePartialUpdateResponse(rsp *http.Respo // ParsePluginsGoldenConfigComplianceRuleUpdateResponse parses an HTTP response from a PluginsGoldenConfigComplianceRuleUpdateWithResponse call func ParsePluginsGoldenConfigComplianceRuleUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigComplianceRuleUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201277,7 +310176,7 @@ func ParsePluginsGoldenConfigComplianceRuleUpdateResponse(rsp *http.Response) (* // ParsePluginsGoldenConfigConfigComplianceBulkDestroyResponse parses an HTTP response from a PluginsGoldenConfigConfigComplianceBulkDestroyWithResponse call func ParsePluginsGoldenConfigConfigComplianceBulkDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigConfigComplianceBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201293,7 +310192,7 @@ func ParsePluginsGoldenConfigConfigComplianceBulkDestroyResponse(rsp *http.Respo // ParsePluginsGoldenConfigConfigComplianceListResponse parses an HTTP response from a PluginsGoldenConfigConfigComplianceListWithResponse call func ParsePluginsGoldenConfigConfigComplianceListResponse(rsp *http.Response) (*PluginsGoldenConfigConfigComplianceListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201309,7 +310208,7 @@ func ParsePluginsGoldenConfigConfigComplianceListResponse(rsp *http.Response) (* // ParsePluginsGoldenConfigConfigComplianceBulkPartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigComplianceBulkPartialUpdateWithResponse call func ParsePluginsGoldenConfigConfigComplianceBulkPartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigComplianceBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201325,7 +310224,7 @@ func ParsePluginsGoldenConfigConfigComplianceBulkPartialUpdateResponse(rsp *http // ParsePluginsGoldenConfigConfigComplianceCreateResponse parses an HTTP response from a PluginsGoldenConfigConfigComplianceCreateWithResponse call func ParsePluginsGoldenConfigConfigComplianceCreateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigComplianceCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201341,7 +310240,7 @@ func ParsePluginsGoldenConfigConfigComplianceCreateResponse(rsp *http.Response) // ParsePluginsGoldenConfigConfigComplianceBulkUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigComplianceBulkUpdateWithResponse call func ParsePluginsGoldenConfigConfigComplianceBulkUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigComplianceBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201357,7 +310256,7 @@ func ParsePluginsGoldenConfigConfigComplianceBulkUpdateResponse(rsp *http.Respon // ParsePluginsGoldenConfigConfigComplianceDestroyResponse parses an HTTP response from a PluginsGoldenConfigConfigComplianceDestroyWithResponse call func ParsePluginsGoldenConfigConfigComplianceDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigConfigComplianceDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201373,7 +310272,7 @@ func ParsePluginsGoldenConfigConfigComplianceDestroyResponse(rsp *http.Response) // ParsePluginsGoldenConfigConfigComplianceRetrieveResponse parses an HTTP response from a PluginsGoldenConfigConfigComplianceRetrieveWithResponse call func ParsePluginsGoldenConfigConfigComplianceRetrieveResponse(rsp *http.Response) (*PluginsGoldenConfigConfigComplianceRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201389,7 +310288,7 @@ func ParsePluginsGoldenConfigConfigComplianceRetrieveResponse(rsp *http.Response // ParsePluginsGoldenConfigConfigCompliancePartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigCompliancePartialUpdateWithResponse call func ParsePluginsGoldenConfigConfigCompliancePartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigCompliancePartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201405,7 +310304,7 @@ func ParsePluginsGoldenConfigConfigCompliancePartialUpdateResponse(rsp *http.Res // ParsePluginsGoldenConfigConfigComplianceUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigComplianceUpdateWithResponse call func ParsePluginsGoldenConfigConfigComplianceUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigComplianceUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201419,9 +310318,25 @@ func ParsePluginsGoldenConfigConfigComplianceUpdateResponse(rsp *http.Response) return response, nil } +// ParsePluginsGoldenConfigConfigPostprocessingRetrieveResponse parses an HTTP response from a PluginsGoldenConfigConfigPostprocessingRetrieveWithResponse call +func ParsePluginsGoldenConfigConfigPostprocessingRetrieveResponse(rsp *http.Response) (*PluginsGoldenConfigConfigPostprocessingRetrieveResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PluginsGoldenConfigConfigPostprocessingRetrieveResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParsePluginsGoldenConfigConfigRemoveBulkDestroyResponse parses an HTTP response from a PluginsGoldenConfigConfigRemoveBulkDestroyWithResponse call func ParsePluginsGoldenConfigConfigRemoveBulkDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigConfigRemoveBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201437,7 +310352,7 @@ func ParsePluginsGoldenConfigConfigRemoveBulkDestroyResponse(rsp *http.Response) // ParsePluginsGoldenConfigConfigRemoveListResponse parses an HTTP response from a PluginsGoldenConfigConfigRemoveListWithResponse call func ParsePluginsGoldenConfigConfigRemoveListResponse(rsp *http.Response) (*PluginsGoldenConfigConfigRemoveListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201453,7 +310368,7 @@ func ParsePluginsGoldenConfigConfigRemoveListResponse(rsp *http.Response) (*Plug // ParsePluginsGoldenConfigConfigRemoveBulkPartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigRemoveBulkPartialUpdateWithResponse call func ParsePluginsGoldenConfigConfigRemoveBulkPartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigRemoveBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201469,7 +310384,7 @@ func ParsePluginsGoldenConfigConfigRemoveBulkPartialUpdateResponse(rsp *http.Res // ParsePluginsGoldenConfigConfigRemoveCreateResponse parses an HTTP response from a PluginsGoldenConfigConfigRemoveCreateWithResponse call func ParsePluginsGoldenConfigConfigRemoveCreateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigRemoveCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201485,7 +310400,7 @@ func ParsePluginsGoldenConfigConfigRemoveCreateResponse(rsp *http.Response) (*Pl // ParsePluginsGoldenConfigConfigRemoveBulkUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigRemoveBulkUpdateWithResponse call func ParsePluginsGoldenConfigConfigRemoveBulkUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigRemoveBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201501,7 +310416,7 @@ func ParsePluginsGoldenConfigConfigRemoveBulkUpdateResponse(rsp *http.Response) // ParsePluginsGoldenConfigConfigRemoveDestroyResponse parses an HTTP response from a PluginsGoldenConfigConfigRemoveDestroyWithResponse call func ParsePluginsGoldenConfigConfigRemoveDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigConfigRemoveDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201517,7 +310432,7 @@ func ParsePluginsGoldenConfigConfigRemoveDestroyResponse(rsp *http.Response) (*P // ParsePluginsGoldenConfigConfigRemoveRetrieveResponse parses an HTTP response from a PluginsGoldenConfigConfigRemoveRetrieveWithResponse call func ParsePluginsGoldenConfigConfigRemoveRetrieveResponse(rsp *http.Response) (*PluginsGoldenConfigConfigRemoveRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201533,7 +310448,7 @@ func ParsePluginsGoldenConfigConfigRemoveRetrieveResponse(rsp *http.Response) (* // ParsePluginsGoldenConfigConfigRemovePartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigRemovePartialUpdateWithResponse call func ParsePluginsGoldenConfigConfigRemovePartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigRemovePartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201549,7 +310464,7 @@ func ParsePluginsGoldenConfigConfigRemovePartialUpdateResponse(rsp *http.Respons // ParsePluginsGoldenConfigConfigRemoveUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigRemoveUpdateWithResponse call func ParsePluginsGoldenConfigConfigRemoveUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigRemoveUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201565,7 +310480,7 @@ func ParsePluginsGoldenConfigConfigRemoveUpdateResponse(rsp *http.Response) (*Pl // ParsePluginsGoldenConfigConfigReplaceBulkDestroyResponse parses an HTTP response from a PluginsGoldenConfigConfigReplaceBulkDestroyWithResponse call func ParsePluginsGoldenConfigConfigReplaceBulkDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigConfigReplaceBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201581,7 +310496,7 @@ func ParsePluginsGoldenConfigConfigReplaceBulkDestroyResponse(rsp *http.Response // ParsePluginsGoldenConfigConfigReplaceListResponse parses an HTTP response from a PluginsGoldenConfigConfigReplaceListWithResponse call func ParsePluginsGoldenConfigConfigReplaceListResponse(rsp *http.Response) (*PluginsGoldenConfigConfigReplaceListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201597,7 +310512,7 @@ func ParsePluginsGoldenConfigConfigReplaceListResponse(rsp *http.Response) (*Plu // ParsePluginsGoldenConfigConfigReplaceBulkPartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigReplaceBulkPartialUpdateWithResponse call func ParsePluginsGoldenConfigConfigReplaceBulkPartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigReplaceBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201613,7 +310528,7 @@ func ParsePluginsGoldenConfigConfigReplaceBulkPartialUpdateResponse(rsp *http.Re // ParsePluginsGoldenConfigConfigReplaceCreateResponse parses an HTTP response from a PluginsGoldenConfigConfigReplaceCreateWithResponse call func ParsePluginsGoldenConfigConfigReplaceCreateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigReplaceCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201629,7 +310544,7 @@ func ParsePluginsGoldenConfigConfigReplaceCreateResponse(rsp *http.Response) (*P // ParsePluginsGoldenConfigConfigReplaceBulkUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigReplaceBulkUpdateWithResponse call func ParsePluginsGoldenConfigConfigReplaceBulkUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigReplaceBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201645,7 +310560,7 @@ func ParsePluginsGoldenConfigConfigReplaceBulkUpdateResponse(rsp *http.Response) // ParsePluginsGoldenConfigConfigReplaceDestroyResponse parses an HTTP response from a PluginsGoldenConfigConfigReplaceDestroyWithResponse call func ParsePluginsGoldenConfigConfigReplaceDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigConfigReplaceDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201661,7 +310576,7 @@ func ParsePluginsGoldenConfigConfigReplaceDestroyResponse(rsp *http.Response) (* // ParsePluginsGoldenConfigConfigReplaceRetrieveResponse parses an HTTP response from a PluginsGoldenConfigConfigReplaceRetrieveWithResponse call func ParsePluginsGoldenConfigConfigReplaceRetrieveResponse(rsp *http.Response) (*PluginsGoldenConfigConfigReplaceRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201677,7 +310592,7 @@ func ParsePluginsGoldenConfigConfigReplaceRetrieveResponse(rsp *http.Response) ( // ParsePluginsGoldenConfigConfigReplacePartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigReplacePartialUpdateWithResponse call func ParsePluginsGoldenConfigConfigReplacePartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigReplacePartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201693,7 +310608,7 @@ func ParsePluginsGoldenConfigConfigReplacePartialUpdateResponse(rsp *http.Respon // ParsePluginsGoldenConfigConfigReplaceUpdateResponse parses an HTTP response from a PluginsGoldenConfigConfigReplaceUpdateWithResponse call func ParsePluginsGoldenConfigConfigReplaceUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigConfigReplaceUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201709,7 +310624,7 @@ func ParsePluginsGoldenConfigConfigReplaceUpdateResponse(rsp *http.Response) (*P // ParsePluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigSettingsBulkDestroyWithResponse call func ParsePluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201725,7 +310640,7 @@ func ParsePluginsGoldenConfigGoldenConfigSettingsBulkDestroyResponse(rsp *http.R // ParsePluginsGoldenConfigGoldenConfigSettingsListResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigSettingsListWithResponse call func ParsePluginsGoldenConfigGoldenConfigSettingsListResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigSettingsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201741,7 +310656,7 @@ func ParsePluginsGoldenConfigGoldenConfigSettingsListResponse(rsp *http.Response // ParsePluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateWithResponse call func ParsePluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201757,7 +310672,7 @@ func ParsePluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateResponse(rsp * // ParsePluginsGoldenConfigGoldenConfigSettingsCreateResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigSettingsCreateWithResponse call func ParsePluginsGoldenConfigGoldenConfigSettingsCreateResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigSettingsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201773,7 +310688,7 @@ func ParsePluginsGoldenConfigGoldenConfigSettingsCreateResponse(rsp *http.Respon // ParsePluginsGoldenConfigGoldenConfigSettingsBulkUpdateResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigSettingsBulkUpdateWithResponse call func ParsePluginsGoldenConfigGoldenConfigSettingsBulkUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigSettingsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201789,7 +310704,7 @@ func ParsePluginsGoldenConfigGoldenConfigSettingsBulkUpdateResponse(rsp *http.Re // ParsePluginsGoldenConfigGoldenConfigSettingsDestroyResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigSettingsDestroyWithResponse call func ParsePluginsGoldenConfigGoldenConfigSettingsDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigSettingsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201805,7 +310720,7 @@ func ParsePluginsGoldenConfigGoldenConfigSettingsDestroyResponse(rsp *http.Respo // ParsePluginsGoldenConfigGoldenConfigSettingsRetrieveResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigSettingsRetrieveWithResponse call func ParsePluginsGoldenConfigGoldenConfigSettingsRetrieveResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigSettingsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201821,7 +310736,7 @@ func ParsePluginsGoldenConfigGoldenConfigSettingsRetrieveResponse(rsp *http.Resp // ParsePluginsGoldenConfigGoldenConfigSettingsPartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigSettingsPartialUpdateWithResponse call func ParsePluginsGoldenConfigGoldenConfigSettingsPartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigSettingsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201837,7 +310752,7 @@ func ParsePluginsGoldenConfigGoldenConfigSettingsPartialUpdateResponse(rsp *http // ParsePluginsGoldenConfigGoldenConfigSettingsUpdateResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigSettingsUpdateWithResponse call func ParsePluginsGoldenConfigGoldenConfigSettingsUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigSettingsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201853,7 +310768,7 @@ func ParsePluginsGoldenConfigGoldenConfigSettingsUpdateResponse(rsp *http.Respon // ParsePluginsGoldenConfigGoldenConfigBulkDestroyResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigBulkDestroyWithResponse call func ParsePluginsGoldenConfigGoldenConfigBulkDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201869,7 +310784,7 @@ func ParsePluginsGoldenConfigGoldenConfigBulkDestroyResponse(rsp *http.Response) // ParsePluginsGoldenConfigGoldenConfigListResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigListWithResponse call func ParsePluginsGoldenConfigGoldenConfigListResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201885,7 +310800,7 @@ func ParsePluginsGoldenConfigGoldenConfigListResponse(rsp *http.Response) (*Plug // ParsePluginsGoldenConfigGoldenConfigBulkPartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigBulkPartialUpdateWithResponse call func ParsePluginsGoldenConfigGoldenConfigBulkPartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201901,7 +310816,7 @@ func ParsePluginsGoldenConfigGoldenConfigBulkPartialUpdateResponse(rsp *http.Res // ParsePluginsGoldenConfigGoldenConfigCreateResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigCreateWithResponse call func ParsePluginsGoldenConfigGoldenConfigCreateResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201917,7 +310832,7 @@ func ParsePluginsGoldenConfigGoldenConfigCreateResponse(rsp *http.Response) (*Pl // ParsePluginsGoldenConfigGoldenConfigBulkUpdateResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigBulkUpdateWithResponse call func ParsePluginsGoldenConfigGoldenConfigBulkUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201933,7 +310848,7 @@ func ParsePluginsGoldenConfigGoldenConfigBulkUpdateResponse(rsp *http.Response) // ParsePluginsGoldenConfigGoldenConfigDestroyResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigDestroyWithResponse call func ParsePluginsGoldenConfigGoldenConfigDestroyResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201949,7 +310864,7 @@ func ParsePluginsGoldenConfigGoldenConfigDestroyResponse(rsp *http.Response) (*P // ParsePluginsGoldenConfigGoldenConfigRetrieveResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigRetrieveWithResponse call func ParsePluginsGoldenConfigGoldenConfigRetrieveResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201965,7 +310880,7 @@ func ParsePluginsGoldenConfigGoldenConfigRetrieveResponse(rsp *http.Response) (* // ParsePluginsGoldenConfigGoldenConfigPartialUpdateResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigPartialUpdateWithResponse call func ParsePluginsGoldenConfigGoldenConfigPartialUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201981,7 +310896,7 @@ func ParsePluginsGoldenConfigGoldenConfigPartialUpdateResponse(rsp *http.Respons // ParsePluginsGoldenConfigGoldenConfigUpdateResponse parses an HTTP response from a PluginsGoldenConfigGoldenConfigUpdateWithResponse call func ParsePluginsGoldenConfigGoldenConfigUpdateResponse(rsp *http.Response) (*PluginsGoldenConfigGoldenConfigUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -201997,7 +310912,7 @@ func ParsePluginsGoldenConfigGoldenConfigUpdateResponse(rsp *http.Response) (*Pl // ParsePluginsGoldenConfigSotaggRetrieveResponse parses an HTTP response from a PluginsGoldenConfigSotaggRetrieveWithResponse call func ParsePluginsGoldenConfigSotaggRetrieveResponse(rsp *http.Response) (*PluginsGoldenConfigSotaggRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202013,7 +310928,7 @@ func ParsePluginsGoldenConfigSotaggRetrieveResponse(rsp *http.Response) (*Plugin // ParsePluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202029,7 +310944,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtContactBulkDestroyResponse(rsp *http // ParsePluginsNautobotDeviceLifecycleMgmtContactListResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContactListWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtContactListResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContactListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202045,7 +310960,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtContactListResponse(rsp *http.Respon // ParsePluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202061,7 +310976,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateResponse(rsp // ParsePluginsNautobotDeviceLifecycleMgmtContactCreateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContactCreateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtContactCreateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContactCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202077,7 +310992,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtContactCreateResponse(rsp *http.Resp // ParsePluginsNautobotDeviceLifecycleMgmtContactBulkUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtContactBulkUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202093,7 +311008,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtContactBulkUpdateResponse(rsp *http. // ParsePluginsNautobotDeviceLifecycleMgmtContactDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContactDestroyWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtContactDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContactDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202109,7 +311024,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtContactDestroyResponse(rsp *http.Res // ParsePluginsNautobotDeviceLifecycleMgmtContactRetrieveResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContactRetrieveWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtContactRetrieveResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContactRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202125,7 +311040,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtContactRetrieveResponse(rsp *http.Re // ParsePluginsNautobotDeviceLifecycleMgmtContactPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtContactPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202141,7 +311056,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtContactPartialUpdateResponse(rsp *ht // ParsePluginsNautobotDeviceLifecycleMgmtContactUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContactUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtContactUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContactUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202157,7 +311072,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtContactUpdateResponse(rsp *http.Resp // ParsePluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202173,7 +311088,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtContractBulkDestroyResponse(rsp *htt // ParsePluginsNautobotDeviceLifecycleMgmtContractListResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContractListWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtContractListResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContractListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202189,7 +311104,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtContractListResponse(rsp *http.Respo // ParsePluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202205,7 +311120,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateResponse(rs // ParsePluginsNautobotDeviceLifecycleMgmtContractCreateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContractCreateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtContractCreateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContractCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202221,7 +311136,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtContractCreateResponse(rsp *http.Res // ParsePluginsNautobotDeviceLifecycleMgmtContractBulkUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtContractBulkUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202237,7 +311152,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtContractBulkUpdateResponse(rsp *http // ParsePluginsNautobotDeviceLifecycleMgmtContractDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContractDestroyWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtContractDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContractDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202253,7 +311168,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtContractDestroyResponse(rsp *http.Re // ParsePluginsNautobotDeviceLifecycleMgmtContractRetrieveResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContractRetrieveWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtContractRetrieveResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContractRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202269,7 +311184,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtContractRetrieveResponse(rsp *http.R // ParsePluginsNautobotDeviceLifecycleMgmtContractPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtContractPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202285,7 +311200,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtContractPartialUpdateResponse(rsp *h // ParsePluginsNautobotDeviceLifecycleMgmtContractUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtContractUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtContractUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtContractUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202301,7 +311216,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtContractUpdateResponse(rsp *http.Res // ParsePluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202317,7 +311232,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtCveBulkDestroyResponse(rsp *http.Res // ParsePluginsNautobotDeviceLifecycleMgmtCveListResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtCveListWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtCveListResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtCveListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202333,7 +311248,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtCveListResponse(rsp *http.Response) // ParsePluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202349,7 +311264,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateResponse(rsp *ht // ParsePluginsNautobotDeviceLifecycleMgmtCveCreateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtCveCreateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtCveCreateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtCveCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202365,7 +311280,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtCveCreateResponse(rsp *http.Response // ParsePluginsNautobotDeviceLifecycleMgmtCveBulkUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtCveBulkUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202381,7 +311296,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtCveBulkUpdateResponse(rsp *http.Resp // ParsePluginsNautobotDeviceLifecycleMgmtCveDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtCveDestroyWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtCveDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtCveDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202397,7 +311312,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtCveDestroyResponse(rsp *http.Respons // ParsePluginsNautobotDeviceLifecycleMgmtCveRetrieveResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtCveRetrieveWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtCveRetrieveResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtCveRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202413,7 +311328,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtCveRetrieveResponse(rsp *http.Respon // ParsePluginsNautobotDeviceLifecycleMgmtCvePartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtCvePartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202429,7 +311344,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtCvePartialUpdateResponse(rsp *http.R // ParsePluginsNautobotDeviceLifecycleMgmtCveUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtCveUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtCveUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtCveUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202445,7 +311360,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtCveUpdateResponse(rsp *http.Response // ParsePluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202461,7 +311376,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyResponse(rsp *htt // ParsePluginsNautobotDeviceLifecycleMgmtHardwareListResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtHardwareListWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtHardwareListResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtHardwareListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202477,7 +311392,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtHardwareListResponse(rsp *http.Respo // ParsePluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202493,7 +311408,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateResponse(rs // ParsePluginsNautobotDeviceLifecycleMgmtHardwareCreateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtHardwareCreateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtHardwareCreateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtHardwareCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202509,7 +311424,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtHardwareCreateResponse(rsp *http.Res // ParsePluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202525,7 +311440,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateResponse(rsp *http // ParsePluginsNautobotDeviceLifecycleMgmtHardwareDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtHardwareDestroyWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtHardwareDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtHardwareDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202541,7 +311456,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtHardwareDestroyResponse(rsp *http.Re // ParsePluginsNautobotDeviceLifecycleMgmtHardwareRetrieveResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtHardwareRetrieveWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtHardwareRetrieveResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtHardwareRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202557,7 +311472,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtHardwareRetrieveResponse(rsp *http.R // ParsePluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202573,7 +311488,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateResponse(rsp *h // ParsePluginsNautobotDeviceLifecycleMgmtHardwareUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtHardwareUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtHardwareUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtHardwareUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202589,7 +311504,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtHardwareUpdateResponse(rsp *http.Res // ParsePluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202605,7 +311520,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyResponse(rsp *htt // ParsePluginsNautobotDeviceLifecycleMgmtProviderListResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtProviderListWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtProviderListResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtProviderListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202621,7 +311536,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtProviderListResponse(rsp *http.Respo // ParsePluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202637,7 +311552,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateResponse(rs // ParsePluginsNautobotDeviceLifecycleMgmtProviderCreateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtProviderCreateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtProviderCreateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtProviderCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202653,7 +311568,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtProviderCreateResponse(rsp *http.Res // ParsePluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202669,7 +311584,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateResponse(rsp *http // ParsePluginsNautobotDeviceLifecycleMgmtProviderDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtProviderDestroyWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtProviderDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtProviderDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202685,7 +311600,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtProviderDestroyResponse(rsp *http.Re // ParsePluginsNautobotDeviceLifecycleMgmtProviderRetrieveResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtProviderRetrieveWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtProviderRetrieveResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtProviderRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202701,7 +311616,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtProviderRetrieveResponse(rsp *http.R // ParsePluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202717,7 +311632,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateResponse(rsp *h // ParsePluginsNautobotDeviceLifecycleMgmtProviderUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtProviderUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtProviderUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtProviderUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202733,7 +311648,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtProviderUpdateResponse(rsp *http.Res // ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202749,7 +311664,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyResponse(rsp // ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageListResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareImageListWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageListResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202765,7 +311680,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageListResponse(rsp *http. // ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202781,7 +311696,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateRespon // ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202797,7 +311712,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateResponse(rsp *htt // ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202813,7 +311728,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateResponse(rsp // ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202829,7 +311744,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageDestroyResponse(rsp *ht // ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202845,7 +311760,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageRetrieveResponse(rsp *h // ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202861,7 +311776,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateResponse(r // ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202877,7 +311792,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateResponse(rsp *htt // ParsePluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202893,7 +311808,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyResponse(rsp *htt // ParsePluginsNautobotDeviceLifecycleMgmtSoftwareListResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareListWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareListResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202909,7 +311824,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareListResponse(rsp *http.Respo // ParsePluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202925,7 +311840,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateResponse(rs // ParsePluginsNautobotDeviceLifecycleMgmtSoftwareCreateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareCreateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareCreateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202941,7 +311856,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareCreateResponse(rsp *http.Res // ParsePluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202957,7 +311872,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateResponse(rsp *http // ParsePluginsNautobotDeviceLifecycleMgmtSoftwareDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareDestroyWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202973,7 +311888,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareDestroyResponse(rsp *http.Re // ParsePluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -202989,7 +311904,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareRetrieveResponse(rsp *http.R // ParsePluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203005,7 +311920,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateResponse(rsp *h // ParsePluginsNautobotDeviceLifecycleMgmtSoftwareUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203021,7 +311936,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtSoftwareUpdateResponse(rsp *http.Res // ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203037,7 +311952,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyResponse // ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203053,7 +311968,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListResponse(rsp *h // ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203069,7 +311984,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateRe // ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203085,7 +312000,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateResponse(rsp // ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203101,7 +312016,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateResponse( // ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203117,7 +312032,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareDestroyResponse(rsp // ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203133,7 +312048,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareRetrieveResponse(rs // ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203149,7 +312064,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateRespon // ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203165,7 +312080,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateResponse(rsp // ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203181,7 +312096,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyResponse(rsp // ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityListResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtVulnerabilityListWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityListResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203197,7 +312112,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityListResponse(rsp *http. // ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203213,7 +312128,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateRespon // ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203229,7 +312144,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateResponse(rsp // ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203245,7 +312160,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityDestroyResponse(rsp *ht // ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203261,7 +312176,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityRetrieveResponse(rsp *h // ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203277,7 +312192,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateResponse(r // ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateResponse parses an HTTP response from a PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateWithResponse call func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateResponse(rsp *http.Response) (*PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203293,7 +312208,7 @@ func ParsePluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateResponse(rsp *htt // ParseStatusRetrieveResponse parses an HTTP response from a StatusRetrieveWithResponse call func ParseStatusRetrieveResponse(rsp *http.Response) (*StatusRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203309,7 +312224,7 @@ func ParseStatusRetrieveResponse(rsp *http.Response) (*StatusRetrieveResponse, e // ParseSwaggerJsonRetrieveResponse parses an HTTP response from a SwaggerJsonRetrieveWithResponse call func ParseSwaggerJsonRetrieveResponse(rsp *http.Response) (*SwaggerJsonRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203325,7 +312240,7 @@ func ParseSwaggerJsonRetrieveResponse(rsp *http.Response) (*SwaggerJsonRetrieveR // ParseSwaggerYamlRetrieveResponse parses an HTTP response from a SwaggerYamlRetrieveWithResponse call func ParseSwaggerYamlRetrieveResponse(rsp *http.Response) (*SwaggerYamlRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203341,7 +312256,7 @@ func ParseSwaggerYamlRetrieveResponse(rsp *http.Response) (*SwaggerYamlRetrieveR // ParseSwaggerRetrieveResponse parses an HTTP response from a SwaggerRetrieveWithResponse call func ParseSwaggerRetrieveResponse(rsp *http.Response) (*SwaggerRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203357,7 +312272,7 @@ func ParseSwaggerRetrieveResponse(rsp *http.Response) (*SwaggerRetrieveResponse, // ParseTenancyTenantGroupsBulkDestroyResponse parses an HTTP response from a TenancyTenantGroupsBulkDestroyWithResponse call func ParseTenancyTenantGroupsBulkDestroyResponse(rsp *http.Response) (*TenancyTenantGroupsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203373,7 +312288,7 @@ func ParseTenancyTenantGroupsBulkDestroyResponse(rsp *http.Response) (*TenancyTe // ParseTenancyTenantGroupsListResponse parses an HTTP response from a TenancyTenantGroupsListWithResponse call func ParseTenancyTenantGroupsListResponse(rsp *http.Response) (*TenancyTenantGroupsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203389,7 +312304,7 @@ func ParseTenancyTenantGroupsListResponse(rsp *http.Response) (*TenancyTenantGro // ParseTenancyTenantGroupsBulkPartialUpdateResponse parses an HTTP response from a TenancyTenantGroupsBulkPartialUpdateWithResponse call func ParseTenancyTenantGroupsBulkPartialUpdateResponse(rsp *http.Response) (*TenancyTenantGroupsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203405,7 +312320,7 @@ func ParseTenancyTenantGroupsBulkPartialUpdateResponse(rsp *http.Response) (*Ten // ParseTenancyTenantGroupsCreateResponse parses an HTTP response from a TenancyTenantGroupsCreateWithResponse call func ParseTenancyTenantGroupsCreateResponse(rsp *http.Response) (*TenancyTenantGroupsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203421,7 +312336,7 @@ func ParseTenancyTenantGroupsCreateResponse(rsp *http.Response) (*TenancyTenantG // ParseTenancyTenantGroupsBulkUpdateResponse parses an HTTP response from a TenancyTenantGroupsBulkUpdateWithResponse call func ParseTenancyTenantGroupsBulkUpdateResponse(rsp *http.Response) (*TenancyTenantGroupsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203437,7 +312352,7 @@ func ParseTenancyTenantGroupsBulkUpdateResponse(rsp *http.Response) (*TenancyTen // ParseTenancyTenantGroupsDestroyResponse parses an HTTP response from a TenancyTenantGroupsDestroyWithResponse call func ParseTenancyTenantGroupsDestroyResponse(rsp *http.Response) (*TenancyTenantGroupsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203453,7 +312368,7 @@ func ParseTenancyTenantGroupsDestroyResponse(rsp *http.Response) (*TenancyTenant // ParseTenancyTenantGroupsRetrieveResponse parses an HTTP response from a TenancyTenantGroupsRetrieveWithResponse call func ParseTenancyTenantGroupsRetrieveResponse(rsp *http.Response) (*TenancyTenantGroupsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203469,7 +312384,7 @@ func ParseTenancyTenantGroupsRetrieveResponse(rsp *http.Response) (*TenancyTenan // ParseTenancyTenantGroupsPartialUpdateResponse parses an HTTP response from a TenancyTenantGroupsPartialUpdateWithResponse call func ParseTenancyTenantGroupsPartialUpdateResponse(rsp *http.Response) (*TenancyTenantGroupsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203485,7 +312400,7 @@ func ParseTenancyTenantGroupsPartialUpdateResponse(rsp *http.Response) (*Tenancy // ParseTenancyTenantGroupsUpdateResponse parses an HTTP response from a TenancyTenantGroupsUpdateWithResponse call func ParseTenancyTenantGroupsUpdateResponse(rsp *http.Response) (*TenancyTenantGroupsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203499,9 +312414,41 @@ func ParseTenancyTenantGroupsUpdateResponse(rsp *http.Response) (*TenancyTenantG return response, nil } +// ParseTenancyTenantGroupsNotesListResponse parses an HTTP response from a TenancyTenantGroupsNotesListWithResponse call +func ParseTenancyTenantGroupsNotesListResponse(rsp *http.Response) (*TenancyTenantGroupsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantGroupsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyTenantGroupsNotesCreateResponse parses an HTTP response from a TenancyTenantGroupsNotesCreateWithResponse call +func ParseTenancyTenantGroupsNotesCreateResponse(rsp *http.Response) (*TenancyTenantGroupsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantGroupsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseTenancyTenantsBulkDestroyResponse parses an HTTP response from a TenancyTenantsBulkDestroyWithResponse call func ParseTenancyTenantsBulkDestroyResponse(rsp *http.Response) (*TenancyTenantsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203517,7 +312464,7 @@ func ParseTenancyTenantsBulkDestroyResponse(rsp *http.Response) (*TenancyTenants // ParseTenancyTenantsListResponse parses an HTTP response from a TenancyTenantsListWithResponse call func ParseTenancyTenantsListResponse(rsp *http.Response) (*TenancyTenantsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203533,7 +312480,7 @@ func ParseTenancyTenantsListResponse(rsp *http.Response) (*TenancyTenantsListRes // ParseTenancyTenantsBulkPartialUpdateResponse parses an HTTP response from a TenancyTenantsBulkPartialUpdateWithResponse call func ParseTenancyTenantsBulkPartialUpdateResponse(rsp *http.Response) (*TenancyTenantsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203549,7 +312496,7 @@ func ParseTenancyTenantsBulkPartialUpdateResponse(rsp *http.Response) (*TenancyT // ParseTenancyTenantsCreateResponse parses an HTTP response from a TenancyTenantsCreateWithResponse call func ParseTenancyTenantsCreateResponse(rsp *http.Response) (*TenancyTenantsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203565,7 +312512,7 @@ func ParseTenancyTenantsCreateResponse(rsp *http.Response) (*TenancyTenantsCreat // ParseTenancyTenantsBulkUpdateResponse parses an HTTP response from a TenancyTenantsBulkUpdateWithResponse call func ParseTenancyTenantsBulkUpdateResponse(rsp *http.Response) (*TenancyTenantsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203581,7 +312528,7 @@ func ParseTenancyTenantsBulkUpdateResponse(rsp *http.Response) (*TenancyTenantsB // ParseTenancyTenantsDestroyResponse parses an HTTP response from a TenancyTenantsDestroyWithResponse call func ParseTenancyTenantsDestroyResponse(rsp *http.Response) (*TenancyTenantsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203597,7 +312544,7 @@ func ParseTenancyTenantsDestroyResponse(rsp *http.Response) (*TenancyTenantsDest // ParseTenancyTenantsRetrieveResponse parses an HTTP response from a TenancyTenantsRetrieveWithResponse call func ParseTenancyTenantsRetrieveResponse(rsp *http.Response) (*TenancyTenantsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203613,7 +312560,7 @@ func ParseTenancyTenantsRetrieveResponse(rsp *http.Response) (*TenancyTenantsRet // ParseTenancyTenantsPartialUpdateResponse parses an HTTP response from a TenancyTenantsPartialUpdateWithResponse call func ParseTenancyTenantsPartialUpdateResponse(rsp *http.Response) (*TenancyTenantsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203629,7 +312576,7 @@ func ParseTenancyTenantsPartialUpdateResponse(rsp *http.Response) (*TenancyTenan // ParseTenancyTenantsUpdateResponse parses an HTTP response from a TenancyTenantsUpdateWithResponse call func ParseTenancyTenantsUpdateResponse(rsp *http.Response) (*TenancyTenantsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203643,9 +312590,41 @@ func ParseTenancyTenantsUpdateResponse(rsp *http.Response) (*TenancyTenantsUpdat return response, nil } +// ParseTenancyTenantsNotesListResponse parses an HTTP response from a TenancyTenantsNotesListWithResponse call +func ParseTenancyTenantsNotesListResponse(rsp *http.Response) (*TenancyTenantsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseTenancyTenantsNotesCreateResponse parses an HTTP response from a TenancyTenantsNotesCreateWithResponse call +func ParseTenancyTenantsNotesCreateResponse(rsp *http.Response) (*TenancyTenantsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &TenancyTenantsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseUsersConfigRetrieveResponse parses an HTTP response from a UsersConfigRetrieveWithResponse call func ParseUsersConfigRetrieveResponse(rsp *http.Response) (*UsersConfigRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203661,7 +312640,7 @@ func ParseUsersConfigRetrieveResponse(rsp *http.Response) (*UsersConfigRetrieveR // ParseUsersGroupsBulkDestroyResponse parses an HTTP response from a UsersGroupsBulkDestroyWithResponse call func ParseUsersGroupsBulkDestroyResponse(rsp *http.Response) (*UsersGroupsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203677,7 +312656,7 @@ func ParseUsersGroupsBulkDestroyResponse(rsp *http.Response) (*UsersGroupsBulkDe // ParseUsersGroupsListResponse parses an HTTP response from a UsersGroupsListWithResponse call func ParseUsersGroupsListResponse(rsp *http.Response) (*UsersGroupsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203693,7 +312672,7 @@ func ParseUsersGroupsListResponse(rsp *http.Response) (*UsersGroupsListResponse, // ParseUsersGroupsBulkPartialUpdateResponse parses an HTTP response from a UsersGroupsBulkPartialUpdateWithResponse call func ParseUsersGroupsBulkPartialUpdateResponse(rsp *http.Response) (*UsersGroupsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203709,7 +312688,7 @@ func ParseUsersGroupsBulkPartialUpdateResponse(rsp *http.Response) (*UsersGroups // ParseUsersGroupsCreateResponse parses an HTTP response from a UsersGroupsCreateWithResponse call func ParseUsersGroupsCreateResponse(rsp *http.Response) (*UsersGroupsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203725,7 +312704,7 @@ func ParseUsersGroupsCreateResponse(rsp *http.Response) (*UsersGroupsCreateRespo // ParseUsersGroupsBulkUpdateResponse parses an HTTP response from a UsersGroupsBulkUpdateWithResponse call func ParseUsersGroupsBulkUpdateResponse(rsp *http.Response) (*UsersGroupsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203741,7 +312720,7 @@ func ParseUsersGroupsBulkUpdateResponse(rsp *http.Response) (*UsersGroupsBulkUpd // ParseUsersGroupsDestroyResponse parses an HTTP response from a UsersGroupsDestroyWithResponse call func ParseUsersGroupsDestroyResponse(rsp *http.Response) (*UsersGroupsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203757,7 +312736,7 @@ func ParseUsersGroupsDestroyResponse(rsp *http.Response) (*UsersGroupsDestroyRes // ParseUsersGroupsRetrieveResponse parses an HTTP response from a UsersGroupsRetrieveWithResponse call func ParseUsersGroupsRetrieveResponse(rsp *http.Response) (*UsersGroupsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203773,7 +312752,7 @@ func ParseUsersGroupsRetrieveResponse(rsp *http.Response) (*UsersGroupsRetrieveR // ParseUsersGroupsPartialUpdateResponse parses an HTTP response from a UsersGroupsPartialUpdateWithResponse call func ParseUsersGroupsPartialUpdateResponse(rsp *http.Response) (*UsersGroupsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203789,7 +312768,7 @@ func ParseUsersGroupsPartialUpdateResponse(rsp *http.Response) (*UsersGroupsPart // ParseUsersGroupsUpdateResponse parses an HTTP response from a UsersGroupsUpdateWithResponse call func ParseUsersGroupsUpdateResponse(rsp *http.Response) (*UsersGroupsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203805,7 +312784,7 @@ func ParseUsersGroupsUpdateResponse(rsp *http.Response) (*UsersGroupsUpdateRespo // ParseUsersPermissionsBulkDestroyResponse parses an HTTP response from a UsersPermissionsBulkDestroyWithResponse call func ParseUsersPermissionsBulkDestroyResponse(rsp *http.Response) (*UsersPermissionsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203821,7 +312800,7 @@ func ParseUsersPermissionsBulkDestroyResponse(rsp *http.Response) (*UsersPermiss // ParseUsersPermissionsListResponse parses an HTTP response from a UsersPermissionsListWithResponse call func ParseUsersPermissionsListResponse(rsp *http.Response) (*UsersPermissionsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203837,7 +312816,7 @@ func ParseUsersPermissionsListResponse(rsp *http.Response) (*UsersPermissionsLis // ParseUsersPermissionsBulkPartialUpdateResponse parses an HTTP response from a UsersPermissionsBulkPartialUpdateWithResponse call func ParseUsersPermissionsBulkPartialUpdateResponse(rsp *http.Response) (*UsersPermissionsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203853,7 +312832,7 @@ func ParseUsersPermissionsBulkPartialUpdateResponse(rsp *http.Response) (*UsersP // ParseUsersPermissionsCreateResponse parses an HTTP response from a UsersPermissionsCreateWithResponse call func ParseUsersPermissionsCreateResponse(rsp *http.Response) (*UsersPermissionsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203869,7 +312848,7 @@ func ParseUsersPermissionsCreateResponse(rsp *http.Response) (*UsersPermissionsC // ParseUsersPermissionsBulkUpdateResponse parses an HTTP response from a UsersPermissionsBulkUpdateWithResponse call func ParseUsersPermissionsBulkUpdateResponse(rsp *http.Response) (*UsersPermissionsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203885,7 +312864,7 @@ func ParseUsersPermissionsBulkUpdateResponse(rsp *http.Response) (*UsersPermissi // ParseUsersPermissionsDestroyResponse parses an HTTP response from a UsersPermissionsDestroyWithResponse call func ParseUsersPermissionsDestroyResponse(rsp *http.Response) (*UsersPermissionsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203901,7 +312880,7 @@ func ParseUsersPermissionsDestroyResponse(rsp *http.Response) (*UsersPermissions // ParseUsersPermissionsRetrieveResponse parses an HTTP response from a UsersPermissionsRetrieveWithResponse call func ParseUsersPermissionsRetrieveResponse(rsp *http.Response) (*UsersPermissionsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203917,7 +312896,7 @@ func ParseUsersPermissionsRetrieveResponse(rsp *http.Response) (*UsersPermission // ParseUsersPermissionsPartialUpdateResponse parses an HTTP response from a UsersPermissionsPartialUpdateWithResponse call func ParseUsersPermissionsPartialUpdateResponse(rsp *http.Response) (*UsersPermissionsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203933,7 +312912,7 @@ func ParseUsersPermissionsPartialUpdateResponse(rsp *http.Response) (*UsersPermi // ParseUsersPermissionsUpdateResponse parses an HTTP response from a UsersPermissionsUpdateWithResponse call func ParseUsersPermissionsUpdateResponse(rsp *http.Response) (*UsersPermissionsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203949,7 +312928,7 @@ func ParseUsersPermissionsUpdateResponse(rsp *http.Response) (*UsersPermissionsU // ParseUsersTokensBulkDestroyResponse parses an HTTP response from a UsersTokensBulkDestroyWithResponse call func ParseUsersTokensBulkDestroyResponse(rsp *http.Response) (*UsersTokensBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203965,7 +312944,7 @@ func ParseUsersTokensBulkDestroyResponse(rsp *http.Response) (*UsersTokensBulkDe // ParseUsersTokensListResponse parses an HTTP response from a UsersTokensListWithResponse call func ParseUsersTokensListResponse(rsp *http.Response) (*UsersTokensListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203981,7 +312960,7 @@ func ParseUsersTokensListResponse(rsp *http.Response) (*UsersTokensListResponse, // ParseUsersTokensBulkPartialUpdateResponse parses an HTTP response from a UsersTokensBulkPartialUpdateWithResponse call func ParseUsersTokensBulkPartialUpdateResponse(rsp *http.Response) (*UsersTokensBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -203997,7 +312976,7 @@ func ParseUsersTokensBulkPartialUpdateResponse(rsp *http.Response) (*UsersTokens // ParseUsersTokensCreateResponse parses an HTTP response from a UsersTokensCreateWithResponse call func ParseUsersTokensCreateResponse(rsp *http.Response) (*UsersTokensCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204013,7 +312992,7 @@ func ParseUsersTokensCreateResponse(rsp *http.Response) (*UsersTokensCreateRespo // ParseUsersTokensBulkUpdateResponse parses an HTTP response from a UsersTokensBulkUpdateWithResponse call func ParseUsersTokensBulkUpdateResponse(rsp *http.Response) (*UsersTokensBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204029,7 +313008,7 @@ func ParseUsersTokensBulkUpdateResponse(rsp *http.Response) (*UsersTokensBulkUpd // ParseUsersTokensDestroyResponse parses an HTTP response from a UsersTokensDestroyWithResponse call func ParseUsersTokensDestroyResponse(rsp *http.Response) (*UsersTokensDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204045,7 +313024,7 @@ func ParseUsersTokensDestroyResponse(rsp *http.Response) (*UsersTokensDestroyRes // ParseUsersTokensRetrieveResponse parses an HTTP response from a UsersTokensRetrieveWithResponse call func ParseUsersTokensRetrieveResponse(rsp *http.Response) (*UsersTokensRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204061,7 +313040,7 @@ func ParseUsersTokensRetrieveResponse(rsp *http.Response) (*UsersTokensRetrieveR // ParseUsersTokensPartialUpdateResponse parses an HTTP response from a UsersTokensPartialUpdateWithResponse call func ParseUsersTokensPartialUpdateResponse(rsp *http.Response) (*UsersTokensPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204077,7 +313056,7 @@ func ParseUsersTokensPartialUpdateResponse(rsp *http.Response) (*UsersTokensPart // ParseUsersTokensUpdateResponse parses an HTTP response from a UsersTokensUpdateWithResponse call func ParseUsersTokensUpdateResponse(rsp *http.Response) (*UsersTokensUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204093,7 +313072,7 @@ func ParseUsersTokensUpdateResponse(rsp *http.Response) (*UsersTokensUpdateRespo // ParseUsersUsersBulkDestroyResponse parses an HTTP response from a UsersUsersBulkDestroyWithResponse call func ParseUsersUsersBulkDestroyResponse(rsp *http.Response) (*UsersUsersBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204109,7 +313088,7 @@ func ParseUsersUsersBulkDestroyResponse(rsp *http.Response) (*UsersUsersBulkDest // ParseUsersUsersListResponse parses an HTTP response from a UsersUsersListWithResponse call func ParseUsersUsersListResponse(rsp *http.Response) (*UsersUsersListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204125,7 +313104,7 @@ func ParseUsersUsersListResponse(rsp *http.Response) (*UsersUsersListResponse, e // ParseUsersUsersBulkPartialUpdateResponse parses an HTTP response from a UsersUsersBulkPartialUpdateWithResponse call func ParseUsersUsersBulkPartialUpdateResponse(rsp *http.Response) (*UsersUsersBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204141,7 +313120,7 @@ func ParseUsersUsersBulkPartialUpdateResponse(rsp *http.Response) (*UsersUsersBu // ParseUsersUsersCreateResponse parses an HTTP response from a UsersUsersCreateWithResponse call func ParseUsersUsersCreateResponse(rsp *http.Response) (*UsersUsersCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204157,7 +313136,7 @@ func ParseUsersUsersCreateResponse(rsp *http.Response) (*UsersUsersCreateRespons // ParseUsersUsersBulkUpdateResponse parses an HTTP response from a UsersUsersBulkUpdateWithResponse call func ParseUsersUsersBulkUpdateResponse(rsp *http.Response) (*UsersUsersBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204173,7 +313152,7 @@ func ParseUsersUsersBulkUpdateResponse(rsp *http.Response) (*UsersUsersBulkUpdat // ParseUsersUsersDestroyResponse parses an HTTP response from a UsersUsersDestroyWithResponse call func ParseUsersUsersDestroyResponse(rsp *http.Response) (*UsersUsersDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204189,7 +313168,7 @@ func ParseUsersUsersDestroyResponse(rsp *http.Response) (*UsersUsersDestroyRespo // ParseUsersUsersRetrieveResponse parses an HTTP response from a UsersUsersRetrieveWithResponse call func ParseUsersUsersRetrieveResponse(rsp *http.Response) (*UsersUsersRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204205,7 +313184,7 @@ func ParseUsersUsersRetrieveResponse(rsp *http.Response) (*UsersUsersRetrieveRes // ParseUsersUsersPartialUpdateResponse parses an HTTP response from a UsersUsersPartialUpdateWithResponse call func ParseUsersUsersPartialUpdateResponse(rsp *http.Response) (*UsersUsersPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204221,7 +313200,7 @@ func ParseUsersUsersPartialUpdateResponse(rsp *http.Response) (*UsersUsersPartia // ParseUsersUsersUpdateResponse parses an HTTP response from a UsersUsersUpdateWithResponse call func ParseUsersUsersUpdateResponse(rsp *http.Response) (*UsersUsersUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204237,7 +313216,7 @@ func ParseUsersUsersUpdateResponse(rsp *http.Response) (*UsersUsersUpdateRespons // ParseVirtualizationClusterGroupsBulkDestroyResponse parses an HTTP response from a VirtualizationClusterGroupsBulkDestroyWithResponse call func ParseVirtualizationClusterGroupsBulkDestroyResponse(rsp *http.Response) (*VirtualizationClusterGroupsBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204253,7 +313232,7 @@ func ParseVirtualizationClusterGroupsBulkDestroyResponse(rsp *http.Response) (*V // ParseVirtualizationClusterGroupsListResponse parses an HTTP response from a VirtualizationClusterGroupsListWithResponse call func ParseVirtualizationClusterGroupsListResponse(rsp *http.Response) (*VirtualizationClusterGroupsListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204269,7 +313248,7 @@ func ParseVirtualizationClusterGroupsListResponse(rsp *http.Response) (*Virtuali // ParseVirtualizationClusterGroupsBulkPartialUpdateResponse parses an HTTP response from a VirtualizationClusterGroupsBulkPartialUpdateWithResponse call func ParseVirtualizationClusterGroupsBulkPartialUpdateResponse(rsp *http.Response) (*VirtualizationClusterGroupsBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204285,7 +313264,7 @@ func ParseVirtualizationClusterGroupsBulkPartialUpdateResponse(rsp *http.Respons // ParseVirtualizationClusterGroupsCreateResponse parses an HTTP response from a VirtualizationClusterGroupsCreateWithResponse call func ParseVirtualizationClusterGroupsCreateResponse(rsp *http.Response) (*VirtualizationClusterGroupsCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204301,7 +313280,7 @@ func ParseVirtualizationClusterGroupsCreateResponse(rsp *http.Response) (*Virtua // ParseVirtualizationClusterGroupsBulkUpdateResponse parses an HTTP response from a VirtualizationClusterGroupsBulkUpdateWithResponse call func ParseVirtualizationClusterGroupsBulkUpdateResponse(rsp *http.Response) (*VirtualizationClusterGroupsBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204317,7 +313296,7 @@ func ParseVirtualizationClusterGroupsBulkUpdateResponse(rsp *http.Response) (*Vi // ParseVirtualizationClusterGroupsDestroyResponse parses an HTTP response from a VirtualizationClusterGroupsDestroyWithResponse call func ParseVirtualizationClusterGroupsDestroyResponse(rsp *http.Response) (*VirtualizationClusterGroupsDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204333,7 +313312,7 @@ func ParseVirtualizationClusterGroupsDestroyResponse(rsp *http.Response) (*Virtu // ParseVirtualizationClusterGroupsRetrieveResponse parses an HTTP response from a VirtualizationClusterGroupsRetrieveWithResponse call func ParseVirtualizationClusterGroupsRetrieveResponse(rsp *http.Response) (*VirtualizationClusterGroupsRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204349,7 +313328,7 @@ func ParseVirtualizationClusterGroupsRetrieveResponse(rsp *http.Response) (*Virt // ParseVirtualizationClusterGroupsPartialUpdateResponse parses an HTTP response from a VirtualizationClusterGroupsPartialUpdateWithResponse call func ParseVirtualizationClusterGroupsPartialUpdateResponse(rsp *http.Response) (*VirtualizationClusterGroupsPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204365,7 +313344,7 @@ func ParseVirtualizationClusterGroupsPartialUpdateResponse(rsp *http.Response) ( // ParseVirtualizationClusterGroupsUpdateResponse parses an HTTP response from a VirtualizationClusterGroupsUpdateWithResponse call func ParseVirtualizationClusterGroupsUpdateResponse(rsp *http.Response) (*VirtualizationClusterGroupsUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204379,9 +313358,41 @@ func ParseVirtualizationClusterGroupsUpdateResponse(rsp *http.Response) (*Virtua return response, nil } +// ParseVirtualizationClusterGroupsNotesListResponse parses an HTTP response from a VirtualizationClusterGroupsNotesListWithResponse call +func ParseVirtualizationClusterGroupsNotesListResponse(rsp *http.Response) (*VirtualizationClusterGroupsNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterGroupsNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClusterGroupsNotesCreateResponse parses an HTTP response from a VirtualizationClusterGroupsNotesCreateWithResponse call +func ParseVirtualizationClusterGroupsNotesCreateResponse(rsp *http.Response) (*VirtualizationClusterGroupsNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterGroupsNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseVirtualizationClusterTypesBulkDestroyResponse parses an HTTP response from a VirtualizationClusterTypesBulkDestroyWithResponse call func ParseVirtualizationClusterTypesBulkDestroyResponse(rsp *http.Response) (*VirtualizationClusterTypesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204397,7 +313408,7 @@ func ParseVirtualizationClusterTypesBulkDestroyResponse(rsp *http.Response) (*Vi // ParseVirtualizationClusterTypesListResponse parses an HTTP response from a VirtualizationClusterTypesListWithResponse call func ParseVirtualizationClusterTypesListResponse(rsp *http.Response) (*VirtualizationClusterTypesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204413,7 +313424,7 @@ func ParseVirtualizationClusterTypesListResponse(rsp *http.Response) (*Virtualiz // ParseVirtualizationClusterTypesBulkPartialUpdateResponse parses an HTTP response from a VirtualizationClusterTypesBulkPartialUpdateWithResponse call func ParseVirtualizationClusterTypesBulkPartialUpdateResponse(rsp *http.Response) (*VirtualizationClusterTypesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204429,7 +313440,7 @@ func ParseVirtualizationClusterTypesBulkPartialUpdateResponse(rsp *http.Response // ParseVirtualizationClusterTypesCreateResponse parses an HTTP response from a VirtualizationClusterTypesCreateWithResponse call func ParseVirtualizationClusterTypesCreateResponse(rsp *http.Response) (*VirtualizationClusterTypesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204445,7 +313456,7 @@ func ParseVirtualizationClusterTypesCreateResponse(rsp *http.Response) (*Virtual // ParseVirtualizationClusterTypesBulkUpdateResponse parses an HTTP response from a VirtualizationClusterTypesBulkUpdateWithResponse call func ParseVirtualizationClusterTypesBulkUpdateResponse(rsp *http.Response) (*VirtualizationClusterTypesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204461,7 +313472,7 @@ func ParseVirtualizationClusterTypesBulkUpdateResponse(rsp *http.Response) (*Vir // ParseVirtualizationClusterTypesDestroyResponse parses an HTTP response from a VirtualizationClusterTypesDestroyWithResponse call func ParseVirtualizationClusterTypesDestroyResponse(rsp *http.Response) (*VirtualizationClusterTypesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204477,7 +313488,7 @@ func ParseVirtualizationClusterTypesDestroyResponse(rsp *http.Response) (*Virtua // ParseVirtualizationClusterTypesRetrieveResponse parses an HTTP response from a VirtualizationClusterTypesRetrieveWithResponse call func ParseVirtualizationClusterTypesRetrieveResponse(rsp *http.Response) (*VirtualizationClusterTypesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204493,7 +313504,7 @@ func ParseVirtualizationClusterTypesRetrieveResponse(rsp *http.Response) (*Virtu // ParseVirtualizationClusterTypesPartialUpdateResponse parses an HTTP response from a VirtualizationClusterTypesPartialUpdateWithResponse call func ParseVirtualizationClusterTypesPartialUpdateResponse(rsp *http.Response) (*VirtualizationClusterTypesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204509,7 +313520,7 @@ func ParseVirtualizationClusterTypesPartialUpdateResponse(rsp *http.Response) (* // ParseVirtualizationClusterTypesUpdateResponse parses an HTTP response from a VirtualizationClusterTypesUpdateWithResponse call func ParseVirtualizationClusterTypesUpdateResponse(rsp *http.Response) (*VirtualizationClusterTypesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204523,9 +313534,41 @@ func ParseVirtualizationClusterTypesUpdateResponse(rsp *http.Response) (*Virtual return response, nil } +// ParseVirtualizationClusterTypesNotesListResponse parses an HTTP response from a VirtualizationClusterTypesNotesListWithResponse call +func ParseVirtualizationClusterTypesNotesListResponse(rsp *http.Response) (*VirtualizationClusterTypesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterTypesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClusterTypesNotesCreateResponse parses an HTTP response from a VirtualizationClusterTypesNotesCreateWithResponse call +func ParseVirtualizationClusterTypesNotesCreateResponse(rsp *http.Response) (*VirtualizationClusterTypesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClusterTypesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseVirtualizationClustersBulkDestroyResponse parses an HTTP response from a VirtualizationClustersBulkDestroyWithResponse call func ParseVirtualizationClustersBulkDestroyResponse(rsp *http.Response) (*VirtualizationClustersBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204541,7 +313584,7 @@ func ParseVirtualizationClustersBulkDestroyResponse(rsp *http.Response) (*Virtua // ParseVirtualizationClustersListResponse parses an HTTP response from a VirtualizationClustersListWithResponse call func ParseVirtualizationClustersListResponse(rsp *http.Response) (*VirtualizationClustersListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204557,7 +313600,7 @@ func ParseVirtualizationClustersListResponse(rsp *http.Response) (*Virtualizatio // ParseVirtualizationClustersBulkPartialUpdateResponse parses an HTTP response from a VirtualizationClustersBulkPartialUpdateWithResponse call func ParseVirtualizationClustersBulkPartialUpdateResponse(rsp *http.Response) (*VirtualizationClustersBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204573,7 +313616,7 @@ func ParseVirtualizationClustersBulkPartialUpdateResponse(rsp *http.Response) (* // ParseVirtualizationClustersCreateResponse parses an HTTP response from a VirtualizationClustersCreateWithResponse call func ParseVirtualizationClustersCreateResponse(rsp *http.Response) (*VirtualizationClustersCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204589,7 +313632,7 @@ func ParseVirtualizationClustersCreateResponse(rsp *http.Response) (*Virtualizat // ParseVirtualizationClustersBulkUpdateResponse parses an HTTP response from a VirtualizationClustersBulkUpdateWithResponse call func ParseVirtualizationClustersBulkUpdateResponse(rsp *http.Response) (*VirtualizationClustersBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204605,7 +313648,7 @@ func ParseVirtualizationClustersBulkUpdateResponse(rsp *http.Response) (*Virtual // ParseVirtualizationClustersDestroyResponse parses an HTTP response from a VirtualizationClustersDestroyWithResponse call func ParseVirtualizationClustersDestroyResponse(rsp *http.Response) (*VirtualizationClustersDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204621,7 +313664,7 @@ func ParseVirtualizationClustersDestroyResponse(rsp *http.Response) (*Virtualiza // ParseVirtualizationClustersRetrieveResponse parses an HTTP response from a VirtualizationClustersRetrieveWithResponse call func ParseVirtualizationClustersRetrieveResponse(rsp *http.Response) (*VirtualizationClustersRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204637,7 +313680,7 @@ func ParseVirtualizationClustersRetrieveResponse(rsp *http.Response) (*Virtualiz // ParseVirtualizationClustersPartialUpdateResponse parses an HTTP response from a VirtualizationClustersPartialUpdateWithResponse call func ParseVirtualizationClustersPartialUpdateResponse(rsp *http.Response) (*VirtualizationClustersPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204653,7 +313696,7 @@ func ParseVirtualizationClustersPartialUpdateResponse(rsp *http.Response) (*Virt // ParseVirtualizationClustersUpdateResponse parses an HTTP response from a VirtualizationClustersUpdateWithResponse call func ParseVirtualizationClustersUpdateResponse(rsp *http.Response) (*VirtualizationClustersUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204667,9 +313710,41 @@ func ParseVirtualizationClustersUpdateResponse(rsp *http.Response) (*Virtualizat return response, nil } +// ParseVirtualizationClustersNotesListResponse parses an HTTP response from a VirtualizationClustersNotesListWithResponse call +func ParseVirtualizationClustersNotesListResponse(rsp *http.Response) (*VirtualizationClustersNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClustersNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationClustersNotesCreateResponse parses an HTTP response from a VirtualizationClustersNotesCreateWithResponse call +func ParseVirtualizationClustersNotesCreateResponse(rsp *http.Response) (*VirtualizationClustersNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationClustersNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseVirtualizationInterfacesBulkDestroyResponse parses an HTTP response from a VirtualizationInterfacesBulkDestroyWithResponse call func ParseVirtualizationInterfacesBulkDestroyResponse(rsp *http.Response) (*VirtualizationInterfacesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204685,7 +313760,7 @@ func ParseVirtualizationInterfacesBulkDestroyResponse(rsp *http.Response) (*Virt // ParseVirtualizationInterfacesListResponse parses an HTTP response from a VirtualizationInterfacesListWithResponse call func ParseVirtualizationInterfacesListResponse(rsp *http.Response) (*VirtualizationInterfacesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204701,7 +313776,7 @@ func ParseVirtualizationInterfacesListResponse(rsp *http.Response) (*Virtualizat // ParseVirtualizationInterfacesBulkPartialUpdateResponse parses an HTTP response from a VirtualizationInterfacesBulkPartialUpdateWithResponse call func ParseVirtualizationInterfacesBulkPartialUpdateResponse(rsp *http.Response) (*VirtualizationInterfacesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204717,7 +313792,7 @@ func ParseVirtualizationInterfacesBulkPartialUpdateResponse(rsp *http.Response) // ParseVirtualizationInterfacesCreateResponse parses an HTTP response from a VirtualizationInterfacesCreateWithResponse call func ParseVirtualizationInterfacesCreateResponse(rsp *http.Response) (*VirtualizationInterfacesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204733,7 +313808,7 @@ func ParseVirtualizationInterfacesCreateResponse(rsp *http.Response) (*Virtualiz // ParseVirtualizationInterfacesBulkUpdateResponse parses an HTTP response from a VirtualizationInterfacesBulkUpdateWithResponse call func ParseVirtualizationInterfacesBulkUpdateResponse(rsp *http.Response) (*VirtualizationInterfacesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204749,7 +313824,7 @@ func ParseVirtualizationInterfacesBulkUpdateResponse(rsp *http.Response) (*Virtu // ParseVirtualizationInterfacesDestroyResponse parses an HTTP response from a VirtualizationInterfacesDestroyWithResponse call func ParseVirtualizationInterfacesDestroyResponse(rsp *http.Response) (*VirtualizationInterfacesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204765,7 +313840,7 @@ func ParseVirtualizationInterfacesDestroyResponse(rsp *http.Response) (*Virtuali // ParseVirtualizationInterfacesRetrieveResponse parses an HTTP response from a VirtualizationInterfacesRetrieveWithResponse call func ParseVirtualizationInterfacesRetrieveResponse(rsp *http.Response) (*VirtualizationInterfacesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204781,7 +313856,7 @@ func ParseVirtualizationInterfacesRetrieveResponse(rsp *http.Response) (*Virtual // ParseVirtualizationInterfacesPartialUpdateResponse parses an HTTP response from a VirtualizationInterfacesPartialUpdateWithResponse call func ParseVirtualizationInterfacesPartialUpdateResponse(rsp *http.Response) (*VirtualizationInterfacesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204797,7 +313872,7 @@ func ParseVirtualizationInterfacesPartialUpdateResponse(rsp *http.Response) (*Vi // ParseVirtualizationInterfacesUpdateResponse parses an HTTP response from a VirtualizationInterfacesUpdateWithResponse call func ParseVirtualizationInterfacesUpdateResponse(rsp *http.Response) (*VirtualizationInterfacesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204811,9 +313886,41 @@ func ParseVirtualizationInterfacesUpdateResponse(rsp *http.Response) (*Virtualiz return response, nil } +// ParseVirtualizationInterfacesNotesListResponse parses an HTTP response from a VirtualizationInterfacesNotesListWithResponse call +func ParseVirtualizationInterfacesNotesListResponse(rsp *http.Response) (*VirtualizationInterfacesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationInterfacesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationInterfacesNotesCreateResponse parses an HTTP response from a VirtualizationInterfacesNotesCreateWithResponse call +func ParseVirtualizationInterfacesNotesCreateResponse(rsp *http.Response) (*VirtualizationInterfacesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationInterfacesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + // ParseVirtualizationVirtualMachinesBulkDestroyResponse parses an HTTP response from a VirtualizationVirtualMachinesBulkDestroyWithResponse call func ParseVirtualizationVirtualMachinesBulkDestroyResponse(rsp *http.Response) (*VirtualizationVirtualMachinesBulkDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204829,7 +313936,7 @@ func ParseVirtualizationVirtualMachinesBulkDestroyResponse(rsp *http.Response) ( // ParseVirtualizationVirtualMachinesListResponse parses an HTTP response from a VirtualizationVirtualMachinesListWithResponse call func ParseVirtualizationVirtualMachinesListResponse(rsp *http.Response) (*VirtualizationVirtualMachinesListResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204845,7 +313952,7 @@ func ParseVirtualizationVirtualMachinesListResponse(rsp *http.Response) (*Virtua // ParseVirtualizationVirtualMachinesBulkPartialUpdateResponse parses an HTTP response from a VirtualizationVirtualMachinesBulkPartialUpdateWithResponse call func ParseVirtualizationVirtualMachinesBulkPartialUpdateResponse(rsp *http.Response) (*VirtualizationVirtualMachinesBulkPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204861,7 +313968,7 @@ func ParseVirtualizationVirtualMachinesBulkPartialUpdateResponse(rsp *http.Respo // ParseVirtualizationVirtualMachinesCreateResponse parses an HTTP response from a VirtualizationVirtualMachinesCreateWithResponse call func ParseVirtualizationVirtualMachinesCreateResponse(rsp *http.Response) (*VirtualizationVirtualMachinesCreateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204877,7 +313984,7 @@ func ParseVirtualizationVirtualMachinesCreateResponse(rsp *http.Response) (*Virt // ParseVirtualizationVirtualMachinesBulkUpdateResponse parses an HTTP response from a VirtualizationVirtualMachinesBulkUpdateWithResponse call func ParseVirtualizationVirtualMachinesBulkUpdateResponse(rsp *http.Response) (*VirtualizationVirtualMachinesBulkUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204893,7 +314000,7 @@ func ParseVirtualizationVirtualMachinesBulkUpdateResponse(rsp *http.Response) (* // ParseVirtualizationVirtualMachinesDestroyResponse parses an HTTP response from a VirtualizationVirtualMachinesDestroyWithResponse call func ParseVirtualizationVirtualMachinesDestroyResponse(rsp *http.Response) (*VirtualizationVirtualMachinesDestroyResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204909,7 +314016,7 @@ func ParseVirtualizationVirtualMachinesDestroyResponse(rsp *http.Response) (*Vir // ParseVirtualizationVirtualMachinesRetrieveResponse parses an HTTP response from a VirtualizationVirtualMachinesRetrieveWithResponse call func ParseVirtualizationVirtualMachinesRetrieveResponse(rsp *http.Response) (*VirtualizationVirtualMachinesRetrieveResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204925,7 +314032,7 @@ func ParseVirtualizationVirtualMachinesRetrieveResponse(rsp *http.Response) (*Vi // ParseVirtualizationVirtualMachinesPartialUpdateResponse parses an HTTP response from a VirtualizationVirtualMachinesPartialUpdateWithResponse call func ParseVirtualizationVirtualMachinesPartialUpdateResponse(rsp *http.Response) (*VirtualizationVirtualMachinesPartialUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204941,7 +314048,7 @@ func ParseVirtualizationVirtualMachinesPartialUpdateResponse(rsp *http.Response) // ParseVirtualizationVirtualMachinesUpdateResponse parses an HTTP response from a VirtualizationVirtualMachinesUpdateWithResponse call func ParseVirtualizationVirtualMachinesUpdateResponse(rsp *http.Response) (*VirtualizationVirtualMachinesUpdateResponse, error) { - bodyBytes, err := ioutil.ReadAll(rsp.Body) + bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err @@ -204954,3 +314061,35 @@ func ParseVirtualizationVirtualMachinesUpdateResponse(rsp *http.Response) (*Virt return response, nil } + +// ParseVirtualizationVirtualMachinesNotesListResponse parses an HTTP response from a VirtualizationVirtualMachinesNotesListWithResponse call +func ParseVirtualizationVirtualMachinesNotesListResponse(rsp *http.Response) (*VirtualizationVirtualMachinesNotesListResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationVirtualMachinesNotesListResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseVirtualizationVirtualMachinesNotesCreateResponse parses an HTTP response from a VirtualizationVirtualMachinesNotesCreateWithResponse call +func ParseVirtualizationVirtualMachinesNotesCreateResponse(rsp *http.Response) (*VirtualizationVirtualMachinesNotesCreateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &VirtualizationVirtualMachinesNotesCreateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} diff --git a/client/test.swagger.yaml b/client/test.swagger.yaml new file mode 100644 index 0000000..384a1e7 --- /dev/null +++ b/client/test.swagger.yaml @@ -0,0 +1,207350 @@ +components: + schemas: + AccessGrant: + description: API serializer for interacting with AccessGrant objects. + properties: + command: + description: Enter * to grant access to all commands + maxLength: 64 + type: string + created: + format: date + nullable: true + readOnly: true + type: string + display: + description: Human friendly display value + readOnly: true + type: string + grant_type: + $ref: '#/components/schemas/GrantTypeEnum' + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Organization name, channel name, or user name + maxLength: 255 + type: string + subcommand: + description: Enter * to grant access to all subcommands of the + given command + maxLength: 64 + type: string + url: + format: uri + readOnly: true + type: string + value: + description: Corresponding ID value to grant access to.
Enter * + to grant access to all organizations, channels, or users + maxLength: 255 + type: string + required: + - command + - created + - display + - grant_type + - id + - last_updated + - name + - subcommand + - url + - value + type: object + AccessGrantRequest: + description: API serializer for interacting with AccessGrant objects. + properties: + command: + description: Enter * to grant access to all commands + maxLength: 64 + minLength: 1 + type: string + grant_type: + $ref: '#/components/schemas/GrantTypeEnum' + name: + description: Organization name, channel name, or user name + maxLength: 255 + minLength: 1 + type: string + subcommand: + description: Enter * to grant access to all subcommands of the + given command + maxLength: 64 + minLength: 1 + type: string + value: + description: Corresponding ID value to grant access to.
Enter * + to grant access to all organizations, channels, or users + maxLength: 255 + minLength: 1 + type: string + required: + - command + - grant_type + - name + - subcommand + - value + type: object + AccessTypeEnum: + enum: + - Generic + - Console + - gNMI + - HTTP(S) + - NETCONF + - REST + - RESTCONF + - SNMP + - SSH + type: string + ActionEnum: + enum: + - allow + - deny + - drop + - remark + type: string + AddressFamily: + description: REST API serializer for AddressFamily records. + properties: + afi_safi: + $ref: '#/components/schemas/AfiSafiEnum' + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + display: + description: Human friendly display value + readOnly: true + type: string + export_policy: + maxLength: 100 + type: string + id: + format: uuid + readOnly: true + type: string + import_policy: + maxLength: 100 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + routing_instance: + $ref: '#/components/schemas/NestedRoutingInstance' + url: + format: uri + readOnly: true + type: string + vrf: + allOf: + - $ref: '#/components/schemas/NestedVRF' + nullable: true + required: + - afi_safi + - created + - display + - id + - last_updated + - routing_instance + - url + type: object + AddressObject: + description: AddressObject Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDN' + id: + format: uuid + readOnly: true + type: string + ip_address: + $ref: '#/components/schemas/NestedIPAddress' + ip_range: + $ref: '#/components/schemas/NestedIPRange' + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name descriptor for an address object type. + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + prefix: + $ref: '#/components/schemas/NestedPrefix' + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + AddressObjectGroup: + description: AddressObjectGroup Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + address_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDN' + id: + format: uuid + readOnly: true + type: string + ip_address: + $ref: '#/components/schemas/NestedIPAddress' + ip_range: + $ref: '#/components/schemas/NestedIPRange' + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name descriptor for an address object type. + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + prefix: + $ref: '#/components/schemas/NestedPrefix' + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + AfiSafiEnum: + enum: + - ipv4_unicast + - ipv4_multicast + - ipv4_flowspec + - ipv6_unicast + - ipv6_multicast + - ipv6_flowspec + - vpnv4_unicast + - vpnv4_multicast + - vpnv6_unicast + - vpnv6_multicast + - l2_evpn + - l2_vpls + type: string + Aggregate: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + date_added: + format: date + nullable: true + type: string + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + family: + properties: + label: + enum: + - IPv4 + - IPv6 + type: string + value: + enum: + - 4 + - 6 + type: integer + readOnly: true + type: object + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + notes_url: + format: uri + readOnly: true + type: string + prefix: + type: string + rir: + $ref: '#/components/schemas/NestedRIR' + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - family + - id + - last_updated + - notes_url + - prefix + - rir + - url + type: object + AutonomousSystem: + description: REST API serializer for AutonomousSystem records. + properties: + asn: + description: 32-bit autonomous system number + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + provider: + allOf: + - $ref: '#/components/schemas/NestedProvider' + nullable: true + status: + properties: + label: + enum: + - Active + - Available + - Planned + type: string + value: + enum: + - active + - available + - planned + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - asn + - created + - display + - id + - last_updated + - status + - url + type: object + AvailableIP: + description: Representation of an IP address which does not exist in the database. + properties: + address: + readOnly: true + type: string + family: + readOnly: true + type: integer + vrf: + allOf: + - $ref: '#/components/schemas/NestedVRF' + readOnly: true + required: + - address + - family + - vrf + type: object + AvailablePrefix: + description: Representation of a prefix which does not exist in the database. + properties: + family: + readOnly: true + type: integer + prefix: + readOnly: true + type: string + vrf: + allOf: + - $ref: '#/components/schemas/NestedVRF' + readOnly: true + required: + - family + - prefix + - vrf + type: object + BGPRoutingInstance: + description: REST API serializer for Peering records. + properties: + autonomous_system: + allOf: + - $ref: '#/components/schemas/NestedAutonomousSystem' + nullable: true + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDevice' + display: + description: Human friendly display value + readOnly: true + type: string + endpoints: + items: + $ref: '#/components/schemas/NestedPeerEndpoint' + type: array + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + router_id: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + nullable: true + url: + format: uri + readOnly: true + type: string + required: + - created + - device + - display + - id + - last_updated + - url + type: object + BlankEnum: + enum: + - '' + BulkOperationIntegerIDRequest: + description: As BulkOperationSerializer, but for models such as users.Group + that have an integer ID field. + properties: + id: + type: integer + required: + - id + type: object + BulkOperationRequest: + description: Representation of bulk-DELETE request for most models; also used + to validate required ID field for bulk-PATCH/PUT. + properties: + id: + format: uuid + type: string + required: + - id + type: object + BulkWritableAccessGrantRequest: + description: API serializer for interacting with AccessGrant objects. + properties: + command: + description: Enter * to grant access to all commands + maxLength: 64 + minLength: 1 + type: string + grant_type: + $ref: '#/components/schemas/GrantTypeEnum' + id: + format: uuid + type: string + name: + description: Organization name, channel name, or user name + maxLength: 255 + minLength: 1 + type: string + subcommand: + description: Enter * to grant access to all subcommands of the + given command + maxLength: 64 + minLength: 1 + type: string + value: + description: Corresponding ID value to grant access to.
Enter * + to grant access to all organizations, channels, or users + maxLength: 255 + minLength: 1 + type: string + required: + - command + - grant_type + - id + - name + - subcommand + - value + type: object + BulkWritableAddressFamilyRequest: + description: REST API serializer for AddressFamily records. + properties: + afi_safi: + $ref: '#/components/schemas/AfiSafiEnum' + custom_fields: + additionalProperties: {} + type: object + export_policy: + maxLength: 100 + type: string + id: + format: uuid + type: string + import_policy: + maxLength: 100 + type: string + vrf: + allOf: + - $ref: '#/components/schemas/NestedVRFRequest' + nullable: true + required: + - afi_safi + - id + type: object + BulkWritableAddressObjectGroupRequest: + description: AddressObjectGroup Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + address_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - name + type: object + BulkWritableAddressObjectRequest: + description: AddressObject Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + id: + format: uuid + type: string + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - name + type: object + BulkWritableAggregateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + date_added: + format: date + nullable: true + type: string + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + prefix: + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + rir: + $ref: '#/components/schemas/NestedRIRRequest' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + required: + - id + - prefix + - rir + type: object + BulkWritableAutonomousSystemRequest: + description: REST API serializer for AutonomousSystem records. + properties: + asn: + description: 32-bit autonomous system number + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + provider: + allOf: + - $ref: '#/components/schemas/NestedProviderRequest' + nullable: true + status: + $ref: '#/components/schemas/Status2a0Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - asn + - id + - status + type: object + BulkWritableBGPRoutingInstanceRequest: + description: REST API serializer for Peering records. + properties: + autonomous_system: + allOf: + - $ref: '#/components/schemas/NestedAutonomousSystemRequest' + nullable: true + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDeviceRequest' + id: + format: uuid + type: string + router_id: + allOf: + - $ref: '#/components/schemas/NestedIPAddressRequest' + nullable: true + required: + - device + - id + type: object + BulkWritableCVELCMRequest: + description: REST API serializer for CVELCM records. + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + cvss: + format: double + nullable: true + title: CVSS Base Score + type: number + cvss_v2: + format: double + nullable: true + title: CVSSv2 Score + type: number + cvss_v3: + format: double + nullable: true + title: CVSSv3 Score + type: number + description: + maxLength: 255 + nullable: true + type: string + fix: + maxLength: 255 + nullable: true + type: string + id: + format: uuid + type: string + link: + format: uri + maxLength: 200 + minLength: 1 + type: string + name: + maxLength: 16 + minLength: 1 + type: string + published_date: + format: date + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + severity: + $ref: '#/components/schemas/SeverityEnum' + status: + $ref: '#/components/schemas/Status4f5Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - link + - name + - published_date + type: object + BulkWritableCableRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + color: + maxLength: 6 + pattern: ^[0-9a-f]{6}$ + type: string + custom_fields: + additionalProperties: {} + type: object + id: + format: uuid + type: string + label: + maxLength: 100 + type: string + length: + maximum: 32767 + minimum: 0 + nullable: true + type: integer + length_unit: + $ref: '#/components/schemas/LengthUnitEnum' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/CableStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + termination_a_id: + format: uuid + type: string + termination_a_type: + type: string + termination_b_id: + format: uuid + type: string + termination_b_type: + type: string + type: + oneOf: + - $ref: '#/components/schemas/CableTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + required: + - id + - status + - termination_a_id + - termination_a_type + - termination_b_id + - termination_b_type + type: object + BulkWritableCapircaPolicyRequest: + description: CapircaPolicy Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + cfg: + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + device: + format: uuid + nullable: true + type: string + id: + format: uuid + type: string + net: + nullable: true + type: string + pol: + nullable: true + type: string + svc: + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + BulkWritableCircuitMaintenanceCircuitImpactRequest: + description: Serializer for API. + properties: + circuit: + format: uuid + type: string + id: + format: uuid + type: string + impact: + nullable: true + oneOf: + - $ref: '#/components/schemas/ImpactEnum' + - $ref: '#/components/schemas/BlankEnum' + - $ref: '#/components/schemas/NullEnum' + maintenance: + format: uuid + type: string + required: + - circuit + - id + - maintenance + type: object + BulkWritableCircuitMaintenanceRequest: + description: Serializer for API. + properties: + ack: + nullable: true + type: boolean + description: + nullable: true + type: string + end_time: + format: date-time + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + start_time: + format: date-time + type: string + status: + nullable: true + oneOf: + - $ref: '#/components/schemas/StatusD95Enum' + - $ref: '#/components/schemas/BlankEnum' + - $ref: '#/components/schemas/NullEnum' + required: + - end_time + - id + - start_time + type: object + BulkWritableCircuitRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + cid: + maxLength: 100 + minLength: 1 + title: Circuit ID + type: string + comments: + type: string + commit_rate: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Commit rate (Kbps) + type: integer + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + install_date: + format: date + nullable: true + title: Date installed + type: string + provider: + $ref: '#/components/schemas/NestedProviderRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/CircuitStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + type: + $ref: '#/components/schemas/NestedCircuitTypeRequest' + required: + - cid + - id + - provider + - status + - type + type: object + BulkWritableCircuitTerminationRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + circuit: + $ref: '#/components/schemas/NestedCircuitRequest' + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + port_speed: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Port speed (Kbps) + type: integer + pp_info: + maxLength: 100 + title: Patch panel/port(s) + type: string + provider_network: + allOf: + - $ref: '#/components/schemas/NestedProviderNetworkRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + allOf: + - $ref: '#/components/schemas/NestedSiteRequest' + nullable: true + term_side: + allOf: + - $ref: '#/components/schemas/TermSideEnum' + title: Termination + upstream_speed: + description: Upstream speed, if different from port speed + maximum: 2147483647 + minimum: 0 + nullable: true + title: Upstream speed (Kbps) + type: integer + xconnect_id: + maxLength: 50 + title: Cross-connect ID + type: string + required: + - circuit + - id + - term_side + type: object + BulkWritableCircuitTypeRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + - name + type: object + BulkWritableClusterGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + - name + type: object + BulkWritableClusterRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + group: + allOf: + - $ref: '#/components/schemas/NestedClusterGroupRequest' + nullable: true + id: + format: uuid + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + allOf: + - $ref: '#/components/schemas/NestedSiteRequest' + nullable: true + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + type: + $ref: '#/components/schemas/NestedClusterTypeRequest' + required: + - id + - name + - type + type: object + BulkWritableClusterTypeRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + - name + type: object + BulkWritableCommandTokenRequest: + description: API serializer for interacting with CommandToken objects. + properties: + comment: + description: 'Optional: Enter description of token' + maxLength: 255 + type: string + id: + format: uuid + type: string + platform: + $ref: '#/components/schemas/PlatformEnum' + token: + description: Token given by chat platform for signing or command validation + maxLength: 255 + minLength: 1 + type: string + required: + - id + - platform + - token + type: object + BulkWritableComplianceFeatureRequest: + description: Serializer for ComplianceFeature object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + minLength: 1 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - name + - slug + type: object + BulkWritableComplianceRuleRequest: + description: Serializer for ComplianceRule object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + config_ordered: + description: Whether or not the configuration order matters, such as in + ACLs. + title: Configured Ordered + type: boolean + config_type: + allOf: + - $ref: '#/components/schemas/ConfigTypeEnum' + description: Whether the config is in cli or json/structured format. + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + feature: + format: uuid + type: string + id: + format: uuid + type: string + match_config: + description: The config to match that is matched based on the parent most + configuration. e.g. `router bgp` or `ntp`. + nullable: true + title: Config to Match + type: string + platform: + format: uuid + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - config_ordered + - feature + - id + - platform + type: object + BulkWritableComputedFieldRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + content_type: + type: string + description: + maxLength: 200 + type: string + fallback_value: + description: Fallback value (if any) to be output for the field in the case + of a template rendering error. + maxLength: 500 + type: string + id: + format: uuid + type: string + label: + description: Name of the field as displayed to users + maxLength: 100 + minLength: 1 + type: string + slug: + description: Internal field name. Please use underscores rather than dashes + in this slug. + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + template: + description: Jinja2 template code for field value + maxLength: 500 + minLength: 1 + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - content_type + - id + - label + - template + type: object + BulkWritableConfigComplianceRequest: + description: Serializer for ConfigCompliance object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + actual: + additionalProperties: {} + description: Actual Configuration for feature + type: object + compliance: + nullable: true + type: boolean + compliance_int: + maximum: 2147483647 + minimum: -2147483648 + nullable: true + type: integer + custom_fields: + additionalProperties: {} + type: object + device: + description: The device + format: uuid + type: string + extra: + additionalProperties: {} + description: Configuration that should not be on the device. + type: object + id: + format: uuid + type: string + intended: + additionalProperties: {} + description: Intended Configuration for feature + type: object + missing: + additionalProperties: {} + description: Configuration that should be on the device. + type: object + ordered: + type: boolean + rule: + format: uuid + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - device + - id + - rule + type: object + BulkWritableConfigContextRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + cluster_groups: + items: + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + type: array + clusters: + items: + properties: + name: + maxLength: 100 + minLength: 1 + type: string + required: + - name + type: object + type: array + data: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_types: + items: + properties: + model: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - model + - slug + type: object + type: array + id: + format: uuid + type: string + is_active: + type: boolean + locations: + items: + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + type: array + name: + maxLength: 100 + minLength: 1 + type: string + owner_content_type: + nullable: true + type: string + owner_object_id: + format: uuid + nullable: true + type: string + platforms: + items: + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + type: array + regions: + items: + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + type: array + roles: + items: + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + type: array + schema: + allOf: + - $ref: '#/components/schemas/NestedConfigContextSchemaRequest' + nullable: true + sites: + items: + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + type: array + tags: + items: + type: string + type: array + tenant_groups: + items: + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + type: array + tenants: + items: + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + type: array + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - data + - id + - name + type: object + BulkWritableConfigContextSchemaRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + data_schema: + additionalProperties: {} + description: A JSON Schema document which is used to validate a config context + object. + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 200 + minLength: 1 + type: string + owner_content_type: + nullable: true + type: string + owner_object_id: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 200 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - data_schema + - id + - name + type: object + BulkWritableConfigRemoveRequest: + description: Serializer for ConfigRemove object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 255 + minLength: 1 + type: string + platform: + format: uuid + type: string + regex: + description: Regex pattern used to remove a line from the backup configuration. + maxLength: 200 + minLength: 1 + title: Regex Pattern + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - name + - platform + - regex + type: object + BulkWritableConfigReplaceRequest: + description: Serializer for ConfigReplace object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 255 + minLength: 1 + type: string + platform: + format: uuid + type: string + regex: + description: Regex pattern that will be found and replaced with 'replaced + text'. + maxLength: 200 + minLength: 1 + title: Regex Pattern to Substitute + type: string + replace: + description: Text that will be inserted in place of Regex pattern match. + maxLength: 200 + minLength: 1 + title: Replaced Text + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - name + - platform + - regex + - replace + type: object + BulkWritableConsolePortRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDeviceRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/ConsolePortTypeChoices' + required: + - device + - id + - name + type: object + BulkWritableConsolePortTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceTypeRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + $ref: '#/components/schemas/ConsolePortTypeChoices' + required: + - device_type + - id + - name + type: object + BulkWritableConsoleServerPortRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDeviceRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/ConsolePortTypeChoices' + required: + - device + - id + - name + type: object + BulkWritableConsoleServerPortTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceTypeRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + $ref: '#/components/schemas/ConsolePortTypeChoices' + required: + - device_type + - id + - name + type: object + BulkWritableContactLCMRequest: + description: API serializer. + properties: + address: + maxLength: 200 + type: string + comments: + type: string + contract: + allOf: + - $ref: '#/components/schemas/NestedContractLCMRequest' + description: Associated Contract + custom_fields: + additionalProperties: {} + type: object + email: + format: email + maxLength: 254 + title: Contact E-mail + type: string + id: + format: uuid + type: string + name: + maxLength: 80 + minLength: 1 + nullable: true + type: string + phone: + maxLength: 20 + type: string + priority: + maximum: 2147483647 + minimum: 0 + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - contract + - id + - name + type: object + BulkWritableContractLCMRequest: + description: API serializer. + properties: + contract_type: + maxLength: 32 + nullable: true + type: string + cost: + format: decimal + nullable: true + pattern: ^-?\d{0,13}(?:\.\d{0,2})?$ + title: Contract Cost + type: string + custom_fields: + additionalProperties: {} + type: object + end: + format: date + nullable: true + title: Contract End Date + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + provider: + allOf: + - $ref: '#/components/schemas/NestedProviderLCMRequest' + description: Vendor + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + start: + format: date + nullable: true + title: Contract Start Date + type: string + support_level: + maxLength: 64 + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - name + - provider + type: object + BulkWritableCustomFieldChoiceRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + field: + $ref: '#/components/schemas/NestedCustomFieldRequest' + id: + format: uuid + type: string + value: + maxLength: 100 + minLength: 1 + type: string + weight: + description: Higher weights appear later in the list + maximum: 32767 + minimum: 0 + type: integer + required: + - field + - id + - value + type: object + BulkWritableCustomLinkRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + button_class: + allOf: + - $ref: '#/components/schemas/ButtonClassEnum' + description: The class of the first link in a group will be used for the + dropdown button + content_type: + type: string + group_name: + description: Links with the same group will appear as a dropdown menu + maxLength: 50 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + new_window: + description: Force link to open in a new window + type: boolean + target_url: + description: Jinja2 template code for link URL. Reference the object as + {{ obj }} such as {{ obj.platform.slug }}. + maxLength: 500 + minLength: 1 + title: URL + type: string + text: + description: Jinja2 template code for link text. Reference the object as + {{ obj }} such as {{ obj.platform.slug }}. Links + which render as empty text will not be displayed. + maxLength: 500 + minLength: 1 + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - content_type + - id + - name + - new_window + - target_url + - text + type: object + BulkWritableDeviceBayRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDeviceRequest' + id: + format: uuid + type: string + installed_device: + allOf: + - $ref: '#/components/schemas/NestedDeviceRequest' + nullable: true + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - device + - id + - name + type: object + BulkWritableDeviceBayTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceTypeRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + required: + - device_type + - id + - name + type: object + BulkWritableDeviceRedundancyGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + failover_strategy: + $ref: '#/components/schemas/FailoverStrategyEnum' + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + secrets_group: + format: uuid + nullable: true + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + status: + $ref: '#/components/schemas/LocationStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - failover_strategy + - id + - name + - status + type: object + BulkWritableDeviceRoleRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + color: + maxLength: 6 + minLength: 1 + pattern: ^[0-9a-f]{6}$ + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + vm_role: + description: Virtual machines may be assigned to this role + type: boolean + required: + - id + - name + type: object + BulkWritableDeviceTypeRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + front_image: + format: binary + type: string + id: + format: uuid + type: string + is_full_depth: + description: Device consumes both front and rear rack faces + type: boolean + manufacturer: + $ref: '#/components/schemas/NestedManufacturerRequest' + model: + maxLength: 100 + minLength: 1 + type: string + part_number: + description: Discrete part number (optional) + maxLength: 50 + type: string + rear_image: + format: binary + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + subdevice_role: + $ref: '#/components/schemas/SubdeviceRoleEnum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + u_height: + maximum: 32767 + minimum: 0 + title: Height (U) + type: integer + required: + - id + - manufacturer + - model + type: object + BulkWritableDeviceWithConfigContextRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + asset_tag: + description: A unique tag used to identify this device + maxLength: 50 + nullable: true + type: string + cluster: + allOf: + - $ref: '#/components/schemas/NestedClusterRequest' + nullable: true + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + device_redundancy_group: + allOf: + - $ref: '#/components/schemas/NestedDeviceRedundancyGroupRequest' + nullable: true + device_redundancy_group_priority: + description: The priority the device has in the device redundancy group. + maximum: 32767 + minimum: 1 + nullable: true + type: integer + device_role: + $ref: '#/components/schemas/NestedDeviceRoleRequest' + device_type: + $ref: '#/components/schemas/NestedDeviceTypeRequest' + face: + $ref: '#/components/schemas/FaceEnum' + id: + format: uuid + type: string + local_context_data: + additionalProperties: {} + nullable: true + type: object + local_context_schema: + allOf: + - $ref: '#/components/schemas/NestedConfigContextSchemaRequest' + nullable: true + location: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + name: + maxLength: 64 + nullable: true + type: string + platform: + allOf: + - $ref: '#/components/schemas/NestedPlatformRequest' + nullable: true + position: + description: The lowest-numbered unit occupied by the device + maximum: 32767 + minimum: 1 + nullable: true + title: Position (U) + type: integer + primary_ip4: + allOf: + - $ref: '#/components/schemas/NestedIPAddressRequest' + nullable: true + primary_ip6: + allOf: + - $ref: '#/components/schemas/NestedIPAddressRequest' + nullable: true + rack: + allOf: + - $ref: '#/components/schemas/NestedRackRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + secrets_group: + allOf: + - $ref: '#/components/schemas/NestedSecretsGroupRequest' + nullable: true + serial: + maxLength: 255 + title: Serial number + type: string + site: + $ref: '#/components/schemas/NestedSiteRequest' + status: + $ref: '#/components/schemas/DeviceStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + vc_position: + maximum: 255 + minimum: 0 + nullable: true + type: integer + vc_priority: + maximum: 255 + minimum: 0 + nullable: true + type: integer + virtual_chassis: + allOf: + - $ref: '#/components/schemas/NestedVirtualChassisRequest' + nullable: true + required: + - device_role + - device_type + - id + - site + - status + type: object + BulkWritableDynamicGroupMembershipRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + group: + $ref: '#/components/schemas/NestedDynamicGroupRequest' + id: + format: uuid + type: string + operator: + $ref: '#/components/schemas/OperatorEnum' + parent_group: + $ref: '#/components/schemas/NestedDynamicGroupRequest' + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - group + - id + - operator + - parent_group + - weight + type: object + BulkWritableDynamicGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + content_type: + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + filter: + additionalProperties: {} + description: A JSON-encoded dictionary of filter parameters for group membership + type: object + id: + format: uuid + type: string + name: + description: Dynamic Group name + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + description: Unique slug + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - content_type + - filter + - id + - name + type: object + BulkWritableExportTemplateRequest: + description: Extend ValidatedModelSerializer with a `relationships` field. + properties: + content_type: + type: string + description: + maxLength: 200 + type: string + file_extension: + description: Extension to append to the rendered filename + maxLength: 15 + type: string + id: + format: uuid + type: string + mime_type: + description: Defaults to text/plain + maxLength: 50 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + owner_content_type: + nullable: true + type: string + owner_object_id: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + template_code: + description: The list of objects being exported is passed as a context variable + named queryset. + minLength: 1 + type: string + required: + - content_type + - id + - name + - template_code + type: object + BulkWritableFQDNRequest: + description: FQDN Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + ip_addresses: + items: + properties: + address: + minLength: 1 + type: string + required: + - address + type: object + type: array + name: + description: Resolvable fully qualified domain name (e.g. networktocode.com) + maxLength: 254 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - name + type: object + BulkWritableFrontPortRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDeviceRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + rear_port: + $ref: '#/components/schemas/FrontPortRearPortRequest' + rear_port_position: + default: 1 + maximum: 1024 + minimum: 1 + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/PortTypeChoices' + required: + - device + - id + - name + - rear_port + - type + type: object + BulkWritableFrontPortTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceTypeRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + rear_port: + $ref: '#/components/schemas/NestedRearPortTemplateRequest' + rear_port_position: + default: 1 + maximum: 1024 + minimum: 1 + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + $ref: '#/components/schemas/PortTypeChoices' + required: + - device_type + - id + - name + - rear_port + - type + type: object + BulkWritableGitRepositoryRequest: + description: Git repositories defined as a data source. + properties: + branch: + maxLength: 64 + minLength: 1 + type: string + current_head: + description: Commit hash of the most recent fetch from the selected branch. + Used for syncing between workers. + maxLength: 48 + type: string + custom_fields: + additionalProperties: {} + type: object + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + provided_contents: + items: + oneOf: + - $ref: '#/components/schemas/ProvidedContentsEnum' + - $ref: '#/components/schemas/BlankEnum' + type: array + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + remote_url: + description: Only HTTP and HTTPS URLs are presently supported + format: uri + maxLength: 255 + minLength: 1 + type: string + secrets_group: + allOf: + - $ref: '#/components/schemas/NestedSecretsGroupRequest' + nullable: true + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + token: + minLength: 1 + type: string + writeOnly: true + username: + maxLength: 64 + type: string + required: + - id + - name + - remote_url + type: object + BulkWritableGoldenConfigRequest: + description: Serializer for GoldenConfig object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + backup_config: + description: Full backup config for device. + type: string + backup_last_attempt_date: + format: date-time + nullable: true + type: string + backup_last_success_date: + format: date-time + nullable: true + type: string + compliance_config: + description: Full config diff for device. + type: string + compliance_last_attempt_date: + format: date-time + nullable: true + type: string + compliance_last_success_date: + format: date-time + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + device: + description: device + format: uuid + type: string + id: + format: uuid + type: string + intended_config: + description: Intended config for the device. + type: string + intended_last_attempt_date: + format: date-time + nullable: true + type: string + intended_last_success_date: + format: date-time + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - device + - id + type: object + BulkWritableGoldenConfigSettingRequest: + description: Serializer for GoldenConfigSetting object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + backup_path_template: + description: The Jinja path representation of where the backup file will + be found. The variable `obj` is available as the device instance object + of a given device, as is the case for all Jinja templates. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + maxLength: 255 + title: Backup Path in Jinja Template Form + type: string + backup_repository: + format: uuid + nullable: true + type: string + backup_test_connectivity: + description: Whether or not to pretest the connectivity of the device by + verifying there is a resolvable IP that can connect to port 22. + title: Backup Test + type: boolean + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + dynamic_group: + $ref: '#/components/schemas/NestedDynamicGroupRequest' + id: + format: uuid + type: string + intended_path_template: + description: The Jinja path representation of where the generated file will + be places. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + maxLength: 255 + title: Intended Path in Jinja Template Form + type: string + intended_repository: + format: uuid + nullable: true + type: string + jinja_path_template: + description: The Jinja path representation of where the Jinja template can + be found. e.g. `{{obj.platform.slug}}.j2` + maxLength: 255 + title: Template Path in Jinja Template Form + type: string + jinja_repository: + format: uuid + nullable: true + type: string + name: + maxLength: 100 + minLength: 1 + type: string + scope: + additionalProperties: {} + type: object + slug: + maxLength: 100 + minLength: 1 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + sot_agg_query: + format: uuid + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - id + - name + - slug + type: object + BulkWritableGraphQLQueryRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + query: + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + variables: + additionalProperties: {} + default: {} + nullable: true + type: object + required: + - id + - name + - query + type: object + BulkWritableGroupRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + id: + type: integer + name: + maxLength: 150 + minLength: 1 + type: string + required: + - id + - name + type: object + BulkWritableHardwareLCMRequest: + description: API serializer. + properties: + custom_fields: + additionalProperties: {} + type: object + device_type: + allOf: + - $ref: '#/components/schemas/NestedDeviceTypeRequest' + description: Device Type to attach the Hardware LCM to + documentation_url: + format: uri + maxLength: 200 + type: string + end_of_sale: + format: date + nullable: true + type: string + end_of_security_patches: + format: date + nullable: true + type: string + end_of_support: + format: date + nullable: true + type: string + end_of_sw_releases: + format: date + nullable: true + title: End of Software Releases + type: string + id: + format: uuid + type: string + inventory_item: + maxLength: 255 + nullable: true + title: Inventory Item Part + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + release_date: + format: date + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - device_type + - id + type: object + BulkWritableIPAddressRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + address: + minLength: 1 + type: string + assigned_object_id: + format: uuid + nullable: true + type: string + assigned_object_type: + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + dns_name: + description: Hostname or FQDN (not case-sensitive) + maxLength: 255 + pattern: ^[0-9A-Za-z._-]+$ + type: string + id: + format: uuid + type: string + nat_inside: + allOf: + - $ref: '#/components/schemas/NestedIPAddressRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + role: + $ref: '#/components/schemas/RoleEnum' + status: + $ref: '#/components/schemas/IPAddressStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + vrf: + allOf: + - $ref: '#/components/schemas/NestedVRFRequest' + nullable: true + required: + - address + - id + - status + type: object + BulkWritableIPRangeRequest: + description: IPRange Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + end_address: + minLength: 1 + type: string + id: + format: uuid + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + start_address: + minLength: 1 + type: string + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + vrf: + format: uuid + nullable: true + type: string + required: + - end_address + - id + - start_address + type: object + BulkWritableImageAttachmentRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + content_type: + type: string + id: + format: uuid + type: string + image: + format: binary + type: string + image_height: + maximum: 32767 + minimum: 0 + type: integer + image_width: + maximum: 32767 + minimum: 0 + type: integer + name: + maxLength: 50 + type: string + object_id: + format: uuid + type: string + required: + - content_type + - id + - image + - image_height + - image_width + - object_id + type: object + BulkWritableInterfaceRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + bridge: + allOf: + - $ref: '#/components/schemas/NestedInterfaceRequest' + nullable: true + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDeviceRequest' + enabled: + type: boolean + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + lag: + allOf: + - $ref: '#/components/schemas/NestedInterfaceRequest' + nullable: true + mac_address: + maxLength: 18 + nullable: true + type: string + mgmt_only: + description: This interface is used only for out-of-band management + title: Management only + type: boolean + mode: + $ref: '#/components/schemas/ModeEnum' + mtu: + maximum: 65536 + minimum: 1 + nullable: true + type: integer + name: + maxLength: 64 + minLength: 1 + type: string + parent_interface: + allOf: + - $ref: '#/components/schemas/NestedInterfaceRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/InterfaceStatusChoices' + tagged_vlans: + items: + properties: + name: + maxLength: 64 + minLength: 1 + type: string + vid: + maximum: 4094 + minimum: 1 + title: ID + type: integer + required: + - name + - vid + type: object + type: array + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/InterfaceTypeChoices' + untagged_vlan: + allOf: + - $ref: '#/components/schemas/NestedVLANRequest' + nullable: true + required: + - device + - id + - name + - status + - type + type: object + BulkWritableInterfaceTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceTypeRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + mgmt_only: + title: Management only + type: boolean + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + $ref: '#/components/schemas/InterfaceTypeChoices' + required: + - device_type + - id + - name + - type + type: object + BulkWritableInventoryItemRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + asset_tag: + description: A unique tag used to identify this item + maxLength: 50 + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDeviceRequest' + discovered: + description: This item was automatically discovered + type: boolean + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + manufacturer: + allOf: + - $ref: '#/components/schemas/NestedManufacturerRequest' + nullable: true + name: + maxLength: 64 + minLength: 1 + type: string + parent: + format: uuid + nullable: true + type: string + part_id: + description: Manufacturer-assigned part identifier + maxLength: 50 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + serial: + maxLength: 255 + title: Serial number + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - device + - id + - name + type: object + BulkWritableJobHookRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + content_types: + items: + type: string + type: array + custom_fields: + additionalProperties: {} + type: object + enabled: + type: boolean + id: + format: uuid + type: string + job: + description: The job that this job hook will initiate + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type_create: + description: Call this job hook when a matching object is created. + type: boolean + type_delete: + description: Call this job hook when a matching object is deleted. + type: boolean + type_update: + description: Call this job hook when a matching object is updated. + type: boolean + required: + - content_types + - id + - job + - name + type: object + BulkWritableJobRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + approval_required: + description: Whether the job requires approval from another user before + running + type: boolean + approval_required_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + commit_default: + description: Whether the job defaults to committing changes when run, or + defaults to a dry-run + type: boolean + commit_default_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + custom_fields: + additionalProperties: {} + type: object + description: + description: Markdown formatting is supported + type: string + description_override: + description: If set, the configured description will remain even if the + underlying Job source code changes + type: boolean + enabled: + description: Whether this job can be executed by users + type: boolean + grouping: + description: Human-readable grouping that this job belongs to + maxLength: 255 + minLength: 1 + type: string + grouping_override: + description: If set, the configured grouping will remain even if the underlying + Job source code changes + type: boolean + has_sensitive_variables: + description: Whether this job contains sensitive variables + type: boolean + has_sensitive_variables_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + hidden: + description: Whether the job defaults to not being shown in the UI + type: boolean + hidden_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + id: + format: uuid + type: string + name: + description: Human-readable name of this job + maxLength: 100 + minLength: 1 + type: string + name_override: + description: If set, the configured name will remain even if the underlying + Job source code changes + type: boolean + read_only: + description: Whether the job is prevented from making lasting changes to + the database + type: boolean + read_only_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 320 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + soft_time_limit: + description: Maximum runtime in seconds before the job will receive a SoftTimeLimitExceeded + exception.
Set to 0 to use Nautobot system default + format: double + minimum: 0 + type: number + soft_time_limit_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + task_queues: + additionalProperties: {} + description: Comma separated list of task queues that this job can run on. + A blank list will use the default queue + type: object + task_queues_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + time_limit: + description: Maximum runtime in seconds before the job will be forcibly + terminated.
Set to 0 to use Nautobot system default + format: double + minimum: 0 + type: number + time_limit_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + required: + - grouping + - id + - name + type: object + BulkWritableLocationRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + location_type: + $ref: '#/components/schemas/NestedLocationTypeRequest' + name: + maxLength: 100 + minLength: 1 + type: string + parent: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + allOf: + - $ref: '#/components/schemas/NestedSiteRequest' + nullable: true + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + status: + $ref: '#/components/schemas/LocationStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + required: + - id + - location_type + - name + - status + type: object + BulkWritableLocationTypeRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + content_types: + items: + type: string + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + nestable: + description: Allow Locations of this type to be parents/children of other + Locations of this same type + type: boolean + parent: + allOf: + - $ref: '#/components/schemas/NestedLocationTypeRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + - name + type: object + BulkWritableManufacturerRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + - name + type: object + BulkWritableMinMaxValidationRuleRequest: + description: Serializer for `MinMaxValidationRule` objects. + properties: + content_type: + type: string + enabled: + type: boolean + error_message: + description: Optional error message to display when validation fails. + maxLength: 255 + nullable: true + type: string + field: + maxLength: 50 + minLength: 1 + type: string + id: + format: uuid + type: string + max: + description: When set, apply a maximum value contraint to the value of the + model field. + format: double + nullable: true + type: number + min: + description: When set, apply a minimum value contraint to the value of the + model field. + format: double + nullable: true + type: number + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + minLength: 1 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - content_type + - field + - id + - name + - slug + type: object + BulkWritableNATPolicyRequest: + description: NATPolicy Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + assigned_devices: + items: + $ref: '#/components/schemas/NATPolicyDeviceM2MNestedRequest' + type: array + assigned_dynamic_groups: + items: + $ref: '#/components/schemas/NATPolicyDynamicGroupM2MNestedRequest' + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + required: + - id + - name + type: object + BulkWritableNATPolicyRuleRequest: + description: PolicyRule Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + nullable: true + type: string + destination_zone: + $ref: '#/components/schemas/ZoneRequest' + id: + format: uuid + type: string + index: + maximum: 32767 + minimum: 0 + nullable: true + type: integer + log: + type: boolean + name: + maxLength: 100 + minLength: 1 + type: string + original_destination_address_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + address_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + original_destination_addresses: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + original_destination_service_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + service_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. + HTTP would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + original_destination_services: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP + would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + original_source_address_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + address_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + original_source_addresses: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + original_source_service_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + service_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. + HTTP would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + original_source_services: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP + would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + remark: + type: boolean + request_id: + maxLength: 100 + nullable: true + type: string + source_zone: + $ref: '#/components/schemas/ZoneRequest' + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + translated_destination_address_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + address_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + translated_destination_addresses: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + translated_destination_service_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + service_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. + HTTP would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + translated_destination_services: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP + would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + translated_source_address_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + address_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + translated_source_addresses: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + translated_source_service_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + service_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. + HTTP would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + translated_source_services: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP + would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + required: + - id + - name + type: object + BulkWritableNoteRequest: + description: 'This base serializer implements common fields and logic for all + ModelSerializers. + + + Namely, it: + + + - defines the `display` field which exposes a human friendly value for the + given object. + + - ensures that `id` field is always present on the serializer as well + + - ensures that `created` and `last_updated` fields are always present if applicable + to this model and serializer.' + properties: + assigned_object_id: + format: uuid + type: string + assigned_object_type: + type: string + id: + format: uuid + type: string + note: + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - assigned_object_id + - assigned_object_type + - id + - note + type: object + BulkWritableObjectPermissionRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + actions: + additionalProperties: {} + description: The list of actions granted by this permission + type: object + constraints: + additionalProperties: {} + description: Queryset filter matching the applicable objects of the selected + type(s) + nullable: true + type: object + description: + maxLength: 200 + type: string + enabled: + type: boolean + groups: + items: + properties: + name: + maxLength: 150 + minLength: 1 + type: string + required: + - name + type: object + type: array + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + object_types: + items: + type: string + type: array + users: + items: + properties: + username: + description: Required. 150 characters or fewer. Letters, digits and + @/./+/-/_ only. + maxLength: 150 + minLength: 1 + pattern: ^[\w.@+-]+$ + type: string + required: + - username + type: object + type: array + required: + - actions + - id + - name + - object_types + type: object + BulkWritablePeerEndpointRequest: + description: REST API serializer for PeerEndpoint records. + properties: + autonomous_system: + allOf: + - $ref: '#/components/schemas/NestedAutonomousSystemRequest' + nullable: true + custom_fields: + additionalProperties: {} + type: object + enabled: + type: boolean + export_policy: + maxLength: 100 + type: string + id: + format: uuid + type: string + import_policy: + maxLength: 100 + type: string + peer_group: + allOf: + - $ref: '#/components/schemas/NestedPeerGroupRequest' + nullable: true + peering: + allOf: + - $ref: '#/components/schemas/NestedPeeringRequest' + nullable: true + secret: + allOf: + - $ref: '#/components/schemas/NestedSecretRequest' + nullable: true + source_interface: + allOf: + - $ref: '#/components/schemas/NestedInterfaceRequest' + nullable: true + source_ip: + allOf: + - $ref: '#/components/schemas/NestedIPAddressRequest' + nullable: true + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - peering + type: object + BulkWritablePeerGroupRequest: + description: REST API serializer for PeerGroup records. + properties: + autonomous_system: + allOf: + - $ref: '#/components/schemas/NestedAutonomousSystemRequest' + nullable: true + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + enabled: + type: boolean + export_policy: + maxLength: 100 + type: string + id: + format: uuid + type: string + import_policy: + maxLength: 100 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + role: + format: uuid + nullable: true + type: string + secret: + allOf: + - $ref: '#/components/schemas/NestedSecretRequest' + nullable: true + source_interface: + allOf: + - $ref: '#/components/schemas/NestedInterfaceRequest' + nullable: true + source_ip: + allOf: + - $ref: '#/components/schemas/NestedIPAddressRequest' + nullable: true + template: + allOf: + - $ref: '#/components/schemas/NestedPeerGroupTemplateRequest' + nullable: true + required: + - id + - name + type: object + BulkWritablePeerGroupTemplateRequest: + description: REST API serializer for PeerGroup records. + properties: + autonomous_system: + allOf: + - $ref: '#/components/schemas/NestedAutonomousSystemRequest' + nullable: true + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + enabled: + type: boolean + export_policy: + maxLength: 100 + type: string + id: + format: uuid + type: string + import_policy: + maxLength: 100 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + role: + format: uuid + nullable: true + type: string + secret: + allOf: + - $ref: '#/components/schemas/NestedSecretRequest' + nullable: true + required: + - id + - name + type: object + BulkWritablePeeringRequest: + description: REST API serializer for Peering records. + properties: + custom_fields: + additionalProperties: {} + type: object + id: + format: uuid + type: string + status: + $ref: '#/components/schemas/CircuitStatusChoices' + required: + - id + - status + type: object + BulkWritablePeeringRoleRequest: + description: REST API serializer for PeeringRole records. + properties: + color: + maxLength: 6 + minLength: 1 + pattern: ^[0-9a-f]{6}$ + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + - name + type: object + BulkWritablePlatformRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + manufacturer: + allOf: + - $ref: '#/components/schemas/NestedManufacturerRequest' + nullable: true + name: + maxLength: 100 + minLength: 1 + type: string + napalm_args: + additionalProperties: {} + description: Additional arguments to pass when initiating the NAPALM driver + (JSON format) + nullable: true + title: NAPALM arguments + type: object + napalm_driver: + description: The name of the NAPALM driver to use when interacting with + devices + maxLength: 50 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + - name + type: object + BulkWritablePolicyRequest: + description: Policy Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + assigned_devices: + items: + $ref: '#/components/schemas/PolicyDeviceM2MNestedRequest' + type: array + assigned_dynamic_groups: + items: + $ref: '#/components/schemas/PolicyDynamicGroupM2MNestedRequest' + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + required: + - id + - name + type: object + BulkWritablePolicyRuleRequest: + description: PolicyRule Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + action: + $ref: '#/components/schemas/ActionEnum' + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + nullable: true + type: string + destination_address_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + address_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + destination_addresses: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + destination_service_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + service_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. + HTTP would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + destination_services: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP + would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + destination_zone: + $ref: '#/components/schemas/ZoneRequest' + id: + format: uuid + type: string + index: + maximum: 32767 + minimum: 0 + nullable: true + type: integer + log: + type: boolean + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + request_id: + maxLength: 100 + nullable: true + type: string + source_address_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + address_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + source_addresses: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + source_user_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + user_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + name: + description: Signifies the name of the user, commonly first + & last name (e.g. John Smith) + maxLength: 100 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + username: + description: Signifies the username in identify provider (e.g. + john.smith) + maxLength: 100 + minLength: 1 + type: string + required: + - username + type: object + type: array + required: + - name + type: object + type: array + source_users: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + name: + description: Signifies the name of the user, commonly first & last + name (e.g. John Smith) + maxLength: 100 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + username: + description: Signifies the username in identify provider (e.g. john.smith) + maxLength: 100 + minLength: 1 + type: string + required: + - username + type: object + type: array + source_zone: + $ref: '#/components/schemas/ZoneRequest' + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - action + - id + - name + type: object + BulkWritablePowerFeedRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + amperage: + maximum: 32767 + minimum: 1 + type: integer + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + id: + format: uuid + type: string + max_utilization: + description: Maximum permissible draw (percentage) + maximum: 100 + minimum: 1 + type: integer + name: + maxLength: 100 + minLength: 1 + type: string + phase: + allOf: + - $ref: '#/components/schemas/PhaseEnum' + default: + label: Single phase + value: single-phase + power_panel: + $ref: '#/components/schemas/NestedPowerPanelRequest' + rack: + allOf: + - $ref: '#/components/schemas/NestedRackRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/PowerFeedStatusChoices' + supply: + allOf: + - $ref: '#/components/schemas/SupplyEnum' + default: + label: AC + value: ac + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + allOf: + - $ref: '#/components/schemas/PowerFeedTypeChoices' + default: + label: Primary + value: primary + voltage: + maximum: 32767 + minimum: -32768 + type: integer + required: + - id + - name + - power_panel + - status + type: object + BulkWritablePowerOutletRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDeviceRequest' + feed_leg: + $ref: '#/components/schemas/FeedLegEnum' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + power_port: + $ref: '#/components/schemas/NestedPowerPortRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/PowerOutletTypeChoices' + required: + - device + - id + - name + type: object + BulkWritablePowerOutletTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceTypeRequest' + feed_leg: + $ref: '#/components/schemas/FeedLegEnum' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + power_port: + $ref: '#/components/schemas/NestedPowerPortTemplateRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + $ref: '#/components/schemas/PowerOutletTypeChoices' + required: + - device_type + - id + - name + type: object + BulkWritablePowerPanelRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + id: + format: uuid + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + name: + maxLength: 100 + minLength: 1 + type: string + rack_group: + allOf: + - $ref: '#/components/schemas/NestedRackGroupRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + $ref: '#/components/schemas/NestedSiteRequest' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - name + - site + type: object + BulkWritablePowerPortRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + allocated_draw: + description: Allocated power draw (watts) + maximum: 32767 + minimum: 1 + nullable: true + type: integer + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDeviceRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + maximum_draw: + description: Maximum power draw (watts) + maximum: 32767 + minimum: 1 + nullable: true + type: integer + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/PowerPortTypeChoices' + required: + - device + - id + - name + type: object + BulkWritablePowerPortTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + allocated_draw: + description: Allocated power draw (watts) + maximum: 32767 + minimum: 1 + nullable: true + type: integer + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceTypeRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + maximum_draw: + description: Maximum power draw (watts) + maximum: 32767 + minimum: 1 + nullable: true + type: integer + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + $ref: '#/components/schemas/PowerPortTypeChoices' + required: + - device_type + - id + - name + type: object + BulkWritablePrefixRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + is_pool: + description: All IP addresses within this prefix are considered usable + title: Is a pool + type: boolean + location: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + prefix: + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + role: + allOf: + - $ref: '#/components/schemas/NestedRoleRequest' + nullable: true + site: + allOf: + - $ref: '#/components/schemas/NestedSiteRequest' + nullable: true + status: + $ref: '#/components/schemas/PrefixStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + vlan: + allOf: + - $ref: '#/components/schemas/NestedVLANRequest' + nullable: true + vrf: + allOf: + - $ref: '#/components/schemas/NestedVRFRequest' + nullable: true + required: + - id + - prefix + - status + type: object + BulkWritableProviderLCMRequest: + description: API serializer. + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + email: + format: email + maxLength: 254 + title: E-mail + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + phone: + maxLength: 20 + type: string + physical_address: + maxLength: 200 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - name + type: object + BulkWritableProviderNetworkRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + provider: + $ref: '#/components/schemas/NestedProviderRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - name + - provider + type: object + BulkWritableProviderRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + account: + maxLength: 100 + title: Account number + type: string + admin_contact: + type: string + asn: + description: 32-bit autonomous system number + format: int64 + maximum: 4294967295 + minimum: 1 + nullable: true + type: integer + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + noc_contact: + type: string + portal_url: + format: uri + maxLength: 200 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - name + type: object + BulkWritableRIRRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + is_private: + description: IP space managed by this RIR is considered private + title: Private + type: boolean + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + - name + type: object + BulkWritableRackGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + name: + maxLength: 100 + minLength: 1 + type: string + parent: + allOf: + - $ref: '#/components/schemas/NestedRackGroupRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + $ref: '#/components/schemas/NestedSiteRequest' + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + - name + - site + type: object + BulkWritableRackRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + asset_tag: + description: A unique tag used to identify this rack + maxLength: 50 + nullable: true + type: string + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + desc_units: + description: Units are numbered top-to-bottom + title: Descending units + type: boolean + facility_id: + description: Locally-assigned identifier + maxLength: 50 + nullable: true + type: string + group: + allOf: + - $ref: '#/components/schemas/NestedRackGroupRequest' + nullable: true + id: + format: uuid + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + name: + maxLength: 100 + minLength: 1 + type: string + outer_depth: + description: Outer dimension of rack (depth) + maximum: 32767 + minimum: 0 + nullable: true + type: integer + outer_unit: + $ref: '#/components/schemas/OuterUnitEnum' + outer_width: + description: Outer dimension of rack (width) + maximum: 32767 + minimum: 0 + nullable: true + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + role: + allOf: + - $ref: '#/components/schemas/NestedRackRoleRequest' + nullable: true + serial: + maxLength: 255 + title: Serial number + type: string + site: + $ref: '#/components/schemas/NestedSiteRequest' + status: + $ref: '#/components/schemas/RackStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + type: + $ref: '#/components/schemas/RackTypeChoices' + u_height: + description: Height in rack units + maximum: 100 + minimum: 1 + title: Height (U) + type: integer + width: + $ref: '#/components/schemas/WidthEnum' + required: + - id + - name + - site + - status + type: object + BulkWritableRackReservationRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + minLength: 1 + type: string + id: + format: uuid + type: string + rack: + $ref: '#/components/schemas/NestedRackRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + units: + additionalProperties: {} + type: object + user: + $ref: '#/components/schemas/NestedUserRequest' + required: + - description + - id + - rack + - units + - user + type: object + BulkWritableRackRoleRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + color: + maxLength: 6 + minLength: 1 + pattern: ^[0-9a-f]{6}$ + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + - name + type: object + BulkWritableRearPortRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDeviceRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + positions: + maximum: 1024 + minimum: 1 + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/PortTypeChoices' + required: + - device + - id + - name + - type + type: object + BulkWritableRearPortTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceTypeRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + positions: + maximum: 1024 + minimum: 1 + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + $ref: '#/components/schemas/PortTypeChoices' + required: + - device_type + - id + - name + - type + type: object + BulkWritableRegionRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + parent: + allOf: + - $ref: '#/components/schemas/NestedRegionRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + - name + type: object + BulkWritableRegularExpressionValidationRuleRequest: + description: Serializer for `RegularExpressionValidationRule` objects. + properties: + content_type: + type: string + enabled: + type: boolean + error_message: + description: Optional error message to display when validation fails. + maxLength: 255 + nullable: true + type: string + field: + maxLength: 50 + minLength: 1 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + regular_expression: + minLength: 1 + type: string + slug: + maxLength: 100 + minLength: 1 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - content_type + - field + - id + - name + - regular_expression + - slug + type: object + BulkWritableRelationshipAssociationRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + destination_id: + format: uuid + type: string + destination_type: + type: string + id: + format: uuid + type: string + relationship: + $ref: '#/components/schemas/NestedRelationshipRequest' + source_id: + format: uuid + type: string + source_type: + type: string + required: + - destination_id + - destination_type + - id + - relationship + - source_id + - source_type + type: object + BulkWritableRelationshipRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + description: + maxLength: 200 + type: string + destination_filter: + additionalProperties: {} + description: Filterset filter matching the applicable destination objects + of the selected type + nullable: true + type: object + destination_hidden: + description: Hide this relationship on the destination object. + title: Hide for destination object + type: boolean + destination_label: + description: Label for related source objects, as displayed on the destination + object. + maxLength: 50 + type: string + destination_type: + type: string + id: + format: uuid + type: string + name: + description: Name of the relationship as displayed to users + maxLength: 100 + minLength: 1 + type: string + required_on: + description: Objects on the specified side MUST implement this relationship. + Not permitted for symmetric relationships. + oneOf: + - $ref: '#/components/schemas/RequiredOnEnum' + - $ref: '#/components/schemas/BlankEnum' + slug: + description: Internal relationship name. Please use underscores rather than + dashes in this slug. + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + source_filter: + additionalProperties: {} + description: Filterset filter matching the applicable source objects of + the selected type + nullable: true + type: object + source_hidden: + description: Hide this relationship on the source object. + title: Hide for source object + type: boolean + source_label: + description: Label for related destination objects, as displayed on the + source object. + maxLength: 50 + type: string + source_type: + type: string + type: + allOf: + - $ref: '#/components/schemas/RelationshipTypeChoices' + description: Cardinality of this relationship + required: + - destination_type + - id + - name + - source_type + type: object + BulkWritableRoleRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - id + - name + type: object + BulkWritableRouteTargetRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + description: Route target value (formatted in accordance with RFC 4360) + maxLength: 21 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + required: + - id + - name + type: object + BulkWritableSecretRequest: + description: Serializer for `Secret` objects. + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + parameters: + additionalProperties: {} + type: object + provider: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - name + - provider + type: object + BulkWritableSecretsGroupAssociationRequest: + description: Serializer for `SecretsGroupAssociation` objects. + properties: + access_type: + $ref: '#/components/schemas/AccessTypeEnum' + group: + $ref: '#/components/schemas/NestedSecretsGroupRequest' + id: + format: uuid + type: string + secret: + $ref: '#/components/schemas/NestedSecretRequest' + secret_type: + $ref: '#/components/schemas/SecretTypeEnum' + required: + - access_type + - group + - id + - secret + - secret_type + type: object + BulkWritableSecretsGroupRequest: + description: Serializer for `SecretsGroup` objects. + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + - name + type: object + BulkWritableServiceObjectGroupRequest: + description: ServiceObjectGroup Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + service_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP + would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - name + type: object + BulkWritableServiceObjectRequest: + description: ServiceObject Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + ip_protocol: + allOf: + - $ref: '#/components/schemas/IpProtocolEnum' + description: IANA IP Protocol (e.g. TCP UDP ICMP) + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP would + be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - ip_protocol + - name + type: object + BulkWritableServiceRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + allOf: + - $ref: '#/components/schemas/NestedDeviceRequest' + nullable: true + id: + format: uuid + type: string + ipaddresses: + items: + properties: + address: + minLength: 1 + type: string + required: + - address + type: object + type: array + name: + maxLength: 100 + minLength: 1 + type: string + ports: + items: + maximum: 65535 + minimum: 1 + type: integer + type: array + protocol: + $ref: '#/components/schemas/ProtocolEnum' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + virtual_machine: + allOf: + - $ref: '#/components/schemas/NestedVirtualMachineRequest' + nullable: true + required: + - id + - name + - ports + type: object + BulkWritableSiteRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + asn: + description: 32-bit autonomous system number + format: int64 + maximum: 4294967295 + minimum: 1 + nullable: true + type: integer + comments: + type: string + contact_email: + format: email + maxLength: 254 + title: Contact E-mail + type: string + contact_name: + maxLength: 50 + type: string + contact_phone: + maxLength: 20 + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + facility: + description: Local facility ID or description + maxLength: 50 + type: string + id: + format: uuid + type: string + latitude: + description: GPS coordinate (latitude) + format: decimal + nullable: true + pattern: ^-?\d{0,2}(?:\.\d{0,6})?$ + type: string + longitude: + description: GPS coordinate (longitude) + format: decimal + nullable: true + pattern: ^-?\d{0,3}(?:\.\d{0,6})?$ + type: string + name: + maxLength: 100 + minLength: 1 + type: string + physical_address: + maxLength: 200 + type: string + region: + allOf: + - $ref: '#/components/schemas/NestedRegionRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + shipping_address: + maxLength: 200 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + status: + $ref: '#/components/schemas/LocationStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + time_zone: + nullable: true + type: string + required: + - id + - name + - status + type: object + BulkWritableSoftwareImageLCMRequest: + description: REST API serializer for SoftwareImageLCM records. + properties: + custom_fields: + additionalProperties: {} + type: object + default_image: + type: boolean + device_types: + items: + format: uuid + type: string + type: array + download_url: + format: uri + maxLength: 200 + type: string + id: + format: uuid + type: string + image_file_checksum: + maxLength: 256 + type: string + image_file_name: + maxLength: 100 + minLength: 1 + type: string + inventory_items: + items: + format: uuid + type: string + type: array + object_tags: + items: + format: uuid + type: string + type: array + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + software: + $ref: '#/components/schemas/NestedSoftwareLCMRequest' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - image_file_name + - software + type: object + BulkWritableSoftwareLCMRequest: + description: REST API serializer for SoftwareLCM records. + properties: + alias: + maxLength: 50 + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + device_platform: + $ref: '#/components/schemas/NestedPlatformRequest' + documentation_url: + format: uri + maxLength: 200 + type: string + end_of_support: + format: date + nullable: true + title: End of Software Support + type: string + id: + format: uuid + type: string + long_term_support: + type: boolean + pre_release: + type: boolean + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + release_date: + format: date + nullable: true + type: string + software_images: + items: + properties: + default_image: + type: boolean + device_types: + items: + format: uuid + type: string + type: array + download_url: + format: uri + maxLength: 200 + type: string + image_file_checksum: + maxLength: 256 + type: string + image_file_name: + maxLength: 100 + minLength: 1 + type: string + inventory_items: + items: + format: uuid + type: string + type: array + object_tags: + items: + format: uuid + type: string + type: array + required: + - image_file_name + type: object + type: array + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + version: + maxLength: 50 + minLength: 1 + type: string + required: + - device_platform + - id + - version + type: object + BulkWritableStatusRequest: + description: Serializer for `Status` objects. + properties: + color: + maxLength: 6 + minLength: 1 + pattern: ^[0-9a-f]{6}$ + type: string + content_types: + items: + type: string + type: array + custom_fields: + additionalProperties: {} + type: object + id: + format: uuid + type: string + name: + maxLength: 50 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 50 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - content_types + - id + - name + type: object + BulkWritableTagSerializerVersion13Request: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + color: + maxLength: 6 + minLength: 1 + pattern: ^[0-9a-f]{6}$ + type: string + content_types: + items: + type: string + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + minLength: 1 + pattern: ^[-\w]+$ + type: string + required: + - content_types + - id + - name + - slug + type: object + BulkWritableTenantGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + parent: + allOf: + - $ref: '#/components/schemas/NestedTenantGroupRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + - name + type: object + BulkWritableTenantRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + group: + $ref: '#/components/schemas/NestedTenantGroupRequest' + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - name + type: object + BulkWritableTokenRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + description: + maxLength: 200 + type: string + expires: + format: date-time + nullable: true + type: string + id: + format: uuid + type: string + key: + maxLength: 40 + minLength: 40 + type: string + write_enabled: + description: Permit create/update/delete operations using this key + type: boolean + required: + - id + type: object + BulkWritableUserObjectGroupRequest: + description: UserObjectGroup Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + user_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + name: + description: Signifies the name of the user, commonly first & last + name (e.g. John Smith) + maxLength: 100 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + username: + description: Signifies the username in identify provider (e.g. john.smith) + maxLength: 100 + minLength: 1 + type: string + required: + - username + type: object + type: array + required: + - id + - name + type: object + BulkWritableUserObjectRequest: + description: UserObject Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + id: + format: uuid + type: string + name: + description: Signifies the name of the user, commonly first & last name + (e.g. John Smith) + maxLength: 100 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + username: + description: Signifies the username in identify provider (e.g. john.smith) + maxLength: 100 + minLength: 1 + type: string + required: + - id + - username + type: object + BulkWritableUserRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + date_joined: + format: date-time + type: string + email: + format: email + maxLength: 254 + title: Email address + type: string + first_name: + maxLength: 150 + type: string + groups: + items: + properties: + name: + maxLength: 150 + minLength: 1 + type: string + required: + - name + type: object + type: array + id: + format: uuid + type: string + is_active: + description: Designates whether this user should be treated as active. Unselect + this instead of deleting accounts. + title: Active + type: boolean + is_staff: + description: Designates whether the user can log into this admin site. + title: Staff status + type: boolean + last_name: + maxLength: 150 + type: string + password: + maxLength: 128 + minLength: 1 + type: string + writeOnly: true + username: + description: Required. 150 characters or fewer. Letters, digits and @/./+/-/_ + only. + maxLength: 150 + minLength: 1 + pattern: ^[\w.@+-]+$ + type: string + required: + - id + - password + - username + type: object + BulkWritableVLANGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + allOf: + - $ref: '#/components/schemas/NestedSiteRequest' + nullable: true + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + - name + type: object + BulkWritableVLANRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + group: + allOf: + - $ref: '#/components/schemas/NestedVLANGroupRequest' + nullable: true + id: + format: uuid + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + role: + allOf: + - $ref: '#/components/schemas/NestedRoleRequest' + nullable: true + site: + allOf: + - $ref: '#/components/schemas/NestedSiteRequest' + nullable: true + status: + $ref: '#/components/schemas/VLANStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + vid: + maximum: 4094 + minimum: 1 + title: ID + type: integer + required: + - id + - name + - status + - vid + type: object + BulkWritableVMInterfaceRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + bridge: + allOf: + - $ref: '#/components/schemas/NestedVMInterfaceRequest' + nullable: true + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + enabled: + type: boolean + id: + format: uuid + type: string + mac_address: + maxLength: 18 + nullable: true + type: string + mode: + $ref: '#/components/schemas/ModeEnum' + mtu: + maximum: 65536 + minimum: 1 + nullable: true + type: integer + name: + maxLength: 64 + minLength: 1 + type: string + parent_interface: + allOf: + - $ref: '#/components/schemas/NestedVMInterfaceRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/InterfaceStatusChoices' + tagged_vlans: + items: + properties: + name: + maxLength: 64 + minLength: 1 + type: string + vid: + maximum: 4094 + minimum: 1 + title: ID + type: integer + required: + - name + - vid + type: object + type: array + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + untagged_vlan: + allOf: + - $ref: '#/components/schemas/NestedVLANRequest' + nullable: true + virtual_machine: + $ref: '#/components/schemas/NestedVirtualMachineRequest' + required: + - id + - name + - status + - virtual_machine + type: object + BulkWritableVRFRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + enforce_unique: + description: Prevent duplicate prefixes/IP addresses within this VRF + title: Enforce unique space + type: boolean + export_targets: + items: + properties: + name: + description: Route target value (formatted in accordance with RFC + 4360) + maxLength: 21 + minLength: 1 + type: string + required: + - name + type: object + type: array + id: + format: uuid + type: string + import_targets: + items: + properties: + name: + description: Route target value (formatted in accordance with RFC + 4360) + maxLength: 21 + minLength: 1 + type: string + required: + - name + type: object + type: array + name: + maxLength: 100 + minLength: 1 + type: string + rd: + description: Unique route distinguisher (as defined in RFC 4364) + maxLength: 21 + nullable: true + title: Route distinguisher + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + required: + - id + - name + type: object + BulkWritableValidatedSoftwareLCMRequest: + description: REST API serializer for ValidatedSoftwareLCM records. + properties: + custom_fields: + additionalProperties: {} + type: object + device_roles: + items: + format: uuid + type: string + type: array + device_types: + items: + format: uuid + type: string + type: array + devices: + items: + format: uuid + type: string + type: array + end: + format: date + nullable: true + title: Valid Until + type: string + id: + format: uuid + type: string + inventory_items: + items: + format: uuid + type: string + type: array + object_tags: + items: + format: uuid + type: string + type: array + preferred: + title: Preferred Version + type: boolean + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + software: + $ref: '#/components/schemas/NestedSoftwareLCMRequest' + start: + format: date + title: Valid Since + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - software + - start + type: object + BulkWritableVirtualChassisRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + domain: + maxLength: 30 + type: string + id: + format: uuid + type: string + master: + allOf: + - $ref: '#/components/schemas/NestedDeviceRequest' + nullable: true + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - name + type: object + BulkWritableVirtualMachineWithConfigContextRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + cluster: + $ref: '#/components/schemas/NestedClusterRequest' + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + disk: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Disk (GB) + type: integer + id: + format: uuid + type: string + local_context_data: + additionalProperties: {} + nullable: true + type: object + local_context_schema: + allOf: + - $ref: '#/components/schemas/NestedConfigContextSchemaRequest' + nullable: true + memory: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Memory (MB) + type: integer + name: + maxLength: 64 + minLength: 1 + type: string + platform: + allOf: + - $ref: '#/components/schemas/NestedPlatformRequest' + nullable: true + primary_ip4: + allOf: + - $ref: '#/components/schemas/NestedIPAddressRequest' + nullable: true + primary_ip6: + allOf: + - $ref: '#/components/schemas/NestedIPAddressRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + role: + allOf: + - $ref: '#/components/schemas/NestedDeviceRoleRequest' + nullable: true + status: + $ref: '#/components/schemas/VirtualMachineStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + vcpus: + maximum: 32767 + minimum: 0 + nullable: true + type: integer + required: + - cluster + - id + - name + - status + type: object + BulkWritableVulnerabilityLCMRequest: + description: REST API serializer for VulnerabilityLCM records. + properties: + custom_fields: + additionalProperties: {} + type: object + id: + format: uuid + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status4f5Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - status + type: object + BulkWritableWebhookRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + additional_headers: + description: 'User-supplied HTTP headers to be sent with the request in + addition to the HTTP content type. Headers should be defined in the format + Name: Value. Jinja2 template processing is support with the + same context as the request body (below).' + type: string + body_template: + description: 'Jinja2 template for a custom request body. If blank, a JSON + object representing the change will be included. Available context data + includes: event, model, timestamp, + username, request_id, and data.' + type: string + ca_file_path: + description: The specific CA certificate file to use for SSL verification. + Leave blank to use the system defaults. + maxLength: 4096 + nullable: true + type: string + content_types: + items: + type: string + type: array + http_content_type: + description: The complete list of official content types is available here. + maxLength: 100 + minLength: 1 + type: string + http_method: + $ref: '#/components/schemas/HttpMethodEnum' + id: + format: uuid + type: string + name: + maxLength: 150 + minLength: 1 + type: string + payload_url: + description: A POST will be sent to this URL when the webhook is called. + maxLength: 500 + minLength: 1 + title: URL + type: string + secret: + description: When provided, the request will include a 'X-Hook-Signature' + header containing a HMAC hex digest of the payload body using the secret + as the key. The secret is not transmitted in the request. + maxLength: 255 + type: string + ssl_verification: + description: Enable SSL certificate verification. Disable with caution! + type: boolean + type_create: + description: Call this webhook when a matching object is created. + type: boolean + type_delete: + description: Call this webhook when a matching object is deleted. + type: boolean + type_update: + description: Call this webhook when a matching object is updated. + type: boolean + required: + - content_types + - id + - name + - payload_url + type: object + BulkWritableZoneRequest: + description: Zone Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + interfaces: + items: + $ref: '#/components/schemas/NestedInterfaceRequest' + type: array + name: + description: Name of the zone (e.g. trust) + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + - name + type: object + ButtonClassEnum: + enum: + - default + - primary + - success + - info + - warning + - danger + - link + type: string + CVELCM: + description: REST API serializer for CVELCM records. + properties: + comments: + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + cvss: + format: double + nullable: true + title: CVSS Base Score + type: number + cvss_v2: + format: double + nullable: true + title: CVSSv2 Score + type: number + cvss_v3: + format: double + nullable: true + title: CVSSv3 Score + type: number + description: + maxLength: 255 + nullable: true + type: string + display: + description: Human friendly display value + readOnly: true + type: string + fix: + maxLength: 255 + nullable: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + link: + format: uri + maxLength: 200 + type: string + name: + maxLength: 16 + type: string + published_date: + format: date + type: string + severity: + properties: + label: + enum: + - Critical + - High + - Medium + - Low + - None + type: string + value: + enum: + - Critical + - High + - Medium + - Low + - None + type: string + type: object + status: + properties: + label: + enum: [] + type: string + value: + enum: [] + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - link + - name + - published_date + - url + type: object + Cable: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + color: + maxLength: 6 + pattern: ^[0-9a-f]{6}$ + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + label: + maxLength: 100 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + length: + maximum: 32767 + minimum: 0 + nullable: true + type: integer + length_unit: + properties: + label: + enum: + - Meters + - Centimeters + - Feet + - Inches + type: string + value: + enum: + - m + - cm + - ft + - in + type: string + type: object + notes_url: + format: uri + readOnly: true + type: string + status: + properties: + label: + enum: + - Connected + - Decommissioning + - Planned + type: string + value: + enum: + - connected + - decommissioning + - planned + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + termination_a: + additionalProperties: {} + nullable: true + readOnly: true + type: object + termination_a_id: + format: uuid + type: string + termination_a_type: + type: string + termination_b: + additionalProperties: {} + nullable: true + readOnly: true + type: object + termination_b_id: + format: uuid + type: string + termination_b_type: + type: string + type: + oneOf: + - $ref: '#/components/schemas/CableTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - notes_url + - status + - termination_a + - termination_a_id + - termination_a_type + - termination_b + - termination_b_id + - termination_b_type + - url + type: object + CableStatusChoices: + enum: + - connected + - decommissioning + - planned + type: string + CableTypeChoices: + enum: + - cat3 + - cat5 + - cat5e + - cat6 + - cat6a + - cat7 + - cat7a + - cat8 + - dac-active + - dac-passive + - mrj21-trunk + - coaxial + - mmf + - mmf-om1 + - mmf-om2 + - mmf-om3 + - mmf-om4 + - smf + - smf-os1 + - smf-os2 + - aoc + - power + type: string + CapircaPolicy: + description: CapircaPolicy Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + cfg: + nullable: true + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + device: + format: uuid + nullable: true + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + net: + nullable: true + type: string + pol: + nullable: true + type: string + svc: + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - url + type: object + CapircaPolicyRequest: + description: CapircaPolicy Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + cfg: + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + device: + format: uuid + nullable: true + type: string + net: + nullable: true + type: string + pol: + nullable: true + type: string + svc: + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + Circuit: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + cid: + maxLength: 100 + title: Circuit ID + type: string + comments: + type: string + commit_rate: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Commit rate (Kbps) + type: integer + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + install_date: + format: date + nullable: true + title: Date installed + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + notes_url: + format: uri + readOnly: true + type: string + provider: + $ref: '#/components/schemas/NestedProvider' + status: + properties: + label: + enum: + - Active + - Decommissioned + - Deprovisioning + - Offline + - Planned + - Provisioning + type: string + value: + enum: + - active + - decommissioned + - deprovisioning + - offline + - planned + - provisioning + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + termination_a: + allOf: + - $ref: '#/components/schemas/CircuitCircuitTermination' + readOnly: true + termination_z: + allOf: + - $ref: '#/components/schemas/CircuitCircuitTermination' + readOnly: true + type: + $ref: '#/components/schemas/NestedCircuitType' + url: + format: uri + readOnly: true + type: string + required: + - cid + - created + - display + - id + - last_updated + - notes_url + - provider + - status + - termination_a + - termination_z + - type + - url + type: object + CircuitCircuitTermination: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + connected_endpoint: + $ref: '#/components/schemas/NestedInterface' + created: + format: date + nullable: true + readOnly: true + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocation' + nullable: true + notes_url: + format: uri + readOnly: true + type: string + port_speed: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Port speed (Kbps) + type: integer + provider_network: + $ref: '#/components/schemas/NestedProviderNetwork' + site: + $ref: '#/components/schemas/NestedSite' + upstream_speed: + description: Upstream speed, if different from port speed + maximum: 2147483647 + minimum: 0 + nullable: true + title: Upstream speed (Kbps) + type: integer + url: + format: uri + readOnly: true + type: string + xconnect_id: + maxLength: 50 + title: Cross-connect ID + type: string + required: + - connected_endpoint + - created + - display + - id + - last_updated + - notes_url + - provider_network + - site + - url + type: object + CircuitCircuitTerminationRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + connected_endpoint: + $ref: '#/components/schemas/NestedInterfaceRequest' + location: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + port_speed: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Port speed (Kbps) + type: integer + provider_network: + $ref: '#/components/schemas/NestedProviderNetworkRequest' + site: + $ref: '#/components/schemas/NestedSiteRequest' + upstream_speed: + description: Upstream speed, if different from port speed + maximum: 2147483647 + minimum: 0 + nullable: true + title: Upstream speed (Kbps) + type: integer + xconnect_id: + maxLength: 50 + title: Cross-connect ID + type: string + required: + - id + type: object + CircuitMaintenance: + description: Serializer for API. + properties: + ack: + nullable: true + type: boolean + description: + nullable: true + type: string + end_time: + format: date-time + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + start_time: + format: date-time + type: string + status: + nullable: true + oneOf: + - $ref: '#/components/schemas/StatusD95Enum' + - $ref: '#/components/schemas/BlankEnum' + - $ref: '#/components/schemas/NullEnum' + required: + - end_time + - id + - start_time + type: object + CircuitMaintenanceCircuitImpact: + description: Serializer for API. + properties: + circuit: + format: uuid + type: string + id: + format: uuid + readOnly: true + type: string + impact: + nullable: true + oneOf: + - $ref: '#/components/schemas/ImpactEnum' + - $ref: '#/components/schemas/BlankEnum' + - $ref: '#/components/schemas/NullEnum' + maintenance: + format: uuid + type: string + required: + - circuit + - id + - maintenance + type: object + CircuitMaintenanceCircuitImpactRequest: + description: Serializer for API. + properties: + circuit: + format: uuid + type: string + impact: + nullable: true + oneOf: + - $ref: '#/components/schemas/ImpactEnum' + - $ref: '#/components/schemas/BlankEnum' + - $ref: '#/components/schemas/NullEnum' + maintenance: + format: uuid + type: string + required: + - circuit + - maintenance + type: object + CircuitMaintenanceRequest: + description: Serializer for API. + properties: + ack: + nullable: true + type: boolean + description: + nullable: true + type: string + end_time: + format: date-time + type: string + name: + maxLength: 100 + minLength: 1 + type: string + start_time: + format: date-time + type: string + status: + nullable: true + oneOf: + - $ref: '#/components/schemas/StatusD95Enum' + - $ref: '#/components/schemas/BlankEnum' + - $ref: '#/components/schemas/NullEnum' + required: + - end_time + - start_time + type: object + CircuitStatusChoices: + enum: + - active + - decommissioned + - deprovisioning + - offline + - planned + - provisioning + type: string + CircuitTermination: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + additionalProperties: {} + nullable: true + readOnly: true + type: object + cable_peer_type: + nullable: true + readOnly: true + type: string + circuit: + $ref: '#/components/schemas/NestedCircuit' + connected_endpoint: + additionalProperties: {} + nullable: true + readOnly: true + type: object + connected_endpoint_reachable: + nullable: true + readOnly: true + type: boolean + connected_endpoint_type: + nullable: true + readOnly: true + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocation' + nullable: true + notes_url: + format: uri + readOnly: true + type: string + port_speed: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Port speed (Kbps) + type: integer + pp_info: + maxLength: 100 + title: Patch panel/port(s) + type: string + provider_network: + allOf: + - $ref: '#/components/schemas/NestedProviderNetwork' + nullable: true + site: + allOf: + - $ref: '#/components/schemas/NestedSite' + nullable: true + term_side: + allOf: + - $ref: '#/components/schemas/TermSideEnum' + title: Termination + upstream_speed: + description: Upstream speed, if different from port speed + maximum: 2147483647 + minimum: 0 + nullable: true + title: Upstream speed (Kbps) + type: integer + url: + format: uri + readOnly: true + type: string + xconnect_id: + maxLength: 50 + title: Cross-connect ID + type: string + required: + - cable + - cable_peer + - cable_peer_type + - circuit + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - created + - display + - id + - last_updated + - notes_url + - term_side + - url + type: object + CircuitType: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + circuit_count: + readOnly: true + type: integer + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - circuit_count + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + CircuitTypeRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + Cluster: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + device_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + group: + allOf: + - $ref: '#/components/schemas/NestedClusterGroup' + nullable: true + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocation' + nullable: true + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + site: + allOf: + - $ref: '#/components/schemas/NestedSite' + nullable: true + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + type: + $ref: '#/components/schemas/NestedClusterType' + url: + format: uri + readOnly: true + type: string + virtualmachine_count: + readOnly: true + type: integer + required: + - created + - device_count + - display + - id + - last_updated + - name + - notes_url + - type + - url + - virtualmachine_count + type: object + ClusterGroup: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + cluster_count: + readOnly: true + type: integer + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - cluster_count + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + ClusterGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + ClusterType: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + cluster_count: + readOnly: true + type: integer + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - cluster_count + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + ClusterTypeRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + CommandToken: + description: API serializer for interacting with CommandToken objects. + properties: + comment: + description: 'Optional: Enter description of token' + maxLength: 255 + type: string + created: + format: date + nullable: true + readOnly: true + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + platform: + $ref: '#/components/schemas/PlatformEnum' + token: + description: Token given by chat platform for signing or command validation + maxLength: 255 + type: string + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - platform + - token + - url + type: object + CommandTokenRequest: + description: API serializer for interacting with CommandToken objects. + properties: + comment: + description: 'Optional: Enter description of token' + maxLength: 255 + type: string + platform: + $ref: '#/components/schemas/PlatformEnum' + token: + description: Token given by chat platform for signing or command validation + maxLength: 255 + minLength: 1 + type: string + required: + - platform + - token + type: object + ComplianceFeature: + description: Serializer for ComplianceFeature object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - slug + - url + type: object + ComplianceFeatureRequest: + description: Serializer for ComplianceFeature object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + minLength: 1 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + - slug + type: object + ComplianceRule: + description: Serializer for ComplianceRule object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + config_ordered: + description: Whether or not the configuration order matters, such as in + ACLs. + title: Configured Ordered + type: boolean + config_type: + allOf: + - $ref: '#/components/schemas/ConfigTypeEnum' + description: Whether the config is in cli or json/structured format. + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + feature: + format: uuid + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + match_config: + description: The config to match that is matched based on the parent most + configuration. e.g. `router bgp` or `ntp`. + nullable: true + title: Config to Match + type: string + platform: + format: uuid + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - config_ordered + - created + - display + - feature + - id + - last_updated + - platform + - url + type: object + ComplianceRuleRequest: + description: Serializer for ComplianceRule object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + config_ordered: + description: Whether or not the configuration order matters, such as in + ACLs. + title: Configured Ordered + type: boolean + config_type: + allOf: + - $ref: '#/components/schemas/ConfigTypeEnum' + description: Whether the config is in cli or json/structured format. + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + feature: + format: uuid + type: string + match_config: + description: The config to match that is matched based on the parent most + configuration. e.g. `router bgp` or `ntp`. + nullable: true + title: Config to Match + type: string + platform: + format: uuid + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - config_ordered + - feature + - platform + type: object + ComputedField: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + content_type: + type: string + created: + format: date + nullable: true + readOnly: true + type: string + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + fallback_value: + description: Fallback value (if any) to be output for the field in the case + of a template rendering error. + maxLength: 500 + type: string + id: + format: uuid + readOnly: true + type: string + label: + description: Name of the field as displayed to users + maxLength: 100 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + notes_url: + format: uri + readOnly: true + type: string + slug: + description: Internal field name. Please use underscores rather than dashes + in this slug. + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + template: + description: Jinja2 template code for field value + maxLength: 500 + type: string + url: + format: uri + readOnly: true + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - content_type + - created + - display + - id + - label + - last_updated + - notes_url + - template + - url + type: object + ComputedFieldRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + content_type: + type: string + description: + maxLength: 200 + type: string + fallback_value: + description: Fallback value (if any) to be output for the field in the case + of a template rendering error. + maxLength: 500 + type: string + label: + description: Name of the field as displayed to users + maxLength: 100 + minLength: 1 + type: string + slug: + description: Internal field name. Please use underscores rather than dashes + in this slug. + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + template: + description: Jinja2 template code for field value + maxLength: 500 + minLength: 1 + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - content_type + - label + - template + type: object + ConfigCompliance: + description: Serializer for ConfigCompliance object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + actual: + additionalProperties: {} + description: Actual Configuration for feature + type: object + compliance: + nullable: true + type: boolean + compliance_int: + maximum: 2147483647 + minimum: -2147483648 + nullable: true + type: integer + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + device: + description: The device + format: uuid + type: string + display: + description: Human friendly display value + readOnly: true + type: string + extra: + additionalProperties: {} + description: Configuration that should not be on the device. + type: object + id: + format: uuid + readOnly: true + type: string + intended: + additionalProperties: {} + description: Intended Configuration for feature + type: object + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + missing: + additionalProperties: {} + description: Configuration that should be on the device. + type: object + ordered: + type: boolean + rule: + format: uuid + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + required: + - created + - device + - display + - id + - last_updated + - rule + type: object + ConfigComplianceRequest: + description: Serializer for ConfigCompliance object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + actual: + additionalProperties: {} + description: Actual Configuration for feature + type: object + compliance: + nullable: true + type: boolean + compliance_int: + maximum: 2147483647 + minimum: -2147483648 + nullable: true + type: integer + custom_fields: + additionalProperties: {} + type: object + device: + description: The device + format: uuid + type: string + extra: + additionalProperties: {} + description: Configuration that should not be on the device. + type: object + intended: + additionalProperties: {} + description: Intended Configuration for feature + type: object + missing: + additionalProperties: {} + description: Configuration that should be on the device. + type: object + ordered: + type: boolean + rule: + format: uuid + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - device + - rule + type: object + ConfigContext: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + cluster_groups: + items: + properties: + cluster_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - cluster_count + - display + - id + - name + - url + type: object + type: array + clusters: + items: + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + url: + format: uri + readOnly: true + type: string + virtualmachine_count: + readOnly: true + type: integer + required: + - display + - id + - name + - url + - virtualmachine_count + type: object + type: array + created: + format: date + nullable: true + readOnly: true + type: string + data: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_types: + items: + properties: + device_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + manufacturer: + allOf: + - $ref: '#/components/schemas/NestedManufacturer' + readOnly: true + model: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - device_count + - display + - id + - manufacturer + - model + - slug + - url + type: object + type: array + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + is_active: + type: boolean + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + locations: + items: + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tree_depth: + nullable: true + readOnly: true + type: integer + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - tree_depth + - url + type: object + type: array + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + owner: + additionalProperties: {} + nullable: true + readOnly: true + type: object + owner_content_type: + nullable: true + type: string + owner_object_id: + format: uuid + nullable: true + type: string + platforms: + items: + properties: + device_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + virtualmachine_count: + readOnly: true + type: integer + required: + - device_count + - display + - id + - name + - url + - virtualmachine_count + type: object + type: array + regions: + items: + properties: + _depth: + readOnly: true + title: ' depth' + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + site_count: + readOnly: true + type: integer + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - _depth + - display + - id + - name + - site_count + - url + type: object + type: array + roles: + items: + properties: + device_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + virtualmachine_count: + readOnly: true + type: integer + required: + - device_count + - display + - id + - name + - url + - virtualmachine_count + type: object + type: array + schema: + allOf: + - $ref: '#/components/schemas/NestedConfigContextSchema' + nullable: true + sites: + items: + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - url + type: object + type: array + tags: + items: + type: string + type: array + tenant_groups: + items: + properties: + _depth: + readOnly: true + title: ' depth' + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tenant_count: + readOnly: true + type: integer + url: + format: uri + readOnly: true + type: string + required: + - _depth + - display + - id + - name + - tenant_count + - url + type: object + type: array + tenants: + items: + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - url + type: object + type: array + url: + format: uri + readOnly: true + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - created + - data + - display + - id + - last_updated + - name + - notes_url + - owner + - url + type: object + ConfigContextSchema: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + data_schema: + additionalProperties: {} + description: A JSON Schema document which is used to validate a config context + object. + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 200 + type: string + notes_url: + format: uri + readOnly: true + type: string + owner: + additionalProperties: {} + nullable: true + readOnly: true + type: object + owner_content_type: + nullable: true + type: string + owner_object_id: + format: uuid + nullable: true + type: string + slug: + maxLength: 200 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - created + - data_schema + - display + - id + - last_updated + - name + - notes_url + - owner + - url + type: object + ConfigContextSchemaRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + data_schema: + additionalProperties: {} + description: A JSON Schema document which is used to validate a config context + object. + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 200 + minLength: 1 + type: string + owner_content_type: + nullable: true + type: string + owner_object_id: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 200 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - data_schema + - name + type: object + ConfigRemove: + description: Serializer for ConfigRemove object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 255 + type: string + platform: + format: uuid + type: string + regex: + description: Regex pattern used to remove a line from the backup configuration. + maxLength: 200 + title: Regex Pattern + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - platform + - regex + - url + type: object + ConfigRemoveRequest: + description: Serializer for ConfigRemove object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 255 + minLength: 1 + type: string + platform: + format: uuid + type: string + regex: + description: Regex pattern used to remove a line from the backup configuration. + maxLength: 200 + minLength: 1 + title: Regex Pattern + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + - platform + - regex + type: object + ConfigReplace: + description: Serializer for ConfigReplace object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 255 + type: string + platform: + format: uuid + type: string + regex: + description: Regex pattern that will be found and replaced with 'replaced + text'. + maxLength: 200 + title: Regex Pattern to Substitute + type: string + replace: + description: Text that will be inserted in place of Regex pattern match. + maxLength: 200 + title: Replaced Text + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - platform + - regex + - replace + - url + type: object + ConfigReplaceRequest: + description: Serializer for ConfigReplace object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 255 + minLength: 1 + type: string + platform: + format: uuid + type: string + regex: + description: Regex pattern that will be found and replaced with 'replaced + text'. + maxLength: 200 + minLength: 1 + title: Regex Pattern to Substitute + type: string + replace: + description: Text that will be inserted in place of Regex pattern match. + maxLength: 200 + minLength: 1 + title: Replaced Text + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + - platform + - regex + - replace + type: object + ConfigToPush: + description: Serializer for ConfigToPush view. + properties: + asset_tag: + description: A unique tag used to identify this device + maxLength: 50 + nullable: true + type: string + cluster: + allOf: + - $ref: '#/components/schemas/NestedCluster' + nullable: true + comments: + type: string + config: + readOnly: true + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + device_redundancy_group: + allOf: + - $ref: '#/components/schemas/NestedDeviceRedundancyGroup' + nullable: true + device_redundancy_group_priority: + description: The priority the device has in the device redundancy group. + maximum: 32767 + minimum: 1 + nullable: true + type: integer + device_role: + $ref: '#/components/schemas/NestedDeviceRole' + device_type: + $ref: '#/components/schemas/NestedDeviceType' + display: + description: Human friendly display value + readOnly: true + type: string + face: + properties: + label: + enum: + - Front + - Rear + type: string + value: + enum: + - front + - rear + type: string + type: object + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + local_context_data: + additionalProperties: {} + nullable: true + type: object + local_context_schema: + allOf: + - $ref: '#/components/schemas/NestedConfigContextSchema' + nullable: true + location: + allOf: + - $ref: '#/components/schemas/NestedLocation' + nullable: true + name: + maxLength: 64 + nullable: true + type: string + notes_url: + format: uri + readOnly: true + type: string + parent_device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + readOnly: true + platform: + allOf: + - $ref: '#/components/schemas/NestedPlatform' + nullable: true + position: + description: The lowest-numbered unit occupied by the device + maximum: 32767 + minimum: 1 + nullable: true + title: Position (U) + type: integer + primary_ip: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + readOnly: true + primary_ip4: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + nullable: true + primary_ip6: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + nullable: true + rack: + allOf: + - $ref: '#/components/schemas/NestedRack' + nullable: true + secrets_group: + allOf: + - $ref: '#/components/schemas/NestedSecretsGroup' + nullable: true + serial: + maxLength: 255 + title: Serial number + type: string + site: + $ref: '#/components/schemas/NestedSite' + status: + properties: + label: + enum: + - Active + - Decommissioning + - Failed + - Inventory + - Offline + - Planned + - Staged + type: string + value: + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + url: + format: uri + readOnly: true + type: string + vc_position: + maximum: 255 + minimum: 0 + nullable: true + type: integer + vc_priority: + maximum: 255 + minimum: 0 + nullable: true + type: integer + virtual_chassis: + allOf: + - $ref: '#/components/schemas/NestedVirtualChassis' + nullable: true + required: + - config + - created + - device_role + - device_type + - display + - id + - last_updated + - notes_url + - parent_device + - primary_ip + - site + - status + - url + type: object + ConfigTypeEnum: + enum: + - cli + - json + - custom + type: string + ConsolePort: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + additionalProperties: {} + nullable: true + readOnly: true + type: object + cable_peer_type: + nullable: true + readOnly: true + type: string + connected_endpoint: + additionalProperties: {} + nullable: true + readOnly: true + type: object + connected_endpoint_reachable: + nullable: true + readOnly: true + type: boolean + connected_endpoint_type: + nullable: true + readOnly: true + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDevice' + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + label: + description: Physical label + maxLength: 64 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 64 + type: string + notes_url: + format: uri + readOnly: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + type: + properties: + label: + enum: + - DE-9 + - DB-25 + - RJ-11 + - RJ-12 + - RJ-45 + - USB Type A + - USB Type B + - USB Type C + - USB Mini A + - USB Mini B + - USB Micro A + - USB Micro B + - Other + type: string + value: + enum: + - de-9 + - db-25 + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - other + type: string + type: object + url: + format: uri + readOnly: true + type: string + required: + - cable + - cable_peer + - cable_peer_type + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - created + - device + - display + - id + - last_updated + - name + - notes_url + - url + type: object + ConsolePortTemplate: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceType' + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + label: + description: Physical label + maxLength: 64 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 64 + type: string + type: + properties: + label: + enum: + - DE-9 + - DB-25 + - RJ-11 + - RJ-12 + - RJ-45 + - USB Type A + - USB Type B + - USB Type C + - USB Mini A + - USB Mini B + - USB Micro A + - USB Micro B + - Other + type: string + value: + enum: + - de-9 + - db-25 + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - other + type: string + type: object + url: + format: uri + readOnly: true + type: string + required: + - created + - device_type + - display + - id + - last_updated + - name + - url + type: object + ConsolePortTypeChoices: + enum: + - de-9 + - db-25 + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - other + type: string + ConsoleServerPort: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + additionalProperties: {} + nullable: true + readOnly: true + type: object + cable_peer_type: + nullable: true + readOnly: true + type: string + connected_endpoint: + additionalProperties: {} + nullable: true + readOnly: true + type: object + connected_endpoint_reachable: + nullable: true + readOnly: true + type: boolean + connected_endpoint_type: + nullable: true + readOnly: true + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDevice' + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + label: + description: Physical label + maxLength: 64 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 64 + type: string + notes_url: + format: uri + readOnly: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + type: + properties: + label: + enum: + - DE-9 + - DB-25 + - RJ-11 + - RJ-12 + - RJ-45 + - USB Type A + - USB Type B + - USB Type C + - USB Mini A + - USB Mini B + - USB Micro A + - USB Micro B + - Other + type: string + value: + enum: + - de-9 + - db-25 + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - other + type: string + type: object + url: + format: uri + readOnly: true + type: string + required: + - cable + - cable_peer + - cable_peer_type + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - created + - device + - display + - id + - last_updated + - name + - notes_url + - url + type: object + ConsoleServerPortTemplate: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceType' + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + label: + description: Physical label + maxLength: 64 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 64 + type: string + type: + properties: + label: + enum: + - DE-9 + - DB-25 + - RJ-11 + - RJ-12 + - RJ-45 + - USB Type A + - USB Type B + - USB Type C + - USB Mini A + - USB Mini B + - USB Micro A + - USB Micro B + - Other + type: string + value: + enum: + - de-9 + - db-25 + - rj-11 + - rj-12 + - rj-45 + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - other + type: string + type: object + url: + format: uri + readOnly: true + type: string + required: + - created + - device_type + - display + - id + - last_updated + - name + - url + type: object + ContactLCM: + description: API serializer. + properties: + address: + maxLength: 200 + type: string + comments: + type: string + contract: + allOf: + - $ref: '#/components/schemas/NestedContractLCM' + description: Associated Contract + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + display: + description: Human friendly display value + readOnly: true + type: string + email: + format: email + maxLength: 254 + title: Contact E-mail + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 80 + nullable: true + type: string + phone: + maxLength: 20 + type: string + priority: + maximum: 2147483647 + minimum: 0 + type: integer + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - contract + - created + - display + - id + - last_updated + - name + - url + type: object + ContentType: + description: 'This base serializer implements common fields and logic for all + ModelSerializers. + + + Namely, it: + + + - defines the `display` field which exposes a human friendly value for the + given object. + + - ensures that `id` field is always present on the serializer as well + + - ensures that `created` and `last_updated` fields are always present if applicable + to this model and serializer.' + properties: + app_label: + maxLength: 100 + type: string + display: + readOnly: true + type: string + id: + readOnly: true + type: integer + model: + maxLength: 100 + title: Python model class name + type: string + url: + format: uri + readOnly: true + type: string + required: + - app_label + - display + - id + - model + - url + type: object + ContractLCM: + description: API serializer. + properties: + contract_type: + maxLength: 32 + nullable: true + type: string + cost: + format: decimal + nullable: true + pattern: ^-?\d{0,13}(?:\.\d{0,2})?$ + title: Contract Cost + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + display: + description: Human friendly display value + readOnly: true + type: string + end: + format: date + nullable: true + title: Contract End Date + type: string + expired: + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + provider: + allOf: + - $ref: '#/components/schemas/NestedProviderLCM' + description: Vendor + start: + format: date + nullable: true + title: Contract Start Date + type: string + support_level: + maxLength: 64 + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - expired + - id + - last_updated + - name + - provider + - url + type: object + CustomFieldChoice: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + display: + description: Human friendly display value + readOnly: true + type: string + field: + $ref: '#/components/schemas/NestedCustomField' + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + value: + maxLength: 100 + type: string + weight: + description: Higher weights appear later in the list + maximum: 32767 + minimum: 0 + type: integer + required: + - created + - display + - field + - id + - last_updated + - url + - value + type: object + CustomFieldSerializerVersion12: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + content_types: + items: + type: string + type: array + created: + format: date + nullable: true + readOnly: true + type: string + default: + additionalProperties: {} + description: Default value for the field (must be a JSON value). Encapsulate + strings with double quotes (e.g. "Foo"). + nullable: true + type: object + description: + description: A helpful description for this field. + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + filter_logic: + properties: + label: + enum: + - Disabled + - Loose + - Exact + type: string + value: + enum: + - disabled + - loose + - exact + type: string + type: object + id: + format: uuid + readOnly: true + type: string + label: + maxLength: 50 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Human-readable unique name of this field. + maxLength: 50 + type: string + notes_url: + format: uri + readOnly: true + type: string + required: + description: If true, this field is required when creating new objects or + editing an existing object. + type: boolean + slug: + maxLength: 50 + type: string + type: + properties: + label: + enum: + - Text + - Integer + - Boolean (true/false) + - Date + - URL + - Selection + - Multiple selection + - JSON + type: string + value: + enum: + - text + - integer + - boolean + - date + - url + - select + - multi-select + - json + type: string + type: object + url: + format: uri + readOnly: true + type: string + validation_maximum: + description: Maximum allowed value (for numeric fields). + format: int64 + maximum: 9223372036854775807 + minimum: -9223372036854775808 + nullable: true + title: Maximum value + type: integer + validation_minimum: + description: Minimum allowed value (for numeric fields). + format: int64 + maximum: 9223372036854775807 + minimum: -9223372036854775808 + nullable: true + title: Minimum value + type: integer + validation_regex: + description: Regular expression to enforce on text field values. Use ^ and + $ to force matching of entire string. For example, ^[A-Z]{3}$ + will limit values to exactly three uppercase letters. Regular expression + on select and multi-select will be applied at Custom Field Choices + definition. + maxLength: 500 + type: string + weight: + description: Fields with higher weights appear lower in a form. + maximum: 32767 + minimum: 0 + type: integer + required: + - content_types + - created + - display + - id + - last_updated + - name + - notes_url + - type + - url + type: object + CustomFieldSerializerVersion12Request: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + content_types: + items: + type: string + type: array + default: + additionalProperties: {} + description: Default value for the field (must be a JSON value). Encapsulate + strings with double quotes (e.g. "Foo"). + nullable: true + type: object + description: + description: A helpful description for this field. + maxLength: 200 + type: string + filter_logic: + $ref: '#/components/schemas/FilterLogicEnum' + label: + maxLength: 50 + minLength: 1 + type: string + name: + description: Human-readable unique name of this field. + maxLength: 50 + minLength: 1 + type: string + required: + description: If true, this field is required when creating new objects or + editing an existing object. + type: boolean + slug: + maxLength: 50 + minLength: 1 + type: string + type: + $ref: '#/components/schemas/CustomFieldTypeChoices' + validation_maximum: + description: Maximum allowed value (for numeric fields). + format: int64 + maximum: 9223372036854775807 + minimum: -9223372036854775808 + nullable: true + title: Maximum value + type: integer + validation_minimum: + description: Minimum allowed value (for numeric fields). + format: int64 + maximum: 9223372036854775807 + minimum: -9223372036854775808 + nullable: true + title: Minimum value + type: integer + validation_regex: + description: Regular expression to enforce on text field values. Use ^ and + $ to force matching of entire string. For example, ^[A-Z]{3}$ + will limit values to exactly three uppercase letters. Regular expression + on select and multi-select will be applied at Custom Field Choices + definition. + maxLength: 500 + type: string + weight: + description: Fields with higher weights appear lower in a form. + maximum: 32767 + minimum: 0 + type: integer + required: + - id + type: object + CustomFieldTypeChoices: + enum: + - text + - integer + - boolean + - date + - url + - select + - multi-select + - json + type: string + CustomLink: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + button_class: + allOf: + - $ref: '#/components/schemas/ButtonClassEnum' + description: The class of the first link in a group will be used for the + dropdown button + content_type: + type: string + created: + format: date + nullable: true + readOnly: true + type: string + display: + description: Human friendly display value + readOnly: true + type: string + group_name: + description: Links with the same group will appear as a dropdown menu + maxLength: 50 + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + new_window: + description: Force link to open in a new window + type: boolean + notes_url: + format: uri + readOnly: true + type: string + target_url: + description: Jinja2 template code for link URL. Reference the object as + {{ obj }} such as {{ obj.platform.slug }}. + maxLength: 500 + title: URL + type: string + text: + description: Jinja2 template code for link text. Reference the object as + {{ obj }} such as {{ obj.platform.slug }}. Links + which render as empty text will not be displayed. + maxLength: 500 + type: string + url: + format: uri + readOnly: true + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - content_type + - created + - display + - id + - last_updated + - name + - new_window + - notes_url + - target_url + - text + - url + type: object + CustomLinkRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + button_class: + allOf: + - $ref: '#/components/schemas/ButtonClassEnum' + description: The class of the first link in a group will be used for the + dropdown button + content_type: + type: string + group_name: + description: Links with the same group will appear as a dropdown menu + maxLength: 50 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + new_window: + description: Force link to open in a new window + type: boolean + target_url: + description: Jinja2 template code for link URL. Reference the object as + {{ obj }} such as {{ obj.platform.slug }}. + maxLength: 500 + minLength: 1 + title: URL + type: string + text: + description: Jinja2 template code for link text. Reference the object as + {{ obj }} such as {{ obj.platform.slug }}. Links + which render as empty text will not be displayed. + maxLength: 500 + minLength: 1 + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - content_type + - name + - new_window + - target_url + - text + type: object + Device: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + asset_tag: + description: A unique tag used to identify this device + maxLength: 50 + nullable: true + type: string + cluster: + allOf: + - $ref: '#/components/schemas/NestedCluster' + nullable: true + comments: + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + device_redundancy_group: + allOf: + - $ref: '#/components/schemas/NestedDeviceRedundancyGroup' + nullable: true + device_redundancy_group_priority: + description: The priority the device has in the device redundancy group. + maximum: 32767 + minimum: 1 + nullable: true + type: integer + device_role: + $ref: '#/components/schemas/NestedDeviceRole' + device_type: + $ref: '#/components/schemas/NestedDeviceType' + display: + description: Human friendly display value + readOnly: true + type: string + face: + properties: + label: + enum: + - Front + - Rear + type: string + value: + enum: + - front + - rear + type: string + type: object + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + local_context_data: + additionalProperties: {} + nullable: true + type: object + local_context_schema: + allOf: + - $ref: '#/components/schemas/NestedConfigContextSchema' + nullable: true + location: + allOf: + - $ref: '#/components/schemas/NestedLocation' + nullable: true + name: + maxLength: 64 + nullable: true + type: string + notes_url: + format: uri + readOnly: true + type: string + parent_device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + readOnly: true + platform: + allOf: + - $ref: '#/components/schemas/NestedPlatform' + nullable: true + position: + description: The lowest-numbered unit occupied by the device + maximum: 32767 + minimum: 1 + nullable: true + title: Position (U) + type: integer + primary_ip: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + readOnly: true + primary_ip4: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + nullable: true + primary_ip6: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + nullable: true + rack: + allOf: + - $ref: '#/components/schemas/NestedRack' + nullable: true + secrets_group: + allOf: + - $ref: '#/components/schemas/NestedSecretsGroup' + nullable: true + serial: + maxLength: 255 + title: Serial number + type: string + site: + $ref: '#/components/schemas/NestedSite' + status: + properties: + label: + enum: + - Active + - Decommissioning + - Failed + - Inventory + - Offline + - Planned + - Staged + type: string + value: + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + url: + format: uri + readOnly: true + type: string + vc_position: + maximum: 255 + minimum: 0 + nullable: true + type: integer + vc_priority: + maximum: 255 + minimum: 0 + nullable: true + type: integer + virtual_chassis: + allOf: + - $ref: '#/components/schemas/NestedVirtualChassis' + nullable: true + required: + - created + - device_role + - device_type + - display + - id + - last_updated + - notes_url + - parent_device + - primary_ip + - site + - status + - url + type: object + DeviceBay: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDevice' + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + installed_device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + nullable: true + label: + description: Physical label + maxLength: 64 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 64 + type: string + notes_url: + format: uri + readOnly: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - device + - display + - id + - last_updated + - name + - notes_url + - url + type: object + DeviceBayTemplate: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceType' + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + label: + description: Physical label + maxLength: 64 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 64 + type: string + url: + format: uri + readOnly: true + type: string + required: + - created + - device_type + - display + - id + - last_updated + - name + - url + type: object + DeviceNAPALM: + properties: + method: + additionalProperties: {} + type: object + required: + - method + type: object + DeviceRedundancyGroup: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + failover_strategy: + properties: + label: + enum: + - Active/Active + - Active/Passive + type: string + value: + enum: + - active-active + - active-passive + type: string + type: object + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + secrets_group: + format: uuid + nullable: true + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + status: + properties: + label: + enum: + - Active + - Decommissioning + - Planned + - Retired + - Staging + type: string + value: + enum: + - active + - decommissioning + - planned + - retired + - staging + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - failover_strategy + - id + - last_updated + - name + - notes_url + - status + - url + type: object + DeviceRole: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + color: + maxLength: 6 + pattern: ^[0-9a-f]{6}$ + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + virtualmachine_count: + readOnly: true + type: integer + vm_role: + description: Virtual machines may be assigned to this role + type: boolean + required: + - created + - device_count + - display + - id + - last_updated + - name + - notes_url + - url + - virtualmachine_count + type: object + DeviceRoleRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + color: + maxLength: 6 + minLength: 1 + pattern: ^[0-9a-f]{6}$ + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + vm_role: + description: Virtual machines may be assigned to this role + type: boolean + required: + - name + type: object + DeviceStatusChoices: + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + type: string + DeviceType: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + device_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + front_image: + format: uri + type: string + id: + format: uuid + readOnly: true + type: string + is_full_depth: + description: Device consumes both front and rear rack faces + type: boolean + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + manufacturer: + $ref: '#/components/schemas/NestedManufacturer' + model: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + part_number: + description: Discrete part number (optional) + maxLength: 50 + type: string + rear_image: + format: uri + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + subdevice_role: + properties: + label: + enum: + - Parent + - Child + type: string + value: + enum: + - parent + - child + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + u_height: + maximum: 32767 + minimum: 0 + title: Height (U) + type: integer + url: + format: uri + readOnly: true + type: string + required: + - created + - device_count + - display + - id + - last_updated + - manufacturer + - model + - notes_url + - url + type: object + DeviceWithConfigContext: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + asset_tag: + description: A unique tag used to identify this device + maxLength: 50 + nullable: true + type: string + cluster: + allOf: + - $ref: '#/components/schemas/NestedCluster' + nullable: true + comments: + type: string + config_context: + additionalProperties: {} + readOnly: true + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + device_redundancy_group: + allOf: + - $ref: '#/components/schemas/NestedDeviceRedundancyGroup' + nullable: true + device_redundancy_group_priority: + description: The priority the device has in the device redundancy group. + maximum: 32767 + minimum: 1 + nullable: true + type: integer + device_role: + $ref: '#/components/schemas/NestedDeviceRole' + device_type: + $ref: '#/components/schemas/NestedDeviceType' + display: + description: Human friendly display value + readOnly: true + type: string + face: + properties: + label: + enum: + - Front + - Rear + type: string + value: + enum: + - front + - rear + type: string + type: object + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + local_context_data: + additionalProperties: {} + nullable: true + type: object + local_context_schema: + allOf: + - $ref: '#/components/schemas/NestedConfigContextSchema' + nullable: true + location: + allOf: + - $ref: '#/components/schemas/NestedLocation' + nullable: true + name: + maxLength: 64 + nullable: true + type: string + notes_url: + format: uri + readOnly: true + type: string + parent_device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + readOnly: true + platform: + allOf: + - $ref: '#/components/schemas/NestedPlatform' + nullable: true + position: + description: The lowest-numbered unit occupied by the device + maximum: 32767 + minimum: 1 + nullable: true + title: Position (U) + type: integer + primary_ip: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + readOnly: true + primary_ip4: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + nullable: true + primary_ip6: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + nullable: true + rack: + allOf: + - $ref: '#/components/schemas/NestedRack' + nullable: true + secrets_group: + allOf: + - $ref: '#/components/schemas/NestedSecretsGroup' + nullable: true + serial: + maxLength: 255 + title: Serial number + type: string + site: + $ref: '#/components/schemas/NestedSite' + status: + properties: + label: + enum: + - Active + - Decommissioning + - Failed + - Inventory + - Offline + - Planned + - Staged + type: string + value: + enum: + - active + - decommissioning + - failed + - inventory + - offline + - planned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + url: + format: uri + readOnly: true + type: string + vc_position: + maximum: 255 + minimum: 0 + nullable: true + type: integer + vc_priority: + maximum: 255 + minimum: 0 + nullable: true + type: integer + virtual_chassis: + allOf: + - $ref: '#/components/schemas/NestedVirtualChassis' + nullable: true + required: + - config_context + - created + - device_role + - device_type + - display + - id + - last_updated + - notes_url + - parent_device + - primary_ip + - site + - status + - url + type: object + DynamicGroup: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + children: + items: + $ref: '#/components/schemas/NestedDynamicGroupMembership' + readOnly: true + type: array + content_type: + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + filter: + additionalProperties: {} + description: A JSON-encoded dictionary of filter parameters for group membership + type: object + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Dynamic Group name + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + slug: + description: Unique slug + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - children + - content_type + - created + - display + - filter + - id + - last_updated + - name + - notes_url + - url + type: object + DynamicGroupMembership: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + group: + $ref: '#/components/schemas/NestedDynamicGroup' + id: + format: uuid + readOnly: true + type: string + operator: + $ref: '#/components/schemas/OperatorEnum' + parent_group: + $ref: '#/components/schemas/NestedDynamicGroup' + url: + format: uri + readOnly: true + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - display + - group + - id + - operator + - parent_group + - url + - weight + type: object + DynamicGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + content_type: + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + filter: + additionalProperties: {} + description: A JSON-encoded dictionary of filter parameters for group membership + type: object + name: + description: Dynamic Group name + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + description: Unique slug + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - content_type + - filter + - name + type: object + ExportTemplate: + description: Extend ValidatedModelSerializer with a `relationships` field. + properties: + content_type: + type: string + created: + format: date + nullable: true + readOnly: true + type: string + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + file_extension: + description: Extension to append to the rendered filename + maxLength: 15 + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + mime_type: + description: Defaults to text/plain + maxLength: 50 + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + owner: + additionalProperties: {} + nullable: true + readOnly: true + type: object + owner_content_type: + nullable: true + type: string + owner_object_id: + format: uuid + nullable: true + type: string + template_code: + description: The list of objects being exported is passed as a context variable + named queryset. + type: string + url: + format: uri + readOnly: true + type: string + required: + - content_type + - created + - display + - id + - last_updated + - name + - notes_url + - owner + - template_code + - url + type: object + ExportTemplateRequest: + description: Extend ValidatedModelSerializer with a `relationships` field. + properties: + content_type: + type: string + description: + maxLength: 200 + type: string + file_extension: + description: Extension to append to the rendered filename + maxLength: 15 + type: string + mime_type: + description: Defaults to text/plain + maxLength: 50 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + owner_content_type: + nullable: true + type: string + owner_object_id: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + template_code: + description: The list of objects being exported is passed as a context variable + named queryset. + minLength: 1 + type: string + required: + - content_type + - name + - template_code + type: object + FQDN: + description: FQDN Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + ip_addresses: + items: + properties: + address: + type: string + display: + description: Human friendly display value + readOnly: true + type: string + family: + readOnly: true + type: integer + id: + format: uuid + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - address + - display + - family + - id + - url + type: object + type: array + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Resolvable fully qualified domain name (e.g. networktocode.com) + maxLength: 254 + type: string + notes_url: + format: uri + readOnly: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + FaceEnum: + enum: + - front + - rear + type: string + FailoverStrategyEnum: + enum: + - active-active + - active-passive + type: string + FeedLegEnum: + enum: + - A + - B + - C + type: string + FilterLogicEnum: + enum: + - disabled + - loose + - exact + type: string + FrontPort: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + additionalProperties: {} + nullable: true + readOnly: true + type: object + cable_peer_type: + nullable: true + readOnly: true + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDevice' + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + label: + description: Physical label + maxLength: 64 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 64 + type: string + notes_url: + format: uri + readOnly: true + type: string + rear_port: + $ref: '#/components/schemas/FrontPortRearPort' + rear_port_position: + default: 1 + maximum: 1024 + minimum: 1 + type: integer + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + type: + properties: + label: + enum: + - 8P8C + - 8P6C + - 8P4C + - 8P2C + - GG45 + - TERA 4P + - TERA 2P + - TERA 1P + - 110 Punch + - BNC + - MRJ21 + - FC + - LC + - LC/APC + - LSH + - LSH/APC + - MPO + - MTRJ + - SC + - SC/APC + - ST + - CS + - SN + - URM-P2 + - URM-P4 + - URM-P8 + - Splice + type: string + value: + enum: + - 8p8c + - 8p6c + - 8p4c + - 8p2c + - gg45 + - tera-4p + - tera-2p + - tera-1p + - 110-punch + - bnc + - mrj21 + - fc + - lc + - lc-apc + - lsh + - lsh-apc + - mpo + - mtrj + - sc + - sc-apc + - st + - cs + - sn + - urm-p2 + - urm-p4 + - urm-p8 + - splice + type: string + type: object + url: + format: uri + readOnly: true + type: string + required: + - cable + - cable_peer + - cable_peer_type + - created + - device + - display + - id + - last_updated + - name + - notes_url + - rear_port + - type + - url + type: object + FrontPortRearPort: + description: NestedRearPortSerializer but with parent device omitted (since + front and rear ports must belong to same device) + properties: + created: + format: date + nullable: true + readOnly: true + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + label: + description: Physical label + maxLength: 64 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 64 + type: string + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - url + type: object + FrontPortRearPortRequest: + description: NestedRearPortSerializer but with parent device omitted (since + front and rear ports must belong to same device) + properties: + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + required: + - id + type: object + FrontPortTemplate: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceType' + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + label: + description: Physical label + maxLength: 64 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 64 + type: string + rear_port: + $ref: '#/components/schemas/NestedRearPortTemplate' + rear_port_position: + default: 1 + maximum: 1024 + minimum: 1 + type: integer + type: + properties: + label: + enum: + - 8P8C + - 8P6C + - 8P4C + - 8P2C + - GG45 + - TERA 4P + - TERA 2P + - TERA 1P + - 110 Punch + - BNC + - MRJ21 + - FC + - LC + - LC/APC + - LSH + - LSH/APC + - MPO + - MTRJ + - SC + - SC/APC + - ST + - CS + - SN + - URM-P2 + - URM-P4 + - URM-P8 + - Splice + type: string + value: + enum: + - 8p8c + - 8p6c + - 8p4c + - 8p2c + - gg45 + - tera-4p + - tera-2p + - tera-1p + - 110-punch + - bnc + - mrj21 + - fc + - lc + - lc-apc + - lsh + - lsh-apc + - mpo + - mtrj + - sc + - sc-apc + - st + - cs + - sn + - urm-p2 + - urm-p4 + - urm-p8 + - splice + type: string + type: object + url: + format: uri + readOnly: true + type: string + required: + - created + - device_type + - display + - id + - last_updated + - name + - rear_port + - type + - url + type: object + GitRepository: + description: Git repositories defined as a data source. + properties: + branch: + maxLength: 64 + type: string + created: + format: date + nullable: true + readOnly: true + type: string + current_head: + description: Commit hash of the most recent fetch from the selected branch. + Used for syncing between workers. + maxLength: 48 + type: string + custom_fields: + additionalProperties: {} + type: object + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + provided_contents: + items: + oneOf: + - $ref: '#/components/schemas/ProvidedContentsEnum' + - $ref: '#/components/schemas/BlankEnum' + type: array + remote_url: + description: Only HTTP and HTTPS URLs are presently supported + format: uri + maxLength: 255 + type: string + secrets_group: + allOf: + - $ref: '#/components/schemas/NestedSecretsGroup' + nullable: true + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + username: + maxLength: 64 + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - remote_url + - url + type: object + GitRepositoryRequest: + description: Git repositories defined as a data source. + properties: + branch: + maxLength: 64 + minLength: 1 + type: string + current_head: + description: Commit hash of the most recent fetch from the selected branch. + Used for syncing between workers. + maxLength: 48 + type: string + custom_fields: + additionalProperties: {} + type: object + name: + maxLength: 100 + minLength: 1 + type: string + provided_contents: + items: + oneOf: + - $ref: '#/components/schemas/ProvidedContentsEnum' + - $ref: '#/components/schemas/BlankEnum' + type: array + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + remote_url: + description: Only HTTP and HTTPS URLs are presently supported + format: uri + maxLength: 255 + minLength: 1 + type: string + secrets_group: + allOf: + - $ref: '#/components/schemas/NestedSecretsGroupRequest' + nullable: true + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + token: + minLength: 1 + type: string + writeOnly: true + username: + maxLength: 64 + type: string + required: + - name + - remote_url + type: object + GoldenConfig: + description: Serializer for GoldenConfig object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + backup_config: + description: Full backup config for device. + type: string + backup_last_attempt_date: + format: date-time + nullable: true + type: string + backup_last_success_date: + format: date-time + nullable: true + type: string + compliance_config: + description: Full config diff for device. + type: string + compliance_last_attempt_date: + format: date-time + nullable: true + type: string + compliance_last_success_date: + format: date-time + nullable: true + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + device: + description: device + format: uuid + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + intended_config: + description: Intended config for the device. + type: string + intended_last_attempt_date: + format: date-time + nullable: true + type: string + intended_last_success_date: + format: date-time + nullable: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - device + - display + - id + - last_updated + - url + type: object + GoldenConfigRequest: + description: Serializer for GoldenConfig object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + backup_config: + description: Full backup config for device. + type: string + backup_last_attempt_date: + format: date-time + nullable: true + type: string + backup_last_success_date: + format: date-time + nullable: true + type: string + compliance_config: + description: Full config diff for device. + type: string + compliance_last_attempt_date: + format: date-time + nullable: true + type: string + compliance_last_success_date: + format: date-time + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + device: + description: device + format: uuid + type: string + intended_config: + description: Intended config for the device. + type: string + intended_last_attempt_date: + format: date-time + nullable: true + type: string + intended_last_success_date: + format: date-time + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - device + type: object + GoldenConfigSetting: + description: Serializer for GoldenConfigSetting object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + backup_path_template: + description: The Jinja path representation of where the backup file will + be found. The variable `obj` is available as the device instance object + of a given device, as is the case for all Jinja templates. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + maxLength: 255 + title: Backup Path in Jinja Template Form + type: string + backup_repository: + format: uuid + nullable: true + type: string + backup_test_connectivity: + description: Whether or not to pretest the connectivity of the device by + verifying there is a resolvable IP that can connect to port 22. + title: Backup Test + type: boolean + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + dynamic_group: + $ref: '#/components/schemas/NestedDynamicGroup' + id: + format: uuid + readOnly: true + type: string + intended_path_template: + description: The Jinja path representation of where the generated file will + be places. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + maxLength: 255 + title: Intended Path in Jinja Template Form + type: string + intended_repository: + format: uuid + nullable: true + type: string + jinja_path_template: + description: The Jinja path representation of where the Jinja template can + be found. e.g. `{{obj.platform.slug}}.j2` + maxLength: 255 + title: Template Path in Jinja Template Form + type: string + jinja_repository: + format: uuid + nullable: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + scope: + additionalProperties: {} + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + sot_agg_query: + format: uuid + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - created + - display + - id + - last_updated + - name + - slug + - url + type: object + GrantTypeEnum: + enum: + - organization + - channel + - user + type: string + GraphQLAPIRequest: + properties: + query: + description: GraphQL query + minLength: 1 + type: string + variables: + additionalProperties: {} + description: Variables in JSON Format + type: object + required: + - query + type: object + GraphQLQuery: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + query: + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + variables: + additionalProperties: {} + default: {} + nullable: true + type: object + required: + - created + - display + - id + - last_updated + - name + - notes_url + - query + - url + type: object + GraphQLQueryInputRequest: + properties: + variables: + additionalProperties: {} + default: {} + nullable: true + type: object + type: object + GraphQLQueryOutput: + properties: + data: + additionalProperties: {} + default: {} + type: object + type: object + GraphQLQueryRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + query: + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + variables: + additionalProperties: {} + default: {} + nullable: true + type: object + required: + - name + - query + type: object + Group: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + readOnly: true + type: integer + name: + maxLength: 150 + type: string + url: + format: uri + readOnly: true + type: string + user_count: + readOnly: true + type: integer + required: + - display + - id + - name + - url + - user_count + type: object + GroupRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + name: + maxLength: 150 + minLength: 1 + type: string + required: + - name + type: object + HardwareLCM: + description: API serializer. + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + device_type: + allOf: + - $ref: '#/components/schemas/NestedDeviceType' + description: Device Type to attach the Hardware LCM to + devices: + description: Devices tied to Device Type + items: + $ref: '#/components/schemas/NestedDevice' + readOnly: true + type: array + display: + description: Human friendly display value + readOnly: true + type: string + documentation_url: + format: uri + maxLength: 200 + type: string + end_of_sale: + format: date + nullable: true + type: string + end_of_security_patches: + format: date + nullable: true + type: string + end_of_support: + format: date + nullable: true + type: string + end_of_sw_releases: + format: date + nullable: true + title: End of Software Releases + type: string + expired: + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + inventory_item: + maxLength: 255 + nullable: true + title: Inventory Item Part + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + release_date: + format: date + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - device_type + - devices + - display + - expired + - id + - last_updated + - url + type: object + HttpMethodEnum: + enum: + - GET + - POST + - PUT + - PATCH + - DELETE + type: string + IPAddress: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + address: + type: string + assigned_object: + additionalProperties: {} + nullable: true + readOnly: true + type: object + assigned_object_id: + format: uuid + nullable: true + type: string + assigned_object_type: + nullable: true + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + dns_name: + description: Hostname or FQDN (not case-sensitive) + maxLength: 255 + pattern: ^[0-9A-Za-z._-]+$ + type: string + family: + properties: + label: + enum: + - IPv4 + - IPv6 + type: string + value: + enum: + - 4 + - 6 + type: integer + readOnly: true + type: object + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + nat_inside: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + nullable: true + nat_outside: + items: + $ref: '#/components/schemas/NestedIPAddress' + readOnly: true + type: array + notes_url: + format: uri + readOnly: true + type: string + role: + properties: + label: + enum: + - Loopback + - Secondary + - Anycast + - VIP + - VRRP + - HSRP + - GLBP + - CARP + type: string + value: + enum: + - loopback + - secondary + - anycast + - vip + - vrrp + - hsrp + - glbp + - carp + type: string + type: object + status: + properties: + label: + enum: + - Active + - Deprecated + - DHCP + - Reserved + - SLAAC + type: string + value: + enum: + - active + - deprecated + - dhcp + - reserved + - slaac + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + url: + format: uri + readOnly: true + type: string + vrf: + allOf: + - $ref: '#/components/schemas/NestedVRF' + nullable: true + required: + - address + - assigned_object + - created + - display + - family + - id + - last_updated + - nat_outside + - notes_url + - status + - url + type: object + IPAddressStatusChoices: + enum: + - active + - deprecated + - dhcp + - reserved + - slaac + type: string + IPRange: + description: IPRange Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + end_address: + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + notes_url: + format: uri + readOnly: true + type: string + size: + readOnly: true + type: integer + start_address: + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + vrf: + format: uuid + nullable: true + type: string + required: + - created + - display + - end_address + - id + - last_updated + - notes_url + - size + - start_address + - url + type: object + IPRangeRequest: + description: IPRange Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + end_address: + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + start_address: + minLength: 1 + type: string + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + vrf: + format: uuid + nullable: true + type: string + required: + - end_address + - start_address + type: object + ImageAttachment: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + content_type: + type: string + created: + format: date-time + readOnly: true + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + image: + format: uri + type: string + image_height: + maximum: 32767 + minimum: 0 + type: integer + image_width: + maximum: 32767 + minimum: 0 + type: integer + name: + maxLength: 50 + type: string + object_id: + format: uuid + type: string + parent: + additionalProperties: {} + readOnly: true + type: object + url: + format: uri + readOnly: true + type: string + required: + - content_type + - created + - display + - id + - image + - image_height + - image_width + - object_id + - parent + - url + type: object + ImageAttachmentRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + content_type: + type: string + image: + format: binary + type: string + image_height: + maximum: 32767 + minimum: 0 + type: integer + image_width: + maximum: 32767 + minimum: 0 + type: integer + name: + maxLength: 50 + type: string + object_id: + format: uuid + type: string + required: + - content_type + - image + - image_height + - image_width + - object_id + type: object + ImpactEnum: + enum: + - NO-IMPACT + - REDUCED-REDUNDANCY + - DEGRADED + - OUTAGE + type: string + Interface: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + bridge: + allOf: + - $ref: '#/components/schemas/NestedInterface' + nullable: true + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + additionalProperties: {} + nullable: true + readOnly: true + type: object + cable_peer_type: + nullable: true + readOnly: true + type: string + connected_endpoint: + additionalProperties: {} + nullable: true + readOnly: true + type: object + connected_endpoint_reachable: + nullable: true + readOnly: true + type: boolean + connected_endpoint_type: + nullable: true + readOnly: true + type: string + count_ipaddresses: + readOnly: true + type: integer + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDevice' + display: + description: Human friendly display value + readOnly: true + type: string + enabled: + type: boolean + id: + format: uuid + readOnly: true + type: string + label: + description: Physical label + maxLength: 64 + type: string + lag: + allOf: + - $ref: '#/components/schemas/NestedInterface' + nullable: true + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + mac_address: + maxLength: 18 + nullable: true + type: string + mgmt_only: + description: This interface is used only for out-of-band management + title: Management only + type: boolean + mode: + properties: + label: + enum: + - Access + - Tagged + - Tagged (All) + type: string + value: + enum: + - access + - tagged + - tagged-all + type: string + type: object + mtu: + maximum: 65536 + minimum: 1 + nullable: true + type: integer + name: + maxLength: 64 + type: string + notes_url: + format: uri + readOnly: true + type: string + parent_interface: + allOf: + - $ref: '#/components/schemas/NestedInterface' + nullable: true + status: + properties: + label: + enum: + - Active + - Decommissioning + - Failed + - Maintenance + - Planned + type: string + value: + enum: + - active + - decommissioning + - failed + - maintenance + - planned + type: string + type: object + tagged_vlans: + items: + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 64 + type: string + url: + format: uri + readOnly: true + type: string + vid: + maximum: 4094 + minimum: 1 + title: ID + type: integer + required: + - display + - id + - name + - url + - vid + type: object + type: array + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + type: + properties: + label: + enum: + - Virtual + - Bridge + - Link Aggregation Group (LAG) + - 100BASE-TX (10/100ME) + - 1000BASE-T (1GE) + - 2.5GBASE-T (2.5GE) + - 5GBASE-T (5GE) + - 10GBASE-T (10GE) + - 10GBASE-CX4 (10GE) + - GBIC (1GE) + - SFP (1GE) + - SFP+ (10GE) + - XFP (10GE) + - XENPAK (10GE) + - X2 (10GE) + - SFP28 (25GE) + - QSFP+ (40GE) + - QSFP28 (50GE) + - CFP (100GE) + - CFP2 (100GE) + - CFP2 (200GE) + - CFP4 (100GE) + - Cisco CPAK (100GE) + - QSFP28 (100GE) + - QSFP56 (200GE) + - QSFP-DD (400GE) + - OSFP (400GE) + - IEEE 802.11a + - IEEE 802.11b/g + - IEEE 802.11n + - IEEE 802.11ac + - IEEE 802.11ad + - IEEE 802.11ax + - GSM + - CDMA + - LTE + - OC-3/STM-1 + - OC-12/STM-4 + - OC-48/STM-16 + - OC-192/STM-64 + - OC-768/STM-256 + - OC-1920/STM-640 + - OC-3840/STM-1234 + - SFP (1GFC) + - SFP (2GFC) + - SFP (4GFC) + - SFP+ (8GFC) + - SFP+ (16GFC) + - SFP28 (32GFC) + - QSFP+ (64GFC) + - QSFP28 (128GFC) + - SDR (2 Gbps) + - DDR (4 Gbps) + - QDR (8 Gbps) + - FDR10 (10 Gbps) + - FDR (13.5 Gbps) + - EDR (25 Gbps) + - HDR (50 Gbps) + - NDR (100 Gbps) + - XDR (250 Gbps) + - T1 (1.544 Mbps) + - E1 (2.048 Mbps) + - T3 (45 Mbps) + - E3 (34 Mbps) + - Cisco StackWise + - Cisco StackWise Plus + - Cisco FlexStack + - Cisco FlexStack Plus + - Juniper VCP + - Extreme SummitStack + - Extreme SummitStack-128 + - Extreme SummitStack-256 + - Extreme SummitStack-512 + - Other + type: string + value: + enum: + - virtual + - bridge + - lag + - 100base-tx + - 1000base-t + - 2.5gbase-t + - 5gbase-t + - 10gbase-t + - 10gbase-cx4 + - 1000base-x-gbic + - 1000base-x-sfp + - 10gbase-x-sfpp + - 10gbase-x-xfp + - 10gbase-x-xenpak + - 10gbase-x-x2 + - 25gbase-x-sfp28 + - 40gbase-x-qsfpp + - 50gbase-x-sfp28 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 200gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-qsfp28 + - 200gbase-x-qsfp56 + - 400gbase-x-qsfpdd + - 400gbase-x-osfp + - ieee802.11a + - ieee802.11g + - ieee802.11n + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - gsm + - cdma + - lte + - sonet-oc3 + - sonet-oc12 + - sonet-oc48 + - sonet-oc192 + - sonet-oc768 + - sonet-oc1920 + - sonet-oc3840 + - 1gfc-sfp + - 2gfc-sfp + - 4gfc-sfp + - 8gfc-sfpp + - 16gfc-sfpp + - 32gfc-sfp28 + - 64gfc-qsfpp + - 128gfc-sfp28 + - infiniband-sdr + - infiniband-ddr + - infiniband-qdr + - infiniband-fdr10 + - infiniband-fdr + - infiniband-edr + - infiniband-hdr + - infiniband-ndr + - infiniband-xdr + - t1 + - e1 + - t3 + - e3 + - cisco-stackwise + - cisco-stackwise-plus + - cisco-flexstack + - cisco-flexstack-plus + - juniper-vcp + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - other + type: string + type: object + untagged_vlan: + allOf: + - $ref: '#/components/schemas/NestedVLAN' + nullable: true + url: + format: uri + readOnly: true + type: string + required: + - cable + - cable_peer + - cable_peer_type + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - count_ipaddresses + - created + - device + - display + - id + - last_updated + - name + - notes_url + - status + - type + - url + type: object + InterfaceConnection: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + connected_endpoint_reachable: + nullable: true + readOnly: true + type: boolean + created: + format: date + nullable: true + readOnly: true + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + interface_a: + allOf: + - $ref: '#/components/schemas/NestedInterface' + readOnly: true + interface_b: + $ref: '#/components/schemas/NestedInterface' + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + required: + - connected_endpoint_reachable + - created + - display + - id + - interface_a + - interface_b + - last_updated + type: object + InterfaceSerializerVersion12: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + bridge: + allOf: + - $ref: '#/components/schemas/NestedInterface' + nullable: true + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + additionalProperties: {} + nullable: true + readOnly: true + type: object + cable_peer_type: + nullable: true + readOnly: true + type: string + connected_endpoint: + additionalProperties: {} + nullable: true + readOnly: true + type: object + connected_endpoint_reachable: + nullable: true + readOnly: true + type: boolean + connected_endpoint_type: + nullable: true + readOnly: true + type: string + count_ipaddresses: + readOnly: true + type: integer + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDevice' + display: + description: Human friendly display value + readOnly: true + type: string + enabled: + type: boolean + id: + format: uuid + readOnly: true + type: string + label: + description: Physical label + maxLength: 64 + type: string + lag: + allOf: + - $ref: '#/components/schemas/NestedInterface' + nullable: true + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + mac_address: + maxLength: 18 + nullable: true + type: string + mgmt_only: + description: This interface is used only for out-of-band management + title: Management only + type: boolean + mode: + properties: + label: + enum: + - Access + - Tagged + - Tagged (All) + type: string + value: + enum: + - access + - tagged + - tagged-all + type: string + type: object + mtu: + maximum: 65536 + minimum: 1 + nullable: true + type: integer + name: + maxLength: 64 + type: string + notes_url: + format: uri + readOnly: true + type: string + parent_interface: + allOf: + - $ref: '#/components/schemas/NestedInterface' + nullable: true + tagged_vlans: + items: + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 64 + type: string + url: + format: uri + readOnly: true + type: string + vid: + maximum: 4094 + minimum: 1 + title: ID + type: integer + required: + - display + - id + - name + - url + - vid + type: object + type: array + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + type: + properties: + label: + enum: + - Virtual + - Bridge + - Link Aggregation Group (LAG) + - 100BASE-TX (10/100ME) + - 1000BASE-T (1GE) + - 2.5GBASE-T (2.5GE) + - 5GBASE-T (5GE) + - 10GBASE-T (10GE) + - 10GBASE-CX4 (10GE) + - GBIC (1GE) + - SFP (1GE) + - SFP+ (10GE) + - XFP (10GE) + - XENPAK (10GE) + - X2 (10GE) + - SFP28 (25GE) + - QSFP+ (40GE) + - QSFP28 (50GE) + - CFP (100GE) + - CFP2 (100GE) + - CFP2 (200GE) + - CFP4 (100GE) + - Cisco CPAK (100GE) + - QSFP28 (100GE) + - QSFP56 (200GE) + - QSFP-DD (400GE) + - OSFP (400GE) + - IEEE 802.11a + - IEEE 802.11b/g + - IEEE 802.11n + - IEEE 802.11ac + - IEEE 802.11ad + - IEEE 802.11ax + - GSM + - CDMA + - LTE + - OC-3/STM-1 + - OC-12/STM-4 + - OC-48/STM-16 + - OC-192/STM-64 + - OC-768/STM-256 + - OC-1920/STM-640 + - OC-3840/STM-1234 + - SFP (1GFC) + - SFP (2GFC) + - SFP (4GFC) + - SFP+ (8GFC) + - SFP+ (16GFC) + - SFP28 (32GFC) + - QSFP+ (64GFC) + - QSFP28 (128GFC) + - SDR (2 Gbps) + - DDR (4 Gbps) + - QDR (8 Gbps) + - FDR10 (10 Gbps) + - FDR (13.5 Gbps) + - EDR (25 Gbps) + - HDR (50 Gbps) + - NDR (100 Gbps) + - XDR (250 Gbps) + - T1 (1.544 Mbps) + - E1 (2.048 Mbps) + - T3 (45 Mbps) + - E3 (34 Mbps) + - Cisco StackWise + - Cisco StackWise Plus + - Cisco FlexStack + - Cisco FlexStack Plus + - Juniper VCP + - Extreme SummitStack + - Extreme SummitStack-128 + - Extreme SummitStack-256 + - Extreme SummitStack-512 + - Other + type: string + value: + enum: + - virtual + - bridge + - lag + - 100base-tx + - 1000base-t + - 2.5gbase-t + - 5gbase-t + - 10gbase-t + - 10gbase-cx4 + - 1000base-x-gbic + - 1000base-x-sfp + - 10gbase-x-sfpp + - 10gbase-x-xfp + - 10gbase-x-xenpak + - 10gbase-x-x2 + - 25gbase-x-sfp28 + - 40gbase-x-qsfpp + - 50gbase-x-sfp28 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 200gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-qsfp28 + - 200gbase-x-qsfp56 + - 400gbase-x-qsfpdd + - 400gbase-x-osfp + - ieee802.11a + - ieee802.11g + - ieee802.11n + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - gsm + - cdma + - lte + - sonet-oc3 + - sonet-oc12 + - sonet-oc48 + - sonet-oc192 + - sonet-oc768 + - sonet-oc1920 + - sonet-oc3840 + - 1gfc-sfp + - 2gfc-sfp + - 4gfc-sfp + - 8gfc-sfpp + - 16gfc-sfpp + - 32gfc-sfp28 + - 64gfc-qsfpp + - 128gfc-sfp28 + - infiniband-sdr + - infiniband-ddr + - infiniband-qdr + - infiniband-fdr10 + - infiniband-fdr + - infiniband-edr + - infiniband-hdr + - infiniband-ndr + - infiniband-xdr + - t1 + - e1 + - t3 + - e3 + - cisco-stackwise + - cisco-stackwise-plus + - cisco-flexstack + - cisco-flexstack-plus + - juniper-vcp + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - other + type: string + type: object + untagged_vlan: + allOf: + - $ref: '#/components/schemas/NestedVLAN' + nullable: true + url: + format: uri + readOnly: true + type: string + required: + - cable + - cable_peer + - cable_peer_type + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - count_ipaddresses + - created + - device + - display + - id + - last_updated + - name + - notes_url + - type + - url + type: object + InterfaceStatusChoices: + enum: + - active + - decommissioning + - failed + - maintenance + - planned + type: string + InterfaceTemplate: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceType' + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + label: + description: Physical label + maxLength: 64 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + mgmt_only: + title: Management only + type: boolean + name: + maxLength: 64 + type: string + type: + properties: + label: + enum: + - Virtual + - Bridge + - Link Aggregation Group (LAG) + - 100BASE-TX (10/100ME) + - 1000BASE-T (1GE) + - 2.5GBASE-T (2.5GE) + - 5GBASE-T (5GE) + - 10GBASE-T (10GE) + - 10GBASE-CX4 (10GE) + - GBIC (1GE) + - SFP (1GE) + - SFP+ (10GE) + - XFP (10GE) + - XENPAK (10GE) + - X2 (10GE) + - SFP28 (25GE) + - QSFP+ (40GE) + - QSFP28 (50GE) + - CFP (100GE) + - CFP2 (100GE) + - CFP2 (200GE) + - CFP4 (100GE) + - Cisco CPAK (100GE) + - QSFP28 (100GE) + - QSFP56 (200GE) + - QSFP-DD (400GE) + - OSFP (400GE) + - IEEE 802.11a + - IEEE 802.11b/g + - IEEE 802.11n + - IEEE 802.11ac + - IEEE 802.11ad + - IEEE 802.11ax + - GSM + - CDMA + - LTE + - OC-3/STM-1 + - OC-12/STM-4 + - OC-48/STM-16 + - OC-192/STM-64 + - OC-768/STM-256 + - OC-1920/STM-640 + - OC-3840/STM-1234 + - SFP (1GFC) + - SFP (2GFC) + - SFP (4GFC) + - SFP+ (8GFC) + - SFP+ (16GFC) + - SFP28 (32GFC) + - QSFP+ (64GFC) + - QSFP28 (128GFC) + - SDR (2 Gbps) + - DDR (4 Gbps) + - QDR (8 Gbps) + - FDR10 (10 Gbps) + - FDR (13.5 Gbps) + - EDR (25 Gbps) + - HDR (50 Gbps) + - NDR (100 Gbps) + - XDR (250 Gbps) + - T1 (1.544 Mbps) + - E1 (2.048 Mbps) + - T3 (45 Mbps) + - E3 (34 Mbps) + - Cisco StackWise + - Cisco StackWise Plus + - Cisco FlexStack + - Cisco FlexStack Plus + - Juniper VCP + - Extreme SummitStack + - Extreme SummitStack-128 + - Extreme SummitStack-256 + - Extreme SummitStack-512 + - Other + type: string + value: + enum: + - virtual + - bridge + - lag + - 100base-tx + - 1000base-t + - 2.5gbase-t + - 5gbase-t + - 10gbase-t + - 10gbase-cx4 + - 1000base-x-gbic + - 1000base-x-sfp + - 10gbase-x-sfpp + - 10gbase-x-xfp + - 10gbase-x-xenpak + - 10gbase-x-x2 + - 25gbase-x-sfp28 + - 40gbase-x-qsfpp + - 50gbase-x-sfp28 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 200gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-qsfp28 + - 200gbase-x-qsfp56 + - 400gbase-x-qsfpdd + - 400gbase-x-osfp + - ieee802.11a + - ieee802.11g + - ieee802.11n + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - gsm + - cdma + - lte + - sonet-oc3 + - sonet-oc12 + - sonet-oc48 + - sonet-oc192 + - sonet-oc768 + - sonet-oc1920 + - sonet-oc3840 + - 1gfc-sfp + - 2gfc-sfp + - 4gfc-sfp + - 8gfc-sfpp + - 16gfc-sfpp + - 32gfc-sfp28 + - 64gfc-qsfpp + - 128gfc-sfp28 + - infiniband-sdr + - infiniband-ddr + - infiniband-qdr + - infiniband-fdr10 + - infiniband-fdr + - infiniband-edr + - infiniband-hdr + - infiniband-ndr + - infiniband-xdr + - t1 + - e1 + - t3 + - e3 + - cisco-stackwise + - cisco-stackwise-plus + - cisco-flexstack + - cisco-flexstack-plus + - juniper-vcp + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - other + type: string + type: object + url: + format: uri + readOnly: true + type: string + required: + - created + - device_type + - display + - id + - last_updated + - name + - type + - url + type: object + InterfaceTypeChoices: + enum: + - virtual + - bridge + - lag + - 100base-tx + - 1000base-t + - 2.5gbase-t + - 5gbase-t + - 10gbase-t + - 10gbase-cx4 + - 1000base-x-gbic + - 1000base-x-sfp + - 10gbase-x-sfpp + - 10gbase-x-xfp + - 10gbase-x-xenpak + - 10gbase-x-x2 + - 25gbase-x-sfp28 + - 40gbase-x-qsfpp + - 50gbase-x-sfp28 + - 100gbase-x-cfp + - 100gbase-x-cfp2 + - 200gbase-x-cfp2 + - 100gbase-x-cfp4 + - 100gbase-x-cpak + - 100gbase-x-qsfp28 + - 200gbase-x-qsfp56 + - 400gbase-x-qsfpdd + - 400gbase-x-osfp + - ieee802.11a + - ieee802.11g + - ieee802.11n + - ieee802.11ac + - ieee802.11ad + - ieee802.11ax + - gsm + - cdma + - lte + - sonet-oc3 + - sonet-oc12 + - sonet-oc48 + - sonet-oc192 + - sonet-oc768 + - sonet-oc1920 + - sonet-oc3840 + - 1gfc-sfp + - 2gfc-sfp + - 4gfc-sfp + - 8gfc-sfpp + - 16gfc-sfpp + - 32gfc-sfp28 + - 64gfc-qsfpp + - 128gfc-sfp28 + - infiniband-sdr + - infiniband-ddr + - infiniband-qdr + - infiniband-fdr10 + - infiniband-fdr + - infiniband-edr + - infiniband-hdr + - infiniband-ndr + - infiniband-xdr + - t1 + - e1 + - t3 + - e3 + - cisco-stackwise + - cisco-stackwise-plus + - cisco-flexstack + - cisco-flexstack-plus + - juniper-vcp + - extreme-summitstack + - extreme-summitstack-128 + - extreme-summitstack-256 + - extreme-summitstack-512 + - other + type: string + InventoryItem: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + _depth: + readOnly: true + title: ' depth' + type: integer + asset_tag: + description: A unique tag used to identify this item + maxLength: 50 + nullable: true + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDevice' + discovered: + description: This item was automatically discovered + type: boolean + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + label: + description: Physical label + maxLength: 64 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + manufacturer: + allOf: + - $ref: '#/components/schemas/NestedManufacturer' + nullable: true + name: + maxLength: 64 + type: string + notes_url: + format: uri + readOnly: true + type: string + parent: + format: uuid + nullable: true + type: string + part_id: + description: Manufacturer-assigned part identifier + maxLength: 50 + type: string + serial: + maxLength: 255 + title: Serial number + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - _depth + - created + - device + - display + - id + - last_updated + - name + - notes_url + - url + type: object + IpProtocolEnum: + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + Job: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + approval_required: + description: Whether the job requires approval from another user before + running + type: boolean + approval_required_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + commit_default: + description: Whether the job defaults to committing changes when run, or + defaults to a dry-run + type: boolean + commit_default_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + description: Markdown formatting is supported + type: string + description_override: + description: If set, the configured description will remain even if the + underlying Job source code changes + type: boolean + display: + description: Human friendly display value + readOnly: true + type: string + enabled: + description: Whether this job can be executed by users + type: boolean + grouping: + description: Human-readable grouping that this job belongs to + maxLength: 255 + type: string + grouping_override: + description: If set, the configured grouping will remain even if the underlying + Job source code changes + type: boolean + has_sensitive_variables: + description: Whether this job contains sensitive variables + type: boolean + has_sensitive_variables_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + hidden: + description: Whether the job defaults to not being shown in the UI + type: boolean + hidden_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + id: + format: uuid + readOnly: true + type: string + installed: + description: Whether the Python module and class providing this job are + presently installed and loadable + readOnly: true + type: boolean + is_job_hook_receiver: + description: Whether this job is a job hook receiver + readOnly: true + type: boolean + job_class_name: + description: Name of the Python class providing this job + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + module_name: + description: Dotted name of the Python module providing this job + readOnly: true + type: string + name: + description: Human-readable name of this job + maxLength: 100 + type: string + name_override: + description: If set, the configured name will remain even if the underlying + Job source code changes + type: boolean + notes_url: + format: uri + readOnly: true + type: string + read_only: + description: Whether the job is prevented from making lasting changes to + the database + type: boolean + read_only_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + slug: + maxLength: 320 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + soft_time_limit: + description: Maximum runtime in seconds before the job will receive a SoftTimeLimitExceeded + exception.
Set to 0 to use Nautobot system default + format: double + minimum: 0 + type: number + soft_time_limit_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + source: + description: Source of the Python code for this job - local, Git repository, + or plugins + readOnly: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + task_queues: + additionalProperties: {} + description: Comma separated list of task queues that this job can run on. + A blank list will use the default queue + type: object + task_queues_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + time_limit: + description: Maximum runtime in seconds before the job will be forcibly + terminated.
Set to 0 to use Nautobot system default + format: double + minimum: 0 + type: number + time_limit_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - grouping + - id + - installed + - is_job_hook_receiver + - job_class_name + - last_updated + - module_name + - name + - notes_url + - source + - url + type: object + JobClassDetail: + properties: + description: + maxLength: 255 + readOnly: true + type: string + id: + readOnly: true + type: string + name: + maxLength: 255 + readOnly: true + type: string + pk: + format: uuid + nullable: true + readOnly: true + type: string + result: + $ref: '#/components/schemas/JobResult' + test_methods: + items: + maxLength: 255 + type: string + type: array + url: + format: uri + readOnly: true + type: string + vars: + additionalProperties: {} + readOnly: true + type: object + required: + - description + - id + - name + - pk + - test_methods + - url + - vars + type: object + JobExecutionTypeIntervalChoices: + enum: + - immediately + - future + - hourly + - daily + - weekly + - custom + type: string + JobHook: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + content_types: + items: + type: string + type: array + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + display: + description: Human friendly display value + readOnly: true + type: string + enabled: + type: boolean + id: + format: uuid + readOnly: true + type: string + job: + description: The job that this job hook will initiate + format: uuid + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + type_create: + description: Call this job hook when a matching object is created. + type: boolean + type_delete: + description: Call this job hook when a matching object is deleted. + type: boolean + type_update: + description: Call this job hook when a matching object is updated. + type: boolean + url: + format: uri + readOnly: true + type: string + required: + - content_types + - created + - display + - id + - job + - last_updated + - name + - notes_url + - url + type: object + JobHookRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + content_types: + items: + type: string + type: array + custom_fields: + additionalProperties: {} + type: object + enabled: + type: boolean + job: + description: The job that this job hook will initiate + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type_create: + description: Call this job hook when a matching object is created. + type: boolean + type_delete: + description: Call this job hook when a matching object is deleted. + type: boolean + type_update: + description: Call this job hook when a matching object is updated. + type: boolean + required: + - content_types + - job + - name + type: object + JobInputRequest: + properties: + commit: + type: boolean + data: + additionalProperties: {} + type: object + schedule: + $ref: '#/components/schemas/NestedScheduledJobRequest' + task_queue: + type: string + type: object + JobLogEntry: + description: 'This base serializer implements common fields and logic for all + ModelSerializers. + + + Namely, it: + + + - defines the `display` field which exposes a human friendly value for the + given object. + + - ensures that `id` field is always present on the serializer as well + + - ensures that `created` and `last_updated` fields are always present if applicable + to this model and serializer.' + properties: + absolute_url: + maxLength: 255 + nullable: true + type: string + created: + format: date-time + type: string + display: + readOnly: true + type: string + grouping: + maxLength: 100 + type: string + id: + format: uuid + readOnly: true + type: string + job_result: + format: uuid + type: string + log_level: + $ref: '#/components/schemas/LogLevelEnum' + log_object: + maxLength: 200 + nullable: true + type: string + message: + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - job_result + - url + type: object + JobMultiPartInputRequest: + description: JobMultiPartInputSerializer is a "flattened" version of JobInputSerializer + for use with multipart/form-data submissions which only accept key-value pairs + properties: + _commit: + title: ' commit' + type: boolean + _schedule_crontab: + title: ' schedule crontab' + type: string + _schedule_interval: + allOf: + - $ref: '#/components/schemas/JobExecutionTypeIntervalChoices' + title: ' schedule interval' + _schedule_name: + maxLength: 255 + minLength: 1 + title: ' schedule name' + type: string + _schedule_start_time: + format: date-time + title: ' schedule start time' + type: string + _task_queue: + title: ' task queue' + type: string + type: object + JobRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + approval_required: + description: Whether the job requires approval from another user before + running + type: boolean + approval_required_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + commit_default: + description: Whether the job defaults to committing changes when run, or + defaults to a dry-run + type: boolean + commit_default_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + custom_fields: + additionalProperties: {} + type: object + description: + description: Markdown formatting is supported + type: string + description_override: + description: If set, the configured description will remain even if the + underlying Job source code changes + type: boolean + enabled: + description: Whether this job can be executed by users + type: boolean + grouping: + description: Human-readable grouping that this job belongs to + maxLength: 255 + minLength: 1 + type: string + grouping_override: + description: If set, the configured grouping will remain even if the underlying + Job source code changes + type: boolean + has_sensitive_variables: + description: Whether this job contains sensitive variables + type: boolean + has_sensitive_variables_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + hidden: + description: Whether the job defaults to not being shown in the UI + type: boolean + hidden_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + name: + description: Human-readable name of this job + maxLength: 100 + minLength: 1 + type: string + name_override: + description: If set, the configured name will remain even if the underlying + Job source code changes + type: boolean + read_only: + description: Whether the job is prevented from making lasting changes to + the database + type: boolean + read_only_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 320 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + soft_time_limit: + description: Maximum runtime in seconds before the job will receive a SoftTimeLimitExceeded + exception.
Set to 0 to use Nautobot system default + format: double + minimum: 0 + type: number + soft_time_limit_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + task_queues: + additionalProperties: {} + description: Comma separated list of task queues that this job can run on. + A blank list will use the default queue + type: object + task_queues_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + time_limit: + description: Maximum runtime in seconds before the job will be forcibly + terminated.
Set to 0 to use Nautobot system default + format: double + minimum: 0 + type: number + time_limit_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + required: + - grouping + - name + type: object + JobResult: + description: Extends ModelSerializer to render any CustomFields and their values + associated with an object. + properties: + completed: + format: date-time + nullable: true + type: string + created: + format: date-time + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + data: + additionalProperties: {} + nullable: true + type: object + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + job_id: + format: uuid + type: string + job_kwargs: + additionalProperties: {} + nullable: true + type: object + job_model: + allOf: + - $ref: '#/components/schemas/NestedJob' + readOnly: true + name: + maxLength: 255 + type: string + obj_type: + readOnly: true + type: string + schedule: + allOf: + - $ref: '#/components/schemas/NestedScheduledJob' + readOnly: true + status: + properties: + label: + enum: + - Pending + - Running + - Completed + - Errored + - Failed + type: string + value: + enum: + - pending + - running + - completed + - errored + - failed + type: string + readOnly: true + type: object + url: + format: uri + readOnly: true + type: string + user: + allOf: + - $ref: '#/components/schemas/NestedUser' + readOnly: true + required: + - created + - display + - id + - job_id + - job_model + - name + - obj_type + - schedule + - status + - url + - user + type: object + JobRunResponse: + description: Serializer representing responses from the JobModelViewSet.run() + POST endpoint. + properties: + job_result: + allOf: + - $ref: '#/components/schemas/NestedJobResult' + readOnly: true + schedule: + allOf: + - $ref: '#/components/schemas/NestedScheduledJob' + readOnly: true + required: + - job_result + - schedule + type: object + JobVariable: + description: Serializer used for responses from the JobModelViewSet.variables() + detail endpoint. + properties: + choices: + additionalProperties: {} + readOnly: true + type: object + default: + additionalProperties: {} + readOnly: true + type: object + help_text: + readOnly: true + type: string + label: + readOnly: true + type: string + max_length: + readOnly: true + type: integer + max_value: + readOnly: true + type: integer + min_length: + readOnly: true + type: integer + min_value: + readOnly: true + type: integer + model: + readOnly: true + type: string + name: + readOnly: true + type: string + required: + readOnly: true + type: boolean + type: + readOnly: true + type: string + required: + - choices + - default + - help_text + - label + - max_length + - max_value + - min_length + - min_value + - model + - name + - required + - type + type: object + LengthUnitEnum: + enum: + - m + - cm + - ft + - in + type: string + Location: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + location_type: + $ref: '#/components/schemas/NestedLocationType' + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + parent: + allOf: + - $ref: '#/components/schemas/NestedLocation' + nullable: true + site: + allOf: + - $ref: '#/components/schemas/NestedSite' + nullable: true + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + status: + properties: + label: + enum: + - Active + - Decommissioning + - Planned + - Retired + - Staging + type: string + value: + enum: + - active + - decommissioning + - planned + - retired + - staging + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + tree_depth: + nullable: true + readOnly: true + type: integer + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - location_type + - name + - notes_url + - status + - tree_depth + - url + type: object + LocationStatusChoices: + enum: + - active + - decommissioning + - planned + - retired + - staging + type: string + LocationType: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + content_types: + items: + type: string + type: array + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + nestable: + description: Allow Locations of this type to be parents/children of other + Locations of this same type + type: boolean + notes_url: + format: uri + readOnly: true + type: string + parent: + allOf: + - $ref: '#/components/schemas/NestedLocationType' + nullable: true + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tree_depth: + nullable: true + readOnly: true + type: integer + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - tree_depth + - url + type: object + LogLevelEnum: + enum: + - default + - success + - info + - warning + - failure + type: string + Manufacturer: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + devicetype_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + inventoryitem_count: + readOnly: true + type: integer + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + platform_count: + readOnly: true + type: integer + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - created + - devicetype_count + - display + - id + - inventoryitem_count + - last_updated + - name + - notes_url + - platform_count + - url + type: object + ManufacturerRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + MinMaxValidationRule: + description: Serializer for `MinMaxValidationRule` objects. + properties: + content_type: + type: string + created: + format: date + nullable: true + readOnly: true + type: string + display: + description: Human friendly display value + readOnly: true + type: string + enabled: + type: boolean + error_message: + description: Optional error message to display when validation fails. + maxLength: 255 + nullable: true + type: string + field: + maxLength: 50 + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + max: + description: When set, apply a maximum value contraint to the value of the + model field. + format: double + nullable: true + type: number + min: + description: When set, apply a minimum value contraint to the value of the + model field. + format: double + nullable: true + type: number + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - content_type + - created + - display + - field + - id + - last_updated + - name + - slug + - url + type: object + MinMaxValidationRuleRequest: + description: Serializer for `MinMaxValidationRule` objects. + properties: + content_type: + type: string + enabled: + type: boolean + error_message: + description: Optional error message to display when validation fails. + maxLength: 255 + nullable: true + type: string + field: + maxLength: 50 + minLength: 1 + type: string + max: + description: When set, apply a maximum value contraint to the value of the + model field. + format: double + nullable: true + type: number + min: + description: When set, apply a minimum value contraint to the value of the + model field. + format: double + nullable: true + type: number + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + minLength: 1 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - content_type + - field + - name + - slug + type: object + ModeEnum: + enum: + - access + - tagged + - tagged-all + type: string + NATPolicy: + description: NATPolicy Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + assigned_devices: + items: + $ref: '#/components/schemas/NATPolicyDeviceM2MNested' + type: array + assigned_dynamic_groups: + items: + $ref: '#/components/schemas/NATPolicyDynamicGroupM2MNested' + type: array + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + nat_policy_rules: + items: + format: uuid + type: string + readOnly: true + type: array + notes_url: + format: uri + readOnly: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + tenant: + format: uuid + nullable: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - nat_policy_rules + - notes_url + - url + type: object + NATPolicyDeviceM2MNested: + description: NATPolicyDeviceM2M NestedSerializer. + properties: + device: + format: uuid + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - device + type: object + NATPolicyDeviceM2MNestedRequest: + description: NATPolicyDeviceM2M NestedSerializer. + properties: + device: + format: uuid + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - id + type: object + NATPolicyDynamicGroupM2MNested: + description: NATPolicyDynamicGroupM2M NestedSerializer. + properties: + dynamic_group: + format: uuid + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - dynamic_group + type: object + NATPolicyDynamicGroupM2MNestedRequest: + description: NATPolicyDynamicGroupM2M NestedSerializer. + properties: + dynamic_group: + format: uuid + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - id + type: object + NATPolicyRequest: + description: NATPolicy Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + assigned_devices: + items: + $ref: '#/components/schemas/NATPolicyDeviceM2MNestedRequest' + type: array + assigned_dynamic_groups: + items: + $ref: '#/components/schemas/NATPolicyDynamicGroupM2MNestedRequest' + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + required: + - name + type: object + NATPolicyRule: + description: PolicyRule Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + nullable: true + type: string + destination_zone: + $ref: '#/components/schemas/Zone' + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + index: + maximum: 32767 + minimum: 0 + nullable: true + type: integer + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + log: + type: boolean + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + original_destination_address_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + address_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDN' + id: + format: uuid + readOnly: true + type: string + ip_address: + $ref: '#/components/schemas/NestedIPAddress' + ip_range: + $ref: '#/components/schemas/NestedIPRange' + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name descriptor for an address object type. + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + prefix: + $ref: '#/components/schemas/NestedPrefix' + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + original_destination_addresses: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDN' + id: + format: uuid + readOnly: true + type: string + ip_address: + $ref: '#/components/schemas/NestedIPAddress' + ip_range: + $ref: '#/components/schemas/NestedIPRange' + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name descriptor for an address object type. + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + prefix: + $ref: '#/components/schemas/NestedPrefix' + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + original_destination_service_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + service_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + port: + description: The port or port range to tie to a service (e.g. + HTTP would be port 80) + maxLength: 20 + nullable: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - ip_protocol + - last_updated + - name + - notes_url + - url + type: object + type: array + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + original_destination_services: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP + would be port 80) + maxLength: 20 + nullable: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - ip_protocol + - last_updated + - name + - notes_url + - url + type: object + type: array + original_source_address_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + address_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDN' + id: + format: uuid + readOnly: true + type: string + ip_address: + $ref: '#/components/schemas/NestedIPAddress' + ip_range: + $ref: '#/components/schemas/NestedIPRange' + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name descriptor for an address object type. + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + prefix: + $ref: '#/components/schemas/NestedPrefix' + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + original_source_addresses: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDN' + id: + format: uuid + readOnly: true + type: string + ip_address: + $ref: '#/components/schemas/NestedIPAddress' + ip_range: + $ref: '#/components/schemas/NestedIPRange' + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name descriptor for an address object type. + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + prefix: + $ref: '#/components/schemas/NestedPrefix' + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + original_source_service_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + service_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + port: + description: The port or port range to tie to a service (e.g. + HTTP would be port 80) + maxLength: 20 + nullable: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - ip_protocol + - last_updated + - name + - notes_url + - url + type: object + type: array + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + original_source_services: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP + would be port 80) + maxLength: 20 + nullable: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - ip_protocol + - last_updated + - name + - notes_url + - url + type: object + type: array + remark: + type: boolean + request_id: + maxLength: 100 + nullable: true + type: string + source_zone: + $ref: '#/components/schemas/Zone' + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + translated_destination_address_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + address_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDN' + id: + format: uuid + readOnly: true + type: string + ip_address: + $ref: '#/components/schemas/NestedIPAddress' + ip_range: + $ref: '#/components/schemas/NestedIPRange' + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name descriptor for an address object type. + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + prefix: + $ref: '#/components/schemas/NestedPrefix' + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + translated_destination_addresses: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDN' + id: + format: uuid + readOnly: true + type: string + ip_address: + $ref: '#/components/schemas/NestedIPAddress' + ip_range: + $ref: '#/components/schemas/NestedIPRange' + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name descriptor for an address object type. + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + prefix: + $ref: '#/components/schemas/NestedPrefix' + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + translated_destination_service_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + service_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + port: + description: The port or port range to tie to a service (e.g. + HTTP would be port 80) + maxLength: 20 + nullable: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - ip_protocol + - last_updated + - name + - notes_url + - url + type: object + type: array + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + translated_destination_services: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP + would be port 80) + maxLength: 20 + nullable: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - ip_protocol + - last_updated + - name + - notes_url + - url + type: object + type: array + translated_source_address_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + address_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDN' + id: + format: uuid + readOnly: true + type: string + ip_address: + $ref: '#/components/schemas/NestedIPAddress' + ip_range: + $ref: '#/components/schemas/NestedIPRange' + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name descriptor for an address object type. + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + prefix: + $ref: '#/components/schemas/NestedPrefix' + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + translated_source_addresses: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDN' + id: + format: uuid + readOnly: true + type: string + ip_address: + $ref: '#/components/schemas/NestedIPAddress' + ip_range: + $ref: '#/components/schemas/NestedIPRange' + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name descriptor for an address object type. + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + prefix: + $ref: '#/components/schemas/NestedPrefix' + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + translated_source_service_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + service_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + port: + description: The port or port range to tie to a service (e.g. + HTTP would be port 80) + maxLength: 20 + nullable: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - ip_protocol + - last_updated + - name + - notes_url + - url + type: object + type: array + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + translated_source_services: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP + would be port 80) + maxLength: 20 + nullable: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - ip_protocol + - last_updated + - name + - notes_url + - url + type: object + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + NestedAutonomousSystem: + description: Nested/brief serializer for AutonomousSystem. + properties: + asn: + description: 32-bit autonomous system number + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - asn + - display + - id + - url + type: object + NestedAutonomousSystemRequest: + description: Nested/brief serializer for AutonomousSystem. + properties: + asn: + description: 32-bit autonomous system number + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + required: + - id + type: object + NestedCVELCM: + description: Nested serializer for the CVE class. + properties: + comments: + type: string + cvss: + format: double + nullable: true + title: CVSS Base Score + type: number + cvss_v2: + format: double + nullable: true + title: CVSSv2 Score + type: number + cvss_v3: + format: double + nullable: true + title: CVSSv3 Score + type: number + description: + maxLength: 255 + nullable: true + type: string + display: + description: Human friendly display value + readOnly: true + type: string + fix: + maxLength: 255 + nullable: true + type: string + id: + format: uuid + readOnly: true + type: string + link: + format: uri + maxLength: 200 + type: string + name: + maxLength: 16 + type: string + published_date: + format: date + type: string + severity: + $ref: '#/components/schemas/SeverityEnum' + status: + format: uuid + nullable: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - link + - name + - published_date + - url + type: object + NestedCVELCMRequest: + description: Nested serializer for the CVE class. + properties: + comments: + type: string + cvss: + format: double + nullable: true + title: CVSS Base Score + type: number + cvss_v2: + format: double + nullable: true + title: CVSSv2 Score + type: number + cvss_v3: + format: double + nullable: true + title: CVSSv3 Score + type: number + description: + maxLength: 255 + nullable: true + type: string + fix: + maxLength: 255 + nullable: true + type: string + link: + format: uri + maxLength: 200 + minLength: 1 + type: string + name: + maxLength: 16 + minLength: 1 + type: string + published_date: + format: date + type: string + severity: + $ref: '#/components/schemas/SeverityEnum' + status: + format: uuid + nullable: true + type: string + required: + - id + type: object + NestedCable: + description: 'This base serializer implements common fields and logic for all + ModelSerializers. + + + Namely, it: + + + - defines the `display` field which exposes a human friendly value for the + given object. + + - ensures that `id` field is always present on the serializer as well + + - ensures that `created` and `last_updated` fields are always present if applicable + to this model and serializer.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + label: + maxLength: 100 + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - url + type: object + NestedCableRequest: + description: 'This base serializer implements common fields and logic for all + ModelSerializers. + + + Namely, it: + + + - defines the `display` field which exposes a human friendly value for the + given object. + + - ensures that `id` field is always present on the serializer as well + + - ensures that `created` and `last_updated` fields are always present if applicable + to this model and serializer.' + properties: + label: + maxLength: 100 + type: string + required: + - id + type: object + NestedCircuit: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + cid: + maxLength: 100 + title: Circuit ID + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - cid + - display + - id + - url + type: object + NestedCircuitRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + cid: + maxLength: 100 + minLength: 1 + title: Circuit ID + type: string + required: + - id + type: object + NestedCircuitType: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + circuit_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - circuit_count + - display + - id + - name + - url + type: object + NestedCircuitTypeRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedCluster: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + url: + format: uri + readOnly: true + type: string + virtualmachine_count: + readOnly: true + type: integer + required: + - display + - id + - name + - url + - virtualmachine_count + type: object + NestedClusterGroup: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + cluster_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - cluster_count + - display + - id + - name + - url + type: object + NestedClusterGroupRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedClusterRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + required: + - id + type: object + NestedClusterType: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + cluster_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - cluster_count + - display + - id + - name + - url + type: object + NestedClusterTypeRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedConfigContextSchema: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 200 + type: string + slug: + maxLength: 200 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - url + type: object + NestedConfigContextSchemaRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 200 + minLength: 1 + type: string + slug: + maxLength: 200 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedContractLCM: + description: API serializer. + properties: + contract_type: + maxLength: 32 + nullable: true + type: string + cost: + format: decimal + nullable: true + pattern: ^-?\d{0,13}(?:\.\d{0,2})?$ + title: Contract Cost + type: string + display: + description: Human friendly display value + readOnly: true + type: string + end: + format: date + nullable: true + title: Contract End Date + type: string + expired: + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + provider: + allOf: + - $ref: '#/components/schemas/NestedProviderLCM' + description: Contract Provider + start: + format: date + nullable: true + title: Contract Start Date + type: string + support_level: + maxLength: 64 + nullable: true + type: string + required: + - display + - expired + - id + - name + - provider + type: object + NestedContractLCMRequest: + description: API serializer. + properties: + contract_type: + maxLength: 32 + nullable: true + type: string + cost: + format: decimal + nullable: true + pattern: ^-?\d{0,13}(?:\.\d{0,2})?$ + title: Contract Cost + type: string + end: + format: date + nullable: true + title: Contract End Date + type: string + name: + maxLength: 100 + minLength: 1 + type: string + provider: + allOf: + - $ref: '#/components/schemas/NestedProviderLCMRequest' + description: Contract Provider + start: + format: date + nullable: true + title: Contract Start Date + type: string + support_level: + maxLength: 64 + nullable: true + type: string + required: + - id + type: object + NestedCustomField: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + description: Human-readable unique name of this field. + maxLength: 50 + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - url + type: object + NestedCustomFieldRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + description: Human-readable unique name of this field. + maxLength: 50 + minLength: 1 + type: string + required: + - id + type: object + NestedDevice: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 64 + nullable: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - url + type: object + NestedDeviceRedundancyGroup: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + failover_strategy: + oneOf: + - $ref: '#/components/schemas/FailoverStrategyEnum' + - $ref: '#/components/schemas/BlankEnum' + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - url + type: object + NestedDeviceRedundancyGroupRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + failover_strategy: + oneOf: + - $ref: '#/components/schemas/FailoverStrategyEnum' + - $ref: '#/components/schemas/BlankEnum' + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedDeviceRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 64 + nullable: true + type: string + required: + - id + type: object + NestedDeviceRole: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + device_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + virtualmachine_count: + readOnly: true + type: integer + required: + - device_count + - display + - id + - name + - url + - virtualmachine_count + type: object + NestedDeviceRoleRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedDeviceType: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + device_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + manufacturer: + allOf: + - $ref: '#/components/schemas/NestedManufacturer' + readOnly: true + model: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - device_count + - display + - id + - manufacturer + - model + - slug + - url + type: object + NestedDeviceTypeRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + model: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedDynamicGroup: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + content_type: + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + description: Dynamic Group name + maxLength: 100 + type: string + slug: + description: Unique slug + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - content_type + - display + - id + - name + - url + type: object + NestedDynamicGroupMembership: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + group: + $ref: '#/components/schemas/NestedDynamicGroup' + id: + format: uuid + readOnly: true + type: string + operator: + $ref: '#/components/schemas/OperatorEnum' + parent_group: + $ref: '#/components/schemas/NestedDynamicGroup' + url: + format: uri + readOnly: true + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - display + - group + - id + - operator + - parent_group + - url + - weight + type: object + NestedDynamicGroupMembershipRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + group: + $ref: '#/components/schemas/NestedDynamicGroupRequest' + operator: + $ref: '#/components/schemas/OperatorEnum' + parent_group: + $ref: '#/components/schemas/NestedDynamicGroupRequest' + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - id + type: object + NestedDynamicGroupRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + content_type: + type: string + name: + description: Dynamic Group name + maxLength: 100 + minLength: 1 + type: string + slug: + description: Unique slug + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedFQDN: + description: Nested serializer for FQDN. + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + description: Resolvable fully qualified domain name (e.g. networktocode.com) + maxLength: 254 + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - url + type: object + NestedFQDNRequest: + description: Nested serializer for FQDN. + properties: + name: + description: Resolvable fully qualified domain name (e.g. networktocode.com) + maxLength: 254 + minLength: 1 + type: string + required: + - id + type: object + NestedIPAddress: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + address: + type: string + display: + description: Human friendly display value + readOnly: true + type: string + family: + readOnly: true + type: integer + id: + format: uuid + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - address + - display + - family + - id + - url + type: object + NestedIPAddressRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + address: + minLength: 1 + type: string + required: + - id + type: object + NestedIPRange: + description: Nested serializer for IPRange. + properties: + display: + description: Human friendly display value + readOnly: true + type: string + end_address: + type: string + id: + format: uuid + readOnly: true + type: string + start_address: + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - end_address + - id + - start_address + - url + type: object + NestedIPRangeRequest: + description: Nested serializer for IPRange. + properties: + end_address: + minLength: 1 + type: string + start_address: + minLength: 1 + type: string + required: + - id + type: object + NestedInterface: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + cable: + format: uuid + nullable: true + type: string + device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + readOnly: true + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 64 + type: string + url: + format: uri + readOnly: true + type: string + required: + - device + - display + - id + - name + - url + type: object + NestedInterfaceRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + cable: + format: uuid + nullable: true + type: string + name: + maxLength: 64 + minLength: 1 + type: string + required: + - id + type: object + NestedInventoryItem: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + _depth: + readOnly: true + title: ' depth' + type: integer + device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + readOnly: true + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 64 + type: string + url: + format: uri + readOnly: true + type: string + required: + - _depth + - device + - display + - id + - name + - url + type: object + NestedInventoryItemRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 64 + minLength: 1 + type: string + required: + - id + type: object + NestedJob: + description: 'This base serializer implements common fields and logic for all + ModelSerializers. + + + Namely, it: + + + - defines the `display` field which exposes a human friendly value for the + given object. + + - ensures that `id` field is always present on the serializer as well + + - ensures that `created` and `last_updated` fields are always present if applicable + to this model and serializer.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + grouping: + description: Human-readable grouping that this job belongs to + maxLength: 255 + type: string + id: + format: uuid + readOnly: true + type: string + job_class_name: + description: Name of the Python class providing this job + readOnly: true + type: string + module_name: + description: Dotted name of the Python module providing this job + readOnly: true + type: string + name: + description: Human-readable name of this job + maxLength: 100 + type: string + slug: + maxLength: 320 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + source: + description: Source of the Python code for this job - local, Git repository, + or plugins + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - grouping + - id + - job_class_name + - module_name + - name + - source + - url + type: object + NestedJobResult: + description: 'This base serializer implements common fields and logic for all + ModelSerializers. + + + Namely, it: + + + - defines the `display` field which exposes a human friendly value for the + given object. + + - ensures that `id` field is always present on the serializer as well + + - ensures that `created` and `last_updated` fields are always present if applicable + to this model and serializer.' + properties: + completed: + format: date-time + nullable: true + type: string + created: + format: date-time + readOnly: true + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 255 + type: string + status: + properties: + label: + enum: + - Pending + - Running + - Completed + - Errored + - Failed + type: string + value: + enum: + - pending + - running + - completed + - errored + - failed + type: string + type: object + url: + format: uri + readOnly: true + type: string + user: + allOf: + - $ref: '#/components/schemas/NestedUser' + readOnly: true + required: + - created + - display + - id + - name + - status + - url + - user + type: object + NestedLocation: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tree_depth: + nullable: true + readOnly: true + type: integer + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - tree_depth + - url + type: object + NestedLocationRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedLocationType: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tree_depth: + nullable: true + readOnly: true + type: integer + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - tree_depth + - url + type: object + NestedLocationTypeRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedManufacturer: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + devicetype_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - devicetype_count + - display + - id + - name + - url + type: object + NestedManufacturerRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedPeerEndpoint: + description: Nested/brief serializer for PeerEndpoint. + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - url + type: object + NestedPeerGroup: + description: Nested/brief serializer for PeerGroup. + properties: + display: + description: Human friendly display value + readOnly: true + type: string + enabled: + type: boolean + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + role: + format: uuid + nullable: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - url + type: object + NestedPeerGroupRequest: + description: Nested/brief serializer for PeerGroup. + properties: + enabled: + type: boolean + name: + maxLength: 100 + minLength: 1 + type: string + role: + format: uuid + nullable: true + type: string + required: + - id + type: object + NestedPeerGroupTemplate: + description: Nested/brief serializer for PeerGroup. + properties: + display: + description: Human friendly display value + readOnly: true + type: string + enabled: + type: boolean + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + role: + format: uuid + nullable: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - url + type: object + NestedPeerGroupTemplateRequest: + description: Nested/brief serializer for PeerGroup. + properties: + enabled: + type: boolean + name: + maxLength: 100 + minLength: 1 + type: string + role: + format: uuid + nullable: true + type: string + required: + - id + type: object + NestedPeering: + description: Nested/brief serializer for Peering. + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + status: + format: uuid + nullable: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - url + type: object + NestedPeeringRequest: + description: Nested/brief serializer for Peering. + properties: + status: + format: uuid + nullable: true + type: string + required: + - id + type: object + NestedPlatform: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + device_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + virtualmachine_count: + readOnly: true + type: integer + required: + - device_count + - display + - id + - name + - url + - virtualmachine_count + type: object + NestedPlatformRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedPowerPanel: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + powerfeed_count: + readOnly: true + type: integer + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - powerfeed_count + - url + type: object + NestedPowerPanelRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + required: + - id + type: object + NestedPowerPort: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + cable: + format: uuid + nullable: true + type: string + device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + readOnly: true + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 64 + type: string + url: + format: uri + readOnly: true + type: string + required: + - device + - display + - id + - name + - url + type: object + NestedPowerPortRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + cable: + format: uuid + nullable: true + type: string + name: + maxLength: 64 + minLength: 1 + type: string + required: + - id + type: object + NestedPowerPortTemplate: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 64 + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - url + type: object + NestedPowerPortTemplateRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 64 + minLength: 1 + type: string + required: + - id + type: object + NestedPrefix: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + family: + readOnly: true + type: integer + id: + format: uuid + readOnly: true + type: string + prefix: + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - family + - id + - prefix + - url + type: object + NestedPrefixRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + prefix: + minLength: 1 + type: string + required: + - id + type: object + NestedProvider: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + circuit_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - circuit_count + - display + - id + - name + - url + type: object + NestedProviderLCM: + description: Nested serializer for the provider class. + properties: + comments: + type: string + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + email: + format: email + maxLength: 254 + title: E-mail + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + phone: + maxLength: 20 + type: string + physical_address: + maxLength: 200 + type: string + required: + - display + - id + - name + type: object + NestedProviderLCMRequest: + description: Nested serializer for the provider class. + properties: + comments: + type: string + description: + maxLength: 200 + type: string + email: + format: email + maxLength: 254 + title: E-mail + type: string + name: + maxLength: 100 + minLength: 1 + type: string + phone: + maxLength: 20 + type: string + physical_address: + maxLength: 200 + type: string + required: + - id + type: object + NestedProviderNetwork: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - url + type: object + NestedProviderNetworkRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedProviderRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedRIR: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + aggregate_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - aggregate_count + - display + - id + - name + - url + type: object + NestedRIRRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedRack: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + device_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + url: + format: uri + readOnly: true + type: string + required: + - device_count + - display + - id + - name + - url + type: object + NestedRackGroup: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + _depth: + readOnly: true + title: ' depth' + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + rack_count: + readOnly: true + type: integer + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - _depth + - display + - id + - name + - rack_count + - url + type: object + NestedRackGroupRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedRackRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + required: + - id + type: object + NestedRackRole: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + rack_count: + readOnly: true + type: integer + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - rack_count + - url + type: object + NestedRackRoleRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedRearPortTemplate: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 64 + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - url + type: object + NestedRearPortTemplateRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 64 + minLength: 1 + type: string + required: + - id + type: object + NestedRegion: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + _depth: + readOnly: true + title: ' depth' + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + site_count: + readOnly: true + type: integer + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - _depth + - display + - id + - name + - site_count + - url + type: object + NestedRegionRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedRelationship: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + description: Name of the relationship as displayed to users + maxLength: 100 + type: string + slug: + description: Internal relationship name. Please use underscores rather than + dashes in this slug. + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - url + type: object + NestedRelationshipRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + description: Name of the relationship as displayed to users + maxLength: 100 + minLength: 1 + type: string + slug: + description: Internal relationship name. Please use underscores rather than + dashes in this slug. + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedRole: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + prefix_count: + readOnly: true + type: integer + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + vlan_count: + readOnly: true + type: integer + required: + - display + - id + - name + - prefix_count + - url + - vlan_count + type: object + NestedRoleRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedRoutingInstance: + description: Nested/brief serializer for PeerEndpoint. + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - url + type: object + NestedScheduledJob: + description: 'This base serializer implements common fields and logic for all + ModelSerializers. + + + Namely, it: + + + - defines the `display` field which exposes a human friendly value for the + given object. + + - ensures that `id` field is always present on the serializer as well + + - ensures that `created` and `last_updated` fields are always present if applicable + to this model and serializer.' + properties: + crontab: + description: Cronjob syntax string for custom scheduling + maxLength: 255 + title: Custom cronjob + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + interval: + $ref: '#/components/schemas/JobExecutionTypeIntervalChoices' + name: + maxLength: 255 + type: string + start_time: + format: date-time + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - interval + - url + type: object + NestedScheduledJobRequest: + description: 'This base serializer implements common fields and logic for all + ModelSerializers. + + + Namely, it: + + + - defines the `display` field which exposes a human friendly value for the + given object. + + - ensures that `id` field is always present on the serializer as well + + - ensures that `created` and `last_updated` fields are always present if applicable + to this model and serializer.' + properties: + crontab: + description: Cronjob syntax string for custom scheduling + maxLength: 255 + title: Custom cronjob + type: string + interval: + $ref: '#/components/schemas/JobExecutionTypeIntervalChoices' + name: + maxLength: 255 + minLength: 1 + type: string + start_time: + format: date-time + type: string + required: + - interval + type: object + NestedSecret: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - url + type: object + NestedSecretRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedSecretsGroup: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - url + type: object + NestedSecretsGroupAssociation: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + access_type: + $ref: '#/components/schemas/AccessTypeEnum' + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + secret: + $ref: '#/components/schemas/NestedSecret' + secret_type: + $ref: '#/components/schemas/SecretTypeEnum' + url: + format: uri + readOnly: true + type: string + required: + - access_type + - display + - id + - secret + - secret_type + - url + type: object + NestedSecretsGroupAssociationRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + access_type: + $ref: '#/components/schemas/AccessTypeEnum' + secret: + $ref: '#/components/schemas/NestedSecretRequest' + secret_type: + $ref: '#/components/schemas/SecretTypeEnum' + required: + - id + type: object + NestedSecretsGroupRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedSite: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - url + type: object + NestedSiteRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedSoftwareLCM: + description: Nested/brief serializer for SoftwareLCM. + properties: + device_platform: + format: uuid + readOnly: true + type: string + display: + description: Human friendly display value + readOnly: true + type: string + end_of_support: + format: date + nullable: true + title: End of Software Support + type: string + id: + format: uuid + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + version: + maxLength: 50 + type: string + required: + - device_platform + - display + - id + - url + - version + type: object + NestedSoftwareLCMRequest: + description: Nested/brief serializer for SoftwareLCM. + properties: + end_of_support: + format: date + nullable: true + title: End of Software Support + type: string + version: + maxLength: 50 + minLength: 1 + type: string + required: + - id + type: object + NestedTenant: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - url + type: object + NestedTenantGroup: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + _depth: + readOnly: true + title: ' depth' + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tenant_count: + readOnly: true + type: integer + url: + format: uri + readOnly: true + type: string + required: + - _depth + - display + - id + - name + - tenant_count + - url + type: object + NestedTenantGroupRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedTenantRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedUser: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + username: + description: Required. 150 characters or fewer. Letters, digits and @/./+/-/_ + only. + maxLength: 150 + pattern: ^[\w.@+-]+$ + type: string + required: + - display + - id + - url + - username + type: object + NestedUserRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + username: + description: Required. 150 characters or fewer. Letters, digits and @/./+/-/_ + only. + maxLength: 150 + minLength: 1 + pattern: ^[\w.@+-]+$ + type: string + required: + - id + type: object + NestedVLAN: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 64 + type: string + url: + format: uri + readOnly: true + type: string + vid: + maximum: 4094 + minimum: 1 + title: ID + type: integer + required: + - display + - id + - name + - url + - vid + type: object + NestedVLANGroup: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + vlan_count: + readOnly: true + type: integer + required: + - display + - id + - name + - url + - vlan_count + type: object + NestedVLANGroupRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + NestedVLANRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 64 + minLength: 1 + type: string + vid: + maximum: 4094 + minimum: 1 + title: ID + type: integer + required: + - id + type: object + NestedVMInterface: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 64 + type: string + url: + format: uri + readOnly: true + type: string + virtual_machine: + allOf: + - $ref: '#/components/schemas/NestedVirtualMachine' + readOnly: true + required: + - display + - id + - name + - url + - virtual_machine + type: object + NestedVMInterfaceRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 64 + minLength: 1 + type: string + required: + - id + type: object + NestedVRF: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + prefix_count: + readOnly: true + type: integer + rd: + description: Unique route distinguisher (as defined in RFC 4364) + maxLength: 21 + nullable: true + title: Route distinguisher + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - prefix_count + - url + type: object + NestedVRFRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + rd: + description: Unique route distinguisher (as defined in RFC 4364) + maxLength: 21 + nullable: true + title: Route distinguisher + type: string + required: + - id + type: object + NestedVirtualChassis: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + master: + $ref: '#/components/schemas/NestedDevice' + member_count: + readOnly: true + type: integer + name: + maxLength: 64 + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - master + - member_count + - name + - url + type: object + NestedVirtualChassisRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + master: + $ref: '#/components/schemas/NestedDeviceRequest' + name: + maxLength: 64 + minLength: 1 + type: string + required: + - id + type: object + NestedVirtualMachine: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 64 + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - url + type: object + NestedVirtualMachineRequest: + description: 'Returns a nested representation of an object on read, but accepts + either the nested representation or the + + primary key value on write operations.' + properties: + name: + maxLength: 64 + minLength: 1 + type: string + required: + - id + type: object + Note: + description: 'This base serializer implements common fields and logic for all + ModelSerializers. + + + Namely, it: + + + - defines the `display` field which exposes a human friendly value for the + given object. + + - ensures that `id` field is always present on the serializer as well + + - ensures that `created` and `last_updated` fields are always present if applicable + to this model and serializer.' + properties: + assigned_object: + additionalProperties: {} + nullable: true + readOnly: true + type: object + assigned_object_id: + format: uuid + type: string + assigned_object_type: + type: string + created: + format: date + nullable: true + readOnly: true + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + note: + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + user: + allOf: + - $ref: '#/components/schemas/NestedUser' + readOnly: true + user_name: + readOnly: true + type: string + required: + - assigned_object + - assigned_object_id + - assigned_object_type + - created + - display + - id + - last_updated + - note + - url + - user + - user_name + type: object + NoteInputRequest: + properties: + note: + minLength: 1 + type: string + required: + - note + type: object + NoteRequest: + description: 'This base serializer implements common fields and logic for all + ModelSerializers. + + + Namely, it: + + + - defines the `display` field which exposes a human friendly value for the + given object. + + - ensures that `id` field is always present on the serializer as well + + - ensures that `created` and `last_updated` fields are always present if applicable + to this model and serializer.' + properties: + assigned_object_id: + format: uuid + type: string + assigned_object_type: + type: string + note: + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - assigned_object_id + - assigned_object_type + - note + type: object + NotificationSource: + description: Serializer for NotificationSource records. + properties: + attach_all_providers: + description: Attach all the Providers to this Notification Source + type: boolean + id: + format: uuid + readOnly: true + type: string + name: + description: Notification Source Name as defined in configuration file. + maxLength: 100 + type: string + providers: + items: + $ref: '#/components/schemas/NestedProvider' + type: array + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - name + - providers + - slug + - url + type: object + NullEnum: + enum: + - null + ObjectChange: + description: 'This base serializer implements common fields and logic for all + ModelSerializers. + + + Namely, it: + + + - defines the `display` field which exposes a human friendly value for the + given object. + + - ensures that `id` field is always present on the serializer as well + + - ensures that `created` and `last_updated` fields are always present if applicable + to this model and serializer.' + properties: + action: + properties: + label: + enum: + - Created + - Updated + - Deleted + type: string + value: + enum: + - create + - update + - delete + type: string + readOnly: true + type: object + changed_object: + additionalProperties: {} + nullable: true + readOnly: true + type: object + changed_object_id: + format: uuid + type: string + changed_object_type: + readOnly: true + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + object_data: + additionalProperties: {} + readOnly: true + type: object + request_id: + format: uuid + readOnly: true + type: string + time: + format: date-time + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + user: + allOf: + - $ref: '#/components/schemas/NestedUser' + readOnly: true + user_name: + readOnly: true + type: string + required: + - action + - changed_object + - changed_object_id + - changed_object_type + - display + - id + - object_data + - request_id + - time + - url + - user + - user_name + type: object + ObjectPermission: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + actions: + additionalProperties: {} + description: The list of actions granted by this permission + type: object + constraints: + additionalProperties: {} + description: Queryset filter matching the applicable objects of the selected + type(s) + nullable: true + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + enabled: + type: boolean + groups: + items: + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + readOnly: true + type: integer + name: + maxLength: 150 + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - url + type: object + type: array + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 100 + type: string + object_types: + items: + type: string + type: array + url: + format: uri + readOnly: true + type: string + users: + items: + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + username: + description: Required. 150 characters or fewer. Letters, digits and + @/./+/-/_ only. + maxLength: 150 + pattern: ^[\w.@+-]+$ + type: string + required: + - display + - id + - url + - username + type: object + type: array + required: + - actions + - display + - id + - name + - object_types + - url + type: object + OnboardingTask: + description: Serializer for the OnboardingTask model. + properties: + created_device: + description: Created device name + readOnly: true + type: string + device_type: + description: Nautobot device type 'slug' value + type: string + failed_reason: + description: Failure reason + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + ip_address: + description: IP Address to reach device + type: string + message: + description: Status message + readOnly: true + type: string + platform: + description: Nautobot Platform 'slug' value + type: string + port: + description: Device PORT to check for online + type: integer + role: + description: Nautobot device role 'slug' value + type: string + site: + description: Nautobot site 'slug' value + type: string + status: + description: Onboarding Status + readOnly: true + type: string + timeout: + description: Timeout (sec) for device connect + type: integer + required: + - created_device + - failed_reason + - id + - ip_address + - message + - site + - status + type: object + OnboardingTaskRequest: + description: Serializer for the OnboardingTask model. + properties: + device_type: + description: Nautobot device type 'slug' value + minLength: 1 + type: string + ip_address: + description: IP Address to reach device + minLength: 1 + type: string + password: + description: Device password + minLength: 1 + type: string + writeOnly: true + platform: + description: Nautobot Platform 'slug' value + type: string + port: + description: Device PORT to check for online + type: integer + role: + description: Nautobot device role 'slug' value + type: string + secret: + description: Device secret password + minLength: 1 + type: string + writeOnly: true + site: + description: Nautobot site 'slug' value + type: string + timeout: + description: Timeout (sec) for device connect + type: integer + username: + description: Device username + minLength: 1 + type: string + writeOnly: true + required: + - ip_address + - site + type: object + OperatorEnum: + enum: + - union + - intersection + - difference + type: string + OuterUnitEnum: + enum: + - mm + - in + type: string + PaginatedAccessGrantList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/AccessGrant' + type: array + type: object + PaginatedAddressFamilyList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/AddressFamily' + type: array + type: object + PaginatedAddressObjectGroupList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/AddressObjectGroup' + type: array + type: object + PaginatedAddressObjectList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/AddressObject' + type: array + type: object + PaginatedAggregateList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Aggregate' + type: array + type: object + PaginatedAutonomousSystemList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/AutonomousSystem' + type: array + type: object + PaginatedAvailableIPList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/AvailableIP' + type: array + type: object + PaginatedAvailablePrefixList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/AvailablePrefix' + type: array + type: object + PaginatedBGPRoutingInstanceList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/BGPRoutingInstance' + type: array + type: object + PaginatedCVELCMList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/CVELCM' + type: array + type: object + PaginatedCableList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Cable' + type: array + type: object + PaginatedCapircaPolicyList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/CapircaPolicy' + type: array + type: object + PaginatedCircuitList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Circuit' + type: array + type: object + PaginatedCircuitMaintenanceCircuitImpactList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + type: array + type: object + PaginatedCircuitMaintenanceList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/CircuitMaintenance' + type: array + type: object + PaginatedCircuitTerminationList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/CircuitTermination' + type: array + type: object + PaginatedCircuitTypeList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/CircuitType' + type: array + type: object + PaginatedClusterGroupList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ClusterGroup' + type: array + type: object + PaginatedClusterList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Cluster' + type: array + type: object + PaginatedClusterTypeList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ClusterType' + type: array + type: object + PaginatedCommandTokenList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/CommandToken' + type: array + type: object + PaginatedComplianceFeatureList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ComplianceFeature' + type: array + type: object + PaginatedComplianceRuleList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ComplianceRule' + type: array + type: object + PaginatedComputedFieldList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ComputedField' + type: array + type: object + PaginatedConfigComplianceList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ConfigCompliance' + type: array + type: object + PaginatedConfigContextList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ConfigContext' + type: array + type: object + PaginatedConfigContextSchemaList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ConfigContextSchema' + type: array + type: object + PaginatedConfigRemoveList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ConfigRemove' + type: array + type: object + PaginatedConfigReplaceList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ConfigReplace' + type: array + type: object + PaginatedConsolePortList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ConsolePort' + type: array + type: object + PaginatedConsolePortTemplateList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ConsolePortTemplate' + type: array + type: object + PaginatedConsoleServerPortList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ConsoleServerPort' + type: array + type: object + PaginatedConsoleServerPortTemplateList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ConsoleServerPortTemplate' + type: array + type: object + PaginatedContactLCMList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ContactLCM' + type: array + type: object + PaginatedContentTypeList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ContentType' + type: array + type: object + PaginatedContractLCMList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ContractLCM' + type: array + type: object + PaginatedCustomFieldChoiceList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/CustomFieldChoice' + type: array + type: object + PaginatedCustomFieldSerializerVersion12List: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/CustomFieldSerializerVersion12' + type: array + type: object + PaginatedCustomLinkList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/CustomLink' + type: array + type: object + PaginatedDeviceBayList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/DeviceBay' + type: array + type: object + PaginatedDeviceBayTemplateList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/DeviceBayTemplate' + type: array + type: object + PaginatedDeviceRedundancyGroupList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/DeviceRedundancyGroup' + type: array + type: object + PaginatedDeviceRoleList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/DeviceRole' + type: array + type: object + PaginatedDeviceTypeList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/DeviceType' + type: array + type: object + PaginatedDeviceWithConfigContextList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/DeviceWithConfigContext' + type: array + type: object + PaginatedDynamicGroupList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/DynamicGroup' + type: array + type: object + PaginatedDynamicGroupMembershipList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/DynamicGroupMembership' + type: array + type: object + PaginatedExportTemplateList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ExportTemplate' + type: array + type: object + PaginatedFQDNList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/FQDN' + type: array + type: object + PaginatedFrontPortList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/FrontPort' + type: array + type: object + PaginatedFrontPortTemplateList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/FrontPortTemplate' + type: array + type: object + PaginatedGitRepositoryList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/GitRepository' + type: array + type: object + PaginatedGoldenConfigList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/GoldenConfig' + type: array + type: object + PaginatedGoldenConfigSettingList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/GoldenConfigSetting' + type: array + type: object + PaginatedGraphQLQueryList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/GraphQLQuery' + type: array + type: object + PaginatedGroupList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Group' + type: array + type: object + PaginatedHardwareLCMList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/HardwareLCM' + type: array + type: object + PaginatedIPAddressList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/IPAddress' + type: array + type: object + PaginatedIPRangeList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/IPRange' + type: array + type: object + PaginatedImageAttachmentList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ImageAttachment' + type: array + type: object + PaginatedInterfaceConnectionList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/InterfaceConnection' + type: array + type: object + PaginatedInterfaceSerializerVersion12List: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/InterfaceSerializerVersion12' + type: array + type: object + PaginatedInterfaceTemplateList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/InterfaceTemplate' + type: array + type: object + PaginatedInventoryItemList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/InventoryItem' + type: array + type: object + PaginatedJobHookList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/JobHook' + type: array + type: object + PaginatedJobList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Job' + type: array + type: object + PaginatedJobLogEntryList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/JobLogEntry' + type: array + type: object + PaginatedJobResultList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/JobResult' + type: array + type: object + PaginatedJobVariableList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/JobVariable' + type: array + type: object + PaginatedLocationList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Location' + type: array + type: object + PaginatedLocationTypeList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/LocationType' + type: array + type: object + PaginatedManufacturerList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Manufacturer' + type: array + type: object + PaginatedMinMaxValidationRuleList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/MinMaxValidationRule' + type: array + type: object + PaginatedNATPolicyList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/NATPolicy' + type: array + type: object + PaginatedNATPolicyRuleList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/NATPolicyRule' + type: array + type: object + PaginatedNoteList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Note' + type: array + type: object + PaginatedNotificationSourceList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/NotificationSource' + type: array + type: object + PaginatedObjectChangeList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ObjectChange' + type: array + type: object + PaginatedObjectPermissionList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ObjectPermission' + type: array + type: object + PaginatedOnboardingTaskList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/OnboardingTask' + type: array + type: object + PaginatedPeerEndpointList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/PeerEndpoint' + type: array + type: object + PaginatedPeerGroupList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/PeerGroup' + type: array + type: object + PaginatedPeerGroupTemplateList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/PeerGroupTemplate' + type: array + type: object + PaginatedPeeringList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Peering' + type: array + type: object + PaginatedPeeringRoleList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/PeeringRole' + type: array + type: object + PaginatedPlatformList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Platform' + type: array + type: object + PaginatedPolicyList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Policy' + type: array + type: object + PaginatedPolicyRuleList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/PolicyRule' + type: array + type: object + PaginatedPowerFeedList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/PowerFeed' + type: array + type: object + PaginatedPowerOutletList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/PowerOutlet' + type: array + type: object + PaginatedPowerOutletTemplateList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/PowerOutletTemplate' + type: array + type: object + PaginatedPowerPanelList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/PowerPanel' + type: array + type: object + PaginatedPowerPortList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/PowerPort' + type: array + type: object + PaginatedPowerPortTemplateList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/PowerPortTemplate' + type: array + type: object + PaginatedPrefixList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Prefix' + type: array + type: object + PaginatedProviderLCMList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ProviderLCM' + type: array + type: object + PaginatedProviderList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Provider' + type: array + type: object + PaginatedProviderNetworkList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ProviderNetwork' + type: array + type: object + PaginatedRIRList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/RIR' + type: array + type: object + PaginatedRackGroupList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/RackGroup' + type: array + type: object + PaginatedRackList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Rack' + type: array + type: object + PaginatedRackReservationList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/RackReservation' + type: array + type: object + PaginatedRackRoleList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/RackRole' + type: array + type: object + PaginatedRackUnitList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/RackUnit' + type: array + type: object + PaginatedRearPortList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/RearPort' + type: array + type: object + PaginatedRearPortTemplateList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/RearPortTemplate' + type: array + type: object + PaginatedRegionList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Region' + type: array + type: object + PaginatedRegularExpressionValidationRuleList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/RegularExpressionValidationRule' + type: array + type: object + PaginatedRelationshipAssociationList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/RelationshipAssociation' + type: array + type: object + PaginatedRelationshipList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Relationship' + type: array + type: object + PaginatedRoleList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Role' + type: array + type: object + PaginatedRouteTargetList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/RouteTarget' + type: array + type: object + PaginatedScheduledJobList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ScheduledJob' + type: array + type: object + PaginatedSecretList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Secret' + type: array + type: object + PaginatedSecretsGroupAssociationList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/SecretsGroupAssociation' + type: array + type: object + PaginatedSecretsGroupList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/SecretsGroup' + type: array + type: object + PaginatedServiceList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Service' + type: array + type: object + PaginatedServiceObjectGroupList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ServiceObjectGroup' + type: array + type: object + PaginatedServiceObjectList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ServiceObject' + type: array + type: object + PaginatedSiteList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Site' + type: array + type: object + PaginatedSoftwareImageLCMList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/SoftwareImageLCM' + type: array + type: object + PaginatedSoftwareLCMList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/SoftwareLCM' + type: array + type: object + PaginatedStatusList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Status' + type: array + type: object + PaginatedTagSerializerVersion13List: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/TagSerializerVersion13' + type: array + type: object + PaginatedTenantGroupList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/TenantGroup' + type: array + type: object + PaginatedTenantList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Tenant' + type: array + type: object + PaginatedTokenList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Token' + type: array + type: object + PaginatedUserList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/User' + type: array + type: object + PaginatedUserObjectGroupList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/UserObjectGroup' + type: array + type: object + PaginatedUserObjectList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/UserObject' + type: array + type: object + PaginatedVLANGroupList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/VLANGroup' + type: array + type: object + PaginatedVLANList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/VLAN' + type: array + type: object + PaginatedVMInterfaceSerializerVersion12List: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/VMInterfaceSerializerVersion12' + type: array + type: object + PaginatedVRFList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/VRF' + type: array + type: object + PaginatedValidatedSoftwareLCMList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/ValidatedSoftwareLCM' + type: array + type: object + PaginatedVirtualChassisList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/VirtualChassis' + type: array + type: object + PaginatedVirtualMachineWithConfigContextList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + type: array + type: object + PaginatedVulnerabilityLCMList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/VulnerabilityLCM' + type: array + type: object + PaginatedWebhookList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Webhook' + type: array + type: object + PaginatedZoneList: + properties: + count: + example: 123 + type: integer + next: + example: http://api.example.org/accounts/?offset=400&limit=100 + format: uri + nullable: true + type: string + previous: + example: http://api.example.org/accounts/?offset=200&limit=100 + format: uri + nullable: true + type: string + results: + items: + $ref: '#/components/schemas/Zone' + type: array + type: object + PatchedAccessGrantRequest: + description: API serializer for interacting with AccessGrant objects. + properties: + command: + description: Enter * to grant access to all commands + maxLength: 64 + minLength: 1 + type: string + grant_type: + $ref: '#/components/schemas/GrantTypeEnum' + name: + description: Organization name, channel name, or user name + maxLength: 255 + minLength: 1 + type: string + subcommand: + description: Enter * to grant access to all subcommands of the + given command + maxLength: 64 + minLength: 1 + type: string + value: + description: Corresponding ID value to grant access to.
Enter * + to grant access to all organizations, channels, or users + maxLength: 255 + minLength: 1 + type: string + type: object + PatchedBulkWritableAccessGrantRequest: + description: API serializer for interacting with AccessGrant objects. + properties: + command: + description: Enter * to grant access to all commands + maxLength: 64 + minLength: 1 + type: string + grant_type: + $ref: '#/components/schemas/GrantTypeEnum' + id: + format: uuid + type: string + name: + description: Organization name, channel name, or user name + maxLength: 255 + minLength: 1 + type: string + subcommand: + description: Enter * to grant access to all subcommands of the + given command + maxLength: 64 + minLength: 1 + type: string + value: + description: Corresponding ID value to grant access to.
Enter * + to grant access to all organizations, channels, or users + maxLength: 255 + minLength: 1 + type: string + required: + - id + type: object + PatchedBulkWritableAddressFamilyRequest: + description: REST API serializer for AddressFamily records. + properties: + afi_safi: + $ref: '#/components/schemas/AfiSafiEnum' + custom_fields: + additionalProperties: {} + type: object + export_policy: + maxLength: 100 + type: string + id: + format: uuid + type: string + import_policy: + maxLength: 100 + type: string + vrf: + allOf: + - $ref: '#/components/schemas/NestedVRFRequest' + nullable: true + required: + - id + type: object + PatchedBulkWritableAddressObjectGroupRequest: + description: AddressObjectGroup Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + address_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableAddressObjectRequest: + description: AddressObject Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + id: + format: uuid + type: string + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableAggregateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + date_added: + format: date + nullable: true + type: string + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + prefix: + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + rir: + $ref: '#/components/schemas/NestedRIRRequest' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + required: + - id + type: object + PatchedBulkWritableAutonomousSystemRequest: + description: REST API serializer for AutonomousSystem records. + properties: + asn: + description: 32-bit autonomous system number + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + provider: + allOf: + - $ref: '#/components/schemas/NestedProviderRequest' + nullable: true + status: + $ref: '#/components/schemas/Status2a0Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableBGPRoutingInstanceRequest: + description: REST API serializer for Peering records. + properties: + autonomous_system: + allOf: + - $ref: '#/components/schemas/NestedAutonomousSystemRequest' + nullable: true + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDeviceRequest' + id: + format: uuid + type: string + router_id: + allOf: + - $ref: '#/components/schemas/NestedIPAddressRequest' + nullable: true + required: + - id + type: object + PatchedBulkWritableCVELCMRequest: + description: REST API serializer for CVELCM records. + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + cvss: + format: double + nullable: true + title: CVSS Base Score + type: number + cvss_v2: + format: double + nullable: true + title: CVSSv2 Score + type: number + cvss_v3: + format: double + nullable: true + title: CVSSv3 Score + type: number + description: + maxLength: 255 + nullable: true + type: string + fix: + maxLength: 255 + nullable: true + type: string + id: + format: uuid + type: string + link: + format: uri + maxLength: 200 + minLength: 1 + type: string + name: + maxLength: 16 + minLength: 1 + type: string + published_date: + format: date + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + severity: + $ref: '#/components/schemas/SeverityEnum' + status: + $ref: '#/components/schemas/Status4f5Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableCableRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + color: + maxLength: 6 + pattern: ^[0-9a-f]{6}$ + type: string + custom_fields: + additionalProperties: {} + type: object + id: + format: uuid + type: string + label: + maxLength: 100 + type: string + length: + maximum: 32767 + minimum: 0 + nullable: true + type: integer + length_unit: + $ref: '#/components/schemas/LengthUnitEnum' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/CableStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + termination_a_id: + format: uuid + type: string + termination_a_type: + type: string + termination_b_id: + format: uuid + type: string + termination_b_type: + type: string + type: + oneOf: + - $ref: '#/components/schemas/CableTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + required: + - id + type: object + PatchedBulkWritableCapircaPolicyRequest: + description: CapircaPolicy Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + cfg: + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + device: + format: uuid + nullable: true + type: string + id: + format: uuid + type: string + net: + nullable: true + type: string + pol: + nullable: true + type: string + svc: + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest: + description: Serializer for API. + properties: + circuit: + format: uuid + type: string + id: + format: uuid + type: string + impact: + nullable: true + oneOf: + - $ref: '#/components/schemas/ImpactEnum' + - $ref: '#/components/schemas/BlankEnum' + - $ref: '#/components/schemas/NullEnum' + maintenance: + format: uuid + type: string + required: + - id + type: object + PatchedBulkWritableCircuitMaintenanceRequest: + description: Serializer for API. + properties: + ack: + nullable: true + type: boolean + description: + nullable: true + type: string + end_time: + format: date-time + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + start_time: + format: date-time + type: string + status: + nullable: true + oneOf: + - $ref: '#/components/schemas/StatusD95Enum' + - $ref: '#/components/schemas/BlankEnum' + - $ref: '#/components/schemas/NullEnum' + required: + - id + type: object + PatchedBulkWritableCircuitRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + cid: + maxLength: 100 + minLength: 1 + title: Circuit ID + type: string + comments: + type: string + commit_rate: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Commit rate (Kbps) + type: integer + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + install_date: + format: date + nullable: true + title: Date installed + type: string + provider: + $ref: '#/components/schemas/NestedProviderRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/CircuitStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + type: + $ref: '#/components/schemas/NestedCircuitTypeRequest' + required: + - id + type: object + PatchedBulkWritableCircuitTerminationRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + circuit: + $ref: '#/components/schemas/NestedCircuitRequest' + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + port_speed: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Port speed (Kbps) + type: integer + pp_info: + maxLength: 100 + title: Patch panel/port(s) + type: string + provider_network: + allOf: + - $ref: '#/components/schemas/NestedProviderNetworkRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + allOf: + - $ref: '#/components/schemas/NestedSiteRequest' + nullable: true + term_side: + allOf: + - $ref: '#/components/schemas/TermSideEnum' + title: Termination + upstream_speed: + description: Upstream speed, if different from port speed + maximum: 2147483647 + minimum: 0 + nullable: true + title: Upstream speed (Kbps) + type: integer + xconnect_id: + maxLength: 50 + title: Cross-connect ID + type: string + required: + - id + type: object + PatchedBulkWritableCircuitTypeRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + PatchedBulkWritableClusterGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + PatchedBulkWritableClusterRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + group: + allOf: + - $ref: '#/components/schemas/NestedClusterGroupRequest' + nullable: true + id: + format: uuid + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + allOf: + - $ref: '#/components/schemas/NestedSiteRequest' + nullable: true + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + type: + $ref: '#/components/schemas/NestedClusterTypeRequest' + required: + - id + type: object + PatchedBulkWritableClusterTypeRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + PatchedBulkWritableCommandTokenRequest: + description: API serializer for interacting with CommandToken objects. + properties: + comment: + description: 'Optional: Enter description of token' + maxLength: 255 + type: string + id: + format: uuid + type: string + platform: + $ref: '#/components/schemas/PlatformEnum' + token: + description: Token given by chat platform for signing or command validation + maxLength: 255 + minLength: 1 + type: string + required: + - id + type: object + PatchedBulkWritableComplianceFeatureRequest: + description: Serializer for ComplianceFeature object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + minLength: 1 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableComplianceRuleRequest: + description: Serializer for ComplianceRule object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + config_ordered: + description: Whether or not the configuration order matters, such as in + ACLs. + title: Configured Ordered + type: boolean + config_type: + allOf: + - $ref: '#/components/schemas/ConfigTypeEnum' + description: Whether the config is in cli or json/structured format. + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + feature: + format: uuid + type: string + id: + format: uuid + type: string + match_config: + description: The config to match that is matched based on the parent most + configuration. e.g. `router bgp` or `ntp`. + nullable: true + title: Config to Match + type: string + platform: + format: uuid + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableComputedFieldRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + content_type: + type: string + description: + maxLength: 200 + type: string + fallback_value: + description: Fallback value (if any) to be output for the field in the case + of a template rendering error. + maxLength: 500 + type: string + id: + format: uuid + type: string + label: + description: Name of the field as displayed to users + maxLength: 100 + minLength: 1 + type: string + slug: + description: Internal field name. Please use underscores rather than dashes + in this slug. + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + template: + description: Jinja2 template code for field value + maxLength: 500 + minLength: 1 + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - id + type: object + PatchedBulkWritableConfigComplianceRequest: + description: Serializer for ConfigCompliance object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + actual: + additionalProperties: {} + description: Actual Configuration for feature + type: object + compliance: + nullable: true + type: boolean + compliance_int: + maximum: 2147483647 + minimum: -2147483648 + nullable: true + type: integer + custom_fields: + additionalProperties: {} + type: object + device: + description: The device + format: uuid + type: string + extra: + additionalProperties: {} + description: Configuration that should not be on the device. + type: object + id: + format: uuid + type: string + intended: + additionalProperties: {} + description: Intended Configuration for feature + type: object + missing: + additionalProperties: {} + description: Configuration that should be on the device. + type: object + ordered: + type: boolean + rule: + format: uuid + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableConfigContextRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + cluster_groups: + items: + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + type: array + clusters: + items: + properties: + name: + maxLength: 100 + minLength: 1 + type: string + required: + - name + type: object + type: array + data: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_types: + items: + properties: + model: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - model + - slug + type: object + type: array + id: + format: uuid + type: string + is_active: + type: boolean + locations: + items: + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + type: array + name: + maxLength: 100 + minLength: 1 + type: string + owner_content_type: + nullable: true + type: string + owner_object_id: + format: uuid + nullable: true + type: string + platforms: + items: + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + type: array + regions: + items: + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + type: array + roles: + items: + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + type: array + schema: + allOf: + - $ref: '#/components/schemas/NestedConfigContextSchemaRequest' + nullable: true + sites: + items: + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + type: array + tags: + items: + type: string + type: array + tenant_groups: + items: + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + type: array + tenants: + items: + properties: + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + type: array + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - id + type: object + PatchedBulkWritableConfigContextSchemaRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + data_schema: + additionalProperties: {} + description: A JSON Schema document which is used to validate a config context + object. + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 200 + minLength: 1 + type: string + owner_content_type: + nullable: true + type: string + owner_object_id: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 200 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + PatchedBulkWritableConfigRemoveRequest: + description: Serializer for ConfigRemove object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 255 + minLength: 1 + type: string + platform: + format: uuid + type: string + regex: + description: Regex pattern used to remove a line from the backup configuration. + maxLength: 200 + minLength: 1 + title: Regex Pattern + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableConfigReplaceRequest: + description: Serializer for ConfigReplace object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 255 + minLength: 1 + type: string + platform: + format: uuid + type: string + regex: + description: Regex pattern that will be found and replaced with 'replaced + text'. + maxLength: 200 + minLength: 1 + title: Regex Pattern to Substitute + type: string + replace: + description: Text that will be inserted in place of Regex pattern match. + maxLength: 200 + minLength: 1 + title: Replaced Text + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableConsolePortRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDeviceRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/ConsolePortTypeChoices' + required: + - id + type: object + PatchedBulkWritableConsolePortTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceTypeRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + $ref: '#/components/schemas/ConsolePortTypeChoices' + required: + - id + type: object + PatchedBulkWritableConsoleServerPortRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDeviceRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/ConsolePortTypeChoices' + required: + - id + type: object + PatchedBulkWritableConsoleServerPortTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceTypeRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + $ref: '#/components/schemas/ConsolePortTypeChoices' + required: + - id + type: object + PatchedBulkWritableContactLCMRequest: + description: API serializer. + properties: + address: + maxLength: 200 + type: string + comments: + type: string + contract: + allOf: + - $ref: '#/components/schemas/NestedContractLCMRequest' + description: Associated Contract + custom_fields: + additionalProperties: {} + type: object + email: + format: email + maxLength: 254 + title: Contact E-mail + type: string + id: + format: uuid + type: string + name: + maxLength: 80 + minLength: 1 + nullable: true + type: string + phone: + maxLength: 20 + type: string + priority: + maximum: 2147483647 + minimum: 0 + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableContractLCMRequest: + description: API serializer. + properties: + contract_type: + maxLength: 32 + nullable: true + type: string + cost: + format: decimal + nullable: true + pattern: ^-?\d{0,13}(?:\.\d{0,2})?$ + title: Contract Cost + type: string + custom_fields: + additionalProperties: {} + type: object + end: + format: date + nullable: true + title: Contract End Date + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + provider: + allOf: + - $ref: '#/components/schemas/NestedProviderLCMRequest' + description: Vendor + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + start: + format: date + nullable: true + title: Contract Start Date + type: string + support_level: + maxLength: 64 + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableCustomFieldChoiceRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + field: + $ref: '#/components/schemas/NestedCustomFieldRequest' + id: + format: uuid + type: string + value: + maxLength: 100 + minLength: 1 + type: string + weight: + description: Higher weights appear later in the list + maximum: 32767 + minimum: 0 + type: integer + required: + - id + type: object + PatchedBulkWritableCustomLinkRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + button_class: + allOf: + - $ref: '#/components/schemas/ButtonClassEnum' + description: The class of the first link in a group will be used for the + dropdown button + content_type: + type: string + group_name: + description: Links with the same group will appear as a dropdown menu + maxLength: 50 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + new_window: + description: Force link to open in a new window + type: boolean + target_url: + description: Jinja2 template code for link URL. Reference the object as + {{ obj }} such as {{ obj.platform.slug }}. + maxLength: 500 + minLength: 1 + title: URL + type: string + text: + description: Jinja2 template code for link text. Reference the object as + {{ obj }} such as {{ obj.platform.slug }}. Links + which render as empty text will not be displayed. + maxLength: 500 + minLength: 1 + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - id + type: object + PatchedBulkWritableDeviceBayRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDeviceRequest' + id: + format: uuid + type: string + installed_device: + allOf: + - $ref: '#/components/schemas/NestedDeviceRequest' + nullable: true + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableDeviceBayTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceTypeRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + required: + - id + type: object + PatchedBulkWritableDeviceRedundancyGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + failover_strategy: + $ref: '#/components/schemas/FailoverStrategyEnum' + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + secrets_group: + format: uuid + nullable: true + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + status: + $ref: '#/components/schemas/LocationStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableDeviceRoleRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + color: + maxLength: 6 + minLength: 1 + pattern: ^[0-9a-f]{6}$ + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + vm_role: + description: Virtual machines may be assigned to this role + type: boolean + required: + - id + type: object + PatchedBulkWritableDeviceTypeRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + front_image: + format: binary + type: string + id: + format: uuid + type: string + is_full_depth: + description: Device consumes both front and rear rack faces + type: boolean + manufacturer: + $ref: '#/components/schemas/NestedManufacturerRequest' + model: + maxLength: 100 + minLength: 1 + type: string + part_number: + description: Discrete part number (optional) + maxLength: 50 + type: string + rear_image: + format: binary + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + subdevice_role: + $ref: '#/components/schemas/SubdeviceRoleEnum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + u_height: + maximum: 32767 + minimum: 0 + title: Height (U) + type: integer + required: + - id + type: object + PatchedBulkWritableDeviceWithConfigContextRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + asset_tag: + description: A unique tag used to identify this device + maxLength: 50 + nullable: true + type: string + cluster: + allOf: + - $ref: '#/components/schemas/NestedClusterRequest' + nullable: true + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + device_redundancy_group: + allOf: + - $ref: '#/components/schemas/NestedDeviceRedundancyGroupRequest' + nullable: true + device_redundancy_group_priority: + description: The priority the device has in the device redundancy group. + maximum: 32767 + minimum: 1 + nullable: true + type: integer + device_role: + $ref: '#/components/schemas/NestedDeviceRoleRequest' + device_type: + $ref: '#/components/schemas/NestedDeviceTypeRequest' + face: + $ref: '#/components/schemas/FaceEnum' + id: + format: uuid + type: string + local_context_data: + additionalProperties: {} + nullable: true + type: object + local_context_schema: + allOf: + - $ref: '#/components/schemas/NestedConfigContextSchemaRequest' + nullable: true + location: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + name: + maxLength: 64 + nullable: true + type: string + platform: + allOf: + - $ref: '#/components/schemas/NestedPlatformRequest' + nullable: true + position: + description: The lowest-numbered unit occupied by the device + maximum: 32767 + minimum: 1 + nullable: true + title: Position (U) + type: integer + primary_ip4: + allOf: + - $ref: '#/components/schemas/NestedIPAddressRequest' + nullable: true + primary_ip6: + allOf: + - $ref: '#/components/schemas/NestedIPAddressRequest' + nullable: true + rack: + allOf: + - $ref: '#/components/schemas/NestedRackRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + secrets_group: + allOf: + - $ref: '#/components/schemas/NestedSecretsGroupRequest' + nullable: true + serial: + maxLength: 255 + title: Serial number + type: string + site: + $ref: '#/components/schemas/NestedSiteRequest' + status: + $ref: '#/components/schemas/DeviceStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + vc_position: + maximum: 255 + minimum: 0 + nullable: true + type: integer + vc_priority: + maximum: 255 + minimum: 0 + nullable: true + type: integer + virtual_chassis: + allOf: + - $ref: '#/components/schemas/NestedVirtualChassisRequest' + nullable: true + required: + - id + type: object + PatchedBulkWritableDynamicGroupMembershipRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + group: + $ref: '#/components/schemas/NestedDynamicGroupRequest' + id: + format: uuid + type: string + operator: + $ref: '#/components/schemas/OperatorEnum' + parent_group: + $ref: '#/components/schemas/NestedDynamicGroupRequest' + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - id + type: object + PatchedBulkWritableDynamicGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + content_type: + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + filter: + additionalProperties: {} + description: A JSON-encoded dictionary of filter parameters for group membership + type: object + id: + format: uuid + type: string + name: + description: Dynamic Group name + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + description: Unique slug + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + PatchedBulkWritableExportTemplateRequest: + description: Extend ValidatedModelSerializer with a `relationships` field. + properties: + content_type: + type: string + description: + maxLength: 200 + type: string + file_extension: + description: Extension to append to the rendered filename + maxLength: 15 + type: string + id: + format: uuid + type: string + mime_type: + description: Defaults to text/plain + maxLength: 50 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + owner_content_type: + nullable: true + type: string + owner_object_id: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + template_code: + description: The list of objects being exported is passed as a context variable + named queryset. + minLength: 1 + type: string + required: + - id + type: object + PatchedBulkWritableFQDNRequest: + description: FQDN Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + ip_addresses: + items: + properties: + address: + minLength: 1 + type: string + required: + - address + type: object + type: array + name: + description: Resolvable fully qualified domain name (e.g. networktocode.com) + maxLength: 254 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableFrontPortRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDeviceRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + rear_port: + $ref: '#/components/schemas/FrontPortRearPortRequest' + rear_port_position: + default: 1 + maximum: 1024 + minimum: 1 + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/PortTypeChoices' + required: + - id + type: object + PatchedBulkWritableFrontPortTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceTypeRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + rear_port: + $ref: '#/components/schemas/NestedRearPortTemplateRequest' + rear_port_position: + default: 1 + maximum: 1024 + minimum: 1 + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + $ref: '#/components/schemas/PortTypeChoices' + required: + - id + type: object + PatchedBulkWritableGitRepositoryRequest: + description: Git repositories defined as a data source. + properties: + branch: + maxLength: 64 + minLength: 1 + type: string + current_head: + description: Commit hash of the most recent fetch from the selected branch. + Used for syncing between workers. + maxLength: 48 + type: string + custom_fields: + additionalProperties: {} + type: object + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + provided_contents: + items: + oneOf: + - $ref: '#/components/schemas/ProvidedContentsEnum' + - $ref: '#/components/schemas/BlankEnum' + type: array + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + remote_url: + description: Only HTTP and HTTPS URLs are presently supported + format: uri + maxLength: 255 + minLength: 1 + type: string + secrets_group: + allOf: + - $ref: '#/components/schemas/NestedSecretsGroupRequest' + nullable: true + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + token: + minLength: 1 + type: string + writeOnly: true + username: + maxLength: 64 + type: string + required: + - id + type: object + PatchedBulkWritableGoldenConfigRequest: + description: Serializer for GoldenConfig object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + backup_config: + description: Full backup config for device. + type: string + backup_last_attempt_date: + format: date-time + nullable: true + type: string + backup_last_success_date: + format: date-time + nullable: true + type: string + compliance_config: + description: Full config diff for device. + type: string + compliance_last_attempt_date: + format: date-time + nullable: true + type: string + compliance_last_success_date: + format: date-time + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + device: + description: device + format: uuid + type: string + id: + format: uuid + type: string + intended_config: + description: Intended config for the device. + type: string + intended_last_attempt_date: + format: date-time + nullable: true + type: string + intended_last_success_date: + format: date-time + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableGoldenConfigSettingRequest: + description: Serializer for GoldenConfigSetting object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + backup_path_template: + description: The Jinja path representation of where the backup file will + be found. The variable `obj` is available as the device instance object + of a given device, as is the case for all Jinja templates. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + maxLength: 255 + title: Backup Path in Jinja Template Form + type: string + backup_repository: + format: uuid + nullable: true + type: string + backup_test_connectivity: + description: Whether or not to pretest the connectivity of the device by + verifying there is a resolvable IP that can connect to port 22. + title: Backup Test + type: boolean + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + dynamic_group: + $ref: '#/components/schemas/NestedDynamicGroupRequest' + id: + format: uuid + type: string + intended_path_template: + description: The Jinja path representation of where the generated file will + be places. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + maxLength: 255 + title: Intended Path in Jinja Template Form + type: string + intended_repository: + format: uuid + nullable: true + type: string + jinja_path_template: + description: The Jinja path representation of where the Jinja template can + be found. e.g. `{{obj.platform.slug}}.j2` + maxLength: 255 + title: Template Path in Jinja Template Form + type: string + jinja_repository: + format: uuid + nullable: true + type: string + name: + maxLength: 100 + minLength: 1 + type: string + scope: + additionalProperties: {} + type: object + slug: + maxLength: 100 + minLength: 1 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + sot_agg_query: + format: uuid + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - id + type: object + PatchedBulkWritableGraphQLQueryRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + query: + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + variables: + additionalProperties: {} + default: {} + nullable: true + type: object + required: + - id + type: object + PatchedBulkWritableGroupRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + id: + type: integer + name: + maxLength: 150 + minLength: 1 + type: string + required: + - id + type: object + PatchedBulkWritableHardwareLCMRequest: + description: API serializer. + properties: + custom_fields: + additionalProperties: {} + type: object + device_type: + allOf: + - $ref: '#/components/schemas/NestedDeviceTypeRequest' + description: Device Type to attach the Hardware LCM to + documentation_url: + format: uri + maxLength: 200 + type: string + end_of_sale: + format: date + nullable: true + type: string + end_of_security_patches: + format: date + nullable: true + type: string + end_of_support: + format: date + nullable: true + type: string + end_of_sw_releases: + format: date + nullable: true + title: End of Software Releases + type: string + id: + format: uuid + type: string + inventory_item: + maxLength: 255 + nullable: true + title: Inventory Item Part + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + release_date: + format: date + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableIPAddressRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + address: + minLength: 1 + type: string + assigned_object_id: + format: uuid + nullable: true + type: string + assigned_object_type: + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + dns_name: + description: Hostname or FQDN (not case-sensitive) + maxLength: 255 + pattern: ^[0-9A-Za-z._-]+$ + type: string + id: + format: uuid + type: string + nat_inside: + allOf: + - $ref: '#/components/schemas/NestedIPAddressRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + role: + $ref: '#/components/schemas/RoleEnum' + status: + $ref: '#/components/schemas/IPAddressStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + vrf: + allOf: + - $ref: '#/components/schemas/NestedVRFRequest' + nullable: true + required: + - id + type: object + PatchedBulkWritableIPRangeRequest: + description: IPRange Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + end_address: + minLength: 1 + type: string + id: + format: uuid + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + start_address: + minLength: 1 + type: string + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + vrf: + format: uuid + nullable: true + type: string + required: + - id + type: object + PatchedBulkWritableImageAttachmentRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + content_type: + type: string + id: + format: uuid + type: string + image: + format: binary + type: string + image_height: + maximum: 32767 + minimum: 0 + type: integer + image_width: + maximum: 32767 + minimum: 0 + type: integer + name: + maxLength: 50 + type: string + object_id: + format: uuid + type: string + required: + - id + type: object + PatchedBulkWritableInterfaceRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + bridge: + allOf: + - $ref: '#/components/schemas/NestedInterfaceRequest' + nullable: true + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDeviceRequest' + enabled: + type: boolean + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + lag: + allOf: + - $ref: '#/components/schemas/NestedInterfaceRequest' + nullable: true + mac_address: + maxLength: 18 + nullable: true + type: string + mgmt_only: + description: This interface is used only for out-of-band management + title: Management only + type: boolean + mode: + $ref: '#/components/schemas/ModeEnum' + mtu: + maximum: 65536 + minimum: 1 + nullable: true + type: integer + name: + maxLength: 64 + minLength: 1 + type: string + parent_interface: + allOf: + - $ref: '#/components/schemas/NestedInterfaceRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/InterfaceStatusChoices' + tagged_vlans: + items: + properties: + name: + maxLength: 64 + minLength: 1 + type: string + vid: + maximum: 4094 + minimum: 1 + title: ID + type: integer + required: + - name + - vid + type: object + type: array + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/InterfaceTypeChoices' + untagged_vlan: + allOf: + - $ref: '#/components/schemas/NestedVLANRequest' + nullable: true + required: + - id + type: object + PatchedBulkWritableInterfaceTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceTypeRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + mgmt_only: + title: Management only + type: boolean + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + $ref: '#/components/schemas/InterfaceTypeChoices' + required: + - id + type: object + PatchedBulkWritableInventoryItemRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + asset_tag: + description: A unique tag used to identify this item + maxLength: 50 + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDeviceRequest' + discovered: + description: This item was automatically discovered + type: boolean + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + manufacturer: + allOf: + - $ref: '#/components/schemas/NestedManufacturerRequest' + nullable: true + name: + maxLength: 64 + minLength: 1 + type: string + parent: + format: uuid + nullable: true + type: string + part_id: + description: Manufacturer-assigned part identifier + maxLength: 50 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + serial: + maxLength: 255 + title: Serial number + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableJobHookRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + content_types: + items: + type: string + type: array + custom_fields: + additionalProperties: {} + type: object + enabled: + type: boolean + id: + format: uuid + type: string + job: + description: The job that this job hook will initiate + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type_create: + description: Call this job hook when a matching object is created. + type: boolean + type_delete: + description: Call this job hook when a matching object is deleted. + type: boolean + type_update: + description: Call this job hook when a matching object is updated. + type: boolean + required: + - id + type: object + PatchedBulkWritableJobRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + approval_required: + description: Whether the job requires approval from another user before + running + type: boolean + approval_required_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + commit_default: + description: Whether the job defaults to committing changes when run, or + defaults to a dry-run + type: boolean + commit_default_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + custom_fields: + additionalProperties: {} + type: object + description: + description: Markdown formatting is supported + type: string + description_override: + description: If set, the configured description will remain even if the + underlying Job source code changes + type: boolean + enabled: + description: Whether this job can be executed by users + type: boolean + grouping: + description: Human-readable grouping that this job belongs to + maxLength: 255 + minLength: 1 + type: string + grouping_override: + description: If set, the configured grouping will remain even if the underlying + Job source code changes + type: boolean + has_sensitive_variables: + description: Whether this job contains sensitive variables + type: boolean + has_sensitive_variables_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + hidden: + description: Whether the job defaults to not being shown in the UI + type: boolean + hidden_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + id: + format: uuid + type: string + name: + description: Human-readable name of this job + maxLength: 100 + minLength: 1 + type: string + name_override: + description: If set, the configured name will remain even if the underlying + Job source code changes + type: boolean + read_only: + description: Whether the job is prevented from making lasting changes to + the database + type: boolean + read_only_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 320 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + soft_time_limit: + description: Maximum runtime in seconds before the job will receive a SoftTimeLimitExceeded + exception.
Set to 0 to use Nautobot system default + format: double + minimum: 0 + type: number + soft_time_limit_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + task_queues: + additionalProperties: {} + description: Comma separated list of task queues that this job can run on. + A blank list will use the default queue + type: object + task_queues_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + time_limit: + description: Maximum runtime in seconds before the job will be forcibly + terminated.
Set to 0 to use Nautobot system default + format: double + minimum: 0 + type: number + time_limit_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + required: + - id + type: object + PatchedBulkWritableLocationRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + location_type: + $ref: '#/components/schemas/NestedLocationTypeRequest' + name: + maxLength: 100 + minLength: 1 + type: string + parent: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + allOf: + - $ref: '#/components/schemas/NestedSiteRequest' + nullable: true + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + status: + $ref: '#/components/schemas/LocationStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + required: + - id + type: object + PatchedBulkWritableLocationTypeRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + content_types: + items: + type: string + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + nestable: + description: Allow Locations of this type to be parents/children of other + Locations of this same type + type: boolean + parent: + allOf: + - $ref: '#/components/schemas/NestedLocationTypeRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + PatchedBulkWritableManufacturerRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + PatchedBulkWritableMinMaxValidationRuleRequest: + description: Serializer for `MinMaxValidationRule` objects. + properties: + content_type: + type: string + enabled: + type: boolean + error_message: + description: Optional error message to display when validation fails. + maxLength: 255 + nullable: true + type: string + field: + maxLength: 50 + minLength: 1 + type: string + id: + format: uuid + type: string + max: + description: When set, apply a maximum value contraint to the value of the + model field. + format: double + nullable: true + type: number + min: + description: When set, apply a minimum value contraint to the value of the + model field. + format: double + nullable: true + type: number + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + minLength: 1 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + PatchedBulkWritableNATPolicyRequest: + description: NATPolicy Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + assigned_devices: + items: + $ref: '#/components/schemas/NATPolicyDeviceM2MNestedRequest' + type: array + assigned_dynamic_groups: + items: + $ref: '#/components/schemas/NATPolicyDynamicGroupM2MNestedRequest' + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + required: + - id + type: object + PatchedBulkWritableNATPolicyRuleRequest: + description: PolicyRule Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + nullable: true + type: string + destination_zone: + $ref: '#/components/schemas/ZoneRequest' + id: + format: uuid + type: string + index: + maximum: 32767 + minimum: 0 + nullable: true + type: integer + log: + type: boolean + name: + maxLength: 100 + minLength: 1 + type: string + original_destination_address_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + address_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + original_destination_addresses: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + original_destination_service_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + service_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. + HTTP would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + original_destination_services: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP + would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + original_source_address_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + address_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + original_source_addresses: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + original_source_service_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + service_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. + HTTP would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + original_source_services: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP + would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + remark: + type: boolean + request_id: + maxLength: 100 + nullable: true + type: string + source_zone: + $ref: '#/components/schemas/ZoneRequest' + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + translated_destination_address_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + address_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + translated_destination_addresses: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + translated_destination_service_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + service_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. + HTTP would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + translated_destination_services: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP + would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + translated_source_address_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + address_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + translated_source_addresses: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + translated_source_service_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + service_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. + HTTP would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + translated_source_services: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP + would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + required: + - id + type: object + PatchedBulkWritableNoteRequest: + description: 'This base serializer implements common fields and logic for all + ModelSerializers. + + + Namely, it: + + + - defines the `display` field which exposes a human friendly value for the + given object. + + - ensures that `id` field is always present on the serializer as well + + - ensures that `created` and `last_updated` fields are always present if applicable + to this model and serializer.' + properties: + assigned_object_id: + format: uuid + type: string + assigned_object_type: + type: string + id: + format: uuid + type: string + note: + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + PatchedBulkWritableObjectPermissionRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + actions: + additionalProperties: {} + description: The list of actions granted by this permission + type: object + constraints: + additionalProperties: {} + description: Queryset filter matching the applicable objects of the selected + type(s) + nullable: true + type: object + description: + maxLength: 200 + type: string + enabled: + type: boolean + groups: + items: + properties: + name: + maxLength: 150 + minLength: 1 + type: string + required: + - name + type: object + type: array + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + object_types: + items: + type: string + type: array + users: + items: + properties: + username: + description: Required. 150 characters or fewer. Letters, digits and + @/./+/-/_ only. + maxLength: 150 + minLength: 1 + pattern: ^[\w.@+-]+$ + type: string + required: + - username + type: object + type: array + required: + - id + type: object + PatchedBulkWritablePeerEndpointRequest: + description: REST API serializer for PeerEndpoint records. + properties: + autonomous_system: + allOf: + - $ref: '#/components/schemas/NestedAutonomousSystemRequest' + nullable: true + custom_fields: + additionalProperties: {} + type: object + enabled: + type: boolean + export_policy: + maxLength: 100 + type: string + id: + format: uuid + type: string + import_policy: + maxLength: 100 + type: string + peer_group: + allOf: + - $ref: '#/components/schemas/NestedPeerGroupRequest' + nullable: true + peering: + allOf: + - $ref: '#/components/schemas/NestedPeeringRequest' + nullable: true + secret: + allOf: + - $ref: '#/components/schemas/NestedSecretRequest' + nullable: true + source_interface: + allOf: + - $ref: '#/components/schemas/NestedInterfaceRequest' + nullable: true + source_ip: + allOf: + - $ref: '#/components/schemas/NestedIPAddressRequest' + nullable: true + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritablePeerGroupRequest: + description: REST API serializer for PeerGroup records. + properties: + autonomous_system: + allOf: + - $ref: '#/components/schemas/NestedAutonomousSystemRequest' + nullable: true + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + enabled: + type: boolean + export_policy: + maxLength: 100 + type: string + id: + format: uuid + type: string + import_policy: + maxLength: 100 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + role: + format: uuid + nullable: true + type: string + secret: + allOf: + - $ref: '#/components/schemas/NestedSecretRequest' + nullable: true + source_interface: + allOf: + - $ref: '#/components/schemas/NestedInterfaceRequest' + nullable: true + source_ip: + allOf: + - $ref: '#/components/schemas/NestedIPAddressRequest' + nullable: true + template: + allOf: + - $ref: '#/components/schemas/NestedPeerGroupTemplateRequest' + nullable: true + required: + - id + type: object + PatchedBulkWritablePeerGroupTemplateRequest: + description: REST API serializer for PeerGroup records. + properties: + autonomous_system: + allOf: + - $ref: '#/components/schemas/NestedAutonomousSystemRequest' + nullable: true + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + enabled: + type: boolean + export_policy: + maxLength: 100 + type: string + id: + format: uuid + type: string + import_policy: + maxLength: 100 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + role: + format: uuid + nullable: true + type: string + secret: + allOf: + - $ref: '#/components/schemas/NestedSecretRequest' + nullable: true + required: + - id + type: object + PatchedBulkWritablePeeringRequest: + description: REST API serializer for Peering records. + properties: + custom_fields: + additionalProperties: {} + type: object + id: + format: uuid + type: string + status: + $ref: '#/components/schemas/CircuitStatusChoices' + required: + - id + type: object + PatchedBulkWritablePeeringRoleRequest: + description: REST API serializer for PeeringRole records. + properties: + color: + maxLength: 6 + minLength: 1 + pattern: ^[0-9a-f]{6}$ + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + PatchedBulkWritablePlatformRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + manufacturer: + allOf: + - $ref: '#/components/schemas/NestedManufacturerRequest' + nullable: true + name: + maxLength: 100 + minLength: 1 + type: string + napalm_args: + additionalProperties: {} + description: Additional arguments to pass when initiating the NAPALM driver + (JSON format) + nullable: true + title: NAPALM arguments + type: object + napalm_driver: + description: The name of the NAPALM driver to use when interacting with + devices + maxLength: 50 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + PatchedBulkWritablePolicyRequest: + description: Policy Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + assigned_devices: + items: + $ref: '#/components/schemas/PolicyDeviceM2MNestedRequest' + type: array + assigned_dynamic_groups: + items: + $ref: '#/components/schemas/PolicyDynamicGroupM2MNestedRequest' + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + required: + - id + type: object + PatchedBulkWritablePolicyRuleRequest: + description: PolicyRule Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + action: + $ref: '#/components/schemas/ActionEnum' + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + nullable: true + type: string + destination_address_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + address_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + destination_addresses: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + destination_service_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + service_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. + HTTP would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + destination_services: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP + would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + destination_zone: + $ref: '#/components/schemas/ZoneRequest' + id: + format: uuid + type: string + index: + maximum: 32767 + minimum: 0 + nullable: true + type: integer + log: + type: boolean + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + request_id: + maxLength: 100 + nullable: true + type: string + source_address_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + address_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + source_addresses: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDNRequest' + ip_address: + $ref: '#/components/schemas/NestedIPAddressRequest' + ip_range: + $ref: '#/components/schemas/NestedIPRangeRequest' + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + $ref: '#/components/schemas/NestedPrefixRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + type: array + source_user_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + user_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + name: + description: Signifies the name of the user, commonly first + & last name (e.g. John Smith) + maxLength: 100 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + username: + description: Signifies the username in identify provider (e.g. + john.smith) + maxLength: 100 + minLength: 1 + type: string + required: + - username + type: object + type: array + required: + - name + type: object + type: array + source_users: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + name: + description: Signifies the name of the user, commonly first & last + name (e.g. John Smith) + maxLength: 100 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + username: + description: Signifies the username in identify provider (e.g. john.smith) + maxLength: 100 + minLength: 1 + type: string + required: + - username + type: object + type: array + source_zone: + $ref: '#/components/schemas/ZoneRequest' + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritablePowerFeedRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + amperage: + maximum: 32767 + minimum: 1 + type: integer + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + id: + format: uuid + type: string + max_utilization: + description: Maximum permissible draw (percentage) + maximum: 100 + minimum: 1 + type: integer + name: + maxLength: 100 + minLength: 1 + type: string + phase: + allOf: + - $ref: '#/components/schemas/PhaseEnum' + default: + label: Single phase + value: single-phase + power_panel: + $ref: '#/components/schemas/NestedPowerPanelRequest' + rack: + allOf: + - $ref: '#/components/schemas/NestedRackRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/PowerFeedStatusChoices' + supply: + allOf: + - $ref: '#/components/schemas/SupplyEnum' + default: + label: AC + value: ac + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + allOf: + - $ref: '#/components/schemas/PowerFeedTypeChoices' + default: + label: Primary + value: primary + voltage: + maximum: 32767 + minimum: -32768 + type: integer + required: + - id + type: object + PatchedBulkWritablePowerOutletRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDeviceRequest' + feed_leg: + $ref: '#/components/schemas/FeedLegEnum' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + power_port: + $ref: '#/components/schemas/NestedPowerPortRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/PowerOutletTypeChoices' + required: + - id + type: object + PatchedBulkWritablePowerOutletTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceTypeRequest' + feed_leg: + $ref: '#/components/schemas/FeedLegEnum' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + power_port: + $ref: '#/components/schemas/NestedPowerPortTemplateRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + $ref: '#/components/schemas/PowerOutletTypeChoices' + required: + - id + type: object + PatchedBulkWritablePowerPanelRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + id: + format: uuid + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + name: + maxLength: 100 + minLength: 1 + type: string + rack_group: + allOf: + - $ref: '#/components/schemas/NestedRackGroupRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + $ref: '#/components/schemas/NestedSiteRequest' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritablePowerPortRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + allocated_draw: + description: Allocated power draw (watts) + maximum: 32767 + minimum: 1 + nullable: true + type: integer + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDeviceRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + maximum_draw: + description: Maximum power draw (watts) + maximum: 32767 + minimum: 1 + nullable: true + type: integer + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/PowerPortTypeChoices' + required: + - id + type: object + PatchedBulkWritablePowerPortTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + allocated_draw: + description: Allocated power draw (watts) + maximum: 32767 + minimum: 1 + nullable: true + type: integer + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceTypeRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + maximum_draw: + description: Maximum power draw (watts) + maximum: 32767 + minimum: 1 + nullable: true + type: integer + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + $ref: '#/components/schemas/PowerPortTypeChoices' + required: + - id + type: object + PatchedBulkWritablePrefixRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + is_pool: + description: All IP addresses within this prefix are considered usable + title: Is a pool + type: boolean + location: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + prefix: + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + role: + allOf: + - $ref: '#/components/schemas/NestedRoleRequest' + nullable: true + site: + allOf: + - $ref: '#/components/schemas/NestedSiteRequest' + nullable: true + status: + $ref: '#/components/schemas/PrefixStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + vlan: + allOf: + - $ref: '#/components/schemas/NestedVLANRequest' + nullable: true + vrf: + allOf: + - $ref: '#/components/schemas/NestedVRFRequest' + nullable: true + required: + - id + type: object + PatchedBulkWritableProviderLCMRequest: + description: API serializer. + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + email: + format: email + maxLength: 254 + title: E-mail + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + phone: + maxLength: 20 + type: string + physical_address: + maxLength: 200 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableProviderNetworkRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + provider: + $ref: '#/components/schemas/NestedProviderRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableProviderRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + account: + maxLength: 100 + title: Account number + type: string + admin_contact: + type: string + asn: + description: 32-bit autonomous system number + format: int64 + maximum: 4294967295 + minimum: 1 + nullable: true + type: integer + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + noc_contact: + type: string + portal_url: + format: uri + maxLength: 200 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableRIRRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + is_private: + description: IP space managed by this RIR is considered private + title: Private + type: boolean + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + PatchedBulkWritableRackGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + name: + maxLength: 100 + minLength: 1 + type: string + parent: + allOf: + - $ref: '#/components/schemas/NestedRackGroupRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + $ref: '#/components/schemas/NestedSiteRequest' + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + PatchedBulkWritableRackRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + asset_tag: + description: A unique tag used to identify this rack + maxLength: 50 + nullable: true + type: string + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + desc_units: + description: Units are numbered top-to-bottom + title: Descending units + type: boolean + facility_id: + description: Locally-assigned identifier + maxLength: 50 + nullable: true + type: string + group: + allOf: + - $ref: '#/components/schemas/NestedRackGroupRequest' + nullable: true + id: + format: uuid + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + name: + maxLength: 100 + minLength: 1 + type: string + outer_depth: + description: Outer dimension of rack (depth) + maximum: 32767 + minimum: 0 + nullable: true + type: integer + outer_unit: + $ref: '#/components/schemas/OuterUnitEnum' + outer_width: + description: Outer dimension of rack (width) + maximum: 32767 + minimum: 0 + nullable: true + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + role: + allOf: + - $ref: '#/components/schemas/NestedRackRoleRequest' + nullable: true + serial: + maxLength: 255 + title: Serial number + type: string + site: + $ref: '#/components/schemas/NestedSiteRequest' + status: + $ref: '#/components/schemas/RackStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + type: + $ref: '#/components/schemas/RackTypeChoices' + u_height: + description: Height in rack units + maximum: 100 + minimum: 1 + title: Height (U) + type: integer + width: + $ref: '#/components/schemas/WidthEnum' + required: + - id + type: object + PatchedBulkWritableRackReservationRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + minLength: 1 + type: string + id: + format: uuid + type: string + rack: + $ref: '#/components/schemas/NestedRackRequest' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + units: + additionalProperties: {} + type: object + user: + $ref: '#/components/schemas/NestedUserRequest' + required: + - id + type: object + PatchedBulkWritableRackRoleRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + color: + maxLength: 6 + minLength: 1 + pattern: ^[0-9a-f]{6}$ + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + PatchedBulkWritableRearPortRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDeviceRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + positions: + maximum: 1024 + minimum: 1 + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/PortTypeChoices' + required: + - id + type: object + PatchedBulkWritableRearPortTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceTypeRequest' + id: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + positions: + maximum: 1024 + minimum: 1 + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + $ref: '#/components/schemas/PortTypeChoices' + required: + - id + type: object + PatchedBulkWritableRegionRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + parent: + allOf: + - $ref: '#/components/schemas/NestedRegionRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + PatchedBulkWritableRegularExpressionValidationRuleRequest: + description: Serializer for `RegularExpressionValidationRule` objects. + properties: + content_type: + type: string + enabled: + type: boolean + error_message: + description: Optional error message to display when validation fails. + maxLength: 255 + nullable: true + type: string + field: + maxLength: 50 + minLength: 1 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + regular_expression: + minLength: 1 + type: string + slug: + maxLength: 100 + minLength: 1 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + PatchedBulkWritableRelationshipAssociationRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + destination_id: + format: uuid + type: string + destination_type: + type: string + id: + format: uuid + type: string + relationship: + $ref: '#/components/schemas/NestedRelationshipRequest' + source_id: + format: uuid + type: string + source_type: + type: string + required: + - id + type: object + PatchedBulkWritableRelationshipRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + description: + maxLength: 200 + type: string + destination_filter: + additionalProperties: {} + description: Filterset filter matching the applicable destination objects + of the selected type + nullable: true + type: object + destination_hidden: + description: Hide this relationship on the destination object. + title: Hide for destination object + type: boolean + destination_label: + description: Label for related source objects, as displayed on the destination + object. + maxLength: 50 + type: string + destination_type: + type: string + id: + format: uuid + type: string + name: + description: Name of the relationship as displayed to users + maxLength: 100 + minLength: 1 + type: string + required_on: + description: Objects on the specified side MUST implement this relationship. + Not permitted for symmetric relationships. + oneOf: + - $ref: '#/components/schemas/RequiredOnEnum' + - $ref: '#/components/schemas/BlankEnum' + slug: + description: Internal relationship name. Please use underscores rather than + dashes in this slug. + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + source_filter: + additionalProperties: {} + description: Filterset filter matching the applicable source objects of + the selected type + nullable: true + type: object + source_hidden: + description: Hide this relationship on the source object. + title: Hide for source object + type: boolean + source_label: + description: Label for related destination objects, as displayed on the + source object. + maxLength: 50 + type: string + source_type: + type: string + type: + allOf: + - $ref: '#/components/schemas/RelationshipTypeChoices' + description: Cardinality of this relationship + required: + - id + type: object + PatchedBulkWritableRoleRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - id + type: object + PatchedBulkWritableRouteTargetRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + description: Route target value (formatted in accordance with RFC 4360) + maxLength: 21 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + required: + - id + type: object + PatchedBulkWritableSecretRequest: + description: Serializer for `Secret` objects. + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + parameters: + additionalProperties: {} + type: object + provider: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableSecretsGroupAssociationRequest: + description: Serializer for `SecretsGroupAssociation` objects. + properties: + access_type: + $ref: '#/components/schemas/AccessTypeEnum' + group: + $ref: '#/components/schemas/NestedSecretsGroupRequest' + id: + format: uuid + type: string + secret: + $ref: '#/components/schemas/NestedSecretRequest' + secret_type: + $ref: '#/components/schemas/SecretTypeEnum' + required: + - id + type: object + PatchedBulkWritableSecretsGroupRequest: + description: Serializer for `SecretsGroup` objects. + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + PatchedBulkWritableServiceObjectGroupRequest: + description: ServiceObjectGroup Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + service_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP + would be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + type: array + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableServiceObjectRequest: + description: ServiceObject Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + ip_protocol: + allOf: + - $ref: '#/components/schemas/IpProtocolEnum' + description: IANA IP Protocol (e.g. TCP UDP ICMP) + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP would + be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableServiceRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + allOf: + - $ref: '#/components/schemas/NestedDeviceRequest' + nullable: true + id: + format: uuid + type: string + ipaddresses: + items: + properties: + address: + minLength: 1 + type: string + required: + - address + type: object + type: array + name: + maxLength: 100 + minLength: 1 + type: string + ports: + items: + maximum: 65535 + minimum: 1 + type: integer + type: array + protocol: + $ref: '#/components/schemas/ProtocolEnum' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + virtual_machine: + allOf: + - $ref: '#/components/schemas/NestedVirtualMachineRequest' + nullable: true + required: + - id + type: object + PatchedBulkWritableSiteRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + asn: + description: 32-bit autonomous system number + format: int64 + maximum: 4294967295 + minimum: 1 + nullable: true + type: integer + comments: + type: string + contact_email: + format: email + maxLength: 254 + title: Contact E-mail + type: string + contact_name: + maxLength: 50 + type: string + contact_phone: + maxLength: 20 + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + facility: + description: Local facility ID or description + maxLength: 50 + type: string + id: + format: uuid + type: string + latitude: + description: GPS coordinate (latitude) + format: decimal + nullable: true + pattern: ^-?\d{0,2}(?:\.\d{0,6})?$ + type: string + longitude: + description: GPS coordinate (longitude) + format: decimal + nullable: true + pattern: ^-?\d{0,3}(?:\.\d{0,6})?$ + type: string + name: + maxLength: 100 + minLength: 1 + type: string + physical_address: + maxLength: 200 + type: string + region: + allOf: + - $ref: '#/components/schemas/NestedRegionRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + shipping_address: + maxLength: 200 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + status: + $ref: '#/components/schemas/LocationStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + time_zone: + nullable: true + type: string + required: + - id + type: object + PatchedBulkWritableSoftwareImageLCMRequest: + description: REST API serializer for SoftwareImageLCM records. + properties: + custom_fields: + additionalProperties: {} + type: object + default_image: + type: boolean + device_types: + items: + format: uuid + type: string + type: array + download_url: + format: uri + maxLength: 200 + type: string + id: + format: uuid + type: string + image_file_checksum: + maxLength: 256 + type: string + image_file_name: + maxLength: 100 + minLength: 1 + type: string + inventory_items: + items: + format: uuid + type: string + type: array + object_tags: + items: + format: uuid + type: string + type: array + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + software: + $ref: '#/components/schemas/NestedSoftwareLCMRequest' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableSoftwareLCMRequest: + description: REST API serializer for SoftwareLCM records. + properties: + alias: + maxLength: 50 + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + device_platform: + $ref: '#/components/schemas/NestedPlatformRequest' + documentation_url: + format: uri + maxLength: 200 + type: string + end_of_support: + format: date + nullable: true + title: End of Software Support + type: string + id: + format: uuid + type: string + long_term_support: + type: boolean + pre_release: + type: boolean + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + release_date: + format: date + nullable: true + type: string + software_images: + items: + properties: + default_image: + type: boolean + device_types: + items: + format: uuid + type: string + type: array + download_url: + format: uri + maxLength: 200 + type: string + image_file_checksum: + maxLength: 256 + type: string + image_file_name: + maxLength: 100 + minLength: 1 + type: string + inventory_items: + items: + format: uuid + type: string + type: array + object_tags: + items: + format: uuid + type: string + type: array + required: + - image_file_name + type: object + type: array + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + version: + maxLength: 50 + minLength: 1 + type: string + required: + - id + type: object + PatchedBulkWritableStatusRequest: + description: Serializer for `Status` objects. + properties: + color: + maxLength: 6 + minLength: 1 + pattern: ^[0-9a-f]{6}$ + type: string + content_types: + items: + type: string + type: array + custom_fields: + additionalProperties: {} + type: object + id: + format: uuid + type: string + name: + maxLength: 50 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 50 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + PatchedBulkWritableTagSerializerVersion13Request: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + color: + maxLength: 6 + minLength: 1 + pattern: ^[0-9a-f]{6}$ + type: string + content_types: + items: + type: string + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + minLength: 1 + pattern: ^[-\w]+$ + type: string + required: + - id + type: object + PatchedBulkWritableTenantGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + parent: + allOf: + - $ref: '#/components/schemas/NestedTenantGroupRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + PatchedBulkWritableTenantRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + group: + $ref: '#/components/schemas/NestedTenantGroupRequest' + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableTokenRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + description: + maxLength: 200 + type: string + expires: + format: date-time + nullable: true + type: string + id: + format: uuid + type: string + key: + maxLength: 40 + minLength: 40 + type: string + write_enabled: + description: Permit create/update/delete operations using this key + type: boolean + required: + - id + type: object + PatchedBulkWritableUserObjectGroupRequest: + description: UserObjectGroup Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + user_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + name: + description: Signifies the name of the user, commonly first & last + name (e.g. John Smith) + maxLength: 100 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + enum: + - active + - decommissioned + - staged + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + username: + description: Signifies the username in identify provider (e.g. john.smith) + maxLength: 100 + minLength: 1 + type: string + required: + - username + type: object + type: array + required: + - id + type: object + PatchedBulkWritableUserObjectRequest: + description: UserObject Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + id: + format: uuid + type: string + name: + description: Signifies the name of the user, commonly first & last name + (e.g. John Smith) + maxLength: 100 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + username: + description: Signifies the username in identify provider (e.g. john.smith) + maxLength: 100 + minLength: 1 + type: string + required: + - id + type: object + PatchedBulkWritableUserRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + date_joined: + format: date-time + type: string + email: + format: email + maxLength: 254 + title: Email address + type: string + first_name: + maxLength: 150 + type: string + groups: + items: + properties: + name: + maxLength: 150 + minLength: 1 + type: string + required: + - name + type: object + type: array + id: + format: uuid + type: string + is_active: + description: Designates whether this user should be treated as active. Unselect + this instead of deleting accounts. + title: Active + type: boolean + is_staff: + description: Designates whether the user can log into this admin site. + title: Staff status + type: boolean + last_name: + maxLength: 150 + type: string + password: + maxLength: 128 + minLength: 1 + type: string + writeOnly: true + username: + description: Required. 150 characters or fewer. Letters, digits and @/./+/-/_ + only. + maxLength: 150 + minLength: 1 + pattern: ^[\w.@+-]+$ + type: string + required: + - id + type: object + PatchedBulkWritableVLANGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + allOf: + - $ref: '#/components/schemas/NestedSiteRequest' + nullable: true + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - id + type: object + PatchedBulkWritableVLANRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + group: + allOf: + - $ref: '#/components/schemas/NestedVLANGroupRequest' + nullable: true + id: + format: uuid + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocationRequest' + nullable: true + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + role: + allOf: + - $ref: '#/components/schemas/NestedRoleRequest' + nullable: true + site: + allOf: + - $ref: '#/components/schemas/NestedSiteRequest' + nullable: true + status: + $ref: '#/components/schemas/VLANStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + vid: + maximum: 4094 + minimum: 1 + title: ID + type: integer + required: + - id + type: object + PatchedBulkWritableVMInterfaceRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + bridge: + allOf: + - $ref: '#/components/schemas/NestedVMInterfaceRequest' + nullable: true + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + enabled: + type: boolean + id: + format: uuid + type: string + mac_address: + maxLength: 18 + nullable: true + type: string + mode: + $ref: '#/components/schemas/ModeEnum' + mtu: + maximum: 65536 + minimum: 1 + nullable: true + type: integer + name: + maxLength: 64 + minLength: 1 + type: string + parent_interface: + allOf: + - $ref: '#/components/schemas/NestedVMInterfaceRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/InterfaceStatusChoices' + tagged_vlans: + items: + properties: + name: + maxLength: 64 + minLength: 1 + type: string + vid: + maximum: 4094 + minimum: 1 + title: ID + type: integer + required: + - name + - vid + type: object + type: array + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + untagged_vlan: + allOf: + - $ref: '#/components/schemas/NestedVLANRequest' + nullable: true + virtual_machine: + $ref: '#/components/schemas/NestedVirtualMachineRequest' + required: + - id + type: object + PatchedBulkWritableVRFRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + enforce_unique: + description: Prevent duplicate prefixes/IP addresses within this VRF + title: Enforce unique space + type: boolean + export_targets: + items: + properties: + name: + description: Route target value (formatted in accordance with RFC + 4360) + maxLength: 21 + minLength: 1 + type: string + required: + - name + type: object + type: array + id: + format: uuid + type: string + import_targets: + items: + properties: + name: + description: Route target value (formatted in accordance with RFC + 4360) + maxLength: 21 + minLength: 1 + type: string + required: + - name + type: object + type: array + name: + maxLength: 100 + minLength: 1 + type: string + rd: + description: Unique route distinguisher (as defined in RFC 4364) + maxLength: 21 + nullable: true + title: Route distinguisher + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + required: + - id + type: object + PatchedBulkWritableValidatedSoftwareLCMRequest: + description: REST API serializer for ValidatedSoftwareLCM records. + properties: + custom_fields: + additionalProperties: {} + type: object + device_roles: + items: + format: uuid + type: string + type: array + device_types: + items: + format: uuid + type: string + type: array + devices: + items: + format: uuid + type: string + type: array + end: + format: date + nullable: true + title: Valid Until + type: string + id: + format: uuid + type: string + inventory_items: + items: + format: uuid + type: string + type: array + object_tags: + items: + format: uuid + type: string + type: array + preferred: + title: Preferred Version + type: boolean + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + software: + $ref: '#/components/schemas/NestedSoftwareLCMRequest' + start: + format: date + title: Valid Since + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableVirtualChassisRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + domain: + maxLength: 30 + type: string + id: + format: uuid + type: string + master: + allOf: + - $ref: '#/components/schemas/NestedDeviceRequest' + nullable: true + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableVirtualMachineWithConfigContextRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + cluster: + $ref: '#/components/schemas/NestedClusterRequest' + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + disk: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Disk (GB) + type: integer + id: + format: uuid + type: string + local_context_data: + additionalProperties: {} + nullable: true + type: object + local_context_schema: + allOf: + - $ref: '#/components/schemas/NestedConfigContextSchemaRequest' + nullable: true + memory: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Memory (MB) + type: integer + name: + maxLength: 64 + minLength: 1 + type: string + platform: + allOf: + - $ref: '#/components/schemas/NestedPlatformRequest' + nullable: true + primary_ip4: + allOf: + - $ref: '#/components/schemas/NestedIPAddressRequest' + nullable: true + primary_ip6: + allOf: + - $ref: '#/components/schemas/NestedIPAddressRequest' + nullable: true + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + role: + allOf: + - $ref: '#/components/schemas/NestedDeviceRoleRequest' + nullable: true + status: + $ref: '#/components/schemas/VirtualMachineStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenantRequest' + nullable: true + vcpus: + maximum: 32767 + minimum: 0 + nullable: true + type: integer + required: + - id + type: object + PatchedBulkWritableVulnerabilityLCMRequest: + description: REST API serializer for VulnerabilityLCM records. + properties: + custom_fields: + additionalProperties: {} + type: object + id: + format: uuid + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status4f5Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedBulkWritableWebhookRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + additional_headers: + description: 'User-supplied HTTP headers to be sent with the request in + addition to the HTTP content type. Headers should be defined in the format + Name: Value. Jinja2 template processing is support with the + same context as the request body (below).' + type: string + body_template: + description: 'Jinja2 template for a custom request body. If blank, a JSON + object representing the change will be included. Available context data + includes: event, model, timestamp, + username, request_id, and data.' + type: string + ca_file_path: + description: The specific CA certificate file to use for SSL verification. + Leave blank to use the system defaults. + maxLength: 4096 + nullable: true + type: string + content_types: + items: + type: string + type: array + http_content_type: + description: The complete list of official content types is available here. + maxLength: 100 + minLength: 1 + type: string + http_method: + $ref: '#/components/schemas/HttpMethodEnum' + id: + format: uuid + type: string + name: + maxLength: 150 + minLength: 1 + type: string + payload_url: + description: A POST will be sent to this URL when the webhook is called. + maxLength: 500 + minLength: 1 + title: URL + type: string + secret: + description: When provided, the request will include a 'X-Hook-Signature' + header containing a HMAC hex digest of the payload body using the secret + as the key. The secret is not transmitted in the request. + maxLength: 255 + type: string + ssl_verification: + description: Enable SSL certificate verification. Disable with caution! + type: boolean + type_create: + description: Call this webhook when a matching object is created. + type: boolean + type_delete: + description: Call this webhook when a matching object is deleted. + type: boolean + type_update: + description: Call this webhook when a matching object is updated. + type: boolean + required: + - id + type: object + PatchedBulkWritableZoneRequest: + description: Zone Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + id: + format: uuid + type: string + interfaces: + items: + $ref: '#/components/schemas/NestedInterfaceRequest' + type: array + name: + description: Name of the zone (e.g. trust) + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + PatchedCapircaPolicyRequest: + description: CapircaPolicy Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + cfg: + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + device: + format: uuid + nullable: true + type: string + net: + nullable: true + type: string + pol: + nullable: true + type: string + svc: + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedCircuitMaintenanceCircuitImpactRequest: + description: Serializer for API. + properties: + circuit: + format: uuid + type: string + impact: + nullable: true + oneOf: + - $ref: '#/components/schemas/ImpactEnum' + - $ref: '#/components/schemas/BlankEnum' + - $ref: '#/components/schemas/NullEnum' + maintenance: + format: uuid + type: string + type: object + PatchedCircuitMaintenanceRequest: + description: Serializer for API. + properties: + ack: + nullable: true + type: boolean + description: + nullable: true + type: string + end_time: + format: date-time + type: string + name: + maxLength: 100 + minLength: 1 + type: string + start_time: + format: date-time + type: string + status: + nullable: true + oneOf: + - $ref: '#/components/schemas/StatusD95Enum' + - $ref: '#/components/schemas/BlankEnum' + - $ref: '#/components/schemas/NullEnum' + type: object + PatchedCircuitTypeRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + type: object + PatchedClusterGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + type: object + PatchedClusterTypeRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + type: object + PatchedCommandTokenRequest: + description: API serializer for interacting with CommandToken objects. + properties: + comment: + description: 'Optional: Enter description of token' + maxLength: 255 + type: string + platform: + $ref: '#/components/schemas/PlatformEnum' + token: + description: Token given by chat platform for signing or command validation + maxLength: 255 + minLength: 1 + type: string + type: object + PatchedComplianceFeatureRequest: + description: Serializer for ComplianceFeature object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + minLength: 1 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedComplianceRuleRequest: + description: Serializer for ComplianceRule object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + config_ordered: + description: Whether or not the configuration order matters, such as in + ACLs. + title: Configured Ordered + type: boolean + config_type: + allOf: + - $ref: '#/components/schemas/ConfigTypeEnum' + description: Whether the config is in cli or json/structured format. + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + feature: + format: uuid + type: string + match_config: + description: The config to match that is matched based on the parent most + configuration. e.g. `router bgp` or `ntp`. + nullable: true + title: Config to Match + type: string + platform: + format: uuid + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedComputedFieldRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + content_type: + type: string + description: + maxLength: 200 + type: string + fallback_value: + description: Fallback value (if any) to be output for the field in the case + of a template rendering error. + maxLength: 500 + type: string + label: + description: Name of the field as displayed to users + maxLength: 100 + minLength: 1 + type: string + slug: + description: Internal field name. Please use underscores rather than dashes + in this slug. + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + template: + description: Jinja2 template code for field value + maxLength: 500 + minLength: 1 + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + type: object + PatchedConfigComplianceRequest: + description: Serializer for ConfigCompliance object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + actual: + additionalProperties: {} + description: Actual Configuration for feature + type: object + compliance: + nullable: true + type: boolean + compliance_int: + maximum: 2147483647 + minimum: -2147483648 + nullable: true + type: integer + custom_fields: + additionalProperties: {} + type: object + device: + description: The device + format: uuid + type: string + extra: + additionalProperties: {} + description: Configuration that should not be on the device. + type: object + intended: + additionalProperties: {} + description: Intended Configuration for feature + type: object + missing: + additionalProperties: {} + description: Configuration that should be on the device. + type: object + ordered: + type: boolean + rule: + format: uuid + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedConfigContextSchemaRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + data_schema: + additionalProperties: {} + description: A JSON Schema document which is used to validate a config context + object. + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 200 + minLength: 1 + type: string + owner_content_type: + nullable: true + type: string + owner_object_id: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 200 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + type: object + PatchedConfigRemoveRequest: + description: Serializer for ConfigRemove object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 255 + minLength: 1 + type: string + platform: + format: uuid + type: string + regex: + description: Regex pattern used to remove a line from the backup configuration. + maxLength: 200 + minLength: 1 + title: Regex Pattern + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedConfigReplaceRequest: + description: Serializer for ConfigReplace object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 255 + minLength: 1 + type: string + platform: + format: uuid + type: string + regex: + description: Regex pattern that will be found and replaced with 'replaced + text'. + maxLength: 200 + minLength: 1 + title: Regex Pattern to Substitute + type: string + replace: + description: Text that will be inserted in place of Regex pattern match. + maxLength: 200 + minLength: 1 + title: Replaced Text + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedCustomFieldSerializerVersion12Request: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + content_types: + items: + type: string + type: array + default: + additionalProperties: {} + description: Default value for the field (must be a JSON value). Encapsulate + strings with double quotes (e.g. "Foo"). + nullable: true + type: object + description: + description: A helpful description for this field. + maxLength: 200 + type: string + filter_logic: + $ref: '#/components/schemas/FilterLogicEnum' + label: + maxLength: 50 + minLength: 1 + type: string + name: + description: Human-readable unique name of this field. + maxLength: 50 + minLength: 1 + type: string + required: + description: If true, this field is required when creating new objects or + editing an existing object. + type: boolean + slug: + maxLength: 50 + minLength: 1 + type: string + type: + $ref: '#/components/schemas/CustomFieldTypeChoices' + validation_maximum: + description: Maximum allowed value (for numeric fields). + format: int64 + maximum: 9223372036854775807 + minimum: -9223372036854775808 + nullable: true + title: Maximum value + type: integer + validation_minimum: + description: Minimum allowed value (for numeric fields). + format: int64 + maximum: 9223372036854775807 + minimum: -9223372036854775808 + nullable: true + title: Minimum value + type: integer + validation_regex: + description: Regular expression to enforce on text field values. Use ^ and + $ to force matching of entire string. For example, ^[A-Z]{3}$ + will limit values to exactly three uppercase letters. Regular expression + on select and multi-select will be applied at Custom Field Choices + definition. + maxLength: 500 + type: string + weight: + description: Fields with higher weights appear lower in a form. + maximum: 32767 + minimum: 0 + type: integer + type: object + PatchedCustomLinkRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + button_class: + allOf: + - $ref: '#/components/schemas/ButtonClassEnum' + description: The class of the first link in a group will be used for the + dropdown button + content_type: + type: string + group_name: + description: Links with the same group will appear as a dropdown menu + maxLength: 50 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + new_window: + description: Force link to open in a new window + type: boolean + target_url: + description: Jinja2 template code for link URL. Reference the object as + {{ obj }} such as {{ obj.platform.slug }}. + maxLength: 500 + minLength: 1 + title: URL + type: string + text: + description: Jinja2 template code for link text. Reference the object as + {{ obj }} such as {{ obj.platform.slug }}. Links + which render as empty text will not be displayed. + maxLength: 500 + minLength: 1 + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + type: object + PatchedDeviceRoleRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + color: + maxLength: 6 + minLength: 1 + pattern: ^[0-9a-f]{6}$ + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + vm_role: + description: Virtual machines may be assigned to this role + type: boolean + type: object + PatchedDynamicGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + content_type: + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + filter: + additionalProperties: {} + description: A JSON-encoded dictionary of filter parameters for group membership + type: object + name: + description: Dynamic Group name + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + description: Unique slug + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + type: object + PatchedExportTemplateRequest: + description: Extend ValidatedModelSerializer with a `relationships` field. + properties: + content_type: + type: string + description: + maxLength: 200 + type: string + file_extension: + description: Extension to append to the rendered filename + maxLength: 15 + type: string + mime_type: + description: Defaults to text/plain + maxLength: 50 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + owner_content_type: + nullable: true + type: string + owner_object_id: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + template_code: + description: The list of objects being exported is passed as a context variable + named queryset. + minLength: 1 + type: string + type: object + PatchedGoldenConfigRequest: + description: Serializer for GoldenConfig object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + backup_config: + description: Full backup config for device. + type: string + backup_last_attempt_date: + format: date-time + nullable: true + type: string + backup_last_success_date: + format: date-time + nullable: true + type: string + compliance_config: + description: Full config diff for device. + type: string + compliance_last_attempt_date: + format: date-time + nullable: true + type: string + compliance_last_success_date: + format: date-time + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + device: + description: device + format: uuid + type: string + intended_config: + description: Intended config for the device. + type: string + intended_last_attempt_date: + format: date-time + nullable: true + type: string + intended_last_success_date: + format: date-time + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedGraphQLQueryRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + name: + maxLength: 100 + minLength: 1 + type: string + query: + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + variables: + additionalProperties: {} + default: {} + nullable: true + type: object + type: object + PatchedGroupRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + name: + maxLength: 150 + minLength: 1 + type: string + type: object + PatchedIPRangeRequest: + description: IPRange Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + end_address: + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + start_address: + minLength: 1 + type: string + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + vrf: + format: uuid + nullable: true + type: string + type: object + PatchedImageAttachmentRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + content_type: + type: string + image: + format: binary + type: string + image_height: + maximum: 32767 + minimum: 0 + type: integer + image_width: + maximum: 32767 + minimum: 0 + type: integer + name: + maxLength: 50 + type: string + object_id: + format: uuid + type: string + type: object + PatchedJobHookRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + content_types: + items: + type: string + type: array + custom_fields: + additionalProperties: {} + type: object + enabled: + type: boolean + job: + description: The job that this job hook will initiate + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type_create: + description: Call this job hook when a matching object is created. + type: boolean + type_delete: + description: Call this job hook when a matching object is deleted. + type: boolean + type_update: + description: Call this job hook when a matching object is updated. + type: boolean + type: object + PatchedJobRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + approval_required: + description: Whether the job requires approval from another user before + running + type: boolean + approval_required_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + commit_default: + description: Whether the job defaults to committing changes when run, or + defaults to a dry-run + type: boolean + commit_default_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + custom_fields: + additionalProperties: {} + type: object + description: + description: Markdown formatting is supported + type: string + description_override: + description: If set, the configured description will remain even if the + underlying Job source code changes + type: boolean + enabled: + description: Whether this job can be executed by users + type: boolean + grouping: + description: Human-readable grouping that this job belongs to + maxLength: 255 + minLength: 1 + type: string + grouping_override: + description: If set, the configured grouping will remain even if the underlying + Job source code changes + type: boolean + has_sensitive_variables: + description: Whether this job contains sensitive variables + type: boolean + has_sensitive_variables_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + hidden: + description: Whether the job defaults to not being shown in the UI + type: boolean + hidden_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + name: + description: Human-readable name of this job + maxLength: 100 + minLength: 1 + type: string + name_override: + description: If set, the configured name will remain even if the underlying + Job source code changes + type: boolean + read_only: + description: Whether the job is prevented from making lasting changes to + the database + type: boolean + read_only_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 320 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + soft_time_limit: + description: Maximum runtime in seconds before the job will receive a SoftTimeLimitExceeded + exception.
Set to 0 to use Nautobot system default + format: double + minimum: 0 + type: number + soft_time_limit_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + task_queues: + additionalProperties: {} + description: Comma separated list of task queues that this job can run on. + A blank list will use the default queue + type: object + task_queues_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + time_limit: + description: Maximum runtime in seconds before the job will be forcibly + terminated.
Set to 0 to use Nautobot system default + format: double + minimum: 0 + type: number + time_limit_override: + description: If set, the configured value will remain even if the underlying + Job source code changes + type: boolean + type: object + PatchedManufacturerRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + type: object + PatchedMinMaxValidationRuleRequest: + description: Serializer for `MinMaxValidationRule` objects. + properties: + content_type: + type: string + enabled: + type: boolean + error_message: + description: Optional error message to display when validation fails. + maxLength: 255 + nullable: true + type: string + field: + maxLength: 50 + minLength: 1 + type: string + max: + description: When set, apply a maximum value contraint to the value of the + model field. + format: double + nullable: true + type: number + min: + description: When set, apply a minimum value contraint to the value of the + model field. + format: double + nullable: true + type: number + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + minLength: 1 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + type: object + PatchedNATPolicyRequest: + description: NATPolicy Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + assigned_devices: + items: + $ref: '#/components/schemas/NATPolicyDeviceM2MNestedRequest' + type: array + assigned_dynamic_groups: + items: + $ref: '#/components/schemas/NATPolicyDynamicGroupM2MNestedRequest' + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + type: object + PatchedNoteRequest: + description: 'This base serializer implements common fields and logic for all + ModelSerializers. + + + Namely, it: + + + - defines the `display` field which exposes a human friendly value for the + given object. + + - ensures that `id` field is always present on the serializer as well + + - ensures that `created` and `last_updated` fields are always present if applicable + to this model and serializer.' + properties: + assigned_object_id: + format: uuid + type: string + assigned_object_type: + type: string + note: + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + type: object + PatchedPeeringRequest: + description: REST API serializer for Peering records. + properties: + custom_fields: + additionalProperties: {} + type: object + status: + $ref: '#/components/schemas/CircuitStatusChoices' + type: object + PatchedPeeringRoleRequest: + description: REST API serializer for PeeringRole records. + properties: + color: + maxLength: 6 + minLength: 1 + pattern: ^[0-9a-f]{6}$ + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + type: object + PatchedPolicyRequest: + description: Policy Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + assigned_devices: + items: + $ref: '#/components/schemas/PolicyDeviceM2MNestedRequest' + type: array + assigned_dynamic_groups: + items: + $ref: '#/components/schemas/PolicyDynamicGroupM2MNestedRequest' + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + type: object + PatchedProviderLCMRequest: + description: API serializer. + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + email: + format: email + maxLength: 254 + title: E-mail + type: string + name: + maxLength: 100 + minLength: 1 + type: string + phone: + maxLength: 20 + type: string + physical_address: + maxLength: 200 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedProviderRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + account: + maxLength: 100 + title: Account number + type: string + admin_contact: + type: string + asn: + description: 32-bit autonomous system number + format: int64 + maximum: 4294967295 + minimum: 1 + nullable: true + type: integer + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + name: + maxLength: 100 + minLength: 1 + type: string + noc_contact: + type: string + portal_url: + format: uri + maxLength: 200 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedRIRRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + is_private: + description: IP space managed by this RIR is considered private + title: Private + type: boolean + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + type: object + PatchedRackRoleRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + color: + maxLength: 6 + minLength: 1 + pattern: ^[0-9a-f]{6}$ + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + type: object + PatchedRegularExpressionValidationRuleRequest: + description: Serializer for `RegularExpressionValidationRule` objects. + properties: + content_type: + type: string + enabled: + type: boolean + error_message: + description: Optional error message to display when validation fails. + maxLength: 255 + nullable: true + type: string + field: + maxLength: 50 + minLength: 1 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + regular_expression: + minLength: 1 + type: string + slug: + maxLength: 100 + minLength: 1 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + type: object + PatchedRelationshipRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + description: + maxLength: 200 + type: string + destination_filter: + additionalProperties: {} + description: Filterset filter matching the applicable destination objects + of the selected type + nullable: true + type: object + destination_hidden: + description: Hide this relationship on the destination object. + title: Hide for destination object + type: boolean + destination_label: + description: Label for related source objects, as displayed on the destination + object. + maxLength: 50 + type: string + destination_type: + type: string + name: + description: Name of the relationship as displayed to users + maxLength: 100 + minLength: 1 + type: string + required_on: + description: Objects on the specified side MUST implement this relationship. + Not permitted for symmetric relationships. + oneOf: + - $ref: '#/components/schemas/RequiredOnEnum' + - $ref: '#/components/schemas/BlankEnum' + slug: + description: Internal relationship name. Please use underscores rather than + dashes in this slug. + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + source_filter: + additionalProperties: {} + description: Filterset filter matching the applicable source objects of + the selected type + nullable: true + type: object + source_hidden: + description: Hide this relationship on the source object. + title: Hide for source object + type: boolean + source_label: + description: Label for related destination objects, as displayed on the + source object. + maxLength: 50 + type: string + source_type: + type: string + type: + allOf: + - $ref: '#/components/schemas/RelationshipTypeChoices' + description: Cardinality of this relationship + type: object + PatchedRoleRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + type: object + PatchedSecretRequest: + description: Serializer for `Secret` objects. + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + parameters: + additionalProperties: {} + type: object + provider: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedSecretsGroupRequest: + description: Serializer for `SecretsGroup` objects. + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + type: object + PatchedServiceObjectRequest: + description: ServiceObject Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + allOf: + - $ref: '#/components/schemas/IpProtocolEnum' + description: IANA IP Protocol (e.g. TCP UDP ICMP) + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP would + be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedStatusRequest: + description: Serializer for `Status` objects. + properties: + color: + maxLength: 6 + minLength: 1 + pattern: ^[0-9a-f]{6}$ + type: string + content_types: + items: + type: string + type: array + custom_fields: + additionalProperties: {} + type: object + name: + maxLength: 50 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 50 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + type: object + PatchedTagSerializerVersion13Request: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + color: + maxLength: 6 + minLength: 1 + pattern: ^[0-9a-f]{6}$ + type: string + content_types: + items: + type: string + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + minLength: 1 + pattern: ^[-\w]+$ + type: string + type: object + PatchedTokenRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + description: + maxLength: 200 + type: string + expires: + format: date-time + nullable: true + type: string + key: + maxLength: 40 + minLength: 40 + type: string + write_enabled: + description: Permit create/update/delete operations using this key + type: boolean + type: object + PatchedUserObjectRequest: + description: UserObject Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + name: + description: Signifies the name of the user, commonly first & last name + (e.g. John Smith) + maxLength: 100 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + username: + description: Signifies the username in identify provider (e.g. john.smith) + maxLength: 100 + minLength: 1 + type: string + type: object + PatchedVulnerabilityLCMRequest: + description: REST API serializer for VulnerabilityLCM records. + properties: + custom_fields: + additionalProperties: {} + type: object + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status4f5Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWebhookRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + additional_headers: + description: 'User-supplied HTTP headers to be sent with the request in + addition to the HTTP content type. Headers should be defined in the format + Name: Value. Jinja2 template processing is support with the + same context as the request body (below).' + type: string + body_template: + description: 'Jinja2 template for a custom request body. If blank, a JSON + object representing the change will be included. Available context data + includes: event, model, timestamp, + username, request_id, and data.' + type: string + ca_file_path: + description: The specific CA certificate file to use for SSL verification. + Leave blank to use the system defaults. + maxLength: 4096 + nullable: true + type: string + content_types: + items: + type: string + type: array + http_content_type: + description: The complete list of official content types is available here. + maxLength: 100 + minLength: 1 + type: string + http_method: + $ref: '#/components/schemas/HttpMethodEnum' + name: + maxLength: 150 + minLength: 1 + type: string + payload_url: + description: A POST will be sent to this URL when the webhook is called. + maxLength: 500 + minLength: 1 + title: URL + type: string + secret: + description: When provided, the request will include a 'X-Hook-Signature' + header containing a HMAC hex digest of the payload body using the secret + as the key. The secret is not transmitted in the request. + maxLength: 255 + type: string + ssl_verification: + description: Enable SSL certificate verification. Disable with caution! + type: boolean + type_create: + description: Call this webhook when a matching object is created. + type: boolean + type_delete: + description: Call this webhook when a matching object is deleted. + type: boolean + type_update: + description: Call this webhook when a matching object is updated. + type: boolean + type: object + PatchedWritableAddressFamilyRequest: + description: REST API serializer for AddressFamily records. + properties: + afi_safi: + $ref: '#/components/schemas/AfiSafiEnum' + custom_fields: + additionalProperties: {} + type: object + export_policy: + maxLength: 100 + type: string + import_policy: + maxLength: 100 + type: string + routing_instance: + format: uuid + title: BGP Routing Instance + type: string + vrf: + format: uuid + nullable: true + type: string + type: object + PatchedWritableAddressObjectGroupRequest: + description: AddressObjectGroup Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritableAddressObjectRequest: + description: AddressObject Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + format: uuid + nullable: true + type: string + ip_address: + format: uuid + nullable: true + type: string + ip_range: + format: uuid + nullable: true + type: string + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritableAggregateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + date_added: + format: date + nullable: true + type: string + description: + maxLength: 200 + type: string + prefix: + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + rir: + format: uuid + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + type: object + PatchedWritableAutonomousSystemRequest: + description: REST API serializer for AutonomousSystem records. + properties: + asn: + description: 32-bit autonomous system number + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + provider: + format: uuid + nullable: true + type: string + status: + $ref: '#/components/schemas/Status2a0Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritableBGPRoutingInstanceRequest: + description: REST API serializer for Peering records. + properties: + autonomous_system: + format: uuid + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + type: string + router_id: + format: uuid + nullable: true + type: string + type: object + PatchedWritableCVELCMRequest: + description: REST API serializer for CVELCM records. + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + cvss: + format: double + nullable: true + title: CVSS Base Score + type: number + cvss_v2: + format: double + nullable: true + title: CVSSv2 Score + type: number + cvss_v3: + format: double + nullable: true + title: CVSSv3 Score + type: number + description: + maxLength: 255 + nullable: true + type: string + fix: + maxLength: 255 + nullable: true + type: string + link: + format: uri + maxLength: 200 + minLength: 1 + type: string + name: + maxLength: 16 + minLength: 1 + type: string + published_date: + format: date + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + severity: + $ref: '#/components/schemas/SeverityEnum' + status: + $ref: '#/components/schemas/Status4f5Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritableCableRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + color: + maxLength: 6 + pattern: ^[0-9a-f]{6}$ + type: string + custom_fields: + additionalProperties: {} + type: object + label: + maxLength: 100 + type: string + length: + maximum: 32767 + minimum: 0 + nullable: true + type: integer + length_unit: + oneOf: + - $ref: '#/components/schemas/LengthUnitEnum' + - $ref: '#/components/schemas/BlankEnum' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/CableStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + termination_a_id: + format: uuid + type: string + termination_a_type: + type: string + termination_b_id: + format: uuid + type: string + termination_b_type: + type: string + type: + oneOf: + - $ref: '#/components/schemas/CableTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + type: object + PatchedWritableCircuitRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + cid: + maxLength: 100 + minLength: 1 + title: Circuit ID + type: string + comments: + type: string + commit_rate: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Commit rate (Kbps) + type: integer + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + install_date: + format: date + nullable: true + title: Date installed + type: string + provider: + format: uuid + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/CircuitStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + type: + format: uuid + type: string + type: object + PatchedWritableCircuitTerminationRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + circuit: + format: uuid + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + location: + format: uuid + nullable: true + type: string + port_speed: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Port speed (Kbps) + type: integer + pp_info: + maxLength: 100 + title: Patch panel/port(s) + type: string + provider_network: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + format: uuid + nullable: true + type: string + term_side: + allOf: + - $ref: '#/components/schemas/TermSideEnum' + title: Termination + upstream_speed: + description: Upstream speed, if different from port speed + maximum: 2147483647 + minimum: 0 + nullable: true + title: Upstream speed (Kbps) + type: integer + xconnect_id: + maxLength: 50 + title: Cross-connect ID + type: string + type: object + PatchedWritableClusterRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + group: + format: uuid + nullable: true + type: string + location: + format: uuid + nullable: true + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + format: uuid + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + type: + format: uuid + type: string + type: object + PatchedWritableConfigContextRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + cluster_groups: + items: + format: uuid + type: string + type: array + clusters: + items: + format: uuid + type: string + type: array + data: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_types: + items: + format: uuid + type: string + type: array + is_active: + type: boolean + locations: + items: + format: uuid + type: string + type: array + name: + maxLength: 100 + minLength: 1 + type: string + owner_content_type: + nullable: true + type: string + owner_object_id: + format: uuid + nullable: true + type: string + platforms: + items: + format: uuid + type: string + type: array + regions: + items: + format: uuid + type: string + type: array + roles: + items: + format: uuid + type: string + type: array + schema: + description: Optional schema to validate the structure of the data + format: uuid + nullable: true + type: string + sites: + items: + format: uuid + type: string + type: array + tags: + items: + type: string + type: array + tenant_groups: + items: + format: uuid + type: string + type: array + tenants: + items: + format: uuid + type: string + type: array + weight: + maximum: 32767 + minimum: 0 + type: integer + type: object + PatchedWritableConsolePortRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + description: Physical port type + oneOf: + - $ref: '#/components/schemas/ConsolePortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + type: object + PatchedWritableConsolePortTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + oneOf: + - $ref: '#/components/schemas/ConsolePortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + type: object + PatchedWritableConsoleServerPortRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + description: Physical port type + oneOf: + - $ref: '#/components/schemas/ConsolePortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + type: object + PatchedWritableConsoleServerPortTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + oneOf: + - $ref: '#/components/schemas/ConsolePortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + type: object + PatchedWritableContactLCMRequest: + description: API serializer. + properties: + address: + maxLength: 200 + type: string + comments: + type: string + contract: + format: uuid + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + email: + format: email + maxLength: 254 + title: Contact E-mail + type: string + name: + maxLength: 80 + minLength: 1 + nullable: true + type: string + phone: + maxLength: 20 + type: string + priority: + maximum: 2147483647 + minimum: 0 + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritableContractLCMRequest: + description: API serializer. + properties: + contract_type: + maxLength: 32 + nullable: true + type: string + cost: + format: decimal + nullable: true + pattern: ^-?\d{0,13}(?:\.\d{0,2})?$ + title: Contract Cost + type: string + custom_fields: + additionalProperties: {} + type: object + end: + format: date + nullable: true + title: Contract End Date + type: string + name: + maxLength: 100 + minLength: 1 + type: string + provider: + format: uuid + nullable: true + title: Vendor + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + start: + format: date + nullable: true + title: Contract Start Date + type: string + support_level: + maxLength: 64 + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritableCustomFieldChoiceRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + field: + format: uuid + type: string + value: + maxLength: 100 + minLength: 1 + type: string + weight: + description: Higher weights appear later in the list + maximum: 32767 + minimum: 0 + type: integer + type: object + PatchedWritableDeviceBayRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + type: string + installed_device: + format: uuid + nullable: true + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritableDeviceBayTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: object + PatchedWritableDeviceRedundancyGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + failover_strategy: + oneOf: + - $ref: '#/components/schemas/FailoverStrategyEnum' + - $ref: '#/components/schemas/BlankEnum' + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + secrets_group: + format: uuid + nullable: true + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + status: + $ref: '#/components/schemas/LocationStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritableDeviceTypeRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + front_image: + format: binary + type: string + is_full_depth: + description: Device consumes both front and rear rack faces + type: boolean + manufacturer: + format: uuid + type: string + model: + maxLength: 100 + minLength: 1 + type: string + part_number: + description: Discrete part number (optional) + maxLength: 50 + type: string + rear_image: + format: binary + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + subdevice_role: + description: Parent devices house child devices in device bays. Leave blank + if this device type is neither a parent nor a child. + oneOf: + - $ref: '#/components/schemas/SubdeviceRoleEnum' + - $ref: '#/components/schemas/BlankEnum' + title: Parent/child status + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + u_height: + maximum: 32767 + minimum: 0 + title: Height (U) + type: integer + type: object + PatchedWritableDeviceWithConfigContextRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + asset_tag: + description: A unique tag used to identify this device + maxLength: 50 + nullable: true + type: string + cluster: + format: uuid + nullable: true + type: string + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + device_redundancy_group: + format: uuid + nullable: true + type: string + device_redundancy_group_priority: + description: The priority the device has in the device redundancy group. + maximum: 32767 + minimum: 1 + nullable: true + type: integer + device_role: + format: uuid + type: string + device_type: + format: uuid + type: string + face: + oneOf: + - $ref: '#/components/schemas/FaceEnum' + - $ref: '#/components/schemas/BlankEnum' + title: Rack face + local_context_data: + additionalProperties: {} + nullable: true + type: object + local_context_schema: + description: Optional schema to validate the structure of the data + format: uuid + nullable: true + type: string + location: + format: uuid + nullable: true + type: string + name: + maxLength: 64 + nullable: true + type: string + platform: + format: uuid + nullable: true + type: string + position: + description: The lowest-numbered unit occupied by the device + maximum: 32767 + minimum: 1 + nullable: true + title: Position (U) + type: integer + primary_ip4: + format: uuid + nullable: true + title: Primary IPv4 + type: string + primary_ip6: + format: uuid + nullable: true + title: Primary IPv6 + type: string + rack: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + secrets_group: + format: uuid + nullable: true + type: string + serial: + maxLength: 255 + title: Serial number + type: string + site: + format: uuid + type: string + status: + $ref: '#/components/schemas/DeviceStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + vc_position: + maximum: 255 + minimum: 0 + nullable: true + type: integer + vc_priority: + maximum: 255 + minimum: 0 + nullable: true + type: integer + virtual_chassis: + format: uuid + nullable: true + type: string + type: object + PatchedWritableDynamicGroupMembershipRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + group: + format: uuid + type: string + operator: + $ref: '#/components/schemas/OperatorEnum' + parent_group: + format: uuid + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + type: object + PatchedWritableFQDNRequest: + description: FQDN Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + description: Resolvable fully qualified domain name (e.g. networktocode.com) + maxLength: 254 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritableFrontPortRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + rear_port: + format: uuid + type: string + rear_port_position: + default: 1 + maximum: 1024 + minimum: 1 + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/PortTypeChoices' + type: object + PatchedWritableFrontPortTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + rear_port: + format: uuid + type: string + rear_port_position: + default: 1 + maximum: 1024 + minimum: 1 + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + $ref: '#/components/schemas/PortTypeChoices' + type: object + PatchedWritableGitRepositoryRequest: + description: Git repositories defined as a data source. + properties: + branch: + maxLength: 64 + minLength: 1 + type: string + current_head: + description: Commit hash of the most recent fetch from the selected branch. + Used for syncing between workers. + maxLength: 48 + type: string + custom_fields: + additionalProperties: {} + type: object + name: + maxLength: 100 + minLength: 1 + type: string + provided_contents: + items: + oneOf: + - $ref: '#/components/schemas/ProvidedContentsEnum' + - $ref: '#/components/schemas/BlankEnum' + type: array + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + remote_url: + description: Only HTTP and HTTPS URLs are presently supported + format: uri + maxLength: 255 + minLength: 1 + type: string + secrets_group: + format: uuid + nullable: true + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + token: + minLength: 1 + type: string + writeOnly: true + username: + maxLength: 64 + type: string + type: object + PatchedWritableGoldenConfigSettingRequest: + description: Serializer for GoldenConfigSetting object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + backup_path_template: + description: The Jinja path representation of where the backup file will + be found. The variable `obj` is available as the device instance object + of a given device, as is the case for all Jinja templates. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + maxLength: 255 + title: Backup Path in Jinja Template Form + type: string + backup_repository: + format: uuid + nullable: true + type: string + backup_test_connectivity: + description: Whether or not to pretest the connectivity of the device by + verifying there is a resolvable IP that can connect to port 22. + title: Backup Test + type: boolean + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + dynamic_group: + format: uuid + type: string + intended_path_template: + description: The Jinja path representation of where the generated file will + be places. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + maxLength: 255 + title: Intended Path in Jinja Template Form + type: string + intended_repository: + format: uuid + nullable: true + type: string + jinja_path_template: + description: The Jinja path representation of where the Jinja template can + be found. e.g. `{{obj.platform.slug}}.j2` + maxLength: 255 + title: Template Path in Jinja Template Form + type: string + jinja_repository: + format: uuid + nullable: true + type: string + name: + maxLength: 100 + minLength: 1 + type: string + scope: + additionalProperties: {} + type: object + slug: + maxLength: 100 + minLength: 1 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + sot_agg_query: + format: uuid + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + weight: + maximum: 32767 + minimum: 0 + type: integer + type: object + PatchedWritableHardwareLCMRequest: + description: API serializer. + properties: + custom_fields: + additionalProperties: {} + type: object + device_type: + format: uuid + nullable: true + type: string + documentation_url: + format: uri + maxLength: 200 + type: string + end_of_sale: + format: date + nullable: true + type: string + end_of_security_patches: + format: date + nullable: true + type: string + end_of_support: + format: date + nullable: true + type: string + end_of_sw_releases: + format: date + nullable: true + title: End of Software Releases + type: string + inventory_item: + maxLength: 255 + nullable: true + title: Inventory Item Part + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + release_date: + format: date + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritableIPAddressRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + address: + minLength: 1 + type: string + assigned_object_id: + format: uuid + nullable: true + type: string + assigned_object_type: + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + dns_name: + description: Hostname or FQDN (not case-sensitive) + maxLength: 255 + pattern: ^[0-9A-Za-z._-]+$ + type: string + nat_inside: + description: The IP Addresses for which this address is the "outside" IP + format: uuid + nullable: true + title: NAT (Inside) + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + role: + description: The functional role of this IP + oneOf: + - $ref: '#/components/schemas/RoleEnum' + - $ref: '#/components/schemas/BlankEnum' + status: + $ref: '#/components/schemas/IPAddressStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + vrf: + format: uuid + nullable: true + type: string + type: object + PatchedWritableInterfaceRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + bridge: + description: Assigned bridge interface + format: uuid + nullable: true + title: Bridge interface + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + type: string + enabled: + type: boolean + label: + description: Physical label + maxLength: 64 + type: string + lag: + description: Assigned LAG interface + format: uuid + nullable: true + title: Parent LAG + type: string + mac_address: + maxLength: 18 + nullable: true + type: string + mgmt_only: + description: This interface is used only for out-of-band management + title: Management only + type: boolean + mode: + oneOf: + - $ref: '#/components/schemas/ModeEnum' + - $ref: '#/components/schemas/BlankEnum' + mtu: + maximum: 65536 + minimum: 1 + nullable: true + type: integer + name: + maxLength: 64 + minLength: 1 + type: string + parent_interface: + description: Assigned parent interface + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/InterfaceStatusChoices' + tagged_vlans: + items: + format: uuid + title: Tagged VLANs + type: string + type: array + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/InterfaceTypeChoices' + untagged_vlan: + format: uuid + nullable: true + type: string + type: object + PatchedWritableInterfaceTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + mgmt_only: + title: Management only + type: boolean + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + $ref: '#/components/schemas/InterfaceTypeChoices' + type: object + PatchedWritableInventoryItemRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + asset_tag: + description: A unique tag used to identify this item + maxLength: 50 + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + type: string + discovered: + description: This item was automatically discovered + type: boolean + label: + description: Physical label + maxLength: 64 + type: string + manufacturer: + format: uuid + nullable: true + type: string + name: + maxLength: 64 + minLength: 1 + type: string + parent: + format: uuid + nullable: true + type: string + part_id: + description: Manufacturer-assigned part identifier + maxLength: 50 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + serial: + maxLength: 255 + title: Serial number + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritableLocationRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + location_type: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + parent: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + format: uuid + nullable: true + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + status: + $ref: '#/components/schemas/LocationStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + type: object + PatchedWritableLocationTypeRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + content_types: + items: + type: string + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + nestable: + description: Allow Locations of this type to be parents/children of other + Locations of this same type + type: boolean + parent: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + type: object + PatchedWritableNATPolicyRuleRequest: + description: PolicyRule Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + nullable: true + type: string + destination_zone: + $ref: '#/components/schemas/ZoneRequest' + index: + maximum: 32767 + minimum: 0 + nullable: true + type: integer + log: + type: boolean + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + remark: + type: boolean + request_id: + maxLength: 100 + nullable: true + type: string + source_zone: + $ref: '#/components/schemas/ZoneRequest' + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritableObjectPermissionRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + actions: + additionalProperties: {} + description: The list of actions granted by this permission + type: object + constraints: + additionalProperties: {} + description: Queryset filter matching the applicable objects of the selected + type(s) + nullable: true + type: object + description: + maxLength: 200 + type: string + enabled: + type: boolean + groups: + items: + type: integer + type: array + name: + maxLength: 100 + minLength: 1 + type: string + object_types: + items: + type: string + type: array + users: + items: + format: uuid + type: string + type: array + type: object + PatchedWritablePeerEndpointRequest: + description: REST API serializer for PeerEndpoint records. + properties: + autonomous_system: + format: uuid + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + enabled: + type: boolean + export_policy: + maxLength: 100 + type: string + import_policy: + maxLength: 100 + type: string + peer: + format: uuid + nullable: true + type: string + peer_group: + format: uuid + nullable: true + type: string + peering: + format: uuid + type: string + routing_instance: + format: uuid + nullable: true + title: BGP Routing Instance + type: string + secret: + format: uuid + nullable: true + type: string + source_interface: + format: uuid + nullable: true + type: string + source_ip: + format: uuid + nullable: true + title: BGP Peer IP + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritablePeerGroupRequest: + description: REST API serializer for PeerGroup records. + properties: + autonomous_system: + format: uuid + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + enabled: + type: boolean + export_policy: + maxLength: 100 + type: string + import_policy: + maxLength: 100 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + role: + format: uuid + nullable: true + type: string + routing_instance: + format: uuid + type: string + secret: + format: uuid + nullable: true + type: string + source_interface: + format: uuid + nullable: true + type: string + source_ip: + format: uuid + nullable: true + title: Source IP Address + type: string + template: + format: uuid + nullable: true + type: string + type: object + PatchedWritablePeerGroupTemplateRequest: + description: REST API serializer for PeerGroup records. + properties: + autonomous_system: + format: uuid + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + enabled: + type: boolean + export_policy: + maxLength: 100 + type: string + import_policy: + maxLength: 100 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + role: + format: uuid + nullable: true + type: string + secret: + format: uuid + nullable: true + type: string + type: object + PatchedWritablePlatformRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + manufacturer: + description: Optionally limit this platform to devices of a certain manufacturer + format: uuid + nullable: true + type: string + name: + maxLength: 100 + minLength: 1 + type: string + napalm_args: + additionalProperties: {} + description: Additional arguments to pass when initiating the NAPALM driver + (JSON format) + nullable: true + title: NAPALM arguments + type: object + napalm_driver: + description: The name of the NAPALM driver to use when interacting with + devices + maxLength: 50 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + type: object + PatchedWritablePolicyRuleRequest: + description: PolicyRule Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + action: + $ref: '#/components/schemas/ActionEnum' + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + nullable: true + type: string + destination_zone: + $ref: '#/components/schemas/ZoneRequest' + index: + maximum: 32767 + minimum: 0 + nullable: true + type: integer + log: + type: boolean + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + request_id: + maxLength: 100 + nullable: true + type: string + source_zone: + $ref: '#/components/schemas/ZoneRequest' + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritablePowerFeedRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + amperage: + maximum: 32767 + minimum: 1 + type: integer + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + max_utilization: + description: Maximum permissible draw (percentage) + maximum: 100 + minimum: 1 + type: integer + name: + maxLength: 100 + minLength: 1 + type: string + phase: + $ref: '#/components/schemas/PhaseEnum' + power_panel: + format: uuid + type: string + rack: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/PowerFeedStatusChoices' + supply: + $ref: '#/components/schemas/SupplyEnum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/PowerFeedTypeChoices' + voltage: + maximum: 32767 + minimum: -32768 + type: integer + type: object + PatchedWritablePowerOutletRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + type: string + feed_leg: + description: Phase (for three-phase feeds) + oneOf: + - $ref: '#/components/schemas/FeedLegEnum' + - $ref: '#/components/schemas/BlankEnum' + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + power_port: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + description: Physical port type + oneOf: + - $ref: '#/components/schemas/PowerOutletTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + type: object + PatchedWritablePowerOutletTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + format: uuid + type: string + feed_leg: + description: Phase (for three-phase feeds) + oneOf: + - $ref: '#/components/schemas/FeedLegEnum' + - $ref: '#/components/schemas/BlankEnum' + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + power_port: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + oneOf: + - $ref: '#/components/schemas/PowerOutletTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + type: object + PatchedWritablePowerPanelRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + location: + format: uuid + nullable: true + type: string + name: + maxLength: 100 + minLength: 1 + type: string + rack_group: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + format: uuid + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritablePowerPortRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + allocated_draw: + description: Allocated power draw (watts) + maximum: 32767 + minimum: 1 + nullable: true + type: integer + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + maximum_draw: + description: Maximum power draw (watts) + maximum: 32767 + minimum: 1 + nullable: true + type: integer + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + description: Physical port type + oneOf: + - $ref: '#/components/schemas/PowerPortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + type: object + PatchedWritablePowerPortTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + allocated_draw: + description: Allocated power draw (watts) + maximum: 32767 + minimum: 1 + nullable: true + type: integer + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + maximum_draw: + description: Maximum power draw (watts) + maximum: 32767 + minimum: 1 + nullable: true + type: integer + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + oneOf: + - $ref: '#/components/schemas/PowerPortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + type: object + PatchedWritablePrefixRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + is_pool: + description: All IP addresses within this prefix are considered usable + title: Is a pool + type: boolean + location: + format: uuid + nullable: true + type: string + prefix: + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + role: + description: The primary function of this prefix + format: uuid + nullable: true + type: string + site: + format: uuid + nullable: true + type: string + status: + $ref: '#/components/schemas/PrefixStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + vlan: + format: uuid + nullable: true + type: string + vrf: + format: uuid + nullable: true + type: string + type: object + PatchedWritableProviderNetworkRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + provider: + format: uuid + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritableRackGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + location: + format: uuid + nullable: true + type: string + name: + maxLength: 100 + minLength: 1 + type: string + parent: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + format: uuid + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + type: object + PatchedWritableRackRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + asset_tag: + description: A unique tag used to identify this rack + maxLength: 50 + nullable: true + type: string + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + desc_units: + description: Units are numbered top-to-bottom + title: Descending units + type: boolean + facility_id: + description: Locally-assigned identifier + maxLength: 50 + nullable: true + type: string + group: + description: Assigned group + format: uuid + nullable: true + type: string + location: + format: uuid + nullable: true + type: string + name: + maxLength: 100 + minLength: 1 + type: string + outer_depth: + description: Outer dimension of rack (depth) + maximum: 32767 + minimum: 0 + nullable: true + type: integer + outer_unit: + oneOf: + - $ref: '#/components/schemas/OuterUnitEnum' + - $ref: '#/components/schemas/BlankEnum' + outer_width: + description: Outer dimension of rack (width) + maximum: 32767 + minimum: 0 + nullable: true + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + role: + description: Functional role + format: uuid + nullable: true + type: string + serial: + maxLength: 255 + title: Serial number + type: string + site: + format: uuid + type: string + status: + $ref: '#/components/schemas/RackStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + type: + oneOf: + - $ref: '#/components/schemas/RackTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + u_height: + description: Height in rack units + maximum: 100 + minimum: 1 + title: Height (U) + type: integer + width: + allOf: + - $ref: '#/components/schemas/WidthEnum' + description: Rail-to-rail width + maximum: 32767 + minimum: 0 + type: object + PatchedWritableRackReservationRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + minLength: 1 + type: string + rack: + format: uuid + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + units: + additionalProperties: {} + type: object + user: + format: uuid + type: string + type: object + PatchedWritableRearPortRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + positions: + maximum: 1024 + minimum: 1 + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/PortTypeChoices' + type: object + PatchedWritableRearPortTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + positions: + maximum: 1024 + minimum: 1 + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + $ref: '#/components/schemas/PortTypeChoices' + type: object + PatchedWritableRegionRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + parent: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + type: object + PatchedWritableRelationshipAssociationRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + destination_id: + format: uuid + type: string + destination_type: + type: string + relationship: + format: uuid + type: string + source_id: + format: uuid + type: string + source_type: + type: string + type: object + PatchedWritableRouteTargetRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + description: Route target value (formatted in accordance with RFC 4360) + maxLength: 21 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + type: object + PatchedWritableSecretsGroupAssociationRequest: + description: Serializer for `SecretsGroupAssociation` objects. + properties: + access_type: + $ref: '#/components/schemas/AccessTypeEnum' + group: + format: uuid + type: string + secret: + format: uuid + type: string + secret_type: + $ref: '#/components/schemas/SecretTypeEnum' + type: object + PatchedWritableServiceObjectGroupRequest: + description: ServiceObjectGroup Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritableServiceRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + nullable: true + type: string + ipaddresses: + items: + format: uuid + title: IP addresses + type: string + title: IP addresses + type: array + name: + maxLength: 100 + minLength: 1 + type: string + ports: + items: + maximum: 65535 + minimum: 1 + type: integer + type: array + protocol: + $ref: '#/components/schemas/ProtocolEnum' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + virtual_machine: + format: uuid + nullable: true + type: string + type: object + PatchedWritableSiteRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + asn: + description: 32-bit autonomous system number + format: int64 + maximum: 4294967295 + minimum: 1 + nullable: true + type: integer + comments: + type: string + contact_email: + format: email + maxLength: 254 + title: Contact E-mail + type: string + contact_name: + maxLength: 50 + type: string + contact_phone: + maxLength: 20 + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + facility: + description: Local facility ID or description + maxLength: 50 + type: string + latitude: + description: GPS coordinate (latitude) + format: decimal + nullable: true + pattern: ^-?\d{0,2}(?:\.\d{0,6})?$ + type: string + longitude: + description: GPS coordinate (longitude) + format: decimal + nullable: true + pattern: ^-?\d{0,3}(?:\.\d{0,6})?$ + type: string + name: + maxLength: 100 + minLength: 1 + type: string + physical_address: + maxLength: 200 + type: string + region: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + shipping_address: + maxLength: 200 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + status: + $ref: '#/components/schemas/LocationStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + time_zone: + nullable: true + type: string + type: object + PatchedWritableSoftwareImageLCMRequest: + description: REST API serializer for SoftwareImageLCM records. + properties: + custom_fields: + additionalProperties: {} + type: object + default_image: + type: boolean + device_types: + items: + format: uuid + type: string + type: array + download_url: + format: uri + maxLength: 200 + type: string + image_file_checksum: + maxLength: 256 + type: string + image_file_name: + maxLength: 100 + minLength: 1 + type: string + inventory_items: + items: + format: uuid + type: string + type: array + object_tags: + items: + format: uuid + type: string + type: array + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + software: + format: uuid + title: Software Version + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritableSoftwareLCMRequest: + description: REST API serializer for SoftwareLCM records. + properties: + alias: + maxLength: 50 + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + device_platform: + format: uuid + type: string + documentation_url: + format: uri + maxLength: 200 + type: string + end_of_support: + format: date + nullable: true + title: End of Software Support + type: string + long_term_support: + type: boolean + pre_release: + type: boolean + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + release_date: + format: date + nullable: true + type: string + software_images: + items: + format: uuid + type: string + type: array + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + version: + maxLength: 50 + minLength: 1 + type: string + type: object + PatchedWritableTenantGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + parent: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + type: object + PatchedWritableTenantRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + group: + format: uuid + nullable: true + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritableUserObjectGroupRequest: + description: UserObjectGroup Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritableUserRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + date_joined: + format: date-time + type: string + email: + format: email + maxLength: 254 + title: Email address + type: string + first_name: + maxLength: 150 + type: string + groups: + description: The groups this user belongs to. A user will get all permissions + granted to each of their groups. + items: + type: integer + type: array + is_active: + description: Designates whether this user should be treated as active. Unselect + this instead of deleting accounts. + title: Active + type: boolean + is_staff: + description: Designates whether the user can log into this admin site. + title: Staff status + type: boolean + last_name: + maxLength: 150 + type: string + password: + maxLength: 128 + minLength: 1 + type: string + writeOnly: true + username: + description: Required. 150 characters or fewer. Letters, digits and @/./+/-/_ + only. + maxLength: 150 + minLength: 1 + pattern: ^[\w.@+-]+$ + type: string + type: object + PatchedWritableVLANGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + location: + format: uuid + nullable: true + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + format: uuid + nullable: true + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + type: object + PatchedWritableVLANRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + group: + format: uuid + nullable: true + type: string + location: + format: uuid + nullable: true + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + role: + format: uuid + nullable: true + type: string + site: + format: uuid + nullable: true + type: string + status: + $ref: '#/components/schemas/VLANStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + vid: + maximum: 4094 + minimum: 1 + title: ID + type: integer + type: object + PatchedWritableVMInterfaceRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + bridge: + description: Assigned bridge interface + format: uuid + nullable: true + title: Bridge interface + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + enabled: + type: boolean + mac_address: + maxLength: 18 + nullable: true + type: string + mode: + oneOf: + - $ref: '#/components/schemas/ModeEnum' + - $ref: '#/components/schemas/BlankEnum' + mtu: + maximum: 65536 + minimum: 1 + nullable: true + type: integer + name: + maxLength: 64 + minLength: 1 + type: string + parent_interface: + description: Assigned parent interface + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/InterfaceStatusChoices' + tagged_vlans: + items: + format: uuid + title: Tagged VLANs + type: string + type: array + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + untagged_vlan: + format: uuid + nullable: true + type: string + virtual_machine: + format: uuid + type: string + type: object + PatchedWritableVRFRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + enforce_unique: + description: Prevent duplicate prefixes/IP addresses within this VRF + title: Enforce unique space + type: boolean + export_targets: + items: + format: uuid + type: string + type: array + import_targets: + items: + format: uuid + type: string + type: array + name: + maxLength: 100 + minLength: 1 + type: string + rd: + description: Unique route distinguisher (as defined in RFC 4364) + maxLength: 21 + nullable: true + title: Route distinguisher + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + type: object + PatchedWritableValidatedSoftwareLCMRequest: + description: REST API serializer for ValidatedSoftwareLCM records. + properties: + custom_fields: + additionalProperties: {} + type: object + device_roles: + items: + format: uuid + type: string + type: array + device_types: + items: + format: uuid + type: string + type: array + devices: + items: + format: uuid + type: string + type: array + end: + format: date + nullable: true + title: Valid Until + type: string + inventory_items: + items: + format: uuid + type: string + type: array + object_tags: + items: + format: uuid + type: string + type: array + preferred: + title: Preferred Version + type: boolean + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + software: + format: uuid + title: Software Version + type: string + start: + format: date + title: Valid Since + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritableVirtualChassisRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + domain: + maxLength: 30 + type: string + master: + format: uuid + nullable: true + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PatchedWritableVirtualMachineWithConfigContextRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + cluster: + format: uuid + type: string + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + disk: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Disk (GB) + type: integer + local_context_data: + additionalProperties: {} + nullable: true + type: object + local_context_schema: + description: Optional schema to validate the structure of the data + format: uuid + nullable: true + type: string + memory: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Memory (MB) + type: integer + name: + maxLength: 64 + minLength: 1 + type: string + platform: + format: uuid + nullable: true + type: string + primary_ip4: + format: uuid + nullable: true + title: Primary IPv4 + type: string + primary_ip6: + format: uuid + nullable: true + title: Primary IPv6 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + role: + format: uuid + nullable: true + type: string + status: + $ref: '#/components/schemas/VirtualMachineStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + vcpus: + maximum: 32767 + minimum: 0 + nullable: true + type: integer + type: object + PatchedZoneRequest: + description: Zone Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + interfaces: + items: + $ref: '#/components/schemas/NestedInterfaceRequest' + type: array + name: + description: Name of the zone (e.g. trust) + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + PeerEndpoint: + description: REST API serializer for PeerEndpoint records. + properties: + autonomous_system: + allOf: + - $ref: '#/components/schemas/NestedAutonomousSystem' + nullable: true + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + display: + description: Human friendly display value + readOnly: true + type: string + enabled: + type: boolean + export_policy: + maxLength: 100 + type: string + id: + format: uuid + readOnly: true + type: string + import_policy: + maxLength: 100 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + peer: + allOf: + - $ref: '#/components/schemas/NestedPeerEndpoint' + nullable: true + peer_group: + allOf: + - $ref: '#/components/schemas/NestedPeerGroup' + nullable: true + peering: + allOf: + - $ref: '#/components/schemas/NestedPeering' + nullable: true + routing_instance: + allOf: + - $ref: '#/components/schemas/NestedRoutingInstance' + nullable: true + secret: + allOf: + - $ref: '#/components/schemas/NestedSecret' + nullable: true + source_interface: + allOf: + - $ref: '#/components/schemas/NestedInterface' + nullable: true + source_ip: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + nullable: true + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - peering + - url + type: object + PeerGroup: + description: REST API serializer for PeerGroup records. + properties: + autonomous_system: + allOf: + - $ref: '#/components/schemas/NestedAutonomousSystem' + nullable: true + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + enabled: + type: boolean + export_policy: + maxLength: 100 + type: string + extra_attributes: + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + import_policy: + maxLength: 100 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + role: + format: uuid + nullable: true + type: string + routing_instance: + $ref: '#/components/schemas/NestedRoutingInstance' + secret: + allOf: + - $ref: '#/components/schemas/NestedSecret' + nullable: true + source_interface: + allOf: + - $ref: '#/components/schemas/NestedInterface' + nullable: true + source_ip: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + nullable: true + template: + allOf: + - $ref: '#/components/schemas/NestedPeerGroupTemplate' + nullable: true + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - extra_attributes + - id + - last_updated + - name + - routing_instance + - url + type: object + PeerGroupTemplate: + description: REST API serializer for PeerGroup records. + properties: + autonomous_system: + allOf: + - $ref: '#/components/schemas/NestedAutonomousSystem' + nullable: true + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + enabled: + type: boolean + export_policy: + maxLength: 100 + type: string + id: + format: uuid + readOnly: true + type: string + import_policy: + maxLength: 100 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + role: + format: uuid + nullable: true + type: string + secret: + allOf: + - $ref: '#/components/schemas/NestedSecret' + nullable: true + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - url + type: object + Peering: + description: REST API serializer for Peering records. + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + display: + description: Human friendly display value + readOnly: true + type: string + endpoints: + items: + $ref: '#/components/schemas/NestedPeerEndpoint' + type: array + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Deprovisioning + - Offline + - Planned + - Provisioning + type: string + value: + enum: + - active + - decommissioned + - deprovisioning + - offline + - planned + - provisioning + type: string + type: object + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - status + - url + type: object + PeeringRequest: + description: REST API serializer for Peering records. + properties: + custom_fields: + additionalProperties: {} + type: object + status: + $ref: '#/components/schemas/CircuitStatusChoices' + required: + - status + type: object + PeeringRole: + description: REST API serializer for PeeringRole records. + properties: + color: + maxLength: 6 + pattern: ^[0-9a-f]{6}$ + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - url + type: object + PeeringRoleRequest: + description: REST API serializer for PeeringRole records. + properties: + color: + maxLength: 6 + minLength: 1 + pattern: ^[0-9a-f]{6}$ + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + PhaseEnum: + enum: + - single-phase + - three-phase + type: string + Platform: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + manufacturer: + allOf: + - $ref: '#/components/schemas/NestedManufacturer' + nullable: true + name: + maxLength: 100 + type: string + napalm_args: + additionalProperties: {} + description: Additional arguments to pass when initiating the NAPALM driver + (JSON format) + nullable: true + title: NAPALM arguments + type: object + napalm_driver: + description: The name of the NAPALM driver to use when interacting with + devices + maxLength: 50 + type: string + notes_url: + format: uri + readOnly: true + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + virtualmachine_count: + readOnly: true + type: integer + required: + - created + - device_count + - display + - id + - last_updated + - name + - notes_url + - url + - virtualmachine_count + type: object + PlatformEnum: + enum: + - mattermost + type: string + Policy: + description: Policy Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + assigned_devices: + items: + $ref: '#/components/schemas/PolicyDeviceM2MNested' + type: array + assigned_dynamic_groups: + items: + $ref: '#/components/schemas/PolicyDynamicGroupM2MNested' + type: array + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + policy_rules: + items: + format: uuid + type: string + readOnly: true + type: array + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + tenant: + format: uuid + nullable: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - policy_rules + - url + type: object + PolicyDeviceM2MNested: + description: PolicyDeviceM2M NestedSerializer. + properties: + device: + format: uuid + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - device + type: object + PolicyDeviceM2MNestedRequest: + description: PolicyDeviceM2M NestedSerializer. + properties: + device: + format: uuid + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - id + type: object + PolicyDynamicGroupM2MNested: + description: PolicyDynamicGroupM2M NestedSerializer. + properties: + dynamic_group: + format: uuid + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - dynamic_group + type: object + PolicyDynamicGroupM2MNestedRequest: + description: PolicyDynamicGroupM2M NestedSerializer. + properties: + dynamic_group: + format: uuid + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - id + type: object + PolicyRequest: + description: Policy Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + assigned_devices: + items: + $ref: '#/components/schemas/PolicyDeviceM2MNestedRequest' + type: array + assigned_dynamic_groups: + items: + $ref: '#/components/schemas/PolicyDynamicGroupM2MNestedRequest' + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + required: + - name + type: object + PolicyRule: + description: PolicyRule Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + action: + $ref: '#/components/schemas/ActionEnum' + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + nullable: true + type: string + destination_address_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + address_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDN' + id: + format: uuid + readOnly: true + type: string + ip_address: + $ref: '#/components/schemas/NestedIPAddress' + ip_range: + $ref: '#/components/schemas/NestedIPRange' + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name descriptor for an address object type. + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + prefix: + $ref: '#/components/schemas/NestedPrefix' + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + destination_addresses: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDN' + id: + format: uuid + readOnly: true + type: string + ip_address: + $ref: '#/components/schemas/NestedIPAddress' + ip_range: + $ref: '#/components/schemas/NestedIPRange' + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name descriptor for an address object type. + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + prefix: + $ref: '#/components/schemas/NestedPrefix' + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + destination_service_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + service_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + port: + description: The port or port range to tie to a service (e.g. + HTTP would be port 80) + maxLength: 20 + nullable: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - ip_protocol + - last_updated + - name + - notes_url + - url + type: object + type: array + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + destination_services: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP + would be port 80) + maxLength: 20 + nullable: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - ip_protocol + - last_updated + - name + - notes_url + - url + type: object + type: array + destination_zone: + $ref: '#/components/schemas/Zone' + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + index: + maximum: 32767 + minimum: 0 + nullable: true + type: integer + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + log: + type: boolean + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + request_id: + maxLength: 100 + nullable: true + type: string + source_address_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + address_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDN' + id: + format: uuid + readOnly: true + type: string + ip_address: + $ref: '#/components/schemas/NestedIPAddress' + ip_range: + $ref: '#/components/schemas/NestedIPRange' + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name descriptor for an address object type. + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + prefix: + $ref: '#/components/schemas/NestedPrefix' + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + source_addresses: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + fqdn: + $ref: '#/components/schemas/NestedFQDN' + id: + format: uuid + readOnly: true + type: string + ip_address: + $ref: '#/components/schemas/NestedIPAddress' + ip_range: + $ref: '#/components/schemas/NestedIPRange' + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name descriptor for an address object type. + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + prefix: + $ref: '#/components/schemas/NestedPrefix' + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + source_service_groups: + items: + format: uuid + type: string + readOnly: true + type: array + source_services: + items: + format: uuid + type: string + readOnly: true + type: array + source_user_groups: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + user_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Signifies the name of the user, commonly first + & last name (e.g. John Smith) + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + username: + description: Signifies the username in identify provider (e.g. + john.smith) + maxLength: 100 + type: string + required: + - created + - display + - id + - last_updated + - notes_url + - url + - username + type: object + type: array + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + type: array + source_users: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Signifies the name of the user, commonly first & last + name (e.g. John Smith) + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + username: + description: Signifies the username in identify provider (e.g. john.smith) + maxLength: 100 + type: string + required: + - created + - display + - id + - last_updated + - notes_url + - url + - username + type: object + type: array + source_zone: + $ref: '#/components/schemas/Zone' + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - action + - created + - display + - id + - last_updated + - name + - notes_url + - source_service_groups + - source_services + - url + type: object + PortTypeChoices: + enum: + - 8p8c + - 8p6c + - 8p4c + - 8p2c + - gg45 + - tera-4p + - tera-2p + - tera-1p + - 110-punch + - bnc + - mrj21 + - fc + - lc + - lc-apc + - lsh + - lsh-apc + - mpo + - mtrj + - sc + - sc-apc + - st + - cs + - sn + - urm-p2 + - urm-p4 + - urm-p8 + - splice + type: string + PowerFeed: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + amperage: + maximum: 32767 + minimum: 1 + type: integer + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + additionalProperties: {} + nullable: true + readOnly: true + type: object + cable_peer_type: + nullable: true + readOnly: true + type: string + comments: + type: string + connected_endpoint: + additionalProperties: {} + nullable: true + readOnly: true + type: object + connected_endpoint_reachable: + nullable: true + readOnly: true + type: boolean + connected_endpoint_type: + nullable: true + readOnly: true + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + max_utilization: + description: Maximum permissible draw (percentage) + maximum: 100 + minimum: 1 + type: integer + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + phase: + default: + label: Single phase + value: single-phase + properties: + label: + enum: + - Single phase + - Three-phase + type: string + value: + enum: + - single-phase + - three-phase + type: string + type: object + power_panel: + $ref: '#/components/schemas/NestedPowerPanel' + rack: + allOf: + - $ref: '#/components/schemas/NestedRack' + nullable: true + status: + properties: + label: + enum: + - Active + - Failed + - Offline + - Planned + type: string + value: + enum: + - active + - failed + - offline + - planned + type: string + type: object + supply: + default: + label: AC + value: ac + properties: + label: + enum: + - AC + - DC + type: string + value: + enum: + - ac + - dc + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + type: + default: + label: Primary + value: primary + properties: + label: + enum: + - Primary + - Redundant + type: string + value: + enum: + - primary + - redundant + type: string + type: object + url: + format: uri + readOnly: true + type: string + voltage: + maximum: 32767 + minimum: -32768 + type: integer + required: + - cable + - cable_peer + - cable_peer_type + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - created + - display + - id + - last_updated + - name + - notes_url + - power_panel + - status + - url + type: object + PowerFeedStatusChoices: + enum: + - active + - failed + - offline + - planned + type: string + PowerFeedTypeChoices: + enum: + - primary + - redundant + type: string + PowerOutlet: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + additionalProperties: {} + nullable: true + readOnly: true + type: object + cable_peer_type: + nullable: true + readOnly: true + type: string + connected_endpoint: + additionalProperties: {} + nullable: true + readOnly: true + type: object + connected_endpoint_reachable: + nullable: true + readOnly: true + type: boolean + connected_endpoint_type: + nullable: true + readOnly: true + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDevice' + display: + description: Human friendly display value + readOnly: true + type: string + feed_leg: + properties: + label: + enum: + - A + - B + - C + type: string + value: + enum: + - A + - B + - C + type: string + type: object + id: + format: uuid + readOnly: true + type: string + label: + description: Physical label + maxLength: 64 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 64 + type: string + notes_url: + format: uri + readOnly: true + type: string + power_port: + $ref: '#/components/schemas/NestedPowerPort' + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + type: + properties: + label: + enum: + - C5 + - C7 + - C13 + - C15 + - C19 + - P+N+E 4H + - P+N+E 6H + - P+N+E 9H + - 2P+E 4H + - 2P+E 6H + - 2P+E 9H + - 3P+E 4H + - 3P+E 6H + - 3P+E 9H + - 3P+N+E 4H + - 3P+N+E 6H + - 3P+N+E 9H + - NEMA 1-15R + - NEMA 5-15R + - NEMA 5-20R + - NEMA 5-30R + - NEMA 5-50R + - NEMA 6-15R + - NEMA 6-20R + - NEMA 6-30R + - NEMA 6-50R + - NEMA 10-30R + - NEMA 10-50R + - NEMA 14-20R + - NEMA 14-30R + - NEMA 14-50R + - NEMA 14-60R + - NEMA 15-15R + - NEMA 15-20R + - NEMA 15-30R + - NEMA 15-50R + - NEMA 15-60R + - NEMA L1-15R + - NEMA L5-15R + - NEMA L5-20R + - NEMA L5-30R + - NEMA L5-50R + - NEMA L6-15R + - NEMA L6-20R + - NEMA L6-30R + - NEMA L6-50R + - NEMA L10-30R + - NEMA L14-20R + - NEMA L14-30R + - NEMA L14-50R + - NEMA L14-60R + - NEMA L15-20R + - NEMA L15-30R + - NEMA L15-50R + - NEMA L15-60R + - NEMA L21-20R + - NEMA L21-30R + - CS6360C + - CS6364C + - CS8164C + - CS8264C + - CS8364C + - CS8464C + - ITA Type E (CEE7/5) + - ITA Type F (CEE7/3) + - ITA Type G (BS 1363) + - ITA Type H + - ITA Type I + - ITA Type J + - ITA Type K + - ITA Type L (CEI 23-50) + - ITA Type M (BS 546) + - ITA Type N + - ITA Type O + - USB Type A + - USB Micro B + - USB Type C + - HDOT Cx + type: string + value: + enum: + - iec-60320-c5 + - iec-60320-c7 + - iec-60320-c13 + - iec-60320-c15 + - iec-60320-c19 + - iec-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60309-2p-e-4h + - iec-60309-2p-e-6h + - iec-60309-2p-e-9h + - iec-60309-3p-e-4h + - iec-60309-3p-e-6h + - iec-60309-3p-e-9h + - iec-60309-3p-n-e-4h + - iec-60309-3p-n-e-6h + - iec-60309-3p-n-e-9h + - nema-1-15r + - nema-5-15r + - nema-5-20r + - nema-5-30r + - nema-5-50r + - nema-6-15r + - nema-6-20r + - nema-6-30r + - nema-6-50r + - nema-10-30r + - nema-10-50r + - nema-14-20r + - nema-14-30r + - nema-14-50r + - nema-14-60r + - nema-15-15r + - nema-15-20r + - nema-15-30r + - nema-15-50r + - nema-15-60r + - nema-l1-15r + - nema-l5-15r + - nema-l5-20r + - nema-l5-30r + - nema-l5-50r + - nema-l6-15r + - nema-l6-20r + - nema-l6-30r + - nema-l6-50r + - nema-l10-30r + - nema-l14-20r + - nema-l14-30r + - nema-l14-50r + - nema-l14-60r + - nema-l15-20r + - nema-l15-30r + - nema-l15-50r + - nema-l15-60r + - nema-l21-20r + - nema-l21-30r + - CS6360C + - CS6364C + - CS8164C + - CS8264C + - CS8364C + - CS8464C + - ita-e + - ita-f + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-n + - ita-o + - usb-a + - usb-micro-b + - usb-c + - hdot-cx + type: string + type: object + url: + format: uri + readOnly: true + type: string + required: + - cable + - cable_peer + - cable_peer_type + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - created + - device + - display + - id + - last_updated + - name + - notes_url + - url + type: object + PowerOutletTemplate: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceType' + display: + description: Human friendly display value + readOnly: true + type: string + feed_leg: + properties: + label: + enum: + - A + - B + - C + type: string + value: + enum: + - A + - B + - C + type: string + type: object + id: + format: uuid + readOnly: true + type: string + label: + description: Physical label + maxLength: 64 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 64 + type: string + power_port: + $ref: '#/components/schemas/NestedPowerPortTemplate' + type: + properties: + label: + enum: + - C5 + - C7 + - C13 + - C15 + - C19 + - P+N+E 4H + - P+N+E 6H + - P+N+E 9H + - 2P+E 4H + - 2P+E 6H + - 2P+E 9H + - 3P+E 4H + - 3P+E 6H + - 3P+E 9H + - 3P+N+E 4H + - 3P+N+E 6H + - 3P+N+E 9H + - NEMA 1-15R + - NEMA 5-15R + - NEMA 5-20R + - NEMA 5-30R + - NEMA 5-50R + - NEMA 6-15R + - NEMA 6-20R + - NEMA 6-30R + - NEMA 6-50R + - NEMA 10-30R + - NEMA 10-50R + - NEMA 14-20R + - NEMA 14-30R + - NEMA 14-50R + - NEMA 14-60R + - NEMA 15-15R + - NEMA 15-20R + - NEMA 15-30R + - NEMA 15-50R + - NEMA 15-60R + - NEMA L1-15R + - NEMA L5-15R + - NEMA L5-20R + - NEMA L5-30R + - NEMA L5-50R + - NEMA L6-15R + - NEMA L6-20R + - NEMA L6-30R + - NEMA L6-50R + - NEMA L10-30R + - NEMA L14-20R + - NEMA L14-30R + - NEMA L14-50R + - NEMA L14-60R + - NEMA L15-20R + - NEMA L15-30R + - NEMA L15-50R + - NEMA L15-60R + - NEMA L21-20R + - NEMA L21-30R + - CS6360C + - CS6364C + - CS8164C + - CS8264C + - CS8364C + - CS8464C + - ITA Type E (CEE7/5) + - ITA Type F (CEE7/3) + - ITA Type G (BS 1363) + - ITA Type H + - ITA Type I + - ITA Type J + - ITA Type K + - ITA Type L (CEI 23-50) + - ITA Type M (BS 546) + - ITA Type N + - ITA Type O + - USB Type A + - USB Micro B + - USB Type C + - HDOT Cx + type: string + value: + enum: + - iec-60320-c5 + - iec-60320-c7 + - iec-60320-c13 + - iec-60320-c15 + - iec-60320-c19 + - iec-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60309-2p-e-4h + - iec-60309-2p-e-6h + - iec-60309-2p-e-9h + - iec-60309-3p-e-4h + - iec-60309-3p-e-6h + - iec-60309-3p-e-9h + - iec-60309-3p-n-e-4h + - iec-60309-3p-n-e-6h + - iec-60309-3p-n-e-9h + - nema-1-15r + - nema-5-15r + - nema-5-20r + - nema-5-30r + - nema-5-50r + - nema-6-15r + - nema-6-20r + - nema-6-30r + - nema-6-50r + - nema-10-30r + - nema-10-50r + - nema-14-20r + - nema-14-30r + - nema-14-50r + - nema-14-60r + - nema-15-15r + - nema-15-20r + - nema-15-30r + - nema-15-50r + - nema-15-60r + - nema-l1-15r + - nema-l5-15r + - nema-l5-20r + - nema-l5-30r + - nema-l5-50r + - nema-l6-15r + - nema-l6-20r + - nema-l6-30r + - nema-l6-50r + - nema-l10-30r + - nema-l14-20r + - nema-l14-30r + - nema-l14-50r + - nema-l14-60r + - nema-l15-20r + - nema-l15-30r + - nema-l15-50r + - nema-l15-60r + - nema-l21-20r + - nema-l21-30r + - CS6360C + - CS6364C + - CS8164C + - CS8264C + - CS8364C + - CS8464C + - ita-e + - ita-f + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-n + - ita-o + - usb-a + - usb-micro-b + - usb-c + - hdot-cx + type: string + type: object + url: + format: uri + readOnly: true + type: string + required: + - created + - device_type + - display + - id + - last_updated + - name + - url + type: object + PowerOutletTypeChoices: + enum: + - iec-60320-c5 + - iec-60320-c7 + - iec-60320-c13 + - iec-60320-c15 + - iec-60320-c19 + - iec-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60309-2p-e-4h + - iec-60309-2p-e-6h + - iec-60309-2p-e-9h + - iec-60309-3p-e-4h + - iec-60309-3p-e-6h + - iec-60309-3p-e-9h + - iec-60309-3p-n-e-4h + - iec-60309-3p-n-e-6h + - iec-60309-3p-n-e-9h + - nema-1-15r + - nema-5-15r + - nema-5-20r + - nema-5-30r + - nema-5-50r + - nema-6-15r + - nema-6-20r + - nema-6-30r + - nema-6-50r + - nema-10-30r + - nema-10-50r + - nema-14-20r + - nema-14-30r + - nema-14-50r + - nema-14-60r + - nema-15-15r + - nema-15-20r + - nema-15-30r + - nema-15-50r + - nema-15-60r + - nema-l1-15r + - nema-l5-15r + - nema-l5-20r + - nema-l5-30r + - nema-l5-50r + - nema-l6-15r + - nema-l6-20r + - nema-l6-30r + - nema-l6-50r + - nema-l10-30r + - nema-l14-20r + - nema-l14-30r + - nema-l14-50r + - nema-l14-60r + - nema-l15-20r + - nema-l15-30r + - nema-l15-50r + - nema-l15-60r + - nema-l21-20r + - nema-l21-30r + - CS6360C + - CS6364C + - CS8164C + - CS8264C + - CS8364C + - CS8464C + - ita-e + - ita-f + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-n + - ita-o + - usb-a + - usb-micro-b + - usb-c + - hdot-cx + type: string + PowerPanel: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocation' + nullable: true + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + powerfeed_count: + readOnly: true + type: integer + rack_group: + allOf: + - $ref: '#/components/schemas/NestedRackGroup' + nullable: true + site: + $ref: '#/components/schemas/NestedSite' + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - powerfeed_count + - site + - url + type: object + PowerPort: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + allocated_draw: + description: Allocated power draw (watts) + maximum: 32767 + minimum: 1 + nullable: true + type: integer + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + additionalProperties: {} + nullable: true + readOnly: true + type: object + cable_peer_type: + nullable: true + readOnly: true + type: string + connected_endpoint: + additionalProperties: {} + nullable: true + readOnly: true + type: object + connected_endpoint_reachable: + nullable: true + readOnly: true + type: boolean + connected_endpoint_type: + nullable: true + readOnly: true + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDevice' + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + label: + description: Physical label + maxLength: 64 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + maximum_draw: + description: Maximum power draw (watts) + maximum: 32767 + minimum: 1 + nullable: true + type: integer + name: + maxLength: 64 + type: string + notes_url: + format: uri + readOnly: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + type: + properties: + label: + enum: + - C6 + - C8 + - C14 + - C16 + - C20 + - P+N+E 4H + - P+N+E 6H + - P+N+E 9H + - 2P+E 4H + - 2P+E 6H + - 2P+E 9H + - 3P+E 4H + - 3P+E 6H + - 3P+E 9H + - 3P+N+E 4H + - 3P+N+E 6H + - 3P+N+E 9H + - NEMA 1-15P + - NEMA 5-15P + - NEMA 5-20P + - NEMA 5-30P + - NEMA 5-50P + - NEMA 6-15P + - NEMA 6-20P + - NEMA 6-30P + - NEMA 6-50P + - NEMA 10-30P + - NEMA 10-50P + - NEMA 14-20P + - NEMA 14-30P + - NEMA 14-50P + - NEMA 14-60P + - NEMA 15-15P + - NEMA 15-20P + - NEMA 15-30P + - NEMA 15-50P + - NEMA 15-60P + - NEMA L1-15P + - NEMA L5-15P + - NEMA L5-20P + - NEMA L5-30P + - NEMA L5-50P + - NEMA L6-15P + - NEMA L6-20P + - NEMA L6-30P + - NEMA L6-50P + - NEMA L10-30P + - NEMA L14-20P + - NEMA L14-30P + - NEMA L14-50P + - NEMA L14-60P + - NEMA L15-20P + - NEMA L15-30P + - NEMA L15-50P + - NEMA L15-60P + - NEMA L21-20P + - NEMA L21-30P + - CS6361C + - CS6365C + - CS8165C + - CS8265C + - CS8365C + - CS8465C + - ITA Type E (CEE 7/5) + - ITA Type F (CEE 7/4) + - ITA Type E/F (CEE 7/7) + - ITA Type G (BS 1363) + - ITA Type H + - ITA Type I + - ITA Type J + - ITA Type K + - ITA Type L (CEI 23-50) + - ITA Type M (BS 546) + - ITA Type N + - ITA Type O + - USB Type A + - USB Type B + - USB Type C + - USB Mini A + - USB Mini B + - USB Micro A + - USB Micro B + - USB 3.0 Type B + - USB 3.0 Micro B + type: string + value: + enum: + - iec-60320-c6 + - iec-60320-c8 + - iec-60320-c14 + - iec-60320-c16 + - iec-60320-c20 + - iec-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60309-2p-e-4h + - iec-60309-2p-e-6h + - iec-60309-2p-e-9h + - iec-60309-3p-e-4h + - iec-60309-3p-e-6h + - iec-60309-3p-e-9h + - iec-60309-3p-n-e-4h + - iec-60309-3p-n-e-6h + - iec-60309-3p-n-e-9h + - nema-1-15p + - nema-5-15p + - nema-5-20p + - nema-5-30p + - nema-5-50p + - nema-6-15p + - nema-6-20p + - nema-6-30p + - nema-6-50p + - nema-10-30p + - nema-10-50p + - nema-14-20p + - nema-14-30p + - nema-14-50p + - nema-14-60p + - nema-15-15p + - nema-15-20p + - nema-15-30p + - nema-15-50p + - nema-15-60p + - nema-l1-15p + - nema-l5-15p + - nema-l5-20p + - nema-l5-30p + - nema-l5-50p + - nema-l6-15p + - nema-l6-20p + - nema-l6-30p + - nema-l6-50p + - nema-l10-30p + - nema-l14-20p + - nema-l14-30p + - nema-l14-50p + - nema-l14-60p + - nema-l15-20p + - nema-l15-30p + - nema-l15-50p + - nema-l15-60p + - nema-l21-20p + - nema-l21-30p + - cs6361c + - cs6365c + - cs8165c + - cs8265c + - cs8365c + - cs8465c + - ita-e + - ita-f + - ita-ef + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-n + - ita-o + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - usb-3-b + - usb-3-micro-b + type: string + type: object + url: + format: uri + readOnly: true + type: string + required: + - cable + - cable_peer + - cable_peer_type + - connected_endpoint + - connected_endpoint_reachable + - connected_endpoint_type + - created + - device + - display + - id + - last_updated + - name + - notes_url + - url + type: object + PowerPortTemplate: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + allocated_draw: + description: Allocated power draw (watts) + maximum: 32767 + minimum: 1 + nullable: true + type: integer + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceType' + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + label: + description: Physical label + maxLength: 64 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + maximum_draw: + description: Maximum power draw (watts) + maximum: 32767 + minimum: 1 + nullable: true + type: integer + name: + maxLength: 64 + type: string + type: + properties: + label: + enum: + - C6 + - C8 + - C14 + - C16 + - C20 + - P+N+E 4H + - P+N+E 6H + - P+N+E 9H + - 2P+E 4H + - 2P+E 6H + - 2P+E 9H + - 3P+E 4H + - 3P+E 6H + - 3P+E 9H + - 3P+N+E 4H + - 3P+N+E 6H + - 3P+N+E 9H + - NEMA 1-15P + - NEMA 5-15P + - NEMA 5-20P + - NEMA 5-30P + - NEMA 5-50P + - NEMA 6-15P + - NEMA 6-20P + - NEMA 6-30P + - NEMA 6-50P + - NEMA 10-30P + - NEMA 10-50P + - NEMA 14-20P + - NEMA 14-30P + - NEMA 14-50P + - NEMA 14-60P + - NEMA 15-15P + - NEMA 15-20P + - NEMA 15-30P + - NEMA 15-50P + - NEMA 15-60P + - NEMA L1-15P + - NEMA L5-15P + - NEMA L5-20P + - NEMA L5-30P + - NEMA L5-50P + - NEMA L6-15P + - NEMA L6-20P + - NEMA L6-30P + - NEMA L6-50P + - NEMA L10-30P + - NEMA L14-20P + - NEMA L14-30P + - NEMA L14-50P + - NEMA L14-60P + - NEMA L15-20P + - NEMA L15-30P + - NEMA L15-50P + - NEMA L15-60P + - NEMA L21-20P + - NEMA L21-30P + - CS6361C + - CS6365C + - CS8165C + - CS8265C + - CS8365C + - CS8465C + - ITA Type E (CEE 7/5) + - ITA Type F (CEE 7/4) + - ITA Type E/F (CEE 7/7) + - ITA Type G (BS 1363) + - ITA Type H + - ITA Type I + - ITA Type J + - ITA Type K + - ITA Type L (CEI 23-50) + - ITA Type M (BS 546) + - ITA Type N + - ITA Type O + - USB Type A + - USB Type B + - USB Type C + - USB Mini A + - USB Mini B + - USB Micro A + - USB Micro B + - USB 3.0 Type B + - USB 3.0 Micro B + type: string + value: + enum: + - iec-60320-c6 + - iec-60320-c8 + - iec-60320-c14 + - iec-60320-c16 + - iec-60320-c20 + - iec-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60309-2p-e-4h + - iec-60309-2p-e-6h + - iec-60309-2p-e-9h + - iec-60309-3p-e-4h + - iec-60309-3p-e-6h + - iec-60309-3p-e-9h + - iec-60309-3p-n-e-4h + - iec-60309-3p-n-e-6h + - iec-60309-3p-n-e-9h + - nema-1-15p + - nema-5-15p + - nema-5-20p + - nema-5-30p + - nema-5-50p + - nema-6-15p + - nema-6-20p + - nema-6-30p + - nema-6-50p + - nema-10-30p + - nema-10-50p + - nema-14-20p + - nema-14-30p + - nema-14-50p + - nema-14-60p + - nema-15-15p + - nema-15-20p + - nema-15-30p + - nema-15-50p + - nema-15-60p + - nema-l1-15p + - nema-l5-15p + - nema-l5-20p + - nema-l5-30p + - nema-l5-50p + - nema-l6-15p + - nema-l6-20p + - nema-l6-30p + - nema-l6-50p + - nema-l10-30p + - nema-l14-20p + - nema-l14-30p + - nema-l14-50p + - nema-l14-60p + - nema-l15-20p + - nema-l15-30p + - nema-l15-50p + - nema-l15-60p + - nema-l21-20p + - nema-l21-30p + - cs6361c + - cs6365c + - cs8165c + - cs8265c + - cs8365c + - cs8465c + - ita-e + - ita-f + - ita-ef + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-n + - ita-o + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - usb-3-b + - usb-3-micro-b + type: string + type: object + url: + format: uri + readOnly: true + type: string + required: + - created + - device_type + - display + - id + - last_updated + - name + - url + type: object + PowerPortTypeChoices: + enum: + - iec-60320-c6 + - iec-60320-c8 + - iec-60320-c14 + - iec-60320-c16 + - iec-60320-c20 + - iec-60309-p-n-e-4h + - iec-60309-p-n-e-6h + - iec-60309-p-n-e-9h + - iec-60309-2p-e-4h + - iec-60309-2p-e-6h + - iec-60309-2p-e-9h + - iec-60309-3p-e-4h + - iec-60309-3p-e-6h + - iec-60309-3p-e-9h + - iec-60309-3p-n-e-4h + - iec-60309-3p-n-e-6h + - iec-60309-3p-n-e-9h + - nema-1-15p + - nema-5-15p + - nema-5-20p + - nema-5-30p + - nema-5-50p + - nema-6-15p + - nema-6-20p + - nema-6-30p + - nema-6-50p + - nema-10-30p + - nema-10-50p + - nema-14-20p + - nema-14-30p + - nema-14-50p + - nema-14-60p + - nema-15-15p + - nema-15-20p + - nema-15-30p + - nema-15-50p + - nema-15-60p + - nema-l1-15p + - nema-l5-15p + - nema-l5-20p + - nema-l5-30p + - nema-l5-50p + - nema-l6-15p + - nema-l6-20p + - nema-l6-30p + - nema-l6-50p + - nema-l10-30p + - nema-l14-20p + - nema-l14-30p + - nema-l14-50p + - nema-l14-60p + - nema-l15-20p + - nema-l15-30p + - nema-l15-50p + - nema-l15-60p + - nema-l21-20p + - nema-l21-30p + - cs6361c + - cs6365c + - cs8165c + - cs8265c + - cs8365c + - cs8465c + - ita-e + - ita-f + - ita-ef + - ita-g + - ita-h + - ita-i + - ita-j + - ita-k + - ita-l + - ita-m + - ita-n + - ita-o + - usb-a + - usb-b + - usb-c + - usb-mini-a + - usb-mini-b + - usb-micro-a + - usb-micro-b + - usb-3-b + - usb-3-micro-b + type: string + Prefix: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + family: + properties: + label: + enum: + - IPv4 + - IPv6 + type: string + value: + enum: + - 4 + - 6 + type: integer + readOnly: true + type: object + id: + format: uuid + readOnly: true + type: string + is_pool: + description: All IP addresses within this prefix are considered usable + title: Is a pool + type: boolean + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocation' + nullable: true + notes_url: + format: uri + readOnly: true + type: string + prefix: + type: string + role: + allOf: + - $ref: '#/components/schemas/NestedRole' + nullable: true + site: + allOf: + - $ref: '#/components/schemas/NestedSite' + nullable: true + status: + properties: + label: + enum: + - Active + - Container + - Deprecated + - Peer-to-Peer + - Reserved + type: string + value: + enum: + - active + - container + - deprecated + - p2p + - reserved + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + url: + format: uri + readOnly: true + type: string + vlan: + allOf: + - $ref: '#/components/schemas/NestedVLAN' + nullable: true + vrf: + allOf: + - $ref: '#/components/schemas/NestedVRF' + nullable: true + required: + - created + - display + - family + - id + - last_updated + - notes_url + - prefix + - status + - url + type: object + PrefixLengthRequest: + properties: + prefix_length: + type: integer + required: + - prefix_length + type: object + PrefixStatusChoices: + enum: + - active + - container + - deprecated + - p2p + - reserved + type: string + ProtocolEnum: + enum: + - tcp + - udp + type: string + ProvidedContentsEnum: + enum: + - extras.configcontext + - extras.configcontextschema + - extras.exporttemplate + - extras.job + - nautobot_golden_config.backupconfigs + - nautobot_golden_config.intendedconfigs + - nautobot_golden_config.jinjatemplate + - nautobot_golden_config.pluginproperties + type: string + Provider: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + account: + maxLength: 100 + title: Account number + type: string + admin_contact: + type: string + asn: + description: 32-bit autonomous system number + format: int64 + maximum: 4294967295 + minimum: 1 + nullable: true + type: integer + circuit_count: + readOnly: true + type: integer + comments: + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + noc_contact: + type: string + notes_url: + format: uri + readOnly: true + type: string + portal_url: + format: uri + maxLength: 200 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - circuit_count + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + ProviderLCM: + description: API serializer. + properties: + comments: + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + email: + format: email + maxLength: 254 + title: E-mail + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + phone: + maxLength: 20 + type: string + physical_address: + maxLength: 200 + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - url + type: object + ProviderLCMRequest: + description: API serializer. + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + email: + format: email + maxLength: 254 + title: E-mail + type: string + name: + maxLength: 100 + minLength: 1 + type: string + phone: + maxLength: 20 + type: string + physical_address: + maxLength: 200 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + ProviderNetwork: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + provider: + $ref: '#/components/schemas/NestedProvider' + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - provider + - url + type: object + ProviderRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + account: + maxLength: 100 + title: Account number + type: string + admin_contact: + type: string + asn: + description: 32-bit autonomous system number + format: int64 + maximum: 4294967295 + minimum: 1 + nullable: true + type: integer + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + name: + maxLength: 100 + minLength: 1 + type: string + noc_contact: + type: string + portal_url: + format: uri + maxLength: 200 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + RIR: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + aggregate_count: + readOnly: true + type: integer + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + is_private: + description: IP space managed by this RIR is considered private + title: Private + type: boolean + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - aggregate_count + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + RIRRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + is_private: + description: IP space managed by this RIR is considered private + title: Private + type: boolean + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + Rack: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + asset_tag: + description: A unique tag used to identify this rack + maxLength: 50 + nullable: true + type: string + comments: + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + desc_units: + description: Units are numbered top-to-bottom + title: Descending units + type: boolean + device_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + facility_id: + description: Locally-assigned identifier + maxLength: 50 + nullable: true + type: string + group: + allOf: + - $ref: '#/components/schemas/NestedRackGroup' + nullable: true + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocation' + nullable: true + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + outer_depth: + description: Outer dimension of rack (depth) + maximum: 32767 + minimum: 0 + nullable: true + type: integer + outer_unit: + properties: + label: + enum: + - Millimeters + - Inches + type: string + value: + enum: + - mm + - in + type: string + type: object + outer_width: + description: Outer dimension of rack (width) + maximum: 32767 + minimum: 0 + nullable: true + type: integer + powerfeed_count: + readOnly: true + type: integer + role: + allOf: + - $ref: '#/components/schemas/NestedRackRole' + nullable: true + serial: + maxLength: 255 + title: Serial number + type: string + site: + $ref: '#/components/schemas/NestedSite' + status: + properties: + label: + enum: + - Active + - Available + - Deprecated + - Planned + - Reserved + type: string + value: + enum: + - active + - available + - deprecated + - planned + - reserved + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + type: + properties: + label: + enum: + - 2-post frame + - 4-post frame + - 4-post cabinet + - Wall-mounted frame + - Wall-mounted cabinet + type: string + value: + enum: + - 2-post-frame + - 4-post-frame + - 4-post-cabinet + - wall-frame + - wall-cabinet + type: string + type: object + u_height: + description: Height in rack units + maximum: 100 + minimum: 1 + title: Height (U) + type: integer + url: + format: uri + readOnly: true + type: string + width: + properties: + label: + enum: + - 10 inches + - 19 inches + - 21 inches + - 23 inches + type: string + value: + enum: + - 10 + - 19 + - 21 + - 23 + type: integer + type: object + required: + - created + - device_count + - display + - id + - last_updated + - name + - notes_url + - powerfeed_count + - site + - status + - url + type: object + RackGroup: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + _depth: + readOnly: true + title: ' depth' + type: integer + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocation' + nullable: true + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + parent: + allOf: + - $ref: '#/components/schemas/NestedRackGroup' + nullable: true + rack_count: + readOnly: true + type: integer + site: + $ref: '#/components/schemas/NestedSite' + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - _depth + - created + - display + - id + - last_updated + - name + - notes_url + - rack_count + - site + - url + type: object + RackReservation: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + notes_url: + format: uri + readOnly: true + type: string + rack: + $ref: '#/components/schemas/NestedRack' + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + units: + additionalProperties: {} + type: object + url: + format: uri + readOnly: true + type: string + user: + $ref: '#/components/schemas/NestedUser' + required: + - created + - description + - display + - id + - last_updated + - notes_url + - rack + - units + - url + - user + type: object + RackRole: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + color: + maxLength: 6 + pattern: ^[0-9a-f]{6}$ + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + rack_count: + readOnly: true + type: integer + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - rack_count + - url + type: object + RackRoleRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + color: + maxLength: 6 + minLength: 1 + pattern: ^[0-9a-f]{6}$ + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + RackStatusChoices: + enum: + - active + - available + - deprecated + - planned + - reserved + type: string + RackTypeChoices: + enum: + - 2-post-frame + - 4-post-frame + - 4-post-cabinet + - wall-frame + - wall-cabinet + type: string + RackUnit: + description: A rack unit is an abstraction formed by the set (rack, position, + face); it does not exist as a row in the database. + properties: + device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + readOnly: true + face: + properties: + label: + enum: + - Front + - Rear + type: string + value: + enum: + - front + - rear + type: string + readOnly: true + type: object + id: + readOnly: true + type: integer + name: + readOnly: true + type: string + occupied: + readOnly: true + type: boolean + required: + - device + - face + - id + - name + - occupied + type: object + RearPort: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + cable: + allOf: + - $ref: '#/components/schemas/NestedCable' + readOnly: true + cable_peer: + additionalProperties: {} + nullable: true + readOnly: true + type: object + cable_peer_type: + nullable: true + readOnly: true + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + $ref: '#/components/schemas/NestedDevice' + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + label: + description: Physical label + maxLength: 64 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 64 + type: string + notes_url: + format: uri + readOnly: true + type: string + positions: + maximum: 1024 + minimum: 1 + type: integer + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + type: + properties: + label: + enum: + - 8P8C + - 8P6C + - 8P4C + - 8P2C + - GG45 + - TERA 4P + - TERA 2P + - TERA 1P + - 110 Punch + - BNC + - MRJ21 + - FC + - LC + - LC/APC + - LSH + - LSH/APC + - MPO + - MTRJ + - SC + - SC/APC + - ST + - CS + - SN + - URM-P2 + - URM-P4 + - URM-P8 + - Splice + type: string + value: + enum: + - 8p8c + - 8p6c + - 8p4c + - 8p2c + - gg45 + - tera-4p + - tera-2p + - tera-1p + - 110-punch + - bnc + - mrj21 + - fc + - lc + - lc-apc + - lsh + - lsh-apc + - mpo + - mtrj + - sc + - sc-apc + - st + - cs + - sn + - urm-p2 + - urm-p4 + - urm-p8 + - splice + type: string + type: object + url: + format: uri + readOnly: true + type: string + required: + - cable + - cable_peer + - cable_peer_type + - created + - device + - display + - id + - last_updated + - name + - notes_url + - type + - url + type: object + RearPortTemplate: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + $ref: '#/components/schemas/NestedDeviceType' + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + label: + description: Physical label + maxLength: 64 + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 64 + type: string + positions: + maximum: 1024 + minimum: 1 + type: integer + type: + properties: + label: + enum: + - 8P8C + - 8P6C + - 8P4C + - 8P2C + - GG45 + - TERA 4P + - TERA 2P + - TERA 1P + - 110 Punch + - BNC + - MRJ21 + - FC + - LC + - LC/APC + - LSH + - LSH/APC + - MPO + - MTRJ + - SC + - SC/APC + - ST + - CS + - SN + - URM-P2 + - URM-P4 + - URM-P8 + - Splice + type: string + value: + enum: + - 8p8c + - 8p6c + - 8p4c + - 8p2c + - gg45 + - tera-4p + - tera-2p + - tera-1p + - 110-punch + - bnc + - mrj21 + - fc + - lc + - lc-apc + - lsh + - lsh-apc + - mpo + - mtrj + - sc + - sc-apc + - st + - cs + - sn + - urm-p2 + - urm-p4 + - urm-p8 + - splice + type: string + type: object + url: + format: uri + readOnly: true + type: string + required: + - created + - device_type + - display + - id + - last_updated + - name + - type + - url + type: object + Region: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + _depth: + readOnly: true + title: ' depth' + type: integer + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + parent: + allOf: + - $ref: '#/components/schemas/NestedRegion' + nullable: true + site_count: + readOnly: true + type: integer + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - _depth + - created + - display + - id + - last_updated + - name + - notes_url + - site_count + - url + type: object + RegularExpressionValidationRule: + description: Serializer for `RegularExpressionValidationRule` objects. + properties: + content_type: + type: string + created: + format: date + nullable: true + readOnly: true + type: string + display: + description: Human friendly display value + readOnly: true + type: string + enabled: + type: boolean + error_message: + description: Optional error message to display when validation fails. + maxLength: 255 + nullable: true + type: string + field: + maxLength: 50 + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + regular_expression: + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - content_type + - created + - display + - field + - id + - last_updated + - name + - regular_expression + - slug + - url + type: object + RegularExpressionValidationRuleRequest: + description: Serializer for `RegularExpressionValidationRule` objects. + properties: + content_type: + type: string + enabled: + type: boolean + error_message: + description: Optional error message to display when validation fails. + maxLength: 255 + nullable: true + type: string + field: + maxLength: 50 + minLength: 1 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + regular_expression: + minLength: 1 + type: string + slug: + maxLength: 100 + minLength: 1 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - content_type + - field + - name + - regular_expression + - slug + type: object + Relationship: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + description: + maxLength: 200 + type: string + destination_filter: + additionalProperties: {} + description: Filterset filter matching the applicable destination objects + of the selected type + nullable: true + type: object + destination_hidden: + description: Hide this relationship on the destination object. + title: Hide for destination object + type: boolean + destination_label: + description: Label for related source objects, as displayed on the destination + object. + maxLength: 50 + type: string + destination_type: + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name of the relationship as displayed to users + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + required_on: + description: Objects on the specified side MUST implement this relationship. + Not permitted for symmetric relationships. + oneOf: + - $ref: '#/components/schemas/RequiredOnEnum' + - $ref: '#/components/schemas/BlankEnum' + slug: + description: Internal relationship name. Please use underscores rather than + dashes in this slug. + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + source_filter: + additionalProperties: {} + description: Filterset filter matching the applicable source objects of + the selected type + nullable: true + type: object + source_hidden: + description: Hide this relationship on the source object. + title: Hide for source object + type: boolean + source_label: + description: Label for related destination objects, as displayed on the + source object. + maxLength: 50 + type: string + source_type: + type: string + type: + allOf: + - $ref: '#/components/schemas/RelationshipTypeChoices' + description: Cardinality of this relationship + url: + format: uri + readOnly: true + type: string + required: + - created + - destination_type + - display + - id + - last_updated + - name + - notes_url + - source_type + - url + type: object + RelationshipAssociation: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + destination_id: + format: uuid + type: string + destination_type: + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + relationship: + $ref: '#/components/schemas/NestedRelationship' + source_id: + format: uuid + type: string + source_type: + type: string + url: + format: uri + readOnly: true + type: string + required: + - destination_id + - destination_type + - display + - id + - relationship + - source_id + - source_type + - url + type: object + RelationshipRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + description: + maxLength: 200 + type: string + destination_filter: + additionalProperties: {} + description: Filterset filter matching the applicable destination objects + of the selected type + nullable: true + type: object + destination_hidden: + description: Hide this relationship on the destination object. + title: Hide for destination object + type: boolean + destination_label: + description: Label for related source objects, as displayed on the destination + object. + maxLength: 50 + type: string + destination_type: + type: string + name: + description: Name of the relationship as displayed to users + maxLength: 100 + minLength: 1 + type: string + required_on: + description: Objects on the specified side MUST implement this relationship. + Not permitted for symmetric relationships. + oneOf: + - $ref: '#/components/schemas/RequiredOnEnum' + - $ref: '#/components/schemas/BlankEnum' + slug: + description: Internal relationship name. Please use underscores rather than + dashes in this slug. + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + source_filter: + additionalProperties: {} + description: Filterset filter matching the applicable source objects of + the selected type + nullable: true + type: object + source_hidden: + description: Hide this relationship on the source object. + title: Hide for source object + type: boolean + source_label: + description: Label for related destination objects, as displayed on the + source object. + maxLength: 50 + type: string + source_type: + type: string + type: + allOf: + - $ref: '#/components/schemas/RelationshipTypeChoices' + description: Cardinality of this relationship + required: + - destination_type + - name + - source_type + type: object + RelationshipTypeChoices: + enum: + - one-to-one + - symmetric-one-to-one + - one-to-many + - many-to-many + - symmetric-many-to-many + type: string + RequiredOnEnum: + enum: + - source + - destination + type: string + Role: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + prefix_count: + readOnly: true + type: integer + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + vlan_count: + readOnly: true + type: integer + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - created + - display + - id + - last_updated + - name + - notes_url + - prefix_count + - url + - vlan_count + type: object + RoleEnum: + enum: + - loopback + - secondary + - anycast + - vip + - vrrp + - hsrp + - glbp + - carp + type: string + RoleRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - name + type: object + RouteTarget: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Route target value (formatted in accordance with RFC 4360) + maxLength: 21 + type: string + notes_url: + format: uri + readOnly: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + ScheduledJob: + description: 'This base serializer implements common fields and logic for all + ModelSerializers. + + + Namely, it: + + + - defines the `display` field which exposes a human friendly value for the + given object. + + - ensures that `id` field is always present on the serializer as well + + - ensures that `created` and `last_updated` fields are always present if applicable + to this model and serializer.' + properties: + approval_required: + type: boolean + approved_at: + description: Datetime that the schedule was approved + format: date-time + nullable: true + readOnly: true + title: Approval date/time + type: string + approved_by_user: + allOf: + - $ref: '#/components/schemas/NestedUser' + readOnly: true + crontab: + description: Cronjob syntax string for custom scheduling + maxLength: 255 + title: Custom cronjob + type: string + date_changed: + description: Datetime that this scheduled job was last modified + format: date-time + readOnly: true + title: Last Modified + type: string + description: + description: Detailed description about the details of this scheduled job + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + interval: + $ref: '#/components/schemas/JobExecutionTypeIntervalChoices' + job_class: + description: Name of the fully qualified Nautobot Job class path + maxLength: 255 + type: string + job_model: + allOf: + - $ref: '#/components/schemas/NestedJob' + readOnly: true + last_run_at: + description: Datetime that the schedule last triggered the task to run. + Reset to None if enabled is set to False. + format: date-time + nullable: true + readOnly: true + title: Most Recent Run + type: string + name: + description: Short Description For This Task + maxLength: 200 + type: string + queue: + description: Queue defined in CELERY_TASK_QUEUES. Leave None for default + queuing. + maxLength: 200 + nullable: true + title: Queue Override + type: string + task: + description: 'The name of the Celery task that should be run. (Example: + "proj.tasks.import_contacts")' + maxLength: 200 + title: Task Name + type: string + total_run_count: + description: Running count of how many times the schedule has triggered + the task + readOnly: true + type: integer + url: + format: uri + readOnly: true + type: string + user: + allOf: + - $ref: '#/components/schemas/NestedUser' + readOnly: true + required: + - approved_at + - approved_by_user + - date_changed + - display + - id + - interval + - job_class + - job_model + - last_run_at + - name + - task + - total_run_count + - url + - user + type: object + Secret: + description: Serializer for `Secret` objects. + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + parameters: + additionalProperties: {} + type: object + provider: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - provider + - url + type: object + SecretRequest: + description: Serializer for `Secret` objects. + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + parameters: + additionalProperties: {} + type: object + provider: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + - provider + type: object + SecretTypeEnum: + enum: + - key + - password + - secret + - token + - username + type: string + SecretsGroup: + description: Serializer for `SecretsGroup` objects. + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + secrets: + items: + $ref: '#/components/schemas/NestedSecretsGroupAssociation' + readOnly: true + type: array + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - secrets + - url + type: object + SecretsGroupAssociation: + description: Serializer for `SecretsGroupAssociation` objects. + properties: + access_type: + $ref: '#/components/schemas/AccessTypeEnum' + display: + description: Human friendly display value + readOnly: true + type: string + group: + $ref: '#/components/schemas/NestedSecretsGroup' + id: + format: uuid + readOnly: true + type: string + secret: + $ref: '#/components/schemas/NestedSecret' + secret_type: + $ref: '#/components/schemas/SecretTypeEnum' + url: + format: uri + readOnly: true + type: string + required: + - access_type + - display + - group + - id + - secret + - secret_type + - url + type: object + SecretsGroupRequest: + description: Serializer for `SecretsGroup` objects. + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + Service: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + nullable: true + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + ipaddresses: + items: + properties: + address: + type: string + display: + description: Human friendly display value + readOnly: true + type: string + family: + readOnly: true + type: integer + id: + format: uuid + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - address + - display + - family + - id + - url + type: object + type: array + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + ports: + items: + maximum: 65535 + minimum: 1 + type: integer + type: array + protocol: + properties: + label: + enum: + - TCP + - UDP + type: string + value: + enum: + - tcp + - udp + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + virtual_machine: + allOf: + - $ref: '#/components/schemas/NestedVirtualMachine' + nullable: true + required: + - created + - display + - id + - last_updated + - name + - notes_url + - ports + - url + type: object + ServiceObject: + description: ServiceObject Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + ip_protocol: + allOf: + - $ref: '#/components/schemas/IpProtocolEnum' + description: IANA IP Protocol (e.g. TCP UDP ICMP) + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP would + be port 80) + maxLength: 20 + nullable: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - ip_protocol + - last_updated + - name + - notes_url + - url + type: object + ServiceObjectGroup: + description: ServiceObjectGroup Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + service_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + ip_protocol: + description: IANA IP Protocol (e.g. TCP UDP ICMP) + enum: + - ICMP + - IGMP + - GGP + - TCP + - CBT + - EGP + - IGP + - BBN-RCC-MON + - NVP-II + - PUP + - EMCON + - XNET + - CHAOS + - UDP + - MUX + - DCN-MEAS + - HMP + - PRM + - XNS-IDP + - TRUNK-1 + - TRUNK-2 + - LEAF-1 + - LEAF-2 + - RDP + - IRTP + - ISO-TP4 + - NETBLT + - MFE-NSP + - MERIT-INP + - DCCP + - 3PC + - IDPR + - XTP + - DDP + - IDPR-CMTP + - TP++ + - IL + - SDRP + - IDRP + - RSVP + - GRE + - DSR + - BNA + - ESP + - AH + - I-NLSP + - NARP + - MOBILE + - TLSP + - SKIP + - CFTP + - SAT-EXPAK + - KRYPTOLAN + - RVD + - IPPC + - SAT-MON + - VISA + - IPCV + - CPNX + - CPHB + - WSN + - PVP + - BR-SAT-MON + - SUN-ND + - WB-MON + - WB-EXPAK + - ISO-IP + - VMTP + - SECURE-VMTP + - VINES + - TTP + - NSFNET-IGP + - DGP + - TCF + - EIGRP + - OSPFIGP + - Sprite-RPC + - LARP + - MTP + - AX.25 + - IPIP + - SCC-SP + - ETHERIP + - ENCAP + - GMTP + - IFMP + - PNNI + - PIM + - ARIS + - SCPS + - QNX + - A/N + - IPComp + - SNP + - Compaq-Peer + - IPX-in-IP + - PGM + - L2TP + - DDX + - IATP + - STP + - SRP + - UTI + - SMP + - SM + - PTP + - FIRE + - CRTP + - CRUDP + - SSCOPMCE + - IPLT + - SPS + - PIPE + - SCTP + - FC + - RSVP-E2E-IGNORE + - UDPLite + - manet + - HIP + - WESP + - ROHC + - Ethernet + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP + would be port 80) + maxLength: 20 + nullable: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - ip_protocol + - last_updated + - name + - notes_url + - url + type: object + type: array + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + ServiceObjectRequest: + description: ServiceObject Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + ip_protocol: + allOf: + - $ref: '#/components/schemas/IpProtocolEnum' + description: IANA IP Protocol (e.g. TCP UDP ICMP) + name: + description: Name of the service (e.g. HTTP) + maxLength: 100 + minLength: 1 + type: string + port: + description: The port or port range to tie to a service (e.g. HTTP would + be port 80) + maxLength: 20 + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - ip_protocol + - name + type: object + SeverityEnum: + enum: + - Critical + - High + - Medium + - Low + - None + type: string + Site: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + asn: + description: 32-bit autonomous system number + format: int64 + maximum: 4294967295 + minimum: 1 + nullable: true + type: integer + circuit_count: + readOnly: true + type: integer + comments: + type: string + contact_email: + format: email + maxLength: 254 + title: Contact E-mail + type: string + contact_name: + maxLength: 50 + type: string + contact_phone: + maxLength: 20 + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + facility: + description: Local facility ID or description + maxLength: 50 + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + latitude: + description: GPS coordinate (latitude) + format: decimal + nullable: true + pattern: ^-?\d{0,2}(?:\.\d{0,6})?$ + type: string + longitude: + description: GPS coordinate (longitude) + format: decimal + nullable: true + pattern: ^-?\d{0,3}(?:\.\d{0,6})?$ + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + physical_address: + maxLength: 200 + type: string + prefix_count: + readOnly: true + type: integer + rack_count: + readOnly: true + type: integer + region: + allOf: + - $ref: '#/components/schemas/NestedRegion' + nullable: true + shipping_address: + maxLength: 200 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + status: + properties: + label: + enum: + - Active + - Decommissioning + - Planned + - Retired + - Staging + type: string + value: + enum: + - active + - decommissioning + - planned + - retired + - staging + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + time_zone: + nullable: true + type: string + url: + format: uri + readOnly: true + type: string + virtualmachine_count: + readOnly: true + type: integer + vlan_count: + readOnly: true + type: integer + required: + - circuit_count + - created + - device_count + - display + - id + - last_updated + - name + - notes_url + - prefix_count + - rack_count + - status + - url + - virtualmachine_count + - vlan_count + type: object + SoftwareImageLCM: + description: REST API serializer for SoftwareImageLCM records. + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + default_image: + type: boolean + device_types: + items: + format: uuid + type: string + type: array + display: + description: Human friendly display value + readOnly: true + type: string + download_url: + format: uri + maxLength: 200 + type: string + id: + format: uuid + readOnly: true + type: string + image_file_checksum: + maxLength: 256 + type: string + image_file_name: + maxLength: 100 + type: string + inventory_items: + items: + format: uuid + type: string + type: array + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + object_tags: + items: + format: uuid + type: string + type: array + software: + $ref: '#/components/schemas/NestedSoftwareLCM' + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - image_file_name + - last_updated + - software + - url + type: object + SoftwareLCM: + description: REST API serializer for SoftwareLCM records. + properties: + alias: + maxLength: 50 + nullable: true + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + device_platform: + $ref: '#/components/schemas/NestedPlatform' + display: + description: Human friendly display value + readOnly: true + type: string + documentation_url: + format: uri + maxLength: 200 + type: string + end_of_support: + format: date + nullable: true + title: End of Software Support + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + long_term_support: + type: boolean + pre_release: + type: boolean + release_date: + format: date + nullable: true + type: string + software_images: + items: + properties: + default_image: + type: boolean + device_types: + items: + format: uuid + type: string + type: array + display: + description: Human friendly display value + readOnly: true + type: string + download_url: + format: uri + maxLength: 200 + type: string + id: + format: uuid + readOnly: true + type: string + image_file_checksum: + maxLength: 256 + type: string + image_file_name: + maxLength: 100 + type: string + inventory_items: + items: + format: uuid + type: string + type: array + object_tags: + items: + format: uuid + type: string + type: array + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - image_file_name + - url + type: object + type: array + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + version: + maxLength: 50 + type: string + required: + - created + - device_platform + - display + - id + - last_updated + - url + - version + type: object + Status: + description: Serializer for `Status` objects. + properties: + color: + maxLength: 6 + pattern: ^[0-9a-f]{6}$ + type: string + content_types: + items: + type: string + type: array + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 50 + type: string + notes_url: + format: uri + readOnly: true + type: string + slug: + maxLength: 50 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - content_types + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + Status2a0Enum: + enum: + - active + - available + - planned + type: string + Status4f5Enum: + enum: [] + type: string + Status8f7Enum: + enum: + - active + - decommissioned + - staged + type: string + StatusD95Enum: + enum: + - TENTATIVE + - CONFIRMED + - CANCELLED + - IN-PROCESS + - COMPLETED + - RE-SCHEDULED + - UNKNOWN + type: string + StatusRequest: + description: Serializer for `Status` objects. + properties: + color: + maxLength: 6 + minLength: 1 + pattern: ^[0-9a-f]{6}$ + type: string + content_types: + items: + type: string + type: array + custom_fields: + additionalProperties: {} + type: object + name: + maxLength: 50 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 50 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - content_types + - name + type: object + SubdeviceRoleEnum: + enum: + - parent + - child + type: string + SupplyEnum: + enum: + - ac + - dc + type: string + TagSerializerField: + description: NestedSerializer field for `Tag` object fields. + properties: + color: + maxLength: 6 + pattern: ^[0-9a-f]{6}$ + type: string + created: + format: date + nullable: true + readOnly: true + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + slug: + maxLength: 100 + pattern: ^[-\w]+$ + type: string + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - name + - slug + - url + type: object + TagSerializerFieldRequest: + description: NestedSerializer field for `Tag` object fields. + properties: + color: + maxLength: 6 + minLength: 1 + pattern: ^[0-9a-f]{6}$ + type: string + name: + maxLength: 100 + minLength: 1 + type: string + slug: + maxLength: 100 + minLength: 1 + pattern: ^[-\w]+$ + type: string + required: + - id + type: object + TagSerializerVersion13: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + color: + maxLength: 6 + pattern: ^[0-9a-f]{6}$ + type: string + content_types: + items: + type: string + type: array + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + slug: + maxLength: 100 + pattern: ^[-\w]+$ + type: string + tagged_items: + readOnly: true + type: integer + url: + format: uri + readOnly: true + type: string + required: + - content_types + - created + - display + - id + - last_updated + - name + - notes_url + - slug + - tagged_items + - url + type: object + TagSerializerVersion13Request: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + color: + maxLength: 6 + minLength: 1 + pattern: ^[0-9a-f]{6}$ + type: string + content_types: + items: + type: string + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + minLength: 1 + pattern: ^[-\w]+$ + type: string + required: + - content_types + - name + - slug + type: object + Tenant: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + circuit_count: + readOnly: true + type: integer + cluster_count: + readOnly: true + type: integer + comments: + type: string + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_count: + readOnly: true + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + group: + $ref: '#/components/schemas/NestedTenantGroup' + id: + format: uuid + readOnly: true + type: string + ipaddress_count: + readOnly: true + type: integer + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + prefix_count: + readOnly: true + type: integer + rack_count: + readOnly: true + type: integer + site_count: + readOnly: true + type: integer + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + virtualmachine_count: + readOnly: true + type: integer + vlan_count: + readOnly: true + type: integer + vrf_count: + readOnly: true + type: integer + required: + - circuit_count + - cluster_count + - created + - device_count + - display + - id + - ipaddress_count + - last_updated + - name + - notes_url + - prefix_count + - rack_count + - site_count + - url + - virtualmachine_count + - vlan_count + - vrf_count + type: object + TenantGroup: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + _depth: + readOnly: true + title: ' depth' + type: integer + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + parent: + allOf: + - $ref: '#/components/schemas/NestedTenantGroup' + nullable: true + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tenant_count: + readOnly: true + type: integer + url: + format: uri + readOnly: true + type: string + required: + - _depth + - created + - display + - id + - last_updated + - name + - notes_url + - tenant_count + - url + type: object + TermSideEnum: + enum: + - A + - Z + type: string + Token: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + created: + format: date-time + readOnly: true + type: string + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + expires: + format: date-time + nullable: true + type: string + id: + format: uuid + readOnly: true + type: string + key: + maxLength: 40 + minLength: 40 + type: string + url: + format: uri + readOnly: true + type: string + write_enabled: + description: Permit create/update/delete operations using this key + type: boolean + required: + - created + - display + - id + - url + type: object + TokenRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + description: + maxLength: 200 + type: string + expires: + format: date-time + nullable: true + type: string + key: + maxLength: 40 + minLength: 40 + type: string + write_enabled: + description: Permit create/update/delete operations using this key + type: boolean + type: object + User: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + date_joined: + format: date-time + type: string + display: + description: Human friendly display value + readOnly: true + type: string + email: + format: email + maxLength: 254 + title: Email address + type: string + first_name: + maxLength: 150 + type: string + groups: + items: + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + readOnly: true + type: integer + name: + maxLength: 150 + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - url + type: object + type: array + id: + format: uuid + readOnly: true + type: string + is_active: + description: Designates whether this user should be treated as active. Unselect + this instead of deleting accounts. + title: Active + type: boolean + is_staff: + description: Designates whether the user can log into this admin site. + title: Staff status + type: boolean + last_name: + maxLength: 150 + type: string + url: + format: uri + readOnly: true + type: string + username: + description: Required. 150 characters or fewer. Letters, digits and @/./+/-/_ + only. + maxLength: 150 + pattern: ^[\w.@+-]+$ + type: string + required: + - display + - id + - url + - username + type: object + UserObject: + description: UserObject Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Signifies the name of the user, commonly first & last name + (e.g. John Smith) + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + username: + description: Signifies the username in identify provider (e.g. john.smith) + maxLength: 100 + type: string + required: + - created + - display + - id + - last_updated + - notes_url + - url + - username + type: object + UserObjectGroup: + description: UserObjectGroup Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + user_objects: + items: + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Signifies the name of the user, commonly first & last + name (e.g. John Smith) + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + username: + description: Signifies the username in identify provider (e.g. john.smith) + maxLength: 100 + type: string + required: + - created + - display + - id + - last_updated + - notes_url + - url + - username + type: object + type: array + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + type: object + UserObjectRequest: + description: UserObject Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + name: + description: Signifies the name of the user, commonly first & last name + (e.g. John Smith) + maxLength: 100 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + username: + description: Signifies the username in identify provider (e.g. john.smith) + maxLength: 100 + minLength: 1 + type: string + required: + - username + type: object + VLAN: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + group: + allOf: + - $ref: '#/components/schemas/NestedVLANGroup' + nullable: true + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocation' + nullable: true + name: + maxLength: 64 + type: string + notes_url: + format: uri + readOnly: true + type: string + prefix_count: + readOnly: true + type: integer + role: + allOf: + - $ref: '#/components/schemas/NestedRole' + nullable: true + site: + allOf: + - $ref: '#/components/schemas/NestedSite' + nullable: true + status: + properties: + label: + enum: + - Active + - Deprecated + - Reserved + type: string + value: + enum: + - active + - deprecated + - reserved + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + url: + format: uri + readOnly: true + type: string + vid: + maximum: 4094 + minimum: 1 + title: ID + type: integer + required: + - created + - display + - id + - last_updated + - name + - notes_url + - prefix_count + - status + - url + - vid + type: object + VLANGroup: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + location: + allOf: + - $ref: '#/components/schemas/NestedLocation' + nullable: true + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + site: + allOf: + - $ref: '#/components/schemas/NestedSite' + nullable: true + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + url: + format: uri + readOnly: true + type: string + vlan_count: + readOnly: true + type: integer + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + - vlan_count + type: object + VLANStatusChoices: + enum: + - active + - deprecated + - reserved + type: string + VMInterfaceSerializerVersion12: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + bridge: + allOf: + - $ref: '#/components/schemas/NestedVMInterface' + nullable: true + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + enabled: + type: boolean + id: + format: uuid + readOnly: true + type: string + mac_address: + maxLength: 18 + nullable: true + type: string + mode: + properties: + label: + enum: + - Access + - Tagged + - Tagged (All) + type: string + value: + enum: + - access + - tagged + - tagged-all + type: string + type: object + mtu: + maximum: 65536 + minimum: 1 + nullable: true + type: integer + name: + maxLength: 64 + type: string + notes_url: + format: uri + readOnly: true + type: string + parent_interface: + allOf: + - $ref: '#/components/schemas/NestedVMInterface' + nullable: true + tagged_vlans: + items: + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + maxLength: 64 + type: string + url: + format: uri + readOnly: true + type: string + vid: + maximum: 4094 + minimum: 1 + title: ID + type: integer + required: + - display + - id + - name + - url + - vid + type: object + type: array + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + untagged_vlan: + allOf: + - $ref: '#/components/schemas/NestedVLAN' + nullable: true + url: + format: uri + readOnly: true + type: string + virtual_machine: + $ref: '#/components/schemas/NestedVirtualMachine' + required: + - display + - id + - name + - notes_url + - url + - virtual_machine + type: object + VRF: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + enforce_unique: + description: Prevent duplicate prefixes/IP addresses within this VRF + title: Enforce unique space + type: boolean + export_targets: + items: + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + description: Route target value (formatted in accordance with RFC + 4360) + maxLength: 21 + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - url + type: object + type: array + id: + format: uuid + readOnly: true + type: string + import_targets: + items: + properties: + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + name: + description: Route target value (formatted in accordance with RFC + 4360) + maxLength: 21 + type: string + url: + format: uri + readOnly: true + type: string + required: + - display + - id + - name + - url + type: object + type: array + ipaddress_count: + readOnly: true + type: integer + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + prefix_count: + readOnly: true + type: integer + rd: + description: Unique route distinguisher (as defined in RFC 4364) + maxLength: 21 + nullable: true + title: Route distinguisher + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - ipaddress_count + - last_updated + - name + - notes_url + - prefix_count + - url + type: object + ValidatedSoftwareLCM: + description: REST API serializer for ValidatedSoftwareLCM records. + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + device_roles: + items: + format: uuid + type: string + type: array + device_types: + items: + format: uuid + type: string + type: array + devices: + items: + format: uuid + type: string + type: array + display: + description: Human friendly display value + readOnly: true + type: string + end: + format: date + nullable: true + title: Valid Until + type: string + id: + format: uuid + readOnly: true + type: string + inventory_items: + items: + format: uuid + type: string + type: array + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + object_tags: + items: + format: uuid + type: string + type: array + preferred: + title: Preferred Version + type: boolean + software: + $ref: '#/components/schemas/NestedSoftwareLCM' + start: + format: date + title: Valid Since + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + valid: + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - software + - start + - url + - valid + type: object + VirtualChassis: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + display: + description: Human friendly display value + readOnly: true + type: string + domain: + maxLength: 30 + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + master: + allOf: + - $ref: '#/components/schemas/NestedDevice' + nullable: true + member_count: + readOnly: true + type: integer + name: + maxLength: 64 + type: string + notes_url: + format: uri + readOnly: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - display + - id + - last_updated + - member_count + - name + - notes_url + - url + type: object + VirtualMachineStatusChoices: + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + type: string + VirtualMachineWithConfigContext: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + cluster: + $ref: '#/components/schemas/NestedCluster' + comments: + type: string + config_context: + additionalProperties: {} + readOnly: true + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + disk: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Disk (GB) + type: integer + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + local_context_data: + additionalProperties: {} + nullable: true + type: object + local_context_schema: + allOf: + - $ref: '#/components/schemas/NestedConfigContextSchema' + nullable: true + location: + allOf: + - $ref: '#/components/schemas/NestedLocation' + nullable: true + readOnly: true + memory: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Memory (MB) + type: integer + name: + maxLength: 64 + type: string + notes_url: + format: uri + readOnly: true + type: string + platform: + allOf: + - $ref: '#/components/schemas/NestedPlatform' + nullable: true + primary_ip: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + readOnly: true + primary_ip4: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + nullable: true + primary_ip6: + allOf: + - $ref: '#/components/schemas/NestedIPAddress' + nullable: true + role: + allOf: + - $ref: '#/components/schemas/NestedDeviceRole' + nullable: true + site: + allOf: + - $ref: '#/components/schemas/NestedSite' + readOnly: true + status: + properties: + label: + enum: + - Active + - Decommissioning + - Failed + - Offline + - Planned + - Staged + type: string + value: + enum: + - active + - decommissioning + - failed + - offline + - planned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + tenant: + allOf: + - $ref: '#/components/schemas/NestedTenant' + nullable: true + url: + format: uri + readOnly: true + type: string + vcpus: + maximum: 32767 + minimum: 0 + nullable: true + type: integer + required: + - cluster + - config_context + - created + - display + - id + - last_updated + - location + - name + - notes_url + - primary_ip + - site + - status + - url + type: object + VulnerabilityLCM: + description: REST API serializer for VulnerabilityLCM records. + properties: + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + cve: + allOf: + - $ref: '#/components/schemas/NestedCVELCM' + readOnly: true + device: + allOf: + - $ref: '#/components/schemas/NestedDevice' + readOnly: true + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + inventory_item: + allOf: + - $ref: '#/components/schemas/NestedInventoryItem' + readOnly: true + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + software: + allOf: + - $ref: '#/components/schemas/NestedSoftwareLCM' + readOnly: true + status: + properties: + label: + enum: [] + type: string + value: + enum: [] + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + required: + - created + - cve + - device + - display + - id + - inventory_item + - last_updated + - software + - status + - url + type: object + VulnerabilityLCMRequest: + description: REST API serializer for VulnerabilityLCM records. + properties: + custom_fields: + additionalProperties: {} + type: object + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status4f5Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - status + type: object + Webhook: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + additional_headers: + description: 'User-supplied HTTP headers to be sent with the request in + addition to the HTTP content type. Headers should be defined in the format + Name: Value. Jinja2 template processing is support with the + same context as the request body (below).' + type: string + body_template: + description: 'Jinja2 template for a custom request body. If blank, a JSON + object representing the change will be included. Available context data + includes: event, model, timestamp, + username, request_id, and data.' + type: string + ca_file_path: + description: The specific CA certificate file to use for SSL verification. + Leave blank to use the system defaults. + maxLength: 4096 + nullable: true + type: string + content_types: + items: + type: string + type: array + created: + format: date + nullable: true + readOnly: true + type: string + display: + description: Human friendly display value + readOnly: true + type: string + http_content_type: + description: The complete list of official content types is available here. + maxLength: 100 + type: string + http_method: + $ref: '#/components/schemas/HttpMethodEnum' + id: + format: uuid + readOnly: true + type: string + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + maxLength: 150 + type: string + notes_url: + format: uri + readOnly: true + type: string + payload_url: + description: A POST will be sent to this URL when the webhook is called. + maxLength: 500 + title: URL + type: string + secret: + description: When provided, the request will include a 'X-Hook-Signature' + header containing a HMAC hex digest of the payload body using the secret + as the key. The secret is not transmitted in the request. + maxLength: 255 + type: string + ssl_verification: + description: Enable SSL certificate verification. Disable with caution! + type: boolean + type_create: + description: Call this webhook when a matching object is created. + type: boolean + type_delete: + description: Call this webhook when a matching object is deleted. + type: boolean + type_update: + description: Call this webhook when a matching object is updated. + type: boolean + url: + format: uri + readOnly: true + type: string + required: + - content_types + - created + - display + - id + - last_updated + - name + - notes_url + - payload_url + - url + type: object + WebhookRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + additional_headers: + description: 'User-supplied HTTP headers to be sent with the request in + addition to the HTTP content type. Headers should be defined in the format + Name: Value. Jinja2 template processing is support with the + same context as the request body (below).' + type: string + body_template: + description: 'Jinja2 template for a custom request body. If blank, a JSON + object representing the change will be included. Available context data + includes: event, model, timestamp, + username, request_id, and data.' + type: string + ca_file_path: + description: The specific CA certificate file to use for SSL verification. + Leave blank to use the system defaults. + maxLength: 4096 + nullable: true + type: string + content_types: + items: + type: string + type: array + http_content_type: + description: The complete list of official content types is available here. + maxLength: 100 + minLength: 1 + type: string + http_method: + $ref: '#/components/schemas/HttpMethodEnum' + name: + maxLength: 150 + minLength: 1 + type: string + payload_url: + description: A POST will be sent to this URL when the webhook is called. + maxLength: 500 + minLength: 1 + title: URL + type: string + secret: + description: When provided, the request will include a 'X-Hook-Signature' + header containing a HMAC hex digest of the payload body using the secret + as the key. The secret is not transmitted in the request. + maxLength: 255 + type: string + ssl_verification: + description: Enable SSL certificate verification. Disable with caution! + type: boolean + type_create: + description: Call this webhook when a matching object is created. + type: boolean + type_delete: + description: Call this webhook when a matching object is deleted. + type: boolean + type_update: + description: Call this webhook when a matching object is updated. + type: boolean + required: + - content_types + - name + - payload_url + type: object + WidthEnum: + enum: + - 10 + - 19 + - 21 + - 23 + type: integer + WritableAddressFamilyRequest: + description: REST API serializer for AddressFamily records. + properties: + afi_safi: + $ref: '#/components/schemas/AfiSafiEnum' + custom_fields: + additionalProperties: {} + type: object + export_policy: + maxLength: 100 + type: string + import_policy: + maxLength: 100 + type: string + routing_instance: + format: uuid + title: BGP Routing Instance + type: string + vrf: + format: uuid + nullable: true + type: string + required: + - afi_safi + - routing_instance + type: object + WritableAddressObjectGroupRequest: + description: AddressObjectGroup Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + description: Name descriptor for a group address objects. + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + WritableAddressObjectRequest: + description: AddressObject Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + fqdn: + format: uuid + nullable: true + type: string + ip_address: + format: uuid + nullable: true + type: string + ip_range: + format: uuid + nullable: true + type: string + name: + description: Name descriptor for an address object type. + maxLength: 100 + minLength: 1 + type: string + prefix: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + WritableAggregateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + date_added: + format: date + nullable: true + type: string + description: + maxLength: 200 + type: string + prefix: + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + rir: + format: uuid + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + required: + - prefix + - rir + type: object + WritableAutonomousSystemRequest: + description: REST API serializer for AutonomousSystem records. + properties: + asn: + description: 32-bit autonomous system number + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + provider: + format: uuid + nullable: true + type: string + status: + $ref: '#/components/schemas/Status2a0Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - asn + - status + type: object + WritableBGPRoutingInstanceRequest: + description: REST API serializer for Peering records. + properties: + autonomous_system: + format: uuid + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + type: string + router_id: + format: uuid + nullable: true + type: string + required: + - autonomous_system + - device + type: object + WritableCVELCMRequest: + description: REST API serializer for CVELCM records. + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + cvss: + format: double + nullable: true + title: CVSS Base Score + type: number + cvss_v2: + format: double + nullable: true + title: CVSSv2 Score + type: number + cvss_v3: + format: double + nullable: true + title: CVSSv3 Score + type: number + description: + maxLength: 255 + nullable: true + type: string + fix: + maxLength: 255 + nullable: true + type: string + link: + format: uri + maxLength: 200 + minLength: 1 + type: string + name: + maxLength: 16 + minLength: 1 + type: string + published_date: + format: date + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + severity: + $ref: '#/components/schemas/SeverityEnum' + status: + $ref: '#/components/schemas/Status4f5Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - link + - name + - published_date + type: object + WritableCableRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + color: + maxLength: 6 + pattern: ^[0-9a-f]{6}$ + type: string + custom_fields: + additionalProperties: {} + type: object + label: + maxLength: 100 + type: string + length: + maximum: 32767 + minimum: 0 + nullable: true + type: integer + length_unit: + oneOf: + - $ref: '#/components/schemas/LengthUnitEnum' + - $ref: '#/components/schemas/BlankEnum' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/CableStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + termination_a_id: + format: uuid + type: string + termination_a_type: + type: string + termination_b_id: + format: uuid + type: string + termination_b_type: + type: string + type: + oneOf: + - $ref: '#/components/schemas/CableTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + required: + - status + - termination_a_id + - termination_a_type + - termination_b_id + - termination_b_type + type: object + WritableCircuitRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + cid: + maxLength: 100 + minLength: 1 + title: Circuit ID + type: string + comments: + type: string + commit_rate: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Commit rate (Kbps) + type: integer + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + install_date: + format: date + nullable: true + title: Date installed + type: string + provider: + format: uuid + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/CircuitStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + type: + format: uuid + type: string + required: + - cid + - provider + - status + - type + type: object + WritableCircuitTerminationRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + circuit: + format: uuid + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + location: + format: uuid + nullable: true + type: string + port_speed: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Port speed (Kbps) + type: integer + pp_info: + maxLength: 100 + title: Patch panel/port(s) + type: string + provider_network: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + format: uuid + nullable: true + type: string + term_side: + allOf: + - $ref: '#/components/schemas/TermSideEnum' + title: Termination + upstream_speed: + description: Upstream speed, if different from port speed + maximum: 2147483647 + minimum: 0 + nullable: true + title: Upstream speed (Kbps) + type: integer + xconnect_id: + maxLength: 50 + title: Cross-connect ID + type: string + required: + - circuit + - term_side + type: object + WritableClusterRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + group: + format: uuid + nullable: true + type: string + location: + format: uuid + nullable: true + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + format: uuid + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + type: + format: uuid + type: string + required: + - name + - type + type: object + WritableConfigContextRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + cluster_groups: + items: + format: uuid + type: string + type: array + clusters: + items: + format: uuid + type: string + type: array + data: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_types: + items: + format: uuid + type: string + type: array + is_active: + type: boolean + locations: + items: + format: uuid + type: string + type: array + name: + maxLength: 100 + minLength: 1 + type: string + owner_content_type: + nullable: true + type: string + owner_object_id: + format: uuid + nullable: true + type: string + platforms: + items: + format: uuid + type: string + type: array + regions: + items: + format: uuid + type: string + type: array + roles: + items: + format: uuid + type: string + type: array + schema: + description: Optional schema to validate the structure of the data + format: uuid + nullable: true + type: string + sites: + items: + format: uuid + type: string + type: array + tags: + items: + type: string + type: array + tenant_groups: + items: + format: uuid + type: string + type: array + tenants: + items: + format: uuid + type: string + type: array + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - data + - name + type: object + WritableConsolePortRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + description: Physical port type + oneOf: + - $ref: '#/components/schemas/ConsolePortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + required: + - device + - name + type: object + WritableConsolePortTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + oneOf: + - $ref: '#/components/schemas/ConsolePortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + required: + - device_type + - name + type: object + WritableConsoleServerPortRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + description: Physical port type + oneOf: + - $ref: '#/components/schemas/ConsolePortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + required: + - device + - name + type: object + WritableConsoleServerPortTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + oneOf: + - $ref: '#/components/schemas/ConsolePortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + required: + - device_type + - name + type: object + WritableContactLCMRequest: + description: API serializer. + properties: + address: + maxLength: 200 + type: string + comments: + type: string + contract: + format: uuid + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + email: + format: email + maxLength: 254 + title: Contact E-mail + type: string + name: + maxLength: 80 + minLength: 1 + nullable: true + type: string + phone: + maxLength: 20 + type: string + priority: + maximum: 2147483647 + minimum: 0 + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - contract + - name + type: object + WritableContractLCMRequest: + description: API serializer. + properties: + contract_type: + maxLength: 32 + nullable: true + type: string + cost: + format: decimal + nullable: true + pattern: ^-?\d{0,13}(?:\.\d{0,2})?$ + title: Contract Cost + type: string + custom_fields: + additionalProperties: {} + type: object + end: + format: date + nullable: true + title: Contract End Date + type: string + name: + maxLength: 100 + minLength: 1 + type: string + provider: + format: uuid + nullable: true + title: Vendor + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + start: + format: date + nullable: true + title: Contract Start Date + type: string + support_level: + maxLength: 64 + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + WritableCustomFieldChoiceRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + field: + format: uuid + type: string + value: + maxLength: 100 + minLength: 1 + type: string + weight: + description: Higher weights appear later in the list + maximum: 32767 + minimum: 0 + type: integer + required: + - field + - value + type: object + WritableDeviceBayRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + type: string + installed_device: + format: uuid + nullable: true + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - device + - name + type: object + WritableDeviceBayTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + required: + - device_type + - name + type: object + WritableDeviceRedundancyGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + failover_strategy: + oneOf: + - $ref: '#/components/schemas/FailoverStrategyEnum' + - $ref: '#/components/schemas/BlankEnum' + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + secrets_group: + format: uuid + nullable: true + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + status: + $ref: '#/components/schemas/LocationStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + - status + type: object + WritableDeviceTypeRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + front_image: + format: binary + type: string + is_full_depth: + description: Device consumes both front and rear rack faces + type: boolean + manufacturer: + format: uuid + type: string + model: + maxLength: 100 + minLength: 1 + type: string + part_number: + description: Discrete part number (optional) + maxLength: 50 + type: string + rear_image: + format: binary + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + subdevice_role: + description: Parent devices house child devices in device bays. Leave blank + if this device type is neither a parent nor a child. + oneOf: + - $ref: '#/components/schemas/SubdeviceRoleEnum' + - $ref: '#/components/schemas/BlankEnum' + title: Parent/child status + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + u_height: + maximum: 32767 + minimum: 0 + title: Height (U) + type: integer + required: + - manufacturer + - model + type: object + WritableDeviceWithConfigContextRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + asset_tag: + description: A unique tag used to identify this device + maxLength: 50 + nullable: true + type: string + cluster: + format: uuid + nullable: true + type: string + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + device_redundancy_group: + format: uuid + nullable: true + type: string + device_redundancy_group_priority: + description: The priority the device has in the device redundancy group. + maximum: 32767 + minimum: 1 + nullable: true + type: integer + device_role: + format: uuid + type: string + device_type: + format: uuid + type: string + face: + oneOf: + - $ref: '#/components/schemas/FaceEnum' + - $ref: '#/components/schemas/BlankEnum' + title: Rack face + local_context_data: + additionalProperties: {} + nullable: true + type: object + local_context_schema: + description: Optional schema to validate the structure of the data + format: uuid + nullable: true + type: string + location: + format: uuid + nullable: true + type: string + name: + maxLength: 64 + nullable: true + type: string + platform: + format: uuid + nullable: true + type: string + position: + description: The lowest-numbered unit occupied by the device + maximum: 32767 + minimum: 1 + nullable: true + title: Position (U) + type: integer + primary_ip4: + format: uuid + nullable: true + title: Primary IPv4 + type: string + primary_ip6: + format: uuid + nullable: true + title: Primary IPv6 + type: string + rack: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + secrets_group: + format: uuid + nullable: true + type: string + serial: + maxLength: 255 + title: Serial number + type: string + site: + format: uuid + type: string + status: + $ref: '#/components/schemas/DeviceStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + vc_position: + maximum: 255 + minimum: 0 + nullable: true + type: integer + vc_priority: + maximum: 255 + minimum: 0 + nullable: true + type: integer + virtual_chassis: + format: uuid + nullable: true + type: string + required: + - device_role + - device_type + - site + - status + type: object + WritableDynamicGroupMembershipRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + group: + format: uuid + type: string + operator: + $ref: '#/components/schemas/OperatorEnum' + parent_group: + format: uuid + type: string + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - group + - operator + - parent_group + - weight + type: object + WritableFQDNRequest: + description: FQDN Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + description: Resolvable fully qualified domain name (e.g. networktocode.com) + maxLength: 254 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + WritableFrontPortRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + rear_port: + format: uuid + type: string + rear_port_position: + default: 1 + maximum: 1024 + minimum: 1 + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/PortTypeChoices' + required: + - device + - name + - rear_port + - type + type: object + WritableFrontPortTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + rear_port: + format: uuid + type: string + rear_port_position: + default: 1 + maximum: 1024 + minimum: 1 + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + $ref: '#/components/schemas/PortTypeChoices' + required: + - device_type + - name + - rear_port + - type + type: object + WritableGitRepositoryRequest: + description: Git repositories defined as a data source. + properties: + branch: + maxLength: 64 + minLength: 1 + type: string + current_head: + description: Commit hash of the most recent fetch from the selected branch. + Used for syncing between workers. + maxLength: 48 + type: string + custom_fields: + additionalProperties: {} + type: object + name: + maxLength: 100 + minLength: 1 + type: string + provided_contents: + items: + oneOf: + - $ref: '#/components/schemas/ProvidedContentsEnum' + - $ref: '#/components/schemas/BlankEnum' + type: array + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + remote_url: + description: Only HTTP and HTTPS URLs are presently supported + format: uri + maxLength: 255 + minLength: 1 + type: string + secrets_group: + format: uuid + nullable: true + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + token: + minLength: 1 + type: string + writeOnly: true + username: + maxLength: 64 + type: string + required: + - name + - remote_url + type: object + WritableGoldenConfigSettingRequest: + description: Serializer for GoldenConfigSetting object. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + backup_path_template: + description: The Jinja path representation of where the backup file will + be found. The variable `obj` is available as the device instance object + of a given device, as is the case for all Jinja templates. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + maxLength: 255 + title: Backup Path in Jinja Template Form + type: string + backup_repository: + format: uuid + nullable: true + type: string + backup_test_connectivity: + description: Whether or not to pretest the connectivity of the device by + verifying there is a resolvable IP that can connect to port 22. + title: Backup Test + type: boolean + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + dynamic_group: + format: uuid + type: string + intended_path_template: + description: The Jinja path representation of where the generated file will + be places. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + maxLength: 255 + title: Intended Path in Jinja Template Form + type: string + intended_repository: + format: uuid + nullable: true + type: string + jinja_path_template: + description: The Jinja path representation of where the Jinja template can + be found. e.g. `{{obj.platform.slug}}.j2` + maxLength: 255 + title: Template Path in Jinja Template Form + type: string + jinja_repository: + format: uuid + nullable: true + type: string + name: + maxLength: 100 + minLength: 1 + type: string + scope: + additionalProperties: {} + type: object + slug: + maxLength: 100 + minLength: 1 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + sot_agg_query: + format: uuid + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + weight: + maximum: 32767 + minimum: 0 + type: integer + required: + - dynamic_group + - name + - slug + type: object + WritableHardwareLCMRequest: + description: API serializer. + properties: + custom_fields: + additionalProperties: {} + type: object + device_type: + format: uuid + nullable: true + type: string + documentation_url: + format: uri + maxLength: 200 + type: string + end_of_sale: + format: date + nullable: true + type: string + end_of_security_patches: + format: date + nullable: true + type: string + end_of_support: + format: date + nullable: true + type: string + end_of_sw_releases: + format: date + nullable: true + title: End of Software Releases + type: string + inventory_item: + maxLength: 255 + nullable: true + title: Inventory Item Part + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + release_date: + format: date + nullable: true + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: object + WritableIPAddressRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + address: + minLength: 1 + type: string + assigned_object_id: + format: uuid + nullable: true + type: string + assigned_object_type: + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + dns_name: + description: Hostname or FQDN (not case-sensitive) + maxLength: 255 + pattern: ^[0-9A-Za-z._-]+$ + type: string + nat_inside: + description: The IP Addresses for which this address is the "outside" IP + format: uuid + nullable: true + title: NAT (Inside) + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + role: + description: The functional role of this IP + oneOf: + - $ref: '#/components/schemas/RoleEnum' + - $ref: '#/components/schemas/BlankEnum' + status: + $ref: '#/components/schemas/IPAddressStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + vrf: + format: uuid + nullable: true + type: string + required: + - address + - status + type: object + WritableInterfaceRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + bridge: + description: Assigned bridge interface + format: uuid + nullable: true + title: Bridge interface + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + type: string + enabled: + type: boolean + label: + description: Physical label + maxLength: 64 + type: string + lag: + description: Assigned LAG interface + format: uuid + nullable: true + title: Parent LAG + type: string + mac_address: + maxLength: 18 + nullable: true + type: string + mgmt_only: + description: This interface is used only for out-of-band management + title: Management only + type: boolean + mode: + oneOf: + - $ref: '#/components/schemas/ModeEnum' + - $ref: '#/components/schemas/BlankEnum' + mtu: + maximum: 65536 + minimum: 1 + nullable: true + type: integer + name: + maxLength: 64 + minLength: 1 + type: string + parent_interface: + description: Assigned parent interface + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/InterfaceStatusChoices' + tagged_vlans: + items: + format: uuid + title: Tagged VLANs + type: string + type: array + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/InterfaceTypeChoices' + untagged_vlan: + format: uuid + nullable: true + type: string + required: + - device + - name + - status + - type + type: object + WritableInterfaceTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + mgmt_only: + title: Management only + type: boolean + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + $ref: '#/components/schemas/InterfaceTypeChoices' + required: + - device_type + - name + - type + type: object + WritableInventoryItemRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + asset_tag: + description: A unique tag used to identify this item + maxLength: 50 + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + type: string + discovered: + description: This item was automatically discovered + type: boolean + label: + description: Physical label + maxLength: 64 + type: string + manufacturer: + format: uuid + nullable: true + type: string + name: + maxLength: 64 + minLength: 1 + type: string + parent: + format: uuid + nullable: true + type: string + part_id: + description: Manufacturer-assigned part identifier + maxLength: 50 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + serial: + maxLength: 255 + title: Serial number + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - device + - name + type: object + WritableLocationRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + location_type: + format: uuid + type: string + name: + maxLength: 100 + minLength: 1 + type: string + parent: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + format: uuid + nullable: true + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + status: + $ref: '#/components/schemas/LocationStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + required: + - location_type + - name + - status + type: object + WritableLocationTypeRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + content_types: + items: + type: string + type: array + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + nestable: + description: Allow Locations of this type to be parents/children of other + Locations of this same type + type: boolean + parent: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + WritableNATPolicyRuleRequest: + description: PolicyRule Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + nullable: true + type: string + destination_zone: + $ref: '#/components/schemas/ZoneRequest' + index: + maximum: 32767 + minimum: 0 + nullable: true + type: integer + log: + type: boolean + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + remark: + type: boolean + request_id: + maxLength: 100 + nullable: true + type: string + source_zone: + $ref: '#/components/schemas/ZoneRequest' + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + WritableObjectPermissionRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + actions: + additionalProperties: {} + description: The list of actions granted by this permission + type: object + constraints: + additionalProperties: {} + description: Queryset filter matching the applicable objects of the selected + type(s) + nullable: true + type: object + description: + maxLength: 200 + type: string + enabled: + type: boolean + groups: + items: + type: integer + type: array + name: + maxLength: 100 + minLength: 1 + type: string + object_types: + items: + type: string + type: array + users: + items: + format: uuid + type: string + type: array + required: + - actions + - name + - object_types + type: object + WritablePeerEndpointRequest: + description: REST API serializer for PeerEndpoint records. + properties: + autonomous_system: + format: uuid + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + enabled: + type: boolean + export_policy: + maxLength: 100 + type: string + import_policy: + maxLength: 100 + type: string + peer: + format: uuid + nullable: true + type: string + peer_group: + format: uuid + nullable: true + type: string + peering: + format: uuid + type: string + routing_instance: + format: uuid + nullable: true + title: BGP Routing Instance + type: string + secret: + format: uuid + nullable: true + type: string + source_interface: + format: uuid + nullable: true + type: string + source_ip: + format: uuid + nullable: true + title: BGP Peer IP + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - peering + type: object + WritablePeerGroupRequest: + description: REST API serializer for PeerGroup records. + properties: + autonomous_system: + format: uuid + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + enabled: + type: boolean + export_policy: + maxLength: 100 + type: string + import_policy: + maxLength: 100 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + role: + format: uuid + nullable: true + type: string + routing_instance: + format: uuid + type: string + secret: + format: uuid + nullable: true + type: string + source_interface: + format: uuid + nullable: true + type: string + source_ip: + format: uuid + nullable: true + title: Source IP Address + type: string + template: + format: uuid + nullable: true + type: string + required: + - name + - routing_instance + type: object + WritablePeerGroupTemplateRequest: + description: REST API serializer for PeerGroup records. + properties: + autonomous_system: + format: uuid + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + enabled: + type: boolean + export_policy: + maxLength: 100 + type: string + import_policy: + maxLength: 100 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + role: + format: uuid + nullable: true + type: string + secret: + format: uuid + nullable: true + type: string + required: + - name + type: object + WritablePlatformRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + manufacturer: + description: Optionally limit this platform to devices of a certain manufacturer + format: uuid + nullable: true + type: string + name: + maxLength: 100 + minLength: 1 + type: string + napalm_args: + additionalProperties: {} + description: Additional arguments to pass when initiating the NAPALM driver + (JSON format) + nullable: true + title: NAPALM arguments + type: object + napalm_driver: + description: The name of the NAPALM driver to use when interacting with + devices + maxLength: 50 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + WritablePolicyRuleRequest: + description: PolicyRule Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + action: + $ref: '#/components/schemas/ActionEnum' + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + nullable: true + type: string + destination_zone: + $ref: '#/components/schemas/ZoneRequest' + index: + maximum: 32767 + minimum: 0 + nullable: true + type: integer + log: + type: boolean + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + request_id: + maxLength: 100 + nullable: true + type: string + source_zone: + $ref: '#/components/schemas/ZoneRequest' + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - action + - name + type: object + WritablePowerFeedRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + amperage: + maximum: 32767 + minimum: 1 + type: integer + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + max_utilization: + description: Maximum permissible draw (percentage) + maximum: 100 + minimum: 1 + type: integer + name: + maxLength: 100 + minLength: 1 + type: string + phase: + $ref: '#/components/schemas/PhaseEnum' + power_panel: + format: uuid + type: string + rack: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/PowerFeedStatusChoices' + supply: + $ref: '#/components/schemas/SupplyEnum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/PowerFeedTypeChoices' + voltage: + maximum: 32767 + minimum: -32768 + type: integer + required: + - name + - power_panel + - status + type: object + WritablePowerOutletRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + type: string + feed_leg: + description: Phase (for three-phase feeds) + oneOf: + - $ref: '#/components/schemas/FeedLegEnum' + - $ref: '#/components/schemas/BlankEnum' + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + power_port: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + description: Physical port type + oneOf: + - $ref: '#/components/schemas/PowerOutletTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + required: + - device + - name + type: object + WritablePowerOutletTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + format: uuid + type: string + feed_leg: + description: Phase (for three-phase feeds) + oneOf: + - $ref: '#/components/schemas/FeedLegEnum' + - $ref: '#/components/schemas/BlankEnum' + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + power_port: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + oneOf: + - $ref: '#/components/schemas/PowerOutletTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + required: + - device_type + - name + type: object + WritablePowerPanelRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + location: + format: uuid + nullable: true + type: string + name: + maxLength: 100 + minLength: 1 + type: string + rack_group: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + format: uuid + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + - site + type: object + WritablePowerPortRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + allocated_draw: + description: Allocated power draw (watts) + maximum: 32767 + minimum: 1 + nullable: true + type: integer + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + maximum_draw: + description: Maximum power draw (watts) + maximum: 32767 + minimum: 1 + nullable: true + type: integer + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + description: Physical port type + oneOf: + - $ref: '#/components/schemas/PowerPortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + required: + - device + - name + type: object + WritablePowerPortTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + allocated_draw: + description: Allocated power draw (watts) + maximum: 32767 + minimum: 1 + nullable: true + type: integer + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + maximum_draw: + description: Maximum power draw (watts) + maximum: 32767 + minimum: 1 + nullable: true + type: integer + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + oneOf: + - $ref: '#/components/schemas/PowerPortTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + required: + - device_type + - name + type: object + WritablePrefixRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + is_pool: + description: All IP addresses within this prefix are considered usable + title: Is a pool + type: boolean + location: + format: uuid + nullable: true + type: string + prefix: + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + role: + description: The primary function of this prefix + format: uuid + nullable: true + type: string + site: + format: uuid + nullable: true + type: string + status: + $ref: '#/components/schemas/PrefixStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + vlan: + format: uuid + nullable: true + type: string + vrf: + format: uuid + nullable: true + type: string + required: + - prefix + - status + type: object + WritableProviderNetworkRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + provider: + format: uuid + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + - provider + type: object + WritableRackGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + location: + format: uuid + nullable: true + type: string + name: + maxLength: 100 + minLength: 1 + type: string + parent: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + format: uuid + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + - site + type: object + WritableRackRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + asset_tag: + description: A unique tag used to identify this rack + maxLength: 50 + nullable: true + type: string + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + desc_units: + description: Units are numbered top-to-bottom + title: Descending units + type: boolean + facility_id: + description: Locally-assigned identifier + maxLength: 50 + nullable: true + type: string + group: + description: Assigned group + format: uuid + nullable: true + type: string + location: + format: uuid + nullable: true + type: string + name: + maxLength: 100 + minLength: 1 + type: string + outer_depth: + description: Outer dimension of rack (depth) + maximum: 32767 + minimum: 0 + nullable: true + type: integer + outer_unit: + oneOf: + - $ref: '#/components/schemas/OuterUnitEnum' + - $ref: '#/components/schemas/BlankEnum' + outer_width: + description: Outer dimension of rack (width) + maximum: 32767 + minimum: 0 + nullable: true + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + role: + description: Functional role + format: uuid + nullable: true + type: string + serial: + maxLength: 255 + title: Serial number + type: string + site: + format: uuid + type: string + status: + $ref: '#/components/schemas/RackStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + type: + oneOf: + - $ref: '#/components/schemas/RackTypeChoices' + - $ref: '#/components/schemas/BlankEnum' + u_height: + description: Height in rack units + maximum: 100 + minimum: 1 + title: Height (U) + type: integer + width: + allOf: + - $ref: '#/components/schemas/WidthEnum' + description: Rail-to-rail width + maximum: 32767 + minimum: 0 + required: + - name + - site + - status + type: object + WritableRackReservationRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + minLength: 1 + type: string + rack: + format: uuid + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + units: + additionalProperties: {} + type: object + user: + format: uuid + type: string + required: + - description + - rack + - units + - user + type: object + WritableRearPortRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + positions: + maximum: 1024 + minimum: 1 + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + type: + $ref: '#/components/schemas/PortTypeChoices' + required: + - device + - name + - type + type: object + WritableRearPortTemplateRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device_type: + format: uuid + type: string + label: + description: Physical label + maxLength: 64 + type: string + name: + maxLength: 64 + minLength: 1 + type: string + positions: + maximum: 1024 + minimum: 1 + type: integer + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + type: + $ref: '#/components/schemas/PortTypeChoices' + required: + - device_type + - name + - type + type: object + WritableRegionRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + parent: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + WritableRelationshipAssociationRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + destination_id: + format: uuid + type: string + destination_type: + type: string + relationship: + format: uuid + type: string + source_id: + format: uuid + type: string + source_type: + type: string + required: + - destination_id + - destination_type + - relationship + - source_id + - source_type + type: object + WritableRouteTargetRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + description: Route target value (formatted in accordance with RFC 4360) + maxLength: 21 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + required: + - name + type: object + WritableSecretsGroupAssociationRequest: + description: Serializer for `SecretsGroupAssociation` objects. + properties: + access_type: + $ref: '#/components/schemas/AccessTypeEnum' + group: + format: uuid + type: string + secret: + format: uuid + type: string + secret_type: + $ref: '#/components/schemas/SecretTypeEnum' + required: + - access_type + - group + - secret + - secret_type + type: object + WritableServiceObjectGroupRequest: + description: ServiceObjectGroup Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + WritableServiceRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + device: + format: uuid + nullable: true + type: string + ipaddresses: + items: + format: uuid + title: IP addresses + type: string + title: IP addresses + type: array + name: + maxLength: 100 + minLength: 1 + type: string + ports: + items: + maximum: 65535 + minimum: 1 + type: integer + type: array + protocol: + $ref: '#/components/schemas/ProtocolEnum' + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + virtual_machine: + format: uuid + nullable: true + type: string + required: + - name + - ports + - protocol + type: object + WritableSiteRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + asn: + description: 32-bit autonomous system number + format: int64 + maximum: 4294967295 + minimum: 1 + nullable: true + type: integer + comments: + type: string + contact_email: + format: email + maxLength: 254 + title: Contact E-mail + type: string + contact_name: + maxLength: 50 + type: string + contact_phone: + maxLength: 20 + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + facility: + description: Local facility ID or description + maxLength: 50 + type: string + latitude: + description: GPS coordinate (latitude) + format: decimal + nullable: true + pattern: ^-?\d{0,2}(?:\.\d{0,6})?$ + type: string + longitude: + description: GPS coordinate (longitude) + format: decimal + nullable: true + pattern: ^-?\d{0,3}(?:\.\d{0,6})?$ + type: string + name: + maxLength: 100 + minLength: 1 + type: string + physical_address: + maxLength: 200 + type: string + region: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + shipping_address: + maxLength: 200 + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + status: + $ref: '#/components/schemas/LocationStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + time_zone: + nullable: true + type: string + required: + - name + - status + type: object + WritableSoftwareImageLCMRequest: + description: REST API serializer for SoftwareImageLCM records. + properties: + custom_fields: + additionalProperties: {} + type: object + default_image: + type: boolean + device_types: + items: + format: uuid + type: string + type: array + download_url: + format: uri + maxLength: 200 + type: string + image_file_checksum: + maxLength: 256 + type: string + image_file_name: + maxLength: 100 + minLength: 1 + type: string + inventory_items: + items: + format: uuid + type: string + type: array + object_tags: + items: + format: uuid + type: string + type: array + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + software: + format: uuid + title: Software Version + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - image_file_name + - software + type: object + WritableSoftwareLCMRequest: + description: REST API serializer for SoftwareLCM records. + properties: + alias: + maxLength: 50 + nullable: true + type: string + custom_fields: + additionalProperties: {} + type: object + device_platform: + format: uuid + type: string + documentation_url: + format: uri + maxLength: 200 + type: string + end_of_support: + format: date + nullable: true + title: End of Software Support + type: string + long_term_support: + type: boolean + pre_release: + type: boolean + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + release_date: + format: date + nullable: true + type: string + software_images: + items: + format: uuid + type: string + type: array + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + version: + maxLength: 50 + minLength: 1 + type: string + required: + - device_platform + - software_images + - version + type: object + WritableTenantGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + parent: + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + WritableTenantRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + group: + format: uuid + nullable: true + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + WritableUserObjectGroupRequest: + description: UserObjectGroup Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + WritableUserRequest: + description: 'Extends the built-in ModelSerializer to enforce calling full_clean() + on a copy of the associated instance during + + validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)' + properties: + date_joined: + format: date-time + type: string + email: + format: email + maxLength: 254 + title: Email address + type: string + first_name: + maxLength: 150 + type: string + groups: + description: The groups this user belongs to. A user will get all permissions + granted to each of their groups. + items: + type: integer + type: array + is_active: + description: Designates whether this user should be treated as active. Unselect + this instead of deleting accounts. + title: Active + type: boolean + is_staff: + description: Designates whether the user can log into this admin site. + title: Staff status + type: boolean + last_name: + maxLength: 150 + type: string + password: + maxLength: 128 + minLength: 1 + type: string + writeOnly: true + username: + description: Required. 150 characters or fewer. Letters, digits and @/./+/-/_ + only. + maxLength: 150 + minLength: 1 + pattern: ^[\w.@+-]+$ + type: string + required: + - password + - username + type: object + WritableVLANGroupRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + location: + format: uuid + nullable: true + type: string + name: + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + site: + format: uuid + nullable: true + type: string + slug: + maxLength: 100 + pattern: ^[-a-zA-Z0-9_]+$ + type: string + required: + - name + type: object + WritableVLANRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + group: + format: uuid + nullable: true + type: string + location: + format: uuid + nullable: true + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + role: + format: uuid + nullable: true + type: string + site: + format: uuid + nullable: true + type: string + status: + $ref: '#/components/schemas/VLANStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + vid: + maximum: 4094 + minimum: 1 + title: ID + type: integer + required: + - name + - status + - vid + type: object + WritableVMInterfaceRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + bridge: + description: Assigned bridge interface + format: uuid + nullable: true + title: Bridge interface + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + enabled: + type: boolean + mac_address: + maxLength: 18 + nullable: true + type: string + mode: + oneOf: + - $ref: '#/components/schemas/ModeEnum' + - $ref: '#/components/schemas/BlankEnum' + mtu: + maximum: 65536 + minimum: 1 + nullable: true + type: integer + name: + maxLength: 64 + minLength: 1 + type: string + parent_interface: + description: Assigned parent interface + format: uuid + nullable: true + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/InterfaceStatusChoices' + tagged_vlans: + items: + format: uuid + title: Tagged VLANs + type: string + type: array + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + untagged_vlan: + format: uuid + nullable: true + type: string + virtual_machine: + format: uuid + type: string + required: + - name + - status + - virtual_machine + type: object + WritableVRFRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + enforce_unique: + description: Prevent duplicate prefixes/IP addresses within this VRF + title: Enforce unique space + type: boolean + export_targets: + items: + format: uuid + type: string + type: array + import_targets: + items: + format: uuid + type: string + type: array + name: + maxLength: 100 + minLength: 1 + type: string + rd: + description: Unique route distinguisher (as defined in RFC 4364) + maxLength: 21 + nullable: true + title: Route distinguisher + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + required: + - name + type: object + WritableValidatedSoftwareLCMRequest: + description: REST API serializer for ValidatedSoftwareLCM records. + properties: + custom_fields: + additionalProperties: {} + type: object + device_roles: + items: + format: uuid + type: string + type: array + device_types: + items: + format: uuid + type: string + type: array + devices: + items: + format: uuid + type: string + type: array + end: + format: date + nullable: true + title: Valid Until + type: string + inventory_items: + items: + format: uuid + type: string + type: array + object_tags: + items: + format: uuid + type: string + type: array + preferred: + title: Preferred Version + type: boolean + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + software: + format: uuid + title: Software Version + type: string + start: + format: date + title: Valid Since + type: string + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - software + - start + type: object + WritableVirtualChassisRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + custom_fields: + additionalProperties: {} + type: object + domain: + maxLength: 30 + type: string + master: + format: uuid + nullable: true + type: string + name: + maxLength: 64 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - name + type: object + WritableVirtualMachineWithConfigContextRequest: + description: 'Base class to use for serializers based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + custom fields and relationships.' + properties: + cluster: + format: uuid + type: string + comments: + type: string + custom_fields: + additionalProperties: {} + type: object + disk: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Disk (GB) + type: integer + local_context_data: + additionalProperties: {} + nullable: true + type: object + local_context_schema: + description: Optional schema to validate the structure of the data + format: uuid + nullable: true + type: string + memory: + maximum: 2147483647 + minimum: 0 + nullable: true + title: Memory (MB) + type: integer + name: + maxLength: 64 + minLength: 1 + type: string + platform: + format: uuid + nullable: true + type: string + primary_ip4: + format: uuid + nullable: true + title: Primary IPv4 + type: string + primary_ip6: + format: uuid + nullable: true + title: Primary IPv6 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + role: + format: uuid + nullable: true + type: string + status: + $ref: '#/components/schemas/VirtualMachineStatusChoices' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + tenant: + format: uuid + nullable: true + type: string + vcpus: + maximum: 32767 + minimum: 0 + nullable: true + type: integer + required: + - cluster + - name + - status + type: object + Zone: + description: Zone Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + created: + format: date + nullable: true + readOnly: true + type: string + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + display: + description: Human friendly display value + readOnly: true + type: string + id: + format: uuid + readOnly: true + type: string + interfaces: + items: + $ref: '#/components/schemas/NestedInterface' + type: array + last_updated: + format: date-time + nullable: true + readOnly: true + type: string + name: + description: Name of the zone (e.g. trust) + maxLength: 100 + type: string + notes_url: + format: uri + readOnly: true + type: string + status: + properties: + label: + enum: + - Active + - Decommissioned + - Staged + type: string + value: + enum: + - active + - decommissioned + - staged + type: string + type: object + tags: + items: + $ref: '#/components/schemas/TagSerializerField' + type: array + url: + format: uri + readOnly: true + type: string + vrfs: + items: + format: uuid + type: string + readOnly: true + type: array + required: + - created + - display + - id + - last_updated + - name + - notes_url + - url + - vrfs + type: object + ZoneRequest: + description: Zone Serializer. + properties: + _custom_field_data: + additionalProperties: {} + title: ' custom field data' + type: object + custom_fields: + additionalProperties: {} + type: object + description: + maxLength: 200 + type: string + interfaces: + items: + $ref: '#/components/schemas/NestedInterfaceRequest' + type: array + name: + description: Name of the zone (e.g. trust) + maxLength: 100 + minLength: 1 + type: string + relationships: + properties: + destination: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + id: + format: uuid + readOnly: true + type: string + name: + readOnly: true + type: string + peer: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + source: + properties: + label: + readOnly: true + type: string + object_type: + example: dcim.site + readOnly: true + type: string + objects: + items: + additionalProperties: true + properties: + display: + readOnly: true + type: string + id: + format: uuid + type: string + url: + format: uri + readOnly: true + type: string + type: object + type: array + type: object + type: + example: one-to-many + readOnly: true + type: string + url: + format: uri + readOnly: true + type: string + required: + - id + - url + - name + - type + type: object + status: + $ref: '#/components/schemas/Status8f7Enum' + tags: + items: + $ref: '#/components/schemas/TagSerializerFieldRequest' + type: array + required: + - id + type: object + securitySchemes: + basicAuth: + scheme: basic + type: http + cookieAuth: + in: cookie + name: sessionid + type: apiKey + tokenAuth: + description: Token-based authentication with required prefix "Token" + in: header + name: Authorization + type: apiKey +info: + description: Source of truth and network automation platform + license: + name: Apache v2 License + title: API Documentation + version: 1.5.7 (1.3) +openapi: 3.0.3 +paths: + /circuits/circuit-terminations/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_circuit_terminations_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_circuit_terminations_list + parameters: + - description: Cable + explode: true + in: query + name: cable + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Cable + explode: true + in: query + name: cable__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: cabled + schema: + type: boolean + - description: Circuit + explode: true + in: query + name: circuit_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Circuit + explode: true + in: query + name: circuit_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Connected status (bool) + in: query + name: connected + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Location (slug or ID) + explode: true + in: query + name: location + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Location (slug or ID) + explode: true + in: query + name: location__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - explode: true + in: query + name: port_speed + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: port_speed__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: port_speed__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: port_speed__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: port_speed__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: port_speed__n + schema: + items: + type: integer + type: array + style: form + - description: Provider Network (ID) + explode: true + in: query + name: provider_network_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Provider Network (ID) + explode: true + in: query + name: provider_network_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - description: Region (slug or ID) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug or ID) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) (deprecated, use "region" filter instead) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) (deprecated, use "region" filter instead) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (slug or ID) + explode: true + in: query + name: site + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (slug or ID) + explode: true + in: query + name: site__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) (deprecated, use "site" filter instead) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Site (ID) (deprecated, use "site" filter instead) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - in: query + name: term_side + schema: + title: Termination + type: string + - in: query + name: term_side__n + schema: + title: Termination + type: string + - explode: true + in: query + name: upstream_speed + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: upstream_speed__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: upstream_speed__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: upstream_speed__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: upstream_speed__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: upstream_speed__n + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: xconnect_id + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: xconnect_id__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: xconnect_id__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: xconnect_id__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: xconnect_id__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: xconnect_id__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: xconnect_id__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: xconnect_id__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: xconnect_id__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: xconnect_id__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: xconnect_id__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: xconnect_id__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: xconnect_id__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: xconnect_id__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCircuitTerminationList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_circuit_terminations_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableCircuitTerminationRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/CircuitTermination' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_circuit_terminations_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCircuitTerminationRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitTermination' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_circuit_terminations_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableCircuitTerminationRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/CircuitTermination' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + /circuits/circuit-terminations/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_circuit_terminations_destroy + parameters: + - description: A UUID string identifying this circuit termination. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_circuit_terminations_retrieve + parameters: + - description: A UUID string identifying this circuit termination. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitTermination' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_circuit_terminations_partial_update + parameters: + - description: A UUID string identifying this circuit termination. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableCircuitTerminationRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitTermination' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_circuit_terminations_update + parameters: + - description: A UUID string identifying this circuit termination. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCircuitTerminationRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitTermination' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + /circuits/circuit-terminations/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: circuits_circuit_terminations_notes_list + parameters: + - description: A UUID string identifying this circuit termination. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + post: + description: API methods for returning or creating notes on an object. + operationId: circuits_circuit_terminations_notes_create + parameters: + - description: A UUID string identifying this circuit termination. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + /circuits/circuit-terminations/{id}/trace/: + get: + description: Trace a complete cable path and return each segment as a three-tuple + of (termination, cable, termination). + operationId: circuits_circuit_terminations_trace_retrieve + parameters: + - description: A UUID string identifying this circuit termination. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitTermination' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + /circuits/circuit-types/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_circuit_types_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_circuit_types_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCircuitTypeList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_circuit_types_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableCircuitTypeRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/CircuitType' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_circuit_types_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CircuitTypeRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitType' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_circuit_types_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableCircuitTypeRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/CircuitType' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + /circuits/circuit-types/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_circuit_types_destroy + parameters: + - description: A UUID string identifying this circuit type. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_circuit_types_retrieve + parameters: + - description: A UUID string identifying this circuit type. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitType' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_circuit_types_partial_update + parameters: + - description: A UUID string identifying this circuit type. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedCircuitTypeRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitType' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_circuit_types_update + parameters: + - description: A UUID string identifying this circuit type. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CircuitTypeRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitType' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + /circuits/circuit-types/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: circuits_circuit_types_notes_list + parameters: + - description: A UUID string identifying this circuit type. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + post: + description: API methods for returning or creating notes on an object. + operationId: circuits_circuit_types_notes_create + parameters: + - description: A UUID string identifying this circuit type. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + /circuits/circuits/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: circuits_circuits_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: circuits_circuits_list + parameters: + - explode: true + in: query + name: cid + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: cid__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: cid__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: cid__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: cid__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: cid__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: cid__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: cid__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: cid__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: cid__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: cid__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: cid__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: cid__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: cid__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: commit_rate + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: commit_rate__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: commit_rate__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: commit_rate__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: commit_rate__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: commit_rate__n + schema: + items: + type: integer + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: install_date + schema: + items: + format: date + type: string + type: array + style: form + - explode: true + in: query + name: install_date__gt + schema: + items: + format: date + type: string + type: array + style: form + - explode: true + in: query + name: install_date__gte + schema: + items: + format: date + type: string + type: array + style: form + - explode: true + in: query + name: install_date__lt + schema: + items: + format: date + type: string + type: array + style: form + - explode: true + in: query + name: install_date__lte + schema: + items: + format: date + type: string + type: array + style: form + - explode: true + in: query + name: install_date__n + schema: + items: + format: date + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Location (slug or ID) + explode: true + in: query + name: location + schema: + items: + type: string + type: array + style: form + - description: Location (slug or ID) + explode: true + in: query + name: location__n + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Provider (slug) + explode: true + in: query + name: provider + schema: + items: + type: string + type: array + style: form + - description: Provider (slug) + explode: true + in: query + name: provider__n + schema: + items: + type: string + type: array + style: form + - description: Provider (ID) + explode: true + in: query + name: provider_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Provider (ID) + explode: true + in: query + name: provider_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Provider Network (ID) + explode: true + in: query + name: provider_network_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Provider Network (ID) + explode: true + in: query + name: provider_network_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - description: Region (slug) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (slug) + explode: true + in: query + name: site + schema: + items: + type: string + type: array + style: form + - description: Site (slug) + explode: true + in: query + name: site__n + schema: + items: + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Circuit type (slug) + explode: true + in: query + name: type + schema: + items: + type: string + type: array + style: form + - description: Circuit type (slug) + explode: true + in: query + name: type__n + schema: + items: + type: string + type: array + style: form + - description: Circuit type (ID) + explode: true + in: query + name: type_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Circuit type (ID) + explode: true + in: query + name: type_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCircuitList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: circuits_circuits_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableCircuitRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Circuit' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + post: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: circuits_circuits_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCircuitRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Circuit' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: circuits_circuits_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableCircuitRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Circuit' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + /circuits/circuits/{id}/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: circuits_circuits_destroy + parameters: + - description: A UUID string identifying this circuit. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: circuits_circuits_retrieve + parameters: + - description: A UUID string identifying this circuit. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Circuit' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: circuits_circuits_partial_update + parameters: + - description: A UUID string identifying this circuit. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableCircuitRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Circuit' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: circuits_circuits_update + parameters: + - description: A UUID string identifying this circuit. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCircuitRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Circuit' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + /circuits/circuits/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: circuits_circuits_notes_list + parameters: + - description: A UUID string identifying this circuit. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + post: + description: API methods for returning or creating notes on an object. + operationId: circuits_circuits_notes_create + parameters: + - description: A UUID string identifying this circuit. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + /circuits/provider-networks/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_provider_networks_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_provider_networks_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Provider (slug) + explode: true + in: query + name: provider + schema: + items: + type: string + type: array + style: form + - description: Provider (slug) + explode: true + in: query + name: provider__n + schema: + items: + type: string + type: array + style: form + - description: Provider (ID) + explode: true + in: query + name: provider_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Provider (ID) + explode: true + in: query + name: provider_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedProviderNetworkList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_provider_networks_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableProviderNetworkRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ProviderNetwork' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_provider_networks_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableProviderNetworkRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ProviderNetwork' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_provider_networks_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableProviderNetworkRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ProviderNetwork' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + /circuits/provider-networks/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_provider_networks_destroy + parameters: + - description: A UUID string identifying this provider network. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_provider_networks_retrieve + parameters: + - description: A UUID string identifying this provider network. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ProviderNetwork' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_provider_networks_partial_update + parameters: + - description: A UUID string identifying this provider network. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableProviderNetworkRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ProviderNetwork' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_provider_networks_update + parameters: + - description: A UUID string identifying this provider network. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableProviderNetworkRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ProviderNetwork' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + /circuits/provider-networks/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: circuits_provider_networks_notes_list + parameters: + - description: A UUID string identifying this provider network. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + post: + description: API methods for returning or creating notes on an object. + operationId: circuits_provider_networks_notes_create + parameters: + - description: A UUID string identifying this provider network. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + /circuits/providers/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_providers_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_providers_list + parameters: + - explode: true + in: query + name: account + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: account__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: account__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: account__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: account__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: account__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: account__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: account__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: account__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: account__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: account__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: account__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: account__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: account__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asn + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: asn__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: asn__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: asn__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: asn__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: asn__n + schema: + items: + type: integer + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Location (slug or ID) + explode: true + in: query + name: location + schema: + items: + type: string + type: array + style: form + - description: Location (slug or ID) + explode: true + in: query + name: location__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - description: Region (slug) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (slug) + explode: true + in: query + name: site + schema: + items: + type: string + type: array + style: form + - description: Site (slug) + explode: true + in: query + name: site__n + schema: + items: + type: string + type: array + style: form + - description: Site + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedProviderList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_providers_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableProviderRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Provider' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_providers_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ProviderRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Provider' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_providers_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableProviderRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Provider' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + /circuits/providers/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_providers_destroy + parameters: + - description: A UUID string identifying this provider. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_providers_retrieve + parameters: + - description: A UUID string identifying this provider. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Provider' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_providers_partial_update + parameters: + - description: A UUID string identifying this provider. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedProviderRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Provider' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: circuits_providers_update + parameters: + - description: A UUID string identifying this provider. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ProviderRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Provider' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + /circuits/providers/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: circuits_providers_notes_list + parameters: + - description: A UUID string identifying this provider. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + post: + description: API methods for returning or creating notes on an object. + operationId: circuits_providers_notes_create + parameters: + - description: A UUID string identifying this provider. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - circuits + /dcim/cables/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_cables_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_cables_list + parameters: + - explode: true + in: query + name: color + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__re + schema: + items: + type: string + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - description: Device (name) + explode: true + in: query + name: device + schema: + items: + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: label + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__re + schema: + items: + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - explode: true + in: query + name: length + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: length__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: length__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: length__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: length__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: length__n + schema: + items: + type: integer + type: array + style: form + - in: query + name: length_unit + schema: + type: string + - in: query + name: length_unit__n + schema: + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - description: Rack (name) + explode: true + in: query + name: rack + schema: + items: + type: string + type: array + style: form + - description: Rack (ID) + explode: true + in: query + name: rack_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (name) + explode: true + in: query + name: region + schema: + items: + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (name) + explode: true + in: query + name: site + schema: + items: + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Tenant (name) + explode: true + in: query + name: tenant + schema: + items: + type: string + type: array + style: form + - description: Tenant (ID) + explode: true + in: query + name: tenant_id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_a_id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_a_id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_a_id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_a_id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_a_id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_a_id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_a_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_a_id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_a_id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_a_id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_a_id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_a_id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_a_id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_a_id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_a_type + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: termination_a_type__n + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: termination_b_id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_b_id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_b_id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_b_id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_b_id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_b_id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_b_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_b_id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_b_id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_b_id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_b_id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_b_id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_b_id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_b_id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: termination_b_type + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: termination_b_type__n + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: type + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: type__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCableList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_cables_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableCableRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Cable' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_cables_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCableRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Cable' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_cables_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableCableRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Cable' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/cables/{id}/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_cables_destroy + parameters: + - description: A UUID string identifying this cable. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_cables_retrieve + parameters: + - description: A UUID string identifying this cable. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Cable' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_cables_partial_update + parameters: + - description: A UUID string identifying this cable. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableCableRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Cable' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_cables_update + parameters: + - description: A UUID string identifying this cable. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCableRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Cable' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/cables/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_cables_notes_list + parameters: + - description: A UUID string identifying this cable. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_cables_notes_create + parameters: + - description: A UUID string identifying this cable. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/connected-device/: + get: + description: 'This endpoint allows a user to determine what device (if any) + is connected to a given peer device and peer + + interface. This is useful in a situation where a device boots with no configuration, + but can detect its neighbors + + via a protocol such as LLDP. Two query parameters must be included in the + request: + + + * `peer_device`: The name of the peer device + + * `peer_interface`: The name of the peer interface' + operationId: dcim_connected_device_list + parameters: + - description: The name of the peer device + in: query + name: peer_device + required: true + schema: + type: string + - description: The name of the peer interface + in: query + name: peer_interface + required: true + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Device' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/console-connections/: + get: + operationId: dcim_console_connections_list + parameters: + - description: Device (name) + explode: true + in: query + name: device + schema: + items: + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Site (slug) + in: query + name: site + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedConsolePortList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/console-port-templates/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_port_templates_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_port_templates_list + parameters: + - description: Description + explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Device type (slug or ID) + explode: true + in: query + name: device_type + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (slug or ID) + explode: true + in: query + name: device_type__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (ID) + explode: true + in: query + name: devicetype_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (ID) + explode: true + in: query + name: devicetype_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ic + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ie + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__iew + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ire + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__isw + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__n + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nic + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nie + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__niew + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nire + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nisw + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nre + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__re + schema: + items: + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Name + explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - in: query + name: type + schema: + type: string + - in: query + name: type__n + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedConsolePortTemplateList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_port_templates_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableConsolePortTemplateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ConsolePortTemplate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_port_templates_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConsolePortTemplateRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePortTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_port_templates_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableConsolePortTemplateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ConsolePortTemplate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/console-port-templates/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_port_templates_destroy + parameters: + - description: A UUID string identifying this console port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_port_templates_retrieve + parameters: + - description: A UUID string identifying this console port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePortTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_port_templates_partial_update + parameters: + - description: A UUID string identifying this console port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableConsolePortTemplateRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePortTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_port_templates_update + parameters: + - description: A UUID string identifying this console port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConsolePortTemplateRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePortTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/console-port-templates/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_console_port_templates_notes_list + parameters: + - description: A UUID string identifying this console port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_console_port_templates_notes_create + parameters: + - description: A UUID string identifying this console port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/console-ports/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_ports_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_ports_list + parameters: + - description: Cable + explode: true + in: query + name: cable + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Cable + explode: true + in: query + name: cable__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: cabled + schema: + type: boolean + - description: Connected status (bool) + in: query + name: connected + schema: + type: boolean + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Device (name) + explode: true + in: query + name: device + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device (name) + explode: true + in: query + name: device__n + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: label + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__re + schema: + items: + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - description: Region (slug) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site + schema: + items: + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site__n + schema: + items: + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Physical port type + explode: true + in: query + name: type + schema: + items: + type: string + type: array + style: form + - description: Physical port type + explode: true + in: query + name: type__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedConsolePortList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_ports_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableConsolePortRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ConsolePort' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_ports_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConsolePortRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_ports_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableConsolePortRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ConsolePort' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/console-ports/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_ports_destroy + parameters: + - description: A UUID string identifying this console port. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_ports_retrieve + parameters: + - description: A UUID string identifying this console port. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_ports_partial_update + parameters: + - description: A UUID string identifying this console port. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableConsolePortRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_ports_update + parameters: + - description: A UUID string identifying this console port. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConsolePortRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/console-ports/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_console_ports_notes_list + parameters: + - description: A UUID string identifying this console port. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_console_ports_notes_create + parameters: + - description: A UUID string identifying this console port. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/console-ports/{id}/trace/: + get: + description: Trace a complete cable path and return each segment as a three-tuple + of (termination, cable, termination). + operationId: dcim_console_ports_trace_retrieve + parameters: + - description: A UUID string identifying this console port. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsolePort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/console-server-port-templates/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_server_port_templates_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_server_port_templates_list + parameters: + - description: Description + explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Device type (slug or ID) + explode: true + in: query + name: device_type + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (slug or ID) + explode: true + in: query + name: device_type__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (ID) + explode: true + in: query + name: devicetype_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (ID) + explode: true + in: query + name: devicetype_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ic + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ie + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__iew + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ire + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__isw + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__n + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nic + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nie + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__niew + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nire + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nisw + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nre + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__re + schema: + items: + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Name + explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - in: query + name: type + schema: + type: string + - in: query + name: type__n + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedConsoleServerPortTemplateList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_server_port_templates_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableConsoleServerPortTemplateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ConsoleServerPortTemplate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_server_port_templates_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConsoleServerPortTemplateRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPortTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_server_port_templates_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableConsoleServerPortTemplateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ConsoleServerPortTemplate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/console-server-port-templates/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_server_port_templates_destroy + parameters: + - description: A UUID string identifying this console server port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_server_port_templates_retrieve + parameters: + - description: A UUID string identifying this console server port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPortTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_server_port_templates_partial_update + parameters: + - description: A UUID string identifying this console server port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableConsoleServerPortTemplateRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPortTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_server_port_templates_update + parameters: + - description: A UUID string identifying this console server port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConsoleServerPortTemplateRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPortTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/console-server-port-templates/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_console_server_port_templates_notes_list + parameters: + - description: A UUID string identifying this console server port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_console_server_port_templates_notes_create + parameters: + - description: A UUID string identifying this console server port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/console-server-ports/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_server_ports_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_server_ports_list + parameters: + - description: Cable + explode: true + in: query + name: cable + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Cable + explode: true + in: query + name: cable__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: cabled + schema: + type: boolean + - description: Connected status (bool) + in: query + name: connected + schema: + type: boolean + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Device (name) + explode: true + in: query + name: device + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device (name) + explode: true + in: query + name: device__n + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: label + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__re + schema: + items: + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - description: Region (slug) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site + schema: + items: + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site__n + schema: + items: + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Physical port type + explode: true + in: query + name: type + schema: + items: + type: string + type: array + style: form + - description: Physical port type + explode: true + in: query + name: type__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedConsoleServerPortList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_server_ports_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableConsoleServerPortRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ConsoleServerPort' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_server_ports_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConsoleServerPortRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_server_ports_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableConsoleServerPortRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ConsoleServerPort' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/console-server-ports/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_server_ports_destroy + parameters: + - description: A UUID string identifying this console server port. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_server_ports_retrieve + parameters: + - description: A UUID string identifying this console server port. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_server_ports_partial_update + parameters: + - description: A UUID string identifying this console server port. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableConsoleServerPortRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_console_server_ports_update + parameters: + - description: A UUID string identifying this console server port. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConsoleServerPortRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/console-server-ports/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_console_server_ports_notes_list + parameters: + - description: A UUID string identifying this console server port. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_console_server_ports_notes_create + parameters: + - description: A UUID string identifying this console server port. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/console-server-ports/{id}/trace/: + get: + description: Trace a complete cable path and return each segment as a three-tuple + of (termination, cable, termination). + operationId: dcim_console_server_ports_trace_retrieve + parameters: + - description: A UUID string identifying this console server port. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConsoleServerPort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/device-bay-templates/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_bay_templates_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_bay_templates_list + parameters: + - description: Description + explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Device type (slug or ID) + explode: true + in: query + name: device_type + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (slug or ID) + explode: true + in: query + name: device_type__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (ID) + explode: true + in: query + name: devicetype_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (ID) + explode: true + in: query + name: devicetype_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ic + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ie + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__iew + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ire + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__isw + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__n + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nic + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nie + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__niew + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nire + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nisw + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nre + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__re + schema: + items: + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Name + explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedDeviceBayTemplateList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_bay_templates_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableDeviceBayTemplateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/DeviceBayTemplate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_bay_templates_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceBayTemplateRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceBayTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_bay_templates_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableDeviceBayTemplateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/DeviceBayTemplate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/device-bay-templates/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_bay_templates_destroy + parameters: + - description: A UUID string identifying this device bay template. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_bay_templates_retrieve + parameters: + - description: A UUID string identifying this device bay template. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceBayTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_bay_templates_partial_update + parameters: + - description: A UUID string identifying this device bay template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceBayTemplateRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceBayTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_bay_templates_update + parameters: + - description: A UUID string identifying this device bay template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceBayTemplateRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceBayTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/device-bay-templates/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_device_bay_templates_notes_list + parameters: + - description: A UUID string identifying this device bay template. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_device_bay_templates_notes_create + parameters: + - description: A UUID string identifying this device bay template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/device-bays/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_bays_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_bays_list + parameters: + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Device (name) + explode: true + in: query + name: device + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device (name) + explode: true + in: query + name: device__n + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Installed device (name or ID) + explode: true + in: query + name: installed_device + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Installed device (name or ID) + explode: true + in: query + name: installed_device__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: label + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__re + schema: + items: + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - description: Region (slug) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site + schema: + items: + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site__n + schema: + items: + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedDeviceBayList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_bays_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableDeviceBayRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/DeviceBay' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_bays_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceBayRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceBay' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_bays_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableDeviceBayRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/DeviceBay' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/device-bays/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_bays_destroy + parameters: + - description: A UUID string identifying this device bay. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_bays_retrieve + parameters: + - description: A UUID string identifying this device bay. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceBay' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_bays_partial_update + parameters: + - description: A UUID string identifying this device bay. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceBayRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceBay' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_bays_update + parameters: + - description: A UUID string identifying this device bay. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceBayRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceBay' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/device-bays/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_device_bays_notes_list + parameters: + - description: A UUID string identifying this device bay. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_device_bays_notes_create + parameters: + - description: A UUID string identifying this device bay. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/device-redundancy-groups/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_device_redundancy_groups_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_device_redundancy_groups_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - in: query + name: failover_strategy + schema: + type: string + - in: query + name: failover_strategy__n + schema: + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - description: Secrets group + explode: true + in: query + name: secrets_group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Secrets group + explode: true + in: query + name: secrets_group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: status + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedDeviceRedundancyGroupList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_device_redundancy_groups_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableDeviceRedundancyGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/DeviceRedundancyGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_device_redundancy_groups_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceRedundancyGroupRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceRedundancyGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_device_redundancy_groups_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableDeviceRedundancyGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/DeviceRedundancyGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/device-redundancy-groups/{id}/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_device_redundancy_groups_destroy + parameters: + - description: A UUID string identifying this device redundancy group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_device_redundancy_groups_retrieve + parameters: + - description: A UUID string identifying this device redundancy group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceRedundancyGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_device_redundancy_groups_partial_update + parameters: + - description: A UUID string identifying this device redundancy group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceRedundancyGroupRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceRedundancyGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_device_redundancy_groups_update + parameters: + - description: A UUID string identifying this device redundancy group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceRedundancyGroupRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceRedundancyGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/device-redundancy-groups/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_device_redundancy_groups_notes_list + parameters: + - description: A UUID string identifying this device redundancy group. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_device_redundancy_groups_notes_create + parameters: + - description: A UUID string identifying this device redundancy group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/device-roles/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_roles_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_roles_list + parameters: + - explode: true + in: query + name: color + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__re + schema: + items: + type: string + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: devices + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: devices__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Has devices + in: query + name: has_devices + schema: + type: boolean + - description: Has virtual machines + in: query + name: has_virtual_machines + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: virtual_machines + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: virtual_machines__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: vm_role + schema: + type: boolean + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedDeviceRoleList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_roles_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableDeviceRoleRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/DeviceRole' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_roles_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DeviceRoleRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceRole' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_roles_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableDeviceRoleRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/DeviceRole' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/device-roles/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_roles_destroy + parameters: + - description: A UUID string identifying this device role. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_roles_retrieve + parameters: + - description: A UUID string identifying this device role. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceRole' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_roles_partial_update + parameters: + - description: A UUID string identifying this device role. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedDeviceRoleRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceRole' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_roles_update + parameters: + - description: A UUID string identifying this device role. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DeviceRoleRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceRole' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/device-roles/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_device_roles_notes_list + parameters: + - description: A UUID string identifying this device role. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_device_roles_notes_create + parameters: + - description: A UUID string identifying this device role. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/device-types/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_types_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_types_list + parameters: + - explode: true + in: query + name: comments + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__re + schema: + items: + type: string + type: array + style: form + - description: Console port templates (name or ID) + explode: true + in: query + name: console_port_templates + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Console port templates (name or ID) + explode: true + in: query + name: console_port_templates__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Has console ports + in: query + name: console_ports + schema: + type: boolean + - description: Console server port templates (name or ID) + explode: true + in: query + name: console_server_port_templates + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Console server port templates (name or ID) + explode: true + in: query + name: console_server_port_templates__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Has console server ports + in: query + name: console_server_ports + schema: + type: boolean + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - description: Device bay templates + explode: true + in: query + name: device_bay_templates + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device bay templates + explode: true + in: query + name: device_bay_templates__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Has device bays + in: query + name: device_bays + schema: + type: boolean + - description: Front port templates (name or ID) + explode: true + in: query + name: front_port_templates + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Front port templates (name or ID) + explode: true + in: query + name: front_port_templates__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Has console port templates + in: query + name: has_console_port_templates + schema: + type: boolean + - description: Has console server port templates + in: query + name: has_console_server_port_templates + schema: + type: boolean + - description: Has device bay templates + in: query + name: has_device_bay_templates + schema: + type: boolean + - description: Has front port templates + in: query + name: has_front_port_templates + schema: + type: boolean + - description: Has instances + in: query + name: has_instances + schema: + type: boolean + - description: Has interface templates + in: query + name: has_interface_templates + schema: + type: boolean + - description: Has power outlet templates + in: query + name: has_power_outlet_templates + schema: + type: boolean + - description: Has power port templates + in: query + name: has_power_port_templates + schema: + type: boolean + - description: Has rear port templates + in: query + name: has_rear_port_templates + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: instances + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: instances__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Interface templates (name or ID) + explode: true + in: query + name: interface_templates + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Interface templates (name or ID) + explode: true + in: query + name: interface_templates__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Has interfaces + in: query + name: interfaces + schema: + type: boolean + - in: query + name: is_full_depth + schema: + type: boolean + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Manufacturer (slug) + explode: true + in: query + name: manufacturer + schema: + items: + type: string + type: array + style: form + - description: Manufacturer (slug) + explode: true + in: query + name: manufacturer__n + schema: + items: + type: string + type: array + style: form + - description: Manufacturer (ID) + explode: true + in: query + name: manufacturer_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Manufacturer (ID) + explode: true + in: query + name: manufacturer_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: model + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - explode: true + in: query + name: part_number + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_number__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_number__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_number__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_number__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_number__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_number__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_number__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_number__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_number__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_number__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_number__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_number__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_number__re + schema: + items: + type: string + type: array + style: form + - description: Has pass-through ports + in: query + name: pass_through_ports + schema: + type: boolean + - description: Power outlet templates (name or ID) + explode: true + in: query + name: power_outlet_templates + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Power outlet templates (name or ID) + explode: true + in: query + name: power_outlet_templates__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Has power outlets + in: query + name: power_outlets + schema: + type: boolean + - description: Power port templates (name or ID) + explode: true + in: query + name: power_port_templates + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Power port templates (name or ID) + explode: true + in: query + name: power_port_templates__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Has power ports + in: query + name: power_ports + schema: + type: boolean + - description: Search + in: query + name: q + schema: + type: string + - description: Rear port templates (name or ID) + explode: true + in: query + name: rear_port_templates + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rear port templates (name or ID) + explode: true + in: query + name: rear_port_templates__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + - description: Parent devices house child devices in device bays. Leave blank + if this device type is neither a parent nor a child. + in: query + name: subdevice_role + schema: + title: Parent/child status + type: string + - description: Parent devices house child devices in device bays. Leave blank + if this device type is neither a parent nor a child. + in: query + name: subdevice_role__n + schema: + title: Parent/child status + type: string + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: u_height + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: u_height__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: u_height__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: u_height__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: u_height__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: u_height__n + schema: + items: + type: integer + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedDeviceTypeList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_types_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableDeviceTypeRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/DeviceType' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_types_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceTypeRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceType' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_types_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableDeviceTypeRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/DeviceType' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/device-types/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_types_destroy + parameters: + - description: A UUID string identifying this device type. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_types_retrieve + parameters: + - description: A UUID string identifying this device type. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceType' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_types_partial_update + parameters: + - description: A UUID string identifying this device type. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceTypeRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceType' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_device_types_update + parameters: + - description: A UUID string identifying this device type. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceTypeRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceType' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/device-types/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_device_types_notes_list + parameters: + - description: A UUID string identifying this device type. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_device_types_notes_create + parameters: + - description: A UUID string identifying this device type. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/devices/: + delete: + description: 'Used by views that work with config context models (device and + virtual machine). + + Provides a get_queryset() method which deals with adding the config context + + data annotation or not.' + operationId: dcim_devices_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Used by views that work with config context models (device and + virtual machine). + + Provides a get_queryset() method which deals with adding the config context + + data annotation or not.' + operationId: dcim_devices_list + parameters: + - description: asset_tag + in: query + name: asset_tag + required: false + schema: + type: string + - description: asset_tag__ic + in: query + name: asset_tag__ic + required: false + schema: + type: string + - description: asset_tag__ie + in: query + name: asset_tag__ie + required: false + schema: + type: string + - description: asset_tag__iew + in: query + name: asset_tag__iew + required: false + schema: + type: string + - description: asset_tag__ire + in: query + name: asset_tag__ire + required: false + schema: + type: string + - description: asset_tag__isw + in: query + name: asset_tag__isw + required: false + schema: + type: string + - description: asset_tag__n + in: query + name: asset_tag__n + required: false + schema: + type: string + - description: asset_tag__nic + in: query + name: asset_tag__nic + required: false + schema: + type: string + - description: asset_tag__nie + in: query + name: asset_tag__nie + required: false + schema: + type: string + - description: asset_tag__niew + in: query + name: asset_tag__niew + required: false + schema: + type: string + - description: asset_tag__nire + in: query + name: asset_tag__nire + required: false + schema: + type: string + - description: asset_tag__nisw + in: query + name: asset_tag__nisw + required: false + schema: + type: string + - description: asset_tag__nre + in: query + name: asset_tag__nre + required: false + schema: + type: string + - description: asset_tag__re + in: query + name: asset_tag__re + required: false + schema: + type: string + - description: VM cluster (ID) + in: query + name: cluster_id + required: false + schema: + type: string + - description: VM cluster (ID) + in: query + name: cluster_id__n + required: false + schema: + type: string + - description: Has console ports + in: query + name: console_ports + required: false + schema: + type: string + - description: Has console server ports + in: query + name: console_server_ports + required: false + schema: + type: string + - description: created + in: query + name: created + required: false + schema: + type: string + - description: created__gte + in: query + name: created__gte + required: false + schema: + type: string + - description: created__lte + in: query + name: created__lte + required: false + schema: + type: string + - description: Has device bays + in: query + name: device_bays + required: false + schema: + type: string + - description: Device Redundancy Groups (slug or ID) + in: query + name: device_redundancy_group + required: false + schema: + type: string + - description: Device Redundancy Groups (slug or ID) + in: query + name: device_redundancy_group__n + required: false + schema: + type: string + - description: device_redundancy_group_priority + in: query + name: device_redundancy_group_priority + required: false + schema: + type: string + - description: device_redundancy_group_priority__gt + in: query + name: device_redundancy_group_priority__gt + required: false + schema: + type: string + - description: device_redundancy_group_priority__gte + in: query + name: device_redundancy_group_priority__gte + required: false + schema: + type: string + - description: device_redundancy_group_priority__lt + in: query + name: device_redundancy_group_priority__lt + required: false + schema: + type: string + - description: device_redundancy_group_priority__lte + in: query + name: device_redundancy_group_priority__lte + required: false + schema: + type: string + - description: device_redundancy_group_priority__n + in: query + name: device_redundancy_group_priority__n + required: false + schema: + type: string + - description: Device type (ID) + in: query + name: device_type_id + required: false + schema: + type: string + - description: Device type (ID) + in: query + name: device_type_id__n + required: false + schema: + type: string + - description: face + in: query + name: face + required: false + schema: + enum: + - front + - rear + type: string + - description: face__n + in: query + name: face__n + required: false + schema: + enum: + - front + - rear + type: string + - description: Has console ports + in: query + name: has_console_ports + required: false + schema: + type: string + - description: Has console server ports + in: query + name: has_console_server_ports + required: false + schema: + type: string + - description: Has device bays + in: query + name: has_device_bays + required: false + schema: + type: string + - description: Has front ports + in: query + name: has_front_ports + required: false + schema: + type: string + - description: Has interfaces + in: query + name: has_interfaces + required: false + schema: + type: string + - description: Has power outlets + in: query + name: has_power_outlets + required: false + schema: + type: string + - description: Has power ports + in: query + name: has_power_ports + required: false + schema: + type: string + - description: Has a primary IP + in: query + name: has_primary_ip + required: false + schema: + type: string + - description: Has rear ports + in: query + name: has_rear_ports + required: false + schema: + type: string + - description: id + in: query + name: id + required: false + schema: + type: string + - description: id__ic + in: query + name: id__ic + required: false + schema: + type: string + - description: id__ie + in: query + name: id__ie + required: false + schema: + type: string + - description: id__iew + in: query + name: id__iew + required: false + schema: + type: string + - description: id__ire + in: query + name: id__ire + required: false + schema: + type: string + - description: id__isw + in: query + name: id__isw + required: false + schema: + type: string + - description: id__n + in: query + name: id__n + required: false + schema: + type: string + - description: id__nic + in: query + name: id__nic + required: false + schema: + type: string + - description: id__nie + in: query + name: id__nie + required: false + schema: + type: string + - description: id__niew + in: query + name: id__niew + required: false + schema: + type: string + - description: id__nire + in: query + name: id__nire + required: false + schema: + type: string + - description: id__nisw + in: query + name: id__nisw + required: false + schema: + type: string + - description: id__nre + in: query + name: id__nre + required: false + schema: + type: string + - description: id__re + in: query + name: id__re + required: false + schema: + type: string + - description: Has interfaces + in: query + name: interfaces + required: false + schema: + type: string + - description: Is full depth + in: query + name: is_full_depth + required: false + schema: + type: string + - description: Is a virtual chassis member + in: query + name: is_virtual_chassis_member + required: false + schema: + type: string + - description: last_updated + in: query + name: last_updated + required: false + schema: + type: string + - description: last_updated__gte + in: query + name: last_updated__gte + required: false + schema: + type: string + - description: last_updated__lte + in: query + name: last_updated__lte + required: false + schema: + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Has local config context data + in: query + name: local_context_data + required: false + schema: + type: string + - description: Schema (slug) + in: query + name: local_context_schema + required: false + schema: + type: string + - description: Schema (slug) + in: query + name: local_context_schema__n + required: false + schema: + type: string + - description: Schema (ID) + in: query + name: local_context_schema_id + required: false + schema: + type: string + - description: Schema (ID) + in: query + name: local_context_schema_id__n + required: false + schema: + type: string + - description: Location (slug or ID) + in: query + name: location + required: false + schema: + type: string + - description: Location (slug or ID) + in: query + name: location__n + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__ic + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__ie + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__iew + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__ire + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__isw + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__n + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__nic + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__nie + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__niew + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__nire + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__nisw + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__nre + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__re + required: false + schema: + type: string + - description: Manufacturer (slug) + in: query + name: manufacturer + required: false + schema: + type: string + - description: Manufacturer (slug) + in: query + name: manufacturer__n + required: false + schema: + type: string + - description: Manufacturer (ID) + in: query + name: manufacturer_id + required: false + schema: + type: string + - description: Manufacturer (ID) + in: query + name: manufacturer_id__n + required: false + schema: + type: string + - description: Device model (slug) + in: query + name: model + required: false + schema: + type: string + - description: Device model (slug) + in: query + name: model__n + required: false + schema: + type: string + - description: name + in: query + name: name + required: false + schema: + type: string + - description: name__ic + in: query + name: name__ic + required: false + schema: + type: string + - description: name__ie + in: query + name: name__ie + required: false + schema: + type: string + - description: name__iew + in: query + name: name__iew + required: false + schema: + type: string + - description: name__ire + in: query + name: name__ire + required: false + schema: + type: string + - description: name__isw + in: query + name: name__isw + required: false + schema: + type: string + - description: name__n + in: query + name: name__n + required: false + schema: + type: string + - description: name__nic + in: query + name: name__nic + required: false + schema: + type: string + - description: name__nie + in: query + name: name__nie + required: false + schema: + type: string + - description: name__niew + in: query + name: name__niew + required: false + schema: + type: string + - description: name__nire + in: query + name: name__nire + required: false + schema: + type: string + - description: name__nisw + in: query + name: name__nisw + required: false + schema: + type: string + - description: name__nre + in: query + name: name__nre + required: false + schema: + type: string + - description: name__re + in: query + name: name__re + required: false + schema: + type: string + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Has pass-through ports + in: query + name: pass_through_ports + required: false + schema: + type: string + - description: Platform (slug) + in: query + name: platform + required: false + schema: + type: string + - description: Platform (slug) + in: query + name: platform__n + required: false + schema: + type: string + - description: Platform (ID) + in: query + name: platform_id + required: false + schema: + type: string + - description: Platform (ID) + in: query + name: platform_id__n + required: false + schema: + type: string + - description: position + in: query + name: position + required: false + schema: + type: string + - description: position__gt + in: query + name: position__gt + required: false + schema: + type: string + - description: position__gte + in: query + name: position__gte + required: false + schema: + type: string + - description: position__lt + in: query + name: position__lt + required: false + schema: + type: string + - description: position__lte + in: query + name: position__lte + required: false + schema: + type: string + - description: position__n + in: query + name: position__n + required: false + schema: + type: string + - description: Has power outlets + in: query + name: power_outlets + required: false + schema: + type: string + - description: Has power ports + in: query + name: power_ports + required: false + schema: + type: string + - description: Search + in: query + name: q + required: false + schema: + type: string + - description: Rack group (ID) + in: query + name: rack_group_id + required: false + schema: + type: string + - description: Rack group (ID) + in: query + name: rack_group_id__n + required: false + schema: + type: string + - description: Rack (ID) + in: query + name: rack_id + required: false + schema: + type: string + - description: Rack (ID) + in: query + name: rack_id__n + required: false + schema: + type: string + - description: Region (slug or ID) + in: query + name: region + required: false + schema: + type: string + - description: Region (slug or ID) + in: query + name: region__n + required: false + schema: + type: string + - description: Region (ID) (deprecated, use "region" filter instead) + in: query + name: region_id + required: false + schema: + type: string + - description: Region (ID) (deprecated, use "region" filter instead) + in: query + name: region_id__n + required: false + schema: + type: string + - description: Role (slug) + in: query + name: role + required: false + schema: + type: string + - description: Role (slug) + in: query + name: role__n + required: false + schema: + type: string + - description: Role (ID) + in: query + name: role_id + required: false + schema: + type: string + - description: Role (ID) + in: query + name: role_id__n + required: false + schema: + type: string + - description: Secrets group (slug) + in: query + name: secrets_group + required: false + schema: + type: string + - description: Secrets group (slug) + in: query + name: secrets_group__n + required: false + schema: + type: string + - description: Secrets group (ID) + in: query + name: secrets_group_id + required: false + schema: + type: string + - description: Secrets group (ID) + in: query + name: secrets_group_id__n + required: false + schema: + type: string + - description: serial + in: query + name: serial + required: false + schema: + type: string + - description: Site (slug or ID) + in: query + name: site + required: false + schema: + type: string + - description: Site (slug or ID) + in: query + name: site__n + required: false + schema: + type: string + - description: Site (ID) (deprecated, use "site" filter instead) + in: query + name: site_id + required: false + schema: + type: string + - description: Site (ID) (deprecated, use "site" filter instead) + in: query + name: site_id__n + required: false + schema: + type: string + - description: status + in: query + name: status + required: false + schema: + type: string + - description: status__n + in: query + name: status__n + required: false + schema: + type: string + - description: tag + in: query + name: tag + required: false + schema: + type: string + - description: tag__n + in: query + name: tag__n + required: false + schema: + type: string + - description: Tenant (slug or ID) + in: query + name: tenant + required: false + schema: + type: string + - description: Tenant (slug or ID) + in: query + name: tenant__n + required: false + schema: + type: string + - description: Tenant Group (slug) + in: query + name: tenant_group + required: false + schema: + type: string + - description: Tenant Group (slug) + in: query + name: tenant_group__n + required: false + schema: + type: string + - description: Tenant Group (ID) + in: query + name: tenant_group_id + required: false + schema: + type: string + - description: Tenant Group (ID) + in: query + name: tenant_group_id__n + required: false + schema: + type: string + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + in: query + name: tenant_id + required: false + schema: + type: string + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + in: query + name: tenant_id__n + required: false + schema: + type: string + - description: vc_position + in: query + name: vc_position + required: false + schema: + type: string + - description: vc_position__gt + in: query + name: vc_position__gt + required: false + schema: + type: string + - description: vc_position__gte + in: query + name: vc_position__gte + required: false + schema: + type: string + - description: vc_position__lt + in: query + name: vc_position__lt + required: false + schema: + type: string + - description: vc_position__lte + in: query + name: vc_position__lte + required: false + schema: + type: string + - description: vc_position__n + in: query + name: vc_position__n + required: false + schema: + type: string + - description: vc_priority + in: query + name: vc_priority + required: false + schema: + type: string + - description: vc_priority__gt + in: query + name: vc_priority__gt + required: false + schema: + type: string + - description: vc_priority__gte + in: query + name: vc_priority__gte + required: false + schema: + type: string + - description: vc_priority__lt + in: query + name: vc_priority__lt + required: false + schema: + type: string + - description: vc_priority__lte + in: query + name: vc_priority__lte + required: false + schema: + type: string + - description: vc_priority__n + in: query + name: vc_priority__n + required: false + schema: + type: string + - description: Virtual chassis (ID) + in: query + name: virtual_chassis_id + required: false + schema: + type: string + - description: Virtual chassis (ID) + in: query + name: virtual_chassis_id__n + required: false + schema: + type: string + - description: Is a virtual chassis member + in: query + name: virtual_chassis_member + required: false + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedDeviceWithConfigContextList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Used by views that work with config context models (device and + virtual machine). + + Provides a get_queryset() method which deals with adding the config context + + data annotation or not.' + operationId: dcim_devices_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableDeviceWithConfigContextRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/DeviceWithConfigContext' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Used by views that work with config context models (device and + virtual machine). + + Provides a get_queryset() method which deals with adding the config context + + data annotation or not.' + operationId: dcim_devices_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceWithConfigContextRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceWithConfigContext' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Used by views that work with config context models (device and + virtual machine). + + Provides a get_queryset() method which deals with adding the config context + + data annotation or not.' + operationId: dcim_devices_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableDeviceWithConfigContextRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/DeviceWithConfigContext' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/devices/{id}/: + delete: + description: 'Used by views that work with config context models (device and + virtual machine). + + Provides a get_queryset() method which deals with adding the config context + + data annotation or not.' + operationId: dcim_devices_destroy + parameters: + - description: A UUID string identifying this device. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Used by views that work with config context models (device and + virtual machine). + + Provides a get_queryset() method which deals with adding the config context + + data annotation or not.' + operationId: dcim_devices_retrieve + parameters: + - description: A UUID string identifying this device. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceWithConfigContext' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Used by views that work with config context models (device and + virtual machine). + + Provides a get_queryset() method which deals with adding the config context + + data annotation or not.' + operationId: dcim_devices_partial_update + parameters: + - description: A UUID string identifying this device. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableDeviceWithConfigContextRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceWithConfigContext' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Used by views that work with config context models (device and + virtual machine). + + Provides a get_queryset() method which deals with adding the config context + + data annotation or not.' + operationId: dcim_devices_update + parameters: + - description: A UUID string identifying this device. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDeviceWithConfigContextRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceWithConfigContext' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/devices/{id}/napalm/: + get: + description: Execute a NAPALM method on a Device + operationId: dcim_devices_napalm_retrieve + parameters: + - description: A UUID string identifying this device. + in: path + name: id + required: true + schema: + format: uuid + type: string + - in: query + name: method + required: true + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DeviceNAPALM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/devices/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_devices_notes_list + parameters: + - description: A UUID string identifying this device. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_devices_notes_create + parameters: + - description: A UUID string identifying this device. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/front-port-templates/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_front_port_templates_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_front_port_templates_list + parameters: + - description: Description + explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Device type (slug or ID) + explode: true + in: query + name: device_type + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (slug or ID) + explode: true + in: query + name: device_type__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (ID) + explode: true + in: query + name: devicetype_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (ID) + explode: true + in: query + name: devicetype_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ic + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ie + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__iew + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ire + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__isw + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__n + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nic + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nie + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__niew + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nire + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nisw + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nre + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__re + schema: + items: + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Name + explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: rear_port_position + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: rear_port_position__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: rear_port_position__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: rear_port_position__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: rear_port_position__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: rear_port_position__n + schema: + items: + type: integer + type: array + style: form + - description: Rear port template + explode: true + in: query + name: rear_port_template + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rear port template + explode: true + in: query + name: rear_port_template__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: type + schema: + type: string + - in: query + name: type__n + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedFrontPortTemplateList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_front_port_templates_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableFrontPortTemplateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/FrontPortTemplate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_front_port_templates_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableFrontPortTemplateRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPortTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_front_port_templates_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableFrontPortTemplateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/FrontPortTemplate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/front-port-templates/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_front_port_templates_destroy + parameters: + - description: A UUID string identifying this front port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_front_port_templates_retrieve + parameters: + - description: A UUID string identifying this front port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPortTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_front_port_templates_partial_update + parameters: + - description: A UUID string identifying this front port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableFrontPortTemplateRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPortTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_front_port_templates_update + parameters: + - description: A UUID string identifying this front port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableFrontPortTemplateRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPortTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/front-port-templates/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_front_port_templates_notes_list + parameters: + - description: A UUID string identifying this front port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_front_port_templates_notes_create + parameters: + - description: A UUID string identifying this front port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/front-ports/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_front_ports_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_front_ports_list + parameters: + - description: Cable + explode: true + in: query + name: cable + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Cable + explode: true + in: query + name: cable__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: cabled + schema: + type: boolean + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Device (name) + explode: true + in: query + name: device + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device (name) + explode: true + in: query + name: device__n + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: label + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__re + schema: + items: + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - description: Rear port (name or ID) + explode: true + in: query + name: rear_port + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rear port (name or ID) + explode: true + in: query + name: rear_port__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: rear_port_position + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: rear_port_position__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: rear_port_position__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: rear_port_position__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: rear_port_position__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: rear_port_position__n + schema: + items: + type: integer + type: array + style: form + - description: Region (slug) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site + schema: + items: + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site__n + schema: + items: + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - in: query + name: type + schema: + type: string + - in: query + name: type__n + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedFrontPortList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_front_ports_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableFrontPortRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/FrontPort' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_front_ports_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableFrontPortRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_front_ports_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableFrontPortRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/FrontPort' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/front-ports/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_front_ports_destroy + parameters: + - description: A UUID string identifying this front port. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_front_ports_retrieve + parameters: + - description: A UUID string identifying this front port. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_front_ports_partial_update + parameters: + - description: A UUID string identifying this front port. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableFrontPortRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_front_ports_update + parameters: + - description: A UUID string identifying this front port. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableFrontPortRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/front-ports/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_front_ports_notes_list + parameters: + - description: A UUID string identifying this front port. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_front_ports_notes_create + parameters: + - description: A UUID string identifying this front port. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/front-ports/{id}/paths/: + get: + description: Return all CablePaths which traverse a given pass-through port. + operationId: dcim_front_ports_paths_retrieve + parameters: + - description: A UUID string identifying this front port. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FrontPort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/interface-connections/: + get: + operationId: dcim_interface_connections_list + parameters: + - description: Device (name) + explode: true + in: query + name: device + schema: + items: + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Site (slug) + in: query + name: site + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedInterfaceConnectionList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/interface-templates/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_interface_templates_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_interface_templates_list + parameters: + - description: Description + explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Device type (slug or ID) + explode: true + in: query + name: device_type + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (slug or ID) + explode: true + in: query + name: device_type__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (ID) + explode: true + in: query + name: devicetype_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (ID) + explode: true + in: query + name: devicetype_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ic + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ie + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__iew + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ire + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__isw + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__n + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nic + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nie + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__niew + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nire + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nisw + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nre + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__re + schema: + items: + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - in: query + name: mgmt_only + schema: + type: boolean + - description: Name + explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - in: query + name: type + schema: + type: string + - in: query + name: type__n + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedInterfaceTemplateList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_interface_templates_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableInterfaceTemplateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/InterfaceTemplate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_interface_templates_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableInterfaceTemplateRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InterfaceTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_interface_templates_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableInterfaceTemplateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/InterfaceTemplate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/interface-templates/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_interface_templates_destroy + parameters: + - description: A UUID string identifying this interface template. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_interface_templates_retrieve + parameters: + - description: A UUID string identifying this interface template. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InterfaceTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_interface_templates_partial_update + parameters: + - description: A UUID string identifying this interface template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableInterfaceTemplateRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InterfaceTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_interface_templates_update + parameters: + - description: A UUID string identifying this interface template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableInterfaceTemplateRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InterfaceTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/interface-templates/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_interface_templates_notes_list + parameters: + - description: A UUID string identifying this interface template. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_interface_templates_notes_create + parameters: + - description: A UUID string identifying this interface template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/interfaces/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_interfaces_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_interfaces_list + parameters: + - description: Bridge interface (name or ID) + explode: true + in: query + name: bridge + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Bridge interface (name or ID) + explode: true + in: query + name: bridge__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Bridged interfaces (name or ID) + explode: true + in: query + name: bridged_interfaces + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Bridged interfaces (name or ID) + explode: true + in: query + name: bridged_interfaces__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Cable + explode: true + in: query + name: cable + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Cable + explode: true + in: query + name: cable__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: cabled + schema: + type: boolean + - description: Child interfaces (name or ID) + explode: true + in: query + name: child_interfaces + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Child interfaces (name or ID) + explode: true + in: query + name: child_interfaces__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Connected status (bool) + in: query + name: connected + schema: + type: boolean + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Device (name) + explode: true + in: query + name: device + schema: + items: + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Virtual Chassis member Device (ID) + in: query + name: device_with_common_vc + schema: + format: uuid + type: string + - in: query + name: enabled + schema: + type: boolean + - description: Has bridged interfaces + in: query + name: has_bridged_interfaces + schema: + type: boolean + - description: Has child interfaces + in: query + name: has_child_interfaces + schema: + type: boolean + - description: Has member interfaces + in: query + name: has_member_interfaces + schema: + type: boolean + - description: Has tagged VLANs + in: query + name: has_tagged_vlans + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Kind of interface + in: query + name: kind + schema: + type: string + - explode: true + in: query + name: label + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__re + schema: + items: + type: string + type: array + style: form + - description: LAG interface (name or ID) + explode: true + in: query + name: lag + schema: + items: + format: uuid + type: string + type: array + style: form + - description: LAG interface (name or ID) + explode: true + in: query + name: lag__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: LAG interface (ID) + explode: true + in: query + name: lag_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: LAG interface (ID) + explode: true + in: query + name: lag_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: mac_address + schema: + items: + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: mac_address__ic + schema: + items: + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: mac_address__ie + schema: + items: + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: mac_address__iew + schema: + items: + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: mac_address__ire + schema: + items: + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: mac_address__isw + schema: + items: + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: mac_address__n + schema: + items: + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: mac_address__nic + schema: + items: + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: mac_address__nie + schema: + items: + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: mac_address__niew + schema: + items: + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: mac_address__nire + schema: + items: + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: mac_address__nisw + schema: + items: + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: mac_address__nre + schema: + items: + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: mac_address__re + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Member interfaces (name or ID) + explode: true + in: query + name: member_interfaces + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Member interfaces (name or ID) + explode: true + in: query + name: member_interfaces__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: mgmt_only + schema: + type: boolean + - in: query + name: mode + schema: + type: string + - in: query + name: mode__n + schema: + type: string + - explode: true + in: query + name: mtu + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: mtu__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: mtu__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: mtu__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: mtu__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: mtu__n + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: Routing Instance UUID + explode: true + in: query + name: nautobot_bgp_models_interfaces_bgp_routing_instance + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_interfaces_bgp_routing_instance__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_interfaces_bgp_routing_instance__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_interfaces_bgp_routing_instance__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_interfaces_bgp_routing_instance__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_interfaces_bgp_routing_instance__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_interfaces_bgp_routing_instance__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_interfaces_bgp_routing_instance__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_interfaces_bgp_routing_instance__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_interfaces_bgp_routing_instance__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_interfaces_bgp_routing_instance__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_interfaces_bgp_routing_instance__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_interfaces_bgp_routing_instance__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_interfaces_bgp_routing_instance__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Parent interface (name or ID) + explode: true + in: query + name: parent_interface + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Parent interface (name or ID) + explode: true + in: query + name: parent_interface__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - description: Region (slug) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site + schema: + items: + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site__n + schema: + items: + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Tagged VLANs (VID or ID) + explode: true + in: query + name: tagged_vlans + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tagged VLANs (VID or ID) + explode: true + in: query + name: tagged_vlans__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: type + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: type__n + schema: + items: + type: string + type: array + style: form + - description: Untagged VLAN (VID or ID) + explode: true + in: query + name: untagged_vlan + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Untagged VLAN (VID or ID) + explode: true + in: query + name: untagged_vlan__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Assigned VID + in: query + name: vlan + schema: + type: number + - description: Assigned VLAN + in: query + name: vlan_id + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedInterfaceSerializerVersion12List' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_interfaces_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableInterfaceRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/InterfaceSerializerVersion12' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_interfaces_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableInterfaceRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InterfaceSerializerVersion12' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_interfaces_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableInterfaceRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/InterfaceSerializerVersion12' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/interfaces/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_interfaces_destroy + parameters: + - description: A UUID string identifying this interface. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_interfaces_retrieve + parameters: + - description: A UUID string identifying this interface. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InterfaceSerializerVersion12' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_interfaces_partial_update + parameters: + - description: A UUID string identifying this interface. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableInterfaceRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InterfaceSerializerVersion12' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_interfaces_update + parameters: + - description: A UUID string identifying this interface. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableInterfaceRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InterfaceSerializerVersion12' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/interfaces/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_interfaces_notes_list + parameters: + - description: A UUID string identifying this interface. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_interfaces_notes_create + parameters: + - description: A UUID string identifying this interface. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/interfaces/{id}/trace/: + get: + description: Trace a complete cable path and return each segment as a three-tuple + of (termination, cable, termination). + operationId: dcim_interfaces_trace_retrieve + parameters: + - description: A UUID string identifying this interface. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Interface' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/inventory-items/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_inventory_items_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_inventory_items_list + parameters: + - explode: true + in: query + name: asset_tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__re + schema: + items: + type: string + type: array + style: form + - description: Child items (name or ID) + explode: true + in: query + name: child_items + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Child items (name or ID) + explode: true + in: query + name: child_items__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Device (name) + in: query + name: device + schema: + format: uuid + type: string + - description: Device (name) + in: query + name: device__n + schema: + format: uuid + type: string + - description: Device (ID) + in: query + name: device_id + schema: + format: uuid + type: string + - description: Device (ID) + in: query + name: device_id__n + schema: + format: uuid + type: string + - in: query + name: discovered + schema: + type: boolean + - description: Has child items + in: query + name: has_child_items + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: label + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__re + schema: + items: + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Manufacturer (slug) + explode: true + in: query + name: manufacturer + schema: + items: + type: string + type: array + style: form + - description: Manufacturer (slug) + explode: true + in: query + name: manufacturer__n + schema: + items: + type: string + type: array + style: form + - description: Manufacturer (ID) + explode: true + in: query + name: manufacturer_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Manufacturer (ID) + explode: true + in: query + name: manufacturer_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Parent (name or ID) + explode: true + in: query + name: parent + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Parent (name or ID) + explode: true + in: query + name: parent__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Parent inventory item (ID) + explode: true + in: query + name: parent_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Parent inventory item (ID) + explode: true + in: query + name: parent_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: part_id + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_id__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_id__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_id__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_id__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_id__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_id__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_id__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_id__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_id__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_id__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_id__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_id__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: part_id__re + schema: + items: + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - description: Region (slug) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: serial + schema: + type: string + - description: Site name (slug) + explode: true + in: query + name: site + schema: + items: + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site__n + schema: + items: + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedInventoryItemList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_inventory_items_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableInventoryItemRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/InventoryItem' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_inventory_items_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableInventoryItemRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InventoryItem' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_inventory_items_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableInventoryItemRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/InventoryItem' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/inventory-items/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_inventory_items_destroy + parameters: + - description: A UUID string identifying this inventory item. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_inventory_items_retrieve + parameters: + - description: A UUID string identifying this inventory item. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InventoryItem' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_inventory_items_partial_update + parameters: + - description: A UUID string identifying this inventory item. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableInventoryItemRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InventoryItem' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_inventory_items_update + parameters: + - description: A UUID string identifying this inventory item. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableInventoryItemRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/InventoryItem' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/inventory-items/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_inventory_items_notes_list + parameters: + - description: A UUID string identifying this inventory item. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_inventory_items_notes_create + parameters: + - description: A UUID string identifying this inventory item. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/location-types/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_location_types_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_location_types_list + parameters: + - explode: true + in: query + name: content_types + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: content_types__n + schema: + items: + type: integer + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - in: query + name: nestable + schema: + type: boolean + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Parent location type (slug or ID) + explode: true + in: query + name: parent + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Parent location type (slug or ID) + explode: true + in: query + name: parent__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedLocationTypeList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_location_types_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableLocationTypeRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/LocationType' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_location_types_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableLocationTypeRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/LocationType' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_location_types_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableLocationTypeRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/LocationType' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/location-types/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_location_types_destroy + parameters: + - description: A UUID string identifying this location type. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_location_types_retrieve + parameters: + - description: A UUID string identifying this location type. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/LocationType' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_location_types_partial_update + parameters: + - description: A UUID string identifying this location type. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableLocationTypeRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/LocationType' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_location_types_update + parameters: + - description: A UUID string identifying this location type. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableLocationTypeRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/LocationType' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/location-types/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_location_types_notes_list + parameters: + - description: A UUID string identifying this location type. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_location_types_notes_create + parameters: + - description: A UUID string identifying this location type. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/locations/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_locations_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_locations_list + parameters: + - description: Base location's site (slug or ID) + explode: true + in: query + name: base_site + schema: + items: + type: string + type: array + style: form + - description: Child location type (slug or ID) + explode: true + in: query + name: child_location_type + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: content_type + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: content_type__n + schema: + items: + type: integer + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Location type (slug or ID) + explode: true + in: query + name: location_type + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Location type (slug or ID) + explode: true + in: query + name: location_type__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Parent location (slug or ID) + explode: true + in: query + name: parent + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Parent location (slug or ID) + explode: true + in: query + name: parent__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - description: Site (slug or ID) + explode: true + in: query + name: site + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (slug or ID) + explode: true + in: query + name: site__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: status + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Location(s) and descendants thereof (slug or ID) + explode: true + in: query + name: subtree + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedLocationList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_locations_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableLocationRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Location' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_locations_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableLocationRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Location' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_locations_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableLocationRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Location' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/locations/{id}/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_locations_destroy + parameters: + - description: A UUID string identifying this location. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_locations_retrieve + parameters: + - description: A UUID string identifying this location. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Location' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_locations_partial_update + parameters: + - description: A UUID string identifying this location. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableLocationRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Location' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_locations_update + parameters: + - description: A UUID string identifying this location. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableLocationRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Location' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/locations/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_locations_notes_list + parameters: + - description: A UUID string identifying this location. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_locations_notes_create + parameters: + - description: A UUID string identifying this location. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/manufacturers/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_manufacturers_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_manufacturers_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Device types (slug or ID) + explode: true + in: query + name: device_types + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device types (slug or ID) + explode: true + in: query + name: device_types__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Has device types + in: query + name: has_device_types + schema: + type: boolean + - description: Has inventory items + in: query + name: has_inventory_items + schema: + type: boolean + - description: Has platforms + in: query + name: has_platforms + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Inventory items (name or ID) + explode: true + in: query + name: inventory_items + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Inventory items (name or ID) + explode: true + in: query + name: inventory_items__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Platforms (slug or ID) + explode: true + in: query + name: platforms + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Platforms (slug or ID) + explode: true + in: query + name: platforms__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedManufacturerList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_manufacturers_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableManufacturerRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Manufacturer' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_manufacturers_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ManufacturerRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Manufacturer' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_manufacturers_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableManufacturerRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Manufacturer' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/manufacturers/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_manufacturers_destroy + parameters: + - description: A UUID string identifying this manufacturer. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_manufacturers_retrieve + parameters: + - description: A UUID string identifying this manufacturer. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Manufacturer' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_manufacturers_partial_update + parameters: + - description: A UUID string identifying this manufacturer. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedManufacturerRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Manufacturer' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_manufacturers_update + parameters: + - description: A UUID string identifying this manufacturer. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ManufacturerRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Manufacturer' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/manufacturers/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_manufacturers_notes_list + parameters: + - description: A UUID string identifying this manufacturer. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_manufacturers_notes_create + parameters: + - description: A UUID string identifying this manufacturer. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/platforms/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_platforms_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_platforms_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: devices + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: devices__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Has devices + in: query + name: has_devices + schema: + type: boolean + - description: Has virtual machines + in: query + name: has_virtual_machines + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Manufacturer (slug) + explode: true + in: query + name: manufacturer + schema: + items: + type: string + type: array + style: form + - description: Manufacturer (slug) + explode: true + in: query + name: manufacturer__n + schema: + items: + type: string + type: array + style: form + - description: Manufacturer (ID) + explode: true + in: query + name: manufacturer_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Manufacturer (ID) + explode: true + in: query + name: manufacturer_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: napalm_args + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: napalm_driver + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: napalm_driver__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: napalm_driver__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: napalm_driver__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: napalm_driver__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: napalm_driver__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: napalm_driver__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: napalm_driver__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: napalm_driver__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: napalm_driver__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: napalm_driver__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: napalm_driver__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: napalm_driver__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: napalm_driver__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: virtual_machines + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: virtual_machines__n + schema: + items: + format: uuid + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPlatformList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_platforms_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritablePlatformRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Platform' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_platforms_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePlatformRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Platform' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_platforms_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritablePlatformRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Platform' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/platforms/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_platforms_destroy + parameters: + - description: A UUID string identifying this platform. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_platforms_retrieve + parameters: + - description: A UUID string identifying this platform. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Platform' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_platforms_partial_update + parameters: + - description: A UUID string identifying this platform. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePlatformRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Platform' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_platforms_update + parameters: + - description: A UUID string identifying this platform. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePlatformRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Platform' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/platforms/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_platforms_notes_list + parameters: + - description: A UUID string identifying this platform. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_platforms_notes_create + parameters: + - description: A UUID string identifying this platform. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-connections/: + get: + operationId: dcim_power_connections_list + parameters: + - description: Device (name) + explode: true + in: query + name: device + schema: + items: + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Site (slug) + in: query + name: site + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPowerPortList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-feeds/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_power_feeds_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_power_feeds_list + parameters: + - explode: true + in: query + name: amperage + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: amperage__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: amperage__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: amperage__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: amperage__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: amperage__n + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: available_power + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: available_power__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: available_power__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: available_power__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: available_power__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: available_power__n + schema: + items: + type: integer + type: array + style: form + - description: Cable + explode: true + in: query + name: cable + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Cable + explode: true + in: query + name: cable__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: cabled + schema: + type: boolean + - explode: true + in: query + name: comments + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__re + schema: + items: + type: string + type: array + style: form + - description: Connected status (bool) + in: query + name: connected + schema: + type: boolean + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: max_utilization + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: max_utilization__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: max_utilization__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: max_utilization__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: max_utilization__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: max_utilization__n + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - in: query + name: phase + schema: + type: string + - in: query + name: phase__n + schema: + type: string + - description: Power panel (name or ID) + explode: true + in: query + name: power_panel + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Power panel (name or ID) + explode: true + in: query + name: power_panel__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Power panel (ID) + explode: true + in: query + name: power_panel_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Power panel (ID) + explode: true + in: query + name: power_panel_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - description: Rack (name or ID) + explode: true + in: query + name: rack + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rack (name or ID) + explode: true + in: query + name: rack__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rack (ID) + explode: true + in: query + name: rack_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rack (ID) + explode: true + in: query + name: rack_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site + schema: + items: + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site__n + schema: + items: + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: supply + schema: + type: string + - in: query + name: supply__n + schema: + type: string + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - in: query + name: type + schema: + type: string + - in: query + name: type__n + schema: + type: string + - explode: true + in: query + name: voltage + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: voltage__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: voltage__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: voltage__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: voltage__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: voltage__n + schema: + items: + type: integer + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPowerFeedList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_power_feeds_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritablePowerFeedRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PowerFeed' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_power_feeds_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerFeedRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerFeed' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_power_feeds_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritablePowerFeedRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PowerFeed' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-feeds/{id}/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_power_feeds_destroy + parameters: + - description: A UUID string identifying this power feed. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_power_feeds_retrieve + parameters: + - description: A UUID string identifying this power feed. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerFeed' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_power_feeds_partial_update + parameters: + - description: A UUID string identifying this power feed. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePowerFeedRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerFeed' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_power_feeds_update + parameters: + - description: A UUID string identifying this power feed. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerFeedRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerFeed' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-feeds/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_power_feeds_notes_list + parameters: + - description: A UUID string identifying this power feed. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_power_feeds_notes_create + parameters: + - description: A UUID string identifying this power feed. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-feeds/{id}/trace/: + get: + description: Trace a complete cable path and return each segment as a three-tuple + of (termination, cable, termination). + operationId: dcim_power_feeds_trace_retrieve + parameters: + - description: A UUID string identifying this power feed. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerFeed' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-outlet-templates/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_outlet_templates_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_outlet_templates_list + parameters: + - description: Description + explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Device type (slug or ID) + explode: true + in: query + name: device_type + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (slug or ID) + explode: true + in: query + name: device_type__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (ID) + explode: true + in: query + name: devicetype_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (ID) + explode: true + in: query + name: devicetype_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Phase (for three-phase feeds) + in: query + name: feed_leg + schema: + type: string + - description: Phase (for three-phase feeds) + in: query + name: feed_leg__n + schema: + type: string + - description: ID + explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ic + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ie + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__iew + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ire + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__isw + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__n + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nic + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nie + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__niew + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nire + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nisw + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nre + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__re + schema: + items: + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Name + explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Power port template (name or ID) + explode: true + in: query + name: power_port_template + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Power port template (name or ID) + explode: true + in: query + name: power_port_template__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - in: query + name: type + schema: + type: string + - in: query + name: type__n + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPowerOutletTemplateList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_outlet_templates_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritablePowerOutletTemplateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PowerOutletTemplate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_outlet_templates_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerOutletTemplateRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutletTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_outlet_templates_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritablePowerOutletTemplateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PowerOutletTemplate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-outlet-templates/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_outlet_templates_destroy + parameters: + - description: A UUID string identifying this power outlet template. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_outlet_templates_retrieve + parameters: + - description: A UUID string identifying this power outlet template. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutletTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_outlet_templates_partial_update + parameters: + - description: A UUID string identifying this power outlet template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePowerOutletTemplateRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutletTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_outlet_templates_update + parameters: + - description: A UUID string identifying this power outlet template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerOutletTemplateRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutletTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-outlet-templates/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_power_outlet_templates_notes_list + parameters: + - description: A UUID string identifying this power outlet template. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_power_outlet_templates_notes_create + parameters: + - description: A UUID string identifying this power outlet template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-outlets/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_outlets_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_outlets_list + parameters: + - description: Cable + explode: true + in: query + name: cable + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Cable + explode: true + in: query + name: cable__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: cabled + schema: + type: boolean + - description: Connected status (bool) + in: query + name: connected + schema: + type: boolean + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Device (name) + explode: true + in: query + name: device + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device (name) + explode: true + in: query + name: device__n + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Phase (for three-phase feeds) + in: query + name: feed_leg + schema: + type: string + - description: Phase (for three-phase feeds) + in: query + name: feed_leg__n + schema: + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: label + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__re + schema: + items: + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Power port + explode: true + in: query + name: power_port + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Power port + explode: true + in: query + name: power_port__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - description: Region (slug) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site + schema: + items: + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site__n + schema: + items: + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Physical port type + explode: true + in: query + name: type + schema: + items: + type: string + type: array + style: form + - description: Physical port type + explode: true + in: query + name: type__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPowerOutletList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_outlets_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritablePowerOutletRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PowerOutlet' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_outlets_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerOutletRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutlet' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_outlets_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritablePowerOutletRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PowerOutlet' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-outlets/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_outlets_destroy + parameters: + - description: A UUID string identifying this power outlet. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_outlets_retrieve + parameters: + - description: A UUID string identifying this power outlet. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutlet' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_outlets_partial_update + parameters: + - description: A UUID string identifying this power outlet. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePowerOutletRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutlet' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_outlets_update + parameters: + - description: A UUID string identifying this power outlet. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerOutletRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutlet' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-outlets/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_power_outlets_notes_list + parameters: + - description: A UUID string identifying this power outlet. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_power_outlets_notes_create + parameters: + - description: A UUID string identifying this power outlet. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-outlets/{id}/trace/: + get: + description: Trace a complete cable path and return each segment as a three-tuple + of (termination, cable, termination). + operationId: dcim_power_outlets_trace_retrieve + parameters: + - description: A UUID string identifying this power outlet. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerOutlet' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-panels/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_panels_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_panels_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - description: Has power feeds + in: query + name: has_power_feeds + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Location (slug or ID) + explode: true + in: query + name: location + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Location (slug or ID) + explode: true + in: query + name: location__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Power feeds (name or ID) + explode: true + in: query + name: power_feeds + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Power feeds (name or ID) + explode: true + in: query + name: power_feeds__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - description: Rack group (slug or ID) + explode: true + in: query + name: rack_group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rack group (slug or ID) + explode: true + in: query + name: rack_group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rack group (ID) + explode: true + in: query + name: rack_group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rack group (ID) + explode: true + in: query + name: rack_group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug or ID) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug or ID) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) (deprecated, use "region" filter instead) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) (deprecated, use "region" filter instead) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (slug or ID) + explode: true + in: query + name: site + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (slug or ID) + explode: true + in: query + name: site__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) (deprecated, use "site" filter instead) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) (deprecated, use "site" filter instead) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPowerPanelList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_panels_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritablePowerPanelRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PowerPanel' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_panels_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerPanelRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPanel' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_panels_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritablePowerPanelRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PowerPanel' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-panels/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_panels_destroy + parameters: + - description: A UUID string identifying this power panel. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_panels_retrieve + parameters: + - description: A UUID string identifying this power panel. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPanel' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_panels_partial_update + parameters: + - description: A UUID string identifying this power panel. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePowerPanelRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPanel' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_panels_update + parameters: + - description: A UUID string identifying this power panel. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerPanelRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPanel' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-panels/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_power_panels_notes_list + parameters: + - description: A UUID string identifying this power panel. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_power_panels_notes_create + parameters: + - description: A UUID string identifying this power panel. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-port-templates/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_port_templates_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_port_templates_list + parameters: + - explode: true + in: query + name: allocated_draw + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: allocated_draw__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: allocated_draw__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: allocated_draw__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: allocated_draw__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: allocated_draw__n + schema: + items: + type: integer + type: array + style: form + - description: Description + explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Device type (slug or ID) + explode: true + in: query + name: device_type + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (slug or ID) + explode: true + in: query + name: device_type__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (ID) + explode: true + in: query + name: devicetype_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (ID) + explode: true + in: query + name: devicetype_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Has power outlet templates + in: query + name: has_power_outlet_templates + schema: + type: boolean + - description: ID + explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ic + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ie + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__iew + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ire + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__isw + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__n + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nic + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nie + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__niew + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nire + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nisw + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nre + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__re + schema: + items: + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: maximum_draw + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: maximum_draw__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: maximum_draw__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: maximum_draw__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: maximum_draw__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: maximum_draw__n + schema: + items: + type: integer + type: array + style: form + - description: Name + explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Power outlet templates (name or ID) + explode: true + in: query + name: power_outlet_templates + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Power outlet templates (name or ID) + explode: true + in: query + name: power_outlet_templates__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - in: query + name: type + schema: + type: string + - in: query + name: type__n + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPowerPortTemplateList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_port_templates_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritablePowerPortTemplateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PowerPortTemplate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_port_templates_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerPortTemplateRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPortTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_port_templates_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritablePowerPortTemplateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PowerPortTemplate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-port-templates/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_port_templates_destroy + parameters: + - description: A UUID string identifying this power port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_port_templates_retrieve + parameters: + - description: A UUID string identifying this power port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPortTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_port_templates_partial_update + parameters: + - description: A UUID string identifying this power port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePowerPortTemplateRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPortTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_port_templates_update + parameters: + - description: A UUID string identifying this power port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerPortTemplateRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPortTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-port-templates/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_power_port_templates_notes_list + parameters: + - description: A UUID string identifying this power port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_power_port_templates_notes_create + parameters: + - description: A UUID string identifying this power port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-ports/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_ports_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_ports_list + parameters: + - explode: true + in: query + name: allocated_draw + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: allocated_draw__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: allocated_draw__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: allocated_draw__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: allocated_draw__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: allocated_draw__n + schema: + items: + type: integer + type: array + style: form + - description: Cable + explode: true + in: query + name: cable + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Cable + explode: true + in: query + name: cable__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: cabled + schema: + type: boolean + - description: Connected status (bool) + in: query + name: connected + schema: + type: boolean + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Device (name) + explode: true + in: query + name: device + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device (name) + explode: true + in: query + name: device__n + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Has power outlets + in: query + name: has_power_outlets + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: label + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__re + schema: + items: + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: maximum_draw + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: maximum_draw__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: maximum_draw__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: maximum_draw__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: maximum_draw__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: maximum_draw__n + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Power outlets (name or ID) + explode: true + in: query + name: power_outlets + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Power outlets (name or ID) + explode: true + in: query + name: power_outlets__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - description: Region (slug) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site + schema: + items: + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site__n + schema: + items: + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Physical port type + explode: true + in: query + name: type + schema: + items: + type: string + type: array + style: form + - description: Physical port type + explode: true + in: query + name: type__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPowerPortList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_ports_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritablePowerPortRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PowerPort' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_ports_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerPortRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_ports_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritablePowerPortRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PowerPort' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-ports/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_ports_destroy + parameters: + - description: A UUID string identifying this power port. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_ports_retrieve + parameters: + - description: A UUID string identifying this power port. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_ports_partial_update + parameters: + - description: A UUID string identifying this power port. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePowerPortRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_power_ports_update + parameters: + - description: A UUID string identifying this power port. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePowerPortRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-ports/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_power_ports_notes_list + parameters: + - description: A UUID string identifying this power port. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_power_ports_notes_create + parameters: + - description: A UUID string identifying this power port. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/power-ports/{id}/trace/: + get: + description: Trace a complete cable path and return each segment as a three-tuple + of (termination, cable, termination). + operationId: dcim_power_ports_trace_retrieve + parameters: + - description: A UUID string identifying this power port. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PowerPort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/rack-groups/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_groups_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_groups_list + parameters: + - description: Children (slug or ID) + explode: true + in: query + name: children + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Children (slug or ID) + explode: true + in: query + name: children__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Has children + in: query + name: has_children + schema: + type: boolean + - description: Has power panels + in: query + name: has_power_panels + schema: + type: boolean + - description: Has racks + in: query + name: has_racks + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Location (slug or ID) + explode: true + in: query + name: location + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Location (slug or ID) + explode: true + in: query + name: location__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Parent (slug) + explode: true + in: query + name: parent + schema: + items: + type: string + type: array + style: form + - description: Parent (slug) + explode: true + in: query + name: parent__n + schema: + items: + type: string + type: array + style: form + - description: Parent (ID) + explode: true + in: query + name: parent_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Parent (ID) + explode: true + in: query + name: parent_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Power panels (name or ID) + explode: true + in: query + name: power_panels + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Power panels (name or ID) + explode: true + in: query + name: power_panels__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: racks + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: racks__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug or ID) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug or ID) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) (deprecated, use "region" filter instead) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) (deprecated, use "region" filter instead) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (slug or ID) + explode: true + in: query + name: site + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (slug or ID) + explode: true + in: query + name: site__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) (deprecated, use "site" filter instead) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) (deprecated, use "site" filter instead) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRackGroupList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_groups_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableRackGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/RackGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_groups_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRackGroupRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_groups_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableRackGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/RackGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/rack-groups/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_groups_destroy + parameters: + - description: A UUID string identifying this rack group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_groups_retrieve + parameters: + - description: A UUID string identifying this rack group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_groups_partial_update + parameters: + - description: A UUID string identifying this rack group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRackGroupRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_groups_update + parameters: + - description: A UUID string identifying this rack group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRackGroupRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/rack-groups/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_rack_groups_notes_list + parameters: + - description: A UUID string identifying this rack group. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_rack_groups_notes_create + parameters: + - description: A UUID string identifying this rack group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/rack-reservations/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_reservations_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_reservations_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Rack group (slug) + explode: true + in: query + name: group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rack group (slug) + explode: true + in: query + name: group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rack group (ID) + explode: true + in: query + name: group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rack group (ID) + explode: true + in: query + name: group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - description: Rack (name or ID) + explode: true + in: query + name: rack + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rack (name or ID) + explode: true + in: query + name: rack__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rack (ID) + explode: true + in: query + name: rack_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rack (ID) + explode: true + in: query + name: rack_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (slug) + explode: true + in: query + name: site + schema: + items: + type: string + type: array + style: form + - description: Site (slug) + explode: true + in: query + name: site__n + schema: + items: + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: User (name) + explode: true + in: query + name: user + schema: + items: + type: string + type: array + style: form + - description: User (name) + explode: true + in: query + name: user__n + schema: + items: + type: string + type: array + style: form + - description: User (ID) + explode: true + in: query + name: user_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: User (ID) + explode: true + in: query + name: user_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRackReservationList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_reservations_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableRackReservationRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/RackReservation' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_reservations_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRackReservationRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackReservation' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_reservations_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableRackReservationRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/RackReservation' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/rack-reservations/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_reservations_destroy + parameters: + - description: A UUID string identifying this rack reservation. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_reservations_retrieve + parameters: + - description: A UUID string identifying this rack reservation. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackReservation' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_reservations_partial_update + parameters: + - description: A UUID string identifying this rack reservation. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRackReservationRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackReservation' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_reservations_update + parameters: + - description: A UUID string identifying this rack reservation. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRackReservationRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackReservation' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/rack-reservations/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_rack_reservations_notes_list + parameters: + - description: A UUID string identifying this rack reservation. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_rack_reservations_notes_create + parameters: + - description: A UUID string identifying this rack reservation. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/rack-roles/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_roles_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_roles_list + parameters: + - explode: true + in: query + name: color + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__re + schema: + items: + type: string + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Has racks + in: query + name: has_racks + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: racks + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: racks__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRackRoleList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_roles_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableRackRoleRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/RackRole' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_roles_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RackRoleRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackRole' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_roles_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableRackRoleRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/RackRole' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/rack-roles/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_roles_destroy + parameters: + - description: A UUID string identifying this rack role. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_roles_retrieve + parameters: + - description: A UUID string identifying this rack role. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackRole' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_roles_partial_update + parameters: + - description: A UUID string identifying this rack role. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedRackRoleRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackRole' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rack_roles_update + parameters: + - description: A UUID string identifying this rack role. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RackRoleRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RackRole' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/rack-roles/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_rack_roles_notes_list + parameters: + - description: A UUID string identifying this rack role. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_rack_roles_notes_create + parameters: + - description: A UUID string identifying this rack role. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/racks/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_racks_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_racks_list + parameters: + - explode: true + in: query + name: asset_tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__re + schema: + items: + type: string + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - in: query + name: desc_units + schema: + type: boolean + - explode: true + in: query + name: devices + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: devices__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: facility_id + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__re + schema: + items: + type: string + type: array + style: form + - description: Rack group (slug) + explode: true + in: query + name: group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rack group (slug) + explode: true + in: query + name: group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rack group (ID) + explode: true + in: query + name: group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rack group (ID) + explode: true + in: query + name: group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Has devices + in: query + name: has_devices + schema: + type: boolean + - description: Has power feeds + in: query + name: has_power_feeds + schema: + type: boolean + - description: Has reservations + in: query + name: has_reservations + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Location (slug or ID) + explode: true + in: query + name: location + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Location (slug or ID) + explode: true + in: query + name: location__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - explode: true + in: query + name: outer_depth + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: outer_depth__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: outer_depth__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: outer_depth__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: outer_depth__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: outer_depth__n + schema: + items: + type: integer + type: array + style: form + - in: query + name: outer_unit + schema: + type: string + - in: query + name: outer_unit__n + schema: + type: string + - explode: true + in: query + name: outer_width + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: outer_width__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: outer_width__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: outer_width__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: outer_width__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: outer_width__n + schema: + items: + type: integer + type: array + style: form + - description: Power feeds (name or ID) + explode: true + in: query + name: power_feeds + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Power feeds (name or ID) + explode: true + in: query + name: power_feeds__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - description: Region (slug or ID) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug or ID) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) (deprecated, use "region" filter instead) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) (deprecated, use "region" filter instead) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: reservations + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: reservations__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Role (slug) + explode: true + in: query + name: role + schema: + items: + type: string + type: array + style: form + - description: Role (slug) + explode: true + in: query + name: role__n + schema: + items: + type: string + type: array + style: form + - description: Role (ID) + explode: true + in: query + name: role_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Role (ID) + explode: true + in: query + name: role_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - in: query + name: serial + schema: + type: string + - description: Site (slug or ID) + explode: true + in: query + name: site + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (slug or ID) + explode: true + in: query + name: site__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) (deprecated, use "site" filter instead) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) (deprecated, use "site" filter instead) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: type + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: type__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: u_height + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: u_height__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: u_height__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: u_height__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: u_height__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: u_height__n + schema: + items: + type: integer + type: array + style: form + - description: Rail-to-rail width + explode: true + in: query + name: width + schema: + items: + type: integer + type: array + style: form + - description: Rail-to-rail width + explode: true + in: query + name: width__n + schema: + items: + type: integer + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRackList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_racks_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableRackRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Rack' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_racks_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRackRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Rack' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_racks_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableRackRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Rack' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/racks/{id}/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_racks_destroy + parameters: + - description: A UUID string identifying this rack. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_racks_retrieve + parameters: + - description: A UUID string identifying this rack. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Rack' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_racks_partial_update + parameters: + - description: A UUID string identifying this rack. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRackRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Rack' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_racks_update + parameters: + - description: A UUID string identifying this rack. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRackRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Rack' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/racks/{id}/elevation/: + get: + description: Rack elevation representing the list of rack units. Also supports + rendering the elevation as an SVG. + operationId: dcim_racks_elevation_list + parameters: + - explode: true + in: query + name: asset_tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: asset_tag__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__re + schema: + items: + type: string + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - in: query + name: desc_units + schema: + type: boolean + - explode: true + in: query + name: devices + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: devices__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: display_fullname + schema: + default: true + type: boolean + - in: query + name: exclude + schema: + format: uuid + type: string + - in: query + name: expand_devices + schema: + default: true + type: boolean + - in: query + name: face + schema: + default: front + enum: + - front + - rear + minLength: 1 + type: string + - explode: true + in: query + name: facility_id + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility_id__re + schema: + items: + type: string + type: array + style: form + - description: Rack group (slug) + explode: true + in: query + name: group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rack group (slug) + explode: true + in: query + name: group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rack group (ID) + explode: true + in: query + name: group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rack group (ID) + explode: true + in: query + name: group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Has devices + in: query + name: has_devices + schema: + type: boolean + - description: Has power feeds + in: query + name: has_power_feeds + schema: + type: boolean + - description: Has reservations + in: query + name: has_reservations + schema: + type: boolean + - description: A UUID string identifying this rack. + in: path + name: id + required: true + schema: + format: uuid + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: include_images + schema: + default: true + type: boolean + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - in: query + name: legend_width + schema: + default: 30 + type: integer + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Location (slug or ID) + explode: true + in: query + name: location + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Location (slug or ID) + explode: true + in: query + name: location__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - explode: true + in: query + name: outer_depth + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: outer_depth__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: outer_depth__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: outer_depth__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: outer_depth__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: outer_depth__n + schema: + items: + type: integer + type: array + style: form + - in: query + name: outer_unit + schema: + type: string + - in: query + name: outer_unit__n + schema: + type: string + - explode: true + in: query + name: outer_width + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: outer_width__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: outer_width__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: outer_width__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: outer_width__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: outer_width__n + schema: + items: + type: integer + type: array + style: form + - description: Power feeds (name or ID) + explode: true + in: query + name: power_feeds + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Power feeds (name or ID) + explode: true + in: query + name: power_feeds__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: q + schema: + minLength: 1 + type: string + - description: Region (slug or ID) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug or ID) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) (deprecated, use "region" filter instead) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) (deprecated, use "region" filter instead) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: render + schema: + default: json + enum: + - json + - svg + minLength: 1 + type: string + - explode: true + in: query + name: reservations + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: reservations__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Role (slug) + explode: true + in: query + name: role + schema: + items: + type: string + type: array + style: form + - description: Role (slug) + explode: true + in: query + name: role__n + schema: + items: + type: string + type: array + style: form + - description: Role (ID) + explode: true + in: query + name: role_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Role (ID) + explode: true + in: query + name: role_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - in: query + name: serial + schema: + type: string + - description: Site (slug or ID) + explode: true + in: query + name: site + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (slug or ID) + explode: true + in: query + name: site__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) (deprecated, use "site" filter instead) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) (deprecated, use "site" filter instead) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: type + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: type__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: u_height + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: u_height__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: u_height__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: u_height__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: u_height__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: u_height__n + schema: + items: + type: integer + type: array + style: form + - in: query + name: unit_height + schema: + type: integer + - in: query + name: unit_width + schema: + type: integer + - description: Rail-to-rail width + explode: true + in: query + name: width + schema: + items: + type: integer + type: array + style: form + - description: Rail-to-rail width + explode: true + in: query + name: width__n + schema: + items: + type: integer + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRackUnitList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/racks/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_racks_notes_list + parameters: + - description: A UUID string identifying this rack. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_racks_notes_create + parameters: + - description: A UUID string identifying this rack. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/rear-port-templates/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rear_port_templates_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rear_port_templates_list + parameters: + - description: Description + explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - description: Description + explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Device type (slug or ID) + explode: true + in: query + name: device_type + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (slug or ID) + explode: true + in: query + name: device_type__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (ID) + explode: true + in: query + name: devicetype_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device type (ID) + explode: true + in: query + name: devicetype_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Front port templates + explode: true + in: query + name: front_port_templates + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Front port templates + explode: true + in: query + name: front_port_templates__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Has front port templates + in: query + name: has_front_port_templates + schema: + type: boolean + - description: ID + explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - description: ID + explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ic + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ie + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__iew + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__ire + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__isw + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__n + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nic + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nie + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__niew + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nire + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nisw + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__nre + schema: + items: + type: string + type: array + style: form + - description: Label + explode: true + in: query + name: label__re + schema: + items: + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Name + explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - description: Name + explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - explode: true + in: query + name: positions + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: positions__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: positions__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: positions__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: positions__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: positions__n + schema: + items: + type: integer + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - in: query + name: type + schema: + type: string + - in: query + name: type__n + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRearPortTemplateList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rear_port_templates_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableRearPortTemplateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/RearPortTemplate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rear_port_templates_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRearPortTemplateRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPortTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rear_port_templates_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableRearPortTemplateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/RearPortTemplate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/rear-port-templates/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rear_port_templates_destroy + parameters: + - description: A UUID string identifying this rear port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rear_port_templates_retrieve + parameters: + - description: A UUID string identifying this rear port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPortTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rear_port_templates_partial_update + parameters: + - description: A UUID string identifying this rear port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRearPortTemplateRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPortTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rear_port_templates_update + parameters: + - description: A UUID string identifying this rear port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRearPortTemplateRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPortTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/rear-port-templates/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_rear_port_templates_notes_list + parameters: + - description: A UUID string identifying this rear port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_rear_port_templates_notes_create + parameters: + - description: A UUID string identifying this rear port template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/rear-ports/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rear_ports_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rear_ports_list + parameters: + - description: Cable + explode: true + in: query + name: cable + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Cable + explode: true + in: query + name: cable__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: cabled + schema: + type: boolean + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Device (name) + explode: true + in: query + name: device + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device (name) + explode: true + in: query + name: device__n + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Front ports (name or ID) + explode: true + in: query + name: front_ports + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Front ports (name or ID) + explode: true + in: query + name: front_ports__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Has front ports + in: query + name: has_front_ports + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: label + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: label__re + schema: + items: + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - explode: true + in: query + name: positions + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: positions__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: positions__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: positions__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: positions__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: positions__n + schema: + items: + type: integer + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - description: Region (slug) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site + schema: + items: + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site__n + schema: + items: + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - in: query + name: type + schema: + type: string + - in: query + name: type__n + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRearPortList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rear_ports_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableRearPortRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/RearPort' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rear_ports_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRearPortRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rear_ports_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableRearPortRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/RearPort' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/rear-ports/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rear_ports_destroy + parameters: + - description: A UUID string identifying this rear port. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rear_ports_retrieve + parameters: + - description: A UUID string identifying this rear port. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rear_ports_partial_update + parameters: + - description: A UUID string identifying this rear port. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRearPortRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_rear_ports_update + parameters: + - description: A UUID string identifying this rear port. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRearPortRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/rear-ports/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_rear_ports_notes_list + parameters: + - description: A UUID string identifying this rear port. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_rear_ports_notes_create + parameters: + - description: A UUID string identifying this rear port. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/rear-ports/{id}/paths/: + get: + description: Return all CablePaths which traverse a given pass-through port. + operationId: dcim_rear_ports_paths_retrieve + parameters: + - description: A UUID string identifying this rear port. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RearPort' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/regions/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_regions_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_regions_list + parameters: + - description: Children (slug or ID) + explode: true + in: query + name: children + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Children (slug or ID) + explode: true + in: query + name: children__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Has children + in: query + name: has_children + schema: + type: boolean + - description: Has sites + in: query + name: has_sites + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Parent region (slug) + explode: true + in: query + name: parent + schema: + items: + type: string + type: array + style: form + - description: Parent region (slug) + explode: true + in: query + name: parent__n + schema: + items: + type: string + type: array + style: form + - description: Parent region (ID) + explode: true + in: query + name: parent_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Parent region (ID) + explode: true + in: query + name: parent_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - description: Sites (slug or ID) + explode: true + in: query + name: sites + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Sites (slug or ID) + explode: true + in: query + name: sites__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRegionList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_regions_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableRegionRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Region' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_regions_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRegionRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Region' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_regions_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableRegionRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Region' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/regions/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_regions_destroy + parameters: + - description: A UUID string identifying this region. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_regions_retrieve + parameters: + - description: A UUID string identifying this region. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Region' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_regions_partial_update + parameters: + - description: A UUID string identifying this region. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRegionRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Region' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_regions_update + parameters: + - description: A UUID string identifying this region. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRegionRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Region' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/regions/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_regions_notes_list + parameters: + - description: A UUID string identifying this region. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_regions_notes_create + parameters: + - description: A UUID string identifying this region. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/sites/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_sites_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_sites_list + parameters: + - explode: true + in: query + name: asn + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: asn__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: asn__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: asn__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: asn__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: asn__n + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: circuit_terminations + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: circuit_terminations__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: clusters + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: clusters__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: comments + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_email + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_email__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_email__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_email__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_email__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_email__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_email__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_email__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_email__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_email__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_email__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_email__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_email__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_email__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_name__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_phone + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_phone__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_phone__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_phone__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_phone__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_phone__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_phone__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_phone__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_phone__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_phone__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_phone__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_phone__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_phone__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contact_phone__re + schema: + items: + type: string + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Devices (name or ID) + explode: true + in: query + name: devices + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Devices (name or ID) + explode: true + in: query + name: devices__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: facility + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: facility__re + schema: + items: + type: string + type: array + style: form + - description: Has circuit terminations + in: query + name: has_circuit_terminations + schema: + type: boolean + - description: Has clusters + in: query + name: has_clusters + schema: + type: boolean + - description: Has devices + in: query + name: has_devices + schema: + type: boolean + - description: Has locations + in: query + name: has_locations + schema: + type: boolean + - description: Has power panels + in: query + name: has_power_panels + schema: + type: boolean + - description: Has prefixes + in: query + name: has_prefixes + schema: + type: boolean + - description: Has rack groups + in: query + name: has_rack_groups + schema: + type: boolean + - description: Has racks + in: query + name: has_racks + schema: + type: boolean + - description: Has vlan groups + in: query + name: has_vlan_groups + schema: + type: boolean + - description: Has vlans + in: query + name: has_vlans + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - explode: true + in: query + name: latitude + schema: + items: + type: number + type: array + style: form + - explode: true + in: query + name: latitude__gt + schema: + items: + type: number + type: array + style: form + - explode: true + in: query + name: latitude__gte + schema: + items: + type: number + type: array + style: form + - explode: true + in: query + name: latitude__lt + schema: + items: + type: number + type: array + style: form + - explode: true + in: query + name: latitude__lte + schema: + items: + type: number + type: array + style: form + - explode: true + in: query + name: latitude__n + schema: + items: + type: number + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Locations within this Site (slugs or IDs) + explode: true + in: query + name: locations + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Locations within this Site (slugs or IDs) + explode: true + in: query + name: locations__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: longitude + schema: + items: + type: number + type: array + style: form + - explode: true + in: query + name: longitude__gt + schema: + items: + type: number + type: array + style: form + - explode: true + in: query + name: longitude__gte + schema: + items: + type: number + type: array + style: form + - explode: true + in: query + name: longitude__lt + schema: + items: + type: number + type: array + style: form + - explode: true + in: query + name: longitude__lte + schema: + items: + type: number + type: array + style: form + - explode: true + in: query + name: longitude__n + schema: + items: + type: number + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - explode: true + in: query + name: physical_address + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__re + schema: + items: + type: string + type: array + style: form + - description: Power panels (name or ID) + explode: true + in: query + name: power_panels + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Power panels (name or ID) + explode: true + in: query + name: power_panels__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: prefixes + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: prefixes__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - description: Rack groups (slug or ID) + explode: true + in: query + name: rack_groups + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rack groups (slug or ID) + explode: true + in: query + name: rack_groups__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: racks + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: racks__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: shipping_address + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: shipping_address__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: shipping_address__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: shipping_address__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: shipping_address__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: shipping_address__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: shipping_address__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: shipping_address__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: shipping_address__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: shipping_address__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: shipping_address__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: shipping_address__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: shipping_address__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: shipping_address__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: status + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Time zone + explode: true + in: query + name: time_zone + schema: + items: + enum: + - Africa/Abidjan + - Africa/Accra + - Africa/Addis_Ababa + - Africa/Algiers + - Africa/Asmara + - Africa/Bamako + - Africa/Bangui + - Africa/Banjul + - Africa/Bissau + - Africa/Blantyre + - Africa/Brazzaville + - Africa/Bujumbura + - Africa/Cairo + - Africa/Casablanca + - Africa/Ceuta + - Africa/Conakry + - Africa/Dakar + - Africa/Dar_es_Salaam + - Africa/Djibouti + - Africa/Douala + - Africa/El_Aaiun + - Africa/Freetown + - Africa/Gaborone + - Africa/Harare + - Africa/Johannesburg + - Africa/Juba + - Africa/Kampala + - Africa/Khartoum + - Africa/Kigali + - Africa/Kinshasa + - Africa/Lagos + - Africa/Libreville + - Africa/Lome + - Africa/Luanda + - Africa/Lubumbashi + - Africa/Lusaka + - Africa/Malabo + - Africa/Maputo + - Africa/Maseru + - Africa/Mbabane + - Africa/Mogadishu + - Africa/Monrovia + - Africa/Nairobi + - Africa/Ndjamena + - Africa/Niamey + - Africa/Nouakchott + - Africa/Ouagadougou + - Africa/Porto-Novo + - Africa/Sao_Tome + - Africa/Tripoli + - Africa/Tunis + - Africa/Windhoek + - America/Adak + - America/Anchorage + - America/Anguilla + - America/Antigua + - America/Araguaina + - America/Argentina/Buenos_Aires + - America/Argentina/Catamarca + - America/Argentina/Cordoba + - America/Argentina/Jujuy + - America/Argentina/La_Rioja + - America/Argentina/Mendoza + - America/Argentina/Rio_Gallegos + - America/Argentina/Salta + - America/Argentina/San_Juan + - America/Argentina/San_Luis + - America/Argentina/Tucuman + - America/Argentina/Ushuaia + - America/Aruba + - America/Asuncion + - America/Atikokan + - America/Bahia + - America/Bahia_Banderas + - America/Barbados + - America/Belem + - America/Belize + - America/Blanc-Sablon + - America/Boa_Vista + - America/Bogota + - America/Boise + - America/Cambridge_Bay + - America/Campo_Grande + - America/Cancun + - America/Caracas + - America/Cayenne + - America/Cayman + - America/Chicago + - America/Chihuahua + - America/Ciudad_Juarez + - America/Costa_Rica + - America/Creston + - America/Cuiaba + - America/Curacao + - America/Danmarkshavn + - America/Dawson + - America/Dawson_Creek + - America/Denver + - America/Detroit + - America/Dominica + - America/Edmonton + - America/Eirunepe + - America/El_Salvador + - America/Fort_Nelson + - America/Fortaleza + - America/Glace_Bay + - America/Goose_Bay + - America/Grand_Turk + - America/Grenada + - America/Guadeloupe + - America/Guatemala + - America/Guayaquil + - America/Guyana + - America/Halifax + - America/Havana + - America/Hermosillo + - America/Indiana/Indianapolis + - America/Indiana/Knox + - America/Indiana/Marengo + - America/Indiana/Petersburg + - America/Indiana/Tell_City + - America/Indiana/Vevay + - America/Indiana/Vincennes + - America/Indiana/Winamac + - America/Inuvik + - America/Iqaluit + - America/Jamaica + - America/Juneau + - America/Kentucky/Louisville + - America/Kentucky/Monticello + - America/Kralendijk + - America/La_Paz + - America/Lima + - America/Los_Angeles + - America/Lower_Princes + - America/Maceio + - America/Managua + - America/Manaus + - America/Marigot + - America/Martinique + - America/Matamoros + - America/Mazatlan + - America/Menominee + - America/Merida + - America/Metlakatla + - America/Mexico_City + - America/Miquelon + - America/Moncton + - America/Monterrey + - America/Montevideo + - America/Montserrat + - America/Nassau + - America/New_York + - America/Nome + - America/Noronha + - America/North_Dakota/Beulah + - America/North_Dakota/Center + - America/North_Dakota/New_Salem + - America/Nuuk + - America/Ojinaga + - America/Panama + - America/Paramaribo + - America/Phoenix + - America/Port-au-Prince + - America/Port_of_Spain + - America/Porto_Velho + - America/Puerto_Rico + - America/Punta_Arenas + - America/Rankin_Inlet + - America/Recife + - America/Regina + - America/Resolute + - America/Rio_Branco + - America/Santarem + - America/Santiago + - America/Santo_Domingo + - America/Sao_Paulo + - America/Scoresbysund + - America/Sitka + - America/St_Barthelemy + - America/St_Johns + - America/St_Kitts + - America/St_Lucia + - America/St_Thomas + - America/St_Vincent + - America/Swift_Current + - America/Tegucigalpa + - America/Thule + - America/Tijuana + - America/Toronto + - America/Tortola + - America/Vancouver + - America/Whitehorse + - America/Winnipeg + - America/Yakutat + - America/Yellowknife + - Antarctica/Casey + - Antarctica/Davis + - Antarctica/DumontDUrville + - Antarctica/Macquarie + - Antarctica/Mawson + - Antarctica/McMurdo + - Antarctica/Palmer + - Antarctica/Rothera + - Antarctica/Syowa + - Antarctica/Troll + - Antarctica/Vostok + - Arctic/Longyearbyen + - Asia/Aden + - Asia/Almaty + - Asia/Amman + - Asia/Anadyr + - Asia/Aqtau + - Asia/Aqtobe + - Asia/Ashgabat + - Asia/Atyrau + - Asia/Baghdad + - Asia/Bahrain + - Asia/Baku + - Asia/Bangkok + - Asia/Barnaul + - Asia/Beirut + - Asia/Bishkek + - Asia/Brunei + - Asia/Chita + - Asia/Choibalsan + - Asia/Colombo + - Asia/Damascus + - Asia/Dhaka + - Asia/Dili + - Asia/Dubai + - Asia/Dushanbe + - Asia/Famagusta + - Asia/Gaza + - Asia/Hebron + - Asia/Ho_Chi_Minh + - Asia/Hong_Kong + - Asia/Hovd + - Asia/Irkutsk + - Asia/Jakarta + - Asia/Jayapura + - Asia/Jerusalem + - Asia/Kabul + - Asia/Kamchatka + - Asia/Karachi + - Asia/Kathmandu + - Asia/Khandyga + - Asia/Kolkata + - Asia/Krasnoyarsk + - Asia/Kuala_Lumpur + - Asia/Kuching + - Asia/Kuwait + - Asia/Macau + - Asia/Magadan + - Asia/Makassar + - Asia/Manila + - Asia/Muscat + - Asia/Nicosia + - Asia/Novokuznetsk + - Asia/Novosibirsk + - Asia/Omsk + - Asia/Oral + - Asia/Phnom_Penh + - Asia/Pontianak + - Asia/Pyongyang + - Asia/Qatar + - Asia/Qostanay + - Asia/Qyzylorda + - Asia/Riyadh + - Asia/Sakhalin + - Asia/Samarkand + - Asia/Seoul + - Asia/Shanghai + - Asia/Singapore + - Asia/Srednekolymsk + - Asia/Taipei + - Asia/Tashkent + - Asia/Tbilisi + - Asia/Tehran + - Asia/Thimphu + - Asia/Tokyo + - Asia/Tomsk + - Asia/Ulaanbaatar + - Asia/Urumqi + - Asia/Ust-Nera + - Asia/Vientiane + - Asia/Vladivostok + - Asia/Yakutsk + - Asia/Yangon + - Asia/Yekaterinburg + - Asia/Yerevan + - Atlantic/Azores + - Atlantic/Bermuda + - Atlantic/Canary + - Atlantic/Cape_Verde + - Atlantic/Faroe + - Atlantic/Madeira + - Atlantic/Reykjavik + - Atlantic/South_Georgia + - Atlantic/St_Helena + - Atlantic/Stanley + - Australia/Adelaide + - Australia/Brisbane + - Australia/Broken_Hill + - Australia/Darwin + - Australia/Eucla + - Australia/Hobart + - Australia/Lindeman + - Australia/Lord_Howe + - Australia/Melbourne + - Australia/Perth + - Australia/Sydney + - Canada/Atlantic + - Canada/Central + - Canada/Eastern + - Canada/Mountain + - Canada/Newfoundland + - Canada/Pacific + - Europe/Amsterdam + - Europe/Andorra + - Europe/Astrakhan + - Europe/Athens + - Europe/Belgrade + - Europe/Berlin + - Europe/Bratislava + - Europe/Brussels + - Europe/Bucharest + - Europe/Budapest + - Europe/Busingen + - Europe/Chisinau + - Europe/Copenhagen + - Europe/Dublin + - Europe/Gibraltar + - Europe/Guernsey + - Europe/Helsinki + - Europe/Isle_of_Man + - Europe/Istanbul + - Europe/Jersey + - Europe/Kaliningrad + - Europe/Kirov + - Europe/Kyiv + - Europe/Lisbon + - Europe/Ljubljana + - Europe/London + - Europe/Luxembourg + - Europe/Madrid + - Europe/Malta + - Europe/Mariehamn + - Europe/Minsk + - Europe/Monaco + - Europe/Moscow + - Europe/Oslo + - Europe/Paris + - Europe/Podgorica + - Europe/Prague + - Europe/Riga + - Europe/Rome + - Europe/Samara + - Europe/San_Marino + - Europe/Sarajevo + - Europe/Saratov + - Europe/Simferopol + - Europe/Skopje + - Europe/Sofia + - Europe/Stockholm + - Europe/Tallinn + - Europe/Tirane + - Europe/Ulyanovsk + - Europe/Vaduz + - Europe/Vatican + - Europe/Vienna + - Europe/Vilnius + - Europe/Volgograd + - Europe/Warsaw + - Europe/Zagreb + - Europe/Zurich + - GMT + - Indian/Antananarivo + - Indian/Chagos + - Indian/Christmas + - Indian/Cocos + - Indian/Comoro + - Indian/Kerguelen + - Indian/Mahe + - Indian/Maldives + - Indian/Mauritius + - Indian/Mayotte + - Indian/Reunion + - Pacific/Apia + - Pacific/Auckland + - Pacific/Bougainville + - Pacific/Chatham + - Pacific/Chuuk + - Pacific/Easter + - Pacific/Efate + - Pacific/Fakaofo + - Pacific/Fiji + - Pacific/Funafuti + - Pacific/Galapagos + - Pacific/Gambier + - Pacific/Guadalcanal + - Pacific/Guam + - Pacific/Honolulu + - Pacific/Kanton + - Pacific/Kiritimati + - Pacific/Kosrae + - Pacific/Kwajalein + - Pacific/Majuro + - Pacific/Marquesas + - Pacific/Midway + - Pacific/Nauru + - Pacific/Niue + - Pacific/Norfolk + - Pacific/Noumea + - Pacific/Pago_Pago + - Pacific/Palau + - Pacific/Pitcairn + - Pacific/Pohnpei + - Pacific/Port_Moresby + - Pacific/Rarotonga + - Pacific/Saipan + - Pacific/Tahiti + - Pacific/Tarawa + - Pacific/Tongatapu + - Pacific/Wake + - Pacific/Wallis + - US/Alaska + - US/Arizona + - US/Central + - US/Eastern + - US/Hawaii + - US/Mountain + - US/Pacific + - UTC + type: array + style: form + - description: Time zone + explode: true + in: query + name: time_zone__n + schema: + items: + enum: + - Africa/Abidjan + - Africa/Accra + - Africa/Addis_Ababa + - Africa/Algiers + - Africa/Asmara + - Africa/Bamako + - Africa/Bangui + - Africa/Banjul + - Africa/Bissau + - Africa/Blantyre + - Africa/Brazzaville + - Africa/Bujumbura + - Africa/Cairo + - Africa/Casablanca + - Africa/Ceuta + - Africa/Conakry + - Africa/Dakar + - Africa/Dar_es_Salaam + - Africa/Djibouti + - Africa/Douala + - Africa/El_Aaiun + - Africa/Freetown + - Africa/Gaborone + - Africa/Harare + - Africa/Johannesburg + - Africa/Juba + - Africa/Kampala + - Africa/Khartoum + - Africa/Kigali + - Africa/Kinshasa + - Africa/Lagos + - Africa/Libreville + - Africa/Lome + - Africa/Luanda + - Africa/Lubumbashi + - Africa/Lusaka + - Africa/Malabo + - Africa/Maputo + - Africa/Maseru + - Africa/Mbabane + - Africa/Mogadishu + - Africa/Monrovia + - Africa/Nairobi + - Africa/Ndjamena + - Africa/Niamey + - Africa/Nouakchott + - Africa/Ouagadougou + - Africa/Porto-Novo + - Africa/Sao_Tome + - Africa/Tripoli + - Africa/Tunis + - Africa/Windhoek + - America/Adak + - America/Anchorage + - America/Anguilla + - America/Antigua + - America/Araguaina + - America/Argentina/Buenos_Aires + - America/Argentina/Catamarca + - America/Argentina/Cordoba + - America/Argentina/Jujuy + - America/Argentina/La_Rioja + - America/Argentina/Mendoza + - America/Argentina/Rio_Gallegos + - America/Argentina/Salta + - America/Argentina/San_Juan + - America/Argentina/San_Luis + - America/Argentina/Tucuman + - America/Argentina/Ushuaia + - America/Aruba + - America/Asuncion + - America/Atikokan + - America/Bahia + - America/Bahia_Banderas + - America/Barbados + - America/Belem + - America/Belize + - America/Blanc-Sablon + - America/Boa_Vista + - America/Bogota + - America/Boise + - America/Cambridge_Bay + - America/Campo_Grande + - America/Cancun + - America/Caracas + - America/Cayenne + - America/Cayman + - America/Chicago + - America/Chihuahua + - America/Ciudad_Juarez + - America/Costa_Rica + - America/Creston + - America/Cuiaba + - America/Curacao + - America/Danmarkshavn + - America/Dawson + - America/Dawson_Creek + - America/Denver + - America/Detroit + - America/Dominica + - America/Edmonton + - America/Eirunepe + - America/El_Salvador + - America/Fort_Nelson + - America/Fortaleza + - America/Glace_Bay + - America/Goose_Bay + - America/Grand_Turk + - America/Grenada + - America/Guadeloupe + - America/Guatemala + - America/Guayaquil + - America/Guyana + - America/Halifax + - America/Havana + - America/Hermosillo + - America/Indiana/Indianapolis + - America/Indiana/Knox + - America/Indiana/Marengo + - America/Indiana/Petersburg + - America/Indiana/Tell_City + - America/Indiana/Vevay + - America/Indiana/Vincennes + - America/Indiana/Winamac + - America/Inuvik + - America/Iqaluit + - America/Jamaica + - America/Juneau + - America/Kentucky/Louisville + - America/Kentucky/Monticello + - America/Kralendijk + - America/La_Paz + - America/Lima + - America/Los_Angeles + - America/Lower_Princes + - America/Maceio + - America/Managua + - America/Manaus + - America/Marigot + - America/Martinique + - America/Matamoros + - America/Mazatlan + - America/Menominee + - America/Merida + - America/Metlakatla + - America/Mexico_City + - America/Miquelon + - America/Moncton + - America/Monterrey + - America/Montevideo + - America/Montserrat + - America/Nassau + - America/New_York + - America/Nome + - America/Noronha + - America/North_Dakota/Beulah + - America/North_Dakota/Center + - America/North_Dakota/New_Salem + - America/Nuuk + - America/Ojinaga + - America/Panama + - America/Paramaribo + - America/Phoenix + - America/Port-au-Prince + - America/Port_of_Spain + - America/Porto_Velho + - America/Puerto_Rico + - America/Punta_Arenas + - America/Rankin_Inlet + - America/Recife + - America/Regina + - America/Resolute + - America/Rio_Branco + - America/Santarem + - America/Santiago + - America/Santo_Domingo + - America/Sao_Paulo + - America/Scoresbysund + - America/Sitka + - America/St_Barthelemy + - America/St_Johns + - America/St_Kitts + - America/St_Lucia + - America/St_Thomas + - America/St_Vincent + - America/Swift_Current + - America/Tegucigalpa + - America/Thule + - America/Tijuana + - America/Toronto + - America/Tortola + - America/Vancouver + - America/Whitehorse + - America/Winnipeg + - America/Yakutat + - America/Yellowknife + - Antarctica/Casey + - Antarctica/Davis + - Antarctica/DumontDUrville + - Antarctica/Macquarie + - Antarctica/Mawson + - Antarctica/McMurdo + - Antarctica/Palmer + - Antarctica/Rothera + - Antarctica/Syowa + - Antarctica/Troll + - Antarctica/Vostok + - Arctic/Longyearbyen + - Asia/Aden + - Asia/Almaty + - Asia/Amman + - Asia/Anadyr + - Asia/Aqtau + - Asia/Aqtobe + - Asia/Ashgabat + - Asia/Atyrau + - Asia/Baghdad + - Asia/Bahrain + - Asia/Baku + - Asia/Bangkok + - Asia/Barnaul + - Asia/Beirut + - Asia/Bishkek + - Asia/Brunei + - Asia/Chita + - Asia/Choibalsan + - Asia/Colombo + - Asia/Damascus + - Asia/Dhaka + - Asia/Dili + - Asia/Dubai + - Asia/Dushanbe + - Asia/Famagusta + - Asia/Gaza + - Asia/Hebron + - Asia/Ho_Chi_Minh + - Asia/Hong_Kong + - Asia/Hovd + - Asia/Irkutsk + - Asia/Jakarta + - Asia/Jayapura + - Asia/Jerusalem + - Asia/Kabul + - Asia/Kamchatka + - Asia/Karachi + - Asia/Kathmandu + - Asia/Khandyga + - Asia/Kolkata + - Asia/Krasnoyarsk + - Asia/Kuala_Lumpur + - Asia/Kuching + - Asia/Kuwait + - Asia/Macau + - Asia/Magadan + - Asia/Makassar + - Asia/Manila + - Asia/Muscat + - Asia/Nicosia + - Asia/Novokuznetsk + - Asia/Novosibirsk + - Asia/Omsk + - Asia/Oral + - Asia/Phnom_Penh + - Asia/Pontianak + - Asia/Pyongyang + - Asia/Qatar + - Asia/Qostanay + - Asia/Qyzylorda + - Asia/Riyadh + - Asia/Sakhalin + - Asia/Samarkand + - Asia/Seoul + - Asia/Shanghai + - Asia/Singapore + - Asia/Srednekolymsk + - Asia/Taipei + - Asia/Tashkent + - Asia/Tbilisi + - Asia/Tehran + - Asia/Thimphu + - Asia/Tokyo + - Asia/Tomsk + - Asia/Ulaanbaatar + - Asia/Urumqi + - Asia/Ust-Nera + - Asia/Vientiane + - Asia/Vladivostok + - Asia/Yakutsk + - Asia/Yangon + - Asia/Yekaterinburg + - Asia/Yerevan + - Atlantic/Azores + - Atlantic/Bermuda + - Atlantic/Canary + - Atlantic/Cape_Verde + - Atlantic/Faroe + - Atlantic/Madeira + - Atlantic/Reykjavik + - Atlantic/South_Georgia + - Atlantic/St_Helena + - Atlantic/Stanley + - Australia/Adelaide + - Australia/Brisbane + - Australia/Broken_Hill + - Australia/Darwin + - Australia/Eucla + - Australia/Hobart + - Australia/Lindeman + - Australia/Lord_Howe + - Australia/Melbourne + - Australia/Perth + - Australia/Sydney + - Canada/Atlantic + - Canada/Central + - Canada/Eastern + - Canada/Mountain + - Canada/Newfoundland + - Canada/Pacific + - Europe/Amsterdam + - Europe/Andorra + - Europe/Astrakhan + - Europe/Athens + - Europe/Belgrade + - Europe/Berlin + - Europe/Bratislava + - Europe/Brussels + - Europe/Bucharest + - Europe/Budapest + - Europe/Busingen + - Europe/Chisinau + - Europe/Copenhagen + - Europe/Dublin + - Europe/Gibraltar + - Europe/Guernsey + - Europe/Helsinki + - Europe/Isle_of_Man + - Europe/Istanbul + - Europe/Jersey + - Europe/Kaliningrad + - Europe/Kirov + - Europe/Kyiv + - Europe/Lisbon + - Europe/Ljubljana + - Europe/London + - Europe/Luxembourg + - Europe/Madrid + - Europe/Malta + - Europe/Mariehamn + - Europe/Minsk + - Europe/Monaco + - Europe/Moscow + - Europe/Oslo + - Europe/Paris + - Europe/Podgorica + - Europe/Prague + - Europe/Riga + - Europe/Rome + - Europe/Samara + - Europe/San_Marino + - Europe/Sarajevo + - Europe/Saratov + - Europe/Simferopol + - Europe/Skopje + - Europe/Sofia + - Europe/Stockholm + - Europe/Tallinn + - Europe/Tirane + - Europe/Ulyanovsk + - Europe/Vaduz + - Europe/Vatican + - Europe/Vienna + - Europe/Vilnius + - Europe/Volgograd + - Europe/Warsaw + - Europe/Zagreb + - Europe/Zurich + - GMT + - Indian/Antananarivo + - Indian/Chagos + - Indian/Christmas + - Indian/Cocos + - Indian/Comoro + - Indian/Kerguelen + - Indian/Mahe + - Indian/Maldives + - Indian/Mauritius + - Indian/Mayotte + - Indian/Reunion + - Pacific/Apia + - Pacific/Auckland + - Pacific/Bougainville + - Pacific/Chatham + - Pacific/Chuuk + - Pacific/Easter + - Pacific/Efate + - Pacific/Fakaofo + - Pacific/Fiji + - Pacific/Funafuti + - Pacific/Galapagos + - Pacific/Gambier + - Pacific/Guadalcanal + - Pacific/Guam + - Pacific/Honolulu + - Pacific/Kanton + - Pacific/Kiritimati + - Pacific/Kosrae + - Pacific/Kwajalein + - Pacific/Majuro + - Pacific/Marquesas + - Pacific/Midway + - Pacific/Nauru + - Pacific/Niue + - Pacific/Norfolk + - Pacific/Noumea + - Pacific/Pago_Pago + - Pacific/Palau + - Pacific/Pitcairn + - Pacific/Pohnpei + - Pacific/Port_Moresby + - Pacific/Rarotonga + - Pacific/Saipan + - Pacific/Tahiti + - Pacific/Tarawa + - Pacific/Tongatapu + - Pacific/Wake + - Pacific/Wallis + - US/Alaska + - US/Arizona + - US/Central + - US/Eastern + - US/Hawaii + - US/Mountain + - US/Pacific + - UTC + type: array + style: form + - description: Vlan groups (slug or ID) + explode: true + in: query + name: vlan_groups + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Vlan groups (slug or ID) + explode: true + in: query + name: vlan_groups__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: vlans + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: vlans__n + schema: + items: + format: uuid + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedSiteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_sites_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableSiteRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Site' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_sites_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSiteRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Site' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_sites_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableSiteRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Site' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/sites/{id}/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_sites_destroy + parameters: + - description: A UUID string identifying this site. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_sites_retrieve + parameters: + - description: A UUID string identifying this site. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Site' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_sites_partial_update + parameters: + - description: A UUID string identifying this site. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableSiteRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Site' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: dcim_sites_update + parameters: + - description: A UUID string identifying this site. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSiteRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Site' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/sites/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_sites_notes_list + parameters: + - description: A UUID string identifying this site. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_sites_notes_create + parameters: + - description: A UUID string identifying this site. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/virtual-chassis/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_virtual_chassis_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_virtual_chassis_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: domain + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: domain__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: domain__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: domain__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: domain__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: domain__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: domain__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: domain__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: domain__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: domain__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: domain__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: domain__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: domain__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: domain__re + schema: + items: + type: string + type: array + style: form + - description: Has device members + in: query + name: has_members + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Master (name) + explode: true + in: query + name: master + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Master (name) + explode: true + in: query + name: master__n + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Master (ID) + explode: true + in: query + name: master_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Master (ID) + explode: true + in: query + name: master_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Device members (name or ID) + explode: true + in: query + name: members + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device members (name or ID) + explode: true + in: query + name: members__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - description: Region (slug) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site + schema: + items: + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site__n + schema: + items: + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Tenant (slug) + explode: true + in: query + name: tenant + schema: + items: + type: string + type: array + style: form + - description: Tenant (slug) + explode: true + in: query + name: tenant__n + schema: + items: + type: string + type: array + style: form + - description: Tenant (ID) + explode: true + in: query + name: tenant_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (ID) + explode: true + in: query + name: tenant_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedVirtualChassisList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_virtual_chassis_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableVirtualChassisRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/VirtualChassis' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_virtual_chassis_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVirtualChassisRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VirtualChassis' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_virtual_chassis_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableVirtualChassisRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/VirtualChassis' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/virtual-chassis/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_virtual_chassis_destroy + parameters: + - description: A UUID string identifying this virtual chassis. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_virtual_chassis_retrieve + parameters: + - description: A UUID string identifying this virtual chassis. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VirtualChassis' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_virtual_chassis_partial_update + parameters: + - description: A UUID string identifying this virtual chassis. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableVirtualChassisRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VirtualChassis' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: dcim_virtual_chassis_update + parameters: + - description: A UUID string identifying this virtual chassis. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVirtualChassisRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VirtualChassis' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /dcim/virtual-chassis/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: dcim_virtual_chassis_notes_list + parameters: + - description: A UUID string identifying this virtual chassis. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + post: + description: API methods for returning or creating notes on an object. + operationId: dcim_virtual_chassis_notes_create + parameters: + - description: A UUID string identifying this virtual chassis. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - dcim + /extras/computed-fields/: + delete: + description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_computed_fields_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_computed_fields_list + parameters: + - in: query + name: content_type + schema: + type: string + - in: query + name: content_type__n + schema: + type: string + - explode: true + in: query + name: fallback_value + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fallback_value__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fallback_value__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fallback_value__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fallback_value__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fallback_value__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fallback_value__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fallback_value__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fallback_value__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fallback_value__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fallback_value__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fallback_value__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fallback_value__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fallback_value__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: template + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: template__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: template__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: template__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: template__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: template__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: template__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: template__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: template__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: template__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: template__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: template__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: template__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: template__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: weight + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__n + schema: + items: + type: integer + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedComputedFieldList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_computed_fields_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableComputedFieldRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ComputedField' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_computed_fields_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ComputedFieldRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComputedField' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_computed_fields_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableComputedFieldRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ComputedField' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/computed-fields/{id}/: + delete: + description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_computed_fields_destroy + parameters: + - description: A UUID string identifying this computed field. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_computed_fields_retrieve + parameters: + - description: A UUID string identifying this computed field. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComputedField' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_computed_fields_partial_update + parameters: + - description: A UUID string identifying this computed field. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedComputedFieldRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComputedField' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_computed_fields_update + parameters: + - description: A UUID string identifying this computed field. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ComputedFieldRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComputedField' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/computed-fields/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: extras_computed_fields_notes_list + parameters: + - description: A UUID string identifying this computed field. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: API methods for returning or creating notes on an object. + operationId: extras_computed_fields_notes_create + parameters: + - description: A UUID string identifying this computed field. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/config-context-schemas/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_config_context_schemas_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_config_context_schemas_list + parameters: + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - in: query + name: owner_content_type + schema: + type: string + - in: query + name: owner_content_type__n + schema: + type: string + - description: Search + in: query + name: q + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedConfigContextSchemaList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_config_context_schemas_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableConfigContextSchemaRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ConfigContextSchema' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_config_context_schemas_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigContextSchemaRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigContextSchema' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_config_context_schemas_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableConfigContextSchemaRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ConfigContextSchema' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/config-context-schemas/{id}/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_config_context_schemas_destroy + parameters: + - description: A UUID string identifying this config context schema. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_config_context_schemas_retrieve + parameters: + - description: A UUID string identifying this config context schema. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigContextSchema' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_config_context_schemas_partial_update + parameters: + - description: A UUID string identifying this config context schema. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedConfigContextSchemaRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigContextSchema' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_config_context_schemas_update + parameters: + - description: A UUID string identifying this config context schema. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigContextSchemaRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigContextSchema' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/config-context-schemas/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: extras_config_context_schemas_notes_list + parameters: + - description: A UUID string identifying this config context schema. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: API methods for returning or creating notes on an object. + operationId: extras_config_context_schemas_notes_create + parameters: + - description: A UUID string identifying this config context schema. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/config-contexts/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_config_contexts_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_config_contexts_list + parameters: + - description: Cluster group (slug) + explode: true + in: query + name: cluster_group + schema: + items: + type: string + type: array + style: form + - description: Cluster group (slug) + explode: true + in: query + name: cluster_group__n + schema: + items: + type: string + type: array + style: form + - description: Cluster group + explode: true + in: query + name: cluster_group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Cluster group + explode: true + in: query + name: cluster_group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Cluster + explode: true + in: query + name: cluster_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Cluster + explode: true + in: query + name: cluster_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device Redundancy Group (slug or PK) + explode: true + in: query + name: device_redundancy_group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device Redundancy Group (slug or PK) + explode: true + in: query + name: device_redundancy_group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device Type (slug) + explode: true + in: query + name: device_type + schema: + items: + type: string + type: array + style: form + - description: Device Type (slug) + explode: true + in: query + name: device_type__n + schema: + items: + type: string + type: array + style: form + - description: Device Type + explode: true + in: query + name: device_type_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device Type + explode: true + in: query + name: device_type_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: is_active + schema: + type: boolean + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Location (slug) + explode: true + in: query + name: location + schema: + items: + type: string + type: array + style: form + - description: Location (slug) + explode: true + in: query + name: location__n + schema: + items: + type: string + type: array + style: form + - description: Location (ID) + explode: true + in: query + name: location_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Location (ID) + explode: true + in: query + name: location_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - in: query + name: owner_content_type + schema: + type: string + - in: query + name: owner_content_type__n + schema: + type: string + - explode: true + in: query + name: owner_object_id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Platform (slug) + explode: true + in: query + name: platform + schema: + items: + type: string + type: array + style: form + - description: Platform (slug) + explode: true + in: query + name: platform__n + schema: + items: + type: string + type: array + style: form + - description: Platform + explode: true + in: query + name: platform_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Platform + explode: true + in: query + name: platform_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - description: Region (slug) + explode: true + in: query + name: region + schema: + items: + type: string + type: array + style: form + - description: Region (slug) + explode: true + in: query + name: region__n + schema: + items: + type: string + type: array + style: form + - description: Region + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Role (slug) + explode: true + in: query + name: role + schema: + items: + type: string + type: array + style: form + - description: Role (slug) + explode: true + in: query + name: role__n + schema: + items: + type: string + type: array + style: form + - description: Role + explode: true + in: query + name: role_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Role + explode: true + in: query + name: role_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Schema (slug or PK) + explode: true + in: query + name: schema + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Schema (slug or PK) + explode: true + in: query + name: schema__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (slug) + explode: true + in: query + name: site + schema: + items: + type: string + type: array + style: form + - description: Site (slug) + explode: true + in: query + name: site__n + schema: + items: + type: string + type: array + style: form + - description: Site + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tag (slug) + explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - description: Tag (slug) + explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Tenant (slug) + explode: true + in: query + name: tenant + schema: + items: + type: string + type: array + style: form + - description: Tenant (slug) + explode: true + in: query + name: tenant__n + schema: + items: + type: string + type: array + style: form + - description: Tenant group (slug) + explode: true + in: query + name: tenant_group + schema: + items: + type: string + type: array + style: form + - description: Tenant group (slug) + explode: true + in: query + name: tenant_group__n + schema: + items: + type: string + type: array + style: form + - description: Tenant group + explode: true + in: query + name: tenant_group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant group + explode: true + in: query + name: tenant_group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant + explode: true + in: query + name: tenant_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant + explode: true + in: query + name: tenant_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedConfigContextList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_config_contexts_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableConfigContextRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ConfigContext' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_config_contexts_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConfigContextRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigContext' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_config_contexts_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableConfigContextRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ConfigContext' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/config-contexts/{id}/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_config_contexts_destroy + parameters: + - description: A UUID string identifying this config context. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_config_contexts_retrieve + parameters: + - description: A UUID string identifying this config context. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigContext' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_config_contexts_partial_update + parameters: + - description: A UUID string identifying this config context. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableConfigContextRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigContext' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_config_contexts_update + parameters: + - description: A UUID string identifying this config context. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableConfigContextRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigContext' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/config-contexts/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: extras_config_contexts_notes_list + parameters: + - description: A UUID string identifying this config context. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: API methods for returning or creating notes on an object. + operationId: extras_config_contexts_notes_create + parameters: + - description: A UUID string identifying this config context. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/content-types/: + get: + description: Read-only list of ContentTypes. Limit results to ContentTypes pertinent + to Nautobot objects. + operationId: extras_content_types_list + parameters: + - explode: true + in: query + name: app_label + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: app_label__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: app_label__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: app_label__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: app_label__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: app_label__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: app_label__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: app_label__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: app_label__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: app_label__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: app_label__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: app_label__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: app_label__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: app_label__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: id__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: id__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: id__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: id__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + type: integer + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: model + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: model__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedContentTypeList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/content-types/{id}/: + get: + description: Read-only list of ContentTypes. Limit results to ContentTypes pertinent + to Nautobot objects. + operationId: extras_content_types_retrieve + parameters: + - description: A unique integer value identifying this content type. + in: path + name: id + required: true + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContentType' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/custom-field-choices/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_custom_field_choices_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_custom_field_choices_list + parameters: + - description: Field (name) + explode: true + in: query + name: field + schema: + items: + type: string + type: array + style: form + - description: Field (name) + explode: true + in: query + name: field__n + schema: + items: + type: string + type: array + style: form + - description: Field + explode: true + in: query + name: field_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Field + explode: true + in: query + name: field_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: value + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: weight + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__n + schema: + items: + type: integer + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCustomFieldChoiceList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_custom_field_choices_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableCustomFieldChoiceRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/CustomFieldChoice' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_custom_field_choices_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCustomFieldChoiceRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomFieldChoice' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_custom_field_choices_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableCustomFieldChoiceRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/CustomFieldChoice' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/custom-field-choices/{id}/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_custom_field_choices_destroy + parameters: + - description: A UUID string identifying this custom field choice. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_custom_field_choices_retrieve + parameters: + - description: A UUID string identifying this custom field choice. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomFieldChoice' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_custom_field_choices_partial_update + parameters: + - description: A UUID string identifying this custom field choice. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableCustomFieldChoiceRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomFieldChoice' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_custom_field_choices_update + parameters: + - description: A UUID string identifying this custom field choice. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCustomFieldChoiceRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomFieldChoice' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/custom-fields/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_custom_fields_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_custom_fields_list + parameters: + - explode: true + in: query + name: content_types + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: content_types__n + schema: + items: + type: integer + type: array + style: form + - description: Loose matches any instance of a given string; Exact matches the + entire field. + in: query + name: filter_logic + schema: + type: string + - description: Loose matches any instance of a given string; Exact matches the + entire field. + in: query + name: filter_logic__n + schema: + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - in: query + name: required + schema: + type: boolean + - explode: true + in: query + name: weight + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__n + schema: + items: + type: integer + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCustomFieldSerializerVersion12List' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_custom_fields_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/CustomFieldSerializerVersion12Request' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/CustomFieldSerializerVersion12' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_custom_fields_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CustomFieldSerializerVersion12Request' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomFieldSerializerVersion12' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_custom_fields_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/CustomFieldSerializerVersion12Request' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/CustomFieldSerializerVersion12' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/custom-fields/{id}/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_custom_fields_destroy + parameters: + - description: A UUID string identifying this custom field. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_custom_fields_retrieve + parameters: + - description: A UUID string identifying this custom field. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomFieldSerializerVersion12' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_custom_fields_partial_update + parameters: + - description: A UUID string identifying this custom field. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedCustomFieldSerializerVersion12Request' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomFieldSerializerVersion12' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_custom_fields_update + parameters: + - description: A UUID string identifying this custom field. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CustomFieldSerializerVersion12Request' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomFieldSerializerVersion12' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/custom-fields/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: extras_custom_fields_notes_list + parameters: + - description: A UUID string identifying this custom field. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: API methods for returning or creating notes on an object. + operationId: extras_custom_fields_notes_create + parameters: + - description: A UUID string identifying this custom field. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/custom-links/: + delete: + description: Manage Custom Links through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_custom_links_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Manage Custom Links through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_custom_links_list + parameters: + - description: The class of the first link in a group will be used for the dropdown + button + in: query + name: button_class + schema: + type: string + - description: The class of the first link in a group will be used for the dropdown + button + in: query + name: button_class__n + schema: + type: string + - in: query + name: content_type + schema: + type: string + - in: query + name: content_type__n + schema: + type: string + - explode: true + in: query + name: group_name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: group_name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: group_name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: group_name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: group_name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: group_name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: group_name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: group_name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: group_name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: group_name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: group_name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: group_name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: group_name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: group_name__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - in: query + name: new_window + schema: + type: boolean + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: target_url + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: target_url__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: target_url__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: target_url__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: target_url__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: target_url__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: target_url__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: target_url__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: target_url__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: target_url__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: target_url__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: target_url__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: target_url__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: target_url__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: text + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: text__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: text__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: text__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: text__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: text__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: text__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: text__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: text__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: text__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: text__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: text__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: text__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: text__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: weight + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__n + schema: + items: + type: integer + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCustomLinkList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Manage Custom Links through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_custom_links_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableCustomLinkRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/CustomLink' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: Manage Custom Links through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_custom_links_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CustomLinkRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomLink' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Manage Custom Links through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_custom_links_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableCustomLinkRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/CustomLink' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/custom-links/{id}/: + delete: + description: Manage Custom Links through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_custom_links_destroy + parameters: + - description: A UUID string identifying this custom link. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Manage Custom Links through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_custom_links_retrieve + parameters: + - description: A UUID string identifying this custom link. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomLink' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Manage Custom Links through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_custom_links_partial_update + parameters: + - description: A UUID string identifying this custom link. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedCustomLinkRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomLink' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Manage Custom Links through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_custom_links_update + parameters: + - description: A UUID string identifying this custom link. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CustomLinkRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CustomLink' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/custom-links/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: extras_custom_links_notes_list + parameters: + - description: A UUID string identifying this custom link. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: API methods for returning or creating notes on an object. + operationId: extras_custom_links_notes_create + parameters: + - description: A UUID string identifying this custom link. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/dynamic-group-memberships/: + delete: + description: Manage Dynamic Group Memberships through DELETE, GET, POST, PUT, + and PATCH requests. + operationId: extras_dynamic_group_memberships_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Manage Dynamic Group Memberships through DELETE, GET, POST, PUT, + and PATCH requests. + operationId: extras_dynamic_group_memberships_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - description: Group (slug or ID) + explode: true + in: query + name: group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Group (slug or ID) + explode: true + in: query + name: group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - in: query + name: operator + schema: + enum: + - difference + - intersection + - union + type: string + - in: query + name: operator__n + schema: + enum: + - difference + - intersection + - union + type: string + - description: Parent Group (slug or ID) + explode: true + in: query + name: parent_group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Parent Group (slug or ID) + explode: true + in: query + name: parent_group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: weight + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__n + schema: + items: + type: integer + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedDynamicGroupMembershipList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Manage Dynamic Group Memberships through DELETE, GET, POST, PUT, + and PATCH requests. + operationId: extras_dynamic_group_memberships_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableDynamicGroupMembershipRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/DynamicGroupMembership' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: Manage Dynamic Group Memberships through DELETE, GET, POST, PUT, + and PATCH requests. + operationId: extras_dynamic_group_memberships_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDynamicGroupMembershipRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DynamicGroupMembership' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Manage Dynamic Group Memberships through DELETE, GET, POST, PUT, + and PATCH requests. + operationId: extras_dynamic_group_memberships_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableDynamicGroupMembershipRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/DynamicGroupMembership' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/dynamic-group-memberships/{id}/: + delete: + description: Manage Dynamic Group Memberships through DELETE, GET, POST, PUT, + and PATCH requests. + operationId: extras_dynamic_group_memberships_destroy + parameters: + - description: A UUID string identifying this dynamic group membership. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Manage Dynamic Group Memberships through DELETE, GET, POST, PUT, + and PATCH requests. + operationId: extras_dynamic_group_memberships_retrieve + parameters: + - description: A UUID string identifying this dynamic group membership. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DynamicGroupMembership' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Manage Dynamic Group Memberships through DELETE, GET, POST, PUT, + and PATCH requests. + operationId: extras_dynamic_group_memberships_partial_update + parameters: + - description: A UUID string identifying this dynamic group membership. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableDynamicGroupMembershipRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DynamicGroupMembership' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Manage Dynamic Group Memberships through DELETE, GET, POST, PUT, + and PATCH requests. + operationId: extras_dynamic_group_memberships_update + parameters: + - description: A UUID string identifying this dynamic group membership. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableDynamicGroupMembershipRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DynamicGroupMembership' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/dynamic-groups/: + delete: + description: Manage Dynamic Groups through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_dynamic_groups_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Manage Dynamic Groups through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_dynamic_groups_list + parameters: + - explode: true + in: query + name: content_type + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: content_type__n + schema: + items: + type: integer + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedDynamicGroupList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Manage Dynamic Groups through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_dynamic_groups_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableDynamicGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/DynamicGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: Manage Dynamic Groups through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_dynamic_groups_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DynamicGroupRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DynamicGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Manage Dynamic Groups through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_dynamic_groups_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableDynamicGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/DynamicGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/dynamic-groups/{id}/: + delete: + description: Manage Dynamic Groups through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_dynamic_groups_destroy + parameters: + - description: A UUID string identifying this dynamic group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Manage Dynamic Groups through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_dynamic_groups_retrieve + parameters: + - description: A UUID string identifying this dynamic group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DynamicGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Manage Dynamic Groups through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_dynamic_groups_partial_update + parameters: + - description: A UUID string identifying this dynamic group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedDynamicGroupRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DynamicGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Manage Dynamic Groups through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_dynamic_groups_update + parameters: + - description: A UUID string identifying this dynamic group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/DynamicGroupRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DynamicGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/dynamic-groups/{id}/members/: + get: + description: List member objects of the same type as the `content_type` for + this dynamic group. + operationId: extras_dynamic_groups_members_retrieve + parameters: + - description: A UUID string identifying this dynamic group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/DynamicGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/dynamic-groups/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: extras_dynamic_groups_notes_list + parameters: + - description: A UUID string identifying this dynamic group. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: API methods for returning or creating notes on an object. + operationId: extras_dynamic_groups_notes_create + parameters: + - description: A UUID string identifying this dynamic group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/export-templates/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_export_templates_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_export_templates_list + parameters: + - in: query + name: content_type + schema: + type: integer + - in: query + name: content_type__n + schema: + type: integer + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - in: query + name: owner_content_type + schema: + type: string + - in: query + name: owner_content_type__n + schema: + type: string + - explode: true + in: query + name: owner_object_id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: owner_object_id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedExportTemplateList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_export_templates_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableExportTemplateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ExportTemplate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_export_templates_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ExportTemplateRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ExportTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_export_templates_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableExportTemplateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ExportTemplate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/export-templates/{id}/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_export_templates_destroy + parameters: + - description: A UUID string identifying this export template. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_export_templates_retrieve + parameters: + - description: A UUID string identifying this export template. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ExportTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_export_templates_partial_update + parameters: + - description: A UUID string identifying this export template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedExportTemplateRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ExportTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_export_templates_update + parameters: + - description: A UUID string identifying this export template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ExportTemplateRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ExportTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/export-templates/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: extras_export_templates_notes_list + parameters: + - description: A UUID string identifying this export template. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: API methods for returning or creating notes on an object. + operationId: extras_export_templates_notes_create + parameters: + - description: A UUID string identifying this export template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/git-repositories/: + delete: + description: Manage the use of Git repositories as external data sources. + operationId: extras_git_repositories_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Manage the use of Git repositories as external data sources. + operationId: extras_git_repositories_list + parameters: + - explode: true + in: query + name: branch + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: branch__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: branch__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: branch__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: branch__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: branch__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: branch__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: branch__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: branch__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: branch__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: branch__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: branch__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: branch__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: branch__re + schema: + items: + type: string + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - explode: true + in: query + name: provided_contents + schema: + items: + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: remote_url + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: remote_url__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: remote_url__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: remote_url__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: remote_url__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: remote_url__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: remote_url__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: remote_url__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: remote_url__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: remote_url__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: remote_url__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: remote_url__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: remote_url__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: remote_url__re + schema: + items: + type: string + type: array + style: form + - description: Secrets group (slug) + explode: true + in: query + name: secrets_group + schema: + items: + type: string + type: array + style: form + - description: Secrets group (slug) + explode: true + in: query + name: secrets_group__n + schema: + items: + type: string + type: array + style: form + - description: Secrets group (ID) + explode: true + in: query + name: secrets_group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Secrets group (ID) + explode: true + in: query + name: secrets_group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedGitRepositoryList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Manage the use of Git repositories as external data sources. + operationId: extras_git_repositories_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableGitRepositoryRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/GitRepository' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: Manage the use of Git repositories as external data sources. + operationId: extras_git_repositories_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableGitRepositoryRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GitRepository' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Manage the use of Git repositories as external data sources. + operationId: extras_git_repositories_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableGitRepositoryRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/GitRepository' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/git-repositories/{id}/: + delete: + description: Manage the use of Git repositories as external data sources. + operationId: extras_git_repositories_destroy + parameters: + - description: A UUID string identifying this Git repository. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Manage the use of Git repositories as external data sources. + operationId: extras_git_repositories_retrieve + parameters: + - description: A UUID string identifying this Git repository. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GitRepository' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Manage the use of Git repositories as external data sources. + operationId: extras_git_repositories_partial_update + parameters: + - description: A UUID string identifying this Git repository. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableGitRepositoryRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GitRepository' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Manage the use of Git repositories as external data sources. + operationId: extras_git_repositories_update + parameters: + - description: A UUID string identifying this Git repository. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableGitRepositoryRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GitRepository' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/git-repositories/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: extras_git_repositories_notes_list + parameters: + - description: A UUID string identifying this Git repository. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: API methods for returning or creating notes on an object. + operationId: extras_git_repositories_notes_create + parameters: + - description: A UUID string identifying this Git repository. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/git-repositories/{id}/sync/: + post: + description: Enqueue pull git repository and refresh data. + operationId: extras_git_repositories_sync_create + parameters: + - description: A UUID string identifying this Git repository. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GitRepositoryRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GitRepository' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/graphql-queries/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_graphql_queries_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_graphql_queries_list + parameters: + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedGraphQLQueryList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_graphql_queries_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableGraphQLQueryRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/GraphQLQuery' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_graphql_queries_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GraphQLQueryRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GraphQLQuery' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_graphql_queries_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableGraphQLQueryRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/GraphQLQuery' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/graphql-queries/{id}/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_graphql_queries_destroy + parameters: + - description: A UUID string identifying this GraphQL query. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_graphql_queries_retrieve + parameters: + - description: A UUID string identifying this GraphQL query. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GraphQLQuery' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_graphql_queries_partial_update + parameters: + - description: A UUID string identifying this GraphQL query. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedGraphQLQueryRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GraphQLQuery' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_graphql_queries_update + parameters: + - description: A UUID string identifying this GraphQL query. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GraphQLQueryRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GraphQLQuery' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/graphql-queries/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: extras_graphql_queries_notes_list + parameters: + - description: A UUID string identifying this GraphQL query. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: API methods for returning or creating notes on an object. + operationId: extras_graphql_queries_notes_create + parameters: + - description: A UUID string identifying this GraphQL query. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/graphql-queries/{id}/run/: + post: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_graphql_queries_run_create + parameters: + - description: A UUID string identifying this GraphQL query. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GraphQLQueryInputRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GraphQLQueryOutput' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/image-attachments/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_image_attachments_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_image_attachments_list + parameters: + - in: query + name: content_type + schema: + type: string + - in: query + name: content_type__n + schema: + type: string + - in: query + name: content_type_id + schema: + type: integer + - in: query + name: content_type_id__n + schema: + type: integer + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: object_id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: object_id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: object_id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: object_id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: object_id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: object_id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: object_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: object_id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: object_id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: object_id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: object_id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: object_id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: object_id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: object_id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedImageAttachmentList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_image_attachments_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableImageAttachmentRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ImageAttachment' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_image_attachments_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ImageAttachmentRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ImageAttachment' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_image_attachments_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableImageAttachmentRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ImageAttachment' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/image-attachments/{id}/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_image_attachments_destroy + parameters: + - description: A UUID string identifying this image attachment. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_image_attachments_retrieve + parameters: + - description: A UUID string identifying this image attachment. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ImageAttachment' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_image_attachments_partial_update + parameters: + - description: A UUID string identifying this image attachment. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedImageAttachmentRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ImageAttachment' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_image_attachments_update + parameters: + - description: A UUID string identifying this image attachment. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ImageAttachmentRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ImageAttachment' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/job-hooks/: + delete: + description: Manage job hooks through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_job_hooks_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Manage job hooks through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_job_hooks_list + parameters: + - explode: true + in: query + name: content_types + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: content_types__n + schema: + items: + type: integer + type: array + style: form + - in: query + name: enabled + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Job (slug or ID) + explode: true + in: query + name: job + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Job (slug or ID) + explode: true + in: query + name: job__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + - in: query + name: type_create + schema: + type: boolean + - in: query + name: type_delete + schema: + type: boolean + - in: query + name: type_update + schema: + type: boolean + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedJobHookList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Manage job hooks through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_job_hooks_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableJobHookRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/JobHook' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: Manage job hooks through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_job_hooks_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/JobHookRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobHook' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Manage job hooks through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_job_hooks_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableJobHookRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/JobHook' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/job-hooks/{id}/: + delete: + description: Manage job hooks through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_job_hooks_destroy + parameters: + - description: A UUID string identifying this job hook. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Manage job hooks through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_job_hooks_retrieve + parameters: + - description: A UUID string identifying this job hook. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobHook' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Manage job hooks through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_job_hooks_partial_update + parameters: + - description: A UUID string identifying this job hook. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedJobHookRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobHook' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Manage job hooks through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_job_hooks_update + parameters: + - description: A UUID string identifying this job hook. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/JobHookRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobHook' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/job-hooks/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: extras_job_hooks_notes_list + parameters: + - description: A UUID string identifying this job hook. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: API methods for returning or creating notes on an object. + operationId: extras_job_hooks_notes_create + parameters: + - description: A UUID string identifying this job hook. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/job-logs/: + get: + description: Retrieve a list of job log entries. + operationId: extras_job_logs_list + parameters: + - explode: true + in: query + name: absolute_url + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: absolute_url__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: absolute_url__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: absolute_url__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: absolute_url__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: absolute_url__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: absolute_url__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: absolute_url__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: absolute_url__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: absolute_url__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: absolute_url__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: absolute_url__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: absolute_url__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: absolute_url__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: created + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: created__gt + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: created__gte + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: created__lt + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: created__lte + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: created__n + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: grouping + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: job_result + schema: + format: uuid + type: string + - in: query + name: job_result__n + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - in: query + name: log_level + schema: + type: string + - in: query + name: log_level__n + schema: + type: string + - explode: true + in: query + name: log_object + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: log_object__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: log_object__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: log_object__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: log_object__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: log_object__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: log_object__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: log_object__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: log_object__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: log_object__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: log_object__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: log_object__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: log_object__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: log_object__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: message + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: message__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: message__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: message__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: message__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: message__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: message__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: message__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: message__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: message__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: message__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: message__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: message__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: message__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedJobLogEntryList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/job-logs/{id}/: + get: + description: Retrieve a list of job log entries. + operationId: extras_job_logs_retrieve + parameters: + - description: A UUID string identifying this job log entry. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobLogEntry' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/job-results/: + delete: + description: Retrieve a list of job results + operationId: extras_job_results_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Retrieve a list of job results + operationId: extras_job_results_list + parameters: + - in: query + name: completed + schema: + format: date-time + type: string + - in: query + name: created + schema: + format: date-time + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Job (slug) + explode: true + in: query + name: job_model + schema: + items: + type: string + type: array + style: form + - description: Job (slug) + explode: true + in: query + name: job_model__n + schema: + items: + type: string + type: array + style: form + - description: Job (ID) + explode: true + in: query + name: job_model_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Job (ID) + explode: true + in: query + name: job_model_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - in: query + name: obj_type + schema: + type: string + - in: query + name: obj_type__n + schema: + type: string + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: status + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + type: string + type: array + style: form + - in: query + name: user + schema: + format: uuid + type: string + - in: query + name: user__n + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedJobResultList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/job-results/{id}/: + delete: + description: Retrieve a list of job results + operationId: extras_job_results_destroy + parameters: + - description: A UUID string identifying this job result. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Retrieve a list of job results + operationId: extras_job_results_retrieve + parameters: + - description: A UUID string identifying this job result. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobResult' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/job-results/{id}/logs/: + get: + description: Retrieve a list of job results + operationId: extras_job_results_logs_retrieve + parameters: + - description: A UUID string identifying this job result. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobResult' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/jobs/: + delete: + operationId: extras_jobs_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: List all known Jobs. + operationId: extras_jobs_list + parameters: + - in: query + name: approval_required + schema: + type: boolean + - in: query + name: approval_required_override + schema: + type: boolean + - in: query + name: commit_default + schema: + type: boolean + - in: query + name: commit_default_override + schema: + type: boolean + - in: query + name: description_override + schema: + type: boolean + - in: query + name: enabled + schema: + type: boolean + - explode: true + in: query + name: grouping + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: grouping__re + schema: + items: + type: string + type: array + style: form + - in: query + name: grouping_override + schema: + type: boolean + - in: query + name: has_sensitive_variables + schema: + type: boolean + - in: query + name: has_sensitive_variables_override + schema: + type: boolean + - in: query + name: hidden + schema: + type: boolean + - in: query + name: hidden_override + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: installed + schema: + type: boolean + - in: query + name: is_job_hook_receiver + schema: + type: boolean + - explode: true + in: query + name: job_class_name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: job_class_name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: job_class_name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: job_class_name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: job_class_name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: job_class_name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: job_class_name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: job_class_name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: job_class_name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: job_class_name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: job_class_name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: job_class_name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: job_class_name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: job_class_name__re + schema: + items: + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: module_name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: module_name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: module_name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: module_name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: module_name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: module_name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: module_name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: module_name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: module_name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: module_name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: module_name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: module_name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: module_name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: module_name__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - in: query + name: name_override + schema: + type: boolean + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - in: query + name: read_only + schema: + type: boolean + - in: query + name: read_only_override + schema: + type: boolean + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: soft_time_limit + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: soft_time_limit__gt + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: soft_time_limit__gte + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: soft_time_limit__lt + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: soft_time_limit__lte + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: soft_time_limit__n + schema: + items: + format: float + type: number + type: array + style: form + - in: query + name: soft_time_limit_override + schema: + type: boolean + - description: Source of the Python code for this job - local, Git repository, + or plugins + in: query + name: source + schema: + type: string + - description: Source of the Python code for this job - local, Git repository, + or plugins + in: query + name: source__n + schema: + type: string + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: time_limit + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: time_limit__gt + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: time_limit__gte + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: time_limit__lt + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: time_limit__lte + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: time_limit__n + schema: + items: + format: float + type: number + type: array + style: form + - in: query + name: time_limit_override + schema: + type: boolean + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedJobList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + operationId: extras_jobs_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableJobRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Job' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + operationId: extras_jobs_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableJobRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Job' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/jobs/{class_path}/: + get: + deprecated: true + description: 'Get details of a Job as identified by its class-path. + + + This API endpoint is deprecated; it is recommended to use the extras_jobs_read + endpoint instead.' + operationId: extras_jobs_read_deprecated + parameters: + - in: path + name: class_path + required: true + schema: + pattern: ^[^/]+/[^/]+/[^/]+$ + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobClassDetail' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/jobs/{class_path}/run/: + post: + deprecated: true + description: 'Run a Job as identified by its class-path. + + + This API endpoint is deprecated; it is recommended to use the extras_jobs_run + endpoint instead.' + operationId: extras_jobs_run_deprecated + parameters: + - in: path + name: class_path + required: true + schema: + pattern: ^[^/]+/[^/]+/[^/]+$ + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/JobInputRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/JobInputRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobClassDetail' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/jobs/{id}/: + delete: + operationId: extras_jobs_destroy + parameters: + - description: A UUID string identifying this job. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + operationId: extras_jobs_retrieve + parameters: + - description: A UUID string identifying this job. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Job' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + operationId: extras_jobs_partial_update + parameters: + - description: A UUID string identifying this job. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedJobRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Job' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + operationId: extras_jobs_update + parameters: + - description: A UUID string identifying this job. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/JobRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Job' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/jobs/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: extras_jobs_notes_list + parameters: + - description: A UUID string identifying this job. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: API methods for returning or creating notes on an object. + operationId: extras_jobs_notes_create + parameters: + - description: A UUID string identifying this job. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/jobs/{id}/run/: + post: + description: Run the specified Job. + operationId: extras_jobs_run_create + parameters: + - description: A UUID string identifying this job. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/JobInputRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/JobMultiPartInputRequest' + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobRunResponse' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/jobs/{id}/variables/: + get: + description: Get details of the input variables that may/must be specified to + run a particular Job. + operationId: extras_jobs_variables_list + parameters: + - description: A UUID string identifying this job. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedJobVariableList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/notes/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_notes_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_notes_list + parameters: + - explode: true + in: query + name: assigned_object_id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: assigned_object_id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: assigned_object_id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: assigned_object_id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: assigned_object_id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: assigned_object_id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: assigned_object_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: assigned_object_id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: assigned_object_id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: assigned_object_id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: assigned_object_id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: assigned_object_id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: assigned_object_id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: assigned_object_id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: assigned_object_type + schema: + type: string + - in: query + name: assigned_object_type__n + schema: + type: string + - in: query + name: assigned_object_type_id + schema: + type: integer + - in: query + name: assigned_object_type_id__n + schema: + type: integer + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: note + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: note__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: note__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: note__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: note__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: note__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: note__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: note__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: note__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: note__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: note__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: note__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: note__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: note__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - description: User (username or ID) + explode: true + in: query + name: user + schema: + items: + format: uuid + type: string + type: array + style: form + - description: User (username or ID) + explode: true + in: query + name: user__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: user_name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_notes_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableNoteRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Note' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_notes_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_notes_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableNoteRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Note' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/notes/{id}/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_notes_destroy + parameters: + - description: A UUID string identifying this note. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_notes_retrieve + parameters: + - description: A UUID string identifying this note. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_notes_partial_update + parameters: + - description: A UUID string identifying this note. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedNoteRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_notes_update + parameters: + - description: A UUID string identifying this note. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/object-changes/: + get: + description: Retrieve a list of recent changes. + operationId: extras_object_changes_list + parameters: + - in: query + name: action + schema: + type: string + - in: query + name: action__n + schema: + type: string + - explode: true + in: query + name: changed_object_id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: changed_object_id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: changed_object_id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: changed_object_id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: changed_object_id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: changed_object_id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: changed_object_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: changed_object_id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: changed_object_id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: changed_object_id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: changed_object_id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: changed_object_id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: changed_object_id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: changed_object_id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: changed_object_type + schema: + type: string + - in: query + name: changed_object_type__n + schema: + type: string + - in: query + name: changed_object_type_id + schema: + type: integer + - in: query + name: changed_object_type_id__n + schema: + type: integer + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: object_repr + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: object_repr__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: object_repr__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: object_repr__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: object_repr__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: object_repr__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: object_repr__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: object_repr__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: object_repr__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: object_repr__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: object_repr__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: object_repr__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: object_repr__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: object_repr__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: request_id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: request_id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: request_id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: request_id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: request_id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: request_id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: request_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: request_id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: request_id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: request_id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: request_id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: request_id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: request_id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: request_id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: time + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: time__gt + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: time__gte + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: time__lt + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: time__lte + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: time__n + schema: + items: + format: date-time + type: string + type: array + style: form + - description: User name + explode: true + in: query + name: user + schema: + items: + type: string + type: array + style: form + - description: User name + explode: true + in: query + name: user__n + schema: + items: + type: string + type: array + style: form + - description: User (ID) + explode: true + in: query + name: user_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: User (ID) + explode: true + in: query + name: user_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: user_name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_name__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedObjectChangeList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/object-changes/{id}/: + get: + description: Retrieve a list of recent changes. + operationId: extras_object_changes_retrieve + parameters: + - description: A UUID string identifying this object change. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ObjectChange' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/relationship-associations/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_relationship_associations_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_relationship_associations_list + parameters: + - explode: true + in: query + name: destination_id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: destination_id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: destination_id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: destination_id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: destination_id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: destination_id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: destination_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: destination_id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: destination_id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: destination_id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: destination_id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: destination_id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: destination_id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: destination_id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: destination_type + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: destination_type__n + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - explode: true + in: query + name: peer_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Relationship (slug) + explode: true + in: query + name: relationship + schema: + items: + type: string + type: array + style: form + - description: Relationship (slug) + explode: true + in: query + name: relationship__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: source_id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: source_id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: source_id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: source_id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: source_id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: source_id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: source_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: source_id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: source_id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: source_id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: source_id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: source_id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: source_id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: source_id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: source_type + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: source_type__n + schema: + items: + type: integer + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRelationshipAssociationList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_relationship_associations_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableRelationshipAssociationRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/RelationshipAssociation' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_relationship_associations_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRelationshipAssociationRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RelationshipAssociation' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_relationship_associations_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableRelationshipAssociationRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/RelationshipAssociation' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/relationship-associations/{id}/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_relationship_associations_destroy + parameters: + - description: A UUID string identifying this relationship association. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_relationship_associations_retrieve + parameters: + - description: A UUID string identifying this relationship association. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RelationshipAssociation' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_relationship_associations_partial_update + parameters: + - description: A UUID string identifying this relationship association. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRelationshipAssociationRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RelationshipAssociation' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_relationship_associations_update + parameters: + - description: A UUID string identifying this relationship association. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRelationshipAssociationRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RelationshipAssociation' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/relationships/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_relationships_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_relationships_list + parameters: + - explode: true + in: query + name: destination_type + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: destination_type__n + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: source_type + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: source_type__n + schema: + items: + type: integer + type: array + style: form + - description: Cardinality of this relationship + in: query + name: type + schema: + type: string + - description: Cardinality of this relationship + in: query + name: type__n + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRelationshipList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_relationships_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableRelationshipRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Relationship' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_relationships_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RelationshipRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Relationship' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_relationships_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableRelationshipRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Relationship' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/relationships/{id}/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_relationships_destroy + parameters: + - description: A UUID string identifying this relationship. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_relationships_retrieve + parameters: + - description: A UUID string identifying this relationship. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Relationship' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_relationships_partial_update + parameters: + - description: A UUID string identifying this relationship. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedRelationshipRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Relationship' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: extras_relationships_update + parameters: + - description: A UUID string identifying this relationship. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RelationshipRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Relationship' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/relationships/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: extras_relationships_notes_list + parameters: + - description: A UUID string identifying this relationship. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: API methods for returning or creating notes on an object. + operationId: extras_relationships_notes_create + parameters: + - description: A UUID string identifying this relationship. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/scheduled-jobs/: + get: + description: Retrieve a list of scheduled jobs + operationId: extras_scheduled_jobs_list + parameters: + - in: query + name: first_run + schema: + format: date-time + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Job (slug) + explode: true + in: query + name: job_model + schema: + items: + type: string + type: array + style: form + - description: Job (slug) + explode: true + in: query + name: job_model__n + schema: + items: + type: string + type: array + style: form + - description: Job (ID) + explode: true + in: query + name: job_model_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Job (ID) + explode: true + in: query + name: job_model_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - in: query + name: last_run + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: total_run_count + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: total_run_count__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: total_run_count__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: total_run_count__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: total_run_count__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: total_run_count__n + schema: + items: + type: integer + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedScheduledJobList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/scheduled-jobs/{id}/: + get: + description: Retrieve a list of scheduled jobs + operationId: extras_scheduled_jobs_retrieve + parameters: + - description: A UUID string identifying this scheduled job. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ScheduledJob' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/scheduled-jobs/{id}/approve/: + post: + description: Retrieve a list of scheduled jobs + operationId: extras_scheduled_jobs_approve_create + parameters: + - description: force execution even if start time has passed + in: query + name: force + schema: + type: boolean + - description: A UUID string identifying this scheduled job. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ScheduledJob' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/scheduled-jobs/{id}/deny/: + post: + description: Retrieve a list of scheduled jobs + operationId: extras_scheduled_jobs_deny_create + parameters: + - description: A UUID string identifying this scheduled job. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ScheduledJob' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/scheduled-jobs/{id}/dry-run/: + post: + description: Retrieve a list of scheduled jobs + operationId: extras_scheduled_jobs_dry_run_create + parameters: + - description: A UUID string identifying this scheduled job. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/JobResult' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/secrets-groups-associations/: + delete: + description: Manage Secrets Group Associations through DELETE, GET, POST, PUT, + and PATCH requests. + operationId: extras_secrets_groups_associations_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Manage Secrets Group Associations through DELETE, GET, POST, PUT, + and PATCH requests. + operationId: extras_secrets_groups_associations_list + parameters: + - explode: true + in: query + name: access_type + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: access_type__n + schema: + items: + type: string + type: array + style: form + - description: Group (slug) + explode: true + in: query + name: group + schema: + items: + type: string + type: array + style: form + - description: Group (slug) + explode: true + in: query + name: group__n + schema: + items: + type: string + type: array + style: form + - description: Group (ID) + explode: true + in: query + name: group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Group (ID) + explode: true + in: query + name: group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Secret (slug) + explode: true + in: query + name: secret + schema: + items: + type: string + type: array + style: form + - description: Secret (slug) + explode: true + in: query + name: secret__n + schema: + items: + type: string + type: array + style: form + - description: Secret (ID) + explode: true + in: query + name: secret_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Secret (ID) + explode: true + in: query + name: secret_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: secret_type + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: secret_type__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedSecretsGroupAssociationList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Manage Secrets Group Associations through DELETE, GET, POST, PUT, + and PATCH requests. + operationId: extras_secrets_groups_associations_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableSecretsGroupAssociationRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/SecretsGroupAssociation' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: Manage Secrets Group Associations through DELETE, GET, POST, PUT, + and PATCH requests. + operationId: extras_secrets_groups_associations_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSecretsGroupAssociationRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SecretsGroupAssociation' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Manage Secrets Group Associations through DELETE, GET, POST, PUT, + and PATCH requests. + operationId: extras_secrets_groups_associations_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableSecretsGroupAssociationRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/SecretsGroupAssociation' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/secrets-groups-associations/{id}/: + delete: + description: Manage Secrets Group Associations through DELETE, GET, POST, PUT, + and PATCH requests. + operationId: extras_secrets_groups_associations_destroy + parameters: + - description: A UUID string identifying this secrets group association. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Manage Secrets Group Associations through DELETE, GET, POST, PUT, + and PATCH requests. + operationId: extras_secrets_groups_associations_retrieve + parameters: + - description: A UUID string identifying this secrets group association. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SecretsGroupAssociation' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Manage Secrets Group Associations through DELETE, GET, POST, PUT, + and PATCH requests. + operationId: extras_secrets_groups_associations_partial_update + parameters: + - description: A UUID string identifying this secrets group association. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableSecretsGroupAssociationRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SecretsGroupAssociation' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Manage Secrets Group Associations through DELETE, GET, POST, PUT, + and PATCH requests. + operationId: extras_secrets_groups_associations_update + parameters: + - description: A UUID string identifying this secrets group association. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSecretsGroupAssociationRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SecretsGroupAssociation' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/secrets-groups/: + delete: + description: Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_secrets_groups_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_secrets_groups_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedSecretsGroupList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_secrets_groups_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableSecretsGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/SecretsGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_secrets_groups_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SecretsGroupRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SecretsGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_secrets_groups_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableSecretsGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/SecretsGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/secrets-groups/{id}/: + delete: + description: Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_secrets_groups_destroy + parameters: + - description: A UUID string identifying this secrets group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_secrets_groups_retrieve + parameters: + - description: A UUID string identifying this secrets group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SecretsGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_secrets_groups_partial_update + parameters: + - description: A UUID string identifying this secrets group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedSecretsGroupRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SecretsGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH + requests. + operationId: extras_secrets_groups_update + parameters: + - description: A UUID string identifying this secrets group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SecretsGroupRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SecretsGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/secrets-groups/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: extras_secrets_groups_notes_list + parameters: + - description: A UUID string identifying this secrets group. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: API methods for returning or creating notes on an object. + operationId: extras_secrets_groups_notes_create + parameters: + - description: A UUID string identifying this secrets group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/secrets/: + delete: + description: Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_secrets_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_secrets_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - explode: true + in: query + name: provider + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: provider__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: provider__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: provider__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: provider__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: provider__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: provider__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: provider__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: provider__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: provider__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: provider__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: provider__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: provider__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: provider__re + schema: + items: + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedSecretList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_secrets_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableSecretRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Secret' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_secrets_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SecretRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Secret' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_secrets_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableSecretRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Secret' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/secrets/{id}/: + delete: + description: Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_secrets_destroy + parameters: + - description: A UUID string identifying this secret. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_secrets_retrieve + parameters: + - description: A UUID string identifying this secret. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Secret' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_secrets_partial_update + parameters: + - description: A UUID string identifying this secret. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedSecretRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Secret' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_secrets_update + parameters: + - description: A UUID string identifying this secret. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SecretRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Secret' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/secrets/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: extras_secrets_notes_list + parameters: + - description: A UUID string identifying this secret. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: API methods for returning or creating notes on an object. + operationId: extras_secrets_notes_create + parameters: + - description: A UUID string identifying this secret. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/statuses/: + delete: + description: View and manage custom status choices for objects with a `status` + field. + operationId: extras_statuses_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: View and manage custom status choices for objects with a `status` + field. + operationId: extras_statuses_list + parameters: + - explode: true + in: query + name: color + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: content_types + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: content_types__n + schema: + items: + type: integer + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedStatusList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: View and manage custom status choices for objects with a `status` + field. + operationId: extras_statuses_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableStatusRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Status' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: View and manage custom status choices for objects with a `status` + field. + operationId: extras_statuses_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/StatusRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Status' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: View and manage custom status choices for objects with a `status` + field. + operationId: extras_statuses_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableStatusRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Status' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/statuses/{id}/: + delete: + description: View and manage custom status choices for objects with a `status` + field. + operationId: extras_statuses_destroy + parameters: + - description: A UUID string identifying this status. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: View and manage custom status choices for objects with a `status` + field. + operationId: extras_statuses_retrieve + parameters: + - description: A UUID string identifying this status. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Status' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: View and manage custom status choices for objects with a `status` + field. + operationId: extras_statuses_partial_update + parameters: + - description: A UUID string identifying this status. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedStatusRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Status' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: View and manage custom status choices for objects with a `status` + field. + operationId: extras_statuses_update + parameters: + - description: A UUID string identifying this status. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/StatusRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Status' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/statuses/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: extras_statuses_notes_list + parameters: + - description: A UUID string identifying this status. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: API methods for returning or creating notes on an object. + operationId: extras_statuses_notes_create + parameters: + - description: A UUID string identifying this status. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/tags/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: extras_tags_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: extras_tags_list + parameters: + - explode: true + in: query + name: color + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: content_types + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: content_types__n + schema: + items: + type: integer + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedTagSerializerVersion13List' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: extras_tags_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableTagSerializerVersion13Request' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/TagSerializerVersion13' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: extras_tags_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TagSerializerVersion13Request' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/TagSerializerVersion13' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: extras_tags_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableTagSerializerVersion13Request' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/TagSerializerVersion13' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/tags/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: extras_tags_destroy + parameters: + - description: A UUID string identifying this tag. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: extras_tags_retrieve + parameters: + - description: A UUID string identifying this tag. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/TagSerializerVersion13' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: extras_tags_partial_update + parameters: + - description: A UUID string identifying this tag. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedTagSerializerVersion13Request' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/TagSerializerVersion13' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: extras_tags_update + parameters: + - description: A UUID string identifying this tag. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TagSerializerVersion13Request' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/TagSerializerVersion13' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/tags/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: extras_tags_notes_list + parameters: + - description: A UUID string identifying this tag. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: API methods for returning or creating notes on an object. + operationId: extras_tags_notes_create + parameters: + - description: A UUID string identifying this tag. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/webhooks/: + delete: + description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_webhooks_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_webhooks_list + parameters: + - explode: true + in: query + name: content_types + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: content_types__n + schema: + items: + type: integer + type: array + style: form + - in: query + name: enabled + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - explode: true + in: query + name: payload_url + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: payload_url__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: payload_url__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: payload_url__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: payload_url__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: payload_url__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: payload_url__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: payload_url__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: payload_url__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: payload_url__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: payload_url__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: payload_url__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: payload_url__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: payload_url__re + schema: + items: + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - in: query + name: type_create + schema: + type: boolean + - in: query + name: type_delete + schema: + type: boolean + - in: query + name: type_update + schema: + type: boolean + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedWebhookList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_webhooks_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableWebhookRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Webhook' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_webhooks_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WebhookRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Webhook' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_webhooks_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableWebhookRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Webhook' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/webhooks/{id}/: + delete: + description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_webhooks_destroy + parameters: + - description: A UUID string identifying this webhook. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + get: + description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_webhooks_retrieve + parameters: + - description: A UUID string identifying this webhook. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Webhook' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + patch: + description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_webhooks_partial_update + parameters: + - description: A UUID string identifying this webhook. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWebhookRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Webhook' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + put: + description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests. + operationId: extras_webhooks_update + parameters: + - description: A UUID string identifying this webhook. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WebhookRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Webhook' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /extras/webhooks/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: extras_webhooks_notes_list + parameters: + - description: A UUID string identifying this webhook. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + post: + description: API methods for returning or creating notes on an object. + operationId: extras_webhooks_notes_create + parameters: + - description: A UUID string identifying this webhook. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - extras + /graphql/: + post: + description: Query the database using a GraphQL query + operationId: graphql_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GraphQLAPIRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + properties: + data: + type: object + type: object + description: '' + '400': + content: + application/json; version=1.3: + schema: + properties: + errors: + items: + type: object + type: array + type: object + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + - {} + tags: + - graphql + /ipam/aggregates/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_aggregates_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_aggregates_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: date_added + schema: + items: + format: date + type: string + type: array + style: form + - explode: true + in: query + name: date_added__gt + schema: + items: + format: date + type: string + type: array + style: form + - explode: true + in: query + name: date_added__gte + schema: + items: + format: date + type: string + type: array + style: form + - explode: true + in: query + name: date_added__lt + schema: + items: + format: date + type: string + type: array + style: form + - explode: true + in: query + name: date_added__lte + schema: + items: + format: date + type: string + type: array + style: form + - explode: true + in: query + name: date_added__n + schema: + items: + format: date + type: string + type: array + style: form + - description: Family + in: query + name: family + schema: + type: number + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Prefix + in: query + name: prefix + schema: + type: string + - description: Search + in: query + name: q + schema: + type: string + - description: RIR (slug) + explode: true + in: query + name: rir + schema: + items: + type: string + type: array + style: form + - description: RIR (slug) + explode: true + in: query + name: rir__n + schema: + items: + type: string + type: array + style: form + - description: RIR (ID) + explode: true + in: query + name: rir_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: RIR (ID) + explode: true + in: query + name: rir_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedAggregateList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_aggregates_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableAggregateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Aggregate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_aggregates_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableAggregateRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Aggregate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_aggregates_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableAggregateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Aggregate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/aggregates/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_aggregates_destroy + parameters: + - description: A UUID string identifying this aggregate. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_aggregates_retrieve + parameters: + - description: A UUID string identifying this aggregate. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Aggregate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_aggregates_partial_update + parameters: + - description: A UUID string identifying this aggregate. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableAggregateRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Aggregate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_aggregates_update + parameters: + - description: A UUID string identifying this aggregate. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableAggregateRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Aggregate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/aggregates/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: ipam_aggregates_notes_list + parameters: + - description: A UUID string identifying this aggregate. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: API methods for returning or creating notes on an object. + operationId: ipam_aggregates_notes_create + parameters: + - description: A UUID string identifying this aggregate. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/ip-addresses/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_ip_addresses_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_ip_addresses_list + parameters: + - description: Address + explode: true + in: query + name: address + schema: + items: + type: string + type: array + style: form + - description: Is assigned to an interface + in: query + name: assigned_to_interface + schema: + type: boolean + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - description: Device (name) + explode: true + in: query + name: device + schema: + items: + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: dns_name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: dns_name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: dns_name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: dns_name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: dns_name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: dns_name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: dns_name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: dns_name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: dns_name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: dns_name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: dns_name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: dns_name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: dns_name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: dns_name__re + schema: + items: + type: string + type: array + style: form + - description: Family + in: query + name: family + schema: + type: number + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Interface (name) + explode: true + in: query + name: interface + schema: + items: + type: string + type: array + style: form + - description: Interface (name) + explode: true + in: query + name: interface__n + schema: + items: + type: string + type: array + style: form + - description: Interface (ID) + explode: true + in: query + name: interface_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Interface (ID) + explode: true + in: query + name: interface_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Mask length + in: query + name: mask_length + schema: + type: number + - description: Routing Instance UUID + explode: true + in: query + name: nautobot_bgp_models_ips_bgp_routing_instance + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_ips_bgp_routing_instance__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_ips_bgp_routing_instance__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_ips_bgp_routing_instance__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_ips_bgp_routing_instance__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_ips_bgp_routing_instance__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_ips_bgp_routing_instance__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_ips_bgp_routing_instance__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_ips_bgp_routing_instance__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_ips_bgp_routing_instance__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_ips_bgp_routing_instance__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_ips_bgp_routing_instance__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_ips_bgp_routing_instance__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nautobot_bgp_models_ips_bgp_routing_instance__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Parent prefix + in: query + name: parent + schema: + type: string + - description: VRF (RD) + in: query + name: present_in_vrf + schema: + nullable: true + title: Route distinguisher + type: string + - description: VRF + in: query + name: present_in_vrf_id + schema: + format: uuid + type: string + - description: Search + in: query + name: q + schema: + type: string + - description: The functional role of this IP + explode: true + in: query + name: role + schema: + items: + type: string + type: array + style: form + - description: The functional role of this IP + explode: true + in: query + name: role__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: status + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Virtual machine (name) + explode: true + in: query + name: virtual_machine + schema: + items: + type: string + type: array + style: form + - description: Virtual machine (ID) + explode: true + in: query + name: virtual_machine_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: VM interface (name) + explode: true + in: query + name: vminterface + schema: + items: + type: string + type: array + style: form + - description: VM interface (name) + explode: true + in: query + name: vminterface__n + schema: + items: + type: string + type: array + style: form + - description: VM interface (ID) + explode: true + in: query + name: vminterface_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: VM interface (ID) + explode: true + in: query + name: vminterface_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: VRF (RD) + explode: true + in: query + name: vrf + schema: + items: + nullable: true + title: Route distinguisher + type: string + type: array + style: form + - description: VRF (RD) + explode: true + in: query + name: vrf__n + schema: + items: + nullable: true + title: Route distinguisher + type: string + type: array + style: form + - description: VRF + explode: true + in: query + name: vrf_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: VRF + explode: true + in: query + name: vrf_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedIPAddressList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_ip_addresses_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableIPAddressRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/IPAddress' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_ip_addresses_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableIPAddressRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/IPAddress' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_ip_addresses_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableIPAddressRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/IPAddress' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/ip-addresses/{id}/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_ip_addresses_destroy + parameters: + - description: A UUID string identifying this IP address. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_ip_addresses_retrieve + parameters: + - description: A UUID string identifying this IP address. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/IPAddress' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_ip_addresses_partial_update + parameters: + - description: A UUID string identifying this IP address. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableIPAddressRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/IPAddress' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_ip_addresses_update + parameters: + - description: A UUID string identifying this IP address. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableIPAddressRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/IPAddress' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/ip-addresses/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: ipam_ip_addresses_notes_list + parameters: + - description: A UUID string identifying this IP address. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: API methods for returning or creating notes on an object. + operationId: ipam_ip_addresses_notes_create + parameters: + - description: A UUID string identifying this IP address. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/prefixes/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_prefixes_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_prefixes_list + parameters: + - description: Prefixes which contain this prefix or IP + in: query + name: contains + schema: + type: string + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - description: Family + in: query + name: family + schema: + type: number + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: is_pool + schema: + type: boolean + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Location (slug or ID) + explode: true + in: query + name: location + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Location (slug or ID) + explode: true + in: query + name: location__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: mask_length + in: query + name: mask_length + schema: + type: number + - description: mask_length__gte + in: query + name: mask_length__gte + schema: + type: number + - description: mask_length__lte + in: query + name: mask_length__lte + schema: + type: number + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Prefix + in: query + name: prefix + schema: + type: string + - description: VRF (RD) + in: query + name: present_in_vrf + schema: + nullable: true + title: Route distinguisher + type: string + - description: VRF + in: query + name: present_in_vrf_id + schema: + format: uuid + type: string + - description: Search + in: query + name: q + schema: + type: string + - description: Region (slug or ID) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug or ID) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) (deprecated, use "region" filter instead) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) (deprecated, use "region" filter instead) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Role (slug) + explode: true + in: query + name: role + schema: + items: + type: string + type: array + style: form + - description: Role (slug) + explode: true + in: query + name: role__n + schema: + items: + type: string + type: array + style: form + - description: Role (ID) + explode: true + in: query + name: role_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Role (ID) + explode: true + in: query + name: role_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Site (slug or ID) + explode: true + in: query + name: site + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (slug or ID) + explode: true + in: query + name: site__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) (deprecated, use "site" filter instead) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Site (ID) (deprecated, use "site" filter instead) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: status + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: VLAN (ID) + explode: true + in: query + name: vlan_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: VLAN (ID) + explode: true + in: query + name: vlan_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: VLAN number (1-4095) + in: query + name: vlan_vid + schema: + type: integer + - description: VRF (RD) + explode: true + in: query + name: vrf + schema: + items: + nullable: true + title: Route distinguisher + type: string + type: array + style: form + - description: VRF (RD) + explode: true + in: query + name: vrf__n + schema: + items: + nullable: true + title: Route distinguisher + type: string + type: array + style: form + - description: VRF + explode: true + in: query + name: vrf_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: VRF + explode: true + in: query + name: vrf_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Within prefix + in: query + name: within + schema: + type: string + - description: Within and including prefix + in: query + name: within_include + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPrefixList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_prefixes_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritablePrefixRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Prefix' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_prefixes_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePrefixRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Prefix' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_prefixes_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritablePrefixRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Prefix' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/prefixes/{id}/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_prefixes_destroy + parameters: + - description: A UUID string identifying this prefix. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_prefixes_retrieve + parameters: + - description: A UUID string identifying this prefix. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Prefix' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_prefixes_partial_update + parameters: + - description: A UUID string identifying this prefix. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePrefixRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Prefix' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_prefixes_update + parameters: + - description: A UUID string identifying this prefix. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePrefixRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Prefix' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/prefixes/{id}/available-ips/: + get: + description: 'A convenience method for returning available IP addresses within + a prefix. By default, the number of IPs + + returned will be equivalent to PAGINATE_COUNT. An arbitrary limit (up to MAX_PAGE_SIZE, + if set) may be passed, + + however results will not be paginated. + + + The advisory lock decorator uses a PostgreSQL advisory lock to prevent this + API from being + + invoked in parallel, which results in a race condition where multiple insertions + can occur.' + operationId: ipam_prefixes_available_ips_list + parameters: + - description: A UUID string identifying this IP address. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedAvailableIPList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: 'A convenience method for returning available IP addresses within + a prefix. By default, the number of IPs + + returned will be equivalent to PAGINATE_COUNT. An arbitrary limit (up to MAX_PAGE_SIZE, + if set) may be passed, + + however results will not be paginated. + + + The advisory lock decorator uses a PostgreSQL advisory lock to prevent this + API from being + + invoked in parallel, which results in a race condition where multiple insertions + can occur.' + operationId: ipam_prefixes_available_ips_create + parameters: + - description: A UUID string identifying this IP address. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedAvailableIPList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/prefixes/{id}/available-prefixes/: + get: + description: 'A convenience method for returning available child prefixes within + a parent. + + + The advisory lock decorator uses a PostgreSQL advisory lock to prevent this + API from being + + invoked in parallel, which results in a race condition where multiple insertions + can occur.' + operationId: ipam_prefixes_available_prefixes_list + parameters: + - description: A UUID string identifying this prefix. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedAvailablePrefixList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: 'A convenience method for returning available child prefixes within + a parent. + + + The advisory lock decorator uses a PostgreSQL advisory lock to prevent this + API from being + + invoked in parallel, which results in a race condition where multiple insertions + can occur.' + operationId: ipam_prefixes_available_prefixes_create + parameters: + - description: A UUID string identifying this prefix. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PrefixLengthRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Prefix' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/prefixes/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: ipam_prefixes_notes_list + parameters: + - description: A UUID string identifying this prefix. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: API methods for returning or creating notes on an object. + operationId: ipam_prefixes_notes_create + parameters: + - description: A UUID string identifying this prefix. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/rirs/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_rirs_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_rirs_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: is_private + schema: + type: boolean + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRIRList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_rirs_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableRIRRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/RIR' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_rirs_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RIRRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RIR' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_rirs_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableRIRRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/RIR' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/rirs/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_rirs_destroy + parameters: + - description: A UUID string identifying this RIR. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_rirs_retrieve + parameters: + - description: A UUID string identifying this RIR. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RIR' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_rirs_partial_update + parameters: + - description: A UUID string identifying this RIR. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedRIRRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RIR' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_rirs_update + parameters: + - description: A UUID string identifying this RIR. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RIRRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RIR' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/rirs/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: ipam_rirs_notes_list + parameters: + - description: A UUID string identifying this RIR. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: API methods for returning or creating notes on an object. + operationId: ipam_rirs_notes_create + parameters: + - description: A UUID string identifying this RIR. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/roles/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_roles_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_roles_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRoleList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_roles_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableRoleRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Role' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_roles_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RoleRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Role' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_roles_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableRoleRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Role' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/roles/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_roles_destroy + parameters: + - description: A UUID string identifying this role. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_roles_retrieve + parameters: + - description: A UUID string identifying this role. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Role' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_roles_partial_update + parameters: + - description: A UUID string identifying this role. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedRoleRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Role' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_roles_update + parameters: + - description: A UUID string identifying this role. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RoleRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Role' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/roles/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: ipam_roles_notes_list + parameters: + - description: A UUID string identifying this role. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: API methods for returning or creating notes on an object. + operationId: ipam_roles_notes_create + parameters: + - description: A UUID string identifying this role. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/route-targets/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_route_targets_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_route_targets_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - description: Export VRF (RD) + explode: true + in: query + name: exporting_vrf + schema: + items: + nullable: true + title: Route distinguisher + type: string + type: array + style: form + - description: Export VRF (RD) + explode: true + in: query + name: exporting_vrf__n + schema: + items: + nullable: true + title: Route distinguisher + type: string + type: array + style: form + - description: Exporting VRF + explode: true + in: query + name: exporting_vrf_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Exporting VRF + explode: true + in: query + name: exporting_vrf_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Import VRF (RD) + explode: true + in: query + name: importing_vrf + schema: + items: + nullable: true + title: Route distinguisher + type: string + type: array + style: form + - description: Import VRF (RD) + explode: true + in: query + name: importing_vrf__n + schema: + items: + nullable: true + title: Route distinguisher + type: string + type: array + style: form + - description: Importing VRF + explode: true + in: query + name: importing_vrf_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Importing VRF + explode: true + in: query + name: importing_vrf_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRouteTargetList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_route_targets_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableRouteTargetRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/RouteTarget' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_route_targets_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRouteTargetRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RouteTarget' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_route_targets_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableRouteTargetRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/RouteTarget' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/route-targets/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_route_targets_destroy + parameters: + - description: A UUID string identifying this route target. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_route_targets_retrieve + parameters: + - description: A UUID string identifying this route target. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RouteTarget' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_route_targets_partial_update + parameters: + - description: A UUID string identifying this route target. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableRouteTargetRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RouteTarget' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_route_targets_update + parameters: + - description: A UUID string identifying this route target. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableRouteTargetRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RouteTarget' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/route-targets/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: ipam_route_targets_notes_list + parameters: + - description: A UUID string identifying this route target. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: API methods for returning or creating notes on an object. + operationId: ipam_route_targets_notes_create + parameters: + - description: A UUID string identifying this route target. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/services/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_services_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_services_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - description: Device (name) + explode: true + in: query + name: device + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device (name) + explode: true + in: query + name: device__n + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - in: query + name: port + schema: + type: number + - in: query + name: protocol + schema: + type: string + - in: query + name: protocol__n + schema: + type: string + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Virtual machine (name) + explode: true + in: query + name: virtual_machine + schema: + items: + type: string + type: array + style: form + - description: Virtual machine (name) + explode: true + in: query + name: virtual_machine__n + schema: + items: + type: string + type: array + style: form + - description: Virtual machine (ID) + explode: true + in: query + name: virtual_machine_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Virtual machine (ID) + explode: true + in: query + name: virtual_machine_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedServiceList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_services_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableServiceRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Service' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_services_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableServiceRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Service' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_services_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableServiceRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Service' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/services/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_services_destroy + parameters: + - description: A UUID string identifying this service. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_services_retrieve + parameters: + - description: A UUID string identifying this service. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Service' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_services_partial_update + parameters: + - description: A UUID string identifying this service. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableServiceRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Service' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_services_update + parameters: + - description: A UUID string identifying this service. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableServiceRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Service' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/services/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: ipam_services_notes_list + parameters: + - description: A UUID string identifying this service. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: API methods for returning or creating notes on an object. + operationId: ipam_services_notes_create + parameters: + - description: A UUID string identifying this service. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/vlan-groups/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_vlan_groups_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_vlan_groups_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Location (slug or ID) + explode: true + in: query + name: location + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Location (slug or ID) + explode: true + in: query + name: location__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - description: Region (slug or ID) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug or ID) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) (deprecated, use "region" filter instead) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) (deprecated, use "region" filter instead) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (slug or ID) + explode: true + in: query + name: site + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (slug or ID) + explode: true + in: query + name: site__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) (deprecated, use "site" filter instead) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Site (ID) (deprecated, use "site" filter instead) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedVLANGroupList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_vlan_groups_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableVLANGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/VLANGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_vlan_groups_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVLANGroupRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VLANGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_vlan_groups_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableVLANGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/VLANGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/vlan-groups/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_vlan_groups_destroy + parameters: + - description: A UUID string identifying this VLAN group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_vlan_groups_retrieve + parameters: + - description: A UUID string identifying this VLAN group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VLANGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_vlan_groups_partial_update + parameters: + - description: A UUID string identifying this VLAN group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableVLANGroupRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VLANGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_vlan_groups_update + parameters: + - description: A UUID string identifying this VLAN group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVLANGroupRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VLANGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/vlan-groups/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: ipam_vlan_groups_notes_list + parameters: + - description: A UUID string identifying this VLAN group. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: API methods for returning or creating notes on an object. + operationId: ipam_vlan_groups_notes_create + parameters: + - description: A UUID string identifying this VLAN group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/vlans/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_vlans_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_vlans_list + parameters: + - description: Device (ID) + in: query + name: available_on_device + schema: + format: uuid + type: string + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - description: Group + explode: true + in: query + name: group + schema: + items: + type: string + type: array + style: form + - description: Group + explode: true + in: query + name: group__n + schema: + items: + type: string + type: array + style: form + - description: Group (ID) + explode: true + in: query + name: group_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Group (ID) + explode: true + in: query + name: group_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Location (slug or ID) + explode: true + in: query + name: location + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Location (slug or ID) + explode: true + in: query + name: location__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - description: Region (slug or ID) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug or ID) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) (deprecated, use "region" filter instead) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) (deprecated, use "region" filter instead) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Role (slug) + explode: true + in: query + name: role + schema: + items: + type: string + type: array + style: form + - description: Role (slug) + explode: true + in: query + name: role__n + schema: + items: + type: string + type: array + style: form + - description: Role (ID) + explode: true + in: query + name: role_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Role (ID) + explode: true + in: query + name: role_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Site (slug or ID) + explode: true + in: query + name: site + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (slug or ID) + explode: true + in: query + name: site__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) (deprecated, use "site" filter instead) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Site (ID) (deprecated, use "site" filter instead) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: status + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: vid + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: vid__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: vid__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: vid__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: vid__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: vid__n + schema: + items: + type: integer + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedVLANList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_vlans_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableVLANRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/VLAN' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_vlans_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVLANRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VLAN' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_vlans_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableVLANRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/VLAN' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/vlans/{id}/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_vlans_destroy + parameters: + - description: A UUID string identifying this VLAN. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_vlans_retrieve + parameters: + - description: A UUID string identifying this VLAN. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VLAN' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_vlans_partial_update + parameters: + - description: A UUID string identifying this VLAN. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableVLANRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VLAN' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: ipam_vlans_update + parameters: + - description: A UUID string identifying this VLAN. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVLANRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VLAN' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/vlans/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: ipam_vlans_notes_list + parameters: + - description: A UUID string identifying this VLAN. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: API methods for returning or creating notes on an object. + operationId: ipam_vlans_notes_create + parameters: + - description: A UUID string identifying this VLAN. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/vrfs/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_vrfs_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_vrfs_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - in: query + name: enforce_unique + schema: + type: boolean + - description: Export target (name) + explode: true + in: query + name: export_target + schema: + items: + type: string + type: array + style: form + - description: Export target (name) + explode: true + in: query + name: export_target__n + schema: + items: + type: string + type: array + style: form + - description: Export target + explode: true + in: query + name: export_target_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Export target + explode: true + in: query + name: export_target_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Import target (name) + explode: true + in: query + name: import_target + schema: + items: + type: string + type: array + style: form + - description: Import target (name) + explode: true + in: query + name: import_target__n + schema: + items: + type: string + type: array + style: form + - description: Import target + explode: true + in: query + name: import_target_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Import target + explode: true + in: query + name: import_target_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: rd + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: rd__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: rd__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: rd__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: rd__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: rd__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: rd__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: rd__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: rd__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: rd__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: rd__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: rd__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: rd__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: rd__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedVRFList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_vrfs_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableVRFRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/VRF' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_vrfs_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVRFRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VRF' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_vrfs_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableVRFRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/VRF' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/vrfs/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_vrfs_destroy + parameters: + - description: A UUID string identifying this VRF. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_vrfs_retrieve + parameters: + - description: A UUID string identifying this VRF. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VRF' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_vrfs_partial_update + parameters: + - description: A UUID string identifying this VRF. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableVRFRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VRF' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: ipam_vrfs_update + parameters: + - description: A UUID string identifying this VRF. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVRFRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VRF' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /ipam/vrfs/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: ipam_vrfs_notes_list + parameters: + - description: A UUID string identifying this VRF. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + post: + description: API methods for returning or creating notes on an object. + operationId: ipam_vrfs_notes_create + parameters: + - description: A UUID string identifying this VRF. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - ipam + /plugins/bgp/address-families/: + delete: + description: REST API viewset for AddressFamily records. + operationId: plugins_bgp_address_families_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: List all objects of this type. + operationId: plugins_bgp_address_families_list + parameters: + - explode: true + in: query + name: afi_safi + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: afi_safi__n + schema: + items: + type: string + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Include inherited configuration values + in: query + name: include_inherited + schema: + type: boolean + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: BGP Routing Instance ID + explode: true + in: query + name: routing_instance + schema: + items: + format: uuid + type: string + type: array + style: form + - description: BGP Routing Instance ID + explode: true + in: query + name: routing_instance__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: VRF (name) + explode: true + in: query + name: vrf + schema: + items: + type: string + type: array + style: form + - description: VRF (name) + explode: true + in: query + name: vrf__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedAddressFamilyList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for AddressFamily records. + operationId: plugins_bgp_address_families_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableAddressFamilyRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/AddressFamily' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: REST API viewset for AddressFamily records. + operationId: plugins_bgp_address_families_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableAddressFamilyRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AddressFamily' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for AddressFamily records. + operationId: plugins_bgp_address_families_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableAddressFamilyRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/AddressFamily' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/bgp/address-families/{id}/: + delete: + description: REST API viewset for AddressFamily records. + operationId: plugins_bgp_address_families_destroy + parameters: + - description: A UUID string identifying this BGP address family. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: Retrieve a specific object instance. + operationId: plugins_bgp_address_families_retrieve + parameters: + - description: A UUID string identifying this BGP address family. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Include inherited configuration values + in: query + name: include_inherited + schema: + type: boolean + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AddressFamily' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for AddressFamily records. + operationId: plugins_bgp_address_families_partial_update + parameters: + - description: A UUID string identifying this BGP address family. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableAddressFamilyRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AddressFamily' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for AddressFamily records. + operationId: plugins_bgp_address_families_update + parameters: + - description: A UUID string identifying this BGP address family. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableAddressFamilyRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AddressFamily' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/bgp/autonomous-systems/: + delete: + description: REST API viewset for AutonomousSystem records. + operationId: plugins_bgp_autonomous_systems_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: REST API viewset for AutonomousSystem records. + operationId: plugins_bgp_autonomous_systems_list + parameters: + - explode: true + in: query + name: asn + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: asn__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: asn__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: asn__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: asn__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: asn__n + schema: + items: + type: integer + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: status + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedAutonomousSystemList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for AutonomousSystem records. + operationId: plugins_bgp_autonomous_systems_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableAutonomousSystemRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/AutonomousSystem' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: REST API viewset for AutonomousSystem records. + operationId: plugins_bgp_autonomous_systems_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableAutonomousSystemRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AutonomousSystem' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for AutonomousSystem records. + operationId: plugins_bgp_autonomous_systems_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableAutonomousSystemRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/AutonomousSystem' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/bgp/autonomous-systems/{id}/: + delete: + description: REST API viewset for AutonomousSystem records. + operationId: plugins_bgp_autonomous_systems_destroy + parameters: + - description: A UUID string identifying this Autonomous system. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: REST API viewset for AutonomousSystem records. + operationId: plugins_bgp_autonomous_systems_retrieve + parameters: + - description: A UUID string identifying this Autonomous system. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AutonomousSystem' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for AutonomousSystem records. + operationId: plugins_bgp_autonomous_systems_partial_update + parameters: + - description: A UUID string identifying this Autonomous system. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableAutonomousSystemRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AutonomousSystem' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for AutonomousSystem records. + operationId: plugins_bgp_autonomous_systems_update + parameters: + - description: A UUID string identifying this Autonomous system. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableAutonomousSystemRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AutonomousSystem' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/bgp/peer-endpoints/: + delete: + description: REST API viewset for PeerEndpoint records. + operationId: plugins_bgp_peer_endpoints_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: List all objects of this type. + operationId: plugins_bgp_peer_endpoints_list + parameters: + - description: Autonomous System Number + in: query + name: autonomous_system + required: false + schema: + type: string + - description: Autonomous System Number + in: query + name: autonomous_system__n + required: false + schema: + type: string + - description: Device (name) + in: query + name: device + required: false + schema: + type: string + - description: Device (name) + in: query + name: device__n + required: false + schema: + type: string + - description: enabled + in: query + name: enabled + required: false + schema: + type: string + - description: id + in: query + name: id + required: false + schema: + type: string + - description: id__ic + in: query + name: id__ic + required: false + schema: + type: string + - description: id__ie + in: query + name: id__ie + required: false + schema: + type: string + - description: id__iew + in: query + name: id__iew + required: false + schema: + type: string + - description: id__ire + in: query + name: id__ire + required: false + schema: + type: string + - description: id__isw + in: query + name: id__isw + required: false + schema: + type: string + - description: id__n + in: query + name: id__n + required: false + schema: + type: string + - description: id__nic + in: query + name: id__nic + required: false + schema: + type: string + - description: id__nie + in: query + name: id__nie + required: false + schema: + type: string + - description: id__niew + in: query + name: id__niew + required: false + schema: + type: string + - description: id__nire + in: query + name: id__nire + required: false + schema: + type: string + - description: id__nisw + in: query + name: id__nisw + required: false + schema: + type: string + - description: id__nre + in: query + name: id__nre + required: false + schema: + type: string + - description: id__re + in: query + name: id__re + required: false + schema: + type: string + - description: Include inherited configuration values + in: query + name: include_inherited + schema: + type: boolean + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Peer Group (id) + in: query + name: peer_group + required: false + schema: + type: string + - description: Peer Group (id) + in: query + name: peer_group__n + required: false + schema: + type: string + - description: Search + in: query + name: q + required: false + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPeerEndpointList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for PeerEndpoint records. + operationId: plugins_bgp_peer_endpoints_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritablePeerEndpointRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PeerEndpoint' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: REST API viewset for PeerEndpoint records. + operationId: plugins_bgp_peer_endpoints_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePeerEndpointRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PeerEndpoint' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for PeerEndpoint records. + operationId: plugins_bgp_peer_endpoints_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritablePeerEndpointRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PeerEndpoint' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/bgp/peer-endpoints/{id}/: + delete: + description: REST API viewset for PeerEndpoint records. + operationId: plugins_bgp_peer_endpoints_destroy + parameters: + - description: A UUID string identifying this peer endpoint. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: Retrieve a specific object instance. + operationId: plugins_bgp_peer_endpoints_retrieve + parameters: + - description: A UUID string identifying this peer endpoint. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Include inherited configuration values + in: query + name: include_inherited + schema: + type: boolean + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PeerEndpoint' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for PeerEndpoint records. + operationId: plugins_bgp_peer_endpoints_partial_update + parameters: + - description: A UUID string identifying this peer endpoint. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePeerEndpointRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PeerEndpoint' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for PeerEndpoint records. + operationId: plugins_bgp_peer_endpoints_update + parameters: + - description: A UUID string identifying this peer endpoint. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePeerEndpointRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PeerEndpoint' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/bgp/peer-group-templates/: + delete: + description: REST API viewset for PeerGroupTemplate records. + operationId: plugins_bgp_peer_group_templates_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: List all objects of this type. + operationId: plugins_bgp_peer_group_templates_list + parameters: + - description: Autonomous System Number + explode: true + in: query + name: autonomous_system + schema: + items: + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + type: array + style: form + - description: Autonomous System Number + explode: true + in: query + name: autonomous_system__n + schema: + items: + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + type: array + style: form + - in: query + name: enabled + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Include inherited configuration values + in: query + name: include_inherited + schema: + type: boolean + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - description: Peering role (slug) + explode: true + in: query + name: role + schema: + items: + type: string + type: array + style: form + - description: Peering role (slug) + explode: true + in: query + name: role__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPeerGroupTemplateList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for PeerGroupTemplate records. + operationId: plugins_bgp_peer_group_templates_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritablePeerGroupTemplateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PeerGroupTemplate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: REST API viewset for PeerGroupTemplate records. + operationId: plugins_bgp_peer_group_templates_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePeerGroupTemplateRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PeerGroupTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for PeerGroupTemplate records. + operationId: plugins_bgp_peer_group_templates_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritablePeerGroupTemplateRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PeerGroupTemplate' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/bgp/peer-group-templates/{id}/: + delete: + description: REST API viewset for PeerGroupTemplate records. + operationId: plugins_bgp_peer_group_templates_destroy + parameters: + - description: A UUID string identifying this BGP Peer Group Template. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: Retrieve a specific object instance. + operationId: plugins_bgp_peer_group_templates_retrieve + parameters: + - description: A UUID string identifying this BGP Peer Group Template. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Include inherited configuration values + in: query + name: include_inherited + schema: + type: boolean + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PeerGroupTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for PeerGroupTemplate records. + operationId: plugins_bgp_peer_group_templates_partial_update + parameters: + - description: A UUID string identifying this BGP Peer Group Template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePeerGroupTemplateRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PeerGroupTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for PeerGroupTemplate records. + operationId: plugins_bgp_peer_group_templates_update + parameters: + - description: A UUID string identifying this BGP Peer Group Template. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePeerGroupTemplateRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PeerGroupTemplate' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/bgp/peer-groups/: + delete: + description: REST API viewset for PeerGroup records. + operationId: plugins_bgp_peer_groups_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: List all objects of this type. + operationId: plugins_bgp_peer_groups_list + parameters: + - description: Autonomous System Number + in: query + name: autonomous_system + required: false + schema: + type: string + - description: Autonomous System Number + in: query + name: autonomous_system__n + required: false + schema: + type: string + - description: enabled + in: query + name: enabled + required: false + schema: + type: string + - description: id + in: query + name: id + required: false + schema: + type: string + - description: id__ic + in: query + name: id__ic + required: false + schema: + type: string + - description: id__ie + in: query + name: id__ie + required: false + schema: + type: string + - description: id__iew + in: query + name: id__iew + required: false + schema: + type: string + - description: id__ire + in: query + name: id__ire + required: false + schema: + type: string + - description: id__isw + in: query + name: id__isw + required: false + schema: + type: string + - description: id__n + in: query + name: id__n + required: false + schema: + type: string + - description: id__nic + in: query + name: id__nic + required: false + schema: + type: string + - description: id__nie + in: query + name: id__nie + required: false + schema: + type: string + - description: id__niew + in: query + name: id__niew + required: false + schema: + type: string + - description: id__nire + in: query + name: id__nire + required: false + schema: + type: string + - description: id__nisw + in: query + name: id__nisw + required: false + schema: + type: string + - description: id__nre + in: query + name: id__nre + required: false + schema: + type: string + - description: id__re + in: query + name: id__re + required: false + schema: + type: string + - description: Include inherited configuration values + in: query + name: include_inherited + schema: + type: boolean + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: name + in: query + name: name + required: false + schema: + type: string + - description: name__ic + in: query + name: name__ic + required: false + schema: + type: string + - description: name__ie + in: query + name: name__ie + required: false + schema: + type: string + - description: name__iew + in: query + name: name__iew + required: false + schema: + type: string + - description: name__ire + in: query + name: name__ire + required: false + schema: + type: string + - description: name__isw + in: query + name: name__isw + required: false + schema: + type: string + - description: name__n + in: query + name: name__n + required: false + schema: + type: string + - description: name__nic + in: query + name: name__nic + required: false + schema: + type: string + - description: name__nie + in: query + name: name__nie + required: false + schema: + type: string + - description: name__niew + in: query + name: name__niew + required: false + schema: + type: string + - description: name__nire + in: query + name: name__nire + required: false + schema: + type: string + - description: name__nisw + in: query + name: name__nisw + required: false + schema: + type: string + - description: name__nre + in: query + name: name__nre + required: false + schema: + type: string + - description: name__re + in: query + name: name__re + required: false + schema: + type: string + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + required: false + schema: + type: string + - description: Peering role (slug) + in: query + name: role + required: false + schema: + type: string + - description: Peering role (slug) + in: query + name: role__n + required: false + schema: + type: string + - description: BGP Routing Instance ID + in: query + name: routing_instance + required: false + schema: + type: string + - description: BGP Routing Instance ID + in: query + name: routing_instance__n + required: false + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPeerGroupList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for PeerGroup records. + operationId: plugins_bgp_peer_groups_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritablePeerGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PeerGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: REST API viewset for PeerGroup records. + operationId: plugins_bgp_peer_groups_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePeerGroupRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PeerGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for PeerGroup records. + operationId: plugins_bgp_peer_groups_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritablePeerGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PeerGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/bgp/peer-groups/{id}/: + delete: + description: REST API viewset for PeerGroup records. + operationId: plugins_bgp_peer_groups_destroy + parameters: + - description: A UUID string identifying this BGP Peer Group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: Retrieve a specific object instance. + operationId: plugins_bgp_peer_groups_retrieve + parameters: + - description: A UUID string identifying this BGP Peer Group. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Include inherited configuration values + in: query + name: include_inherited + schema: + type: boolean + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PeerGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for PeerGroup records. + operationId: plugins_bgp_peer_groups_partial_update + parameters: + - description: A UUID string identifying this BGP Peer Group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePeerGroupRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PeerGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for PeerGroup records. + operationId: plugins_bgp_peer_groups_update + parameters: + - description: A UUID string identifying this BGP Peer Group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePeerGroupRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PeerGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/bgp/peering-roles/: + delete: + description: REST API viewset for PeeringRole records. + operationId: plugins_bgp_peering_roles_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: REST API viewset for PeeringRole records. + operationId: plugins_bgp_peering_roles_list + parameters: + - explode: true + in: query + name: color + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: color__re + schema: + items: + type: string + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPeeringRoleList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for PeeringRole records. + operationId: plugins_bgp_peering_roles_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritablePeeringRoleRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PeeringRole' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: REST API viewset for PeeringRole records. + operationId: plugins_bgp_peering_roles_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PeeringRoleRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PeeringRole' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for PeeringRole records. + operationId: plugins_bgp_peering_roles_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritablePeeringRoleRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PeeringRole' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/bgp/peering-roles/{id}/: + delete: + description: REST API viewset for PeeringRole records. + operationId: plugins_bgp_peering_roles_destroy + parameters: + - description: A UUID string identifying this BGP Peering Role. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: REST API viewset for PeeringRole records. + operationId: plugins_bgp_peering_roles_retrieve + parameters: + - description: A UUID string identifying this BGP Peering Role. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PeeringRole' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for PeeringRole records. + operationId: plugins_bgp_peering_roles_partial_update + parameters: + - description: A UUID string identifying this BGP Peering Role. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedPeeringRoleRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PeeringRole' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for PeeringRole records. + operationId: plugins_bgp_peering_roles_update + parameters: + - description: A UUID string identifying this BGP Peering Role. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PeeringRoleRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PeeringRole' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/bgp/peerings/: + delete: + description: REST API viewset for Peering records. + operationId: plugins_bgp_peerings_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: REST API viewset for Peering records. + operationId: plugins_bgp_peerings_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - description: Device (name) + explode: true + in: query + name: device + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device (name) + explode: true + in: query + name: device__n + schema: + items: + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - explode: true + in: query + name: status + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + format: uuid + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPeeringList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for Peering records. + operationId: plugins_bgp_peerings_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritablePeeringRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Peering' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: REST API viewset for Peering records. + operationId: plugins_bgp_peerings_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PeeringRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Peering' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for Peering records. + operationId: plugins_bgp_peerings_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritablePeeringRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Peering' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/bgp/peerings/{id}/: + delete: + description: REST API viewset for Peering records. + operationId: plugins_bgp_peerings_destroy + parameters: + - description: A UUID string identifying this BGP Peering. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: REST API viewset for Peering records. + operationId: plugins_bgp_peerings_retrieve + parameters: + - description: A UUID string identifying this BGP Peering. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Peering' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for Peering records. + operationId: plugins_bgp_peerings_partial_update + parameters: + - description: A UUID string identifying this BGP Peering. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedPeeringRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Peering' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for Peering records. + operationId: plugins_bgp_peerings_update + parameters: + - description: A UUID string identifying this BGP Peering. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PeeringRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Peering' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/bgp/routing-instances/: + delete: + description: REST API viewset for BGPRoutingInstance records. + operationId: plugins_bgp_routing_instances_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: REST API viewset for BGPRoutingInstance records. + operationId: plugins_bgp_routing_instances_list + parameters: + - description: Autonomous System Number + explode: true + in: query + name: autonomous_system + schema: + items: + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + type: array + style: form + - description: Autonomous System Number + explode: true + in: query + name: autonomous_system__n + schema: + items: + format: int64 + maximum: 4294967295 + minimum: 1 + type: integer + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - description: Device (name) + explode: true + in: query + name: device + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device (name) + explode: true + in: query + name: device__n + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device (ID) + explode: true + in: query + name: device_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: status + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedBGPRoutingInstanceList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for BGPRoutingInstance records. + operationId: plugins_bgp_routing_instances_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableBGPRoutingInstanceRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/BGPRoutingInstance' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: REST API viewset for BGPRoutingInstance records. + operationId: plugins_bgp_routing_instances_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableBGPRoutingInstanceRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/BGPRoutingInstance' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for BGPRoutingInstance records. + operationId: plugins_bgp_routing_instances_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableBGPRoutingInstanceRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/BGPRoutingInstance' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/bgp/routing-instances/{id}/: + delete: + description: REST API viewset for BGPRoutingInstance records. + operationId: plugins_bgp_routing_instances_destroy + parameters: + - description: A UUID string identifying this BGP Routing Instance. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: REST API viewset for BGPRoutingInstance records. + operationId: plugins_bgp_routing_instances_retrieve + parameters: + - description: A UUID string identifying this BGP Routing Instance. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/BGPRoutingInstance' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for BGPRoutingInstance records. + operationId: plugins_bgp_routing_instances_partial_update + parameters: + - description: A UUID string identifying this BGP Routing Instance. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableBGPRoutingInstanceRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/BGPRoutingInstance' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for BGPRoutingInstance records. + operationId: plugins_bgp_routing_instances_update + parameters: + - description: A UUID string identifying this BGP Routing Instance. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableBGPRoutingInstanceRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/BGPRoutingInstance' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/chatops/accessgrant/: + delete: + description: API viewset for interacting with AccessGrant objects. + operationId: plugins_chatops_accessgrant_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API viewset for interacting with AccessGrant objects. + operationId: plugins_chatops_accessgrant_list + parameters: + - explode: true + in: query + name: command + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: command__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: command__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: command__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: command__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: command__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: command__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: command__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: command__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: command__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: command__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: command__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: command__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: command__re + schema: + items: + type: string + type: array + style: form + - in: query + name: grant_type + schema: + type: string + - in: query + name: grant_type__n + schema: + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - explode: true + in: query + name: subcommand + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: subcommand__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: subcommand__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: subcommand__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: subcommand__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: subcommand__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: subcommand__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: subcommand__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: subcommand__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: subcommand__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: subcommand__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: subcommand__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: subcommand__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: subcommand__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: value__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedAccessGrantList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API viewset for interacting with AccessGrant objects. + operationId: plugins_chatops_accessgrant_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableAccessGrantRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/AccessGrant' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API viewset for interacting with AccessGrant objects. + operationId: plugins_chatops_accessgrant_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AccessGrantRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AccessGrant' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API viewset for interacting with AccessGrant objects. + operationId: plugins_chatops_accessgrant_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableAccessGrantRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/AccessGrant' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/chatops/accessgrant/{id}/: + delete: + description: API viewset for interacting with AccessGrant objects. + operationId: plugins_chatops_accessgrant_destroy + parameters: + - description: A UUID string identifying this access grant. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API viewset for interacting with AccessGrant objects. + operationId: plugins_chatops_accessgrant_retrieve + parameters: + - description: A UUID string identifying this access grant. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AccessGrant' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API viewset for interacting with AccessGrant objects. + operationId: plugins_chatops_accessgrant_partial_update + parameters: + - description: A UUID string identifying this access grant. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedAccessGrantRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AccessGrant' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API viewset for interacting with AccessGrant objects. + operationId: plugins_chatops_accessgrant_update + parameters: + - description: A UUID string identifying this access grant. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AccessGrantRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AccessGrant' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/chatops/commandtoken/: + delete: + description: API viewset for interacting with CommandToken objects. + operationId: plugins_chatops_commandtoken_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API viewset for interacting with CommandToken objects. + operationId: plugins_chatops_commandtoken_list + parameters: + - explode: true + in: query + name: comment + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comment__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comment__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comment__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comment__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comment__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comment__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comment__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comment__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comment__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comment__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comment__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comment__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comment__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - in: query + name: platform + schema: + type: string + - in: query + name: platform__n + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCommandTokenList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API viewset for interacting with CommandToken objects. + operationId: plugins_chatops_commandtoken_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableCommandTokenRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/CommandToken' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API viewset for interacting with CommandToken objects. + operationId: plugins_chatops_commandtoken_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CommandTokenRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CommandToken' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API viewset for interacting with CommandToken objects. + operationId: plugins_chatops_commandtoken_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableCommandTokenRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/CommandToken' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/chatops/commandtoken/{id}/: + delete: + description: API viewset for interacting with CommandToken objects. + operationId: plugins_chatops_commandtoken_destroy + parameters: + - description: A UUID string identifying this command token. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API viewset for interacting with CommandToken objects. + operationId: plugins_chatops_commandtoken_retrieve + parameters: + - description: A UUID string identifying this command token. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CommandToken' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API viewset for interacting with CommandToken objects. + operationId: plugins_chatops_commandtoken_partial_update + parameters: + - description: A UUID string identifying this command token. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedCommandTokenRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CommandToken' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API viewset for interacting with CommandToken objects. + operationId: plugins_chatops_commandtoken_update + parameters: + - description: A UUID string identifying this command token. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CommandTokenRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CommandToken' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/circuit-maintenance/circuitimpact/: + delete: + description: API view for Circuit Impact CRUD operations. + operationId: plugins_circuit_maintenance_circuitimpact_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API view for Circuit Impact CRUD operations. + operationId: plugins_circuit_maintenance_circuitimpact_list + parameters: + - in: query + name: circuit + schema: + format: uuid + type: string + - in: query + name: circuit__n + schema: + format: uuid + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: impact + schema: + nullable: true + type: string + - in: query + name: impact__n + schema: + nullable: true + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - in: query + name: maintenance + schema: + format: uuid + type: string + - in: query + name: maintenance__n + schema: + format: uuid + type: string + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCircuitMaintenanceCircuitImpactList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API view for Circuit Impact CRUD operations. + operationId: plugins_circuit_maintenance_circuitimpact_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API view for Circuit Impact CRUD operations. + operationId: plugins_circuit_maintenance_circuitimpact_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpactRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API view for Circuit Impact CRUD operations. + operationId: plugins_circuit_maintenance_circuitimpact_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableCircuitMaintenanceCircuitImpactRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/circuit-maintenance/circuitimpact/{id}/: + delete: + description: API view for Circuit Impact CRUD operations. + operationId: plugins_circuit_maintenance_circuitimpact_destroy + parameters: + - description: A UUID string identifying this circuit impact. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API view for Circuit Impact CRUD operations. + operationId: plugins_circuit_maintenance_circuitimpact_retrieve + parameters: + - description: A UUID string identifying this circuit impact. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API view for Circuit Impact CRUD operations. + operationId: plugins_circuit_maintenance_circuitimpact_partial_update + parameters: + - description: A UUID string identifying this circuit impact. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedCircuitMaintenanceCircuitImpactRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API view for Circuit Impact CRUD operations. + operationId: plugins_circuit_maintenance_circuitimpact_update + parameters: + - description: A UUID string identifying this circuit impact. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpactRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitMaintenanceCircuitImpact' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/circuit-maintenance/maintenance/: + delete: + description: API view for Circuit Maintenance CRUD operations. + operationId: plugins_circuit_maintenance_maintenance_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API view for Circuit Maintenance CRUD operations. + operationId: plugins_circuit_maintenance_maintenance_list + parameters: + - in: query + name: ack + schema: + type: boolean + - description: Circuit + explode: true + in: query + name: circuit + schema: + items: + type: string + type: array + style: form + - in: query + name: end_time + schema: + format: date-time + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Provider (slug) + explode: true + in: query + name: provider + schema: + items: + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - in: query + name: start_time + schema: + format: date-time + type: string + - in: query + name: status + schema: + nullable: true + type: string + - in: query + name: status__n + schema: + nullable: true + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCircuitMaintenanceList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API view for Circuit Maintenance CRUD operations. + operationId: plugins_circuit_maintenance_maintenance_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableCircuitMaintenanceRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/CircuitMaintenance' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API view for Circuit Maintenance CRUD operations. + operationId: plugins_circuit_maintenance_maintenance_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CircuitMaintenanceRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitMaintenance' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API view for Circuit Maintenance CRUD operations. + operationId: plugins_circuit_maintenance_maintenance_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableCircuitMaintenanceRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/CircuitMaintenance' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/circuit-maintenance/maintenance/{id}/: + delete: + description: API view for Circuit Maintenance CRUD operations. + operationId: plugins_circuit_maintenance_maintenance_destroy + parameters: + - description: A UUID string identifying this circuit maintenance. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API view for Circuit Maintenance CRUD operations. + operationId: plugins_circuit_maintenance_maintenance_retrieve + parameters: + - description: A UUID string identifying this circuit maintenance. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitMaintenance' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API view for Circuit Maintenance CRUD operations. + operationId: plugins_circuit_maintenance_maintenance_partial_update + parameters: + - description: A UUID string identifying this circuit maintenance. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedCircuitMaintenanceRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitMaintenance' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API view for Circuit Maintenance CRUD operations. + operationId: plugins_circuit_maintenance_maintenance_update + parameters: + - description: A UUID string identifying this circuit maintenance. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CircuitMaintenanceRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CircuitMaintenance' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/circuit-maintenance/note/: + delete: + description: API view for Circuit Note CRUD operations. + operationId: plugins_circuit_maintenance_note_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API view for Circuit Note CRUD operations. + operationId: plugins_circuit_maintenance_note_list + parameters: + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API view for Circuit Note CRUD operations. + operationId: plugins_circuit_maintenance_note_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableNoteRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Note' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API view for Circuit Note CRUD operations. + operationId: plugins_circuit_maintenance_note_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API view for Circuit Note CRUD operations. + operationId: plugins_circuit_maintenance_note_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableNoteRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Note' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/circuit-maintenance/note/{id}/: + delete: + description: API view for Circuit Note CRUD operations. + operationId: plugins_circuit_maintenance_note_destroy + parameters: + - description: A UUID string identifying this note. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API view for Circuit Note CRUD operations. + operationId: plugins_circuit_maintenance_note_retrieve + parameters: + - description: A UUID string identifying this note. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API view for Circuit Note CRUD operations. + operationId: plugins_circuit_maintenance_note_partial_update + parameters: + - description: A UUID string identifying this note. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedNoteRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API view for Circuit Note CRUD operations. + operationId: plugins_circuit_maintenance_note_update + parameters: + - description: A UUID string identifying this note. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/circuit-maintenance/notificationsource/: + get: + description: API view for Notification Source CRUD operations. + operationId: plugins_circuit_maintenance_notificationsource_list + parameters: + - in: query + name: attach_all_providers + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNotificationSourceList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/circuit-maintenance/notificationsource/{id}/: + get: + description: API view for Notification Source CRUD operations. + operationId: plugins_circuit_maintenance_notificationsource_retrieve + parameters: + - description: A UUID string identifying this notification source. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/NotificationSource' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/data-validation-engine/rules/min-max/: + delete: + description: View to manage min max expression validation rules + operationId: plugins_data_validation_engine_rules_min_max_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: View to manage min max expression validation rules + operationId: plugins_data_validation_engine_rules_min_max_list + parameters: + - explode: true + in: query + name: content_type + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: content_type__n + schema: + items: + type: integer + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - in: query + name: enabled + schema: + type: boolean + - explode: true + in: query + name: error_message + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: max + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: max__gt + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: max__gte + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: max__lt + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: max__lte + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: max__n + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: min + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: min__gt + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: min__gte + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: min__lt + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: min__lte + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: min__n + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedMinMaxValidationRuleList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: View to manage min max expression validation rules + operationId: plugins_data_validation_engine_rules_min_max_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableMinMaxValidationRuleRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/MinMaxValidationRule' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: View to manage min max expression validation rules + operationId: plugins_data_validation_engine_rules_min_max_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/MinMaxValidationRuleRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/MinMaxValidationRule' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: View to manage min max expression validation rules + operationId: plugins_data_validation_engine_rules_min_max_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableMinMaxValidationRuleRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/MinMaxValidationRule' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/data-validation-engine/rules/min-max/{id}/: + delete: + description: View to manage min max expression validation rules + operationId: plugins_data_validation_engine_rules_min_max_destroy + parameters: + - description: A UUID string identifying this min max validation rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: View to manage min max expression validation rules + operationId: plugins_data_validation_engine_rules_min_max_retrieve + parameters: + - description: A UUID string identifying this min max validation rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/MinMaxValidationRule' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: View to manage min max expression validation rules + operationId: plugins_data_validation_engine_rules_min_max_partial_update + parameters: + - description: A UUID string identifying this min max validation rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedMinMaxValidationRuleRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/MinMaxValidationRule' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: View to manage min max expression validation rules + operationId: plugins_data_validation_engine_rules_min_max_update + parameters: + - description: A UUID string identifying this min max validation rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/MinMaxValidationRuleRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/MinMaxValidationRule' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/data-validation-engine/rules/regex/: + delete: + description: View to manage regular expression validation rules + operationId: plugins_data_validation_engine_rules_regex_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: View to manage regular expression validation rules + operationId: plugins_data_validation_engine_rules_regex_list + parameters: + - explode: true + in: query + name: content_type + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: content_type__n + schema: + items: + type: integer + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - in: query + name: enabled + schema: + type: boolean + - explode: true + in: query + name: error_message + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: error_message__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: field__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: regular_expression + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: regular_expression__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: regular_expression__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: regular_expression__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: regular_expression__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: regular_expression__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: regular_expression__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: regular_expression__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: regular_expression__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: regular_expression__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: regular_expression__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: regular_expression__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: regular_expression__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: regular_expression__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedRegularExpressionValidationRuleList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: View to manage regular expression validation rules + operationId: plugins_data_validation_engine_rules_regex_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableRegularExpressionValidationRuleRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/RegularExpressionValidationRule' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: View to manage regular expression validation rules + operationId: plugins_data_validation_engine_rules_regex_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RegularExpressionValidationRuleRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RegularExpressionValidationRule' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: View to manage regular expression validation rules + operationId: plugins_data_validation_engine_rules_regex_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableRegularExpressionValidationRuleRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/RegularExpressionValidationRule' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/data-validation-engine/rules/regex/{id}/: + delete: + description: View to manage regular expression validation rules + operationId: plugins_data_validation_engine_rules_regex_destroy + parameters: + - description: A UUID string identifying this regular expression validation + rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: View to manage regular expression validation rules + operationId: plugins_data_validation_engine_rules_regex_retrieve + parameters: + - description: A UUID string identifying this regular expression validation + rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RegularExpressionValidationRule' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: View to manage regular expression validation rules + operationId: plugins_data_validation_engine_rules_regex_partial_update + parameters: + - description: A UUID string identifying this regular expression validation + rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedRegularExpressionValidationRuleRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RegularExpressionValidationRule' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: View to manage regular expression validation rules + operationId: plugins_data_validation_engine_rules_regex_update + parameters: + - description: A UUID string identifying this regular expression validation + rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RegularExpressionValidationRuleRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/RegularExpressionValidationRule' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/device-onboarding/onboarding/: + get: + description: 'Create, check status of, and delete onboarding tasks. + + + In-place updates (PUT, PATCH) of tasks are not permitted.' + operationId: plugins_device_onboarding_onboarding_list + parameters: + - description: Raison why the task failed (optional) + in: query + name: failed_reason + schema: + nullable: true + type: string + - in: query + name: id + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Platform (slug) + explode: true + in: query + name: platform + schema: + items: + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - description: Device Role (slug) + explode: true + in: query + name: role + schema: + items: + type: string + type: array + style: form + - description: Site (slug) + explode: true + in: query + name: site + schema: + items: + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Overall status of the task + in: query + name: status + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedOnboardingTaskList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: 'Create, check status of, and delete onboarding tasks. + + + In-place updates (PUT, PATCH) of tasks are not permitted.' + operationId: plugins_device_onboarding_onboarding_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/OnboardingTaskRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/OnboardingTask' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/device-onboarding/onboarding/{id}/: + delete: + description: 'Create, check status of, and delete onboarding tasks. + + + In-place updates (PUT, PATCH) of tasks are not permitted.' + operationId: plugins_device_onboarding_onboarding_destroy + parameters: + - description: A UUID string identifying this onboarding task. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: 'Create, check status of, and delete onboarding tasks. + + + In-place updates (PUT, PATCH) of tasks are not permitted.' + operationId: plugins_device_onboarding_onboarding_retrieve + parameters: + - description: A UUID string identifying this onboarding task. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/OnboardingTask' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/address-object-group/: + delete: + description: AddressObjectGroup viewset. + operationId: plugins_firewall_address_object_group_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: AddressObjectGroup viewset. + operationId: plugins_firewall_address_object_group_list + parameters: + - explode: true + in: query + name: address_objects + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: address_objects__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: status + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedAddressObjectGroupList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: AddressObjectGroup viewset. + operationId: plugins_firewall_address_object_group_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableAddressObjectGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/AddressObjectGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: AddressObjectGroup viewset. + operationId: plugins_firewall_address_object_group_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableAddressObjectGroupRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AddressObjectGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: AddressObjectGroup viewset. + operationId: plugins_firewall_address_object_group_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableAddressObjectGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/AddressObjectGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/address-object-group/{id}/: + delete: + description: AddressObjectGroup viewset. + operationId: plugins_firewall_address_object_group_destroy + parameters: + - description: A UUID string identifying this address object group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: AddressObjectGroup viewset. + operationId: plugins_firewall_address_object_group_retrieve + parameters: + - description: A UUID string identifying this address object group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AddressObjectGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: AddressObjectGroup viewset. + operationId: plugins_firewall_address_object_group_partial_update + parameters: + - description: A UUID string identifying this address object group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableAddressObjectGroupRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AddressObjectGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: AddressObjectGroup viewset. + operationId: plugins_firewall_address_object_group_update + parameters: + - description: A UUID string identifying this address object group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableAddressObjectGroupRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AddressObjectGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/address-object-group/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_address_object_group_notes_list + parameters: + - description: A UUID string identifying this address object group. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_address_object_group_notes_create + parameters: + - description: A UUID string identifying this address object group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/address-object/: + delete: + description: AddressObject viewset. + operationId: plugins_firewall_address_object_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: AddressObject viewset. + operationId: plugins_firewall_address_object_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - in: query + name: fqdn + schema: + format: uuid + type: string + - in: query + name: fqdn__n + schema: + format: uuid + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: ip_address + schema: + format: uuid + type: string + - in: query + name: ip_address__n + schema: + format: uuid + type: string + - in: query + name: ip_range + schema: + format: uuid + type: string + - in: query + name: ip_range__n + schema: + format: uuid + type: string + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - in: query + name: prefix + schema: + format: uuid + type: string + - in: query + name: prefix__n + schema: + format: uuid + type: string + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: status + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedAddressObjectList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: AddressObject viewset. + operationId: plugins_firewall_address_object_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableAddressObjectRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/AddressObject' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: AddressObject viewset. + operationId: plugins_firewall_address_object_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableAddressObjectRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AddressObject' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: AddressObject viewset. + operationId: plugins_firewall_address_object_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableAddressObjectRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/AddressObject' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/address-object/{id}/: + delete: + description: AddressObject viewset. + operationId: plugins_firewall_address_object_destroy + parameters: + - description: A UUID string identifying this address object. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: AddressObject viewset. + operationId: plugins_firewall_address_object_retrieve + parameters: + - description: A UUID string identifying this address object. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AddressObject' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: AddressObject viewset. + operationId: plugins_firewall_address_object_partial_update + parameters: + - description: A UUID string identifying this address object. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableAddressObjectRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AddressObject' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: AddressObject viewset. + operationId: plugins_firewall_address_object_update + parameters: + - description: A UUID string identifying this address object. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableAddressObjectRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/AddressObject' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/address-object/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_address_object_notes_list + parameters: + - description: A UUID string identifying this address object. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_address_object_notes_create + parameters: + - description: A UUID string identifying this address object. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/capirca-policy/: + delete: + description: CapircaPolicy viewset. + operationId: plugins_firewall_capirca_policy_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: CapircaPolicy viewset. + operationId: plugins_firewall_capirca_policy_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - description: Device Name + explode: true + in: query + name: device + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device Name + explode: true + in: query + name: device__n + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device ID + explode: true + in: query + name: device_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Device ID + explode: true + in: query + name: device_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCapircaPolicyList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: CapircaPolicy viewset. + operationId: plugins_firewall_capirca_policy_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableCapircaPolicyRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/CapircaPolicy' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: CapircaPolicy viewset. + operationId: plugins_firewall_capirca_policy_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CapircaPolicyRequest' + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CapircaPolicy' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: CapircaPolicy viewset. + operationId: plugins_firewall_capirca_policy_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableCapircaPolicyRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/CapircaPolicy' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/capirca-policy/{id}/: + delete: + description: CapircaPolicy viewset. + operationId: plugins_firewall_capirca_policy_destroy + parameters: + - description: A UUID string identifying this capirca policy. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: CapircaPolicy viewset. + operationId: plugins_firewall_capirca_policy_retrieve + parameters: + - description: A UUID string identifying this capirca policy. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CapircaPolicy' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: CapircaPolicy viewset. + operationId: plugins_firewall_capirca_policy_partial_update + parameters: + - description: A UUID string identifying this capirca policy. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedCapircaPolicyRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CapircaPolicy' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: CapircaPolicy viewset. + operationId: plugins_firewall_capirca_policy_update + parameters: + - description: A UUID string identifying this capirca policy. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CapircaPolicyRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CapircaPolicy' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/fqdn/: + delete: + description: FQDN viewset. + operationId: plugins_firewall_fqdn_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: FQDN viewset. + operationId: plugins_firewall_fqdn_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: status + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedFQDNList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: FQDN viewset. + operationId: plugins_firewall_fqdn_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableFQDNRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/FQDN' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: FQDN viewset. + operationId: plugins_firewall_fqdn_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableFQDNRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FQDN' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: FQDN viewset. + operationId: plugins_firewall_fqdn_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableFQDNRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/FQDN' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/fqdn/{id}/: + delete: + description: FQDN viewset. + operationId: plugins_firewall_fqdn_destroy + parameters: + - description: A UUID string identifying this FQDN. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: FQDN viewset. + operationId: plugins_firewall_fqdn_retrieve + parameters: + - description: A UUID string identifying this FQDN. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FQDN' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: FQDN viewset. + operationId: plugins_firewall_fqdn_partial_update + parameters: + - description: A UUID string identifying this FQDN. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableFQDNRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FQDN' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: FQDN viewset. + operationId: plugins_firewall_fqdn_update + parameters: + - description: A UUID string identifying this FQDN. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableFQDNRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/FQDN' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/fqdn/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_fqdn_notes_list + parameters: + - description: A UUID string identifying this FQDN. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_fqdn_notes_create + parameters: + - description: A UUID string identifying this FQDN. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/ip-range/: + delete: + description: IPRange viewset. + operationId: plugins_firewall_ip_range_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: IPRange viewset. + operationId: plugins_firewall_ip_range_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: size + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: size__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: size__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: size__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: size__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: size__n + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: status + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + type: string + type: array + style: form + - in: query + name: vrf + schema: + format: uuid + type: string + - in: query + name: vrf__n + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedIPRangeList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: IPRange viewset. + operationId: plugins_firewall_ip_range_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableIPRangeRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/IPRange' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: IPRange viewset. + operationId: plugins_firewall_ip_range_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/IPRangeRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/IPRange' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: IPRange viewset. + operationId: plugins_firewall_ip_range_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableIPRangeRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/IPRange' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/ip-range/{id}/: + delete: + description: IPRange viewset. + operationId: plugins_firewall_ip_range_destroy + parameters: + - description: A UUID string identifying this ip range. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: IPRange viewset. + operationId: plugins_firewall_ip_range_retrieve + parameters: + - description: A UUID string identifying this ip range. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/IPRange' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: IPRange viewset. + operationId: plugins_firewall_ip_range_partial_update + parameters: + - description: A UUID string identifying this ip range. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedIPRangeRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/IPRange' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: IPRange viewset. + operationId: plugins_firewall_ip_range_update + parameters: + - description: A UUID string identifying this ip range. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/IPRangeRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/IPRange' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/ip-range/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_ip_range_notes_list + parameters: + - description: A UUID string identifying this ip range. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_ip_range_notes_create + parameters: + - description: A UUID string identifying this ip range. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/nat-policy-rule/: + delete: + description: NATPolicyRule viewset. + operationId: plugins_firewall_nat_policy_rule_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: NATPolicyRule viewset. + operationId: plugins_firewall_nat_policy_rule_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - in: query + name: log + schema: + type: boolean + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - in: query + name: remark + schema: + type: boolean + - explode: true + in: query + name: request_id + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: status + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNATPolicyRuleList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: NATPolicyRule viewset. + operationId: plugins_firewall_nat_policy_rule_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableNATPolicyRuleRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/NATPolicyRule' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: NATPolicyRule viewset. + operationId: plugins_firewall_nat_policy_rule_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableNATPolicyRuleRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/NATPolicyRule' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: NATPolicyRule viewset. + operationId: plugins_firewall_nat_policy_rule_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableNATPolicyRuleRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/NATPolicyRule' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/nat-policy-rule/{id}/: + delete: + description: NATPolicyRule viewset. + operationId: plugins_firewall_nat_policy_rule_destroy + parameters: + - description: A UUID string identifying this nat policy rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: NATPolicyRule viewset. + operationId: plugins_firewall_nat_policy_rule_retrieve + parameters: + - description: A UUID string identifying this nat policy rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/NATPolicyRule' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: NATPolicyRule viewset. + operationId: plugins_firewall_nat_policy_rule_partial_update + parameters: + - description: A UUID string identifying this nat policy rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableNATPolicyRuleRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/NATPolicyRule' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: NATPolicyRule viewset. + operationId: plugins_firewall_nat_policy_rule_update + parameters: + - description: A UUID string identifying this nat policy rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableNATPolicyRuleRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/NATPolicyRule' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/nat-policy-rule/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_nat_policy_rule_notes_list + parameters: + - description: A UUID string identifying this nat policy rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_nat_policy_rule_notes_create + parameters: + - description: A UUID string identifying this nat policy rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/nat-policy/: + delete: + description: NATPolicy viewset. + operationId: plugins_firewall_nat_policy_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: NATPolicy viewset. + operationId: plugins_firewall_nat_policy_list + parameters: + - explode: true + in: query + name: assigned_devices + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: assigned_devices__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: assigned_dynamic_groups + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: assigned_dynamic_groups__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: nat_policy_rules + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: nat_policy_rules__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: status + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNATPolicyList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: NATPolicy viewset. + operationId: plugins_firewall_nat_policy_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableNATPolicyRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/NATPolicy' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: NATPolicy viewset. + operationId: plugins_firewall_nat_policy_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NATPolicyRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/NATPolicy' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: NATPolicy viewset. + operationId: plugins_firewall_nat_policy_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableNATPolicyRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/NATPolicy' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/nat-policy/{id}/: + delete: + description: NATPolicy viewset. + operationId: plugins_firewall_nat_policy_destroy + parameters: + - description: A UUID string identifying this nat policy. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: NATPolicy viewset. + operationId: plugins_firewall_nat_policy_retrieve + parameters: + - description: A UUID string identifying this nat policy. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/NATPolicy' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: NATPolicy viewset. + operationId: plugins_firewall_nat_policy_partial_update + parameters: + - description: A UUID string identifying this nat policy. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedNATPolicyRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/NATPolicy' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: NATPolicy viewset. + operationId: plugins_firewall_nat_policy_update + parameters: + - description: A UUID string identifying this nat policy. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NATPolicyRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/NATPolicy' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/nat-policy/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_nat_policy_notes_list + parameters: + - description: A UUID string identifying this nat policy. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_nat_policy_notes_create + parameters: + - description: A UUID string identifying this nat policy. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/policy-rule/: + delete: + description: PolicyRule viewset. + operationId: plugins_firewall_policy_rule_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: PolicyRule viewset. + operationId: plugins_firewall_policy_rule_list + parameters: + - in: query + name: action + schema: + enum: + - allow + - deny + - drop + - remark + type: string + - in: query + name: action__n + schema: + enum: + - allow + - deny + - drop + - remark + type: string + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - in: query + name: log + schema: + type: boolean + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: request_id + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: request_id__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: status + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPolicyRuleList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: PolicyRule viewset. + operationId: plugins_firewall_policy_rule_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritablePolicyRuleRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PolicyRule' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: PolicyRule viewset. + operationId: plugins_firewall_policy_rule_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePolicyRuleRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PolicyRule' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: PolicyRule viewset. + operationId: plugins_firewall_policy_rule_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritablePolicyRuleRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/PolicyRule' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/policy-rule/{id}/: + delete: + description: PolicyRule viewset. + operationId: plugins_firewall_policy_rule_destroy + parameters: + - description: A UUID string identifying this policy rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: PolicyRule viewset. + operationId: plugins_firewall_policy_rule_retrieve + parameters: + - description: A UUID string identifying this policy rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PolicyRule' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: PolicyRule viewset. + operationId: plugins_firewall_policy_rule_partial_update + parameters: + - description: A UUID string identifying this policy rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritablePolicyRuleRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PolicyRule' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: PolicyRule viewset. + operationId: plugins_firewall_policy_rule_update + parameters: + - description: A UUID string identifying this policy rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritablePolicyRuleRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PolicyRule' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/policy-rule/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_policy_rule_notes_list + parameters: + - description: A UUID string identifying this policy rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_policy_rule_notes_create + parameters: + - description: A UUID string identifying this policy rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/policy/: + delete: + description: Policy viewset. + operationId: plugins_firewall_policy_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: Policy viewset. + operationId: plugins_firewall_policy_list + parameters: + - explode: true + in: query + name: assigned_devices + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: assigned_devices__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: assigned_dynamic_groups + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: assigned_dynamic_groups__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - explode: true + in: query + name: policy_rules + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: policy_rules__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: status + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedPolicyList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: Policy viewset. + operationId: plugins_firewall_policy_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritablePolicyRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Policy' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: Policy viewset. + operationId: plugins_firewall_policy_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PolicyRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Policy' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: Policy viewset. + operationId: plugins_firewall_policy_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritablePolicyRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Policy' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/policy/{id}/: + delete: + description: Policy viewset. + operationId: plugins_firewall_policy_destroy + parameters: + - description: A UUID string identifying this policy. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: Policy viewset. + operationId: plugins_firewall_policy_retrieve + parameters: + - description: A UUID string identifying this policy. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Policy' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: Policy viewset. + operationId: plugins_firewall_policy_partial_update + parameters: + - description: A UUID string identifying this policy. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedPolicyRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Policy' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: Policy viewset. + operationId: plugins_firewall_policy_update + parameters: + - description: A UUID string identifying this policy. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PolicyRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Policy' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/policy/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_policy_notes_list + parameters: + - description: A UUID string identifying this policy. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_policy_notes_create + parameters: + - description: A UUID string identifying this policy. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/service-object-group/: + delete: + description: ServiceObjectGroup viewset. + operationId: plugins_firewall_service_object_group_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: ServiceObjectGroup viewset. + operationId: plugins_firewall_service_object_group_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: service_objects + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: service_objects__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedServiceObjectGroupList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: ServiceObjectGroup viewset. + operationId: plugins_firewall_service_object_group_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableServiceObjectGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ServiceObjectGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: ServiceObjectGroup viewset. + operationId: plugins_firewall_service_object_group_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableServiceObjectGroupRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ServiceObjectGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: ServiceObjectGroup viewset. + operationId: plugins_firewall_service_object_group_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableServiceObjectGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ServiceObjectGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/service-object-group/{id}/: + delete: + description: ServiceObjectGroup viewset. + operationId: plugins_firewall_service_object_group_destroy + parameters: + - description: A UUID string identifying this service object group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: ServiceObjectGroup viewset. + operationId: plugins_firewall_service_object_group_retrieve + parameters: + - description: A UUID string identifying this service object group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ServiceObjectGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: ServiceObjectGroup viewset. + operationId: plugins_firewall_service_object_group_partial_update + parameters: + - description: A UUID string identifying this service object group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableServiceObjectGroupRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ServiceObjectGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: ServiceObjectGroup viewset. + operationId: plugins_firewall_service_object_group_update + parameters: + - description: A UUID string identifying this service object group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableServiceObjectGroupRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ServiceObjectGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/service-object-group/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_service_object_group_notes_list + parameters: + - description: A UUID string identifying this service object group. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_service_object_group_notes_create + parameters: + - description: A UUID string identifying this service object group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/service-object/: + delete: + description: ServiceObject viewset. + operationId: plugins_firewall_service_object_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: ServiceObject viewset. + operationId: plugins_firewall_service_object_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: IANA IP Protocol (e.g. TCP UDP ICMP) + in: query + name: ip_protocol + schema: + enum: + - 3PC + - A/N + - AH + - ARIS + - AX.25 + - BBN-RCC-MON + - BNA + - BR-SAT-MON + - CBT + - CFTP + - CHAOS + - CPHB + - CPNX + - CRTP + - CRUDP + - Compaq-Peer + - DCCP + - DCN-MEAS + - DDP + - DDX + - DGP + - DSR + - EGP + - EIGRP + - EMCON + - ENCAP + - ESP + - ETHERIP + - Ethernet + - FC + - FIRE + - GGP + - GMTP + - GRE + - HIP + - HMP + - I-NLSP + - IATP + - ICMP + - IDPR + - IDPR-CMTP + - IDRP + - IFMP + - IGMP + - IGP + - IL + - IPCV + - IPComp + - IPIP + - IPLT + - IPPC + - IPX-in-IP + - IRTP + - ISO-IP + - ISO-TP4 + - KRYPTOLAN + - L2TP + - LARP + - LEAF-1 + - LEAF-2 + - MERIT-INP + - MFE-NSP + - MOBILE + - MTP + - MUX + - NARP + - NETBLT + - NSFNET-IGP + - NVP-II + - OSPFIGP + - PGM + - PIM + - PIPE + - PNNI + - PRM + - PTP + - PUP + - PVP + - QNX + - RDP + - ROHC + - RSVP + - RSVP-E2E-IGNORE + - RVD + - SAT-EXPAK + - SAT-MON + - SCC-SP + - SCPS + - SCTP + - SDRP + - SECURE-VMTP + - SKIP + - SM + - SMP + - SNP + - SPS + - SRP + - SSCOPMCE + - STP + - SUN-ND + - Sprite-RPC + - TCF + - TCP + - TLSP + - TP++ + - TRUNK-1 + - TRUNK-2 + - TTP + - UDP + - UDPLite + - UTI + - VINES + - VISA + - VMTP + - WB-EXPAK + - WB-MON + - WESP + - WSN + - XNET + - XNS-IDP + - XTP + - manet + type: string + - description: IANA IP Protocol (e.g. TCP UDP ICMP) + in: query + name: ip_protocol__n + schema: + enum: + - 3PC + - A/N + - AH + - ARIS + - AX.25 + - BBN-RCC-MON + - BNA + - BR-SAT-MON + - CBT + - CFTP + - CHAOS + - CPHB + - CPNX + - CRTP + - CRUDP + - Compaq-Peer + - DCCP + - DCN-MEAS + - DDP + - DDX + - DGP + - DSR + - EGP + - EIGRP + - EMCON + - ENCAP + - ESP + - ETHERIP + - Ethernet + - FC + - FIRE + - GGP + - GMTP + - GRE + - HIP + - HMP + - I-NLSP + - IATP + - ICMP + - IDPR + - IDPR-CMTP + - IDRP + - IFMP + - IGMP + - IGP + - IL + - IPCV + - IPComp + - IPIP + - IPLT + - IPPC + - IPX-in-IP + - IRTP + - ISO-IP + - ISO-TP4 + - KRYPTOLAN + - L2TP + - LARP + - LEAF-1 + - LEAF-2 + - MERIT-INP + - MFE-NSP + - MOBILE + - MTP + - MUX + - NARP + - NETBLT + - NSFNET-IGP + - NVP-II + - OSPFIGP + - PGM + - PIM + - PIPE + - PNNI + - PRM + - PTP + - PUP + - PVP + - QNX + - RDP + - ROHC + - RSVP + - RSVP-E2E-IGNORE + - RVD + - SAT-EXPAK + - SAT-MON + - SCC-SP + - SCPS + - SCTP + - SDRP + - SECURE-VMTP + - SKIP + - SM + - SMP + - SNP + - SPS + - SRP + - SSCOPMCE + - STP + - SUN-ND + - Sprite-RPC + - TCF + - TCP + - TLSP + - TP++ + - TRUNK-1 + - TRUNK-2 + - TTP + - UDP + - UDPLite + - UTI + - VINES + - VISA + - VMTP + - WB-EXPAK + - WB-MON + - WESP + - WSN + - XNET + - XNS-IDP + - XTP + - manet + type: string + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - explode: true + in: query + name: port + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: port__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: port__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: port__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: port__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: port__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: port__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: port__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: port__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: port__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: port__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: port__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: port__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: port__re + schema: + items: + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: status + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedServiceObjectList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: ServiceObject viewset. + operationId: plugins_firewall_service_object_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableServiceObjectRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ServiceObject' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: ServiceObject viewset. + operationId: plugins_firewall_service_object_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ServiceObjectRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ServiceObject' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: ServiceObject viewset. + operationId: plugins_firewall_service_object_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableServiceObjectRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ServiceObject' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/service-object/{id}/: + delete: + description: ServiceObject viewset. + operationId: plugins_firewall_service_object_destroy + parameters: + - description: A UUID string identifying this service object. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: ServiceObject viewset. + operationId: plugins_firewall_service_object_retrieve + parameters: + - description: A UUID string identifying this service object. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ServiceObject' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: ServiceObject viewset. + operationId: plugins_firewall_service_object_partial_update + parameters: + - description: A UUID string identifying this service object. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedServiceObjectRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ServiceObject' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: ServiceObject viewset. + operationId: plugins_firewall_service_object_update + parameters: + - description: A UUID string identifying this service object. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ServiceObjectRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ServiceObject' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/service-object/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_service_object_notes_list + parameters: + - description: A UUID string identifying this service object. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_service_object_notes_create + parameters: + - description: A UUID string identifying this service object. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/user-object-group/: + delete: + description: UserObjectGroup viewset. + operationId: plugins_firewall_user_object_group_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: UserObjectGroup viewset. + operationId: plugins_firewall_user_object_group_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: status + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: user_objects + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: user_objects__n + schema: + items: + format: uuid + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedUserObjectGroupList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: UserObjectGroup viewset. + operationId: plugins_firewall_user_object_group_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableUserObjectGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/UserObjectGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: UserObjectGroup viewset. + operationId: plugins_firewall_user_object_group_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableUserObjectGroupRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/UserObjectGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: UserObjectGroup viewset. + operationId: plugins_firewall_user_object_group_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableUserObjectGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/UserObjectGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/user-object-group/{id}/: + delete: + description: UserObjectGroup viewset. + operationId: plugins_firewall_user_object_group_destroy + parameters: + - description: A UUID string identifying this user object group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: UserObjectGroup viewset. + operationId: plugins_firewall_user_object_group_retrieve + parameters: + - description: A UUID string identifying this user object group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/UserObjectGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: UserObjectGroup viewset. + operationId: plugins_firewall_user_object_group_partial_update + parameters: + - description: A UUID string identifying this user object group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableUserObjectGroupRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/UserObjectGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: UserObjectGroup viewset. + operationId: plugins_firewall_user_object_group_update + parameters: + - description: A UUID string identifying this user object group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableUserObjectGroupRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/UserObjectGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/user-object-group/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_user_object_group_notes_list + parameters: + - description: A UUID string identifying this user object group. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_user_object_group_notes_create + parameters: + - description: A UUID string identifying this user object group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/user-object/: + delete: + description: UserObject viewset. + operationId: plugins_firewall_user_object_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: UserObject viewset. + operationId: plugins_firewall_user_object_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: status + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedUserObjectList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: UserObject viewset. + operationId: plugins_firewall_user_object_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableUserObjectRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/UserObject' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: UserObject viewset. + operationId: plugins_firewall_user_object_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/UserObjectRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/UserObject' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: UserObject viewset. + operationId: plugins_firewall_user_object_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableUserObjectRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/UserObject' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/user-object/{id}/: + delete: + description: UserObject viewset. + operationId: plugins_firewall_user_object_destroy + parameters: + - description: A UUID string identifying this user object. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: UserObject viewset. + operationId: plugins_firewall_user_object_retrieve + parameters: + - description: A UUID string identifying this user object. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/UserObject' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: UserObject viewset. + operationId: plugins_firewall_user_object_partial_update + parameters: + - description: A UUID string identifying this user object. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedUserObjectRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/UserObject' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: UserObject viewset. + operationId: plugins_firewall_user_object_update + parameters: + - description: A UUID string identifying this user object. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/UserObjectRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/UserObject' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/user-object/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_user_object_notes_list + parameters: + - description: A UUID string identifying this user object. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_user_object_notes_create + parameters: + - description: A UUID string identifying this user object. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/zone/: + delete: + description: Zone viewset. + operationId: plugins_firewall_zone_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: Zone viewset. + operationId: plugins_firewall_zone_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: interfaces + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: interfaces__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: status + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: vrfs + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: vrfs__n + schema: + items: + format: uuid + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedZoneList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: Zone viewset. + operationId: plugins_firewall_zone_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableZoneRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Zone' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: Zone viewset. + operationId: plugins_firewall_zone_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ZoneRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Zone' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: Zone viewset. + operationId: plugins_firewall_zone_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableZoneRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Zone' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/zone/{id}/: + delete: + description: Zone viewset. + operationId: plugins_firewall_zone_destroy + parameters: + - description: A UUID string identifying this zone. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: Zone viewset. + operationId: plugins_firewall_zone_retrieve + parameters: + - description: A UUID string identifying this zone. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Zone' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: Zone viewset. + operationId: plugins_firewall_zone_partial_update + parameters: + - description: A UUID string identifying this zone. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedZoneRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Zone' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: Zone viewset. + operationId: plugins_firewall_zone_update + parameters: + - description: A UUID string identifying this zone. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ZoneRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Zone' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/firewall/zone/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_zone_notes_list + parameters: + - description: A UUID string identifying this zone. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API methods for returning or creating notes on an object. + operationId: plugins_firewall_zone_notes_create + parameters: + - description: A UUID string identifying this zone. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/golden-config/compliance-feature/: + delete: + description: API viewset for interacting with ComplianceFeature objects. + operationId: plugins_golden_config_compliance_feature_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API viewset for interacting with ComplianceFeature objects. + operationId: plugins_golden_config_compliance_feature_list + parameters: + - in: query + name: id + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - in: query + name: name + schema: + type: string + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - in: query + name: slug + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedComplianceFeatureList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API viewset for interacting with ComplianceFeature objects. + operationId: plugins_golden_config_compliance_feature_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableComplianceFeatureRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ComplianceFeature' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API viewset for interacting with ComplianceFeature objects. + operationId: plugins_golden_config_compliance_feature_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ComplianceFeatureRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComplianceFeature' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API viewset for interacting with ComplianceFeature objects. + operationId: plugins_golden_config_compliance_feature_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableComplianceFeatureRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ComplianceFeature' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/golden-config/compliance-feature/{id}/: + delete: + description: API viewset for interacting with ComplianceFeature objects. + operationId: plugins_golden_config_compliance_feature_destroy + parameters: + - description: A UUID string identifying this compliance feature. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API viewset for interacting with ComplianceFeature objects. + operationId: plugins_golden_config_compliance_feature_retrieve + parameters: + - description: A UUID string identifying this compliance feature. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComplianceFeature' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API viewset for interacting with ComplianceFeature objects. + operationId: plugins_golden_config_compliance_feature_partial_update + parameters: + - description: A UUID string identifying this compliance feature. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedComplianceFeatureRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComplianceFeature' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API viewset for interacting with ComplianceFeature objects. + operationId: plugins_golden_config_compliance_feature_update + parameters: + - description: A UUID string identifying this compliance feature. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ComplianceFeatureRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComplianceFeature' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/golden-config/compliance-rule/: + delete: + description: API viewset for interacting with ComplianceRule objects. + operationId: plugins_golden_config_compliance_rule_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API viewset for interacting with ComplianceRule objects. + operationId: plugins_golden_config_compliance_rule_list + parameters: + - in: query + name: feature + schema: + format: uuid + type: string + - in: query + name: id + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Platform (slug) + explode: true + in: query + name: platform + schema: + items: + type: string + type: array + style: form + - description: Platform (ID) + explode: true + in: query + name: platform_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedComplianceRuleList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API viewset for interacting with ComplianceRule objects. + operationId: plugins_golden_config_compliance_rule_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableComplianceRuleRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ComplianceRule' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API viewset for interacting with ComplianceRule objects. + operationId: plugins_golden_config_compliance_rule_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ComplianceRuleRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComplianceRule' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API viewset for interacting with ComplianceRule objects. + operationId: plugins_golden_config_compliance_rule_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableComplianceRuleRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ComplianceRule' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/golden-config/compliance-rule/{id}/: + delete: + description: API viewset for interacting with ComplianceRule objects. + operationId: plugins_golden_config_compliance_rule_destroy + parameters: + - description: A UUID string identifying this compliance rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API viewset for interacting with ComplianceRule objects. + operationId: plugins_golden_config_compliance_rule_retrieve + parameters: + - description: A UUID string identifying this compliance rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComplianceRule' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API viewset for interacting with ComplianceRule objects. + operationId: plugins_golden_config_compliance_rule_partial_update + parameters: + - description: A UUID string identifying this compliance rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedComplianceRuleRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComplianceRule' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API viewset for interacting with ComplianceRule objects. + operationId: plugins_golden_config_compliance_rule_update + parameters: + - description: A UUID string identifying this compliance rule. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ComplianceRuleRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ComplianceRule' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/golden-config/config-compliance/: + delete: + description: API viewset for interacting with ConfigCompliance objects. + operationId: plugins_golden_config_config_compliance_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API viewset for interacting with ConfigCompliance objects. + operationId: plugins_golden_config_config_compliance_list + parameters: + - description: Device Name + explode: true + in: query + name: device + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device ID + explode: true + in: query + name: device_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device Status + explode: true + in: query + name: device_status + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device Status + explode: true + in: query + name: device_status_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: DeviceType (slug) + explode: true + in: query + name: device_type + schema: + items: + type: string + type: array + style: form + - description: Device type (ID) + explode: true + in: query + name: device_type_id + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: id + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Manufacturer (slug) + explode: true + in: query + name: manufacturer + schema: + items: + type: string + type: array + style: form + - description: Manufacturer (ID) + explode: true + in: query + name: manufacturer_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Platform (slug) + explode: true + in: query + name: platform + schema: + items: + type: string + type: array + style: form + - description: Platform (ID) + explode: true + in: query + name: platform_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - description: Rack (name) + explode: true + in: query + name: rack + schema: + items: + type: string + type: array + style: form + - description: Rack group (slug) + explode: true + in: query + name: rack_group + schema: + items: + type: string + type: array + style: form + - description: Rack group (ID) + explode: true + in: query + name: rack_group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rack (ID) + explode: true + in: query + name: rack_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Role (slug) + explode: true + in: query + name: role + schema: + items: + type: string + type: array + style: form + - description: Role (ID) + explode: true + in: query + name: role_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site + schema: + items: + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (slug) + explode: true + in: query + name: tenant + schema: + items: + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (ID) + explode: true + in: query + name: tenant_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedConfigComplianceList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API viewset for interacting with ConfigCompliance objects. + operationId: plugins_golden_config_config_compliance_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableConfigComplianceRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ConfigCompliance' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API viewset for interacting with ConfigCompliance objects. + operationId: plugins_golden_config_config_compliance_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigComplianceRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigCompliance' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API viewset for interacting with ConfigCompliance objects. + operationId: plugins_golden_config_config_compliance_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableConfigComplianceRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ConfigCompliance' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/golden-config/config-compliance/{id}/: + delete: + description: API viewset for interacting with ConfigCompliance objects. + operationId: plugins_golden_config_config_compliance_destroy + parameters: + - description: A UUID string identifying this config compliance. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API viewset for interacting with ConfigCompliance objects. + operationId: plugins_golden_config_config_compliance_retrieve + parameters: + - description: A UUID string identifying this config compliance. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigCompliance' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API viewset for interacting with ConfigCompliance objects. + operationId: plugins_golden_config_config_compliance_partial_update + parameters: + - description: A UUID string identifying this config compliance. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedConfigComplianceRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigCompliance' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API viewset for interacting with ConfigCompliance objects. + operationId: plugins_golden_config_config_compliance_update + parameters: + - description: A UUID string identifying this config compliance. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigComplianceRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigCompliance' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/golden-config/config-postprocessing/{id}/: + get: + description: Detail REST API view showing configuration after postprocessing. + operationId: plugins_golden_config_config_postprocessing_retrieve + parameters: + - description: A UUID string identifying this device. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigToPush' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/golden-config/config-remove/: + delete: + description: API viewset for interacting with ConfigRemove objects. + operationId: plugins_golden_config_config_remove_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API viewset for interacting with ConfigRemove objects. + operationId: plugins_golden_config_config_remove_list + parameters: + - in: query + name: id + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - in: query + name: name + schema: + type: string + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Platform (slug) + explode: true + in: query + name: platform + schema: + items: + type: string + type: array + style: form + - description: Platform (ID) + explode: true + in: query + name: platform_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedConfigRemoveList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API viewset for interacting with ConfigRemove objects. + operationId: plugins_golden_config_config_remove_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableConfigRemoveRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ConfigRemove' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API viewset for interacting with ConfigRemove objects. + operationId: plugins_golden_config_config_remove_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigRemoveRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigRemove' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API viewset for interacting with ConfigRemove objects. + operationId: plugins_golden_config_config_remove_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableConfigRemoveRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ConfigRemove' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/golden-config/config-remove/{id}/: + delete: + description: API viewset for interacting with ConfigRemove objects. + operationId: plugins_golden_config_config_remove_destroy + parameters: + - description: A UUID string identifying this config remove. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API viewset for interacting with ConfigRemove objects. + operationId: plugins_golden_config_config_remove_retrieve + parameters: + - description: A UUID string identifying this config remove. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigRemove' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API viewset for interacting with ConfigRemove objects. + operationId: plugins_golden_config_config_remove_partial_update + parameters: + - description: A UUID string identifying this config remove. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedConfigRemoveRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigRemove' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API viewset for interacting with ConfigRemove objects. + operationId: plugins_golden_config_config_remove_update + parameters: + - description: A UUID string identifying this config remove. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigRemoveRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigRemove' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/golden-config/config-replace/: + delete: + description: API viewset for interacting with ConfigReplace objects. + operationId: plugins_golden_config_config_replace_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API viewset for interacting with ConfigReplace objects. + operationId: plugins_golden_config_config_replace_list + parameters: + - in: query + name: id + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - in: query + name: name + schema: + type: string + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Platform (slug) + explode: true + in: query + name: platform + schema: + items: + type: string + type: array + style: form + - description: Platform (ID) + explode: true + in: query + name: platform_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedConfigReplaceList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API viewset for interacting with ConfigReplace objects. + operationId: plugins_golden_config_config_replace_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableConfigReplaceRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ConfigReplace' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API viewset for interacting with ConfigReplace objects. + operationId: plugins_golden_config_config_replace_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigReplaceRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigReplace' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API viewset for interacting with ConfigReplace objects. + operationId: plugins_golden_config_config_replace_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableConfigReplaceRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ConfigReplace' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/golden-config/config-replace/{id}/: + delete: + description: API viewset for interacting with ConfigReplace objects. + operationId: plugins_golden_config_config_replace_destroy + parameters: + - description: A UUID string identifying this config replace. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API viewset for interacting with ConfigReplace objects. + operationId: plugins_golden_config_config_replace_retrieve + parameters: + - description: A UUID string identifying this config replace. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigReplace' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API viewset for interacting with ConfigReplace objects. + operationId: plugins_golden_config_config_replace_partial_update + parameters: + - description: A UUID string identifying this config replace. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedConfigReplaceRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigReplace' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API viewset for interacting with ConfigReplace objects. + operationId: plugins_golden_config_config_replace_update + parameters: + - description: A UUID string identifying this config replace. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ConfigReplaceRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ConfigReplace' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/golden-config/golden-config-settings/: + delete: + description: API viewset for interacting with GoldenConfigSetting objects. + operationId: plugins_golden_config_golden_config_settings_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API viewset for interacting with GoldenConfigSetting objects. + operationId: plugins_golden_config_golden_config_settings_list + parameters: + - in: query + name: backup_repository + schema: + format: uuid + type: string + - in: query + name: backup_repository__n + schema: + format: uuid + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: intended_repository + schema: + format: uuid + type: string + - in: query + name: intended_repository__n + schema: + format: uuid + type: string + - in: query + name: jinja_repository + schema: + format: uuid + type: string + - in: query + name: jinja_repository__n + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: weight + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: weight__n + schema: + items: + type: integer + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedGoldenConfigSettingList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API viewset for interacting with GoldenConfigSetting objects. + operationId: plugins_golden_config_golden_config_settings_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableGoldenConfigSettingRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/GoldenConfigSetting' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API viewset for interacting with GoldenConfigSetting objects. + operationId: plugins_golden_config_golden_config_settings_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableGoldenConfigSettingRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GoldenConfigSetting' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API viewset for interacting with GoldenConfigSetting objects. + operationId: plugins_golden_config_golden_config_settings_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableGoldenConfigSettingRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/GoldenConfigSetting' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/golden-config/golden-config-settings/{id}/: + delete: + description: API viewset for interacting with GoldenConfigSetting objects. + operationId: plugins_golden_config_golden_config_settings_destroy + parameters: + - description: A UUID string identifying this Golden Config Setting. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API viewset for interacting with GoldenConfigSetting objects. + operationId: plugins_golden_config_golden_config_settings_retrieve + parameters: + - description: A UUID string identifying this Golden Config Setting. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GoldenConfigSetting' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API viewset for interacting with GoldenConfigSetting objects. + operationId: plugins_golden_config_golden_config_settings_partial_update + parameters: + - description: A UUID string identifying this Golden Config Setting. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableGoldenConfigSettingRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GoldenConfigSetting' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API viewset for interacting with GoldenConfigSetting objects. + operationId: plugins_golden_config_golden_config_settings_update + parameters: + - description: A UUID string identifying this Golden Config Setting. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableGoldenConfigSettingRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GoldenConfigSetting' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/golden-config/golden-config/: + delete: + description: API viewset for interacting with GoldenConfig objects. + operationId: plugins_golden_config_golden_config_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API viewset for interacting with GoldenConfig objects. + operationId: plugins_golden_config_golden_config_list + parameters: + - description: Device Name + explode: true + in: query + name: device + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Device ID + explode: true + in: query + name: device_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device Status + explode: true + in: query + name: device_status + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device Status + explode: true + in: query + name: device_status_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: DeviceType (slug) + explode: true + in: query + name: device_type + schema: + items: + type: string + type: array + style: form + - description: Device type (ID) + explode: true + in: query + name: device_type_id + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: id + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Manufacturer (slug) + explode: true + in: query + name: manufacturer + schema: + items: + type: string + type: array + style: form + - description: Manufacturer (ID) + explode: true + in: query + name: manufacturer_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Platform (slug) + explode: true + in: query + name: platform + schema: + items: + type: string + type: array + style: form + - description: Platform (ID) + explode: true + in: query + name: platform_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - description: Rack (name) + explode: true + in: query + name: rack + schema: + items: + type: string + type: array + style: form + - description: Rack group (slug) + explode: true + in: query + name: rack_group + schema: + items: + type: string + type: array + style: form + - description: Rack group (ID) + explode: true + in: query + name: rack_group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Rack (ID) + explode: true + in: query + name: rack_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Role (slug) + explode: true + in: query + name: role + schema: + items: + type: string + type: array + style: form + - description: Role (ID) + explode: true + in: query + name: role_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site name (slug) + explode: true + in: query + name: site + schema: + items: + type: string + type: array + style: form + - description: Site (ID) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (slug) + explode: true + in: query + name: tenant + schema: + items: + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (ID) + explode: true + in: query + name: tenant_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedGoldenConfigList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API viewset for interacting with GoldenConfig objects. + operationId: plugins_golden_config_golden_config_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableGoldenConfigRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/GoldenConfig' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: API viewset for interacting with GoldenConfig objects. + operationId: plugins_golden_config_golden_config_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GoldenConfigRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GoldenConfig' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API viewset for interacting with GoldenConfig objects. + operationId: plugins_golden_config_golden_config_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableGoldenConfigRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/GoldenConfig' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/golden-config/golden-config/{id}/: + delete: + description: API viewset for interacting with GoldenConfig objects. + operationId: plugins_golden_config_golden_config_destroy + parameters: + - description: A UUID string identifying this golden config. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: API viewset for interacting with GoldenConfig objects. + operationId: plugins_golden_config_golden_config_retrieve + parameters: + - description: A UUID string identifying this golden config. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GoldenConfig' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: API viewset for interacting with GoldenConfig objects. + operationId: plugins_golden_config_golden_config_partial_update + parameters: + - description: A UUID string identifying this golden config. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedGoldenConfigRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GoldenConfig' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: API viewset for interacting with GoldenConfig objects. + operationId: plugins_golden_config_golden_config_update + parameters: + - description: A UUID string identifying this golden config. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GoldenConfigRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/GoldenConfig' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/golden-config/sotagg/{id}/: + get: + description: Get method serialize for a dictionary to json response. + operationId: plugins_golden_config_sotagg_retrieve + parameters: + - in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + - {} + tags: + - plugins + /plugins/nautobot-device-lifecycle-mgmt/contact/: + delete: + description: CRUD operations set for the Contact Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_contact_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: CRUD operations set for the Contact Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_contact_list + parameters: + - explode: true + in: query + name: address + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: address__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: address__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: address__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: address__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: address__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: address__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: address__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: address__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: address__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: address__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: address__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: address__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: address__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__re + schema: + items: + type: string + type: array + style: form + - in: query + name: contract + schema: + format: uuid + type: string + - in: query + name: contract__n + schema: + format: uuid + type: string + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: email + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - explode: true + in: query + name: phone + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: priority + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: priority__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: priority__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: priority__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: priority__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: priority__n + schema: + items: + type: integer + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: type + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: type__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: type__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: type__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: type__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: type__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: type__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: type__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: type__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: type__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: type__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: type__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: type__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: type__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedContactLCMList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: CRUD operations set for the Contact Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_contact_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableContactLCMRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ContactLCM' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: CRUD operations set for the Contact Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_contact_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableContactLCMRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContactLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: CRUD operations set for the Contact Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_contact_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableContactLCMRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ContactLCM' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/nautobot-device-lifecycle-mgmt/contact/{id}/: + delete: + description: CRUD operations set for the Contact Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_contact_destroy + parameters: + - description: A UUID string identifying this Contract POC. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: CRUD operations set for the Contact Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_contact_retrieve + parameters: + - description: A UUID string identifying this Contract POC. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContactLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: CRUD operations set for the Contact Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_contact_partial_update + parameters: + - description: A UUID string identifying this Contract POC. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableContactLCMRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContactLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: CRUD operations set for the Contact Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_contact_update + parameters: + - description: A UUID string identifying this Contract POC. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableContactLCMRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContactLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/nautobot-device-lifecycle-mgmt/contract/: + delete: + description: CRUD operations set for the Contract Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_contract_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: CRUD operations set for the Contract Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_contract_list + parameters: + - explode: true + in: query + name: contract_type + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contract_type__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contract_type__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contract_type__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contract_type__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contract_type__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contract_type__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contract_type__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contract_type__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contract_type__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contract_type__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contract_type__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contract_type__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: contract_type__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: cost + schema: + items: + type: number + type: array + style: form + - explode: true + in: query + name: cost__gt + schema: + items: + type: number + type: array + style: form + - explode: true + in: query + name: cost__gte + schema: + items: + type: number + type: array + style: form + - explode: true + in: query + name: cost__lt + schema: + items: + type: number + type: array + style: form + - explode: true + in: query + name: cost__lte + schema: + items: + type: number + type: array + style: form + - explode: true + in: query + name: cost__n + schema: + items: + type: number + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - in: query + name: end + schema: + format: date + type: string + - in: query + name: end__gte + schema: + format: date + type: string + - in: query + name: end__lte + schema: + format: date + type: string + - description: Expired + in: query + name: expired + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Provider + explode: true + in: query + name: provider + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Provider + explode: true + in: query + name: provider__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - in: query + name: start + schema: + format: date + type: string + - in: query + name: start__gte + schema: + format: date + type: string + - in: query + name: start__lte + schema: + format: date + type: string + - explode: true + in: query + name: support_level + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: support_level__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: support_level__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: support_level__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: support_level__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: support_level__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: support_level__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: support_level__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: support_level__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: support_level__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: support_level__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: support_level__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: support_level__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: support_level__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedContractLCMList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: CRUD operations set for the Contract Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_contract_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableContractLCMRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ContractLCM' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: CRUD operations set for the Contract Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_contract_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableContractLCMRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContractLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: CRUD operations set for the Contract Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_contract_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableContractLCMRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ContractLCM' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/nautobot-device-lifecycle-mgmt/contract/{id}/: + delete: + description: CRUD operations set for the Contract Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_contract_destroy + parameters: + - description: A UUID string identifying this Contract. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: CRUD operations set for the Contract Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_contract_retrieve + parameters: + - description: A UUID string identifying this Contract. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContractLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: CRUD operations set for the Contract Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_contract_partial_update + parameters: + - description: A UUID string identifying this Contract. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableContractLCMRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContractLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: CRUD operations set for the Contract Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_contract_update + parameters: + - description: A UUID string identifying this Contract. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableContractLCMRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ContractLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/nautobot-device-lifecycle-mgmt/cve/: + delete: + description: REST API viewset for CVELCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_cve_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: REST API viewset for CVELCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_cve_list + parameters: + - explode: true + in: query + name: comments + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__re + schema: + items: + type: string + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: cvss + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: cvss__gt + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: cvss__gte + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: cvss__lt + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: cvss__lte + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: cvss__n + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: cvss_v2 + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: cvss_v2__gt + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: cvss_v2__gte + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: cvss_v2__lt + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: cvss_v2__lte + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: cvss_v2__n + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: cvss_v3 + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: cvss_v3__gt + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: cvss_v3__gte + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: cvss_v3__lt + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: cvss_v3__lte + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: cvss_v3__n + schema: + items: + format: float + type: number + type: array + style: form + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: exclude_status + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: exclude_status__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: fix + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fix__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fix__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fix__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fix__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fix__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fix__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fix__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fix__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fix__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fix__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fix__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fix__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: fix__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: link + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: link__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: link__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: link__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: link__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: link__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: link__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: link__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: link__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: link__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: link__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: link__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: link__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: link__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - in: query + name: published_date__gte + schema: + format: date + type: string + - in: query + name: published_date__lte + schema: + format: date + type: string + - in: query + name: published_date_after + schema: + format: date-time + type: string + - in: query + name: published_date_before + schema: + format: date-time + type: string + - description: Search + in: query + name: q + schema: + type: string + - in: query + name: severity + schema: + type: string + - in: query + name: severity__n + schema: + type: string + - explode: true + in: query + name: status + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedCVELCMList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for CVELCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_cve_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableCVELCMRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/CVELCM' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: REST API viewset for CVELCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_cve_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCVELCMRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CVELCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for CVELCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_cve_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableCVELCMRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/CVELCM' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/nautobot-device-lifecycle-mgmt/cve/{id}/: + delete: + description: REST API viewset for CVELCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_cve_destroy + parameters: + - description: A UUID string identifying this CVE. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: REST API viewset for CVELCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_cve_retrieve + parameters: + - description: A UUID string identifying this CVE. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CVELCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for CVELCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_cve_partial_update + parameters: + - description: A UUID string identifying this CVE. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableCVELCMRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CVELCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for CVELCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_cve_update + parameters: + - description: A UUID string identifying this CVE. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableCVELCMRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/CVELCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/nautobot-device-lifecycle-mgmt/hardware/: + delete: + description: CRUD operations set for the Hardware Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_hardware_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: CRUD operations set for the Hardware Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_hardware_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - description: Device Type (Slug) + explode: true + in: query + name: device_type + schema: + items: + type: string + type: array + style: form + - description: Device Type (Slug) + explode: true + in: query + name: device_type__n + schema: + items: + type: string + type: array + style: form + - description: Device Type + explode: true + in: query + name: device_type_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device Type + explode: true + in: query + name: device_type_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: documentation_url + schema: + type: string + - in: query + name: end_of_sale + schema: + format: date + type: string + - in: query + name: end_of_sale__gte + schema: + format: date + type: string + - in: query + name: end_of_sale__lte + schema: + format: date + type: string + - in: query + name: end_of_security_patches + schema: + format: date + type: string + - in: query + name: end_of_security_patches__gte + schema: + format: date + type: string + - in: query + name: end_of_security_patches__lte + schema: + format: date + type: string + - in: query + name: end_of_support + schema: + format: date + type: string + - in: query + name: end_of_support__gte + schema: + format: date + type: string + - in: query + name: end_of_support__lte + schema: + format: date + type: string + - in: query + name: end_of_sw_releases + schema: + format: date + type: string + - in: query + name: end_of_sw_releases__gte + schema: + format: date + type: string + - in: query + name: end_of_sw_releases__lte + schema: + format: date + type: string + - description: Expired + in: query + name: expired + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Inventory Part ID + explode: true + in: query + name: inventory_item + schema: + items: + nullable: true + title: Inventory Item Part + type: string + type: array + style: form + - description: Inventory Part ID + explode: true + in: query + name: inventory_item__n + schema: + items: + nullable: true + title: Inventory Item Part + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedHardwareLCMList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: CRUD operations set for the Hardware Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_hardware_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableHardwareLCMRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/HardwareLCM' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: CRUD operations set for the Hardware Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_hardware_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableHardwareLCMRequest' + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/HardwareLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: CRUD operations set for the Hardware Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_hardware_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableHardwareLCMRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/HardwareLCM' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/nautobot-device-lifecycle-mgmt/hardware/{id}/: + delete: + description: CRUD operations set for the Hardware Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_hardware_destroy + parameters: + - description: A UUID string identifying this Hardware Notice. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: CRUD operations set for the Hardware Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_hardware_retrieve + parameters: + - description: A UUID string identifying this Hardware Notice. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/HardwareLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: CRUD operations set for the Hardware Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_hardware_partial_update + parameters: + - description: A UUID string identifying this Hardware Notice. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableHardwareLCMRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/HardwareLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: CRUD operations set for the Hardware Lifecycle Management view. + operationId: plugins_nautobot_device_lifecycle_mgmt_hardware_update + parameters: + - description: A UUID string identifying this Hardware Notice. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableHardwareLCMRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/HardwareLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/nautobot-device-lifecycle-mgmt/provider/: + delete: + description: CRUD operations set for the Contract Provider Lifecycle Management + view. + operationId: plugins_nautobot_device_lifecycle_mgmt_provider_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: CRUD operations set for the Contract Provider Lifecycle Management + view. + operationId: plugins_nautobot_device_lifecycle_mgmt_provider_list + parameters: + - explode: true + in: query + name: comments + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: country + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: country__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: country__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: country__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: country__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: country__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: country__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: country__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: country__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: country__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: country__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: country__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: country__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: country__re + schema: + items: + type: string + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - explode: true + in: query + name: phone + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: phone__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: physical_address__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: portal_url + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: portal_url__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: portal_url__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: portal_url__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: portal_url__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: portal_url__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: portal_url__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: portal_url__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: portal_url__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: portal_url__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: portal_url__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: portal_url__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: portal_url__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: portal_url__re + schema: + items: + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedProviderLCMList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: CRUD operations set for the Contract Provider Lifecycle Management + view. + operationId: plugins_nautobot_device_lifecycle_mgmt_provider_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableProviderLCMRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ProviderLCM' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: CRUD operations set for the Contract Provider Lifecycle Management + view. + operationId: plugins_nautobot_device_lifecycle_mgmt_provider_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ProviderLCMRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ProviderLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: CRUD operations set for the Contract Provider Lifecycle Management + view. + operationId: plugins_nautobot_device_lifecycle_mgmt_provider_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableProviderLCMRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ProviderLCM' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/nautobot-device-lifecycle-mgmt/provider/{id}/: + delete: + description: CRUD operations set for the Contract Provider Lifecycle Management + view. + operationId: plugins_nautobot_device_lifecycle_mgmt_provider_destroy + parameters: + - description: A UUID string identifying this Vendor. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: CRUD operations set for the Contract Provider Lifecycle Management + view. + operationId: plugins_nautobot_device_lifecycle_mgmt_provider_retrieve + parameters: + - description: A UUID string identifying this Vendor. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ProviderLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: CRUD operations set for the Contract Provider Lifecycle Management + view. + operationId: plugins_nautobot_device_lifecycle_mgmt_provider_partial_update + parameters: + - description: A UUID string identifying this Vendor. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedProviderLCMRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ProviderLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: CRUD operations set for the Contract Provider Lifecycle Management + view. + operationId: plugins_nautobot_device_lifecycle_mgmt_provider_update + parameters: + - description: A UUID string identifying this Vendor. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ProviderLCMRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ProviderLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/nautobot-device-lifecycle-mgmt/software-image/: + delete: + description: REST API viewset for SoftwareImageLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_software_image_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: REST API viewset for SoftwareImageLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_software_image_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - in: query + name: default_image + schema: + type: boolean + - description: Device ID + in: query + name: device_id + schema: + type: string + - description: Device Name + in: query + name: device_name + schema: + type: string + - description: Device Types (model) + explode: true + in: query + name: device_types + schema: + items: + type: string + type: array + style: form + - description: Device Types (model) + explode: true + in: query + name: device_types__n + schema: + items: + type: string + type: array + style: form + - description: Device Types + explode: true + in: query + name: device_types_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device Types + explode: true + in: query + name: device_types_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: download_url + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: download_url__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: download_url__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: download_url__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: download_url__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: download_url__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: download_url__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: download_url__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: download_url__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: download_url__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: download_url__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: download_url__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: download_url__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: download_url__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: image_file_checksum + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_checksum__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_checksum__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_checksum__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_checksum__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_checksum__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_checksum__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_checksum__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_checksum__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_checksum__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_checksum__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_checksum__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_checksum__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_checksum__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: image_file_name__re + schema: + items: + type: string + type: array + style: form + - description: InventoryItem ID + in: query + name: inventory_item_id + schema: + type: string + - description: Inventory Items (name) + explode: true + in: query + name: inventory_items + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Inventory Items (name) + explode: true + in: query + name: inventory_items__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Inventory Items + explode: true + in: query + name: inventory_items_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Inventory Items + explode: true + in: query + name: inventory_items_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Object Tags (slug) + explode: true + in: query + name: object_tags + schema: + items: + type: string + type: array + style: form + - description: Object Tags (slug) + explode: true + in: query + name: object_tags__n + schema: + items: + type: string + type: array + style: form + - description: Object Tags + explode: true + in: query + name: object_tags_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Object Tags + explode: true + in: query + name: object_tags_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - description: Software + explode: true + in: query + name: software + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Software + explode: true + in: query + name: software__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Software (version) + explode: true + in: query + name: software_version + schema: + items: + type: string + type: array + style: form + - description: Software (version) + explode: true + in: query + name: software_version__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedSoftwareImageLCMList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for SoftwareImageLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_software_image_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableSoftwareImageLCMRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/SoftwareImageLCM' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: REST API viewset for SoftwareImageLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_software_image_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSoftwareImageLCMRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SoftwareImageLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for SoftwareImageLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_software_image_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableSoftwareImageLCMRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/SoftwareImageLCM' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/nautobot-device-lifecycle-mgmt/software-image/{id}/: + delete: + description: REST API viewset for SoftwareImageLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_software_image_destroy + parameters: + - description: A UUID string identifying this Software Image. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: REST API viewset for SoftwareImageLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_software_image_retrieve + parameters: + - description: A UUID string identifying this Software Image. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SoftwareImageLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for SoftwareImageLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_software_image_partial_update + parameters: + - description: A UUID string identifying this Software Image. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableSoftwareImageLCMRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SoftwareImageLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for SoftwareImageLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_software_image_update + parameters: + - description: A UUID string identifying this Software Image. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSoftwareImageLCMRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SoftwareImageLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/nautobot-device-lifecycle-mgmt/software/: + delete: + description: REST API viewset for SoftwareLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_software_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: REST API viewset for SoftwareLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_software_list + parameters: + - explode: true + in: query + name: alias + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: alias__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: alias__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: alias__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: alias__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: alias__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: alias__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: alias__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: alias__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: alias__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: alias__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: alias__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: alias__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: alias__re + schema: + items: + type: string + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - description: Device Platform (Slug) + explode: true + in: query + name: device_platform + schema: + items: + type: string + type: array + style: form + - description: Device Platform (Slug) + explode: true + in: query + name: device_platform__n + schema: + items: + type: string + type: array + style: form + - in: query + name: documentation_url + schema: + type: string + - in: query + name: end_of_support_after + schema: + format: date-time + type: string + - in: query + name: end_of_support_before + schema: + format: date-time + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - in: query + name: long_term_support + schema: + type: boolean + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - in: query + name: pre_release + schema: + type: boolean + - description: Search + in: query + name: q + schema: + type: string + - in: query + name: release_date_after + schema: + format: date-time + type: string + - in: query + name: release_date_before + schema: + format: date-time + type: string + - explode: true + in: query + name: version + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: version__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: version__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: version__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: version__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: version__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: version__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: version__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: version__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: version__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: version__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: version__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: version__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: version__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedSoftwareLCMList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for SoftwareLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_software_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableSoftwareLCMRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/SoftwareLCM' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: REST API viewset for SoftwareLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_software_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSoftwareLCMRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SoftwareLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for SoftwareLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_software_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableSoftwareLCMRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/SoftwareLCM' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/nautobot-device-lifecycle-mgmt/software/{id}/: + delete: + description: REST API viewset for SoftwareLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_software_destroy + parameters: + - description: A UUID string identifying this Software. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: REST API viewset for SoftwareLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_software_retrieve + parameters: + - description: A UUID string identifying this Software. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SoftwareLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for SoftwareLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_software_partial_update + parameters: + - description: A UUID string identifying this Software. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableSoftwareLCMRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SoftwareLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for SoftwareLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_software_update + parameters: + - description: A UUID string identifying this Software. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableSoftwareLCMRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/SoftwareLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/nautobot-device-lifecycle-mgmt/validated-software/: + delete: + description: REST API viewset for ValidatedSoftwareLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_validated_software_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: REST API viewset for ValidatedSoftwareLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_validated_software_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - description: Device ID + in: query + name: device_id + schema: + type: string + - description: Device Name + in: query + name: device_name + schema: + type: string + - description: Device Roles (slug) + explode: true + in: query + name: device_roles + schema: + items: + type: string + type: array + style: form + - description: Device Roles (slug) + explode: true + in: query + name: device_roles__n + schema: + items: + type: string + type: array + style: form + - description: Device Roles + explode: true + in: query + name: device_roles_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device Roles + explode: true + in: query + name: device_roles_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device Types (model) + explode: true + in: query + name: device_types + schema: + items: + type: string + type: array + style: form + - description: Device Types (model) + explode: true + in: query + name: device_types__n + schema: + items: + type: string + type: array + style: form + - description: Device Types + explode: true + in: query + name: device_types_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Device Types + explode: true + in: query + name: device_types_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Devices (name) + explode: true + in: query + name: devices + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Devices (name) + explode: true + in: query + name: devices__n + schema: + items: + nullable: true + type: string + type: array + style: form + - description: Devices + explode: true + in: query + name: devices_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Devices + explode: true + in: query + name: devices_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: end_after + schema: + format: date-time + type: string + - in: query + name: end_before + schema: + format: date-time + type: string + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: InventoryItem ID + in: query + name: inventory_item_id + schema: + type: string + - description: Inventory Items (name) + explode: true + in: query + name: inventory_items + schema: + items: + type: string + type: array + style: form + - description: Inventory Items (name) + explode: true + in: query + name: inventory_items__n + schema: + items: + type: string + type: array + style: form + - description: Inventory Items + explode: true + in: query + name: inventory_items_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Inventory Items + explode: true + in: query + name: inventory_items_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Object Tags (slug) + explode: true + in: query + name: object_tags + schema: + items: + type: string + type: array + style: form + - description: Object Tags (slug) + explode: true + in: query + name: object_tags__n + schema: + items: + type: string + type: array + style: form + - description: Object Tags + explode: true + in: query + name: object_tags_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Object Tags + explode: true + in: query + name: object_tags_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - in: query + name: preferred + schema: + type: boolean + - description: Search + in: query + name: q + schema: + type: string + - description: Software + explode: true + in: query + name: software + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Software + explode: true + in: query + name: software__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: start_after + schema: + format: date-time + type: string + - in: query + name: start_before + schema: + format: date-time + type: string + - description: Currently valid + in: query + name: valid + schema: + type: boolean + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedValidatedSoftwareLCMList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for ValidatedSoftwareLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_validated_software_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableValidatedSoftwareLCMRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ValidatedSoftwareLCM' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + post: + description: REST API viewset for ValidatedSoftwareLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_validated_software_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableValidatedSoftwareLCMRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ValidatedSoftwareLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for ValidatedSoftwareLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_validated_software_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableValidatedSoftwareLCMRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ValidatedSoftwareLCM' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/nautobot-device-lifecycle-mgmt/validated-software/{id}/: + delete: + description: REST API viewset for ValidatedSoftwareLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_validated_software_destroy + parameters: + - description: A UUID string identifying this Validated Software. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: REST API viewset for ValidatedSoftwareLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_validated_software_retrieve + parameters: + - description: A UUID string identifying this Validated Software. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ValidatedSoftwareLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for ValidatedSoftwareLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_validated_software_partial_update + parameters: + - description: A UUID string identifying this Validated Software. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableValidatedSoftwareLCMRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ValidatedSoftwareLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for ValidatedSoftwareLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_validated_software_update + parameters: + - description: A UUID string identifying this Validated Software. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableValidatedSoftwareLCMRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ValidatedSoftwareLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/nautobot-device-lifecycle-mgmt/vulnerability/: + delete: + description: REST API viewset for VulnerabilityLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_vulnerability_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: REST API viewset for VulnerabilityLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_vulnerability_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - in: query + name: cve + schema: + format: uuid + type: string + - in: query + name: cve__n + schema: + format: uuid + type: string + - in: query + name: cve__published_date__gte + schema: + format: date + type: string + - in: query + name: cve__published_date__lte + schema: + format: date + type: string + - in: query + name: cve__published_date_after + schema: + format: date-time + type: string + - in: query + name: cve__published_date_before + schema: + format: date-time + type: string + - in: query + name: device + schema: + format: uuid + type: string + - in: query + name: device__n + schema: + format: uuid + type: string + - explode: true + in: query + name: exclude_status + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: exclude_status__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: inventory_item + schema: + format: uuid + type: string + - in: query + name: inventory_item__n + schema: + format: uuid + type: string + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - in: query + name: software + schema: + format: uuid + type: string + - in: query + name: software__n + schema: + format: uuid + type: string + - explode: true + in: query + name: status + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedVulnerabilityLCMList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for VulnerabilityLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_vulnerability_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableVulnerabilityLCMRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/VulnerabilityLCM' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for VulnerabilityLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_vulnerability_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableVulnerabilityLCMRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/VulnerabilityLCM' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /plugins/nautobot-device-lifecycle-mgmt/vulnerability/{id}/: + delete: + description: REST API viewset for VulnerabilityLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_vulnerability_destroy + parameters: + - description: A UUID string identifying this Vulnerability. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + get: + description: REST API viewset for VulnerabilityLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_vulnerability_retrieve + parameters: + - description: A UUID string identifying this Vulnerability. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VulnerabilityLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + patch: + description: REST API viewset for VulnerabilityLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_vulnerability_partial_update + parameters: + - description: A UUID string identifying this Vulnerability. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedVulnerabilityLCMRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VulnerabilityLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + put: + description: REST API viewset for VulnerabilityLCM records. + operationId: plugins_nautobot_device_lifecycle_mgmt_vulnerability_update + parameters: + - description: A UUID string identifying this Vulnerability. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/VulnerabilityLCMRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VulnerabilityLCM' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - plugins + /status/: + get: + description: A lightweight read-only endpoint for conveying the current operational + status. + operationId: status_retrieve + responses: + '200': + content: + application/json; version=1.3: + schema: + properties: + celery-workers-running: + type: integer + django-version: + type: string + installed-apps: + type: object + nautobot-version: + type: string + plugins: + type: object + python-version: + type: string + rq-workers-running: + type: integer + type: object + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - status + /swagger.json: + get: + description: 'OpenApi3 schema for this API. Format can be selected via content + negotiation. + + + - YAML: application/vnd.oai.openapi + + - JSON: application/vnd.oai.openapi+json' + operationId: swagger.json_retrieve + parameters: + - in: query + name: lang + schema: + enum: + - af + - ar + - ar-dz + - ast + - az + - be + - bg + - bn + - br + - bs + - ca + - cs + - cy + - da + - de + - dsb + - el + - en + - en-au + - en-gb + - eo + - es + - es-ar + - es-co + - es-mx + - es-ni + - es-ve + - et + - eu + - fa + - fi + - fr + - fy + - ga + - gd + - gl + - he + - hi + - hr + - hsb + - hu + - hy + - ia + - id + - ig + - io + - is + - it + - ja + - ka + - kab + - kk + - km + - kn + - ko + - ky + - lb + - lt + - lv + - mk + - ml + - mn + - mr + - my + - nb + - ne + - nl + - nn + - os + - pa + - pl + - pt + - pt-br + - ro + - ru + - sk + - sl + - sq + - sr + - sr-latn + - sv + - sw + - ta + - te + - tg + - th + - tk + - tr + - tt + - udm + - uk + - ur + - uz + - vi + - zh-hans + - zh-hant + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + additionalProperties: {} + type: object + application/vnd.oai.openapi+json; version=1.3: + schema: + additionalProperties: {} + type: object + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + - {} + tags: + - swagger.json + /swagger.yaml: + get: + description: 'OpenApi3 schema for this API. Format can be selected via content + negotiation. + + + - YAML: application/vnd.oai.openapi + + - JSON: application/vnd.oai.openapi+json' + operationId: swagger.yaml_retrieve + parameters: + - in: query + name: lang + schema: + enum: + - af + - ar + - ar-dz + - ast + - az + - be + - bg + - bn + - br + - bs + - ca + - cs + - cy + - da + - de + - dsb + - el + - en + - en-au + - en-gb + - eo + - es + - es-ar + - es-co + - es-mx + - es-ni + - es-ve + - et + - eu + - fa + - fi + - fr + - fy + - ga + - gd + - gl + - he + - hi + - hr + - hsb + - hu + - hy + - ia + - id + - ig + - io + - is + - it + - ja + - ka + - kab + - kk + - km + - kn + - ko + - ky + - lb + - lt + - lv + - mk + - ml + - mn + - mr + - my + - nb + - ne + - nl + - nn + - os + - pa + - pl + - pt + - pt-br + - ro + - ru + - sk + - sl + - sq + - sr + - sr-latn + - sv + - sw + - ta + - te + - tg + - th + - tk + - tr + - tt + - udm + - uk + - ur + - uz + - vi + - zh-hans + - zh-hant + type: string + responses: + '200': + content: + application/vnd.oai.openapi; version=1.3: + schema: + additionalProperties: {} + type: object + application/yaml; version=1.3: + schema: + additionalProperties: {} + type: object + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + - {} + tags: + - swagger.yaml + /swagger/: + get: + description: 'OpenApi3 schema for this API. Format can be selected via content + negotiation. + + + - YAML: application/vnd.oai.openapi + + - JSON: application/vnd.oai.openapi+json' + operationId: swagger_retrieve + parameters: + - in: query + name: format + schema: + enum: + - json + - yaml + type: string + - in: query + name: lang + schema: + enum: + - af + - ar + - ar-dz + - ast + - az + - be + - bg + - bn + - br + - bs + - ca + - cs + - cy + - da + - de + - dsb + - el + - en + - en-au + - en-gb + - eo + - es + - es-ar + - es-co + - es-mx + - es-ni + - es-ve + - et + - eu + - fa + - fi + - fr + - fy + - ga + - gd + - gl + - he + - hi + - hr + - hsb + - hu + - hy + - ia + - id + - ig + - io + - is + - it + - ja + - ka + - kab + - kk + - km + - kn + - ko + - ky + - lb + - lt + - lv + - mk + - ml + - mn + - mr + - my + - nb + - ne + - nl + - nn + - os + - pa + - pl + - pt + - pt-br + - ro + - ru + - sk + - sl + - sq + - sr + - sr-latn + - sv + - sw + - ta + - te + - tg + - th + - tk + - tr + - tt + - udm + - uk + - ur + - uz + - vi + - zh-hans + - zh-hant + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + additionalProperties: {} + type: object + application/vnd.oai.openapi+json; version=1.3: + schema: + additionalProperties: {} + type: object + application/vnd.oai.openapi; version=1.3: + schema: + additionalProperties: {} + type: object + application/yaml; version=1.3: + schema: + additionalProperties: {} + type: object + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + - {} + tags: + - swagger + /tenancy/tenant-groups/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: tenancy_tenant_groups_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: tenancy_tenant_groups_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Tenant group group (slug) + explode: true + in: query + name: parent + schema: + items: + type: string + type: array + style: form + - description: Tenant group group (slug) + explode: true + in: query + name: parent__n + schema: + items: + type: string + type: array + style: form + - description: Tenant group (ID) + explode: true + in: query + name: parent_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Tenant group (ID) + explode: true + in: query + name: parent_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedTenantGroupList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: tenancy_tenant_groups_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableTenantGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/TenantGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: tenancy_tenant_groups_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableTenantGroupRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/TenantGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: tenancy_tenant_groups_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableTenantGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/TenantGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + /tenancy/tenant-groups/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: tenancy_tenant_groups_destroy + parameters: + - description: A UUID string identifying this tenant group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: tenancy_tenant_groups_retrieve + parameters: + - description: A UUID string identifying this tenant group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/TenantGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: tenancy_tenant_groups_partial_update + parameters: + - description: A UUID string identifying this tenant group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableTenantGroupRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/TenantGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: tenancy_tenant_groups_update + parameters: + - description: A UUID string identifying this tenant group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableTenantGroupRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/TenantGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + /tenancy/tenant-groups/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: tenancy_tenant_groups_notes_list + parameters: + - description: A UUID string identifying this tenant group. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + post: + description: API methods for returning or creating notes on an object. + operationId: tenancy_tenant_groups_notes_create + parameters: + - description: A UUID string identifying this tenant group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + /tenancy/tenants/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: tenancy_tenants_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: tenancy_tenants_list + parameters: + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - description: Tenant group (slug) + explode: true + in: query + name: group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant group (slug) + explode: true + in: query + name: group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant group (ID) + explode: true + in: query + name: group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant group (ID) + explode: true + in: query + name: group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Has locations + in: query + name: has_locations + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Locations (slugs and/or IDs) + explode: true + in: query + name: locations + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Locations (slugs and/or IDs) + explode: true + in: query + name: locations__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedTenantList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: tenancy_tenants_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableTenantRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Tenant' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: tenancy_tenants_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableTenantRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Tenant' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: tenancy_tenants_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableTenantRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Tenant' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + /tenancy/tenants/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: tenancy_tenants_destroy + parameters: + - description: A UUID string identifying this tenant. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: tenancy_tenants_retrieve + parameters: + - description: A UUID string identifying this tenant. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Tenant' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: tenancy_tenants_partial_update + parameters: + - description: A UUID string identifying this tenant. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableTenantRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Tenant' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: tenancy_tenants_update + parameters: + - description: A UUID string identifying this tenant. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableTenantRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Tenant' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + /tenancy/tenants/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: tenancy_tenants_notes_list + parameters: + - description: A UUID string identifying this tenant. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + post: + description: API methods for returning or creating notes on an object. + operationId: tenancy_tenants_notes_create + parameters: + - description: A UUID string identifying this tenant. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - tenancy + /users/config/: + get: + description: Return the config_data for the currently authenticated User. + operationId: users_config_retrieve + responses: + '200': + content: + application/json; version=1.3: + schema: + additionalProperties: {} + type: object + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + /users/groups/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_groups_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationIntegerIDRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_groups_list + parameters: + - explode: true + in: query + name: id + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: id__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: id__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: id__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: id__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + type: integer + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedGroupList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_groups_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Group' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + post: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_groups_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GroupRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Group' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_groups_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Group' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + /users/groups/{id}/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_groups_destroy + parameters: + - description: A unique integer value identifying this group. + in: path + name: id + required: true + schema: + type: integer + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_groups_retrieve + parameters: + - description: A unique integer value identifying this group. + in: path + name: id + required: true + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Group' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_groups_partial_update + parameters: + - description: A unique integer value identifying this group. + in: path + name: id + required: true + schema: + type: integer + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedGroupRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Group' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_groups_update + parameters: + - description: A unique integer value identifying this group. + in: path + name: id + required: true + schema: + type: integer + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GroupRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Group' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + /users/permissions/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_permissions_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_permissions_list + parameters: + - in: query + name: enabled + schema: + type: boolean + - description: Group (name) + explode: true + in: query + name: group + schema: + items: + type: string + type: array + style: form + - description: Group (name) + explode: true + in: query + name: group__n + schema: + items: + type: string + type: array + style: form + - description: Group + explode: true + in: query + name: group_id + schema: + items: + type: integer + type: array + style: form + - description: Group + explode: true + in: query + name: group_id__n + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: object_types + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: object_types__n + schema: + items: + type: integer + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: User (name) + explode: true + in: query + name: user + schema: + items: + type: string + type: array + style: form + - description: User (name) + explode: true + in: query + name: user__n + schema: + items: + type: string + type: array + style: form + - description: User + explode: true + in: query + name: user_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: User + explode: true + in: query + name: user_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedObjectPermissionList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_permissions_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableObjectPermissionRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ObjectPermission' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + post: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_permissions_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableObjectPermissionRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ObjectPermission' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_permissions_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableObjectPermissionRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ObjectPermission' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + /users/permissions/{id}/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_permissions_destroy + parameters: + - description: A UUID string identifying this permission. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_permissions_retrieve + parameters: + - description: A UUID string identifying this permission. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ObjectPermission' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_permissions_partial_update + parameters: + - description: A UUID string identifying this permission. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableObjectPermissionRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ObjectPermission' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_permissions_update + parameters: + - description: A UUID string identifying this permission. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableObjectPermissionRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ObjectPermission' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + /users/tokens/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_tokens_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + - basicAuth: [] + tags: + - users + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_tokens_list + parameters: + - explode: true + in: query + name: created + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: created__gt + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: created__gte + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: created__lt + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: created__lte + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: created__n + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: expires + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: expires__gt + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: expires__gte + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: expires__lt + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: expires__lte + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: expires__n + schema: + items: + format: date-time + type: string + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: key + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: key__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: key__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: key__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: key__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: key__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: key__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: key__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: key__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: key__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: key__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: key__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: key__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: key__re + schema: + items: + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - in: query + name: write_enabled + schema: + type: boolean + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedTokenList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + - basicAuth: [] + tags: + - users + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_tokens_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableTokenRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Token' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + - basicAuth: [] + tags: + - users + post: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_tokens_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TokenRequest' + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Token' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + - basicAuth: [] + tags: + - users + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_tokens_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableTokenRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Token' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + - basicAuth: [] + tags: + - users + /users/tokens/{id}/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_tokens_destroy + parameters: + - description: A UUID string identifying this token. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + - basicAuth: [] + tags: + - users + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_tokens_retrieve + parameters: + - description: A UUID string identifying this token. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Token' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + - basicAuth: [] + tags: + - users + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_tokens_partial_update + parameters: + - description: A UUID string identifying this token. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedTokenRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Token' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + - basicAuth: [] + tags: + - users + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_tokens_update + parameters: + - description: A UUID string identifying this token. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TokenRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Token' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + - basicAuth: [] + tags: + - users + /users/users/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_users_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_users_list + parameters: + - explode: true + in: query + name: email + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: email__re + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: first_name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: first_name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: first_name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: first_name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: first_name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: first_name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: first_name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: first_name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: first_name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: first_name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: first_name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: first_name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: first_name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: first_name__re + schema: + items: + type: string + type: array + style: form + - description: Group (name) + explode: true + in: query + name: group + schema: + items: + type: string + type: array + style: form + - description: Group (name) + explode: true + in: query + name: group__n + schema: + items: + type: string + type: array + style: form + - description: Group + explode: true + in: query + name: group_id + schema: + items: + type: integer + type: array + style: form + - description: Group + explode: true + in: query + name: group_id__n + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: is_active + schema: + type: boolean + - in: query + name: is_staff + schema: + type: boolean + - explode: true + in: query + name: last_name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: last_name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: last_name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: last_name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: last_name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: last_name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: last_name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: last_name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: last_name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: last_name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: last_name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: last_name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: last_name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: last_name__re + schema: + items: + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: username + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: username__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedUserList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_users_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableUserRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/User' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + post: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_users_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableUserRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/User' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_users_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableUserRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/User' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + /users/users/{id}/: + delete: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_users_destroy + parameters: + - description: A UUID string identifying this user. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + get: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_users_retrieve + parameters: + - description: A UUID string identifying this user. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/User' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + patch: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_users_partial_update + parameters: + - description: A UUID string identifying this user. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableUserRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/User' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + put: + description: Extend DRF's ModelViewSet to support bulk update and delete functions. + operationId: users_users_update + parameters: + - description: A UUID string identifying this user. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableUserRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/User' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - users + /virtualization/cluster-groups/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_cluster_groups_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_cluster_groups_list + parameters: + - description: Clusters (name or ID) + explode: true + in: query + name: clusters + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Clusters (name or ID) + explode: true + in: query + name: clusters__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Has clusters + in: query + name: has_clusters + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedClusterGroupList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_cluster_groups_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableClusterGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ClusterGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_cluster_groups_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ClusterGroupRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ClusterGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_cluster_groups_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableClusterGroupRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ClusterGroup' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + /virtualization/cluster-groups/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_cluster_groups_destroy + parameters: + - description: A UUID string identifying this cluster group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_cluster_groups_retrieve + parameters: + - description: A UUID string identifying this cluster group. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ClusterGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_cluster_groups_partial_update + parameters: + - description: A UUID string identifying this cluster group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedClusterGroupRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ClusterGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_cluster_groups_update + parameters: + - description: A UUID string identifying this cluster group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ClusterGroupRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ClusterGroup' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + /virtualization/cluster-groups/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: virtualization_cluster_groups_notes_list + parameters: + - description: A UUID string identifying this cluster group. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + post: + description: API methods for returning or creating notes on an object. + operationId: virtualization_cluster_groups_notes_create + parameters: + - description: A UUID string identifying this cluster group. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + /virtualization/cluster-types/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_cluster_types_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_cluster_types_list + parameters: + - description: Clusters (name or ID) + explode: true + in: query + name: clusters + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Clusters (name or ID) + explode: true + in: query + name: clusters__n + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - description: Has clusters + in: query + name: has_clusters + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: slug + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: slug__re + schema: + items: + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedClusterTypeList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_cluster_types_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableClusterTypeRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ClusterType' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_cluster_types_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ClusterTypeRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ClusterType' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_cluster_types_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableClusterTypeRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/ClusterType' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + /virtualization/cluster-types/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_cluster_types_destroy + parameters: + - description: A UUID string identifying this cluster type. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_cluster_types_retrieve + parameters: + - description: A UUID string identifying this cluster type. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ClusterType' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_cluster_types_partial_update + parameters: + - description: A UUID string identifying this cluster type. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedClusterTypeRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ClusterType' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_cluster_types_update + parameters: + - description: A UUID string identifying this cluster type. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ClusterTypeRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/ClusterType' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + /virtualization/cluster-types/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: virtualization_cluster_types_notes_list + parameters: + - description: A UUID string identifying this cluster type. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + post: + description: API methods for returning or creating notes on an object. + operationId: virtualization_cluster_types_notes_create + parameters: + - description: A UUID string identifying this cluster type. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + /virtualization/clusters/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_clusters_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_clusters_list + parameters: + - explode: true + in: query + name: comments + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: comments__re + schema: + items: + type: string + type: array + style: form + - in: query + name: created + schema: + format: date + type: string + - in: query + name: created__gte + schema: + format: date + type: string + - in: query + name: created__lte + schema: + format: date + type: string + - description: Devices (name or ID) + explode: true + in: query + name: devices + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Devices (name or ID) + explode: true + in: query + name: devices__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Parent group (slug) + explode: true + in: query + name: group + schema: + items: + type: string + type: array + style: form + - description: Parent group (slug) + explode: true + in: query + name: group__n + schema: + items: + type: string + type: array + style: form + - description: Parent group (ID) + explode: true + in: query + name: group_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Parent group (ID) + explode: true + in: query + name: group_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Has devices + in: query + name: has_devices + schema: + type: boolean + - description: Has virtual machines + in: query + name: has_virtual_machines + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - in: query + name: last_updated + schema: + format: date-time + type: string + - in: query + name: last_updated__gte + schema: + format: date-time + type: string + - in: query + name: last_updated__lte + schema: + format: date-time + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Location (slug or ID) + explode: true + in: query + name: location + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Location (slug or ID) + explode: true + in: query + name: location__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Search + in: query + name: q + schema: + type: string + - description: Region (slug or ID) + explode: true + in: query + name: region + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (slug or ID) + explode: true + in: query + name: region__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) (deprecated, use "region" filter instead) + explode: true + in: query + name: region_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Region (ID) (deprecated, use "region" filter instead) + explode: true + in: query + name: region_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (slug or ID) + explode: true + in: query + name: site + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (slug or ID) + explode: true + in: query + name: site__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Site (ID) (deprecated, use "site" filter instead) + explode: true + in: query + name: site_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Site (ID) (deprecated, use "site" filter instead) + explode: true + in: query + name: site_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (slug or ID) + explode: true + in: query + name: tenant__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (slug) + explode: true + in: query + name: tenant_group__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant Group (ID) + explode: true + in: query + name: tenant_group_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + explode: true + in: query + name: tenant_id__n + schema: + items: + format: uuid + nullable: true + type: string + type: array + style: form + - description: Cluster type (slug) + explode: true + in: query + name: type + schema: + items: + type: string + type: array + style: form + - description: Cluster type (slug) + explode: true + in: query + name: type__n + schema: + items: + type: string + type: array + style: form + - description: Cluster type (ID) + explode: true + in: query + name: type_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Cluster type (ID) + explode: true + in: query + name: type_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Virtual machines (name or ID) + explode: true + in: query + name: virtual_machines + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Virtual machines (name or ID) + explode: true + in: query + name: virtual_machines__n + schema: + items: + format: uuid + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedClusterList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_clusters_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableClusterRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Cluster' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + post: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_clusters_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableClusterRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Cluster' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_clusters_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableClusterRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/Cluster' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + /virtualization/clusters/{id}/: + delete: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_clusters_destroy + parameters: + - description: A UUID string identifying this cluster. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + get: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_clusters_retrieve + parameters: + - description: A UUID string identifying this cluster. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Cluster' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + patch: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_clusters_partial_update + parameters: + - description: A UUID string identifying this cluster. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableClusterRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Cluster' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + put: + description: 'Base class to use for API ViewSets based on OrganizationalModel + or PrimaryModel. + + + Can also be used for models derived from BaseModel, so long as they support + Notes.' + operationId: virtualization_clusters_update + parameters: + - description: A UUID string identifying this cluster. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableClusterRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Cluster' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + /virtualization/clusters/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: virtualization_clusters_notes_list + parameters: + - description: A UUID string identifying this cluster. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + post: + description: API methods for returning or creating notes on an object. + operationId: virtualization_clusters_notes_create + parameters: + - description: A UUID string identifying this cluster. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + /virtualization/interfaces/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: virtualization_interfaces_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: virtualization_interfaces_list + parameters: + - description: Bridge interface (name or ID) + explode: true + in: query + name: bridge + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Bridge interface (name or ID) + explode: true + in: query + name: bridge__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Bridged interfaces (name or ID) + explode: true + in: query + name: bridged_interfaces + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Bridged interfaces (name or ID) + explode: true + in: query + name: bridged_interfaces__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Child interfaces (name or ID) + explode: true + in: query + name: child_interfaces + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Child interfaces (name or ID) + explode: true + in: query + name: child_interfaces__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Cluster + explode: true + in: query + name: cluster + schema: + items: + type: string + type: array + style: form + - description: Cluster + explode: true + in: query + name: cluster__n + schema: + items: + type: string + type: array + style: form + - description: Cluster (ID) + explode: true + in: query + name: cluster_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Cluster (ID) + explode: true + in: query + name: cluster_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: description + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: description__re + schema: + items: + type: string + type: array + style: form + - in: query + name: enabled + schema: + type: boolean + - description: Has Bridged Interfaces + in: query + name: has_bridged_interfaces + schema: + type: boolean + - description: Has child interfaces + in: query + name: has_child_interfaces + schema: + type: boolean + - description: Has IP addresses + in: query + name: has_ip_addresses + schema: + type: boolean + - description: Has Tagged VLANs + in: query + name: has_tagged_vlans + schema: + type: boolean + - explode: true + in: query + name: id + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__iew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__ire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__isw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nic + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nie + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__niew + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nire + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nisw + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__nre + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: id__re + schema: + items: + format: uuid + type: string + type: array + style: form + - description: IP addresses (address or ID) + explode: true + in: query + name: ip_addresses + schema: + items: + type: string + type: array + style: form + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: MAC address + explode: true + in: query + name: mac_address + schema: + items: + nullable: true + type: string + type: array + style: form + - description: MAC address + explode: true + in: query + name: mac_address__ic + schema: + items: + nullable: true + type: string + type: array + style: form + - description: MAC address + explode: true + in: query + name: mac_address__ie + schema: + items: + nullable: true + type: string + type: array + style: form + - description: MAC address + explode: true + in: query + name: mac_address__iew + schema: + items: + nullable: true + type: string + type: array + style: form + - description: MAC address + explode: true + in: query + name: mac_address__ire + schema: + items: + nullable: true + type: string + type: array + style: form + - description: MAC address + explode: true + in: query + name: mac_address__isw + schema: + items: + nullable: true + type: string + type: array + style: form + - description: MAC address + explode: true + in: query + name: mac_address__n + schema: + items: + nullable: true + type: string + type: array + style: form + - description: MAC address + explode: true + in: query + name: mac_address__nic + schema: + items: + nullable: true + type: string + type: array + style: form + - description: MAC address + explode: true + in: query + name: mac_address__nie + schema: + items: + nullable: true + type: string + type: array + style: form + - description: MAC address + explode: true + in: query + name: mac_address__niew + schema: + items: + nullable: true + type: string + type: array + style: form + - description: MAC address + explode: true + in: query + name: mac_address__nire + schema: + items: + nullable: true + type: string + type: array + style: form + - description: MAC address + explode: true + in: query + name: mac_address__nisw + schema: + items: + nullable: true + type: string + type: array + style: form + - description: MAC address + explode: true + in: query + name: mac_address__nre + schema: + items: + nullable: true + type: string + type: array + style: form + - description: MAC address + explode: true + in: query + name: mac_address__re + schema: + items: + nullable: true + type: string + type: array + style: form + - in: query + name: mode + schema: + type: string + - in: query + name: mode__n + schema: + type: string + - explode: true + in: query + name: mtu + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: mtu__gt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: mtu__gte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: mtu__lt + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: mtu__lte + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: mtu__n + schema: + items: + type: integer + type: array + style: form + - explode: true + in: query + name: name + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__iew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__ire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__isw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__n + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nic + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nie + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__niew + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nire + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nisw + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__nre + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: name__re + schema: + items: + type: string + type: array + style: form + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Parent interface (name or ID) + explode: true + in: query + name: parent_interface + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Parent interface (name or ID) + explode: true + in: query + name: parent_interface__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Search + in: query + name: q + schema: + type: string + - explode: true + in: query + name: status + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: status__n + schema: + items: + format: uuid + type: string + type: array + style: form + - explode: true + in: query + name: tag + schema: + items: + type: string + type: array + style: form + - explode: true + in: query + name: tag__n + schema: + items: + type: string + type: array + style: form + - description: Tagged VLANs (VID or ID) + explode: true + in: query + name: tagged_vlans + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Tagged VLANs (VID or ID) + explode: true + in: query + name: tagged_vlans__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Untagged VLAN (VID or ID) + explode: true + in: query + name: untagged_vlan + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Untagged VLAN (VID or ID) + explode: true + in: query + name: untagged_vlan__n + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Virtual machine + explode: true + in: query + name: virtual_machine + schema: + items: + type: string + type: array + style: form + - description: Virtual machine + explode: true + in: query + name: virtual_machine__n + schema: + items: + type: string + type: array + style: form + - description: Virtual machine (ID) + explode: true + in: query + name: virtual_machine_id + schema: + items: + format: uuid + type: string + type: array + style: form + - description: Virtual machine (ID) + explode: true + in: query + name: virtual_machine_id__n + schema: + items: + format: uuid + type: string + type: array + style: form + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedVMInterfaceSerializerVersion12List' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: virtualization_interfaces_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableVMInterfaceRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/VMInterfaceSerializerVersion12' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + post: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: virtualization_interfaces_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVMInterfaceRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VMInterfaceSerializerVersion12' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: virtualization_interfaces_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableVMInterfaceRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/VMInterfaceSerializerVersion12' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + /virtualization/interfaces/{id}/: + delete: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: virtualization_interfaces_destroy + parameters: + - description: A UUID string identifying this VM interface. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + get: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: virtualization_interfaces_retrieve + parameters: + - description: A UUID string identifying this VM interface. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VMInterfaceSerializerVersion12' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + patch: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: virtualization_interfaces_partial_update + parameters: + - description: A UUID string identifying this VM interface. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableVMInterfaceRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VMInterfaceSerializerVersion12' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + put: + description: Mixin to set `metadata_class` to implement `status` field in model + viewset metadata. + operationId: virtualization_interfaces_update + parameters: + - description: A UUID string identifying this VM interface. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVMInterfaceRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VMInterfaceSerializerVersion12' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + /virtualization/interfaces/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: virtualization_interfaces_notes_list + parameters: + - description: A UUID string identifying this VM interface. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + post: + description: API methods for returning or creating notes on an object. + operationId: virtualization_interfaces_notes_create + parameters: + - description: A UUID string identifying this VM interface. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + /virtualization/virtual-machines/: + delete: + description: 'Used by views that work with config context models (device and + virtual machine). + + Provides a get_queryset() method which deals with adding the config context + + data annotation or not.' + operationId: virtualization_virtual_machines_bulk_destroy + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkOperationRequest' + type: array + required: true + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + get: + description: 'Used by views that work with config context models (device and + virtual machine). + + Provides a get_queryset() method which deals with adding the config context + + data annotation or not.' + operationId: virtualization_virtual_machines_list + parameters: + - description: cluster + in: query + name: cluster + required: false + schema: + type: string + - description: cluster__n + in: query + name: cluster__n + required: false + schema: + type: string + - description: Cluster group (slug) + in: query + name: cluster_group + required: false + schema: + type: string + - description: Cluster group (slug) + in: query + name: cluster_group__n + required: false + schema: + type: string + - description: Cluster group (ID) + in: query + name: cluster_group_id + required: false + schema: + type: string + - description: Cluster group (ID) + in: query + name: cluster_group_id__n + required: false + schema: + type: string + - description: Cluster (ID) + in: query + name: cluster_id + required: false + schema: + type: string + - description: Cluster (ID) + in: query + name: cluster_id__n + required: false + schema: + type: string + - description: Cluster type (slug) + in: query + name: cluster_type + required: false + schema: + type: string + - description: Cluster type (slug) + in: query + name: cluster_type__n + required: false + schema: + type: string + - description: Cluster type (ID) + in: query + name: cluster_type_id + required: false + schema: + type: string + - description: Cluster type (ID) + in: query + name: cluster_type_id__n + required: false + schema: + type: string + - description: comments + in: query + name: comments + required: false + schema: + type: string + - description: comments__ic + in: query + name: comments__ic + required: false + schema: + type: string + - description: comments__ie + in: query + name: comments__ie + required: false + schema: + type: string + - description: comments__iew + in: query + name: comments__iew + required: false + schema: + type: string + - description: comments__ire + in: query + name: comments__ire + required: false + schema: + type: string + - description: comments__isw + in: query + name: comments__isw + required: false + schema: + type: string + - description: comments__n + in: query + name: comments__n + required: false + schema: + type: string + - description: comments__nic + in: query + name: comments__nic + required: false + schema: + type: string + - description: comments__nie + in: query + name: comments__nie + required: false + schema: + type: string + - description: comments__niew + in: query + name: comments__niew + required: false + schema: + type: string + - description: comments__nire + in: query + name: comments__nire + required: false + schema: + type: string + - description: comments__nisw + in: query + name: comments__nisw + required: false + schema: + type: string + - description: comments__nre + in: query + name: comments__nre + required: false + schema: + type: string + - description: comments__re + in: query + name: comments__re + required: false + schema: + type: string + - description: created + in: query + name: created + required: false + schema: + type: string + - description: created__gte + in: query + name: created__gte + required: false + schema: + type: string + - description: created__lte + in: query + name: created__lte + required: false + schema: + type: string + - description: disk + in: query + name: disk + required: false + schema: + type: string + - description: disk__gt + in: query + name: disk__gt + required: false + schema: + type: string + - description: disk__gte + in: query + name: disk__gte + required: false + schema: + type: string + - description: disk__lt + in: query + name: disk__lt + required: false + schema: + type: string + - description: disk__lte + in: query + name: disk__lte + required: false + schema: + type: string + - description: disk__n + in: query + name: disk__n + required: false + schema: + type: string + - description: Has interfaces + in: query + name: has_interfaces + required: false + schema: + type: string + - description: Has a primary IP + in: query + name: has_primary_ip + required: false + schema: + type: string + - description: Has services + in: query + name: has_services + required: false + schema: + type: string + - description: id + in: query + name: id + required: false + schema: + type: string + - description: id__ic + in: query + name: id__ic + required: false + schema: + type: string + - description: id__ie + in: query + name: id__ie + required: false + schema: + type: string + - description: id__iew + in: query + name: id__iew + required: false + schema: + type: string + - description: id__ire + in: query + name: id__ire + required: false + schema: + type: string + - description: id__isw + in: query + name: id__isw + required: false + schema: + type: string + - description: id__n + in: query + name: id__n + required: false + schema: + type: string + - description: id__nic + in: query + name: id__nic + required: false + schema: + type: string + - description: id__nie + in: query + name: id__nie + required: false + schema: + type: string + - description: id__niew + in: query + name: id__niew + required: false + schema: + type: string + - description: id__nire + in: query + name: id__nire + required: false + schema: + type: string + - description: id__nisw + in: query + name: id__nisw + required: false + schema: + type: string + - description: id__nre + in: query + name: id__nre + required: false + schema: + type: string + - description: id__re + in: query + name: id__re + required: false + schema: + type: string + - description: Interfaces (name or ID) + in: query + name: interfaces + required: false + schema: + type: string + - description: Interfaces (name or ID) + in: query + name: interfaces__n + required: false + schema: + type: string + - description: last_updated + in: query + name: last_updated + required: false + schema: + type: string + - description: last_updated__gte + in: query + name: last_updated__gte + required: false + schema: + type: string + - description: last_updated__lte + in: query + name: last_updated__lte + required: false + schema: + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: Has local config context data + in: query + name: local_context_data + required: false + schema: + type: string + - description: Schema (slug) + in: query + name: local_context_schema + required: false + schema: + type: string + - description: Schema (slug) + in: query + name: local_context_schema__n + required: false + schema: + type: string + - description: Schema (ID) + in: query + name: local_context_schema_id + required: false + schema: + type: string + - description: Schema (ID) + in: query + name: local_context_schema_id__n + required: false + schema: + type: string + - description: Location (slug or ID) + in: query + name: location + required: false + schema: + type: string + - description: Location (slug or ID) + in: query + name: location__n + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__ic + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__ie + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__iew + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__ire + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__isw + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__n + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__nic + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__nie + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__niew + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__nire + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__nisw + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__nre + required: false + schema: + type: string + - description: MAC address + in: query + name: mac_address__re + required: false + schema: + type: string + - description: memory + in: query + name: memory + required: false + schema: + type: string + - description: memory__gt + in: query + name: memory__gt + required: false + schema: + type: string + - description: memory__gte + in: query + name: memory__gte + required: false + schema: + type: string + - description: memory__lt + in: query + name: memory__lt + required: false + schema: + type: string + - description: memory__lte + in: query + name: memory__lte + required: false + schema: + type: string + - description: memory__n + in: query + name: memory__n + required: false + schema: + type: string + - description: name + in: query + name: name + required: false + schema: + type: string + - description: name__ic + in: query + name: name__ic + required: false + schema: + type: string + - description: name__ie + in: query + name: name__ie + required: false + schema: + type: string + - description: name__iew + in: query + name: name__iew + required: false + schema: + type: string + - description: name__ire + in: query + name: name__ire + required: false + schema: + type: string + - description: name__isw + in: query + name: name__isw + required: false + schema: + type: string + - description: name__n + in: query + name: name__n + required: false + schema: + type: string + - description: name__nic + in: query + name: name__nic + required: false + schema: + type: string + - description: name__nie + in: query + name: name__nie + required: false + schema: + type: string + - description: name__niew + in: query + name: name__niew + required: false + schema: + type: string + - description: name__nire + in: query + name: name__nire + required: false + schema: + type: string + - description: name__nisw + in: query + name: name__nisw + required: false + schema: + type: string + - description: name__nre + in: query + name: name__nre + required: false + schema: + type: string + - description: name__re + in: query + name: name__re + required: false + schema: + type: string + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + - description: Platform (slug) + in: query + name: platform + required: false + schema: + type: string + - description: Platform (slug) + in: query + name: platform__n + required: false + schema: + type: string + - description: Platform (ID) + in: query + name: platform_id + required: false + schema: + type: string + - description: Platform (ID) + in: query + name: platform_id__n + required: false + schema: + type: string + - description: Primary IPv4 Address (address or ID) + in: query + name: primary_ip4 + required: false + schema: + type: string + - description: Primary IPv6 Address (address or ID) + in: query + name: primary_ip6 + required: false + schema: + type: string + - description: Search + in: query + name: q + required: false + schema: + type: string + - description: Region (slug) + in: query + name: region + required: false + schema: + type: string + - description: Region (slug) + in: query + name: region__n + required: false + schema: + type: string + - description: Region (ID) + in: query + name: region_id + required: false + schema: + type: string + - description: Region (ID) + in: query + name: region_id__n + required: false + schema: + type: string + - description: Role (slug) + in: query + name: role + required: false + schema: + type: string + - description: Role (slug) + in: query + name: role__n + required: false + schema: + type: string + - description: Role (ID) + in: query + name: role_id + required: false + schema: + type: string + - description: Role (ID) + in: query + name: role_id__n + required: false + schema: + type: string + - description: Services (name or ID) + in: query + name: services + required: false + schema: + type: string + - description: Services (name or ID) + in: query + name: services__n + required: false + schema: + type: string + - description: Site (slug) + in: query + name: site + required: false + schema: + type: string + - description: Site (slug) + in: query + name: site__n + required: false + schema: + type: string + - description: Site (ID) + in: query + name: site_id + required: false + schema: + type: string + - description: Site (ID) + in: query + name: site_id__n + required: false + schema: + type: string + - description: status + in: query + name: status + required: false + schema: + type: string + - description: status__n + in: query + name: status__n + required: false + schema: + type: string + - description: tag + in: query + name: tag + required: false + schema: + type: string + - description: tag__n + in: query + name: tag__n + required: false + schema: + type: string + - description: Tenant (slug or ID) + in: query + name: tenant + required: false + schema: + type: string + - description: Tenant (slug or ID) + in: query + name: tenant__n + required: false + schema: + type: string + - description: Tenant Group (slug) + in: query + name: tenant_group + required: false + schema: + type: string + - description: Tenant Group (slug) + in: query + name: tenant_group__n + required: false + schema: + type: string + - description: Tenant Group (ID) + in: query + name: tenant_group_id + required: false + schema: + type: string + - description: Tenant Group (ID) + in: query + name: tenant_group_id__n + required: false + schema: + type: string + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + in: query + name: tenant_id + required: false + schema: + type: string + - description: Tenant (ID) (deprecated, use "tenant" filter instead) + in: query + name: tenant_id__n + required: false + schema: + type: string + - description: vcpus + in: query + name: vcpus + required: false + schema: + type: string + - description: vcpus__gt + in: query + name: vcpus__gt + required: false + schema: + type: string + - description: vcpus__gte + in: query + name: vcpus__gte + required: false + schema: + type: string + - description: vcpus__lt + in: query + name: vcpus__lt + required: false + schema: + type: string + - description: vcpus__lte + in: query + name: vcpus__lte + required: false + schema: + type: string + - description: vcpus__n + in: query + name: vcpus__n + required: false + schema: + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedVirtualMachineWithConfigContextList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + patch: + description: 'Used by views that work with config context models (device and + virtual machine). + + Provides a get_queryset() method which deals with adding the config context + + data annotation or not.' + operationId: virtualization_virtual_machines_bulk_partial_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/PatchedBulkWritableVirtualMachineWithConfigContextRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + post: + description: 'Used by views that work with config context models (device and + virtual machine). + + Provides a get_queryset() method which deals with adding the config context + + data annotation or not.' + operationId: virtualization_virtual_machines_create + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVirtualMachineWithConfigContextRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + put: + description: 'Used by views that work with config context models (device and + virtual machine). + + Provides a get_queryset() method which deals with adding the config context + + data annotation or not.' + operationId: virtualization_virtual_machines_bulk_update + requestBody: + content: + application/json: + schema: + items: + $ref: '#/components/schemas/BulkWritableVirtualMachineWithConfigContextRequest' + type: array + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + items: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + type: array + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + /virtualization/virtual-machines/{id}/: + delete: + description: 'Used by views that work with config context models (device and + virtual machine). + + Provides a get_queryset() method which deals with adding the config context + + data annotation or not.' + operationId: virtualization_virtual_machines_destroy + parameters: + - description: A UUID string identifying this virtual machine. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '204': + description: No response body + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + get: + description: 'Used by views that work with config context models (device and + virtual machine). + + Provides a get_queryset() method which deals with adding the config context + + data annotation or not.' + operationId: virtualization_virtual_machines_retrieve + parameters: + - description: A UUID string identifying this virtual machine. + in: path + name: id + required: true + schema: + format: uuid + type: string + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + patch: + description: 'Used by views that work with config context models (device and + virtual machine). + + Provides a get_queryset() method which deals with adding the config context + + data annotation or not.' + operationId: virtualization_virtual_machines_partial_update + parameters: + - description: A UUID string identifying this virtual machine. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedWritableVirtualMachineWithConfigContextRequest' + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + put: + description: 'Used by views that work with config context models (device and + virtual machine). + + Provides a get_queryset() method which deals with adding the config context + + data annotation or not.' + operationId: virtualization_virtual_machines_update + parameters: + - description: A UUID string identifying this virtual machine. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WritableVirtualMachineWithConfigContextRequest' + required: true + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/VirtualMachineWithConfigContext' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + /virtualization/virtual-machines/{id}/notes/: + get: + description: API methods for returning or creating notes on an object. + operationId: virtualization_virtual_machines_notes_list + parameters: + - description: A UUID string identifying this virtual machine. + in: path + name: id + required: true + schema: + format: uuid + type: string + - description: Number of results to return per page. + in: query + name: limit + required: false + schema: + type: integer + - description: The initial index from which to return the results. + in: query + name: offset + required: false + schema: + type: integer + responses: + '200': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/PaginatedNoteList' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization + post: + description: API methods for returning or creating notes on an object. + operationId: virtualization_virtual_machines_notes_create + parameters: + - description: A UUID string identifying this virtual machine. + in: path + name: id + required: true + schema: + format: uuid + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NoteInputRequest' + required: true + responses: + '201': + content: + application/json; version=1.3: + schema: + $ref: '#/components/schemas/Note' + description: '' + security: + - cookieAuth: [] + - tokenAuth: [] + tags: + - virtualization +servers: +- url: /api diff --git a/client/types.go b/client/types.go index 4b04174..1019531 100644 --- a/client/types.go +++ b/client/types.go @@ -1,6 +1,6 @@ // Package nautobot provides primitives to interact with the openapi HTTP API. // -// Code generated by github.com/deepmap/oapi-codegen version v1.10.1 DO NOT EDIT. +// Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT. package nautobot import ( @@ -8,6 +8,7 @@ import ( "fmt" "time" + "github.com/deepmap/oapi-codegen/pkg/runtime" openapi_types "github.com/deepmap/oapi-codegen/pkg/types" ) @@ -19,4515 +20,9364 @@ const ( // Defines values for AccessTypeEnum. const ( - AccessTypeEnumConsole AccessTypeEnum = "Console" + Console AccessTypeEnum = "Console" + GNMI AccessTypeEnum = "gNMI" + Generic AccessTypeEnum = "Generic" + HTTPS AccessTypeEnum = "HTTP(S)" + NETCONF AccessTypeEnum = "NETCONF" + REST AccessTypeEnum = "REST" + RESTCONF AccessTypeEnum = "RESTCONF" + SNMP AccessTypeEnum = "SNMP" + SSH AccessTypeEnum = "SSH" +) - AccessTypeEnumGNMI AccessTypeEnum = "gNMI" +// Defines values for ActionEnum. +const ( + ActionEnumAllow ActionEnum = "allow" + ActionEnumDeny ActionEnum = "deny" + ActionEnumDrop ActionEnum = "drop" + ActionEnumRemark ActionEnum = "remark" +) - AccessTypeEnumGeneric AccessTypeEnum = "Generic" +// Defines values for AddressObjectStatusLabel. +const ( + AddressObjectStatusLabelActive AddressObjectStatusLabel = "Active" + AddressObjectStatusLabelDecommissioned AddressObjectStatusLabel = "Decommissioned" + AddressObjectStatusLabelStaged AddressObjectStatusLabel = "Staged" +) - AccessTypeEnumHTTPS AccessTypeEnum = "HTTP(S)" +// Defines values for AddressObjectStatusValue. +const ( + AddressObjectStatusValueActive AddressObjectStatusValue = "active" + AddressObjectStatusValueDecommissioned AddressObjectStatusValue = "decommissioned" + AddressObjectStatusValueStaged AddressObjectStatusValue = "staged" +) - AccessTypeEnumNETCONF AccessTypeEnum = "NETCONF" +// Defines values for AddressObjectGroupAddressObjectsStatusLabel. +const ( + AddressObjectGroupAddressObjectsStatusLabelActive AddressObjectGroupAddressObjectsStatusLabel = "Active" + AddressObjectGroupAddressObjectsStatusLabelDecommissioned AddressObjectGroupAddressObjectsStatusLabel = "Decommissioned" + AddressObjectGroupAddressObjectsStatusLabelStaged AddressObjectGroupAddressObjectsStatusLabel = "Staged" +) - AccessTypeEnumREST AccessTypeEnum = "REST" +// Defines values for AddressObjectGroupAddressObjectsStatusValue. +const ( + AddressObjectGroupAddressObjectsStatusValueActive AddressObjectGroupAddressObjectsStatusValue = "active" + AddressObjectGroupAddressObjectsStatusValueDecommissioned AddressObjectGroupAddressObjectsStatusValue = "decommissioned" + AddressObjectGroupAddressObjectsStatusValueStaged AddressObjectGroupAddressObjectsStatusValue = "staged" +) - AccessTypeEnumRESTCONF AccessTypeEnum = "RESTCONF" +// Defines values for AddressObjectGroupStatusLabel. +const ( + AddressObjectGroupStatusLabelActive AddressObjectGroupStatusLabel = "Active" + AddressObjectGroupStatusLabelDecommissioned AddressObjectGroupStatusLabel = "Decommissioned" + AddressObjectGroupStatusLabelStaged AddressObjectGroupStatusLabel = "Staged" +) - AccessTypeEnumSNMP AccessTypeEnum = "SNMP" +// Defines values for AddressObjectGroupStatusValue. +const ( + AddressObjectGroupStatusValueActive AddressObjectGroupStatusValue = "active" + AddressObjectGroupStatusValueDecommissioned AddressObjectGroupStatusValue = "decommissioned" + AddressObjectGroupStatusValueStaged AddressObjectGroupStatusValue = "staged" +) - AccessTypeEnumSSH AccessTypeEnum = "SSH" +// Defines values for AfiSafiEnum. +const ( + Ipv4Flowspec AfiSafiEnum = "ipv4_flowspec" + Ipv4Multicast AfiSafiEnum = "ipv4_multicast" + Ipv4Unicast AfiSafiEnum = "ipv4_unicast" + Ipv6Flowspec AfiSafiEnum = "ipv6_flowspec" + Ipv6Multicast AfiSafiEnum = "ipv6_multicast" + Ipv6Unicast AfiSafiEnum = "ipv6_unicast" + L2Evpn AfiSafiEnum = "l2_evpn" + L2Vpls AfiSafiEnum = "l2_vpls" + Vpnv4Multicast AfiSafiEnum = "vpnv4_multicast" + Vpnv4Unicast AfiSafiEnum = "vpnv4_unicast" + Vpnv6Multicast AfiSafiEnum = "vpnv6_multicast" + Vpnv6Unicast AfiSafiEnum = "vpnv6_unicast" ) // Defines values for AggregateFamilyLabel. const ( AggregateFamilyLabelIPv4 AggregateFamilyLabel = "IPv4" - AggregateFamilyLabelIPv6 AggregateFamilyLabel = "IPv6" ) // Defines values for AggregateFamilyValue. const ( AggregateFamilyValueN4 AggregateFamilyValue = 4 - AggregateFamilyValueN6 AggregateFamilyValue = 6 ) +// Defines values for AutonomousSystemStatusLabel. +const ( + AutonomousSystemStatusLabelActive AutonomousSystemStatusLabel = "Active" + AutonomousSystemStatusLabelAvailable AutonomousSystemStatusLabel = "Available" + AutonomousSystemStatusLabelPlanned AutonomousSystemStatusLabel = "Planned" +) + +// Defines values for AutonomousSystemStatusValue. +const ( + AutonomousSystemStatusValueActive AutonomousSystemStatusValue = "active" + AutonomousSystemStatusValueAvailable AutonomousSystemStatusValue = "available" + AutonomousSystemStatusValuePlanned AutonomousSystemStatusValue = "planned" +) + +// Defines values for BulkWritableAddressObjectGroupRequestAddressObjectsStatus. +const ( + BulkWritableAddressObjectGroupRequestAddressObjectsStatusActive BulkWritableAddressObjectGroupRequestAddressObjectsStatus = "active" + BulkWritableAddressObjectGroupRequestAddressObjectsStatusDecommissioned BulkWritableAddressObjectGroupRequestAddressObjectsStatus = "decommissioned" + BulkWritableAddressObjectGroupRequestAddressObjectsStatusStaged BulkWritableAddressObjectGroupRequestAddressObjectsStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsAddressObjectsStatus. +const ( + BulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsAddressObjectsStatusActive BulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsAddressObjectsStatus = "active" + BulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsAddressObjectsStatusDecommissioned BulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsAddressObjectsStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsAddressObjectsStatusStaged BulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsAddressObjectsStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsStatus. +const ( + BulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsStatusActive BulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsStatus = "active" + BulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsStatusDecommissioned BulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsStatusStaged BulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestOriginalDestinationAddressesStatus. +const ( + BulkWritableNATPolicyRuleRequestOriginalDestinationAddressesStatusActive BulkWritableNATPolicyRuleRequestOriginalDestinationAddressesStatus = "active" + BulkWritableNATPolicyRuleRequestOriginalDestinationAddressesStatusDecommissioned BulkWritableNATPolicyRuleRequestOriginalDestinationAddressesStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestOriginalDestinationAddressesStatusStaged BulkWritableNATPolicyRuleRequestOriginalDestinationAddressesStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol. +const ( + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolAH BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "AH" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolAN BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "A/N" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolARIS BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ARIS" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolAX25 BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "AX.25" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolBBNRCCMON BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "BBN-RCC-MON" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolBNA BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "BNA" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolBRSATMON BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "BR-SAT-MON" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolCBT BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "CBT" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolCFTP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "CFTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolCHAOS BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "CHAOS" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolCPHB BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "CPHB" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolCPNX BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "CPNX" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolCRTP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "CRTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolCRUDP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "CRUDP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolCompaqPeer BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "Compaq-Peer" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolDCCP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "DCCP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolDCNMEAS BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "DCN-MEAS" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolDDP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "DDP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolDDX BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "DDX" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolDGP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "DGP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolDSR BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "DSR" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolEGP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "EGP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolEIGRP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "EIGRP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolEMCON BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "EMCON" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolENCAP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ENCAP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolESP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ESP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolETHERIP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ETHERIP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolEthernet BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "Ethernet" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolFC BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "FC" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolFIRE BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "FIRE" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolGGP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "GGP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolGMTP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "GMTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolGRE BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "GRE" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolHIP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "HIP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolHMP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "HMP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIATP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IATP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolICMP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ICMP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIDPR BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IDPR" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIDPRCMTP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IDPR-CMTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIDRP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IDRP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIFMP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IFMP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIGMP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IGMP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIGP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IGP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIL BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IL" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolINLSP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "I-NLSP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIPCV BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IPCV" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIPComp BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IPComp" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIPIP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IPIP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIPLT BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IPLT" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIPPC BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IPPC" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIPXInIP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IPX-in-IP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIRTP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IRTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolISOIP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ISO-IP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolISOTP4 BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ISO-TP4" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolKRYPTOLAN BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "KRYPTOLAN" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolL2TP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "L2TP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolLARP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "LARP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolLEAF1 BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "LEAF-1" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolLEAF2 BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "LEAF-2" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolMERITINP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "MERIT-INP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolMFENSP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "MFE-NSP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolMOBILE BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "MOBILE" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolMTP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "MTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolMUX BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "MUX" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolManet BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "manet" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolN3PC BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "3PC" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolNARP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "NARP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolNETBLT BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "NETBLT" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolNSFNETIGP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "NSFNET-IGP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolNVPII BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "NVP-II" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolOSPFIGP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "OSPFIGP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolPGM BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PGM" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolPIM BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PIM" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolPIPE BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PIPE" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolPNNI BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PNNI" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolPRM BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PRM" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolPTP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolPUP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PUP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolPVP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PVP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolQNX BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "QNX" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolRDP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "RDP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolROHC BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ROHC" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolRSVP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "RSVP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolRSVPE2EIGNORE BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "RSVP-E2E-IGNORE" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolRVD BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "RVD" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSATEXPAK BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SAT-EXPAK" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSATMON BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SAT-MON" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSCCSP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SCC-SP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSCPS BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SCPS" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSCTP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SCTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSDRP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SDRP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSECUREVMTP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SECURE-VMTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSKIP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SKIP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSM BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SM" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSMP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SMP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSNP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SNP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSPS BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SPS" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSRP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SRP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSSCOPMCE BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SSCOPMCE" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSTP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "STP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSUNND BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SUN-ND" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSpriteRPC BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "Sprite-RPC" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolTCF BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "TCF" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolTCP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "TCP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolTLSP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "TLSP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolTP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "TP++" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolTRUNK1 BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "TRUNK-1" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolTRUNK2 BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "TRUNK-2" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolTTP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "TTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolUDP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "UDP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolUDPLite BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "UDPLite" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolUTI BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "UTI" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolVINES BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "VINES" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolVISA BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "VISA" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolVMTP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "VMTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolWBEXPAK BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "WB-EXPAK" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolWBMON BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "WB-MON" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolWESP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "WESP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolWSN BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "WSN" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolXNET BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "XNET" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolXNSIDP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "XNS-IDP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolXTP BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "XTP" +) + +// Defines values for BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsStatus. +const ( + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsStatusActive BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsStatus = "active" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsStatusDecommissioned BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsStatusStaged BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsStatus. +const ( + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsStatusActive BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsStatus = "active" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsStatusDecommissioned BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsStatusStaged BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol. +const ( + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolAH BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "AH" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolAN BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "A/N" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolARIS BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "ARIS" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolAX25 BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "AX.25" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolBBNRCCMON BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "BBN-RCC-MON" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolBNA BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "BNA" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolBRSATMON BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "BR-SAT-MON" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolCBT BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "CBT" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolCFTP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "CFTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolCHAOS BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "CHAOS" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolCPHB BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "CPHB" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolCPNX BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "CPNX" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolCRTP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "CRTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolCRUDP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "CRUDP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolCompaqPeer BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "Compaq-Peer" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolDCCP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "DCCP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolDCNMEAS BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "DCN-MEAS" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolDDP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "DDP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolDDX BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "DDX" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolDGP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "DGP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolDSR BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "DSR" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolEGP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "EGP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolEIGRP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "EIGRP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolEMCON BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "EMCON" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolENCAP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "ENCAP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolESP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "ESP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolETHERIP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "ETHERIP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolEthernet BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "Ethernet" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolFC BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "FC" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolFIRE BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "FIRE" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolGGP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "GGP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolGMTP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "GMTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolGRE BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "GRE" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolHIP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "HIP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolHMP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "HMP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIATP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IATP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolICMP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "ICMP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIDPR BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IDPR" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIDPRCMTP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IDPR-CMTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIDRP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IDRP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIFMP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IFMP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIGMP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IGMP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIGP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IGP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIL BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IL" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolINLSP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "I-NLSP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIPCV BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IPCV" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIPComp BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IPComp" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIPIP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IPIP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIPLT BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IPLT" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIPPC BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IPPC" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIPXInIP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IPX-in-IP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIRTP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IRTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolISOIP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "ISO-IP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolISOTP4 BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "ISO-TP4" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolKRYPTOLAN BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "KRYPTOLAN" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolL2TP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "L2TP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolLARP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "LARP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolLEAF1 BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "LEAF-1" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolLEAF2 BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "LEAF-2" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolMERITINP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "MERIT-INP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolMFENSP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "MFE-NSP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolMOBILE BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "MOBILE" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolMTP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "MTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolMUX BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "MUX" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolManet BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "manet" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolN3PC BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "3PC" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolNARP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "NARP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolNETBLT BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "NETBLT" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolNSFNETIGP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "NSFNET-IGP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolNVPII BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "NVP-II" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolOSPFIGP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "OSPFIGP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolPGM BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "PGM" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolPIM BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "PIM" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolPIPE BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "PIPE" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolPNNI BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "PNNI" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolPRM BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "PRM" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolPTP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "PTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolPUP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "PUP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolPVP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "PVP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolQNX BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "QNX" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolRDP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "RDP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolROHC BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "ROHC" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolRSVP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "RSVP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolRSVPE2EIGNORE BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "RSVP-E2E-IGNORE" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolRVD BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "RVD" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSATEXPAK BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SAT-EXPAK" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSATMON BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SAT-MON" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSCCSP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SCC-SP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSCPS BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SCPS" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSCTP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SCTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSDRP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SDRP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSECUREVMTP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SECURE-VMTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSKIP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SKIP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSM BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SM" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSMP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SMP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSNP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SNP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSPS BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SPS" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSRP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SRP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSSCOPMCE BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SSCOPMCE" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSTP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "STP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSUNND BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SUN-ND" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSpriteRPC BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "Sprite-RPC" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolTCF BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "TCF" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolTCP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "TCP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolTLSP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "TLSP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolTP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "TP++" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolTRUNK1 BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "TRUNK-1" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolTRUNK2 BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "TRUNK-2" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolTTP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "TTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolUDP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "UDP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolUDPLite BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "UDPLite" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolUTI BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "UTI" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolVINES BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "VINES" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolVISA BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "VISA" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolVMTP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "VMTP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolWBEXPAK BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "WB-EXPAK" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolWBMON BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "WB-MON" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolWESP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "WESP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolWSN BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "WSN" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolXNET BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "XNET" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolXNSIDP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "XNS-IDP" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolXTP BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "XTP" +) + +// Defines values for BulkWritableNATPolicyRuleRequestOriginalDestinationServicesStatus. +const ( + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesStatusActive BulkWritableNATPolicyRuleRequestOriginalDestinationServicesStatus = "active" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesStatusDecommissioned BulkWritableNATPolicyRuleRequestOriginalDestinationServicesStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestOriginalDestinationServicesStatusStaged BulkWritableNATPolicyRuleRequestOriginalDestinationServicesStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsAddressObjectsStatus. +const ( + BulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsAddressObjectsStatusActive BulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsAddressObjectsStatus = "active" + BulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsAddressObjectsStatusDecommissioned BulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsAddressObjectsStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsAddressObjectsStatusStaged BulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsAddressObjectsStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsStatus. +const ( + BulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsStatusActive BulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsStatus = "active" + BulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsStatusDecommissioned BulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsStatusStaged BulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestOriginalSourceAddressesStatus. +const ( + BulkWritableNATPolicyRuleRequestOriginalSourceAddressesStatusActive BulkWritableNATPolicyRuleRequestOriginalSourceAddressesStatus = "active" + BulkWritableNATPolicyRuleRequestOriginalSourceAddressesStatusDecommissioned BulkWritableNATPolicyRuleRequestOriginalSourceAddressesStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestOriginalSourceAddressesStatusStaged BulkWritableNATPolicyRuleRequestOriginalSourceAddressesStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol. +const ( + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolAH BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "AH" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolAN BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "A/N" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolARIS BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ARIS" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolAX25 BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "AX.25" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolBBNRCCMON BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "BBN-RCC-MON" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolBNA BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "BNA" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolBRSATMON BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "BR-SAT-MON" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolCBT BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "CBT" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolCFTP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "CFTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolCHAOS BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "CHAOS" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolCPHB BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "CPHB" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolCPNX BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "CPNX" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolCRTP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "CRTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolCRUDP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "CRUDP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolCompaqPeer BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "Compaq-Peer" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolDCCP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "DCCP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolDCNMEAS BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "DCN-MEAS" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolDDP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "DDP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolDDX BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "DDX" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolDGP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "DGP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolDSR BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "DSR" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolEGP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "EGP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolEIGRP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "EIGRP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolEMCON BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "EMCON" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolENCAP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ENCAP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolESP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ESP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolETHERIP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ETHERIP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolEthernet BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "Ethernet" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolFC BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "FC" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolFIRE BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "FIRE" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolGGP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "GGP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolGMTP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "GMTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolGRE BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "GRE" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolHIP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "HIP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolHMP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "HMP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIATP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IATP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolICMP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ICMP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIDPR BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IDPR" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIDPRCMTP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IDPR-CMTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIDRP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IDRP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIFMP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IFMP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIGMP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IGMP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIGP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IGP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIL BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IL" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolINLSP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "I-NLSP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIPCV BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IPCV" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIPComp BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IPComp" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIPIP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IPIP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIPLT BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IPLT" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIPPC BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IPPC" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIPXInIP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IPX-in-IP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIRTP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IRTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolISOIP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ISO-IP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolISOTP4 BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ISO-TP4" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolKRYPTOLAN BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "KRYPTOLAN" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolL2TP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "L2TP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolLARP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "LARP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolLEAF1 BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "LEAF-1" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolLEAF2 BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "LEAF-2" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolMERITINP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "MERIT-INP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolMFENSP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "MFE-NSP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolMOBILE BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "MOBILE" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolMTP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "MTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolMUX BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "MUX" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolManet BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "manet" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolN3PC BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "3PC" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolNARP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "NARP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolNETBLT BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "NETBLT" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolNSFNETIGP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "NSFNET-IGP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolNVPII BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "NVP-II" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolOSPFIGP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "OSPFIGP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolPGM BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PGM" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolPIM BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PIM" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolPIPE BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PIPE" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolPNNI BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PNNI" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolPRM BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PRM" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolPTP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolPUP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PUP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolPVP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PVP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolQNX BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "QNX" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolRDP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "RDP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolROHC BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ROHC" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolRSVP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "RSVP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolRSVPE2EIGNORE BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "RSVP-E2E-IGNORE" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolRVD BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "RVD" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSATEXPAK BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SAT-EXPAK" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSATMON BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SAT-MON" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSCCSP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SCC-SP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSCPS BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SCPS" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSCTP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SCTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSDRP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SDRP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSECUREVMTP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SECURE-VMTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSKIP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SKIP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSM BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SM" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSMP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SMP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSNP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SNP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSPS BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SPS" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSRP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SRP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSSCOPMCE BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SSCOPMCE" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSTP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "STP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSUNND BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SUN-ND" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSpriteRPC BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "Sprite-RPC" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolTCF BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "TCF" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolTCP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "TCP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolTLSP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "TLSP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolTP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "TP++" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolTRUNK1 BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "TRUNK-1" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolTRUNK2 BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "TRUNK-2" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolTTP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "TTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolUDP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "UDP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolUDPLite BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "UDPLite" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolUTI BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "UTI" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolVINES BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "VINES" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolVISA BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "VISA" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolVMTP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "VMTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolWBEXPAK BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "WB-EXPAK" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolWBMON BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "WB-MON" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolWESP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "WESP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolWSN BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "WSN" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolXNET BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "XNET" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolXNSIDP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "XNS-IDP" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolXTP BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "XTP" +) + +// Defines values for BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsStatus. +const ( + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsStatusActive BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsStatus = "active" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsStatusDecommissioned BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsStatusStaged BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsStatus. +const ( + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsStatusActive BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsStatus = "active" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsStatusDecommissioned BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsStatusStaged BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol. +const ( + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolAH BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "AH" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolAN BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "A/N" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolARIS BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "ARIS" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolAX25 BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "AX.25" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolBBNRCCMON BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "BBN-RCC-MON" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolBNA BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "BNA" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolBRSATMON BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "BR-SAT-MON" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolCBT BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "CBT" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolCFTP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "CFTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolCHAOS BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "CHAOS" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolCPHB BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "CPHB" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolCPNX BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "CPNX" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolCRTP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "CRTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolCRUDP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "CRUDP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolCompaqPeer BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "Compaq-Peer" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolDCCP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "DCCP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolDCNMEAS BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "DCN-MEAS" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolDDP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "DDP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolDDX BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "DDX" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolDGP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "DGP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolDSR BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "DSR" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolEGP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "EGP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolEIGRP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "EIGRP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolEMCON BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "EMCON" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolENCAP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "ENCAP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolESP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "ESP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolETHERIP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "ETHERIP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolEthernet BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "Ethernet" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolFC BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "FC" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolFIRE BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "FIRE" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolGGP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "GGP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolGMTP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "GMTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolGRE BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "GRE" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolHIP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "HIP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolHMP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "HMP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIATP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IATP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolICMP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "ICMP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIDPR BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IDPR" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIDPRCMTP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IDPR-CMTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIDRP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IDRP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIFMP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IFMP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIGMP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IGMP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIGP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IGP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIL BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IL" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolINLSP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "I-NLSP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIPCV BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IPCV" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIPComp BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IPComp" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIPIP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IPIP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIPLT BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IPLT" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIPPC BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IPPC" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIPXInIP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IPX-in-IP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIRTP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IRTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolISOIP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "ISO-IP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolISOTP4 BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "ISO-TP4" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolKRYPTOLAN BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "KRYPTOLAN" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolL2TP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "L2TP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolLARP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "LARP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolLEAF1 BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "LEAF-1" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolLEAF2 BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "LEAF-2" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolMERITINP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "MERIT-INP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolMFENSP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "MFE-NSP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolMOBILE BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "MOBILE" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolMTP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "MTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolMUX BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "MUX" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolManet BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "manet" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolN3PC BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "3PC" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolNARP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "NARP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolNETBLT BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "NETBLT" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolNSFNETIGP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "NSFNET-IGP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolNVPII BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "NVP-II" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolOSPFIGP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "OSPFIGP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolPGM BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "PGM" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolPIM BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "PIM" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolPIPE BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "PIPE" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolPNNI BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "PNNI" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolPRM BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "PRM" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolPTP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "PTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolPUP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "PUP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolPVP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "PVP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolQNX BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "QNX" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolRDP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "RDP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolROHC BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "ROHC" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolRSVP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "RSVP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolRSVPE2EIGNORE BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "RSVP-E2E-IGNORE" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolRVD BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "RVD" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSATEXPAK BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SAT-EXPAK" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSATMON BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SAT-MON" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSCCSP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SCC-SP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSCPS BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SCPS" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSCTP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SCTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSDRP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SDRP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSECUREVMTP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SECURE-VMTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSKIP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SKIP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSM BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SM" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSMP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SMP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSNP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SNP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSPS BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SPS" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSRP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SRP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSSCOPMCE BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SSCOPMCE" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSTP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "STP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSUNND BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SUN-ND" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSpriteRPC BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "Sprite-RPC" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolTCF BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "TCF" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolTCP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "TCP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolTLSP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "TLSP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolTP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "TP++" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolTRUNK1 BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "TRUNK-1" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolTRUNK2 BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "TRUNK-2" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolTTP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "TTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolUDP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "UDP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolUDPLite BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "UDPLite" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolUTI BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "UTI" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolVINES BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "VINES" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolVISA BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "VISA" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolVMTP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "VMTP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolWBEXPAK BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "WB-EXPAK" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolWBMON BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "WB-MON" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolWESP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "WESP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolWSN BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "WSN" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolXNET BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "XNET" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolXNSIDP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "XNS-IDP" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolXTP BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "XTP" +) + +// Defines values for BulkWritableNATPolicyRuleRequestOriginalSourceServicesStatus. +const ( + BulkWritableNATPolicyRuleRequestOriginalSourceServicesStatusActive BulkWritableNATPolicyRuleRequestOriginalSourceServicesStatus = "active" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesStatusDecommissioned BulkWritableNATPolicyRuleRequestOriginalSourceServicesStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestOriginalSourceServicesStatusStaged BulkWritableNATPolicyRuleRequestOriginalSourceServicesStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsAddressObjectsStatus. +const ( + BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsAddressObjectsStatusActive BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsAddressObjectsStatus = "active" + BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsAddressObjectsStatusDecommissioned BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsAddressObjectsStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsAddressObjectsStatusStaged BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsAddressObjectsStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsStatus. +const ( + BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsStatusActive BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsStatus = "active" + BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsStatusDecommissioned BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsStatusStaged BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressesStatus. +const ( + BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressesStatusActive BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressesStatus = "active" + BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressesStatusDecommissioned BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressesStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressesStatusStaged BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressesStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol. +const ( + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolAH BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "AH" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolAN BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "A/N" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolARIS BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ARIS" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolAX25 BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "AX.25" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolBBNRCCMON BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "BBN-RCC-MON" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolBNA BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "BNA" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolBRSATMON BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "BR-SAT-MON" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCBT BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "CBT" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCFTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "CFTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCHAOS BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "CHAOS" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCPHB BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "CPHB" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCPNX BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "CPNX" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCRTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "CRTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCRUDP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "CRUDP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCompaqPeer BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "Compaq-Peer" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolDCCP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "DCCP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolDCNMEAS BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "DCN-MEAS" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolDDP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "DDP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolDDX BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "DDX" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolDGP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "DGP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolDSR BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "DSR" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolEGP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "EGP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolEIGRP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "EIGRP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolEMCON BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "EMCON" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolENCAP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ENCAP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolESP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ESP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolETHERIP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ETHERIP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolEthernet BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "Ethernet" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolFC BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "FC" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolFIRE BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "FIRE" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolGGP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "GGP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolGMTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "GMTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolGRE BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "GRE" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolHIP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "HIP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolHMP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "HMP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIATP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IATP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolICMP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ICMP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIDPR BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IDPR" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIDPRCMTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IDPR-CMTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIDRP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IDRP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIFMP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IFMP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIGMP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IGMP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIGP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IGP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIL BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IL" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolINLSP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "I-NLSP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIPCV BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IPCV" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIPComp BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IPComp" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIPIP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IPIP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIPLT BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IPLT" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIPPC BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IPPC" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIPXInIP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IPX-in-IP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIRTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IRTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolISOIP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ISO-IP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolISOTP4 BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ISO-TP4" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolKRYPTOLAN BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "KRYPTOLAN" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolL2TP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "L2TP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolLARP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "LARP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolLEAF1 BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "LEAF-1" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolLEAF2 BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "LEAF-2" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolMERITINP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "MERIT-INP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolMFENSP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "MFE-NSP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolMOBILE BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "MOBILE" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolMTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "MTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolMUX BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "MUX" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolManet BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "manet" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolN3PC BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "3PC" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolNARP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "NARP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolNETBLT BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "NETBLT" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolNSFNETIGP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "NSFNET-IGP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolNVPII BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "NVP-II" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolOSPFIGP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "OSPFIGP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPGM BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PGM" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPIM BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PIM" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPIPE BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PIPE" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPNNI BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PNNI" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPRM BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PRM" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPUP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PUP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPVP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PVP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolQNX BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "QNX" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolRDP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "RDP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolROHC BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ROHC" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolRSVP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "RSVP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolRSVPE2EIGNORE BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "RSVP-E2E-IGNORE" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolRVD BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "RVD" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSATEXPAK BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SAT-EXPAK" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSATMON BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SAT-MON" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSCCSP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SCC-SP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSCPS BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SCPS" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSCTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SCTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSDRP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SDRP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSECUREVMTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SECURE-VMTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSKIP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SKIP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSM BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SM" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSMP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SMP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSNP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SNP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSPS BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SPS" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSRP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SRP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSSCOPMCE BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SSCOPMCE" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "STP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSUNND BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SUN-ND" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSpriteRPC BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "Sprite-RPC" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolTCF BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "TCF" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolTCP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "TCP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolTLSP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "TLSP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "TP++" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolTRUNK1 BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "TRUNK-1" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolTRUNK2 BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "TRUNK-2" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolTTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "TTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolUDP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "UDP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolUDPLite BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "UDPLite" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolUTI BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "UTI" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolVINES BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "VINES" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolVISA BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "VISA" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolVMTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "VMTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolWBEXPAK BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "WB-EXPAK" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolWBMON BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "WB-MON" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolWESP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "WESP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolWSN BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "WSN" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolXNET BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "XNET" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolXNSIDP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "XNS-IDP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolXTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "XTP" +) + +// Defines values for BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsStatus. +const ( + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsStatusActive BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsStatus = "active" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsStatusDecommissioned BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsStatusStaged BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsStatus. +const ( + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsStatusActive BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsStatus = "active" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsStatusDecommissioned BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsStatusStaged BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol. +const ( + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolAH BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "AH" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolAN BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "A/N" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolARIS BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "ARIS" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolAX25 BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "AX.25" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolBBNRCCMON BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "BBN-RCC-MON" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolBNA BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "BNA" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolBRSATMON BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "BR-SAT-MON" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolCBT BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "CBT" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolCFTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "CFTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolCHAOS BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "CHAOS" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolCPHB BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "CPHB" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolCPNX BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "CPNX" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolCRTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "CRTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolCRUDP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "CRUDP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolCompaqPeer BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "Compaq-Peer" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolDCCP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "DCCP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolDCNMEAS BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "DCN-MEAS" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolDDP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "DDP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolDDX BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "DDX" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolDGP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "DGP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolDSR BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "DSR" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolEGP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "EGP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolEIGRP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "EIGRP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolEMCON BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "EMCON" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolENCAP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "ENCAP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolESP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "ESP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolETHERIP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "ETHERIP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolEthernet BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "Ethernet" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolFC BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "FC" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolFIRE BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "FIRE" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolGGP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "GGP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolGMTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "GMTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolGRE BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "GRE" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolHIP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "HIP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolHMP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "HMP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIATP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IATP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolICMP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "ICMP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIDPR BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IDPR" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIDPRCMTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IDPR-CMTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIDRP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IDRP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIFMP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IFMP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIGMP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IGMP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIGP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IGP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIL BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IL" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolINLSP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "I-NLSP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIPCV BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IPCV" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIPComp BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IPComp" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIPIP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IPIP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIPLT BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IPLT" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIPPC BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IPPC" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIPXInIP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IPX-in-IP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIRTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IRTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolISOIP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "ISO-IP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolISOTP4 BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "ISO-TP4" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolKRYPTOLAN BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "KRYPTOLAN" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolL2TP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "L2TP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolLARP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "LARP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolLEAF1 BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "LEAF-1" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolLEAF2 BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "LEAF-2" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolMERITINP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "MERIT-INP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolMFENSP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "MFE-NSP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolMOBILE BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "MOBILE" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolMTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "MTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolMUX BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "MUX" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolManet BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "manet" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolN3PC BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "3PC" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolNARP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "NARP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolNETBLT BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "NETBLT" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolNSFNETIGP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "NSFNET-IGP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolNVPII BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "NVP-II" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolOSPFIGP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "OSPFIGP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolPGM BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "PGM" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolPIM BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "PIM" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolPIPE BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "PIPE" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolPNNI BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "PNNI" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolPRM BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "PRM" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolPTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "PTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolPUP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "PUP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolPVP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "PVP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolQNX BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "QNX" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolRDP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "RDP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolROHC BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "ROHC" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolRSVP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "RSVP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolRSVPE2EIGNORE BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "RSVP-E2E-IGNORE" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolRVD BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "RVD" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSATEXPAK BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SAT-EXPAK" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSATMON BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SAT-MON" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSCCSP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SCC-SP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSCPS BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SCPS" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSCTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SCTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSDRP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SDRP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSECUREVMTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SECURE-VMTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSKIP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SKIP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSM BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SM" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSMP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SMP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSNP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SNP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSPS BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SPS" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSRP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SRP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSSCOPMCE BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SSCOPMCE" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "STP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSUNND BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SUN-ND" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSpriteRPC BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "Sprite-RPC" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolTCF BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "TCF" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolTCP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "TCP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolTLSP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "TLSP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "TP++" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolTRUNK1 BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "TRUNK-1" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolTRUNK2 BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "TRUNK-2" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolTTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "TTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolUDP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "UDP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolUDPLite BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "UDPLite" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolUTI BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "UTI" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolVINES BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "VINES" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolVISA BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "VISA" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolVMTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "VMTP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolWBEXPAK BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "WB-EXPAK" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolWBMON BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "WB-MON" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolWESP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "WESP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolWSN BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "WSN" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolXNET BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "XNET" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolXNSIDP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "XNS-IDP" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolXTP BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "XTP" +) + +// Defines values for BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesStatus. +const ( + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesStatusActive BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesStatus = "active" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesStatusDecommissioned BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesStatusStaged BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsAddressObjectsStatus. +const ( + BulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsAddressObjectsStatusActive BulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsAddressObjectsStatus = "active" + BulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsAddressObjectsStatusDecommissioned BulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsAddressObjectsStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsAddressObjectsStatusStaged BulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsAddressObjectsStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsStatus. +const ( + BulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsStatusActive BulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsStatus = "active" + BulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsStatusDecommissioned BulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsStatusStaged BulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestTranslatedSourceAddressesStatus. +const ( + BulkWritableNATPolicyRuleRequestTranslatedSourceAddressesStatusActive BulkWritableNATPolicyRuleRequestTranslatedSourceAddressesStatus = "active" + BulkWritableNATPolicyRuleRequestTranslatedSourceAddressesStatusDecommissioned BulkWritableNATPolicyRuleRequestTranslatedSourceAddressesStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestTranslatedSourceAddressesStatusStaged BulkWritableNATPolicyRuleRequestTranslatedSourceAddressesStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol. +const ( + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolAH BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "AH" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolAN BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "A/N" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolARIS BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ARIS" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolAX25 BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "AX.25" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolBBNRCCMON BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "BBN-RCC-MON" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolBNA BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "BNA" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolBRSATMON BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "BR-SAT-MON" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolCBT BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "CBT" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolCFTP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "CFTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolCHAOS BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "CHAOS" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolCPHB BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "CPHB" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolCPNX BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "CPNX" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolCRTP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "CRTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolCRUDP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "CRUDP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolCompaqPeer BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "Compaq-Peer" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolDCCP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "DCCP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolDCNMEAS BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "DCN-MEAS" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolDDP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "DDP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolDDX BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "DDX" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolDGP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "DGP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolDSR BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "DSR" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolEGP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "EGP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolEIGRP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "EIGRP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolEMCON BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "EMCON" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolENCAP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ENCAP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolESP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ESP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolETHERIP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ETHERIP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolEthernet BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "Ethernet" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolFC BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "FC" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolFIRE BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "FIRE" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolGGP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "GGP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolGMTP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "GMTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolGRE BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "GRE" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolHIP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "HIP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolHMP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "HMP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIATP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IATP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolICMP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ICMP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIDPR BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IDPR" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIDPRCMTP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IDPR-CMTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIDRP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IDRP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIFMP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IFMP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIGMP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IGMP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIGP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IGP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIL BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IL" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolINLSP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "I-NLSP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIPCV BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IPCV" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIPComp BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IPComp" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIPIP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IPIP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIPLT BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IPLT" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIPPC BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IPPC" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIPXInIP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IPX-in-IP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIRTP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IRTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolISOIP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ISO-IP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolISOTP4 BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ISO-TP4" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolKRYPTOLAN BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "KRYPTOLAN" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolL2TP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "L2TP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolLARP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "LARP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolLEAF1 BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "LEAF-1" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolLEAF2 BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "LEAF-2" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolMERITINP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "MERIT-INP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolMFENSP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "MFE-NSP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolMOBILE BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "MOBILE" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolMTP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "MTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolMUX BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "MUX" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolManet BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "manet" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolN3PC BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "3PC" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolNARP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "NARP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolNETBLT BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "NETBLT" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolNSFNETIGP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "NSFNET-IGP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolNVPII BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "NVP-II" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolOSPFIGP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "OSPFIGP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolPGM BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PGM" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolPIM BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PIM" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolPIPE BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PIPE" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolPNNI BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PNNI" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolPRM BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PRM" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolPTP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolPUP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PUP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolPVP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PVP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolQNX BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "QNX" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolRDP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "RDP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolROHC BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ROHC" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolRSVP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "RSVP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolRSVPE2EIGNORE BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "RSVP-E2E-IGNORE" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolRVD BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "RVD" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSATEXPAK BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SAT-EXPAK" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSATMON BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SAT-MON" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSCCSP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SCC-SP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSCPS BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SCPS" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSCTP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SCTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSDRP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SDRP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSECUREVMTP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SECURE-VMTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSKIP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SKIP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSM BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SM" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSMP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SMP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSNP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SNP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSPS BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SPS" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSRP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SRP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSSCOPMCE BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SSCOPMCE" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSTP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "STP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSUNND BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SUN-ND" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSpriteRPC BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "Sprite-RPC" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolTCF BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "TCF" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolTCP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "TCP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolTLSP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "TLSP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolTP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "TP++" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolTRUNK1 BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "TRUNK-1" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolTRUNK2 BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "TRUNK-2" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolTTP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "TTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolUDP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "UDP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolUDPLite BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "UDPLite" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolUTI BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "UTI" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolVINES BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "VINES" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolVISA BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "VISA" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolVMTP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "VMTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolWBEXPAK BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "WB-EXPAK" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolWBMON BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "WB-MON" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolWESP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "WESP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolWSN BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "WSN" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolXNET BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "XNET" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolXNSIDP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "XNS-IDP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolXTP BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "XTP" +) + +// Defines values for BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsStatus. +const ( + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsStatusActive BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsStatus = "active" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsStatusDecommissioned BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsStatusStaged BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsStatus. +const ( + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsStatusActive BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsStatus = "active" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsStatusDecommissioned BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsStatusStaged BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsStatus = "staged" +) + +// Defines values for BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol. +const ( + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolAH BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "AH" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolAN BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "A/N" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolARIS BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "ARIS" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolAX25 BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "AX.25" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolBBNRCCMON BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "BBN-RCC-MON" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolBNA BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "BNA" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolBRSATMON BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "BR-SAT-MON" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolCBT BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "CBT" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolCFTP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "CFTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolCHAOS BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "CHAOS" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolCPHB BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "CPHB" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolCPNX BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "CPNX" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolCRTP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "CRTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolCRUDP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "CRUDP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolCompaqPeer BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "Compaq-Peer" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolDCCP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "DCCP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolDCNMEAS BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "DCN-MEAS" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolDDP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "DDP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolDDX BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "DDX" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolDGP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "DGP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolDSR BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "DSR" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolEGP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "EGP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolEIGRP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "EIGRP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolEMCON BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "EMCON" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolENCAP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "ENCAP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolESP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "ESP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolETHERIP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "ETHERIP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolEthernet BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "Ethernet" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolFC BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "FC" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolFIRE BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "FIRE" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolGGP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "GGP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolGMTP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "GMTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolGRE BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "GRE" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolHIP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "HIP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolHMP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "HMP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIATP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IATP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolICMP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "ICMP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIDPR BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IDPR" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIDPRCMTP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IDPR-CMTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIDRP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IDRP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIFMP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IFMP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIGMP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IGMP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIGP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IGP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIL BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IL" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolINLSP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "I-NLSP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIPCV BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IPCV" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIPComp BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IPComp" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIPIP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IPIP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIPLT BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IPLT" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIPPC BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IPPC" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIPXInIP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IPX-in-IP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIRTP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IRTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolISOIP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "ISO-IP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolISOTP4 BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "ISO-TP4" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolKRYPTOLAN BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "KRYPTOLAN" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolL2TP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "L2TP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolLARP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "LARP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolLEAF1 BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "LEAF-1" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolLEAF2 BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "LEAF-2" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolMERITINP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "MERIT-INP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolMFENSP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "MFE-NSP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolMOBILE BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "MOBILE" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolMTP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "MTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolMUX BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "MUX" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolManet BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "manet" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolN3PC BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "3PC" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolNARP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "NARP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolNETBLT BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "NETBLT" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolNSFNETIGP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "NSFNET-IGP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolNVPII BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "NVP-II" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolOSPFIGP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "OSPFIGP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolPGM BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "PGM" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolPIM BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "PIM" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolPIPE BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "PIPE" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolPNNI BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "PNNI" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolPRM BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "PRM" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolPTP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "PTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolPUP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "PUP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolPVP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "PVP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolQNX BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "QNX" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolRDP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "RDP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolROHC BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "ROHC" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolRSVP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "RSVP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolRSVPE2EIGNORE BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "RSVP-E2E-IGNORE" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolRVD BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "RVD" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSATEXPAK BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SAT-EXPAK" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSATMON BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SAT-MON" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSCCSP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SCC-SP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSCPS BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SCPS" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSCTP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SCTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSDRP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SDRP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSECUREVMTP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SECURE-VMTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSKIP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SKIP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSM BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SM" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSMP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SMP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSNP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SNP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSPS BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SPS" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSRP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SRP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSSCOPMCE BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SSCOPMCE" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSTP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "STP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSUNND BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SUN-ND" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSpriteRPC BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "Sprite-RPC" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolTCF BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "TCF" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolTCP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "TCP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolTLSP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "TLSP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolTP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "TP++" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolTRUNK1 BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "TRUNK-1" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolTRUNK2 BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "TRUNK-2" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolTTP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "TTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolUDP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "UDP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolUDPLite BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "UDPLite" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolUTI BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "UTI" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolVINES BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "VINES" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolVISA BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "VISA" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolVMTP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "VMTP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolWBEXPAK BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "WB-EXPAK" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolWBMON BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "WB-MON" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolWESP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "WESP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolWSN BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "WSN" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolXNET BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "XNET" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolXNSIDP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "XNS-IDP" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolXTP BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "XTP" +) + +// Defines values for BulkWritableNATPolicyRuleRequestTranslatedSourceServicesStatus. +const ( + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesStatusActive BulkWritableNATPolicyRuleRequestTranslatedSourceServicesStatus = "active" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesStatusDecommissioned BulkWritableNATPolicyRuleRequestTranslatedSourceServicesStatus = "decommissioned" + BulkWritableNATPolicyRuleRequestTranslatedSourceServicesStatusStaged BulkWritableNATPolicyRuleRequestTranslatedSourceServicesStatus = "staged" +) + +// Defines values for BulkWritablePolicyRuleRequestDestinationAddressGroupsAddressObjectsStatus. +const ( + BulkWritablePolicyRuleRequestDestinationAddressGroupsAddressObjectsStatusActive BulkWritablePolicyRuleRequestDestinationAddressGroupsAddressObjectsStatus = "active" + BulkWritablePolicyRuleRequestDestinationAddressGroupsAddressObjectsStatusDecommissioned BulkWritablePolicyRuleRequestDestinationAddressGroupsAddressObjectsStatus = "decommissioned" + BulkWritablePolicyRuleRequestDestinationAddressGroupsAddressObjectsStatusStaged BulkWritablePolicyRuleRequestDestinationAddressGroupsAddressObjectsStatus = "staged" +) + +// Defines values for BulkWritablePolicyRuleRequestDestinationAddressGroupsStatus. +const ( + BulkWritablePolicyRuleRequestDestinationAddressGroupsStatusActive BulkWritablePolicyRuleRequestDestinationAddressGroupsStatus = "active" + BulkWritablePolicyRuleRequestDestinationAddressGroupsStatusDecommissioned BulkWritablePolicyRuleRequestDestinationAddressGroupsStatus = "decommissioned" + BulkWritablePolicyRuleRequestDestinationAddressGroupsStatusStaged BulkWritablePolicyRuleRequestDestinationAddressGroupsStatus = "staged" +) + +// Defines values for BulkWritablePolicyRuleRequestDestinationAddressesStatus. +const ( + BulkWritablePolicyRuleRequestDestinationAddressesStatusActive BulkWritablePolicyRuleRequestDestinationAddressesStatus = "active" + BulkWritablePolicyRuleRequestDestinationAddressesStatusDecommissioned BulkWritablePolicyRuleRequestDestinationAddressesStatus = "decommissioned" + BulkWritablePolicyRuleRequestDestinationAddressesStatusStaged BulkWritablePolicyRuleRequestDestinationAddressesStatus = "staged" +) + +// Defines values for BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol. +const ( + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolAH BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "AH" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolAN BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "A/N" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolARIS BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "ARIS" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolAX25 BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "AX.25" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolBBNRCCMON BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "BBN-RCC-MON" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolBNA BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "BNA" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolBRSATMON BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "BR-SAT-MON" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolCBT BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "CBT" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolCFTP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "CFTP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolCHAOS BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "CHAOS" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolCPHB BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "CPHB" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolCPNX BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "CPNX" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolCRTP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "CRTP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolCRUDP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "CRUDP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolCompaqPeer BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "Compaq-Peer" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolDCCP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "DCCP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolDCNMEAS BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "DCN-MEAS" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolDDP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "DDP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolDDX BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "DDX" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolDGP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "DGP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolDSR BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "DSR" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolEGP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "EGP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolEIGRP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "EIGRP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolEMCON BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "EMCON" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolENCAP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "ENCAP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolESP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "ESP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolETHERIP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "ETHERIP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolEthernet BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "Ethernet" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolFC BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "FC" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolFIRE BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "FIRE" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolGGP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "GGP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolGMTP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "GMTP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolGRE BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "GRE" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolHIP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "HIP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolHMP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "HMP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIATP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IATP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolICMP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "ICMP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIDPR BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IDPR" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIDPRCMTP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IDPR-CMTP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIDRP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IDRP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIFMP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IFMP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIGMP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IGMP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIGP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IGP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIL BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IL" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolINLSP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "I-NLSP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIPCV BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IPCV" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIPComp BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IPComp" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIPIP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IPIP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIPLT BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IPLT" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIPPC BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IPPC" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIPXInIP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IPX-in-IP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIRTP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IRTP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolISOIP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "ISO-IP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolISOTP4 BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "ISO-TP4" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolKRYPTOLAN BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "KRYPTOLAN" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolL2TP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "L2TP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolLARP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "LARP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolLEAF1 BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "LEAF-1" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolLEAF2 BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "LEAF-2" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolMERITINP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "MERIT-INP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolMFENSP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "MFE-NSP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolMOBILE BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "MOBILE" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolMTP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "MTP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolMUX BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "MUX" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolManet BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "manet" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolN3PC BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "3PC" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolNARP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "NARP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolNETBLT BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "NETBLT" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolNSFNETIGP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "NSFNET-IGP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolNVPII BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "NVP-II" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolOSPFIGP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "OSPFIGP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolPGM BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "PGM" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolPIM BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "PIM" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolPIPE BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "PIPE" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolPNNI BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "PNNI" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolPRM BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "PRM" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolPTP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "PTP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolPUP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "PUP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolPVP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "PVP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolQNX BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "QNX" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolRDP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "RDP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolROHC BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "ROHC" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolRSVP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "RSVP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolRSVPE2EIGNORE BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "RSVP-E2E-IGNORE" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolRVD BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "RVD" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSATEXPAK BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SAT-EXPAK" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSATMON BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SAT-MON" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSCCSP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SCC-SP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSCPS BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SCPS" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSCTP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SCTP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSDRP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SDRP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSECUREVMTP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SECURE-VMTP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSKIP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SKIP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSM BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SM" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSMP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SMP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSNP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SNP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSPS BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SPS" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSRP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SRP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSSCOPMCE BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SSCOPMCE" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSTP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "STP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSUNND BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SUN-ND" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSpriteRPC BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "Sprite-RPC" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolTCF BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "TCF" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolTCP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "TCP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolTLSP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "TLSP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolTP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "TP++" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolTRUNK1 BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "TRUNK-1" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolTRUNK2 BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "TRUNK-2" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolTTP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "TTP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolUDP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "UDP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolUDPLite BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "UDPLite" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolUTI BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "UTI" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolVINES BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "VINES" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolVISA BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "VISA" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolVMTP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "VMTP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolWBEXPAK BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "WB-EXPAK" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolWBMON BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "WB-MON" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolWESP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "WESP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolWSN BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "WSN" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolXNET BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "XNET" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolXNSIDP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "XNS-IDP" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolXTP BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "XTP" +) + +// Defines values for BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsStatus. +const ( + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsStatusActive BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsStatus = "active" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsStatusDecommissioned BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsStatus = "decommissioned" + BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsStatusStaged BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsStatus = "staged" +) + +// Defines values for BulkWritablePolicyRuleRequestDestinationServiceGroupsStatus. +const ( + BulkWritablePolicyRuleRequestDestinationServiceGroupsStatusActive BulkWritablePolicyRuleRequestDestinationServiceGroupsStatus = "active" + BulkWritablePolicyRuleRequestDestinationServiceGroupsStatusDecommissioned BulkWritablePolicyRuleRequestDestinationServiceGroupsStatus = "decommissioned" + BulkWritablePolicyRuleRequestDestinationServiceGroupsStatusStaged BulkWritablePolicyRuleRequestDestinationServiceGroupsStatus = "staged" +) + +// Defines values for BulkWritablePolicyRuleRequestDestinationServicesIpProtocol. +const ( + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolAH BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "AH" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolAN BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "A/N" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolARIS BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "ARIS" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolAX25 BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "AX.25" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolBBNRCCMON BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "BBN-RCC-MON" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolBNA BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "BNA" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolBRSATMON BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "BR-SAT-MON" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolCBT BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "CBT" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolCFTP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "CFTP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolCHAOS BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "CHAOS" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolCPHB BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "CPHB" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolCPNX BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "CPNX" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolCRTP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "CRTP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolCRUDP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "CRUDP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolCompaqPeer BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "Compaq-Peer" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolDCCP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "DCCP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolDCNMEAS BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "DCN-MEAS" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolDDP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "DDP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolDDX BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "DDX" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolDGP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "DGP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolDSR BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "DSR" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolEGP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "EGP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolEIGRP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "EIGRP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolEMCON BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "EMCON" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolENCAP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "ENCAP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolESP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "ESP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolETHERIP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "ETHERIP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolEthernet BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "Ethernet" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolFC BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "FC" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolFIRE BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "FIRE" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolGGP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "GGP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolGMTP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "GMTP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolGRE BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "GRE" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolHIP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "HIP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolHMP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "HMP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolIATP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IATP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolICMP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "ICMP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolIDPR BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IDPR" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolIDPRCMTP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IDPR-CMTP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolIDRP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IDRP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolIFMP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IFMP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolIGMP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IGMP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolIGP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IGP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolIL BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IL" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolINLSP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "I-NLSP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolIPCV BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IPCV" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolIPComp BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IPComp" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolIPIP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IPIP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolIPLT BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IPLT" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolIPPC BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IPPC" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolIPXInIP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IPX-in-IP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolIRTP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IRTP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolISOIP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "ISO-IP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolISOTP4 BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "ISO-TP4" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolKRYPTOLAN BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "KRYPTOLAN" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolL2TP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "L2TP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolLARP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "LARP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolLEAF1 BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "LEAF-1" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolLEAF2 BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "LEAF-2" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolMERITINP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "MERIT-INP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolMFENSP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "MFE-NSP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolMOBILE BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "MOBILE" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolMTP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "MTP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolMUX BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "MUX" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolManet BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "manet" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolN3PC BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "3PC" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolNARP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "NARP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolNETBLT BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "NETBLT" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolNSFNETIGP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "NSFNET-IGP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolNVPII BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "NVP-II" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolOSPFIGP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "OSPFIGP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolPGM BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "PGM" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolPIM BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "PIM" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolPIPE BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "PIPE" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolPNNI BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "PNNI" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolPRM BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "PRM" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolPTP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "PTP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolPUP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "PUP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolPVP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "PVP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolQNX BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "QNX" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolRDP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "RDP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolROHC BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "ROHC" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolRSVP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "RSVP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolRSVPE2EIGNORE BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "RSVP-E2E-IGNORE" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolRVD BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "RVD" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolSATEXPAK BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SAT-EXPAK" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolSATMON BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SAT-MON" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolSCCSP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SCC-SP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolSCPS BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SCPS" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolSCTP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SCTP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolSDRP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SDRP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolSECUREVMTP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SECURE-VMTP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolSKIP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SKIP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolSM BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SM" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolSMP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SMP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolSNP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SNP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolSPS BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SPS" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolSRP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SRP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolSSCOPMCE BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SSCOPMCE" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolSTP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "STP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolSUNND BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SUN-ND" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolSpriteRPC BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "Sprite-RPC" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolTCF BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "TCF" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolTCP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "TCP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolTLSP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "TLSP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolTP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "TP++" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolTRUNK1 BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "TRUNK-1" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolTRUNK2 BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "TRUNK-2" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolTTP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "TTP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolUDP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "UDP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolUDPLite BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "UDPLite" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolUTI BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "UTI" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolVINES BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "VINES" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolVISA BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "VISA" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolVMTP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "VMTP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolWBEXPAK BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "WB-EXPAK" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolWBMON BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "WB-MON" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolWESP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "WESP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolWSN BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "WSN" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolXNET BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "XNET" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolXNSIDP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "XNS-IDP" + BulkWritablePolicyRuleRequestDestinationServicesIpProtocolXTP BulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "XTP" +) + +// Defines values for BulkWritablePolicyRuleRequestDestinationServicesStatus. +const ( + BulkWritablePolicyRuleRequestDestinationServicesStatusActive BulkWritablePolicyRuleRequestDestinationServicesStatus = "active" + BulkWritablePolicyRuleRequestDestinationServicesStatusDecommissioned BulkWritablePolicyRuleRequestDestinationServicesStatus = "decommissioned" + BulkWritablePolicyRuleRequestDestinationServicesStatusStaged BulkWritablePolicyRuleRequestDestinationServicesStatus = "staged" +) + +// Defines values for BulkWritablePolicyRuleRequestSourceAddressGroupsAddressObjectsStatus. +const ( + BulkWritablePolicyRuleRequestSourceAddressGroupsAddressObjectsStatusActive BulkWritablePolicyRuleRequestSourceAddressGroupsAddressObjectsStatus = "active" + BulkWritablePolicyRuleRequestSourceAddressGroupsAddressObjectsStatusDecommissioned BulkWritablePolicyRuleRequestSourceAddressGroupsAddressObjectsStatus = "decommissioned" + BulkWritablePolicyRuleRequestSourceAddressGroupsAddressObjectsStatusStaged BulkWritablePolicyRuleRequestSourceAddressGroupsAddressObjectsStatus = "staged" +) + +// Defines values for BulkWritablePolicyRuleRequestSourceAddressGroupsStatus. +const ( + BulkWritablePolicyRuleRequestSourceAddressGroupsStatusActive BulkWritablePolicyRuleRequestSourceAddressGroupsStatus = "active" + BulkWritablePolicyRuleRequestSourceAddressGroupsStatusDecommissioned BulkWritablePolicyRuleRequestSourceAddressGroupsStatus = "decommissioned" + BulkWritablePolicyRuleRequestSourceAddressGroupsStatusStaged BulkWritablePolicyRuleRequestSourceAddressGroupsStatus = "staged" +) + +// Defines values for BulkWritablePolicyRuleRequestSourceAddressesStatus. +const ( + BulkWritablePolicyRuleRequestSourceAddressesStatusActive BulkWritablePolicyRuleRequestSourceAddressesStatus = "active" + BulkWritablePolicyRuleRequestSourceAddressesStatusDecommissioned BulkWritablePolicyRuleRequestSourceAddressesStatus = "decommissioned" + BulkWritablePolicyRuleRequestSourceAddressesStatusStaged BulkWritablePolicyRuleRequestSourceAddressesStatus = "staged" +) + +// Defines values for BulkWritablePolicyRuleRequestSourceUserGroupsStatus. +const ( + BulkWritablePolicyRuleRequestSourceUserGroupsStatusActive BulkWritablePolicyRuleRequestSourceUserGroupsStatus = "active" + BulkWritablePolicyRuleRequestSourceUserGroupsStatusDecommissioned BulkWritablePolicyRuleRequestSourceUserGroupsStatus = "decommissioned" + BulkWritablePolicyRuleRequestSourceUserGroupsStatusStaged BulkWritablePolicyRuleRequestSourceUserGroupsStatus = "staged" +) + +// Defines values for BulkWritablePolicyRuleRequestSourceUserGroupsUserObjectsStatus. +const ( + BulkWritablePolicyRuleRequestSourceUserGroupsUserObjectsStatusActive BulkWritablePolicyRuleRequestSourceUserGroupsUserObjectsStatus = "active" + BulkWritablePolicyRuleRequestSourceUserGroupsUserObjectsStatusDecommissioned BulkWritablePolicyRuleRequestSourceUserGroupsUserObjectsStatus = "decommissioned" + BulkWritablePolicyRuleRequestSourceUserGroupsUserObjectsStatusStaged BulkWritablePolicyRuleRequestSourceUserGroupsUserObjectsStatus = "staged" +) + +// Defines values for BulkWritablePolicyRuleRequestSourceUsersStatus. +const ( + BulkWritablePolicyRuleRequestSourceUsersStatusActive BulkWritablePolicyRuleRequestSourceUsersStatus = "active" + BulkWritablePolicyRuleRequestSourceUsersStatusDecommissioned BulkWritablePolicyRuleRequestSourceUsersStatus = "decommissioned" + BulkWritablePolicyRuleRequestSourceUsersStatusStaged BulkWritablePolicyRuleRequestSourceUsersStatus = "staged" +) + +// Defines values for BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol. +const ( + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolAH BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "AH" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolAN BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "A/N" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolARIS BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "ARIS" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolAX25 BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "AX.25" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolBBNRCCMON BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "BBN-RCC-MON" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolBNA BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "BNA" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolBRSATMON BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "BR-SAT-MON" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolCBT BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "CBT" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolCFTP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "CFTP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolCHAOS BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "CHAOS" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolCPHB BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "CPHB" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolCPNX BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "CPNX" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolCRTP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "CRTP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolCRUDP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "CRUDP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolCompaqPeer BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "Compaq-Peer" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolDCCP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "DCCP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolDCNMEAS BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "DCN-MEAS" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolDDP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "DDP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolDDX BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "DDX" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolDGP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "DGP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolDSR BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "DSR" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolEGP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "EGP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolEIGRP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "EIGRP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolEMCON BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "EMCON" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolENCAP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "ENCAP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolESP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "ESP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolETHERIP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "ETHERIP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolEthernet BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "Ethernet" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolFC BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "FC" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolFIRE BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "FIRE" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolGGP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "GGP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolGMTP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "GMTP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolGRE BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "GRE" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolHIP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "HIP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolHMP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "HMP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIATP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IATP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolICMP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "ICMP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIDPR BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IDPR" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIDPRCMTP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IDPR-CMTP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIDRP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IDRP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIFMP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IFMP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIGMP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IGMP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIGP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IGP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIL BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IL" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolINLSP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "I-NLSP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIPCV BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IPCV" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIPComp BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IPComp" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIPIP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IPIP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIPLT BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IPLT" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIPPC BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IPPC" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIPXInIP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IPX-in-IP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIRTP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IRTP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolISOIP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "ISO-IP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolISOTP4 BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "ISO-TP4" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolKRYPTOLAN BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "KRYPTOLAN" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolL2TP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "L2TP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolLARP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "LARP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolLEAF1 BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "LEAF-1" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolLEAF2 BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "LEAF-2" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolMERITINP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "MERIT-INP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolMFENSP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "MFE-NSP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolMOBILE BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "MOBILE" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolMTP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "MTP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolMUX BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "MUX" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolManet BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "manet" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolN3PC BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "3PC" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolNARP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "NARP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolNETBLT BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "NETBLT" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolNSFNETIGP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "NSFNET-IGP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolNVPII BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "NVP-II" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolOSPFIGP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "OSPFIGP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolPGM BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "PGM" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolPIM BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "PIM" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolPIPE BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "PIPE" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolPNNI BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "PNNI" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolPRM BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "PRM" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolPTP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "PTP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolPUP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "PUP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolPVP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "PVP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolQNX BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "QNX" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolRDP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "RDP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolROHC BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "ROHC" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolRSVP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "RSVP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolRSVPE2EIGNORE BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "RSVP-E2E-IGNORE" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolRVD BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "RVD" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSATEXPAK BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SAT-EXPAK" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSATMON BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SAT-MON" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSCCSP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SCC-SP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSCPS BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SCPS" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSCTP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SCTP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSDRP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SDRP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSECUREVMTP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SECURE-VMTP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSKIP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SKIP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSM BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SM" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSMP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SMP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSNP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SNP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSPS BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SPS" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSRP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SRP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSSCOPMCE BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SSCOPMCE" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSTP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "STP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSUNND BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SUN-ND" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSpriteRPC BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "Sprite-RPC" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolTCF BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "TCF" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolTCP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "TCP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolTLSP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "TLSP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolTP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "TP++" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolTRUNK1 BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "TRUNK-1" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolTRUNK2 BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "TRUNK-2" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolTTP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "TTP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolUDP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "UDP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolUDPLite BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "UDPLite" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolUTI BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "UTI" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolVINES BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "VINES" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolVISA BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "VISA" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolVMTP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "VMTP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolWBEXPAK BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "WB-EXPAK" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolWBMON BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "WB-MON" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolWESP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "WESP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolWSN BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "WSN" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolXNET BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "XNET" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolXNSIDP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "XNS-IDP" + BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolXTP BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "XTP" +) + +// Defines values for BulkWritableServiceObjectGroupRequestServiceObjectsStatus. +const ( + BulkWritableServiceObjectGroupRequestServiceObjectsStatusActive BulkWritableServiceObjectGroupRequestServiceObjectsStatus = "active" + BulkWritableServiceObjectGroupRequestServiceObjectsStatusDecommissioned BulkWritableServiceObjectGroupRequestServiceObjectsStatus = "decommissioned" + BulkWritableServiceObjectGroupRequestServiceObjectsStatusStaged BulkWritableServiceObjectGroupRequestServiceObjectsStatus = "staged" +) + +// Defines values for BulkWritableUserObjectGroupRequestUserObjectsStatus. +const ( + BulkWritableUserObjectGroupRequestUserObjectsStatusActive BulkWritableUserObjectGroupRequestUserObjectsStatus = "active" + BulkWritableUserObjectGroupRequestUserObjectsStatusDecommissioned BulkWritableUserObjectGroupRequestUserObjectsStatus = "decommissioned" + BulkWritableUserObjectGroupRequestUserObjectsStatusStaged BulkWritableUserObjectGroupRequestUserObjectsStatus = "staged" +) + // Defines values for ButtonClassEnum. const ( - ButtonClassEnumDanger ButtonClassEnum = "danger" - + ButtonClassEnumDanger ButtonClassEnum = "danger" ButtonClassEnumDefault ButtonClassEnum = "default" - - ButtonClassEnumInfo ButtonClassEnum = "info" - - ButtonClassEnumLink ButtonClassEnum = "link" - + ButtonClassEnumInfo ButtonClassEnum = "info" + ButtonClassEnumLink ButtonClassEnum = "link" ButtonClassEnumPrimary ButtonClassEnum = "primary" - ButtonClassEnumSuccess ButtonClassEnum = "success" - ButtonClassEnumWarning ButtonClassEnum = "warning" ) +// Defines values for CVELCMSeverityLabel. +const ( + CVELCMSeverityLabelCritical CVELCMSeverityLabel = "Critical" + CVELCMSeverityLabelHigh CVELCMSeverityLabel = "High" + CVELCMSeverityLabelLow CVELCMSeverityLabel = "Low" + CVELCMSeverityLabelMedium CVELCMSeverityLabel = "Medium" + CVELCMSeverityLabelNone CVELCMSeverityLabel = "None" +) + +// Defines values for CVELCMSeverityValue. +const ( + CVELCMSeverityValueCritical CVELCMSeverityValue = "Critical" + CVELCMSeverityValueHigh CVELCMSeverityValue = "High" + CVELCMSeverityValueLow CVELCMSeverityValue = "Low" + CVELCMSeverityValueMedium CVELCMSeverityValue = "Medium" + CVELCMSeverityValueNone CVELCMSeverityValue = "None" +) + // Defines values for CableLengthUnitLabel. const ( CableLengthUnitLabelCentimeters CableLengthUnitLabel = "Centimeters" - - CableLengthUnitLabelFeet CableLengthUnitLabel = "Feet" - - CableLengthUnitLabelInches CableLengthUnitLabel = "Inches" - - CableLengthUnitLabelMeters CableLengthUnitLabel = "Meters" + CableLengthUnitLabelFeet CableLengthUnitLabel = "Feet" + CableLengthUnitLabelInches CableLengthUnitLabel = "Inches" + CableLengthUnitLabelMeters CableLengthUnitLabel = "Meters" ) // Defines values for CableLengthUnitValue. const ( CableLengthUnitValueCm CableLengthUnitValue = "cm" - CableLengthUnitValueFt CableLengthUnitValue = "ft" - CableLengthUnitValueIn CableLengthUnitValue = "in" - - CableLengthUnitValueM CableLengthUnitValue = "m" + CableLengthUnitValueM CableLengthUnitValue = "m" ) // Defines values for CableStatusLabel. const ( - CableStatusLabelConnected CableStatusLabel = "Connected" - + CableStatusLabelConnected CableStatusLabel = "Connected" CableStatusLabelDecommissioning CableStatusLabel = "Decommissioning" - - CableStatusLabelPlanned CableStatusLabel = "Planned" + CableStatusLabelPlanned CableStatusLabel = "Planned" ) // Defines values for CableStatusValue. const ( - CableStatusValueConnected CableStatusValue = "connected" - + CableStatusValueConnected CableStatusValue = "connected" CableStatusValueDecommissioning CableStatusValue = "decommissioning" + CableStatusValuePlanned CableStatusValue = "planned" +) - CableStatusValuePlanned CableStatusValue = "planned" +// Defines values for CableStatusChoices. +const ( + CableStatusChoicesConnected CableStatusChoices = "connected" + CableStatusChoicesDecommissioning CableStatusChoices = "decommissioning" + CableStatusChoicesPlanned CableStatusChoices = "planned" ) // Defines values for CableTypeChoices. const ( - CableTypeChoicesAoc CableTypeChoices = "aoc" - - CableTypeChoicesCat3 CableTypeChoices = "cat3" - - CableTypeChoicesCat5 CableTypeChoices = "cat5" - - CableTypeChoicesCat5e CableTypeChoices = "cat5e" - - CableTypeChoicesCat6 CableTypeChoices = "cat6" - - CableTypeChoicesCat6a CableTypeChoices = "cat6a" - - CableTypeChoicesCat7 CableTypeChoices = "cat7" - - CableTypeChoicesCat7a CableTypeChoices = "cat7a" - - CableTypeChoicesCat8 CableTypeChoices = "cat8" - - CableTypeChoicesCoaxial CableTypeChoices = "coaxial" - - CableTypeChoicesDacActive CableTypeChoices = "dac-active" - - CableTypeChoicesDacPassive CableTypeChoices = "dac-passive" - - CableTypeChoicesMmf CableTypeChoices = "mmf" - - CableTypeChoicesMmfOm1 CableTypeChoices = "mmf-om1" - - CableTypeChoicesMmfOm2 CableTypeChoices = "mmf-om2" - - CableTypeChoicesMmfOm3 CableTypeChoices = "mmf-om3" - - CableTypeChoicesMmfOm4 CableTypeChoices = "mmf-om4" - - CableTypeChoicesMrj21Trunk CableTypeChoices = "mrj21-trunk" - - CableTypeChoicesPower CableTypeChoices = "power" - - CableTypeChoicesSmf CableTypeChoices = "smf" - - CableTypeChoicesSmfOs1 CableTypeChoices = "smf-os1" - - CableTypeChoicesSmfOs2 CableTypeChoices = "smf-os2" + Aoc CableTypeChoices = "aoc" + Cat3 CableTypeChoices = "cat3" + Cat5 CableTypeChoices = "cat5" + Cat5e CableTypeChoices = "cat5e" + Cat6 CableTypeChoices = "cat6" + Cat6a CableTypeChoices = "cat6a" + Cat7 CableTypeChoices = "cat7" + Cat7a CableTypeChoices = "cat7a" + Cat8 CableTypeChoices = "cat8" + Coaxial CableTypeChoices = "coaxial" + DacActive CableTypeChoices = "dac-active" + DacPassive CableTypeChoices = "dac-passive" + Mmf CableTypeChoices = "mmf" + MmfOm1 CableTypeChoices = "mmf-om1" + MmfOm2 CableTypeChoices = "mmf-om2" + MmfOm3 CableTypeChoices = "mmf-om3" + MmfOm4 CableTypeChoices = "mmf-om4" + Mrj21Trunk CableTypeChoices = "mrj21-trunk" + Power CableTypeChoices = "power" + Smf CableTypeChoices = "smf" + SmfOs1 CableTypeChoices = "smf-os1" + SmfOs2 CableTypeChoices = "smf-os2" ) // Defines values for CircuitStatusLabel. const ( - CircuitStatusLabelActive CircuitStatusLabel = "Active" - + CircuitStatusLabelActive CircuitStatusLabel = "Active" CircuitStatusLabelDecommissioned CircuitStatusLabel = "Decommissioned" - CircuitStatusLabelDeprovisioning CircuitStatusLabel = "Deprovisioning" - - CircuitStatusLabelOffline CircuitStatusLabel = "Offline" - - CircuitStatusLabelPlanned CircuitStatusLabel = "Planned" - - CircuitStatusLabelProvisioning CircuitStatusLabel = "Provisioning" + CircuitStatusLabelOffline CircuitStatusLabel = "Offline" + CircuitStatusLabelPlanned CircuitStatusLabel = "Planned" + CircuitStatusLabelProvisioning CircuitStatusLabel = "Provisioning" ) // Defines values for CircuitStatusValue. const ( - CircuitStatusValueActive CircuitStatusValue = "active" - + CircuitStatusValueActive CircuitStatusValue = "active" CircuitStatusValueDecommissioned CircuitStatusValue = "decommissioned" - CircuitStatusValueDeprovisioning CircuitStatusValue = "deprovisioning" - - CircuitStatusValueOffline CircuitStatusValue = "offline" - - CircuitStatusValuePlanned CircuitStatusValue = "planned" - - CircuitStatusValueProvisioning CircuitStatusValue = "provisioning" + CircuitStatusValueOffline CircuitStatusValue = "offline" + CircuitStatusValuePlanned CircuitStatusValue = "planned" + CircuitStatusValueProvisioning CircuitStatusValue = "provisioning" ) -// Defines values for CircuitMaintenanceStatusEnum. +// Defines values for CircuitStatusChoices. const ( - CircuitMaintenanceStatusEnumCANCELLED CircuitMaintenanceStatusEnum = "CANCELLED" + CircuitStatusChoicesActive CircuitStatusChoices = "active" + CircuitStatusChoicesDecommissioned CircuitStatusChoices = "decommissioned" + CircuitStatusChoicesDeprovisioning CircuitStatusChoices = "deprovisioning" + CircuitStatusChoicesOffline CircuitStatusChoices = "offline" + CircuitStatusChoicesPlanned CircuitStatusChoices = "planned" + CircuitStatusChoicesProvisioning CircuitStatusChoices = "provisioning" +) - CircuitMaintenanceStatusEnumCOMPLETED CircuitMaintenanceStatusEnum = "COMPLETED" +// Defines values for ConfigToPushFaceLabel. +const ( + ConfigToPushFaceLabelFront ConfigToPushFaceLabel = "Front" + ConfigToPushFaceLabelRear ConfigToPushFaceLabel = "Rear" +) - CircuitMaintenanceStatusEnumCONFIRMED CircuitMaintenanceStatusEnum = "CONFIRMED" +// Defines values for ConfigToPushFaceValue. +const ( + ConfigToPushFaceValueFront ConfigToPushFaceValue = "front" + ConfigToPushFaceValueRear ConfigToPushFaceValue = "rear" +) - CircuitMaintenanceStatusEnumINPROCESS CircuitMaintenanceStatusEnum = "IN-PROCESS" +// Defines values for ConfigToPushStatusLabel. +const ( + ConfigToPushStatusLabelActive ConfigToPushStatusLabel = "Active" + ConfigToPushStatusLabelDecommissioning ConfigToPushStatusLabel = "Decommissioning" + ConfigToPushStatusLabelFailed ConfigToPushStatusLabel = "Failed" + ConfigToPushStatusLabelInventory ConfigToPushStatusLabel = "Inventory" + ConfigToPushStatusLabelOffline ConfigToPushStatusLabel = "Offline" + ConfigToPushStatusLabelPlanned ConfigToPushStatusLabel = "Planned" + ConfigToPushStatusLabelStaged ConfigToPushStatusLabel = "Staged" +) - CircuitMaintenanceStatusEnumRESCHEDULED CircuitMaintenanceStatusEnum = "RE-SCHEDULED" - - CircuitMaintenanceStatusEnumTENTATIVE CircuitMaintenanceStatusEnum = "TENTATIVE" - - CircuitMaintenanceStatusEnumUNKNOWN CircuitMaintenanceStatusEnum = "UNKNOWN" +// Defines values for ConfigToPushStatusValue. +const ( + ConfigToPushStatusValueActive ConfigToPushStatusValue = "active" + ConfigToPushStatusValueDecommissioning ConfigToPushStatusValue = "decommissioning" + ConfigToPushStatusValueFailed ConfigToPushStatusValue = "failed" + ConfigToPushStatusValueInventory ConfigToPushStatusValue = "inventory" + ConfigToPushStatusValueOffline ConfigToPushStatusValue = "offline" + ConfigToPushStatusValuePlanned ConfigToPushStatusValue = "planned" + ConfigToPushStatusValueStaged ConfigToPushStatusValue = "staged" ) // Defines values for ConfigTypeEnum. const ( - ConfigTypeEnumCli ConfigTypeEnum = "cli" - + ConfigTypeEnumCli ConfigTypeEnum = "cli" ConfigTypeEnumCustom ConfigTypeEnum = "custom" - - ConfigTypeEnumJson ConfigTypeEnum = "json" + ConfigTypeEnumJson ConfigTypeEnum = "json" ) // Defines values for ConsolePortTypeLabel. const ( - ConsolePortTypeLabelDB25 ConsolePortTypeLabel = "DB-25" - - ConsolePortTypeLabelDE9 ConsolePortTypeLabel = "DE-9" - - ConsolePortTypeLabelOther ConsolePortTypeLabel = "Other" - - ConsolePortTypeLabelRJ11 ConsolePortTypeLabel = "RJ-11" - - ConsolePortTypeLabelRJ12 ConsolePortTypeLabel = "RJ-12" - - ConsolePortTypeLabelRJ45 ConsolePortTypeLabel = "RJ-45" - + ConsolePortTypeLabelDB25 ConsolePortTypeLabel = "DB-25" + ConsolePortTypeLabelDE9 ConsolePortTypeLabel = "DE-9" + ConsolePortTypeLabelOther ConsolePortTypeLabel = "Other" + ConsolePortTypeLabelRJ11 ConsolePortTypeLabel = "RJ-11" + ConsolePortTypeLabelRJ12 ConsolePortTypeLabel = "RJ-12" + ConsolePortTypeLabelRJ45 ConsolePortTypeLabel = "RJ-45" ConsolePortTypeLabelUSBMicroA ConsolePortTypeLabel = "USB Micro A" - ConsolePortTypeLabelUSBMicroB ConsolePortTypeLabel = "USB Micro B" - - ConsolePortTypeLabelUSBMiniA ConsolePortTypeLabel = "USB Mini A" - - ConsolePortTypeLabelUSBMiniB ConsolePortTypeLabel = "USB Mini B" - - ConsolePortTypeLabelUSBTypeA ConsolePortTypeLabel = "USB Type A" - - ConsolePortTypeLabelUSBTypeB ConsolePortTypeLabel = "USB Type B" - - ConsolePortTypeLabelUSBTypeC ConsolePortTypeLabel = "USB Type C" + ConsolePortTypeLabelUSBMiniA ConsolePortTypeLabel = "USB Mini A" + ConsolePortTypeLabelUSBMiniB ConsolePortTypeLabel = "USB Mini B" + ConsolePortTypeLabelUSBTypeA ConsolePortTypeLabel = "USB Type A" + ConsolePortTypeLabelUSBTypeB ConsolePortTypeLabel = "USB Type B" + ConsolePortTypeLabelUSBTypeC ConsolePortTypeLabel = "USB Type C" ) // Defines values for ConsolePortTypeValue. const ( - ConsolePortTypeValueDb25 ConsolePortTypeValue = "db-25" - - ConsolePortTypeValueDe9 ConsolePortTypeValue = "de-9" - - ConsolePortTypeValueOther ConsolePortTypeValue = "other" - - ConsolePortTypeValueRj11 ConsolePortTypeValue = "rj-11" - - ConsolePortTypeValueRj12 ConsolePortTypeValue = "rj-12" - - ConsolePortTypeValueRj45 ConsolePortTypeValue = "rj-45" - - ConsolePortTypeValueUsbA ConsolePortTypeValue = "usb-a" - - ConsolePortTypeValueUsbB ConsolePortTypeValue = "usb-b" - - ConsolePortTypeValueUsbC ConsolePortTypeValue = "usb-c" - + ConsolePortTypeValueDb25 ConsolePortTypeValue = "db-25" + ConsolePortTypeValueDe9 ConsolePortTypeValue = "de-9" + ConsolePortTypeValueOther ConsolePortTypeValue = "other" + ConsolePortTypeValueRj11 ConsolePortTypeValue = "rj-11" + ConsolePortTypeValueRj12 ConsolePortTypeValue = "rj-12" + ConsolePortTypeValueRj45 ConsolePortTypeValue = "rj-45" + ConsolePortTypeValueUsbA ConsolePortTypeValue = "usb-a" + ConsolePortTypeValueUsbB ConsolePortTypeValue = "usb-b" + ConsolePortTypeValueUsbC ConsolePortTypeValue = "usb-c" ConsolePortTypeValueUsbMicroA ConsolePortTypeValue = "usb-micro-a" - ConsolePortTypeValueUsbMicroB ConsolePortTypeValue = "usb-micro-b" - - ConsolePortTypeValueUsbMiniA ConsolePortTypeValue = "usb-mini-a" - - ConsolePortTypeValueUsbMiniB ConsolePortTypeValue = "usb-mini-b" + ConsolePortTypeValueUsbMiniA ConsolePortTypeValue = "usb-mini-a" + ConsolePortTypeValueUsbMiniB ConsolePortTypeValue = "usb-mini-b" ) // Defines values for ConsolePortTemplateTypeLabel. const ( - ConsolePortTemplateTypeLabelDB25 ConsolePortTemplateTypeLabel = "DB-25" - - ConsolePortTemplateTypeLabelDE9 ConsolePortTemplateTypeLabel = "DE-9" - - ConsolePortTemplateTypeLabelOther ConsolePortTemplateTypeLabel = "Other" - - ConsolePortTemplateTypeLabelRJ11 ConsolePortTemplateTypeLabel = "RJ-11" - - ConsolePortTemplateTypeLabelRJ12 ConsolePortTemplateTypeLabel = "RJ-12" - - ConsolePortTemplateTypeLabelRJ45 ConsolePortTemplateTypeLabel = "RJ-45" - + ConsolePortTemplateTypeLabelDB25 ConsolePortTemplateTypeLabel = "DB-25" + ConsolePortTemplateTypeLabelDE9 ConsolePortTemplateTypeLabel = "DE-9" + ConsolePortTemplateTypeLabelOther ConsolePortTemplateTypeLabel = "Other" + ConsolePortTemplateTypeLabelRJ11 ConsolePortTemplateTypeLabel = "RJ-11" + ConsolePortTemplateTypeLabelRJ12 ConsolePortTemplateTypeLabel = "RJ-12" + ConsolePortTemplateTypeLabelRJ45 ConsolePortTemplateTypeLabel = "RJ-45" ConsolePortTemplateTypeLabelUSBMicroA ConsolePortTemplateTypeLabel = "USB Micro A" - ConsolePortTemplateTypeLabelUSBMicroB ConsolePortTemplateTypeLabel = "USB Micro B" - - ConsolePortTemplateTypeLabelUSBMiniA ConsolePortTemplateTypeLabel = "USB Mini A" - - ConsolePortTemplateTypeLabelUSBMiniB ConsolePortTemplateTypeLabel = "USB Mini B" - - ConsolePortTemplateTypeLabelUSBTypeA ConsolePortTemplateTypeLabel = "USB Type A" - - ConsolePortTemplateTypeLabelUSBTypeB ConsolePortTemplateTypeLabel = "USB Type B" - - ConsolePortTemplateTypeLabelUSBTypeC ConsolePortTemplateTypeLabel = "USB Type C" + ConsolePortTemplateTypeLabelUSBMiniA ConsolePortTemplateTypeLabel = "USB Mini A" + ConsolePortTemplateTypeLabelUSBMiniB ConsolePortTemplateTypeLabel = "USB Mini B" + ConsolePortTemplateTypeLabelUSBTypeA ConsolePortTemplateTypeLabel = "USB Type A" + ConsolePortTemplateTypeLabelUSBTypeB ConsolePortTemplateTypeLabel = "USB Type B" + ConsolePortTemplateTypeLabelUSBTypeC ConsolePortTemplateTypeLabel = "USB Type C" ) // Defines values for ConsolePortTemplateTypeValue. const ( - ConsolePortTemplateTypeValueDb25 ConsolePortTemplateTypeValue = "db-25" - - ConsolePortTemplateTypeValueDe9 ConsolePortTemplateTypeValue = "de-9" - - ConsolePortTemplateTypeValueOther ConsolePortTemplateTypeValue = "other" - - ConsolePortTemplateTypeValueRj11 ConsolePortTemplateTypeValue = "rj-11" - - ConsolePortTemplateTypeValueRj12 ConsolePortTemplateTypeValue = "rj-12" - - ConsolePortTemplateTypeValueRj45 ConsolePortTemplateTypeValue = "rj-45" - - ConsolePortTemplateTypeValueUsbA ConsolePortTemplateTypeValue = "usb-a" - - ConsolePortTemplateTypeValueUsbB ConsolePortTemplateTypeValue = "usb-b" - - ConsolePortTemplateTypeValueUsbC ConsolePortTemplateTypeValue = "usb-c" - + ConsolePortTemplateTypeValueDb25 ConsolePortTemplateTypeValue = "db-25" + ConsolePortTemplateTypeValueDe9 ConsolePortTemplateTypeValue = "de-9" + ConsolePortTemplateTypeValueOther ConsolePortTemplateTypeValue = "other" + ConsolePortTemplateTypeValueRj11 ConsolePortTemplateTypeValue = "rj-11" + ConsolePortTemplateTypeValueRj12 ConsolePortTemplateTypeValue = "rj-12" + ConsolePortTemplateTypeValueRj45 ConsolePortTemplateTypeValue = "rj-45" + ConsolePortTemplateTypeValueUsbA ConsolePortTemplateTypeValue = "usb-a" + ConsolePortTemplateTypeValueUsbB ConsolePortTemplateTypeValue = "usb-b" + ConsolePortTemplateTypeValueUsbC ConsolePortTemplateTypeValue = "usb-c" ConsolePortTemplateTypeValueUsbMicroA ConsolePortTemplateTypeValue = "usb-micro-a" - ConsolePortTemplateTypeValueUsbMicroB ConsolePortTemplateTypeValue = "usb-micro-b" - - ConsolePortTemplateTypeValueUsbMiniA ConsolePortTemplateTypeValue = "usb-mini-a" - - ConsolePortTemplateTypeValueUsbMiniB ConsolePortTemplateTypeValue = "usb-mini-b" + ConsolePortTemplateTypeValueUsbMiniA ConsolePortTemplateTypeValue = "usb-mini-a" + ConsolePortTemplateTypeValueUsbMiniB ConsolePortTemplateTypeValue = "usb-mini-b" ) // Defines values for ConsolePortTypeChoices. const ( - ConsolePortTypeChoicesDb25 ConsolePortTypeChoices = "db-25" - - ConsolePortTypeChoicesDe9 ConsolePortTypeChoices = "de-9" - - ConsolePortTypeChoicesOther ConsolePortTypeChoices = "other" - - ConsolePortTypeChoicesRj11 ConsolePortTypeChoices = "rj-11" - - ConsolePortTypeChoicesRj12 ConsolePortTypeChoices = "rj-12" - - ConsolePortTypeChoicesRj45 ConsolePortTypeChoices = "rj-45" - - ConsolePortTypeChoicesUsbA ConsolePortTypeChoices = "usb-a" - - ConsolePortTypeChoicesUsbB ConsolePortTypeChoices = "usb-b" - - ConsolePortTypeChoicesUsbC ConsolePortTypeChoices = "usb-c" - + ConsolePortTypeChoicesDb25 ConsolePortTypeChoices = "db-25" + ConsolePortTypeChoicesDe9 ConsolePortTypeChoices = "de-9" + ConsolePortTypeChoicesOther ConsolePortTypeChoices = "other" + ConsolePortTypeChoicesRj11 ConsolePortTypeChoices = "rj-11" + ConsolePortTypeChoicesRj12 ConsolePortTypeChoices = "rj-12" + ConsolePortTypeChoicesRj45 ConsolePortTypeChoices = "rj-45" + ConsolePortTypeChoicesUsbA ConsolePortTypeChoices = "usb-a" + ConsolePortTypeChoicesUsbB ConsolePortTypeChoices = "usb-b" + ConsolePortTypeChoicesUsbC ConsolePortTypeChoices = "usb-c" ConsolePortTypeChoicesUsbMicroA ConsolePortTypeChoices = "usb-micro-a" - ConsolePortTypeChoicesUsbMicroB ConsolePortTypeChoices = "usb-micro-b" - - ConsolePortTypeChoicesUsbMiniA ConsolePortTypeChoices = "usb-mini-a" - - ConsolePortTypeChoicesUsbMiniB ConsolePortTypeChoices = "usb-mini-b" + ConsolePortTypeChoicesUsbMiniA ConsolePortTypeChoices = "usb-mini-a" + ConsolePortTypeChoicesUsbMiniB ConsolePortTypeChoices = "usb-mini-b" ) // Defines values for ConsoleServerPortTypeLabel. const ( - ConsoleServerPortTypeLabelDB25 ConsoleServerPortTypeLabel = "DB-25" - - ConsoleServerPortTypeLabelDE9 ConsoleServerPortTypeLabel = "DE-9" - - ConsoleServerPortTypeLabelOther ConsoleServerPortTypeLabel = "Other" - - ConsoleServerPortTypeLabelRJ11 ConsoleServerPortTypeLabel = "RJ-11" - - ConsoleServerPortTypeLabelRJ12 ConsoleServerPortTypeLabel = "RJ-12" - - ConsoleServerPortTypeLabelRJ45 ConsoleServerPortTypeLabel = "RJ-45" - + ConsoleServerPortTypeLabelDB25 ConsoleServerPortTypeLabel = "DB-25" + ConsoleServerPortTypeLabelDE9 ConsoleServerPortTypeLabel = "DE-9" + ConsoleServerPortTypeLabelOther ConsoleServerPortTypeLabel = "Other" + ConsoleServerPortTypeLabelRJ11 ConsoleServerPortTypeLabel = "RJ-11" + ConsoleServerPortTypeLabelRJ12 ConsoleServerPortTypeLabel = "RJ-12" + ConsoleServerPortTypeLabelRJ45 ConsoleServerPortTypeLabel = "RJ-45" ConsoleServerPortTypeLabelUSBMicroA ConsoleServerPortTypeLabel = "USB Micro A" - ConsoleServerPortTypeLabelUSBMicroB ConsoleServerPortTypeLabel = "USB Micro B" - - ConsoleServerPortTypeLabelUSBMiniA ConsoleServerPortTypeLabel = "USB Mini A" - - ConsoleServerPortTypeLabelUSBMiniB ConsoleServerPortTypeLabel = "USB Mini B" - - ConsoleServerPortTypeLabelUSBTypeA ConsoleServerPortTypeLabel = "USB Type A" - - ConsoleServerPortTypeLabelUSBTypeB ConsoleServerPortTypeLabel = "USB Type B" - - ConsoleServerPortTypeLabelUSBTypeC ConsoleServerPortTypeLabel = "USB Type C" + ConsoleServerPortTypeLabelUSBMiniA ConsoleServerPortTypeLabel = "USB Mini A" + ConsoleServerPortTypeLabelUSBMiniB ConsoleServerPortTypeLabel = "USB Mini B" + ConsoleServerPortTypeLabelUSBTypeA ConsoleServerPortTypeLabel = "USB Type A" + ConsoleServerPortTypeLabelUSBTypeB ConsoleServerPortTypeLabel = "USB Type B" + ConsoleServerPortTypeLabelUSBTypeC ConsoleServerPortTypeLabel = "USB Type C" ) // Defines values for ConsoleServerPortTypeValue. const ( - ConsoleServerPortTypeValueDb25 ConsoleServerPortTypeValue = "db-25" - - ConsoleServerPortTypeValueDe9 ConsoleServerPortTypeValue = "de-9" - - ConsoleServerPortTypeValueOther ConsoleServerPortTypeValue = "other" - - ConsoleServerPortTypeValueRj11 ConsoleServerPortTypeValue = "rj-11" - - ConsoleServerPortTypeValueRj12 ConsoleServerPortTypeValue = "rj-12" - - ConsoleServerPortTypeValueRj45 ConsoleServerPortTypeValue = "rj-45" - - ConsoleServerPortTypeValueUsbA ConsoleServerPortTypeValue = "usb-a" - - ConsoleServerPortTypeValueUsbB ConsoleServerPortTypeValue = "usb-b" - - ConsoleServerPortTypeValueUsbC ConsoleServerPortTypeValue = "usb-c" - + ConsoleServerPortTypeValueDb25 ConsoleServerPortTypeValue = "db-25" + ConsoleServerPortTypeValueDe9 ConsoleServerPortTypeValue = "de-9" + ConsoleServerPortTypeValueOther ConsoleServerPortTypeValue = "other" + ConsoleServerPortTypeValueRj11 ConsoleServerPortTypeValue = "rj-11" + ConsoleServerPortTypeValueRj12 ConsoleServerPortTypeValue = "rj-12" + ConsoleServerPortTypeValueRj45 ConsoleServerPortTypeValue = "rj-45" + ConsoleServerPortTypeValueUsbA ConsoleServerPortTypeValue = "usb-a" + ConsoleServerPortTypeValueUsbB ConsoleServerPortTypeValue = "usb-b" + ConsoleServerPortTypeValueUsbC ConsoleServerPortTypeValue = "usb-c" ConsoleServerPortTypeValueUsbMicroA ConsoleServerPortTypeValue = "usb-micro-a" - ConsoleServerPortTypeValueUsbMicroB ConsoleServerPortTypeValue = "usb-micro-b" - - ConsoleServerPortTypeValueUsbMiniA ConsoleServerPortTypeValue = "usb-mini-a" - - ConsoleServerPortTypeValueUsbMiniB ConsoleServerPortTypeValue = "usb-mini-b" + ConsoleServerPortTypeValueUsbMiniA ConsoleServerPortTypeValue = "usb-mini-a" + ConsoleServerPortTypeValueUsbMiniB ConsoleServerPortTypeValue = "usb-mini-b" ) // Defines values for ConsoleServerPortTemplateTypeLabel. const ( - ConsoleServerPortTemplateTypeLabelDB25 ConsoleServerPortTemplateTypeLabel = "DB-25" - - ConsoleServerPortTemplateTypeLabelDE9 ConsoleServerPortTemplateTypeLabel = "DE-9" - - ConsoleServerPortTemplateTypeLabelOther ConsoleServerPortTemplateTypeLabel = "Other" - - ConsoleServerPortTemplateTypeLabelRJ11 ConsoleServerPortTemplateTypeLabel = "RJ-11" - - ConsoleServerPortTemplateTypeLabelRJ12 ConsoleServerPortTemplateTypeLabel = "RJ-12" - - ConsoleServerPortTemplateTypeLabelRJ45 ConsoleServerPortTemplateTypeLabel = "RJ-45" - + ConsoleServerPortTemplateTypeLabelDB25 ConsoleServerPortTemplateTypeLabel = "DB-25" + ConsoleServerPortTemplateTypeLabelDE9 ConsoleServerPortTemplateTypeLabel = "DE-9" + ConsoleServerPortTemplateTypeLabelOther ConsoleServerPortTemplateTypeLabel = "Other" + ConsoleServerPortTemplateTypeLabelRJ11 ConsoleServerPortTemplateTypeLabel = "RJ-11" + ConsoleServerPortTemplateTypeLabelRJ12 ConsoleServerPortTemplateTypeLabel = "RJ-12" + ConsoleServerPortTemplateTypeLabelRJ45 ConsoleServerPortTemplateTypeLabel = "RJ-45" ConsoleServerPortTemplateTypeLabelUSBMicroA ConsoleServerPortTemplateTypeLabel = "USB Micro A" - ConsoleServerPortTemplateTypeLabelUSBMicroB ConsoleServerPortTemplateTypeLabel = "USB Micro B" - - ConsoleServerPortTemplateTypeLabelUSBMiniA ConsoleServerPortTemplateTypeLabel = "USB Mini A" - - ConsoleServerPortTemplateTypeLabelUSBMiniB ConsoleServerPortTemplateTypeLabel = "USB Mini B" - - ConsoleServerPortTemplateTypeLabelUSBTypeA ConsoleServerPortTemplateTypeLabel = "USB Type A" - - ConsoleServerPortTemplateTypeLabelUSBTypeB ConsoleServerPortTemplateTypeLabel = "USB Type B" - - ConsoleServerPortTemplateTypeLabelUSBTypeC ConsoleServerPortTemplateTypeLabel = "USB Type C" + ConsoleServerPortTemplateTypeLabelUSBMiniA ConsoleServerPortTemplateTypeLabel = "USB Mini A" + ConsoleServerPortTemplateTypeLabelUSBMiniB ConsoleServerPortTemplateTypeLabel = "USB Mini B" + ConsoleServerPortTemplateTypeLabelUSBTypeA ConsoleServerPortTemplateTypeLabel = "USB Type A" + ConsoleServerPortTemplateTypeLabelUSBTypeB ConsoleServerPortTemplateTypeLabel = "USB Type B" + ConsoleServerPortTemplateTypeLabelUSBTypeC ConsoleServerPortTemplateTypeLabel = "USB Type C" ) // Defines values for ConsoleServerPortTemplateTypeValue. const ( - ConsoleServerPortTemplateTypeValueDb25 ConsoleServerPortTemplateTypeValue = "db-25" - - ConsoleServerPortTemplateTypeValueDe9 ConsoleServerPortTemplateTypeValue = "de-9" - - ConsoleServerPortTemplateTypeValueOther ConsoleServerPortTemplateTypeValue = "other" - - ConsoleServerPortTemplateTypeValueRj11 ConsoleServerPortTemplateTypeValue = "rj-11" - - ConsoleServerPortTemplateTypeValueRj12 ConsoleServerPortTemplateTypeValue = "rj-12" - - ConsoleServerPortTemplateTypeValueRj45 ConsoleServerPortTemplateTypeValue = "rj-45" - - ConsoleServerPortTemplateTypeValueUsbA ConsoleServerPortTemplateTypeValue = "usb-a" - - ConsoleServerPortTemplateTypeValueUsbB ConsoleServerPortTemplateTypeValue = "usb-b" - - ConsoleServerPortTemplateTypeValueUsbC ConsoleServerPortTemplateTypeValue = "usb-c" - + ConsoleServerPortTemplateTypeValueDb25 ConsoleServerPortTemplateTypeValue = "db-25" + ConsoleServerPortTemplateTypeValueDe9 ConsoleServerPortTemplateTypeValue = "de-9" + ConsoleServerPortTemplateTypeValueOther ConsoleServerPortTemplateTypeValue = "other" + ConsoleServerPortTemplateTypeValueRj11 ConsoleServerPortTemplateTypeValue = "rj-11" + ConsoleServerPortTemplateTypeValueRj12 ConsoleServerPortTemplateTypeValue = "rj-12" + ConsoleServerPortTemplateTypeValueRj45 ConsoleServerPortTemplateTypeValue = "rj-45" + ConsoleServerPortTemplateTypeValueUsbA ConsoleServerPortTemplateTypeValue = "usb-a" + ConsoleServerPortTemplateTypeValueUsbB ConsoleServerPortTemplateTypeValue = "usb-b" + ConsoleServerPortTemplateTypeValueUsbC ConsoleServerPortTemplateTypeValue = "usb-c" ConsoleServerPortTemplateTypeValueUsbMicroA ConsoleServerPortTemplateTypeValue = "usb-micro-a" - ConsoleServerPortTemplateTypeValueUsbMicroB ConsoleServerPortTemplateTypeValue = "usb-micro-b" - - ConsoleServerPortTemplateTypeValueUsbMiniA ConsoleServerPortTemplateTypeValue = "usb-mini-a" - - ConsoleServerPortTemplateTypeValueUsbMiniB ConsoleServerPortTemplateTypeValue = "usb-mini-b" + ConsoleServerPortTemplateTypeValueUsbMiniA ConsoleServerPortTemplateTypeValue = "usb-mini-a" + ConsoleServerPortTemplateTypeValueUsbMiniB ConsoleServerPortTemplateTypeValue = "usb-mini-b" ) -// Defines values for CustomFieldFilterLogicLabel. +// Defines values for CustomFieldSerializerVersion12FilterLogicLabel. const ( - CustomFieldFilterLogicLabelDisabled CustomFieldFilterLogicLabel = "Disabled" - - CustomFieldFilterLogicLabelExact CustomFieldFilterLogicLabel = "Exact" - - CustomFieldFilterLogicLabelLoose CustomFieldFilterLogicLabel = "Loose" + CustomFieldSerializerVersion12FilterLogicLabelDisabled CustomFieldSerializerVersion12FilterLogicLabel = "Disabled" + CustomFieldSerializerVersion12FilterLogicLabelExact CustomFieldSerializerVersion12FilterLogicLabel = "Exact" + CustomFieldSerializerVersion12FilterLogicLabelLoose CustomFieldSerializerVersion12FilterLogicLabel = "Loose" ) -// Defines values for CustomFieldFilterLogicValue. +// Defines values for CustomFieldSerializerVersion12FilterLogicValue. const ( - CustomFieldFilterLogicValueDisabled CustomFieldFilterLogicValue = "disabled" - - CustomFieldFilterLogicValueExact CustomFieldFilterLogicValue = "exact" - - CustomFieldFilterLogicValueLoose CustomFieldFilterLogicValue = "loose" + CustomFieldSerializerVersion12FilterLogicValueDisabled CustomFieldSerializerVersion12FilterLogicValue = "disabled" + CustomFieldSerializerVersion12FilterLogicValueExact CustomFieldSerializerVersion12FilterLogicValue = "exact" + CustomFieldSerializerVersion12FilterLogicValueLoose CustomFieldSerializerVersion12FilterLogicValue = "loose" ) -// Defines values for CustomFieldTypeLabel. +// Defines values for CustomFieldSerializerVersion12TypeLabel. const ( - CustomFieldTypeLabelBooleanTruefalse CustomFieldTypeLabel = "Boolean (true/false)" - - CustomFieldTypeLabelDate CustomFieldTypeLabel = "Date" - - CustomFieldTypeLabelInteger CustomFieldTypeLabel = "Integer" - - CustomFieldTypeLabelJSON CustomFieldTypeLabel = "JSON" - - CustomFieldTypeLabelMultipleSelection CustomFieldTypeLabel = "Multiple selection" - - CustomFieldTypeLabelSelection CustomFieldTypeLabel = "Selection" - - CustomFieldTypeLabelText CustomFieldTypeLabel = "Text" - - CustomFieldTypeLabelURL CustomFieldTypeLabel = "URL" + CustomFieldSerializerVersion12TypeLabelBooleanTruefalse CustomFieldSerializerVersion12TypeLabel = "Boolean (true/false)" + CustomFieldSerializerVersion12TypeLabelDate CustomFieldSerializerVersion12TypeLabel = "Date" + CustomFieldSerializerVersion12TypeLabelInteger CustomFieldSerializerVersion12TypeLabel = "Integer" + CustomFieldSerializerVersion12TypeLabelJSON CustomFieldSerializerVersion12TypeLabel = "JSON" + CustomFieldSerializerVersion12TypeLabelMultipleSelection CustomFieldSerializerVersion12TypeLabel = "Multiple selection" + CustomFieldSerializerVersion12TypeLabelSelection CustomFieldSerializerVersion12TypeLabel = "Selection" + CustomFieldSerializerVersion12TypeLabelText CustomFieldSerializerVersion12TypeLabel = "Text" + CustomFieldSerializerVersion12TypeLabelURL CustomFieldSerializerVersion12TypeLabel = "URL" ) -// Defines values for CustomFieldTypeValue. +// Defines values for CustomFieldSerializerVersion12TypeValue. const ( - CustomFieldTypeValueBoolean CustomFieldTypeValue = "boolean" - - CustomFieldTypeValueDate CustomFieldTypeValue = "date" - - CustomFieldTypeValueInteger CustomFieldTypeValue = "integer" - - CustomFieldTypeValueJson CustomFieldTypeValue = "json" - - CustomFieldTypeValueMultiSelect CustomFieldTypeValue = "multi-select" - - CustomFieldTypeValueSelect CustomFieldTypeValue = "select" - - CustomFieldTypeValueText CustomFieldTypeValue = "text" - - CustomFieldTypeValueUrl CustomFieldTypeValue = "url" + CustomFieldSerializerVersion12TypeValueBoolean CustomFieldSerializerVersion12TypeValue = "boolean" + CustomFieldSerializerVersion12TypeValueDate CustomFieldSerializerVersion12TypeValue = "date" + CustomFieldSerializerVersion12TypeValueInteger CustomFieldSerializerVersion12TypeValue = "integer" + CustomFieldSerializerVersion12TypeValueJson CustomFieldSerializerVersion12TypeValue = "json" + CustomFieldSerializerVersion12TypeValueMultiSelect CustomFieldSerializerVersion12TypeValue = "multi-select" + CustomFieldSerializerVersion12TypeValueSelect CustomFieldSerializerVersion12TypeValue = "select" + CustomFieldSerializerVersion12TypeValueText CustomFieldSerializerVersion12TypeValue = "text" + CustomFieldSerializerVersion12TypeValueUrl CustomFieldSerializerVersion12TypeValue = "url" ) // Defines values for CustomFieldTypeChoices. const ( - CustomFieldTypeChoicesBoolean CustomFieldTypeChoices = "boolean" - - CustomFieldTypeChoicesDate CustomFieldTypeChoices = "date" - - CustomFieldTypeChoicesInteger CustomFieldTypeChoices = "integer" - - CustomFieldTypeChoicesJson CustomFieldTypeChoices = "json" - + CustomFieldTypeChoicesBoolean CustomFieldTypeChoices = "boolean" + CustomFieldTypeChoicesDate CustomFieldTypeChoices = "date" + CustomFieldTypeChoicesInteger CustomFieldTypeChoices = "integer" + CustomFieldTypeChoicesJson CustomFieldTypeChoices = "json" CustomFieldTypeChoicesMultiSelect CustomFieldTypeChoices = "multi-select" - - CustomFieldTypeChoicesSelect CustomFieldTypeChoices = "select" - - CustomFieldTypeChoicesText CustomFieldTypeChoices = "text" - - CustomFieldTypeChoicesUrl CustomFieldTypeChoices = "url" + CustomFieldTypeChoicesSelect CustomFieldTypeChoices = "select" + CustomFieldTypeChoicesText CustomFieldTypeChoices = "text" + CustomFieldTypeChoicesUrl CustomFieldTypeChoices = "url" ) // Defines values for DeviceFaceLabel. const ( DeviceFaceLabelFront DeviceFaceLabel = "Front" - - DeviceFaceLabelRear DeviceFaceLabel = "Rear" + DeviceFaceLabelRear DeviceFaceLabel = "Rear" ) // Defines values for DeviceFaceValue. const ( DeviceFaceValueFront DeviceFaceValue = "front" - - DeviceFaceValueRear DeviceFaceValue = "rear" + DeviceFaceValueRear DeviceFaceValue = "rear" ) // Defines values for DeviceStatusLabel. const ( - DeviceStatusLabelActive DeviceStatusLabel = "Active" - + DeviceStatusLabelActive DeviceStatusLabel = "Active" DeviceStatusLabelDecommissioning DeviceStatusLabel = "Decommissioning" - - DeviceStatusLabelFailed DeviceStatusLabel = "Failed" - - DeviceStatusLabelInventory DeviceStatusLabel = "Inventory" - - DeviceStatusLabelOffline DeviceStatusLabel = "Offline" - - DeviceStatusLabelPlanned DeviceStatusLabel = "Planned" - - DeviceStatusLabelStaged DeviceStatusLabel = "Staged" + DeviceStatusLabelFailed DeviceStatusLabel = "Failed" + DeviceStatusLabelInventory DeviceStatusLabel = "Inventory" + DeviceStatusLabelOffline DeviceStatusLabel = "Offline" + DeviceStatusLabelPlanned DeviceStatusLabel = "Planned" + DeviceStatusLabelStaged DeviceStatusLabel = "Staged" ) // Defines values for DeviceStatusValue. const ( - DeviceStatusValueActive DeviceStatusValue = "active" - + DeviceStatusValueActive DeviceStatusValue = "active" DeviceStatusValueDecommissioning DeviceStatusValue = "decommissioning" + DeviceStatusValueFailed DeviceStatusValue = "failed" + DeviceStatusValueInventory DeviceStatusValue = "inventory" + DeviceStatusValueOffline DeviceStatusValue = "offline" + DeviceStatusValuePlanned DeviceStatusValue = "planned" + DeviceStatusValueStaged DeviceStatusValue = "staged" +) - DeviceStatusValueFailed DeviceStatusValue = "failed" +// Defines values for DeviceRedundancyGroupFailoverStrategyLabel. +const ( + DeviceRedundancyGroupFailoverStrategyLabelActiveActive DeviceRedundancyGroupFailoverStrategyLabel = "Active/Active" + DeviceRedundancyGroupFailoverStrategyLabelActivePassive DeviceRedundancyGroupFailoverStrategyLabel = "Active/Passive" +) - DeviceStatusValueInventory DeviceStatusValue = "inventory" +// Defines values for DeviceRedundancyGroupFailoverStrategyValue. +const ( + DeviceRedundancyGroupFailoverStrategyValueActiveActive DeviceRedundancyGroupFailoverStrategyValue = "active-active" + DeviceRedundancyGroupFailoverStrategyValueActivePassive DeviceRedundancyGroupFailoverStrategyValue = "active-passive" +) - DeviceStatusValueOffline DeviceStatusValue = "offline" +// Defines values for DeviceRedundancyGroupStatusLabel. +const ( + DeviceRedundancyGroupStatusLabelActive DeviceRedundancyGroupStatusLabel = "Active" + DeviceRedundancyGroupStatusLabelDecommissioning DeviceRedundancyGroupStatusLabel = "Decommissioning" + DeviceRedundancyGroupStatusLabelPlanned DeviceRedundancyGroupStatusLabel = "Planned" + DeviceRedundancyGroupStatusLabelRetired DeviceRedundancyGroupStatusLabel = "Retired" + DeviceRedundancyGroupStatusLabelStaging DeviceRedundancyGroupStatusLabel = "Staging" +) - DeviceStatusValuePlanned DeviceStatusValue = "planned" +// Defines values for DeviceRedundancyGroupStatusValue. +const ( + DeviceRedundancyGroupStatusValueActive DeviceRedundancyGroupStatusValue = "active" + DeviceRedundancyGroupStatusValueDecommissioning DeviceRedundancyGroupStatusValue = "decommissioning" + DeviceRedundancyGroupStatusValuePlanned DeviceRedundancyGroupStatusValue = "planned" + DeviceRedundancyGroupStatusValueRetired DeviceRedundancyGroupStatusValue = "retired" + DeviceRedundancyGroupStatusValueStaging DeviceRedundancyGroupStatusValue = "staging" +) - DeviceStatusValueStaged DeviceStatusValue = "staged" +// Defines values for DeviceStatusChoices. +const ( + DeviceStatusChoicesActive DeviceStatusChoices = "active" + DeviceStatusChoicesDecommissioning DeviceStatusChoices = "decommissioning" + DeviceStatusChoicesFailed DeviceStatusChoices = "failed" + DeviceStatusChoicesInventory DeviceStatusChoices = "inventory" + DeviceStatusChoicesOffline DeviceStatusChoices = "offline" + DeviceStatusChoicesPlanned DeviceStatusChoices = "planned" + DeviceStatusChoicesStaged DeviceStatusChoices = "staged" ) // Defines values for DeviceTypeSubdeviceRoleLabel. const ( - DeviceTypeSubdeviceRoleLabelChild DeviceTypeSubdeviceRoleLabel = "Child" - + DeviceTypeSubdeviceRoleLabelChild DeviceTypeSubdeviceRoleLabel = "Child" DeviceTypeSubdeviceRoleLabelParent DeviceTypeSubdeviceRoleLabel = "Parent" ) // Defines values for DeviceTypeSubdeviceRoleValue. const ( - DeviceTypeSubdeviceRoleValueChild DeviceTypeSubdeviceRoleValue = "child" - + DeviceTypeSubdeviceRoleValueChild DeviceTypeSubdeviceRoleValue = "child" DeviceTypeSubdeviceRoleValueParent DeviceTypeSubdeviceRoleValue = "parent" ) // Defines values for DeviceWithConfigContextFaceLabel. const ( DeviceWithConfigContextFaceLabelFront DeviceWithConfigContextFaceLabel = "Front" - - DeviceWithConfigContextFaceLabelRear DeviceWithConfigContextFaceLabel = "Rear" + DeviceWithConfigContextFaceLabelRear DeviceWithConfigContextFaceLabel = "Rear" ) // Defines values for DeviceWithConfigContextFaceValue. const ( DeviceWithConfigContextFaceValueFront DeviceWithConfigContextFaceValue = "front" - - DeviceWithConfigContextFaceValueRear DeviceWithConfigContextFaceValue = "rear" + DeviceWithConfigContextFaceValueRear DeviceWithConfigContextFaceValue = "rear" ) // Defines values for DeviceWithConfigContextStatusLabel. const ( - DeviceWithConfigContextStatusLabelActive DeviceWithConfigContextStatusLabel = "Active" - + DeviceWithConfigContextStatusLabelActive DeviceWithConfigContextStatusLabel = "Active" DeviceWithConfigContextStatusLabelDecommissioning DeviceWithConfigContextStatusLabel = "Decommissioning" - - DeviceWithConfigContextStatusLabelFailed DeviceWithConfigContextStatusLabel = "Failed" - - DeviceWithConfigContextStatusLabelInventory DeviceWithConfigContextStatusLabel = "Inventory" - - DeviceWithConfigContextStatusLabelOffline DeviceWithConfigContextStatusLabel = "Offline" - - DeviceWithConfigContextStatusLabelPlanned DeviceWithConfigContextStatusLabel = "Planned" - - DeviceWithConfigContextStatusLabelStaged DeviceWithConfigContextStatusLabel = "Staged" + DeviceWithConfigContextStatusLabelFailed DeviceWithConfigContextStatusLabel = "Failed" + DeviceWithConfigContextStatusLabelInventory DeviceWithConfigContextStatusLabel = "Inventory" + DeviceWithConfigContextStatusLabelOffline DeviceWithConfigContextStatusLabel = "Offline" + DeviceWithConfigContextStatusLabelPlanned DeviceWithConfigContextStatusLabel = "Planned" + DeviceWithConfigContextStatusLabelStaged DeviceWithConfigContextStatusLabel = "Staged" ) // Defines values for DeviceWithConfigContextStatusValue. const ( - DeviceWithConfigContextStatusValueActive DeviceWithConfigContextStatusValue = "active" - + DeviceWithConfigContextStatusValueActive DeviceWithConfigContextStatusValue = "active" DeviceWithConfigContextStatusValueDecommissioning DeviceWithConfigContextStatusValue = "decommissioning" + DeviceWithConfigContextStatusValueFailed DeviceWithConfigContextStatusValue = "failed" + DeviceWithConfigContextStatusValueInventory DeviceWithConfigContextStatusValue = "inventory" + DeviceWithConfigContextStatusValueOffline DeviceWithConfigContextStatusValue = "offline" + DeviceWithConfigContextStatusValuePlanned DeviceWithConfigContextStatusValue = "planned" + DeviceWithConfigContextStatusValueStaged DeviceWithConfigContextStatusValue = "staged" +) - DeviceWithConfigContextStatusValueFailed DeviceWithConfigContextStatusValue = "failed" +// Defines values for FQDNStatusLabel. +const ( + FQDNStatusLabelActive FQDNStatusLabel = "Active" + FQDNStatusLabelDecommissioned FQDNStatusLabel = "Decommissioned" + FQDNStatusLabelStaged FQDNStatusLabel = "Staged" +) - DeviceWithConfigContextStatusValueInventory DeviceWithConfigContextStatusValue = "inventory" - - DeviceWithConfigContextStatusValueOffline DeviceWithConfigContextStatusValue = "offline" - - DeviceWithConfigContextStatusValuePlanned DeviceWithConfigContextStatusValue = "planned" - - DeviceWithConfigContextStatusValueStaged DeviceWithConfigContextStatusValue = "staged" +// Defines values for FQDNStatusValue. +const ( + FQDNStatusValueActive FQDNStatusValue = "active" + FQDNStatusValueDecommissioned FQDNStatusValue = "decommissioned" + FQDNStatusValueStaged FQDNStatusValue = "staged" ) // Defines values for FaceEnum. const ( FaceEnumFront FaceEnum = "front" - - FaceEnumRear FaceEnum = "rear" + FaceEnumRear FaceEnum = "rear" ) -// Defines values for FamilyEnum. +// Defines values for FailoverStrategyEnum. const ( - FamilyEnumN4 FamilyEnum = 4 - - FamilyEnumN6 FamilyEnum = 6 + ActiveActive FailoverStrategyEnum = "active-active" + ActivePassive FailoverStrategyEnum = "active-passive" ) // Defines values for FeedLegEnum. const ( FeedLegEnumA FeedLegEnum = "A" - FeedLegEnumB FeedLegEnum = "B" - FeedLegEnumC FeedLegEnum = "C" ) // Defines values for FilterLogicEnum. const ( - FilterLogicEnumDisabled FilterLogicEnum = "disabled" - - FilterLogicEnumExact FilterLogicEnum = "exact" - - FilterLogicEnumLoose FilterLogicEnum = "loose" + Disabled FilterLogicEnum = "disabled" + Exact FilterLogicEnum = "exact" + Loose FilterLogicEnum = "loose" ) // Defines values for FrontPortTypeLabel. const ( - FrontPortTypeLabelBNC FrontPortTypeLabel = "BNC" - - FrontPortTypeLabelCS FrontPortTypeLabel = "CS" - - FrontPortTypeLabelFC FrontPortTypeLabel = "FC" - - FrontPortTypeLabelGG45 FrontPortTypeLabel = "GG45" - - FrontPortTypeLabelLC FrontPortTypeLabel = "LC" - - FrontPortTypeLabelLCAPC FrontPortTypeLabel = "LC/APC" - - FrontPortTypeLabelLSH FrontPortTypeLabel = "LSH" - - FrontPortTypeLabelLSHAPC FrontPortTypeLabel = "LSH/APC" - - FrontPortTypeLabelMPO FrontPortTypeLabel = "MPO" - - FrontPortTypeLabelMRJ21 FrontPortTypeLabel = "MRJ21" - - FrontPortTypeLabelMTRJ FrontPortTypeLabel = "MTRJ" - + FrontPortTypeLabelBNC FrontPortTypeLabel = "BNC" + FrontPortTypeLabelCS FrontPortTypeLabel = "CS" + FrontPortTypeLabelFC FrontPortTypeLabel = "FC" + FrontPortTypeLabelGG45 FrontPortTypeLabel = "GG45" + FrontPortTypeLabelLC FrontPortTypeLabel = "LC" + FrontPortTypeLabelLCAPC FrontPortTypeLabel = "LC/APC" + FrontPortTypeLabelLSH FrontPortTypeLabel = "LSH" + FrontPortTypeLabelLSHAPC FrontPortTypeLabel = "LSH/APC" + FrontPortTypeLabelMPO FrontPortTypeLabel = "MPO" + FrontPortTypeLabelMRJ21 FrontPortTypeLabel = "MRJ21" + FrontPortTypeLabelMTRJ FrontPortTypeLabel = "MTRJ" FrontPortTypeLabelN110Punch FrontPortTypeLabel = "110 Punch" - - FrontPortTypeLabelN8P2C FrontPortTypeLabel = "8P2C" - - FrontPortTypeLabelN8P4C FrontPortTypeLabel = "8P4C" - - FrontPortTypeLabelN8P6C FrontPortTypeLabel = "8P6C" - - FrontPortTypeLabelN8P8C FrontPortTypeLabel = "8P8C" - - FrontPortTypeLabelSC FrontPortTypeLabel = "SC" - - FrontPortTypeLabelSCAPC FrontPortTypeLabel = "SC/APC" - - FrontPortTypeLabelSN FrontPortTypeLabel = "SN" - - FrontPortTypeLabelST FrontPortTypeLabel = "ST" - - FrontPortTypeLabelSplice FrontPortTypeLabel = "Splice" - - FrontPortTypeLabelTERA1P FrontPortTypeLabel = "TERA 1P" - - FrontPortTypeLabelTERA2P FrontPortTypeLabel = "TERA 2P" - - FrontPortTypeLabelTERA4P FrontPortTypeLabel = "TERA 4P" - - FrontPortTypeLabelURMP2 FrontPortTypeLabel = "URM-P2" - - FrontPortTypeLabelURMP4 FrontPortTypeLabel = "URM-P4" - - FrontPortTypeLabelURMP8 FrontPortTypeLabel = "URM-P8" + FrontPortTypeLabelN8P2C FrontPortTypeLabel = "8P2C" + FrontPortTypeLabelN8P4C FrontPortTypeLabel = "8P4C" + FrontPortTypeLabelN8P6C FrontPortTypeLabel = "8P6C" + FrontPortTypeLabelN8P8C FrontPortTypeLabel = "8P8C" + FrontPortTypeLabelSC FrontPortTypeLabel = "SC" + FrontPortTypeLabelSCAPC FrontPortTypeLabel = "SC/APC" + FrontPortTypeLabelSN FrontPortTypeLabel = "SN" + FrontPortTypeLabelST FrontPortTypeLabel = "ST" + FrontPortTypeLabelSplice FrontPortTypeLabel = "Splice" + FrontPortTypeLabelTERA1P FrontPortTypeLabel = "TERA 1P" + FrontPortTypeLabelTERA2P FrontPortTypeLabel = "TERA 2P" + FrontPortTypeLabelTERA4P FrontPortTypeLabel = "TERA 4P" + FrontPortTypeLabelURMP2 FrontPortTypeLabel = "URM-P2" + FrontPortTypeLabelURMP4 FrontPortTypeLabel = "URM-P4" + FrontPortTypeLabelURMP8 FrontPortTypeLabel = "URM-P8" ) // Defines values for FrontPortTypeValue. const ( - FrontPortTypeValueBnc FrontPortTypeValue = "bnc" - - FrontPortTypeValueCs FrontPortTypeValue = "cs" - - FrontPortTypeValueFc FrontPortTypeValue = "fc" - - FrontPortTypeValueGg45 FrontPortTypeValue = "gg45" - - FrontPortTypeValueLc FrontPortTypeValue = "lc" - - FrontPortTypeValueLcApc FrontPortTypeValue = "lc-apc" - - FrontPortTypeValueLsh FrontPortTypeValue = "lsh" - - FrontPortTypeValueLshApc FrontPortTypeValue = "lsh-apc" - - FrontPortTypeValueMpo FrontPortTypeValue = "mpo" - - FrontPortTypeValueMrj21 FrontPortTypeValue = "mrj21" - - FrontPortTypeValueMtrj FrontPortTypeValue = "mtrj" - + FrontPortTypeValueBnc FrontPortTypeValue = "bnc" + FrontPortTypeValueCs FrontPortTypeValue = "cs" + FrontPortTypeValueFc FrontPortTypeValue = "fc" + FrontPortTypeValueGg45 FrontPortTypeValue = "gg45" + FrontPortTypeValueLc FrontPortTypeValue = "lc" + FrontPortTypeValueLcApc FrontPortTypeValue = "lc-apc" + FrontPortTypeValueLsh FrontPortTypeValue = "lsh" + FrontPortTypeValueLshApc FrontPortTypeValue = "lsh-apc" + FrontPortTypeValueMpo FrontPortTypeValue = "mpo" + FrontPortTypeValueMrj21 FrontPortTypeValue = "mrj21" + FrontPortTypeValueMtrj FrontPortTypeValue = "mtrj" FrontPortTypeValueN110Punch FrontPortTypeValue = "110-punch" - - FrontPortTypeValueN8p2c FrontPortTypeValue = "8p2c" - - FrontPortTypeValueN8p4c FrontPortTypeValue = "8p4c" - - FrontPortTypeValueN8p6c FrontPortTypeValue = "8p6c" - - FrontPortTypeValueN8p8c FrontPortTypeValue = "8p8c" - - FrontPortTypeValueSc FrontPortTypeValue = "sc" - - FrontPortTypeValueScApc FrontPortTypeValue = "sc-apc" - - FrontPortTypeValueSn FrontPortTypeValue = "sn" - - FrontPortTypeValueSplice FrontPortTypeValue = "splice" - - FrontPortTypeValueSt FrontPortTypeValue = "st" - - FrontPortTypeValueTera1p FrontPortTypeValue = "tera-1p" - - FrontPortTypeValueTera2p FrontPortTypeValue = "tera-2p" - - FrontPortTypeValueTera4p FrontPortTypeValue = "tera-4p" - - FrontPortTypeValueUrmP2 FrontPortTypeValue = "urm-p2" - - FrontPortTypeValueUrmP4 FrontPortTypeValue = "urm-p4" - - FrontPortTypeValueUrmP8 FrontPortTypeValue = "urm-p8" + FrontPortTypeValueN8p2c FrontPortTypeValue = "8p2c" + FrontPortTypeValueN8p4c FrontPortTypeValue = "8p4c" + FrontPortTypeValueN8p6c FrontPortTypeValue = "8p6c" + FrontPortTypeValueN8p8c FrontPortTypeValue = "8p8c" + FrontPortTypeValueSc FrontPortTypeValue = "sc" + FrontPortTypeValueScApc FrontPortTypeValue = "sc-apc" + FrontPortTypeValueSn FrontPortTypeValue = "sn" + FrontPortTypeValueSplice FrontPortTypeValue = "splice" + FrontPortTypeValueSt FrontPortTypeValue = "st" + FrontPortTypeValueTera1p FrontPortTypeValue = "tera-1p" + FrontPortTypeValueTera2p FrontPortTypeValue = "tera-2p" + FrontPortTypeValueTera4p FrontPortTypeValue = "tera-4p" + FrontPortTypeValueUrmP2 FrontPortTypeValue = "urm-p2" + FrontPortTypeValueUrmP4 FrontPortTypeValue = "urm-p4" + FrontPortTypeValueUrmP8 FrontPortTypeValue = "urm-p8" ) // Defines values for FrontPortTemplateTypeLabel. const ( - FrontPortTemplateTypeLabelBNC FrontPortTemplateTypeLabel = "BNC" - - FrontPortTemplateTypeLabelCS FrontPortTemplateTypeLabel = "CS" - - FrontPortTemplateTypeLabelFC FrontPortTemplateTypeLabel = "FC" - - FrontPortTemplateTypeLabelGG45 FrontPortTemplateTypeLabel = "GG45" - - FrontPortTemplateTypeLabelLC FrontPortTemplateTypeLabel = "LC" - - FrontPortTemplateTypeLabelLCAPC FrontPortTemplateTypeLabel = "LC/APC" - - FrontPortTemplateTypeLabelLSH FrontPortTemplateTypeLabel = "LSH" - - FrontPortTemplateTypeLabelLSHAPC FrontPortTemplateTypeLabel = "LSH/APC" - - FrontPortTemplateTypeLabelMPO FrontPortTemplateTypeLabel = "MPO" - - FrontPortTemplateTypeLabelMRJ21 FrontPortTemplateTypeLabel = "MRJ21" - - FrontPortTemplateTypeLabelMTRJ FrontPortTemplateTypeLabel = "MTRJ" - + FrontPortTemplateTypeLabelBNC FrontPortTemplateTypeLabel = "BNC" + FrontPortTemplateTypeLabelCS FrontPortTemplateTypeLabel = "CS" + FrontPortTemplateTypeLabelFC FrontPortTemplateTypeLabel = "FC" + FrontPortTemplateTypeLabelGG45 FrontPortTemplateTypeLabel = "GG45" + FrontPortTemplateTypeLabelLC FrontPortTemplateTypeLabel = "LC" + FrontPortTemplateTypeLabelLCAPC FrontPortTemplateTypeLabel = "LC/APC" + FrontPortTemplateTypeLabelLSH FrontPortTemplateTypeLabel = "LSH" + FrontPortTemplateTypeLabelLSHAPC FrontPortTemplateTypeLabel = "LSH/APC" + FrontPortTemplateTypeLabelMPO FrontPortTemplateTypeLabel = "MPO" + FrontPortTemplateTypeLabelMRJ21 FrontPortTemplateTypeLabel = "MRJ21" + FrontPortTemplateTypeLabelMTRJ FrontPortTemplateTypeLabel = "MTRJ" FrontPortTemplateTypeLabelN110Punch FrontPortTemplateTypeLabel = "110 Punch" - - FrontPortTemplateTypeLabelN8P2C FrontPortTemplateTypeLabel = "8P2C" - - FrontPortTemplateTypeLabelN8P4C FrontPortTemplateTypeLabel = "8P4C" - - FrontPortTemplateTypeLabelN8P6C FrontPortTemplateTypeLabel = "8P6C" - - FrontPortTemplateTypeLabelN8P8C FrontPortTemplateTypeLabel = "8P8C" - - FrontPortTemplateTypeLabelSC FrontPortTemplateTypeLabel = "SC" - - FrontPortTemplateTypeLabelSCAPC FrontPortTemplateTypeLabel = "SC/APC" - - FrontPortTemplateTypeLabelSN FrontPortTemplateTypeLabel = "SN" - - FrontPortTemplateTypeLabelST FrontPortTemplateTypeLabel = "ST" - - FrontPortTemplateTypeLabelSplice FrontPortTemplateTypeLabel = "Splice" - - FrontPortTemplateTypeLabelTERA1P FrontPortTemplateTypeLabel = "TERA 1P" - - FrontPortTemplateTypeLabelTERA2P FrontPortTemplateTypeLabel = "TERA 2P" - - FrontPortTemplateTypeLabelTERA4P FrontPortTemplateTypeLabel = "TERA 4P" - - FrontPortTemplateTypeLabelURMP2 FrontPortTemplateTypeLabel = "URM-P2" - - FrontPortTemplateTypeLabelURMP4 FrontPortTemplateTypeLabel = "URM-P4" - - FrontPortTemplateTypeLabelURMP8 FrontPortTemplateTypeLabel = "URM-P8" + FrontPortTemplateTypeLabelN8P2C FrontPortTemplateTypeLabel = "8P2C" + FrontPortTemplateTypeLabelN8P4C FrontPortTemplateTypeLabel = "8P4C" + FrontPortTemplateTypeLabelN8P6C FrontPortTemplateTypeLabel = "8P6C" + FrontPortTemplateTypeLabelN8P8C FrontPortTemplateTypeLabel = "8P8C" + FrontPortTemplateTypeLabelSC FrontPortTemplateTypeLabel = "SC" + FrontPortTemplateTypeLabelSCAPC FrontPortTemplateTypeLabel = "SC/APC" + FrontPortTemplateTypeLabelSN FrontPortTemplateTypeLabel = "SN" + FrontPortTemplateTypeLabelST FrontPortTemplateTypeLabel = "ST" + FrontPortTemplateTypeLabelSplice FrontPortTemplateTypeLabel = "Splice" + FrontPortTemplateTypeLabelTERA1P FrontPortTemplateTypeLabel = "TERA 1P" + FrontPortTemplateTypeLabelTERA2P FrontPortTemplateTypeLabel = "TERA 2P" + FrontPortTemplateTypeLabelTERA4P FrontPortTemplateTypeLabel = "TERA 4P" + FrontPortTemplateTypeLabelURMP2 FrontPortTemplateTypeLabel = "URM-P2" + FrontPortTemplateTypeLabelURMP4 FrontPortTemplateTypeLabel = "URM-P4" + FrontPortTemplateTypeLabelURMP8 FrontPortTemplateTypeLabel = "URM-P8" ) // Defines values for FrontPortTemplateTypeValue. const ( - FrontPortTemplateTypeValueBnc FrontPortTemplateTypeValue = "bnc" - - FrontPortTemplateTypeValueCs FrontPortTemplateTypeValue = "cs" - - FrontPortTemplateTypeValueFc FrontPortTemplateTypeValue = "fc" - - FrontPortTemplateTypeValueGg45 FrontPortTemplateTypeValue = "gg45" - - FrontPortTemplateTypeValueLc FrontPortTemplateTypeValue = "lc" - - FrontPortTemplateTypeValueLcApc FrontPortTemplateTypeValue = "lc-apc" - - FrontPortTemplateTypeValueLsh FrontPortTemplateTypeValue = "lsh" - - FrontPortTemplateTypeValueLshApc FrontPortTemplateTypeValue = "lsh-apc" - - FrontPortTemplateTypeValueMpo FrontPortTemplateTypeValue = "mpo" - - FrontPortTemplateTypeValueMrj21 FrontPortTemplateTypeValue = "mrj21" - - FrontPortTemplateTypeValueMtrj FrontPortTemplateTypeValue = "mtrj" - + FrontPortTemplateTypeValueBnc FrontPortTemplateTypeValue = "bnc" + FrontPortTemplateTypeValueCs FrontPortTemplateTypeValue = "cs" + FrontPortTemplateTypeValueFc FrontPortTemplateTypeValue = "fc" + FrontPortTemplateTypeValueGg45 FrontPortTemplateTypeValue = "gg45" + FrontPortTemplateTypeValueLc FrontPortTemplateTypeValue = "lc" + FrontPortTemplateTypeValueLcApc FrontPortTemplateTypeValue = "lc-apc" + FrontPortTemplateTypeValueLsh FrontPortTemplateTypeValue = "lsh" + FrontPortTemplateTypeValueLshApc FrontPortTemplateTypeValue = "lsh-apc" + FrontPortTemplateTypeValueMpo FrontPortTemplateTypeValue = "mpo" + FrontPortTemplateTypeValueMrj21 FrontPortTemplateTypeValue = "mrj21" + FrontPortTemplateTypeValueMtrj FrontPortTemplateTypeValue = "mtrj" FrontPortTemplateTypeValueN110Punch FrontPortTemplateTypeValue = "110-punch" - - FrontPortTemplateTypeValueN8p2c FrontPortTemplateTypeValue = "8p2c" - - FrontPortTemplateTypeValueN8p4c FrontPortTemplateTypeValue = "8p4c" - - FrontPortTemplateTypeValueN8p6c FrontPortTemplateTypeValue = "8p6c" - - FrontPortTemplateTypeValueN8p8c FrontPortTemplateTypeValue = "8p8c" - - FrontPortTemplateTypeValueSc FrontPortTemplateTypeValue = "sc" - - FrontPortTemplateTypeValueScApc FrontPortTemplateTypeValue = "sc-apc" - - FrontPortTemplateTypeValueSn FrontPortTemplateTypeValue = "sn" - - FrontPortTemplateTypeValueSplice FrontPortTemplateTypeValue = "splice" - - FrontPortTemplateTypeValueSt FrontPortTemplateTypeValue = "st" - - FrontPortTemplateTypeValueTera1p FrontPortTemplateTypeValue = "tera-1p" - - FrontPortTemplateTypeValueTera2p FrontPortTemplateTypeValue = "tera-2p" - - FrontPortTemplateTypeValueTera4p FrontPortTemplateTypeValue = "tera-4p" - - FrontPortTemplateTypeValueUrmP2 FrontPortTemplateTypeValue = "urm-p2" - - FrontPortTemplateTypeValueUrmP4 FrontPortTemplateTypeValue = "urm-p4" - - FrontPortTemplateTypeValueUrmP8 FrontPortTemplateTypeValue = "urm-p8" + FrontPortTemplateTypeValueN8p2c FrontPortTemplateTypeValue = "8p2c" + FrontPortTemplateTypeValueN8p4c FrontPortTemplateTypeValue = "8p4c" + FrontPortTemplateTypeValueN8p6c FrontPortTemplateTypeValue = "8p6c" + FrontPortTemplateTypeValueN8p8c FrontPortTemplateTypeValue = "8p8c" + FrontPortTemplateTypeValueSc FrontPortTemplateTypeValue = "sc" + FrontPortTemplateTypeValueScApc FrontPortTemplateTypeValue = "sc-apc" + FrontPortTemplateTypeValueSn FrontPortTemplateTypeValue = "sn" + FrontPortTemplateTypeValueSplice FrontPortTemplateTypeValue = "splice" + FrontPortTemplateTypeValueSt FrontPortTemplateTypeValue = "st" + FrontPortTemplateTypeValueTera1p FrontPortTemplateTypeValue = "tera-1p" + FrontPortTemplateTypeValueTera2p FrontPortTemplateTypeValue = "tera-2p" + FrontPortTemplateTypeValueTera4p FrontPortTemplateTypeValue = "tera-4p" + FrontPortTemplateTypeValueUrmP2 FrontPortTemplateTypeValue = "urm-p2" + FrontPortTemplateTypeValueUrmP4 FrontPortTemplateTypeValue = "urm-p4" + FrontPortTemplateTypeValueUrmP8 FrontPortTemplateTypeValue = "urm-p8" ) // Defines values for GrantTypeEnum. const ( - GrantTypeEnumChannel GrantTypeEnum = "channel" - + GrantTypeEnumChannel GrantTypeEnum = "channel" GrantTypeEnumOrganization GrantTypeEnum = "organization" - - GrantTypeEnumUser GrantTypeEnum = "user" + GrantTypeEnumUser GrantTypeEnum = "user" ) // Defines values for HttpMethodEnum. const ( - HttpMethodEnumDELETE HttpMethodEnum = "DELETE" - - HttpMethodEnumGET HttpMethodEnum = "GET" - - HttpMethodEnumPATCH HttpMethodEnum = "PATCH" - - HttpMethodEnumPOST HttpMethodEnum = "POST" - - HttpMethodEnumPUT HttpMethodEnum = "PUT" + DELETE HttpMethodEnum = "DELETE" + GET HttpMethodEnum = "GET" + PATCH HttpMethodEnum = "PATCH" + POST HttpMethodEnum = "POST" + PUT HttpMethodEnum = "PUT" ) // Defines values for IPAddressFamilyLabel. const ( IPAddressFamilyLabelIPv4 IPAddressFamilyLabel = "IPv4" - IPAddressFamilyLabelIPv6 IPAddressFamilyLabel = "IPv6" ) // Defines values for IPAddressFamilyValue. const ( IPAddressFamilyValueN4 IPAddressFamilyValue = 4 - IPAddressFamilyValueN6 IPAddressFamilyValue = 6 ) // Defines values for IPAddressRoleLabel. const ( - IPAddressRoleLabelAnycast IPAddressRoleLabel = "Anycast" - - IPAddressRoleLabelCARP IPAddressRoleLabel = "CARP" - - IPAddressRoleLabelGLBP IPAddressRoleLabel = "GLBP" - - IPAddressRoleLabelHSRP IPAddressRoleLabel = "HSRP" - - IPAddressRoleLabelLoopback IPAddressRoleLabel = "Loopback" - + IPAddressRoleLabelAnycast IPAddressRoleLabel = "Anycast" + IPAddressRoleLabelCARP IPAddressRoleLabel = "CARP" + IPAddressRoleLabelGLBP IPAddressRoleLabel = "GLBP" + IPAddressRoleLabelHSRP IPAddressRoleLabel = "HSRP" + IPAddressRoleLabelLoopback IPAddressRoleLabel = "Loopback" IPAddressRoleLabelSecondary IPAddressRoleLabel = "Secondary" - - IPAddressRoleLabelVIP IPAddressRoleLabel = "VIP" - - IPAddressRoleLabelVRRP IPAddressRoleLabel = "VRRP" + IPAddressRoleLabelVIP IPAddressRoleLabel = "VIP" + IPAddressRoleLabelVRRP IPAddressRoleLabel = "VRRP" ) // Defines values for IPAddressRoleValue. const ( - IPAddressRoleValueAnycast IPAddressRoleValue = "anycast" - - IPAddressRoleValueCarp IPAddressRoleValue = "carp" - - IPAddressRoleValueGlbp IPAddressRoleValue = "glbp" - - IPAddressRoleValueHsrp IPAddressRoleValue = "hsrp" - - IPAddressRoleValueLoopback IPAddressRoleValue = "loopback" - + IPAddressRoleValueAnycast IPAddressRoleValue = "anycast" + IPAddressRoleValueCarp IPAddressRoleValue = "carp" + IPAddressRoleValueGlbp IPAddressRoleValue = "glbp" + IPAddressRoleValueHsrp IPAddressRoleValue = "hsrp" + IPAddressRoleValueLoopback IPAddressRoleValue = "loopback" IPAddressRoleValueSecondary IPAddressRoleValue = "secondary" - - IPAddressRoleValueVip IPAddressRoleValue = "vip" - - IPAddressRoleValueVrrp IPAddressRoleValue = "vrrp" + IPAddressRoleValueVip IPAddressRoleValue = "vip" + IPAddressRoleValueVrrp IPAddressRoleValue = "vrrp" ) // Defines values for IPAddressStatusLabel. const ( - IPAddressStatusLabelActive IPAddressStatusLabel = "Active" - - IPAddressStatusLabelDHCP IPAddressStatusLabel = "DHCP" - + IPAddressStatusLabelActive IPAddressStatusLabel = "Active" + IPAddressStatusLabelDHCP IPAddressStatusLabel = "DHCP" IPAddressStatusLabelDeprecated IPAddressStatusLabel = "Deprecated" - - IPAddressStatusLabelReserved IPAddressStatusLabel = "Reserved" - - IPAddressStatusLabelSLAAC IPAddressStatusLabel = "SLAAC" + IPAddressStatusLabelReserved IPAddressStatusLabel = "Reserved" + IPAddressStatusLabelSLAAC IPAddressStatusLabel = "SLAAC" ) // Defines values for IPAddressStatusValue. const ( - IPAddressStatusValueActive IPAddressStatusValue = "active" - + IPAddressStatusValueActive IPAddressStatusValue = "active" IPAddressStatusValueDeprecated IPAddressStatusValue = "deprecated" + IPAddressStatusValueDhcp IPAddressStatusValue = "dhcp" + IPAddressStatusValueReserved IPAddressStatusValue = "reserved" + IPAddressStatusValueSlaac IPAddressStatusValue = "slaac" +) - IPAddressStatusValueDhcp IPAddressStatusValue = "dhcp" +// Defines values for IPAddressStatusChoices. +const ( + IPAddressStatusChoicesActive IPAddressStatusChoices = "active" + IPAddressStatusChoicesDeprecated IPAddressStatusChoices = "deprecated" + IPAddressStatusChoicesDhcp IPAddressStatusChoices = "dhcp" + IPAddressStatusChoicesReserved IPAddressStatusChoices = "reserved" + IPAddressStatusChoicesSlaac IPAddressStatusChoices = "slaac" +) - IPAddressStatusValueReserved IPAddressStatusValue = "reserved" +// Defines values for IPRangeStatusLabel. +const ( + IPRangeStatusLabelActive IPRangeStatusLabel = "Active" + IPRangeStatusLabelDecommissioned IPRangeStatusLabel = "Decommissioned" + IPRangeStatusLabelStaged IPRangeStatusLabel = "Staged" +) - IPAddressStatusValueSlaac IPAddressStatusValue = "slaac" +// Defines values for IPRangeStatusValue. +const ( + IPRangeStatusValueActive IPRangeStatusValue = "active" + IPRangeStatusValueDecommissioned IPRangeStatusValue = "decommissioned" + IPRangeStatusValueStaged IPRangeStatusValue = "staged" ) // Defines values for ImpactEnum. const ( - ImpactEnumDEGRADED ImpactEnum = "DEGRADED" - - ImpactEnumNOIMPACT ImpactEnum = "NO-IMPACT" - - ImpactEnumOUTAGE ImpactEnum = "OUTAGE" - - ImpactEnumREDUCEDREDUNDANCY ImpactEnum = "REDUCED-REDUNDANCY" + DEGRADED ImpactEnum = "DEGRADED" + NOIMPACT ImpactEnum = "NO-IMPACT" + OUTAGE ImpactEnum = "OUTAGE" + REDUCEDREDUNDANCY ImpactEnum = "REDUCED-REDUNDANCY" ) // Defines values for InterfaceModeLabel. const ( - InterfaceModeLabelAccess InterfaceModeLabel = "Access" - - InterfaceModeLabelTagged InterfaceModeLabel = "Tagged" - + InterfaceModeLabelAccess InterfaceModeLabel = "Access" + InterfaceModeLabelTagged InterfaceModeLabel = "Tagged" InterfaceModeLabelTaggedAll InterfaceModeLabel = "Tagged (All)" ) // Defines values for InterfaceModeValue. const ( - InterfaceModeValueAccess InterfaceModeValue = "access" - - InterfaceModeValueTagged InterfaceModeValue = "tagged" - + InterfaceModeValueAccess InterfaceModeValue = "access" + InterfaceModeValueTagged InterfaceModeValue = "tagged" InterfaceModeValueTaggedAll InterfaceModeValue = "tagged-all" ) +// Defines values for InterfaceStatusLabel. +const ( + InterfaceStatusLabelActive InterfaceStatusLabel = "Active" + InterfaceStatusLabelDecommissioning InterfaceStatusLabel = "Decommissioning" + InterfaceStatusLabelFailed InterfaceStatusLabel = "Failed" + InterfaceStatusLabelMaintenance InterfaceStatusLabel = "Maintenance" + InterfaceStatusLabelPlanned InterfaceStatusLabel = "Planned" +) + +// Defines values for InterfaceStatusValue. +const ( + InterfaceStatusValueActive InterfaceStatusValue = "active" + InterfaceStatusValueDecommissioning InterfaceStatusValue = "decommissioning" + InterfaceStatusValueFailed InterfaceStatusValue = "failed" + InterfaceStatusValueMaintenance InterfaceStatusValue = "maintenance" + InterfaceStatusValuePlanned InterfaceStatusValue = "planned" +) + // Defines values for InterfaceTypeLabel. const ( - InterfaceTypeLabelCDMA InterfaceTypeLabel = "CDMA" - - InterfaceTypeLabelCFP100GE InterfaceTypeLabel = "CFP (100GE)" - - InterfaceTypeLabelCFP2100GE InterfaceTypeLabel = "CFP2 (100GE)" - - InterfaceTypeLabelCFP2200GE InterfaceTypeLabel = "CFP2 (200GE)" - - InterfaceTypeLabelCFP4100GE InterfaceTypeLabel = "CFP4 (100GE)" - - InterfaceTypeLabelCiscoCPAK100GE InterfaceTypeLabel = "Cisco CPAK (100GE)" - - InterfaceTypeLabelCiscoFlexStack InterfaceTypeLabel = "Cisco FlexStack" - - InterfaceTypeLabelCiscoFlexStackPlus InterfaceTypeLabel = "Cisco FlexStack Plus" - - InterfaceTypeLabelCiscoStackWise InterfaceTypeLabel = "Cisco StackWise" - - InterfaceTypeLabelCiscoStackWisePlus InterfaceTypeLabel = "Cisco StackWise Plus" - - InterfaceTypeLabelDDR4Gbps InterfaceTypeLabel = "DDR (4 Gbps)" - - InterfaceTypeLabelE12048Mbps InterfaceTypeLabel = "E1 (2.048 Mbps)" - - InterfaceTypeLabelE334Mbps InterfaceTypeLabel = "E3 (34 Mbps)" - - InterfaceTypeLabelEDR25Gbps InterfaceTypeLabel = "EDR (25 Gbps)" - - InterfaceTypeLabelExtremeSummitStack InterfaceTypeLabel = "Extreme SummitStack" - - InterfaceTypeLabelExtremeSummitStack128 InterfaceTypeLabel = "Extreme SummitStack-128" - - InterfaceTypeLabelExtremeSummitStack256 InterfaceTypeLabel = "Extreme SummitStack-256" - - InterfaceTypeLabelExtremeSummitStack512 InterfaceTypeLabel = "Extreme SummitStack-512" - - InterfaceTypeLabelFDR1010Gbps InterfaceTypeLabel = "FDR10 (10 Gbps)" - - InterfaceTypeLabelFDR135Gbps InterfaceTypeLabel = "FDR (13.5 Gbps)" - - InterfaceTypeLabelGBIC1GE InterfaceTypeLabel = "GBIC (1GE)" - - InterfaceTypeLabelGSM InterfaceTypeLabel = "GSM" - - InterfaceTypeLabelHDR50Gbps InterfaceTypeLabel = "HDR (50 Gbps)" - - InterfaceTypeLabelIEEE80211a InterfaceTypeLabel = "IEEE 802.11a" - - InterfaceTypeLabelIEEE80211ac InterfaceTypeLabel = "IEEE 802.11ac" - - InterfaceTypeLabelIEEE80211ad InterfaceTypeLabel = "IEEE 802.11ad" - - InterfaceTypeLabelIEEE80211ax InterfaceTypeLabel = "IEEE 802.11ax" - - InterfaceTypeLabelIEEE80211bg InterfaceTypeLabel = "IEEE 802.11b/g" - - InterfaceTypeLabelIEEE80211n InterfaceTypeLabel = "IEEE 802.11n" - - InterfaceTypeLabelJuniperVCP InterfaceTypeLabel = "Juniper VCP" - - InterfaceTypeLabelLTE InterfaceTypeLabel = "LTE" - + InterfaceTypeLabelBridge InterfaceTypeLabel = "Bridge" + InterfaceTypeLabelCDMA InterfaceTypeLabel = "CDMA" + InterfaceTypeLabelCFP100GE InterfaceTypeLabel = "CFP (100GE)" + InterfaceTypeLabelCFP2100GE InterfaceTypeLabel = "CFP2 (100GE)" + InterfaceTypeLabelCFP2200GE InterfaceTypeLabel = "CFP2 (200GE)" + InterfaceTypeLabelCFP4100GE InterfaceTypeLabel = "CFP4 (100GE)" + InterfaceTypeLabelCiscoCPAK100GE InterfaceTypeLabel = "Cisco CPAK (100GE)" + InterfaceTypeLabelCiscoFlexStack InterfaceTypeLabel = "Cisco FlexStack" + InterfaceTypeLabelCiscoFlexStackPlus InterfaceTypeLabel = "Cisco FlexStack Plus" + InterfaceTypeLabelCiscoStackWise InterfaceTypeLabel = "Cisco StackWise" + InterfaceTypeLabelCiscoStackWisePlus InterfaceTypeLabel = "Cisco StackWise Plus" + InterfaceTypeLabelDDR4Gbps InterfaceTypeLabel = "DDR (4 Gbps)" + InterfaceTypeLabelE12048Mbps InterfaceTypeLabel = "E1 (2.048 Mbps)" + InterfaceTypeLabelE334Mbps InterfaceTypeLabel = "E3 (34 Mbps)" + InterfaceTypeLabelEDR25Gbps InterfaceTypeLabel = "EDR (25 Gbps)" + InterfaceTypeLabelExtremeSummitStack InterfaceTypeLabel = "Extreme SummitStack" + InterfaceTypeLabelExtremeSummitStack128 InterfaceTypeLabel = "Extreme SummitStack-128" + InterfaceTypeLabelExtremeSummitStack256 InterfaceTypeLabel = "Extreme SummitStack-256" + InterfaceTypeLabelExtremeSummitStack512 InterfaceTypeLabel = "Extreme SummitStack-512" + InterfaceTypeLabelFDR1010Gbps InterfaceTypeLabel = "FDR10 (10 Gbps)" + InterfaceTypeLabelFDR135Gbps InterfaceTypeLabel = "FDR (13.5 Gbps)" + InterfaceTypeLabelGBIC1GE InterfaceTypeLabel = "GBIC (1GE)" + InterfaceTypeLabelGSM InterfaceTypeLabel = "GSM" + InterfaceTypeLabelHDR50Gbps InterfaceTypeLabel = "HDR (50 Gbps)" + InterfaceTypeLabelIEEE80211a InterfaceTypeLabel = "IEEE 802.11a" + InterfaceTypeLabelIEEE80211ac InterfaceTypeLabel = "IEEE 802.11ac" + InterfaceTypeLabelIEEE80211ad InterfaceTypeLabel = "IEEE 802.11ad" + InterfaceTypeLabelIEEE80211ax InterfaceTypeLabel = "IEEE 802.11ax" + InterfaceTypeLabelIEEE80211bg InterfaceTypeLabel = "IEEE 802.11b/g" + InterfaceTypeLabelIEEE80211n InterfaceTypeLabel = "IEEE 802.11n" + InterfaceTypeLabelJuniperVCP InterfaceTypeLabel = "Juniper VCP" + InterfaceTypeLabelLTE InterfaceTypeLabel = "LTE" InterfaceTypeLabelLinkAggregationGroupLAG InterfaceTypeLabel = "Link Aggregation Group (LAG)" - - InterfaceTypeLabelN1000BASET1GE InterfaceTypeLabel = "1000BASE-T (1GE)" - - InterfaceTypeLabelN100BASETX10100ME InterfaceTypeLabel = "100BASE-TX (10/100ME)" - - InterfaceTypeLabelN10GBASECX410GE InterfaceTypeLabel = "10GBASE-CX4 (10GE)" - - InterfaceTypeLabelN10GBASET10GE InterfaceTypeLabel = "10GBASE-T (10GE)" - - InterfaceTypeLabelN25GBASET25GE InterfaceTypeLabel = "2.5GBASE-T (2.5GE)" - - InterfaceTypeLabelN5GBASET5GE InterfaceTypeLabel = "5GBASE-T (5GE)" - - InterfaceTypeLabelNDR100Gbps InterfaceTypeLabel = "NDR (100 Gbps)" - - InterfaceTypeLabelOC12STM4 InterfaceTypeLabel = "OC-12/STM-4" - - InterfaceTypeLabelOC1920STM640 InterfaceTypeLabel = "OC-1920/STM-640" - - InterfaceTypeLabelOC192STM64 InterfaceTypeLabel = "OC-192/STM-64" - - InterfaceTypeLabelOC3840STM1234 InterfaceTypeLabel = "OC-3840/STM-1234" - - InterfaceTypeLabelOC3STM1 InterfaceTypeLabel = "OC-3/STM-1" - - InterfaceTypeLabelOC48STM16 InterfaceTypeLabel = "OC-48/STM-16" - - InterfaceTypeLabelOC768STM256 InterfaceTypeLabel = "OC-768/STM-256" - - InterfaceTypeLabelOSFP400GE InterfaceTypeLabel = "OSFP (400GE)" - - InterfaceTypeLabelOther InterfaceTypeLabel = "Other" - - InterfaceTypeLabelQDR8Gbps InterfaceTypeLabel = "QDR (8 Gbps)" - - InterfaceTypeLabelQSFP28100GE InterfaceTypeLabel = "QSFP28 (100GE)" - - InterfaceTypeLabelQSFP28128GFC InterfaceTypeLabel = "QSFP28 (128GFC)" - - InterfaceTypeLabelQSFP2850GE InterfaceTypeLabel = "QSFP28 (50GE)" - - InterfaceTypeLabelQSFP40GE InterfaceTypeLabel = "QSFP+ (40GE)" - - InterfaceTypeLabelQSFP56200GE InterfaceTypeLabel = "QSFP56 (200GE)" - - InterfaceTypeLabelQSFP64GFC InterfaceTypeLabel = "QSFP+ (64GFC)" - - InterfaceTypeLabelQSFPDD400GE InterfaceTypeLabel = "QSFP-DD (400GE)" - - InterfaceTypeLabelSDR2Gbps InterfaceTypeLabel = "SDR (2 Gbps)" - - InterfaceTypeLabelSFP10GE InterfaceTypeLabel = "SFP+ (10GE)" - - InterfaceTypeLabelSFP16GFC InterfaceTypeLabel = "SFP+ (16GFC)" - - InterfaceTypeLabelSFP1GE InterfaceTypeLabel = "SFP (1GE)" - - InterfaceTypeLabelSFP1GFC InterfaceTypeLabel = "SFP (1GFC)" - - InterfaceTypeLabelSFP2825GE InterfaceTypeLabel = "SFP28 (25GE)" - - InterfaceTypeLabelSFP2832GFC InterfaceTypeLabel = "SFP28 (32GFC)" - - InterfaceTypeLabelSFP2GFC InterfaceTypeLabel = "SFP (2GFC)" - - InterfaceTypeLabelSFP4GFC InterfaceTypeLabel = "SFP (4GFC)" - - InterfaceTypeLabelSFP8GFC InterfaceTypeLabel = "SFP+ (8GFC)" - - InterfaceTypeLabelT11544Mbps InterfaceTypeLabel = "T1 (1.544 Mbps)" - - InterfaceTypeLabelT345Mbps InterfaceTypeLabel = "T3 (45 Mbps)" - - InterfaceTypeLabelVirtual InterfaceTypeLabel = "Virtual" - - InterfaceTypeLabelX210GE InterfaceTypeLabel = "X2 (10GE)" - - InterfaceTypeLabelXDR250Gbps InterfaceTypeLabel = "XDR (250 Gbps)" - - InterfaceTypeLabelXENPAK10GE InterfaceTypeLabel = "XENPAK (10GE)" - - InterfaceTypeLabelXFP10GE InterfaceTypeLabel = "XFP (10GE)" + InterfaceTypeLabelN1000BASET1GE InterfaceTypeLabel = "1000BASE-T (1GE)" + InterfaceTypeLabelN100BASETX10100ME InterfaceTypeLabel = "100BASE-TX (10/100ME)" + InterfaceTypeLabelN10GBASECX410GE InterfaceTypeLabel = "10GBASE-CX4 (10GE)" + InterfaceTypeLabelN10GBASET10GE InterfaceTypeLabel = "10GBASE-T (10GE)" + InterfaceTypeLabelN25GBASET25GE InterfaceTypeLabel = "2.5GBASE-T (2.5GE)" + InterfaceTypeLabelN5GBASET5GE InterfaceTypeLabel = "5GBASE-T (5GE)" + InterfaceTypeLabelNDR100Gbps InterfaceTypeLabel = "NDR (100 Gbps)" + InterfaceTypeLabelOC12STM4 InterfaceTypeLabel = "OC-12/STM-4" + InterfaceTypeLabelOC1920STM640 InterfaceTypeLabel = "OC-1920/STM-640" + InterfaceTypeLabelOC192STM64 InterfaceTypeLabel = "OC-192/STM-64" + InterfaceTypeLabelOC3840STM1234 InterfaceTypeLabel = "OC-3840/STM-1234" + InterfaceTypeLabelOC3STM1 InterfaceTypeLabel = "OC-3/STM-1" + InterfaceTypeLabelOC48STM16 InterfaceTypeLabel = "OC-48/STM-16" + InterfaceTypeLabelOC768STM256 InterfaceTypeLabel = "OC-768/STM-256" + InterfaceTypeLabelOSFP400GE InterfaceTypeLabel = "OSFP (400GE)" + InterfaceTypeLabelOther InterfaceTypeLabel = "Other" + InterfaceTypeLabelQDR8Gbps InterfaceTypeLabel = "QDR (8 Gbps)" + InterfaceTypeLabelQSFP28100GE InterfaceTypeLabel = "QSFP28 (100GE)" + InterfaceTypeLabelQSFP28128GFC InterfaceTypeLabel = "QSFP28 (128GFC)" + InterfaceTypeLabelQSFP2850GE InterfaceTypeLabel = "QSFP28 (50GE)" + InterfaceTypeLabelQSFP40GE InterfaceTypeLabel = "QSFP+ (40GE)" + InterfaceTypeLabelQSFP56200GE InterfaceTypeLabel = "QSFP56 (200GE)" + InterfaceTypeLabelQSFP64GFC InterfaceTypeLabel = "QSFP+ (64GFC)" + InterfaceTypeLabelQSFPDD400GE InterfaceTypeLabel = "QSFP-DD (400GE)" + InterfaceTypeLabelSDR2Gbps InterfaceTypeLabel = "SDR (2 Gbps)" + InterfaceTypeLabelSFP10GE InterfaceTypeLabel = "SFP+ (10GE)" + InterfaceTypeLabelSFP16GFC InterfaceTypeLabel = "SFP+ (16GFC)" + InterfaceTypeLabelSFP1GE InterfaceTypeLabel = "SFP (1GE)" + InterfaceTypeLabelSFP1GFC InterfaceTypeLabel = "SFP (1GFC)" + InterfaceTypeLabelSFP2825GE InterfaceTypeLabel = "SFP28 (25GE)" + InterfaceTypeLabelSFP2832GFC InterfaceTypeLabel = "SFP28 (32GFC)" + InterfaceTypeLabelSFP2GFC InterfaceTypeLabel = "SFP (2GFC)" + InterfaceTypeLabelSFP4GFC InterfaceTypeLabel = "SFP (4GFC)" + InterfaceTypeLabelSFP8GFC InterfaceTypeLabel = "SFP+ (8GFC)" + InterfaceTypeLabelT11544Mbps InterfaceTypeLabel = "T1 (1.544 Mbps)" + InterfaceTypeLabelT345Mbps InterfaceTypeLabel = "T3 (45 Mbps)" + InterfaceTypeLabelVirtual InterfaceTypeLabel = "Virtual" + InterfaceTypeLabelX210GE InterfaceTypeLabel = "X2 (10GE)" + InterfaceTypeLabelXDR250Gbps InterfaceTypeLabel = "XDR (250 Gbps)" + InterfaceTypeLabelXENPAK10GE InterfaceTypeLabel = "XENPAK (10GE)" + InterfaceTypeLabelXFP10GE InterfaceTypeLabel = "XFP (10GE)" ) // Defines values for InterfaceTypeValue. const ( - InterfaceTypeValueCdma InterfaceTypeValue = "cdma" - - InterfaceTypeValueCiscoFlexstack InterfaceTypeValue = "cisco-flexstack" - - InterfaceTypeValueCiscoFlexstackPlus InterfaceTypeValue = "cisco-flexstack-plus" - - InterfaceTypeValueCiscoStackwise InterfaceTypeValue = "cisco-stackwise" - - InterfaceTypeValueCiscoStackwisePlus InterfaceTypeValue = "cisco-stackwise-plus" - - InterfaceTypeValueE1 InterfaceTypeValue = "e1" - - InterfaceTypeValueE3 InterfaceTypeValue = "e3" - - InterfaceTypeValueExtremeSummitstack InterfaceTypeValue = "extreme-summitstack" - + InterfaceTypeValueBridge InterfaceTypeValue = "bridge" + InterfaceTypeValueCdma InterfaceTypeValue = "cdma" + InterfaceTypeValueCiscoFlexstack InterfaceTypeValue = "cisco-flexstack" + InterfaceTypeValueCiscoFlexstackPlus InterfaceTypeValue = "cisco-flexstack-plus" + InterfaceTypeValueCiscoStackwise InterfaceTypeValue = "cisco-stackwise" + InterfaceTypeValueCiscoStackwisePlus InterfaceTypeValue = "cisco-stackwise-plus" + InterfaceTypeValueE1 InterfaceTypeValue = "e1" + InterfaceTypeValueE3 InterfaceTypeValue = "e3" + InterfaceTypeValueExtremeSummitstack InterfaceTypeValue = "extreme-summitstack" InterfaceTypeValueExtremeSummitstack128 InterfaceTypeValue = "extreme-summitstack-128" - InterfaceTypeValueExtremeSummitstack256 InterfaceTypeValue = "extreme-summitstack-256" - InterfaceTypeValueExtremeSummitstack512 InterfaceTypeValue = "extreme-summitstack-512" + InterfaceTypeValueGsm InterfaceTypeValue = "gsm" + InterfaceTypeValueIeee80211a InterfaceTypeValue = "ieee802.11a" + InterfaceTypeValueIeee80211ac InterfaceTypeValue = "ieee802.11ac" + InterfaceTypeValueIeee80211ad InterfaceTypeValue = "ieee802.11ad" + InterfaceTypeValueIeee80211ax InterfaceTypeValue = "ieee802.11ax" + InterfaceTypeValueIeee80211g InterfaceTypeValue = "ieee802.11g" + InterfaceTypeValueIeee80211n InterfaceTypeValue = "ieee802.11n" + InterfaceTypeValueInfinibandDdr InterfaceTypeValue = "infiniband-ddr" + InterfaceTypeValueInfinibandEdr InterfaceTypeValue = "infiniband-edr" + InterfaceTypeValueInfinibandFdr InterfaceTypeValue = "infiniband-fdr" + InterfaceTypeValueInfinibandFdr10 InterfaceTypeValue = "infiniband-fdr10" + InterfaceTypeValueInfinibandHdr InterfaceTypeValue = "infiniband-hdr" + InterfaceTypeValueInfinibandNdr InterfaceTypeValue = "infiniband-ndr" + InterfaceTypeValueInfinibandQdr InterfaceTypeValue = "infiniband-qdr" + InterfaceTypeValueInfinibandSdr InterfaceTypeValue = "infiniband-sdr" + InterfaceTypeValueInfinibandXdr InterfaceTypeValue = "infiniband-xdr" + InterfaceTypeValueJuniperVcp InterfaceTypeValue = "juniper-vcp" + InterfaceTypeValueLag InterfaceTypeValue = "lag" + InterfaceTypeValueLte InterfaceTypeValue = "lte" + InterfaceTypeValueN1000baseT InterfaceTypeValue = "1000base-t" + InterfaceTypeValueN1000baseXGbic InterfaceTypeValue = "1000base-x-gbic" + InterfaceTypeValueN1000baseXSfp InterfaceTypeValue = "1000base-x-sfp" + InterfaceTypeValueN100baseTx InterfaceTypeValue = "100base-tx" + InterfaceTypeValueN100gbaseXCfp InterfaceTypeValue = "100gbase-x-cfp" + InterfaceTypeValueN100gbaseXCfp2 InterfaceTypeValue = "100gbase-x-cfp2" + InterfaceTypeValueN100gbaseXCfp4 InterfaceTypeValue = "100gbase-x-cfp4" + InterfaceTypeValueN100gbaseXCpak InterfaceTypeValue = "100gbase-x-cpak" + InterfaceTypeValueN100gbaseXQsfp28 InterfaceTypeValue = "100gbase-x-qsfp28" + InterfaceTypeValueN10gbaseCx4 InterfaceTypeValue = "10gbase-cx4" + InterfaceTypeValueN10gbaseT InterfaceTypeValue = "10gbase-t" + InterfaceTypeValueN10gbaseXSfpp InterfaceTypeValue = "10gbase-x-sfpp" + InterfaceTypeValueN10gbaseXX2 InterfaceTypeValue = "10gbase-x-x2" + InterfaceTypeValueN10gbaseXXenpak InterfaceTypeValue = "10gbase-x-xenpak" + InterfaceTypeValueN10gbaseXXfp InterfaceTypeValue = "10gbase-x-xfp" + InterfaceTypeValueN128gfcSfp28 InterfaceTypeValue = "128gfc-sfp28" + InterfaceTypeValueN16gfcSfpp InterfaceTypeValue = "16gfc-sfpp" + InterfaceTypeValueN1gfcSfp InterfaceTypeValue = "1gfc-sfp" + InterfaceTypeValueN200gbaseXCfp2 InterfaceTypeValue = "200gbase-x-cfp2" + InterfaceTypeValueN200gbaseXQsfp56 InterfaceTypeValue = "200gbase-x-qsfp56" + InterfaceTypeValueN25gbaseT InterfaceTypeValue = "2.5gbase-t" + InterfaceTypeValueN25gbaseXSfp28 InterfaceTypeValue = "25gbase-x-sfp28" + InterfaceTypeValueN2gfcSfp InterfaceTypeValue = "2gfc-sfp" + InterfaceTypeValueN32gfcSfp28 InterfaceTypeValue = "32gfc-sfp28" + InterfaceTypeValueN400gbaseXOsfp InterfaceTypeValue = "400gbase-x-osfp" + InterfaceTypeValueN400gbaseXQsfpdd InterfaceTypeValue = "400gbase-x-qsfpdd" + InterfaceTypeValueN40gbaseXQsfpp InterfaceTypeValue = "40gbase-x-qsfpp" + InterfaceTypeValueN4gfcSfp InterfaceTypeValue = "4gfc-sfp" + InterfaceTypeValueN50gbaseXSfp28 InterfaceTypeValue = "50gbase-x-sfp28" + InterfaceTypeValueN5gbaseT InterfaceTypeValue = "5gbase-t" + InterfaceTypeValueN64gfcQsfpp InterfaceTypeValue = "64gfc-qsfpp" + InterfaceTypeValueN8gfcSfpp InterfaceTypeValue = "8gfc-sfpp" + InterfaceTypeValueOther InterfaceTypeValue = "other" + InterfaceTypeValueSonetOc12 InterfaceTypeValue = "sonet-oc12" + InterfaceTypeValueSonetOc192 InterfaceTypeValue = "sonet-oc192" + InterfaceTypeValueSonetOc1920 InterfaceTypeValue = "sonet-oc1920" + InterfaceTypeValueSonetOc3 InterfaceTypeValue = "sonet-oc3" + InterfaceTypeValueSonetOc3840 InterfaceTypeValue = "sonet-oc3840" + InterfaceTypeValueSonetOc48 InterfaceTypeValue = "sonet-oc48" + InterfaceTypeValueSonetOc768 InterfaceTypeValue = "sonet-oc768" + InterfaceTypeValueT1 InterfaceTypeValue = "t1" + InterfaceTypeValueT3 InterfaceTypeValue = "t3" + InterfaceTypeValueVirtual InterfaceTypeValue = "virtual" +) - InterfaceTypeValueGsm InterfaceTypeValue = "gsm" +// Defines values for InterfaceSerializerVersion12ModeLabel. +const ( + InterfaceSerializerVersion12ModeLabelAccess InterfaceSerializerVersion12ModeLabel = "Access" + InterfaceSerializerVersion12ModeLabelTagged InterfaceSerializerVersion12ModeLabel = "Tagged" + InterfaceSerializerVersion12ModeLabelTaggedAll InterfaceSerializerVersion12ModeLabel = "Tagged (All)" +) - InterfaceTypeValueIeee80211a InterfaceTypeValue = "ieee802.11a" +// Defines values for InterfaceSerializerVersion12ModeValue. +const ( + InterfaceSerializerVersion12ModeValueAccess InterfaceSerializerVersion12ModeValue = "access" + InterfaceSerializerVersion12ModeValueTagged InterfaceSerializerVersion12ModeValue = "tagged" + InterfaceSerializerVersion12ModeValueTaggedAll InterfaceSerializerVersion12ModeValue = "tagged-all" +) - InterfaceTypeValueIeee80211ac InterfaceTypeValue = "ieee802.11ac" +// Defines values for InterfaceSerializerVersion12TypeLabel. +const ( + InterfaceSerializerVersion12TypeLabelBridge InterfaceSerializerVersion12TypeLabel = "Bridge" + InterfaceSerializerVersion12TypeLabelCDMA InterfaceSerializerVersion12TypeLabel = "CDMA" + InterfaceSerializerVersion12TypeLabelCFP100GE InterfaceSerializerVersion12TypeLabel = "CFP (100GE)" + InterfaceSerializerVersion12TypeLabelCFP2100GE InterfaceSerializerVersion12TypeLabel = "CFP2 (100GE)" + InterfaceSerializerVersion12TypeLabelCFP2200GE InterfaceSerializerVersion12TypeLabel = "CFP2 (200GE)" + InterfaceSerializerVersion12TypeLabelCFP4100GE InterfaceSerializerVersion12TypeLabel = "CFP4 (100GE)" + InterfaceSerializerVersion12TypeLabelCiscoCPAK100GE InterfaceSerializerVersion12TypeLabel = "Cisco CPAK (100GE)" + InterfaceSerializerVersion12TypeLabelCiscoFlexStack InterfaceSerializerVersion12TypeLabel = "Cisco FlexStack" + InterfaceSerializerVersion12TypeLabelCiscoFlexStackPlus InterfaceSerializerVersion12TypeLabel = "Cisco FlexStack Plus" + InterfaceSerializerVersion12TypeLabelCiscoStackWise InterfaceSerializerVersion12TypeLabel = "Cisco StackWise" + InterfaceSerializerVersion12TypeLabelCiscoStackWisePlus InterfaceSerializerVersion12TypeLabel = "Cisco StackWise Plus" + InterfaceSerializerVersion12TypeLabelDDR4Gbps InterfaceSerializerVersion12TypeLabel = "DDR (4 Gbps)" + InterfaceSerializerVersion12TypeLabelE12048Mbps InterfaceSerializerVersion12TypeLabel = "E1 (2.048 Mbps)" + InterfaceSerializerVersion12TypeLabelE334Mbps InterfaceSerializerVersion12TypeLabel = "E3 (34 Mbps)" + InterfaceSerializerVersion12TypeLabelEDR25Gbps InterfaceSerializerVersion12TypeLabel = "EDR (25 Gbps)" + InterfaceSerializerVersion12TypeLabelExtremeSummitStack InterfaceSerializerVersion12TypeLabel = "Extreme SummitStack" + InterfaceSerializerVersion12TypeLabelExtremeSummitStack128 InterfaceSerializerVersion12TypeLabel = "Extreme SummitStack-128" + InterfaceSerializerVersion12TypeLabelExtremeSummitStack256 InterfaceSerializerVersion12TypeLabel = "Extreme SummitStack-256" + InterfaceSerializerVersion12TypeLabelExtremeSummitStack512 InterfaceSerializerVersion12TypeLabel = "Extreme SummitStack-512" + InterfaceSerializerVersion12TypeLabelFDR1010Gbps InterfaceSerializerVersion12TypeLabel = "FDR10 (10 Gbps)" + InterfaceSerializerVersion12TypeLabelFDR135Gbps InterfaceSerializerVersion12TypeLabel = "FDR (13.5 Gbps)" + InterfaceSerializerVersion12TypeLabelGBIC1GE InterfaceSerializerVersion12TypeLabel = "GBIC (1GE)" + InterfaceSerializerVersion12TypeLabelGSM InterfaceSerializerVersion12TypeLabel = "GSM" + InterfaceSerializerVersion12TypeLabelHDR50Gbps InterfaceSerializerVersion12TypeLabel = "HDR (50 Gbps)" + InterfaceSerializerVersion12TypeLabelIEEE80211a InterfaceSerializerVersion12TypeLabel = "IEEE 802.11a" + InterfaceSerializerVersion12TypeLabelIEEE80211ac InterfaceSerializerVersion12TypeLabel = "IEEE 802.11ac" + InterfaceSerializerVersion12TypeLabelIEEE80211ad InterfaceSerializerVersion12TypeLabel = "IEEE 802.11ad" + InterfaceSerializerVersion12TypeLabelIEEE80211ax InterfaceSerializerVersion12TypeLabel = "IEEE 802.11ax" + InterfaceSerializerVersion12TypeLabelIEEE80211bg InterfaceSerializerVersion12TypeLabel = "IEEE 802.11b/g" + InterfaceSerializerVersion12TypeLabelIEEE80211n InterfaceSerializerVersion12TypeLabel = "IEEE 802.11n" + InterfaceSerializerVersion12TypeLabelJuniperVCP InterfaceSerializerVersion12TypeLabel = "Juniper VCP" + InterfaceSerializerVersion12TypeLabelLTE InterfaceSerializerVersion12TypeLabel = "LTE" + InterfaceSerializerVersion12TypeLabelLinkAggregationGroupLAG InterfaceSerializerVersion12TypeLabel = "Link Aggregation Group (LAG)" + InterfaceSerializerVersion12TypeLabelN1000BASET1GE InterfaceSerializerVersion12TypeLabel = "1000BASE-T (1GE)" + InterfaceSerializerVersion12TypeLabelN100BASETX10100ME InterfaceSerializerVersion12TypeLabel = "100BASE-TX (10/100ME)" + InterfaceSerializerVersion12TypeLabelN10GBASECX410GE InterfaceSerializerVersion12TypeLabel = "10GBASE-CX4 (10GE)" + InterfaceSerializerVersion12TypeLabelN10GBASET10GE InterfaceSerializerVersion12TypeLabel = "10GBASE-T (10GE)" + InterfaceSerializerVersion12TypeLabelN25GBASET25GE InterfaceSerializerVersion12TypeLabel = "2.5GBASE-T (2.5GE)" + InterfaceSerializerVersion12TypeLabelN5GBASET5GE InterfaceSerializerVersion12TypeLabel = "5GBASE-T (5GE)" + InterfaceSerializerVersion12TypeLabelNDR100Gbps InterfaceSerializerVersion12TypeLabel = "NDR (100 Gbps)" + InterfaceSerializerVersion12TypeLabelOC12STM4 InterfaceSerializerVersion12TypeLabel = "OC-12/STM-4" + InterfaceSerializerVersion12TypeLabelOC1920STM640 InterfaceSerializerVersion12TypeLabel = "OC-1920/STM-640" + InterfaceSerializerVersion12TypeLabelOC192STM64 InterfaceSerializerVersion12TypeLabel = "OC-192/STM-64" + InterfaceSerializerVersion12TypeLabelOC3840STM1234 InterfaceSerializerVersion12TypeLabel = "OC-3840/STM-1234" + InterfaceSerializerVersion12TypeLabelOC3STM1 InterfaceSerializerVersion12TypeLabel = "OC-3/STM-1" + InterfaceSerializerVersion12TypeLabelOC48STM16 InterfaceSerializerVersion12TypeLabel = "OC-48/STM-16" + InterfaceSerializerVersion12TypeLabelOC768STM256 InterfaceSerializerVersion12TypeLabel = "OC-768/STM-256" + InterfaceSerializerVersion12TypeLabelOSFP400GE InterfaceSerializerVersion12TypeLabel = "OSFP (400GE)" + InterfaceSerializerVersion12TypeLabelOther InterfaceSerializerVersion12TypeLabel = "Other" + InterfaceSerializerVersion12TypeLabelQDR8Gbps InterfaceSerializerVersion12TypeLabel = "QDR (8 Gbps)" + InterfaceSerializerVersion12TypeLabelQSFP28100GE InterfaceSerializerVersion12TypeLabel = "QSFP28 (100GE)" + InterfaceSerializerVersion12TypeLabelQSFP28128GFC InterfaceSerializerVersion12TypeLabel = "QSFP28 (128GFC)" + InterfaceSerializerVersion12TypeLabelQSFP2850GE InterfaceSerializerVersion12TypeLabel = "QSFP28 (50GE)" + InterfaceSerializerVersion12TypeLabelQSFP40GE InterfaceSerializerVersion12TypeLabel = "QSFP+ (40GE)" + InterfaceSerializerVersion12TypeLabelQSFP56200GE InterfaceSerializerVersion12TypeLabel = "QSFP56 (200GE)" + InterfaceSerializerVersion12TypeLabelQSFP64GFC InterfaceSerializerVersion12TypeLabel = "QSFP+ (64GFC)" + InterfaceSerializerVersion12TypeLabelQSFPDD400GE InterfaceSerializerVersion12TypeLabel = "QSFP-DD (400GE)" + InterfaceSerializerVersion12TypeLabelSDR2Gbps InterfaceSerializerVersion12TypeLabel = "SDR (2 Gbps)" + InterfaceSerializerVersion12TypeLabelSFP10GE InterfaceSerializerVersion12TypeLabel = "SFP+ (10GE)" + InterfaceSerializerVersion12TypeLabelSFP16GFC InterfaceSerializerVersion12TypeLabel = "SFP+ (16GFC)" + InterfaceSerializerVersion12TypeLabelSFP1GE InterfaceSerializerVersion12TypeLabel = "SFP (1GE)" + InterfaceSerializerVersion12TypeLabelSFP1GFC InterfaceSerializerVersion12TypeLabel = "SFP (1GFC)" + InterfaceSerializerVersion12TypeLabelSFP2825GE InterfaceSerializerVersion12TypeLabel = "SFP28 (25GE)" + InterfaceSerializerVersion12TypeLabelSFP2832GFC InterfaceSerializerVersion12TypeLabel = "SFP28 (32GFC)" + InterfaceSerializerVersion12TypeLabelSFP2GFC InterfaceSerializerVersion12TypeLabel = "SFP (2GFC)" + InterfaceSerializerVersion12TypeLabelSFP4GFC InterfaceSerializerVersion12TypeLabel = "SFP (4GFC)" + InterfaceSerializerVersion12TypeLabelSFP8GFC InterfaceSerializerVersion12TypeLabel = "SFP+ (8GFC)" + InterfaceSerializerVersion12TypeLabelT11544Mbps InterfaceSerializerVersion12TypeLabel = "T1 (1.544 Mbps)" + InterfaceSerializerVersion12TypeLabelT345Mbps InterfaceSerializerVersion12TypeLabel = "T3 (45 Mbps)" + InterfaceSerializerVersion12TypeLabelVirtual InterfaceSerializerVersion12TypeLabel = "Virtual" + InterfaceSerializerVersion12TypeLabelX210GE InterfaceSerializerVersion12TypeLabel = "X2 (10GE)" + InterfaceSerializerVersion12TypeLabelXDR250Gbps InterfaceSerializerVersion12TypeLabel = "XDR (250 Gbps)" + InterfaceSerializerVersion12TypeLabelXENPAK10GE InterfaceSerializerVersion12TypeLabel = "XENPAK (10GE)" + InterfaceSerializerVersion12TypeLabelXFP10GE InterfaceSerializerVersion12TypeLabel = "XFP (10GE)" +) - InterfaceTypeValueIeee80211ad InterfaceTypeValue = "ieee802.11ad" +// Defines values for InterfaceSerializerVersion12TypeValue. +const ( + InterfaceSerializerVersion12TypeValueBridge InterfaceSerializerVersion12TypeValue = "bridge" + InterfaceSerializerVersion12TypeValueCdma InterfaceSerializerVersion12TypeValue = "cdma" + InterfaceSerializerVersion12TypeValueCiscoFlexstack InterfaceSerializerVersion12TypeValue = "cisco-flexstack" + InterfaceSerializerVersion12TypeValueCiscoFlexstackPlus InterfaceSerializerVersion12TypeValue = "cisco-flexstack-plus" + InterfaceSerializerVersion12TypeValueCiscoStackwise InterfaceSerializerVersion12TypeValue = "cisco-stackwise" + InterfaceSerializerVersion12TypeValueCiscoStackwisePlus InterfaceSerializerVersion12TypeValue = "cisco-stackwise-plus" + InterfaceSerializerVersion12TypeValueE1 InterfaceSerializerVersion12TypeValue = "e1" + InterfaceSerializerVersion12TypeValueE3 InterfaceSerializerVersion12TypeValue = "e3" + InterfaceSerializerVersion12TypeValueExtremeSummitstack InterfaceSerializerVersion12TypeValue = "extreme-summitstack" + InterfaceSerializerVersion12TypeValueExtremeSummitstack128 InterfaceSerializerVersion12TypeValue = "extreme-summitstack-128" + InterfaceSerializerVersion12TypeValueExtremeSummitstack256 InterfaceSerializerVersion12TypeValue = "extreme-summitstack-256" + InterfaceSerializerVersion12TypeValueExtremeSummitstack512 InterfaceSerializerVersion12TypeValue = "extreme-summitstack-512" + InterfaceSerializerVersion12TypeValueGsm InterfaceSerializerVersion12TypeValue = "gsm" + InterfaceSerializerVersion12TypeValueIeee80211a InterfaceSerializerVersion12TypeValue = "ieee802.11a" + InterfaceSerializerVersion12TypeValueIeee80211ac InterfaceSerializerVersion12TypeValue = "ieee802.11ac" + InterfaceSerializerVersion12TypeValueIeee80211ad InterfaceSerializerVersion12TypeValue = "ieee802.11ad" + InterfaceSerializerVersion12TypeValueIeee80211ax InterfaceSerializerVersion12TypeValue = "ieee802.11ax" + InterfaceSerializerVersion12TypeValueIeee80211g InterfaceSerializerVersion12TypeValue = "ieee802.11g" + InterfaceSerializerVersion12TypeValueIeee80211n InterfaceSerializerVersion12TypeValue = "ieee802.11n" + InterfaceSerializerVersion12TypeValueInfinibandDdr InterfaceSerializerVersion12TypeValue = "infiniband-ddr" + InterfaceSerializerVersion12TypeValueInfinibandEdr InterfaceSerializerVersion12TypeValue = "infiniband-edr" + InterfaceSerializerVersion12TypeValueInfinibandFdr InterfaceSerializerVersion12TypeValue = "infiniband-fdr" + InterfaceSerializerVersion12TypeValueInfinibandFdr10 InterfaceSerializerVersion12TypeValue = "infiniband-fdr10" + InterfaceSerializerVersion12TypeValueInfinibandHdr InterfaceSerializerVersion12TypeValue = "infiniband-hdr" + InterfaceSerializerVersion12TypeValueInfinibandNdr InterfaceSerializerVersion12TypeValue = "infiniband-ndr" + InterfaceSerializerVersion12TypeValueInfinibandQdr InterfaceSerializerVersion12TypeValue = "infiniband-qdr" + InterfaceSerializerVersion12TypeValueInfinibandSdr InterfaceSerializerVersion12TypeValue = "infiniband-sdr" + InterfaceSerializerVersion12TypeValueInfinibandXdr InterfaceSerializerVersion12TypeValue = "infiniband-xdr" + InterfaceSerializerVersion12TypeValueJuniperVcp InterfaceSerializerVersion12TypeValue = "juniper-vcp" + InterfaceSerializerVersion12TypeValueLag InterfaceSerializerVersion12TypeValue = "lag" + InterfaceSerializerVersion12TypeValueLte InterfaceSerializerVersion12TypeValue = "lte" + InterfaceSerializerVersion12TypeValueN1000baseT InterfaceSerializerVersion12TypeValue = "1000base-t" + InterfaceSerializerVersion12TypeValueN1000baseXGbic InterfaceSerializerVersion12TypeValue = "1000base-x-gbic" + InterfaceSerializerVersion12TypeValueN1000baseXSfp InterfaceSerializerVersion12TypeValue = "1000base-x-sfp" + InterfaceSerializerVersion12TypeValueN100baseTx InterfaceSerializerVersion12TypeValue = "100base-tx" + InterfaceSerializerVersion12TypeValueN100gbaseXCfp InterfaceSerializerVersion12TypeValue = "100gbase-x-cfp" + InterfaceSerializerVersion12TypeValueN100gbaseXCfp2 InterfaceSerializerVersion12TypeValue = "100gbase-x-cfp2" + InterfaceSerializerVersion12TypeValueN100gbaseXCfp4 InterfaceSerializerVersion12TypeValue = "100gbase-x-cfp4" + InterfaceSerializerVersion12TypeValueN100gbaseXCpak InterfaceSerializerVersion12TypeValue = "100gbase-x-cpak" + InterfaceSerializerVersion12TypeValueN100gbaseXQsfp28 InterfaceSerializerVersion12TypeValue = "100gbase-x-qsfp28" + InterfaceSerializerVersion12TypeValueN10gbaseCx4 InterfaceSerializerVersion12TypeValue = "10gbase-cx4" + InterfaceSerializerVersion12TypeValueN10gbaseT InterfaceSerializerVersion12TypeValue = "10gbase-t" + InterfaceSerializerVersion12TypeValueN10gbaseXSfpp InterfaceSerializerVersion12TypeValue = "10gbase-x-sfpp" + InterfaceSerializerVersion12TypeValueN10gbaseXX2 InterfaceSerializerVersion12TypeValue = "10gbase-x-x2" + InterfaceSerializerVersion12TypeValueN10gbaseXXenpak InterfaceSerializerVersion12TypeValue = "10gbase-x-xenpak" + InterfaceSerializerVersion12TypeValueN10gbaseXXfp InterfaceSerializerVersion12TypeValue = "10gbase-x-xfp" + InterfaceSerializerVersion12TypeValueN128gfcSfp28 InterfaceSerializerVersion12TypeValue = "128gfc-sfp28" + InterfaceSerializerVersion12TypeValueN16gfcSfpp InterfaceSerializerVersion12TypeValue = "16gfc-sfpp" + InterfaceSerializerVersion12TypeValueN1gfcSfp InterfaceSerializerVersion12TypeValue = "1gfc-sfp" + InterfaceSerializerVersion12TypeValueN200gbaseXCfp2 InterfaceSerializerVersion12TypeValue = "200gbase-x-cfp2" + InterfaceSerializerVersion12TypeValueN200gbaseXQsfp56 InterfaceSerializerVersion12TypeValue = "200gbase-x-qsfp56" + InterfaceSerializerVersion12TypeValueN25gbaseT InterfaceSerializerVersion12TypeValue = "2.5gbase-t" + InterfaceSerializerVersion12TypeValueN25gbaseXSfp28 InterfaceSerializerVersion12TypeValue = "25gbase-x-sfp28" + InterfaceSerializerVersion12TypeValueN2gfcSfp InterfaceSerializerVersion12TypeValue = "2gfc-sfp" + InterfaceSerializerVersion12TypeValueN32gfcSfp28 InterfaceSerializerVersion12TypeValue = "32gfc-sfp28" + InterfaceSerializerVersion12TypeValueN400gbaseXOsfp InterfaceSerializerVersion12TypeValue = "400gbase-x-osfp" + InterfaceSerializerVersion12TypeValueN400gbaseXQsfpdd InterfaceSerializerVersion12TypeValue = "400gbase-x-qsfpdd" + InterfaceSerializerVersion12TypeValueN40gbaseXQsfpp InterfaceSerializerVersion12TypeValue = "40gbase-x-qsfpp" + InterfaceSerializerVersion12TypeValueN4gfcSfp InterfaceSerializerVersion12TypeValue = "4gfc-sfp" + InterfaceSerializerVersion12TypeValueN50gbaseXSfp28 InterfaceSerializerVersion12TypeValue = "50gbase-x-sfp28" + InterfaceSerializerVersion12TypeValueN5gbaseT InterfaceSerializerVersion12TypeValue = "5gbase-t" + InterfaceSerializerVersion12TypeValueN64gfcQsfpp InterfaceSerializerVersion12TypeValue = "64gfc-qsfpp" + InterfaceSerializerVersion12TypeValueN8gfcSfpp InterfaceSerializerVersion12TypeValue = "8gfc-sfpp" + InterfaceSerializerVersion12TypeValueOther InterfaceSerializerVersion12TypeValue = "other" + InterfaceSerializerVersion12TypeValueSonetOc12 InterfaceSerializerVersion12TypeValue = "sonet-oc12" + InterfaceSerializerVersion12TypeValueSonetOc192 InterfaceSerializerVersion12TypeValue = "sonet-oc192" + InterfaceSerializerVersion12TypeValueSonetOc1920 InterfaceSerializerVersion12TypeValue = "sonet-oc1920" + InterfaceSerializerVersion12TypeValueSonetOc3 InterfaceSerializerVersion12TypeValue = "sonet-oc3" + InterfaceSerializerVersion12TypeValueSonetOc3840 InterfaceSerializerVersion12TypeValue = "sonet-oc3840" + InterfaceSerializerVersion12TypeValueSonetOc48 InterfaceSerializerVersion12TypeValue = "sonet-oc48" + InterfaceSerializerVersion12TypeValueSonetOc768 InterfaceSerializerVersion12TypeValue = "sonet-oc768" + InterfaceSerializerVersion12TypeValueT1 InterfaceSerializerVersion12TypeValue = "t1" + InterfaceSerializerVersion12TypeValueT3 InterfaceSerializerVersion12TypeValue = "t3" + InterfaceSerializerVersion12TypeValueVirtual InterfaceSerializerVersion12TypeValue = "virtual" +) - InterfaceTypeValueIeee80211ax InterfaceTypeValue = "ieee802.11ax" - - InterfaceTypeValueIeee80211g InterfaceTypeValue = "ieee802.11g" - - InterfaceTypeValueIeee80211n InterfaceTypeValue = "ieee802.11n" - - InterfaceTypeValueInfinibandDdr InterfaceTypeValue = "infiniband-ddr" - - InterfaceTypeValueInfinibandEdr InterfaceTypeValue = "infiniband-edr" - - InterfaceTypeValueInfinibandFdr InterfaceTypeValue = "infiniband-fdr" - - InterfaceTypeValueInfinibandFdr10 InterfaceTypeValue = "infiniband-fdr10" - - InterfaceTypeValueInfinibandHdr InterfaceTypeValue = "infiniband-hdr" - - InterfaceTypeValueInfinibandNdr InterfaceTypeValue = "infiniband-ndr" - - InterfaceTypeValueInfinibandQdr InterfaceTypeValue = "infiniband-qdr" - - InterfaceTypeValueInfinibandSdr InterfaceTypeValue = "infiniband-sdr" - - InterfaceTypeValueInfinibandXdr InterfaceTypeValue = "infiniband-xdr" - - InterfaceTypeValueJuniperVcp InterfaceTypeValue = "juniper-vcp" - - InterfaceTypeValueLag InterfaceTypeValue = "lag" - - InterfaceTypeValueLte InterfaceTypeValue = "lte" - - InterfaceTypeValueN1000baseT InterfaceTypeValue = "1000base-t" - - InterfaceTypeValueN1000baseXGbic InterfaceTypeValue = "1000base-x-gbic" - - InterfaceTypeValueN1000baseXSfp InterfaceTypeValue = "1000base-x-sfp" - - InterfaceTypeValueN100baseTx InterfaceTypeValue = "100base-tx" - - InterfaceTypeValueN100gbaseXCfp InterfaceTypeValue = "100gbase-x-cfp" - - InterfaceTypeValueN100gbaseXCfp2 InterfaceTypeValue = "100gbase-x-cfp2" - - InterfaceTypeValueN100gbaseXCfp4 InterfaceTypeValue = "100gbase-x-cfp4" - - InterfaceTypeValueN100gbaseXCpak InterfaceTypeValue = "100gbase-x-cpak" - - InterfaceTypeValueN100gbaseXQsfp28 InterfaceTypeValue = "100gbase-x-qsfp28" - - InterfaceTypeValueN10gbaseCx4 InterfaceTypeValue = "10gbase-cx4" - - InterfaceTypeValueN10gbaseT InterfaceTypeValue = "10gbase-t" - - InterfaceTypeValueN10gbaseXSfpp InterfaceTypeValue = "10gbase-x-sfpp" - - InterfaceTypeValueN10gbaseXX2 InterfaceTypeValue = "10gbase-x-x2" - - InterfaceTypeValueN10gbaseXXenpak InterfaceTypeValue = "10gbase-x-xenpak" - - InterfaceTypeValueN10gbaseXXfp InterfaceTypeValue = "10gbase-x-xfp" - - InterfaceTypeValueN128gfcSfp28 InterfaceTypeValue = "128gfc-sfp28" - - InterfaceTypeValueN16gfcSfpp InterfaceTypeValue = "16gfc-sfpp" - - InterfaceTypeValueN1gfcSfp InterfaceTypeValue = "1gfc-sfp" - - InterfaceTypeValueN200gbaseXCfp2 InterfaceTypeValue = "200gbase-x-cfp2" - - InterfaceTypeValueN200gbaseXQsfp56 InterfaceTypeValue = "200gbase-x-qsfp56" - - InterfaceTypeValueN25gbaseT InterfaceTypeValue = "2.5gbase-t" - - InterfaceTypeValueN25gbaseXSfp28 InterfaceTypeValue = "25gbase-x-sfp28" - - InterfaceTypeValueN2gfcSfp InterfaceTypeValue = "2gfc-sfp" - - InterfaceTypeValueN32gfcSfp28 InterfaceTypeValue = "32gfc-sfp28" - - InterfaceTypeValueN400gbaseXOsfp InterfaceTypeValue = "400gbase-x-osfp" - - InterfaceTypeValueN400gbaseXQsfpdd InterfaceTypeValue = "400gbase-x-qsfpdd" - - InterfaceTypeValueN40gbaseXQsfpp InterfaceTypeValue = "40gbase-x-qsfpp" - - InterfaceTypeValueN4gfcSfp InterfaceTypeValue = "4gfc-sfp" - - InterfaceTypeValueN50gbaseXSfp28 InterfaceTypeValue = "50gbase-x-sfp28" - - InterfaceTypeValueN5gbaseT InterfaceTypeValue = "5gbase-t" - - InterfaceTypeValueN64gfcQsfpp InterfaceTypeValue = "64gfc-qsfpp" - - InterfaceTypeValueN8gfcSfpp InterfaceTypeValue = "8gfc-sfpp" - - InterfaceTypeValueOther InterfaceTypeValue = "other" - - InterfaceTypeValueSonetOc12 InterfaceTypeValue = "sonet-oc12" - - InterfaceTypeValueSonetOc192 InterfaceTypeValue = "sonet-oc192" - - InterfaceTypeValueSonetOc1920 InterfaceTypeValue = "sonet-oc1920" - - InterfaceTypeValueSonetOc3 InterfaceTypeValue = "sonet-oc3" - - InterfaceTypeValueSonetOc3840 InterfaceTypeValue = "sonet-oc3840" - - InterfaceTypeValueSonetOc48 InterfaceTypeValue = "sonet-oc48" - - InterfaceTypeValueSonetOc768 InterfaceTypeValue = "sonet-oc768" - - InterfaceTypeValueT1 InterfaceTypeValue = "t1" - - InterfaceTypeValueT3 InterfaceTypeValue = "t3" - - InterfaceTypeValueVirtual InterfaceTypeValue = "virtual" +// Defines values for InterfaceStatusChoices. +const ( + InterfaceStatusChoicesActive InterfaceStatusChoices = "active" + InterfaceStatusChoicesDecommissioning InterfaceStatusChoices = "decommissioning" + InterfaceStatusChoicesFailed InterfaceStatusChoices = "failed" + InterfaceStatusChoicesMaintenance InterfaceStatusChoices = "maintenance" + InterfaceStatusChoicesPlanned InterfaceStatusChoices = "planned" ) // Defines values for InterfaceTemplateTypeLabel. const ( - InterfaceTemplateTypeLabelCDMA InterfaceTemplateTypeLabel = "CDMA" - - InterfaceTemplateTypeLabelCFP100GE InterfaceTemplateTypeLabel = "CFP (100GE)" - - InterfaceTemplateTypeLabelCFP2100GE InterfaceTemplateTypeLabel = "CFP2 (100GE)" - - InterfaceTemplateTypeLabelCFP2200GE InterfaceTemplateTypeLabel = "CFP2 (200GE)" - - InterfaceTemplateTypeLabelCFP4100GE InterfaceTemplateTypeLabel = "CFP4 (100GE)" - - InterfaceTemplateTypeLabelCiscoCPAK100GE InterfaceTemplateTypeLabel = "Cisco CPAK (100GE)" - - InterfaceTemplateTypeLabelCiscoFlexStack InterfaceTemplateTypeLabel = "Cisco FlexStack" - - InterfaceTemplateTypeLabelCiscoFlexStackPlus InterfaceTemplateTypeLabel = "Cisco FlexStack Plus" - - InterfaceTemplateTypeLabelCiscoStackWise InterfaceTemplateTypeLabel = "Cisco StackWise" - - InterfaceTemplateTypeLabelCiscoStackWisePlus InterfaceTemplateTypeLabel = "Cisco StackWise Plus" - - InterfaceTemplateTypeLabelDDR4Gbps InterfaceTemplateTypeLabel = "DDR (4 Gbps)" - - InterfaceTemplateTypeLabelE12048Mbps InterfaceTemplateTypeLabel = "E1 (2.048 Mbps)" - - InterfaceTemplateTypeLabelE334Mbps InterfaceTemplateTypeLabel = "E3 (34 Mbps)" - - InterfaceTemplateTypeLabelEDR25Gbps InterfaceTemplateTypeLabel = "EDR (25 Gbps)" - - InterfaceTemplateTypeLabelExtremeSummitStack InterfaceTemplateTypeLabel = "Extreme SummitStack" - - InterfaceTemplateTypeLabelExtremeSummitStack128 InterfaceTemplateTypeLabel = "Extreme SummitStack-128" - - InterfaceTemplateTypeLabelExtremeSummitStack256 InterfaceTemplateTypeLabel = "Extreme SummitStack-256" - - InterfaceTemplateTypeLabelExtremeSummitStack512 InterfaceTemplateTypeLabel = "Extreme SummitStack-512" - - InterfaceTemplateTypeLabelFDR1010Gbps InterfaceTemplateTypeLabel = "FDR10 (10 Gbps)" - - InterfaceTemplateTypeLabelFDR135Gbps InterfaceTemplateTypeLabel = "FDR (13.5 Gbps)" - - InterfaceTemplateTypeLabelGBIC1GE InterfaceTemplateTypeLabel = "GBIC (1GE)" - - InterfaceTemplateTypeLabelGSM InterfaceTemplateTypeLabel = "GSM" - - InterfaceTemplateTypeLabelHDR50Gbps InterfaceTemplateTypeLabel = "HDR (50 Gbps)" - - InterfaceTemplateTypeLabelIEEE80211a InterfaceTemplateTypeLabel = "IEEE 802.11a" - - InterfaceTemplateTypeLabelIEEE80211ac InterfaceTemplateTypeLabel = "IEEE 802.11ac" - - InterfaceTemplateTypeLabelIEEE80211ad InterfaceTemplateTypeLabel = "IEEE 802.11ad" - - InterfaceTemplateTypeLabelIEEE80211ax InterfaceTemplateTypeLabel = "IEEE 802.11ax" - - InterfaceTemplateTypeLabelIEEE80211bg InterfaceTemplateTypeLabel = "IEEE 802.11b/g" - - InterfaceTemplateTypeLabelIEEE80211n InterfaceTemplateTypeLabel = "IEEE 802.11n" - - InterfaceTemplateTypeLabelJuniperVCP InterfaceTemplateTypeLabel = "Juniper VCP" - - InterfaceTemplateTypeLabelLTE InterfaceTemplateTypeLabel = "LTE" - + InterfaceTemplateTypeLabelBridge InterfaceTemplateTypeLabel = "Bridge" + InterfaceTemplateTypeLabelCDMA InterfaceTemplateTypeLabel = "CDMA" + InterfaceTemplateTypeLabelCFP100GE InterfaceTemplateTypeLabel = "CFP (100GE)" + InterfaceTemplateTypeLabelCFP2100GE InterfaceTemplateTypeLabel = "CFP2 (100GE)" + InterfaceTemplateTypeLabelCFP2200GE InterfaceTemplateTypeLabel = "CFP2 (200GE)" + InterfaceTemplateTypeLabelCFP4100GE InterfaceTemplateTypeLabel = "CFP4 (100GE)" + InterfaceTemplateTypeLabelCiscoCPAK100GE InterfaceTemplateTypeLabel = "Cisco CPAK (100GE)" + InterfaceTemplateTypeLabelCiscoFlexStack InterfaceTemplateTypeLabel = "Cisco FlexStack" + InterfaceTemplateTypeLabelCiscoFlexStackPlus InterfaceTemplateTypeLabel = "Cisco FlexStack Plus" + InterfaceTemplateTypeLabelCiscoStackWise InterfaceTemplateTypeLabel = "Cisco StackWise" + InterfaceTemplateTypeLabelCiscoStackWisePlus InterfaceTemplateTypeLabel = "Cisco StackWise Plus" + InterfaceTemplateTypeLabelDDR4Gbps InterfaceTemplateTypeLabel = "DDR (4 Gbps)" + InterfaceTemplateTypeLabelE12048Mbps InterfaceTemplateTypeLabel = "E1 (2.048 Mbps)" + InterfaceTemplateTypeLabelE334Mbps InterfaceTemplateTypeLabel = "E3 (34 Mbps)" + InterfaceTemplateTypeLabelEDR25Gbps InterfaceTemplateTypeLabel = "EDR (25 Gbps)" + InterfaceTemplateTypeLabelExtremeSummitStack InterfaceTemplateTypeLabel = "Extreme SummitStack" + InterfaceTemplateTypeLabelExtremeSummitStack128 InterfaceTemplateTypeLabel = "Extreme SummitStack-128" + InterfaceTemplateTypeLabelExtremeSummitStack256 InterfaceTemplateTypeLabel = "Extreme SummitStack-256" + InterfaceTemplateTypeLabelExtremeSummitStack512 InterfaceTemplateTypeLabel = "Extreme SummitStack-512" + InterfaceTemplateTypeLabelFDR1010Gbps InterfaceTemplateTypeLabel = "FDR10 (10 Gbps)" + InterfaceTemplateTypeLabelFDR135Gbps InterfaceTemplateTypeLabel = "FDR (13.5 Gbps)" + InterfaceTemplateTypeLabelGBIC1GE InterfaceTemplateTypeLabel = "GBIC (1GE)" + InterfaceTemplateTypeLabelGSM InterfaceTemplateTypeLabel = "GSM" + InterfaceTemplateTypeLabelHDR50Gbps InterfaceTemplateTypeLabel = "HDR (50 Gbps)" + InterfaceTemplateTypeLabelIEEE80211a InterfaceTemplateTypeLabel = "IEEE 802.11a" + InterfaceTemplateTypeLabelIEEE80211ac InterfaceTemplateTypeLabel = "IEEE 802.11ac" + InterfaceTemplateTypeLabelIEEE80211ad InterfaceTemplateTypeLabel = "IEEE 802.11ad" + InterfaceTemplateTypeLabelIEEE80211ax InterfaceTemplateTypeLabel = "IEEE 802.11ax" + InterfaceTemplateTypeLabelIEEE80211bg InterfaceTemplateTypeLabel = "IEEE 802.11b/g" + InterfaceTemplateTypeLabelIEEE80211n InterfaceTemplateTypeLabel = "IEEE 802.11n" + InterfaceTemplateTypeLabelJuniperVCP InterfaceTemplateTypeLabel = "Juniper VCP" + InterfaceTemplateTypeLabelLTE InterfaceTemplateTypeLabel = "LTE" InterfaceTemplateTypeLabelLinkAggregationGroupLAG InterfaceTemplateTypeLabel = "Link Aggregation Group (LAG)" - - InterfaceTemplateTypeLabelN1000BASET1GE InterfaceTemplateTypeLabel = "1000BASE-T (1GE)" - - InterfaceTemplateTypeLabelN100BASETX10100ME InterfaceTemplateTypeLabel = "100BASE-TX (10/100ME)" - - InterfaceTemplateTypeLabelN10GBASECX410GE InterfaceTemplateTypeLabel = "10GBASE-CX4 (10GE)" - - InterfaceTemplateTypeLabelN10GBASET10GE InterfaceTemplateTypeLabel = "10GBASE-T (10GE)" - - InterfaceTemplateTypeLabelN25GBASET25GE InterfaceTemplateTypeLabel = "2.5GBASE-T (2.5GE)" - - InterfaceTemplateTypeLabelN5GBASET5GE InterfaceTemplateTypeLabel = "5GBASE-T (5GE)" - - InterfaceTemplateTypeLabelNDR100Gbps InterfaceTemplateTypeLabel = "NDR (100 Gbps)" - - InterfaceTemplateTypeLabelOC12STM4 InterfaceTemplateTypeLabel = "OC-12/STM-4" - - InterfaceTemplateTypeLabelOC1920STM640 InterfaceTemplateTypeLabel = "OC-1920/STM-640" - - InterfaceTemplateTypeLabelOC192STM64 InterfaceTemplateTypeLabel = "OC-192/STM-64" - - InterfaceTemplateTypeLabelOC3840STM1234 InterfaceTemplateTypeLabel = "OC-3840/STM-1234" - - InterfaceTemplateTypeLabelOC3STM1 InterfaceTemplateTypeLabel = "OC-3/STM-1" - - InterfaceTemplateTypeLabelOC48STM16 InterfaceTemplateTypeLabel = "OC-48/STM-16" - - InterfaceTemplateTypeLabelOC768STM256 InterfaceTemplateTypeLabel = "OC-768/STM-256" - - InterfaceTemplateTypeLabelOSFP400GE InterfaceTemplateTypeLabel = "OSFP (400GE)" - - InterfaceTemplateTypeLabelOther InterfaceTemplateTypeLabel = "Other" - - InterfaceTemplateTypeLabelQDR8Gbps InterfaceTemplateTypeLabel = "QDR (8 Gbps)" - - InterfaceTemplateTypeLabelQSFP28100GE InterfaceTemplateTypeLabel = "QSFP28 (100GE)" - - InterfaceTemplateTypeLabelQSFP28128GFC InterfaceTemplateTypeLabel = "QSFP28 (128GFC)" - - InterfaceTemplateTypeLabelQSFP2850GE InterfaceTemplateTypeLabel = "QSFP28 (50GE)" - - InterfaceTemplateTypeLabelQSFP40GE InterfaceTemplateTypeLabel = "QSFP+ (40GE)" - - InterfaceTemplateTypeLabelQSFP56200GE InterfaceTemplateTypeLabel = "QSFP56 (200GE)" - - InterfaceTemplateTypeLabelQSFP64GFC InterfaceTemplateTypeLabel = "QSFP+ (64GFC)" - - InterfaceTemplateTypeLabelQSFPDD400GE InterfaceTemplateTypeLabel = "QSFP-DD (400GE)" - - InterfaceTemplateTypeLabelSDR2Gbps InterfaceTemplateTypeLabel = "SDR (2 Gbps)" - - InterfaceTemplateTypeLabelSFP10GE InterfaceTemplateTypeLabel = "SFP+ (10GE)" - - InterfaceTemplateTypeLabelSFP16GFC InterfaceTemplateTypeLabel = "SFP+ (16GFC)" - - InterfaceTemplateTypeLabelSFP1GE InterfaceTemplateTypeLabel = "SFP (1GE)" - - InterfaceTemplateTypeLabelSFP1GFC InterfaceTemplateTypeLabel = "SFP (1GFC)" - - InterfaceTemplateTypeLabelSFP2825GE InterfaceTemplateTypeLabel = "SFP28 (25GE)" - - InterfaceTemplateTypeLabelSFP2832GFC InterfaceTemplateTypeLabel = "SFP28 (32GFC)" - - InterfaceTemplateTypeLabelSFP2GFC InterfaceTemplateTypeLabel = "SFP (2GFC)" - - InterfaceTemplateTypeLabelSFP4GFC InterfaceTemplateTypeLabel = "SFP (4GFC)" - - InterfaceTemplateTypeLabelSFP8GFC InterfaceTemplateTypeLabel = "SFP+ (8GFC)" - - InterfaceTemplateTypeLabelT11544Mbps InterfaceTemplateTypeLabel = "T1 (1.544 Mbps)" - - InterfaceTemplateTypeLabelT345Mbps InterfaceTemplateTypeLabel = "T3 (45 Mbps)" - - InterfaceTemplateTypeLabelVirtual InterfaceTemplateTypeLabel = "Virtual" - - InterfaceTemplateTypeLabelX210GE InterfaceTemplateTypeLabel = "X2 (10GE)" - - InterfaceTemplateTypeLabelXDR250Gbps InterfaceTemplateTypeLabel = "XDR (250 Gbps)" - - InterfaceTemplateTypeLabelXENPAK10GE InterfaceTemplateTypeLabel = "XENPAK (10GE)" - - InterfaceTemplateTypeLabelXFP10GE InterfaceTemplateTypeLabel = "XFP (10GE)" + InterfaceTemplateTypeLabelN1000BASET1GE InterfaceTemplateTypeLabel = "1000BASE-T (1GE)" + InterfaceTemplateTypeLabelN100BASETX10100ME InterfaceTemplateTypeLabel = "100BASE-TX (10/100ME)" + InterfaceTemplateTypeLabelN10GBASECX410GE InterfaceTemplateTypeLabel = "10GBASE-CX4 (10GE)" + InterfaceTemplateTypeLabelN10GBASET10GE InterfaceTemplateTypeLabel = "10GBASE-T (10GE)" + InterfaceTemplateTypeLabelN25GBASET25GE InterfaceTemplateTypeLabel = "2.5GBASE-T (2.5GE)" + InterfaceTemplateTypeLabelN5GBASET5GE InterfaceTemplateTypeLabel = "5GBASE-T (5GE)" + InterfaceTemplateTypeLabelNDR100Gbps InterfaceTemplateTypeLabel = "NDR (100 Gbps)" + InterfaceTemplateTypeLabelOC12STM4 InterfaceTemplateTypeLabel = "OC-12/STM-4" + InterfaceTemplateTypeLabelOC1920STM640 InterfaceTemplateTypeLabel = "OC-1920/STM-640" + InterfaceTemplateTypeLabelOC192STM64 InterfaceTemplateTypeLabel = "OC-192/STM-64" + InterfaceTemplateTypeLabelOC3840STM1234 InterfaceTemplateTypeLabel = "OC-3840/STM-1234" + InterfaceTemplateTypeLabelOC3STM1 InterfaceTemplateTypeLabel = "OC-3/STM-1" + InterfaceTemplateTypeLabelOC48STM16 InterfaceTemplateTypeLabel = "OC-48/STM-16" + InterfaceTemplateTypeLabelOC768STM256 InterfaceTemplateTypeLabel = "OC-768/STM-256" + InterfaceTemplateTypeLabelOSFP400GE InterfaceTemplateTypeLabel = "OSFP (400GE)" + InterfaceTemplateTypeLabelOther InterfaceTemplateTypeLabel = "Other" + InterfaceTemplateTypeLabelQDR8Gbps InterfaceTemplateTypeLabel = "QDR (8 Gbps)" + InterfaceTemplateTypeLabelQSFP28100GE InterfaceTemplateTypeLabel = "QSFP28 (100GE)" + InterfaceTemplateTypeLabelQSFP28128GFC InterfaceTemplateTypeLabel = "QSFP28 (128GFC)" + InterfaceTemplateTypeLabelQSFP2850GE InterfaceTemplateTypeLabel = "QSFP28 (50GE)" + InterfaceTemplateTypeLabelQSFP40GE InterfaceTemplateTypeLabel = "QSFP+ (40GE)" + InterfaceTemplateTypeLabelQSFP56200GE InterfaceTemplateTypeLabel = "QSFP56 (200GE)" + InterfaceTemplateTypeLabelQSFP64GFC InterfaceTemplateTypeLabel = "QSFP+ (64GFC)" + InterfaceTemplateTypeLabelQSFPDD400GE InterfaceTemplateTypeLabel = "QSFP-DD (400GE)" + InterfaceTemplateTypeLabelSDR2Gbps InterfaceTemplateTypeLabel = "SDR (2 Gbps)" + InterfaceTemplateTypeLabelSFP10GE InterfaceTemplateTypeLabel = "SFP+ (10GE)" + InterfaceTemplateTypeLabelSFP16GFC InterfaceTemplateTypeLabel = "SFP+ (16GFC)" + InterfaceTemplateTypeLabelSFP1GE InterfaceTemplateTypeLabel = "SFP (1GE)" + InterfaceTemplateTypeLabelSFP1GFC InterfaceTemplateTypeLabel = "SFP (1GFC)" + InterfaceTemplateTypeLabelSFP2825GE InterfaceTemplateTypeLabel = "SFP28 (25GE)" + InterfaceTemplateTypeLabelSFP2832GFC InterfaceTemplateTypeLabel = "SFP28 (32GFC)" + InterfaceTemplateTypeLabelSFP2GFC InterfaceTemplateTypeLabel = "SFP (2GFC)" + InterfaceTemplateTypeLabelSFP4GFC InterfaceTemplateTypeLabel = "SFP (4GFC)" + InterfaceTemplateTypeLabelSFP8GFC InterfaceTemplateTypeLabel = "SFP+ (8GFC)" + InterfaceTemplateTypeLabelT11544Mbps InterfaceTemplateTypeLabel = "T1 (1.544 Mbps)" + InterfaceTemplateTypeLabelT345Mbps InterfaceTemplateTypeLabel = "T3 (45 Mbps)" + InterfaceTemplateTypeLabelVirtual InterfaceTemplateTypeLabel = "Virtual" + InterfaceTemplateTypeLabelX210GE InterfaceTemplateTypeLabel = "X2 (10GE)" + InterfaceTemplateTypeLabelXDR250Gbps InterfaceTemplateTypeLabel = "XDR (250 Gbps)" + InterfaceTemplateTypeLabelXENPAK10GE InterfaceTemplateTypeLabel = "XENPAK (10GE)" + InterfaceTemplateTypeLabelXFP10GE InterfaceTemplateTypeLabel = "XFP (10GE)" ) // Defines values for InterfaceTemplateTypeValue. const ( - InterfaceTemplateTypeValueCdma InterfaceTemplateTypeValue = "cdma" - - InterfaceTemplateTypeValueCiscoFlexstack InterfaceTemplateTypeValue = "cisco-flexstack" - - InterfaceTemplateTypeValueCiscoFlexstackPlus InterfaceTemplateTypeValue = "cisco-flexstack-plus" - - InterfaceTemplateTypeValueCiscoStackwise InterfaceTemplateTypeValue = "cisco-stackwise" - - InterfaceTemplateTypeValueCiscoStackwisePlus InterfaceTemplateTypeValue = "cisco-stackwise-plus" - - InterfaceTemplateTypeValueE1 InterfaceTemplateTypeValue = "e1" - - InterfaceTemplateTypeValueE3 InterfaceTemplateTypeValue = "e3" - - InterfaceTemplateTypeValueExtremeSummitstack InterfaceTemplateTypeValue = "extreme-summitstack" - + InterfaceTemplateTypeValueBridge InterfaceTemplateTypeValue = "bridge" + InterfaceTemplateTypeValueCdma InterfaceTemplateTypeValue = "cdma" + InterfaceTemplateTypeValueCiscoFlexstack InterfaceTemplateTypeValue = "cisco-flexstack" + InterfaceTemplateTypeValueCiscoFlexstackPlus InterfaceTemplateTypeValue = "cisco-flexstack-plus" + InterfaceTemplateTypeValueCiscoStackwise InterfaceTemplateTypeValue = "cisco-stackwise" + InterfaceTemplateTypeValueCiscoStackwisePlus InterfaceTemplateTypeValue = "cisco-stackwise-plus" + InterfaceTemplateTypeValueE1 InterfaceTemplateTypeValue = "e1" + InterfaceTemplateTypeValueE3 InterfaceTemplateTypeValue = "e3" + InterfaceTemplateTypeValueExtremeSummitstack InterfaceTemplateTypeValue = "extreme-summitstack" InterfaceTemplateTypeValueExtremeSummitstack128 InterfaceTemplateTypeValue = "extreme-summitstack-128" - InterfaceTemplateTypeValueExtremeSummitstack256 InterfaceTemplateTypeValue = "extreme-summitstack-256" - InterfaceTemplateTypeValueExtremeSummitstack512 InterfaceTemplateTypeValue = "extreme-summitstack-512" - - InterfaceTemplateTypeValueGsm InterfaceTemplateTypeValue = "gsm" - - InterfaceTemplateTypeValueIeee80211a InterfaceTemplateTypeValue = "ieee802.11a" - - InterfaceTemplateTypeValueIeee80211ac InterfaceTemplateTypeValue = "ieee802.11ac" - - InterfaceTemplateTypeValueIeee80211ad InterfaceTemplateTypeValue = "ieee802.11ad" - - InterfaceTemplateTypeValueIeee80211ax InterfaceTemplateTypeValue = "ieee802.11ax" - - InterfaceTemplateTypeValueIeee80211g InterfaceTemplateTypeValue = "ieee802.11g" - - InterfaceTemplateTypeValueIeee80211n InterfaceTemplateTypeValue = "ieee802.11n" - - InterfaceTemplateTypeValueInfinibandDdr InterfaceTemplateTypeValue = "infiniband-ddr" - - InterfaceTemplateTypeValueInfinibandEdr InterfaceTemplateTypeValue = "infiniband-edr" - - InterfaceTemplateTypeValueInfinibandFdr InterfaceTemplateTypeValue = "infiniband-fdr" - - InterfaceTemplateTypeValueInfinibandFdr10 InterfaceTemplateTypeValue = "infiniband-fdr10" - - InterfaceTemplateTypeValueInfinibandHdr InterfaceTemplateTypeValue = "infiniband-hdr" - - InterfaceTemplateTypeValueInfinibandNdr InterfaceTemplateTypeValue = "infiniband-ndr" - - InterfaceTemplateTypeValueInfinibandQdr InterfaceTemplateTypeValue = "infiniband-qdr" - - InterfaceTemplateTypeValueInfinibandSdr InterfaceTemplateTypeValue = "infiniband-sdr" - - InterfaceTemplateTypeValueInfinibandXdr InterfaceTemplateTypeValue = "infiniband-xdr" - - InterfaceTemplateTypeValueJuniperVcp InterfaceTemplateTypeValue = "juniper-vcp" - - InterfaceTemplateTypeValueLag InterfaceTemplateTypeValue = "lag" - - InterfaceTemplateTypeValueLte InterfaceTemplateTypeValue = "lte" - - InterfaceTemplateTypeValueN1000baseT InterfaceTemplateTypeValue = "1000base-t" - - InterfaceTemplateTypeValueN1000baseXGbic InterfaceTemplateTypeValue = "1000base-x-gbic" - - InterfaceTemplateTypeValueN1000baseXSfp InterfaceTemplateTypeValue = "1000base-x-sfp" - - InterfaceTemplateTypeValueN100baseTx InterfaceTemplateTypeValue = "100base-tx" - - InterfaceTemplateTypeValueN100gbaseXCfp InterfaceTemplateTypeValue = "100gbase-x-cfp" - - InterfaceTemplateTypeValueN100gbaseXCfp2 InterfaceTemplateTypeValue = "100gbase-x-cfp2" - - InterfaceTemplateTypeValueN100gbaseXCfp4 InterfaceTemplateTypeValue = "100gbase-x-cfp4" - - InterfaceTemplateTypeValueN100gbaseXCpak InterfaceTemplateTypeValue = "100gbase-x-cpak" - - InterfaceTemplateTypeValueN100gbaseXQsfp28 InterfaceTemplateTypeValue = "100gbase-x-qsfp28" - - InterfaceTemplateTypeValueN10gbaseCx4 InterfaceTemplateTypeValue = "10gbase-cx4" - - InterfaceTemplateTypeValueN10gbaseT InterfaceTemplateTypeValue = "10gbase-t" - - InterfaceTemplateTypeValueN10gbaseXSfpp InterfaceTemplateTypeValue = "10gbase-x-sfpp" - - InterfaceTemplateTypeValueN10gbaseXX2 InterfaceTemplateTypeValue = "10gbase-x-x2" - - InterfaceTemplateTypeValueN10gbaseXXenpak InterfaceTemplateTypeValue = "10gbase-x-xenpak" - - InterfaceTemplateTypeValueN10gbaseXXfp InterfaceTemplateTypeValue = "10gbase-x-xfp" - - InterfaceTemplateTypeValueN128gfcSfp28 InterfaceTemplateTypeValue = "128gfc-sfp28" - - InterfaceTemplateTypeValueN16gfcSfpp InterfaceTemplateTypeValue = "16gfc-sfpp" - - InterfaceTemplateTypeValueN1gfcSfp InterfaceTemplateTypeValue = "1gfc-sfp" - - InterfaceTemplateTypeValueN200gbaseXCfp2 InterfaceTemplateTypeValue = "200gbase-x-cfp2" - - InterfaceTemplateTypeValueN200gbaseXQsfp56 InterfaceTemplateTypeValue = "200gbase-x-qsfp56" - - InterfaceTemplateTypeValueN25gbaseT InterfaceTemplateTypeValue = "2.5gbase-t" - - InterfaceTemplateTypeValueN25gbaseXSfp28 InterfaceTemplateTypeValue = "25gbase-x-sfp28" - - InterfaceTemplateTypeValueN2gfcSfp InterfaceTemplateTypeValue = "2gfc-sfp" - - InterfaceTemplateTypeValueN32gfcSfp28 InterfaceTemplateTypeValue = "32gfc-sfp28" - - InterfaceTemplateTypeValueN400gbaseXOsfp InterfaceTemplateTypeValue = "400gbase-x-osfp" - - InterfaceTemplateTypeValueN400gbaseXQsfpdd InterfaceTemplateTypeValue = "400gbase-x-qsfpdd" - - InterfaceTemplateTypeValueN40gbaseXQsfpp InterfaceTemplateTypeValue = "40gbase-x-qsfpp" - - InterfaceTemplateTypeValueN4gfcSfp InterfaceTemplateTypeValue = "4gfc-sfp" - - InterfaceTemplateTypeValueN50gbaseXSfp28 InterfaceTemplateTypeValue = "50gbase-x-sfp28" - - InterfaceTemplateTypeValueN5gbaseT InterfaceTemplateTypeValue = "5gbase-t" - - InterfaceTemplateTypeValueN64gfcQsfpp InterfaceTemplateTypeValue = "64gfc-qsfpp" - - InterfaceTemplateTypeValueN8gfcSfpp InterfaceTemplateTypeValue = "8gfc-sfpp" - - InterfaceTemplateTypeValueOther InterfaceTemplateTypeValue = "other" - - InterfaceTemplateTypeValueSonetOc12 InterfaceTemplateTypeValue = "sonet-oc12" - - InterfaceTemplateTypeValueSonetOc192 InterfaceTemplateTypeValue = "sonet-oc192" - - InterfaceTemplateTypeValueSonetOc1920 InterfaceTemplateTypeValue = "sonet-oc1920" - - InterfaceTemplateTypeValueSonetOc3 InterfaceTemplateTypeValue = "sonet-oc3" - - InterfaceTemplateTypeValueSonetOc3840 InterfaceTemplateTypeValue = "sonet-oc3840" - - InterfaceTemplateTypeValueSonetOc48 InterfaceTemplateTypeValue = "sonet-oc48" - - InterfaceTemplateTypeValueSonetOc768 InterfaceTemplateTypeValue = "sonet-oc768" - - InterfaceTemplateTypeValueT1 InterfaceTemplateTypeValue = "t1" - - InterfaceTemplateTypeValueT3 InterfaceTemplateTypeValue = "t3" - - InterfaceTemplateTypeValueVirtual InterfaceTemplateTypeValue = "virtual" + InterfaceTemplateTypeValueGsm InterfaceTemplateTypeValue = "gsm" + InterfaceTemplateTypeValueIeee80211a InterfaceTemplateTypeValue = "ieee802.11a" + InterfaceTemplateTypeValueIeee80211ac InterfaceTemplateTypeValue = "ieee802.11ac" + InterfaceTemplateTypeValueIeee80211ad InterfaceTemplateTypeValue = "ieee802.11ad" + InterfaceTemplateTypeValueIeee80211ax InterfaceTemplateTypeValue = "ieee802.11ax" + InterfaceTemplateTypeValueIeee80211g InterfaceTemplateTypeValue = "ieee802.11g" + InterfaceTemplateTypeValueIeee80211n InterfaceTemplateTypeValue = "ieee802.11n" + InterfaceTemplateTypeValueInfinibandDdr InterfaceTemplateTypeValue = "infiniband-ddr" + InterfaceTemplateTypeValueInfinibandEdr InterfaceTemplateTypeValue = "infiniband-edr" + InterfaceTemplateTypeValueInfinibandFdr InterfaceTemplateTypeValue = "infiniband-fdr" + InterfaceTemplateTypeValueInfinibandFdr10 InterfaceTemplateTypeValue = "infiniband-fdr10" + InterfaceTemplateTypeValueInfinibandHdr InterfaceTemplateTypeValue = "infiniband-hdr" + InterfaceTemplateTypeValueInfinibandNdr InterfaceTemplateTypeValue = "infiniband-ndr" + InterfaceTemplateTypeValueInfinibandQdr InterfaceTemplateTypeValue = "infiniband-qdr" + InterfaceTemplateTypeValueInfinibandSdr InterfaceTemplateTypeValue = "infiniband-sdr" + InterfaceTemplateTypeValueInfinibandXdr InterfaceTemplateTypeValue = "infiniband-xdr" + InterfaceTemplateTypeValueJuniperVcp InterfaceTemplateTypeValue = "juniper-vcp" + InterfaceTemplateTypeValueLag InterfaceTemplateTypeValue = "lag" + InterfaceTemplateTypeValueLte InterfaceTemplateTypeValue = "lte" + InterfaceTemplateTypeValueN1000baseT InterfaceTemplateTypeValue = "1000base-t" + InterfaceTemplateTypeValueN1000baseXGbic InterfaceTemplateTypeValue = "1000base-x-gbic" + InterfaceTemplateTypeValueN1000baseXSfp InterfaceTemplateTypeValue = "1000base-x-sfp" + InterfaceTemplateTypeValueN100baseTx InterfaceTemplateTypeValue = "100base-tx" + InterfaceTemplateTypeValueN100gbaseXCfp InterfaceTemplateTypeValue = "100gbase-x-cfp" + InterfaceTemplateTypeValueN100gbaseXCfp2 InterfaceTemplateTypeValue = "100gbase-x-cfp2" + InterfaceTemplateTypeValueN100gbaseXCfp4 InterfaceTemplateTypeValue = "100gbase-x-cfp4" + InterfaceTemplateTypeValueN100gbaseXCpak InterfaceTemplateTypeValue = "100gbase-x-cpak" + InterfaceTemplateTypeValueN100gbaseXQsfp28 InterfaceTemplateTypeValue = "100gbase-x-qsfp28" + InterfaceTemplateTypeValueN10gbaseCx4 InterfaceTemplateTypeValue = "10gbase-cx4" + InterfaceTemplateTypeValueN10gbaseT InterfaceTemplateTypeValue = "10gbase-t" + InterfaceTemplateTypeValueN10gbaseXSfpp InterfaceTemplateTypeValue = "10gbase-x-sfpp" + InterfaceTemplateTypeValueN10gbaseXX2 InterfaceTemplateTypeValue = "10gbase-x-x2" + InterfaceTemplateTypeValueN10gbaseXXenpak InterfaceTemplateTypeValue = "10gbase-x-xenpak" + InterfaceTemplateTypeValueN10gbaseXXfp InterfaceTemplateTypeValue = "10gbase-x-xfp" + InterfaceTemplateTypeValueN128gfcSfp28 InterfaceTemplateTypeValue = "128gfc-sfp28" + InterfaceTemplateTypeValueN16gfcSfpp InterfaceTemplateTypeValue = "16gfc-sfpp" + InterfaceTemplateTypeValueN1gfcSfp InterfaceTemplateTypeValue = "1gfc-sfp" + InterfaceTemplateTypeValueN200gbaseXCfp2 InterfaceTemplateTypeValue = "200gbase-x-cfp2" + InterfaceTemplateTypeValueN200gbaseXQsfp56 InterfaceTemplateTypeValue = "200gbase-x-qsfp56" + InterfaceTemplateTypeValueN25gbaseT InterfaceTemplateTypeValue = "2.5gbase-t" + InterfaceTemplateTypeValueN25gbaseXSfp28 InterfaceTemplateTypeValue = "25gbase-x-sfp28" + InterfaceTemplateTypeValueN2gfcSfp InterfaceTemplateTypeValue = "2gfc-sfp" + InterfaceTemplateTypeValueN32gfcSfp28 InterfaceTemplateTypeValue = "32gfc-sfp28" + InterfaceTemplateTypeValueN400gbaseXOsfp InterfaceTemplateTypeValue = "400gbase-x-osfp" + InterfaceTemplateTypeValueN400gbaseXQsfpdd InterfaceTemplateTypeValue = "400gbase-x-qsfpdd" + InterfaceTemplateTypeValueN40gbaseXQsfpp InterfaceTemplateTypeValue = "40gbase-x-qsfpp" + InterfaceTemplateTypeValueN4gfcSfp InterfaceTemplateTypeValue = "4gfc-sfp" + InterfaceTemplateTypeValueN50gbaseXSfp28 InterfaceTemplateTypeValue = "50gbase-x-sfp28" + InterfaceTemplateTypeValueN5gbaseT InterfaceTemplateTypeValue = "5gbase-t" + InterfaceTemplateTypeValueN64gfcQsfpp InterfaceTemplateTypeValue = "64gfc-qsfpp" + InterfaceTemplateTypeValueN8gfcSfpp InterfaceTemplateTypeValue = "8gfc-sfpp" + InterfaceTemplateTypeValueOther InterfaceTemplateTypeValue = "other" + InterfaceTemplateTypeValueSonetOc12 InterfaceTemplateTypeValue = "sonet-oc12" + InterfaceTemplateTypeValueSonetOc192 InterfaceTemplateTypeValue = "sonet-oc192" + InterfaceTemplateTypeValueSonetOc1920 InterfaceTemplateTypeValue = "sonet-oc1920" + InterfaceTemplateTypeValueSonetOc3 InterfaceTemplateTypeValue = "sonet-oc3" + InterfaceTemplateTypeValueSonetOc3840 InterfaceTemplateTypeValue = "sonet-oc3840" + InterfaceTemplateTypeValueSonetOc48 InterfaceTemplateTypeValue = "sonet-oc48" + InterfaceTemplateTypeValueSonetOc768 InterfaceTemplateTypeValue = "sonet-oc768" + InterfaceTemplateTypeValueT1 InterfaceTemplateTypeValue = "t1" + InterfaceTemplateTypeValueT3 InterfaceTemplateTypeValue = "t3" + InterfaceTemplateTypeValueVirtual InterfaceTemplateTypeValue = "virtual" ) // Defines values for InterfaceTypeChoices. const ( - InterfaceTypeChoicesCdma InterfaceTypeChoices = "cdma" - - InterfaceTypeChoicesCiscoFlexstack InterfaceTypeChoices = "cisco-flexstack" - - InterfaceTypeChoicesCiscoFlexstackPlus InterfaceTypeChoices = "cisco-flexstack-plus" - - InterfaceTypeChoicesCiscoStackwise InterfaceTypeChoices = "cisco-stackwise" - - InterfaceTypeChoicesCiscoStackwisePlus InterfaceTypeChoices = "cisco-stackwise-plus" - - InterfaceTypeChoicesE1 InterfaceTypeChoices = "e1" - - InterfaceTypeChoicesE3 InterfaceTypeChoices = "e3" - - InterfaceTypeChoicesExtremeSummitstack InterfaceTypeChoices = "extreme-summitstack" - + InterfaceTypeChoicesBridge InterfaceTypeChoices = "bridge" + InterfaceTypeChoicesCdma InterfaceTypeChoices = "cdma" + InterfaceTypeChoicesCiscoFlexstack InterfaceTypeChoices = "cisco-flexstack" + InterfaceTypeChoicesCiscoFlexstackPlus InterfaceTypeChoices = "cisco-flexstack-plus" + InterfaceTypeChoicesCiscoStackwise InterfaceTypeChoices = "cisco-stackwise" + InterfaceTypeChoicesCiscoStackwisePlus InterfaceTypeChoices = "cisco-stackwise-plus" + InterfaceTypeChoicesE1 InterfaceTypeChoices = "e1" + InterfaceTypeChoicesE3 InterfaceTypeChoices = "e3" + InterfaceTypeChoicesExtremeSummitstack InterfaceTypeChoices = "extreme-summitstack" InterfaceTypeChoicesExtremeSummitstack128 InterfaceTypeChoices = "extreme-summitstack-128" - InterfaceTypeChoicesExtremeSummitstack256 InterfaceTypeChoices = "extreme-summitstack-256" - InterfaceTypeChoicesExtremeSummitstack512 InterfaceTypeChoices = "extreme-summitstack-512" - - InterfaceTypeChoicesGsm InterfaceTypeChoices = "gsm" - - InterfaceTypeChoicesIeee80211a InterfaceTypeChoices = "ieee802.11a" - - InterfaceTypeChoicesIeee80211ac InterfaceTypeChoices = "ieee802.11ac" - - InterfaceTypeChoicesIeee80211ad InterfaceTypeChoices = "ieee802.11ad" - - InterfaceTypeChoicesIeee80211ax InterfaceTypeChoices = "ieee802.11ax" - - InterfaceTypeChoicesIeee80211g InterfaceTypeChoices = "ieee802.11g" - - InterfaceTypeChoicesIeee80211n InterfaceTypeChoices = "ieee802.11n" - - InterfaceTypeChoicesInfinibandDdr InterfaceTypeChoices = "infiniband-ddr" - - InterfaceTypeChoicesInfinibandEdr InterfaceTypeChoices = "infiniband-edr" - - InterfaceTypeChoicesInfinibandFdr InterfaceTypeChoices = "infiniband-fdr" - - InterfaceTypeChoicesInfinibandFdr10 InterfaceTypeChoices = "infiniband-fdr10" - - InterfaceTypeChoicesInfinibandHdr InterfaceTypeChoices = "infiniband-hdr" - - InterfaceTypeChoicesInfinibandNdr InterfaceTypeChoices = "infiniband-ndr" - - InterfaceTypeChoicesInfinibandQdr InterfaceTypeChoices = "infiniband-qdr" - - InterfaceTypeChoicesInfinibandSdr InterfaceTypeChoices = "infiniband-sdr" - - InterfaceTypeChoicesInfinibandXdr InterfaceTypeChoices = "infiniband-xdr" - - InterfaceTypeChoicesJuniperVcp InterfaceTypeChoices = "juniper-vcp" - - InterfaceTypeChoicesLag InterfaceTypeChoices = "lag" - - InterfaceTypeChoicesLte InterfaceTypeChoices = "lte" - - InterfaceTypeChoicesN1000baseT InterfaceTypeChoices = "1000base-t" - - InterfaceTypeChoicesN1000baseXGbic InterfaceTypeChoices = "1000base-x-gbic" - - InterfaceTypeChoicesN1000baseXSfp InterfaceTypeChoices = "1000base-x-sfp" - - InterfaceTypeChoicesN100baseTx InterfaceTypeChoices = "100base-tx" - - InterfaceTypeChoicesN100gbaseXCfp InterfaceTypeChoices = "100gbase-x-cfp" - - InterfaceTypeChoicesN100gbaseXCfp2 InterfaceTypeChoices = "100gbase-x-cfp2" - - InterfaceTypeChoicesN100gbaseXCfp4 InterfaceTypeChoices = "100gbase-x-cfp4" - - InterfaceTypeChoicesN100gbaseXCpak InterfaceTypeChoices = "100gbase-x-cpak" - - InterfaceTypeChoicesN100gbaseXQsfp28 InterfaceTypeChoices = "100gbase-x-qsfp28" - - InterfaceTypeChoicesN10gbaseCx4 InterfaceTypeChoices = "10gbase-cx4" - - InterfaceTypeChoicesN10gbaseT InterfaceTypeChoices = "10gbase-t" - - InterfaceTypeChoicesN10gbaseXSfpp InterfaceTypeChoices = "10gbase-x-sfpp" - - InterfaceTypeChoicesN10gbaseXX2 InterfaceTypeChoices = "10gbase-x-x2" - - InterfaceTypeChoicesN10gbaseXXenpak InterfaceTypeChoices = "10gbase-x-xenpak" - - InterfaceTypeChoicesN10gbaseXXfp InterfaceTypeChoices = "10gbase-x-xfp" - - InterfaceTypeChoicesN128gfcSfp28 InterfaceTypeChoices = "128gfc-sfp28" - - InterfaceTypeChoicesN16gfcSfpp InterfaceTypeChoices = "16gfc-sfpp" - - InterfaceTypeChoicesN1gfcSfp InterfaceTypeChoices = "1gfc-sfp" - - InterfaceTypeChoicesN200gbaseXCfp2 InterfaceTypeChoices = "200gbase-x-cfp2" - - InterfaceTypeChoicesN200gbaseXQsfp56 InterfaceTypeChoices = "200gbase-x-qsfp56" - - InterfaceTypeChoicesN25gbaseT InterfaceTypeChoices = "2.5gbase-t" - - InterfaceTypeChoicesN25gbaseXSfp28 InterfaceTypeChoices = "25gbase-x-sfp28" - - InterfaceTypeChoicesN2gfcSfp InterfaceTypeChoices = "2gfc-sfp" - - InterfaceTypeChoicesN32gfcSfp28 InterfaceTypeChoices = "32gfc-sfp28" - - InterfaceTypeChoicesN400gbaseXOsfp InterfaceTypeChoices = "400gbase-x-osfp" - - InterfaceTypeChoicesN400gbaseXQsfpdd InterfaceTypeChoices = "400gbase-x-qsfpdd" - - InterfaceTypeChoicesN40gbaseXQsfpp InterfaceTypeChoices = "40gbase-x-qsfpp" - - InterfaceTypeChoicesN4gfcSfp InterfaceTypeChoices = "4gfc-sfp" - - InterfaceTypeChoicesN50gbaseXSfp28 InterfaceTypeChoices = "50gbase-x-sfp28" - - InterfaceTypeChoicesN5gbaseT InterfaceTypeChoices = "5gbase-t" - - InterfaceTypeChoicesN64gfcQsfpp InterfaceTypeChoices = "64gfc-qsfpp" - - InterfaceTypeChoicesN8gfcSfpp InterfaceTypeChoices = "8gfc-sfpp" - - InterfaceTypeChoicesOther InterfaceTypeChoices = "other" - - InterfaceTypeChoicesSonetOc12 InterfaceTypeChoices = "sonet-oc12" - - InterfaceTypeChoicesSonetOc192 InterfaceTypeChoices = "sonet-oc192" - - InterfaceTypeChoicesSonetOc1920 InterfaceTypeChoices = "sonet-oc1920" - - InterfaceTypeChoicesSonetOc3 InterfaceTypeChoices = "sonet-oc3" - - InterfaceTypeChoicesSonetOc3840 InterfaceTypeChoices = "sonet-oc3840" - - InterfaceTypeChoicesSonetOc48 InterfaceTypeChoices = "sonet-oc48" - - InterfaceTypeChoicesSonetOc768 InterfaceTypeChoices = "sonet-oc768" - - InterfaceTypeChoicesT1 InterfaceTypeChoices = "t1" - - InterfaceTypeChoicesT3 InterfaceTypeChoices = "t3" - - InterfaceTypeChoicesVirtual InterfaceTypeChoices = "virtual" + InterfaceTypeChoicesGsm InterfaceTypeChoices = "gsm" + InterfaceTypeChoicesIeee80211a InterfaceTypeChoices = "ieee802.11a" + InterfaceTypeChoicesIeee80211ac InterfaceTypeChoices = "ieee802.11ac" + InterfaceTypeChoicesIeee80211ad InterfaceTypeChoices = "ieee802.11ad" + InterfaceTypeChoicesIeee80211ax InterfaceTypeChoices = "ieee802.11ax" + InterfaceTypeChoicesIeee80211g InterfaceTypeChoices = "ieee802.11g" + InterfaceTypeChoicesIeee80211n InterfaceTypeChoices = "ieee802.11n" + InterfaceTypeChoicesInfinibandDdr InterfaceTypeChoices = "infiniband-ddr" + InterfaceTypeChoicesInfinibandEdr InterfaceTypeChoices = "infiniband-edr" + InterfaceTypeChoicesInfinibandFdr InterfaceTypeChoices = "infiniband-fdr" + InterfaceTypeChoicesInfinibandFdr10 InterfaceTypeChoices = "infiniband-fdr10" + InterfaceTypeChoicesInfinibandHdr InterfaceTypeChoices = "infiniband-hdr" + InterfaceTypeChoicesInfinibandNdr InterfaceTypeChoices = "infiniband-ndr" + InterfaceTypeChoicesInfinibandQdr InterfaceTypeChoices = "infiniband-qdr" + InterfaceTypeChoicesInfinibandSdr InterfaceTypeChoices = "infiniband-sdr" + InterfaceTypeChoicesInfinibandXdr InterfaceTypeChoices = "infiniband-xdr" + InterfaceTypeChoicesJuniperVcp InterfaceTypeChoices = "juniper-vcp" + InterfaceTypeChoicesLag InterfaceTypeChoices = "lag" + InterfaceTypeChoicesLte InterfaceTypeChoices = "lte" + InterfaceTypeChoicesN1000baseT InterfaceTypeChoices = "1000base-t" + InterfaceTypeChoicesN1000baseXGbic InterfaceTypeChoices = "1000base-x-gbic" + InterfaceTypeChoicesN1000baseXSfp InterfaceTypeChoices = "1000base-x-sfp" + InterfaceTypeChoicesN100baseTx InterfaceTypeChoices = "100base-tx" + InterfaceTypeChoicesN100gbaseXCfp InterfaceTypeChoices = "100gbase-x-cfp" + InterfaceTypeChoicesN100gbaseXCfp2 InterfaceTypeChoices = "100gbase-x-cfp2" + InterfaceTypeChoicesN100gbaseXCfp4 InterfaceTypeChoices = "100gbase-x-cfp4" + InterfaceTypeChoicesN100gbaseXCpak InterfaceTypeChoices = "100gbase-x-cpak" + InterfaceTypeChoicesN100gbaseXQsfp28 InterfaceTypeChoices = "100gbase-x-qsfp28" + InterfaceTypeChoicesN10gbaseCx4 InterfaceTypeChoices = "10gbase-cx4" + InterfaceTypeChoicesN10gbaseT InterfaceTypeChoices = "10gbase-t" + InterfaceTypeChoicesN10gbaseXSfpp InterfaceTypeChoices = "10gbase-x-sfpp" + InterfaceTypeChoicesN10gbaseXX2 InterfaceTypeChoices = "10gbase-x-x2" + InterfaceTypeChoicesN10gbaseXXenpak InterfaceTypeChoices = "10gbase-x-xenpak" + InterfaceTypeChoicesN10gbaseXXfp InterfaceTypeChoices = "10gbase-x-xfp" + InterfaceTypeChoicesN128gfcSfp28 InterfaceTypeChoices = "128gfc-sfp28" + InterfaceTypeChoicesN16gfcSfpp InterfaceTypeChoices = "16gfc-sfpp" + InterfaceTypeChoicesN1gfcSfp InterfaceTypeChoices = "1gfc-sfp" + InterfaceTypeChoicesN200gbaseXCfp2 InterfaceTypeChoices = "200gbase-x-cfp2" + InterfaceTypeChoicesN200gbaseXQsfp56 InterfaceTypeChoices = "200gbase-x-qsfp56" + InterfaceTypeChoicesN25gbaseT InterfaceTypeChoices = "2.5gbase-t" + InterfaceTypeChoicesN25gbaseXSfp28 InterfaceTypeChoices = "25gbase-x-sfp28" + InterfaceTypeChoicesN2gfcSfp InterfaceTypeChoices = "2gfc-sfp" + InterfaceTypeChoicesN32gfcSfp28 InterfaceTypeChoices = "32gfc-sfp28" + InterfaceTypeChoicesN400gbaseXOsfp InterfaceTypeChoices = "400gbase-x-osfp" + InterfaceTypeChoicesN400gbaseXQsfpdd InterfaceTypeChoices = "400gbase-x-qsfpdd" + InterfaceTypeChoicesN40gbaseXQsfpp InterfaceTypeChoices = "40gbase-x-qsfpp" + InterfaceTypeChoicesN4gfcSfp InterfaceTypeChoices = "4gfc-sfp" + InterfaceTypeChoicesN50gbaseXSfp28 InterfaceTypeChoices = "50gbase-x-sfp28" + InterfaceTypeChoicesN5gbaseT InterfaceTypeChoices = "5gbase-t" + InterfaceTypeChoicesN64gfcQsfpp InterfaceTypeChoices = "64gfc-qsfpp" + InterfaceTypeChoicesN8gfcSfpp InterfaceTypeChoices = "8gfc-sfpp" + InterfaceTypeChoicesOther InterfaceTypeChoices = "other" + InterfaceTypeChoicesSonetOc12 InterfaceTypeChoices = "sonet-oc12" + InterfaceTypeChoicesSonetOc192 InterfaceTypeChoices = "sonet-oc192" + InterfaceTypeChoicesSonetOc1920 InterfaceTypeChoices = "sonet-oc1920" + InterfaceTypeChoicesSonetOc3 InterfaceTypeChoices = "sonet-oc3" + InterfaceTypeChoicesSonetOc3840 InterfaceTypeChoices = "sonet-oc3840" + InterfaceTypeChoicesSonetOc48 InterfaceTypeChoices = "sonet-oc48" + InterfaceTypeChoicesSonetOc768 InterfaceTypeChoices = "sonet-oc768" + InterfaceTypeChoicesT1 InterfaceTypeChoices = "t1" + InterfaceTypeChoicesT3 InterfaceTypeChoices = "t3" + InterfaceTypeChoicesVirtual InterfaceTypeChoices = "virtual" ) -// Defines values for IntervalEnum. +// Defines values for IpProtocolEnum. const ( - IntervalEnumDaily IntervalEnum = "daily" + IpProtocolEnumAH IpProtocolEnum = "AH" + IpProtocolEnumAN IpProtocolEnum = "A/N" + IpProtocolEnumARIS IpProtocolEnum = "ARIS" + IpProtocolEnumAX25 IpProtocolEnum = "AX.25" + IpProtocolEnumBBNRCCMON IpProtocolEnum = "BBN-RCC-MON" + IpProtocolEnumBNA IpProtocolEnum = "BNA" + IpProtocolEnumBRSATMON IpProtocolEnum = "BR-SAT-MON" + IpProtocolEnumCBT IpProtocolEnum = "CBT" + IpProtocolEnumCFTP IpProtocolEnum = "CFTP" + IpProtocolEnumCHAOS IpProtocolEnum = "CHAOS" + IpProtocolEnumCPHB IpProtocolEnum = "CPHB" + IpProtocolEnumCPNX IpProtocolEnum = "CPNX" + IpProtocolEnumCRTP IpProtocolEnum = "CRTP" + IpProtocolEnumCRUDP IpProtocolEnum = "CRUDP" + IpProtocolEnumCompaqPeer IpProtocolEnum = "Compaq-Peer" + IpProtocolEnumDCCP IpProtocolEnum = "DCCP" + IpProtocolEnumDCNMEAS IpProtocolEnum = "DCN-MEAS" + IpProtocolEnumDDP IpProtocolEnum = "DDP" + IpProtocolEnumDDX IpProtocolEnum = "DDX" + IpProtocolEnumDGP IpProtocolEnum = "DGP" + IpProtocolEnumDSR IpProtocolEnum = "DSR" + IpProtocolEnumEGP IpProtocolEnum = "EGP" + IpProtocolEnumEIGRP IpProtocolEnum = "EIGRP" + IpProtocolEnumEMCON IpProtocolEnum = "EMCON" + IpProtocolEnumENCAP IpProtocolEnum = "ENCAP" + IpProtocolEnumESP IpProtocolEnum = "ESP" + IpProtocolEnumETHERIP IpProtocolEnum = "ETHERIP" + IpProtocolEnumEthernet IpProtocolEnum = "Ethernet" + IpProtocolEnumFC IpProtocolEnum = "FC" + IpProtocolEnumFIRE IpProtocolEnum = "FIRE" + IpProtocolEnumGGP IpProtocolEnum = "GGP" + IpProtocolEnumGMTP IpProtocolEnum = "GMTP" + IpProtocolEnumGRE IpProtocolEnum = "GRE" + IpProtocolEnumHIP IpProtocolEnum = "HIP" + IpProtocolEnumHMP IpProtocolEnum = "HMP" + IpProtocolEnumIATP IpProtocolEnum = "IATP" + IpProtocolEnumICMP IpProtocolEnum = "ICMP" + IpProtocolEnumIDPR IpProtocolEnum = "IDPR" + IpProtocolEnumIDPRCMTP IpProtocolEnum = "IDPR-CMTP" + IpProtocolEnumIDRP IpProtocolEnum = "IDRP" + IpProtocolEnumIFMP IpProtocolEnum = "IFMP" + IpProtocolEnumIGMP IpProtocolEnum = "IGMP" + IpProtocolEnumIGP IpProtocolEnum = "IGP" + IpProtocolEnumIL IpProtocolEnum = "IL" + IpProtocolEnumINLSP IpProtocolEnum = "I-NLSP" + IpProtocolEnumIPCV IpProtocolEnum = "IPCV" + IpProtocolEnumIPComp IpProtocolEnum = "IPComp" + IpProtocolEnumIPIP IpProtocolEnum = "IPIP" + IpProtocolEnumIPLT IpProtocolEnum = "IPLT" + IpProtocolEnumIPPC IpProtocolEnum = "IPPC" + IpProtocolEnumIPXInIP IpProtocolEnum = "IPX-in-IP" + IpProtocolEnumIRTP IpProtocolEnum = "IRTP" + IpProtocolEnumISOIP IpProtocolEnum = "ISO-IP" + IpProtocolEnumISOTP4 IpProtocolEnum = "ISO-TP4" + IpProtocolEnumKRYPTOLAN IpProtocolEnum = "KRYPTOLAN" + IpProtocolEnumL2TP IpProtocolEnum = "L2TP" + IpProtocolEnumLARP IpProtocolEnum = "LARP" + IpProtocolEnumLEAF1 IpProtocolEnum = "LEAF-1" + IpProtocolEnumLEAF2 IpProtocolEnum = "LEAF-2" + IpProtocolEnumMERITINP IpProtocolEnum = "MERIT-INP" + IpProtocolEnumMFENSP IpProtocolEnum = "MFE-NSP" + IpProtocolEnumMOBILE IpProtocolEnum = "MOBILE" + IpProtocolEnumMTP IpProtocolEnum = "MTP" + IpProtocolEnumMUX IpProtocolEnum = "MUX" + IpProtocolEnumManet IpProtocolEnum = "manet" + IpProtocolEnumN3PC IpProtocolEnum = "3PC" + IpProtocolEnumNARP IpProtocolEnum = "NARP" + IpProtocolEnumNETBLT IpProtocolEnum = "NETBLT" + IpProtocolEnumNSFNETIGP IpProtocolEnum = "NSFNET-IGP" + IpProtocolEnumNVPII IpProtocolEnum = "NVP-II" + IpProtocolEnumOSPFIGP IpProtocolEnum = "OSPFIGP" + IpProtocolEnumPGM IpProtocolEnum = "PGM" + IpProtocolEnumPIM IpProtocolEnum = "PIM" + IpProtocolEnumPIPE IpProtocolEnum = "PIPE" + IpProtocolEnumPNNI IpProtocolEnum = "PNNI" + IpProtocolEnumPRM IpProtocolEnum = "PRM" + IpProtocolEnumPTP IpProtocolEnum = "PTP" + IpProtocolEnumPUP IpProtocolEnum = "PUP" + IpProtocolEnumPVP IpProtocolEnum = "PVP" + IpProtocolEnumQNX IpProtocolEnum = "QNX" + IpProtocolEnumRDP IpProtocolEnum = "RDP" + IpProtocolEnumROHC IpProtocolEnum = "ROHC" + IpProtocolEnumRSVP IpProtocolEnum = "RSVP" + IpProtocolEnumRSVPE2EIGNORE IpProtocolEnum = "RSVP-E2E-IGNORE" + IpProtocolEnumRVD IpProtocolEnum = "RVD" + IpProtocolEnumSATEXPAK IpProtocolEnum = "SAT-EXPAK" + IpProtocolEnumSATMON IpProtocolEnum = "SAT-MON" + IpProtocolEnumSCCSP IpProtocolEnum = "SCC-SP" + IpProtocolEnumSCPS IpProtocolEnum = "SCPS" + IpProtocolEnumSCTP IpProtocolEnum = "SCTP" + IpProtocolEnumSDRP IpProtocolEnum = "SDRP" + IpProtocolEnumSECUREVMTP IpProtocolEnum = "SECURE-VMTP" + IpProtocolEnumSKIP IpProtocolEnum = "SKIP" + IpProtocolEnumSM IpProtocolEnum = "SM" + IpProtocolEnumSMP IpProtocolEnum = "SMP" + IpProtocolEnumSNP IpProtocolEnum = "SNP" + IpProtocolEnumSPS IpProtocolEnum = "SPS" + IpProtocolEnumSRP IpProtocolEnum = "SRP" + IpProtocolEnumSSCOPMCE IpProtocolEnum = "SSCOPMCE" + IpProtocolEnumSTP IpProtocolEnum = "STP" + IpProtocolEnumSUNND IpProtocolEnum = "SUN-ND" + IpProtocolEnumSpriteRPC IpProtocolEnum = "Sprite-RPC" + IpProtocolEnumTCF IpProtocolEnum = "TCF" + IpProtocolEnumTCP IpProtocolEnum = "TCP" + IpProtocolEnumTLSP IpProtocolEnum = "TLSP" + IpProtocolEnumTP IpProtocolEnum = "TP++" + IpProtocolEnumTRUNK1 IpProtocolEnum = "TRUNK-1" + IpProtocolEnumTRUNK2 IpProtocolEnum = "TRUNK-2" + IpProtocolEnumTTP IpProtocolEnum = "TTP" + IpProtocolEnumUDP IpProtocolEnum = "UDP" + IpProtocolEnumUDPLite IpProtocolEnum = "UDPLite" + IpProtocolEnumUTI IpProtocolEnum = "UTI" + IpProtocolEnumVINES IpProtocolEnum = "VINES" + IpProtocolEnumVISA IpProtocolEnum = "VISA" + IpProtocolEnumVMTP IpProtocolEnum = "VMTP" + IpProtocolEnumWBEXPAK IpProtocolEnum = "WB-EXPAK" + IpProtocolEnumWBMON IpProtocolEnum = "WB-MON" + IpProtocolEnumWESP IpProtocolEnum = "WESP" + IpProtocolEnumWSN IpProtocolEnum = "WSN" + IpProtocolEnumXNET IpProtocolEnum = "XNET" + IpProtocolEnumXNSIDP IpProtocolEnum = "XNS-IDP" + IpProtocolEnumXTP IpProtocolEnum = "XTP" +) - IntervalEnumFuture IntervalEnum = "future" - - IntervalEnumHourly IntervalEnum = "hourly" - - IntervalEnumImmediately IntervalEnum = "immediately" - - IntervalEnumWeekly IntervalEnum = "weekly" +// Defines values for JobExecutionTypeIntervalChoices. +const ( + Custom JobExecutionTypeIntervalChoices = "custom" + Daily JobExecutionTypeIntervalChoices = "daily" + Future JobExecutionTypeIntervalChoices = "future" + Hourly JobExecutionTypeIntervalChoices = "hourly" + Immediately JobExecutionTypeIntervalChoices = "immediately" + Weekly JobExecutionTypeIntervalChoices = "weekly" ) // Defines values for JobResultStatusLabel. const ( JobResultStatusLabelCompleted JobResultStatusLabel = "Completed" - - JobResultStatusLabelErrored JobResultStatusLabel = "Errored" - - JobResultStatusLabelFailed JobResultStatusLabel = "Failed" - - JobResultStatusLabelPending JobResultStatusLabel = "Pending" - - JobResultStatusLabelRunning JobResultStatusLabel = "Running" + JobResultStatusLabelErrored JobResultStatusLabel = "Errored" + JobResultStatusLabelFailed JobResultStatusLabel = "Failed" + JobResultStatusLabelPending JobResultStatusLabel = "Pending" + JobResultStatusLabelRunning JobResultStatusLabel = "Running" ) // Defines values for JobResultStatusValue. const ( JobResultStatusValueCompleted JobResultStatusValue = "completed" - - JobResultStatusValueErrored JobResultStatusValue = "errored" - - JobResultStatusValueFailed JobResultStatusValue = "failed" - - JobResultStatusValuePending JobResultStatusValue = "pending" - - JobResultStatusValueRunning JobResultStatusValue = "running" -) - -// Defines values for JobResultStatusEnum. -const ( - JobResultStatusEnumCompleted JobResultStatusEnum = "completed" - - JobResultStatusEnumErrored JobResultStatusEnum = "errored" - - JobResultStatusEnumFailed JobResultStatusEnum = "failed" - - JobResultStatusEnumPending JobResultStatusEnum = "pending" - - JobResultStatusEnumRunning JobResultStatusEnum = "running" + JobResultStatusValueErrored JobResultStatusValue = "errored" + JobResultStatusValueFailed JobResultStatusValue = "failed" + JobResultStatusValuePending JobResultStatusValue = "pending" + JobResultStatusValueRunning JobResultStatusValue = "running" ) // Defines values for LengthUnitEnum. const ( LengthUnitEnumCm LengthUnitEnum = "cm" - LengthUnitEnumFt LengthUnitEnum = "ft" - LengthUnitEnumIn LengthUnitEnum = "in" + LengthUnitEnumM LengthUnitEnum = "m" +) - LengthUnitEnumM LengthUnitEnum = "m" +// Defines values for LocationStatusLabel. +const ( + LocationStatusLabelActive LocationStatusLabel = "Active" + LocationStatusLabelDecommissioning LocationStatusLabel = "Decommissioning" + LocationStatusLabelPlanned LocationStatusLabel = "Planned" + LocationStatusLabelRetired LocationStatusLabel = "Retired" + LocationStatusLabelStaging LocationStatusLabel = "Staging" +) + +// Defines values for LocationStatusValue. +const ( + LocationStatusValueActive LocationStatusValue = "active" + LocationStatusValueDecommissioning LocationStatusValue = "decommissioning" + LocationStatusValuePlanned LocationStatusValue = "planned" + LocationStatusValueRetired LocationStatusValue = "retired" + LocationStatusValueStaging LocationStatusValue = "staging" +) + +// Defines values for LocationStatusChoices. +const ( + LocationStatusChoicesActive LocationStatusChoices = "active" + LocationStatusChoicesDecommissioning LocationStatusChoices = "decommissioning" + LocationStatusChoicesPlanned LocationStatusChoices = "planned" + LocationStatusChoicesRetired LocationStatusChoices = "retired" + LocationStatusChoicesStaging LocationStatusChoices = "staging" ) // Defines values for LogLevelEnum. const ( LogLevelEnumDefault LogLevelEnum = "default" - LogLevelEnumFailure LogLevelEnum = "failure" - - LogLevelEnumInfo LogLevelEnum = "info" - + LogLevelEnumInfo LogLevelEnum = "info" LogLevelEnumSuccess LogLevelEnum = "success" - LogLevelEnumWarning LogLevelEnum = "warning" ) // Defines values for ModeEnum. const ( - ModeEnumAccess ModeEnum = "access" - - ModeEnumTagged ModeEnum = "tagged" - + ModeEnumAccess ModeEnum = "access" + ModeEnumTagged ModeEnum = "tagged" ModeEnumTaggedAll ModeEnum = "tagged-all" ) +// Defines values for NATPolicyStatusLabel. +const ( + NATPolicyStatusLabelActive NATPolicyStatusLabel = "Active" + NATPolicyStatusLabelDecommissioned NATPolicyStatusLabel = "Decommissioned" + NATPolicyStatusLabelStaged NATPolicyStatusLabel = "Staged" +) + +// Defines values for NATPolicyStatusValue. +const ( + NATPolicyStatusValueActive NATPolicyStatusValue = "active" + NATPolicyStatusValueDecommissioned NATPolicyStatusValue = "decommissioned" + NATPolicyStatusValueStaged NATPolicyStatusValue = "staged" +) + +// Defines values for NATPolicyRuleOriginalDestinationAddressGroupsAddressObjectsStatusLabel. +const ( + NATPolicyRuleOriginalDestinationAddressGroupsAddressObjectsStatusLabelActive NATPolicyRuleOriginalDestinationAddressGroupsAddressObjectsStatusLabel = "Active" + NATPolicyRuleOriginalDestinationAddressGroupsAddressObjectsStatusLabelDecommissioned NATPolicyRuleOriginalDestinationAddressGroupsAddressObjectsStatusLabel = "Decommissioned" + NATPolicyRuleOriginalDestinationAddressGroupsAddressObjectsStatusLabelStaged NATPolicyRuleOriginalDestinationAddressGroupsAddressObjectsStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleOriginalDestinationAddressGroupsAddressObjectsStatusValue. +const ( + NATPolicyRuleOriginalDestinationAddressGroupsAddressObjectsStatusValueActive NATPolicyRuleOriginalDestinationAddressGroupsAddressObjectsStatusValue = "active" + NATPolicyRuleOriginalDestinationAddressGroupsAddressObjectsStatusValueDecommissioned NATPolicyRuleOriginalDestinationAddressGroupsAddressObjectsStatusValue = "decommissioned" + NATPolicyRuleOriginalDestinationAddressGroupsAddressObjectsStatusValueStaged NATPolicyRuleOriginalDestinationAddressGroupsAddressObjectsStatusValue = "staged" +) + +// Defines values for NATPolicyRuleOriginalDestinationAddressGroupsStatusLabel. +const ( + NATPolicyRuleOriginalDestinationAddressGroupsStatusLabelActive NATPolicyRuleOriginalDestinationAddressGroupsStatusLabel = "Active" + NATPolicyRuleOriginalDestinationAddressGroupsStatusLabelDecommissioned NATPolicyRuleOriginalDestinationAddressGroupsStatusLabel = "Decommissioned" + NATPolicyRuleOriginalDestinationAddressGroupsStatusLabelStaged NATPolicyRuleOriginalDestinationAddressGroupsStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleOriginalDestinationAddressGroupsStatusValue. +const ( + NATPolicyRuleOriginalDestinationAddressGroupsStatusValueActive NATPolicyRuleOriginalDestinationAddressGroupsStatusValue = "active" + NATPolicyRuleOriginalDestinationAddressGroupsStatusValueDecommissioned NATPolicyRuleOriginalDestinationAddressGroupsStatusValue = "decommissioned" + NATPolicyRuleOriginalDestinationAddressGroupsStatusValueStaged NATPolicyRuleOriginalDestinationAddressGroupsStatusValue = "staged" +) + +// Defines values for NATPolicyRuleOriginalDestinationAddressesStatusLabel. +const ( + NATPolicyRuleOriginalDestinationAddressesStatusLabelActive NATPolicyRuleOriginalDestinationAddressesStatusLabel = "Active" + NATPolicyRuleOriginalDestinationAddressesStatusLabelDecommissioned NATPolicyRuleOriginalDestinationAddressesStatusLabel = "Decommissioned" + NATPolicyRuleOriginalDestinationAddressesStatusLabelStaged NATPolicyRuleOriginalDestinationAddressesStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleOriginalDestinationAddressesStatusValue. +const ( + NATPolicyRuleOriginalDestinationAddressesStatusValueActive NATPolicyRuleOriginalDestinationAddressesStatusValue = "active" + NATPolicyRuleOriginalDestinationAddressesStatusValueDecommissioned NATPolicyRuleOriginalDestinationAddressesStatusValue = "decommissioned" + NATPolicyRuleOriginalDestinationAddressesStatusValueStaged NATPolicyRuleOriginalDestinationAddressesStatusValue = "staged" +) + +// Defines values for NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol. +const ( + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolAH NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "AH" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolAN NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "A/N" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolARIS NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ARIS" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolAX25 NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "AX.25" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolBBNRCCMON NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "BBN-RCC-MON" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolBNA NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "BNA" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolBRSATMON NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "BR-SAT-MON" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolCBT NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "CBT" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolCFTP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "CFTP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolCHAOS NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "CHAOS" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolCPHB NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "CPHB" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolCPNX NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "CPNX" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolCRTP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "CRTP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolCRUDP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "CRUDP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolCompaqPeer NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "Compaq-Peer" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolDCCP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "DCCP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolDCNMEAS NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "DCN-MEAS" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolDDP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "DDP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolDDX NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "DDX" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolDGP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "DGP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolDSR NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "DSR" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolEGP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "EGP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolEIGRP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "EIGRP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolEMCON NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "EMCON" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolENCAP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ENCAP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolESP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ESP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolETHERIP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ETHERIP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolEthernet NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "Ethernet" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolFC NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "FC" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolFIRE NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "FIRE" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolGGP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "GGP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolGMTP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "GMTP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolGRE NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "GRE" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolHIP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "HIP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolHMP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "HMP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolIATP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IATP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolICMP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ICMP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolIDPR NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IDPR" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolIDPRCMTP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IDPR-CMTP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolIDRP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IDRP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolIFMP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IFMP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolIGMP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IGMP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolIGP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IGP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolIL NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IL" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolINLSP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "I-NLSP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolIPCV NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IPCV" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolIPComp NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IPComp" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolIPIP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IPIP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolIPLT NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IPLT" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolIPPC NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IPPC" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolIPXInIP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IPX-in-IP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolIRTP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IRTP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolISOIP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ISO-IP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolISOTP4 NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ISO-TP4" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolKRYPTOLAN NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "KRYPTOLAN" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolL2TP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "L2TP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolLARP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "LARP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolLEAF1 NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "LEAF-1" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolLEAF2 NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "LEAF-2" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolMERITINP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "MERIT-INP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolMFENSP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "MFE-NSP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolMOBILE NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "MOBILE" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolMTP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "MTP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolMUX NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "MUX" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolManet NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "manet" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolN3PC NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "3PC" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolNARP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "NARP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolNETBLT NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "NETBLT" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolNSFNETIGP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "NSFNET-IGP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolNVPII NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "NVP-II" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolOSPFIGP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "OSPFIGP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolPGM NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PGM" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolPIM NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PIM" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolPIPE NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PIPE" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolPNNI NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PNNI" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolPRM NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PRM" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolPTP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PTP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolPUP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PUP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolPVP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PVP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolQNX NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "QNX" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolRDP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "RDP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolROHC NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ROHC" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolRSVP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "RSVP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolRSVPE2EIGNORE NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "RSVP-E2E-IGNORE" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolRVD NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "RVD" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolSATEXPAK NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SAT-EXPAK" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolSATMON NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SAT-MON" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolSCCSP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SCC-SP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolSCPS NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SCPS" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolSCTP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SCTP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolSDRP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SDRP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolSECUREVMTP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SECURE-VMTP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolSKIP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SKIP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolSM NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SM" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolSMP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SMP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolSNP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SNP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolSPS NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SPS" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolSRP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SRP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolSSCOPMCE NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SSCOPMCE" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolSTP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "STP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolSUNND NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SUN-ND" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolSpriteRPC NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "Sprite-RPC" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolTCF NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "TCF" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolTCP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "TCP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolTLSP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "TLSP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolTP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "TP++" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolTRUNK1 NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "TRUNK-1" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolTRUNK2 NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "TRUNK-2" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolTTP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "TTP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolUDP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "UDP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolUDPLite NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "UDPLite" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolUTI NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "UTI" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolVINES NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "VINES" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolVISA NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "VISA" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolVMTP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "VMTP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolWBEXPAK NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "WB-EXPAK" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolWBMON NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "WB-MON" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolWESP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "WESP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolWSN NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "WSN" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolXNET NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "XNET" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolXNSIDP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "XNS-IDP" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocolXTP NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "XTP" +) + +// Defines values for NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsStatusLabel. +const ( + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsStatusLabelActive NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsStatusLabel = "Active" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsStatusLabelDecommissioned NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsStatusLabel = "Decommissioned" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsStatusLabelStaged NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsStatusValue. +const ( + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsStatusValueActive NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsStatusValue = "active" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsStatusValueDecommissioned NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsStatusValue = "decommissioned" + NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsStatusValueStaged NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsStatusValue = "staged" +) + +// Defines values for NATPolicyRuleOriginalDestinationServiceGroupsStatusLabel. +const ( + NATPolicyRuleOriginalDestinationServiceGroupsStatusLabelActive NATPolicyRuleOriginalDestinationServiceGroupsStatusLabel = "Active" + NATPolicyRuleOriginalDestinationServiceGroupsStatusLabelDecommissioned NATPolicyRuleOriginalDestinationServiceGroupsStatusLabel = "Decommissioned" + NATPolicyRuleOriginalDestinationServiceGroupsStatusLabelStaged NATPolicyRuleOriginalDestinationServiceGroupsStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleOriginalDestinationServiceGroupsStatusValue. +const ( + NATPolicyRuleOriginalDestinationServiceGroupsStatusValueActive NATPolicyRuleOriginalDestinationServiceGroupsStatusValue = "active" + NATPolicyRuleOriginalDestinationServiceGroupsStatusValueDecommissioned NATPolicyRuleOriginalDestinationServiceGroupsStatusValue = "decommissioned" + NATPolicyRuleOriginalDestinationServiceGroupsStatusValueStaged NATPolicyRuleOriginalDestinationServiceGroupsStatusValue = "staged" +) + +// Defines values for NATPolicyRuleOriginalDestinationServicesIpProtocol. +const ( + NATPolicyRuleOriginalDestinationServicesIpProtocolAH NATPolicyRuleOriginalDestinationServicesIpProtocol = "AH" + NATPolicyRuleOriginalDestinationServicesIpProtocolAN NATPolicyRuleOriginalDestinationServicesIpProtocol = "A/N" + NATPolicyRuleOriginalDestinationServicesIpProtocolARIS NATPolicyRuleOriginalDestinationServicesIpProtocol = "ARIS" + NATPolicyRuleOriginalDestinationServicesIpProtocolAX25 NATPolicyRuleOriginalDestinationServicesIpProtocol = "AX.25" + NATPolicyRuleOriginalDestinationServicesIpProtocolBBNRCCMON NATPolicyRuleOriginalDestinationServicesIpProtocol = "BBN-RCC-MON" + NATPolicyRuleOriginalDestinationServicesIpProtocolBNA NATPolicyRuleOriginalDestinationServicesIpProtocol = "BNA" + NATPolicyRuleOriginalDestinationServicesIpProtocolBRSATMON NATPolicyRuleOriginalDestinationServicesIpProtocol = "BR-SAT-MON" + NATPolicyRuleOriginalDestinationServicesIpProtocolCBT NATPolicyRuleOriginalDestinationServicesIpProtocol = "CBT" + NATPolicyRuleOriginalDestinationServicesIpProtocolCFTP NATPolicyRuleOriginalDestinationServicesIpProtocol = "CFTP" + NATPolicyRuleOriginalDestinationServicesIpProtocolCHAOS NATPolicyRuleOriginalDestinationServicesIpProtocol = "CHAOS" + NATPolicyRuleOriginalDestinationServicesIpProtocolCPHB NATPolicyRuleOriginalDestinationServicesIpProtocol = "CPHB" + NATPolicyRuleOriginalDestinationServicesIpProtocolCPNX NATPolicyRuleOriginalDestinationServicesIpProtocol = "CPNX" + NATPolicyRuleOriginalDestinationServicesIpProtocolCRTP NATPolicyRuleOriginalDestinationServicesIpProtocol = "CRTP" + NATPolicyRuleOriginalDestinationServicesIpProtocolCRUDP NATPolicyRuleOriginalDestinationServicesIpProtocol = "CRUDP" + NATPolicyRuleOriginalDestinationServicesIpProtocolCompaqPeer NATPolicyRuleOriginalDestinationServicesIpProtocol = "Compaq-Peer" + NATPolicyRuleOriginalDestinationServicesIpProtocolDCCP NATPolicyRuleOriginalDestinationServicesIpProtocol = "DCCP" + NATPolicyRuleOriginalDestinationServicesIpProtocolDCNMEAS NATPolicyRuleOriginalDestinationServicesIpProtocol = "DCN-MEAS" + NATPolicyRuleOriginalDestinationServicesIpProtocolDDP NATPolicyRuleOriginalDestinationServicesIpProtocol = "DDP" + NATPolicyRuleOriginalDestinationServicesIpProtocolDDX NATPolicyRuleOriginalDestinationServicesIpProtocol = "DDX" + NATPolicyRuleOriginalDestinationServicesIpProtocolDGP NATPolicyRuleOriginalDestinationServicesIpProtocol = "DGP" + NATPolicyRuleOriginalDestinationServicesIpProtocolDSR NATPolicyRuleOriginalDestinationServicesIpProtocol = "DSR" + NATPolicyRuleOriginalDestinationServicesIpProtocolEGP NATPolicyRuleOriginalDestinationServicesIpProtocol = "EGP" + NATPolicyRuleOriginalDestinationServicesIpProtocolEIGRP NATPolicyRuleOriginalDestinationServicesIpProtocol = "EIGRP" + NATPolicyRuleOriginalDestinationServicesIpProtocolEMCON NATPolicyRuleOriginalDestinationServicesIpProtocol = "EMCON" + NATPolicyRuleOriginalDestinationServicesIpProtocolENCAP NATPolicyRuleOriginalDestinationServicesIpProtocol = "ENCAP" + NATPolicyRuleOriginalDestinationServicesIpProtocolESP NATPolicyRuleOriginalDestinationServicesIpProtocol = "ESP" + NATPolicyRuleOriginalDestinationServicesIpProtocolETHERIP NATPolicyRuleOriginalDestinationServicesIpProtocol = "ETHERIP" + NATPolicyRuleOriginalDestinationServicesIpProtocolEthernet NATPolicyRuleOriginalDestinationServicesIpProtocol = "Ethernet" + NATPolicyRuleOriginalDestinationServicesIpProtocolFC NATPolicyRuleOriginalDestinationServicesIpProtocol = "FC" + NATPolicyRuleOriginalDestinationServicesIpProtocolFIRE NATPolicyRuleOriginalDestinationServicesIpProtocol = "FIRE" + NATPolicyRuleOriginalDestinationServicesIpProtocolGGP NATPolicyRuleOriginalDestinationServicesIpProtocol = "GGP" + NATPolicyRuleOriginalDestinationServicesIpProtocolGMTP NATPolicyRuleOriginalDestinationServicesIpProtocol = "GMTP" + NATPolicyRuleOriginalDestinationServicesIpProtocolGRE NATPolicyRuleOriginalDestinationServicesIpProtocol = "GRE" + NATPolicyRuleOriginalDestinationServicesIpProtocolHIP NATPolicyRuleOriginalDestinationServicesIpProtocol = "HIP" + NATPolicyRuleOriginalDestinationServicesIpProtocolHMP NATPolicyRuleOriginalDestinationServicesIpProtocol = "HMP" + NATPolicyRuleOriginalDestinationServicesIpProtocolIATP NATPolicyRuleOriginalDestinationServicesIpProtocol = "IATP" + NATPolicyRuleOriginalDestinationServicesIpProtocolICMP NATPolicyRuleOriginalDestinationServicesIpProtocol = "ICMP" + NATPolicyRuleOriginalDestinationServicesIpProtocolIDPR NATPolicyRuleOriginalDestinationServicesIpProtocol = "IDPR" + NATPolicyRuleOriginalDestinationServicesIpProtocolIDPRCMTP NATPolicyRuleOriginalDestinationServicesIpProtocol = "IDPR-CMTP" + NATPolicyRuleOriginalDestinationServicesIpProtocolIDRP NATPolicyRuleOriginalDestinationServicesIpProtocol = "IDRP" + NATPolicyRuleOriginalDestinationServicesIpProtocolIFMP NATPolicyRuleOriginalDestinationServicesIpProtocol = "IFMP" + NATPolicyRuleOriginalDestinationServicesIpProtocolIGMP NATPolicyRuleOriginalDestinationServicesIpProtocol = "IGMP" + NATPolicyRuleOriginalDestinationServicesIpProtocolIGP NATPolicyRuleOriginalDestinationServicesIpProtocol = "IGP" + NATPolicyRuleOriginalDestinationServicesIpProtocolIL NATPolicyRuleOriginalDestinationServicesIpProtocol = "IL" + NATPolicyRuleOriginalDestinationServicesIpProtocolINLSP NATPolicyRuleOriginalDestinationServicesIpProtocol = "I-NLSP" + NATPolicyRuleOriginalDestinationServicesIpProtocolIPCV NATPolicyRuleOriginalDestinationServicesIpProtocol = "IPCV" + NATPolicyRuleOriginalDestinationServicesIpProtocolIPComp NATPolicyRuleOriginalDestinationServicesIpProtocol = "IPComp" + NATPolicyRuleOriginalDestinationServicesIpProtocolIPIP NATPolicyRuleOriginalDestinationServicesIpProtocol = "IPIP" + NATPolicyRuleOriginalDestinationServicesIpProtocolIPLT NATPolicyRuleOriginalDestinationServicesIpProtocol = "IPLT" + NATPolicyRuleOriginalDestinationServicesIpProtocolIPPC NATPolicyRuleOriginalDestinationServicesIpProtocol = "IPPC" + NATPolicyRuleOriginalDestinationServicesIpProtocolIPXInIP NATPolicyRuleOriginalDestinationServicesIpProtocol = "IPX-in-IP" + NATPolicyRuleOriginalDestinationServicesIpProtocolIRTP NATPolicyRuleOriginalDestinationServicesIpProtocol = "IRTP" + NATPolicyRuleOriginalDestinationServicesIpProtocolISOIP NATPolicyRuleOriginalDestinationServicesIpProtocol = "ISO-IP" + NATPolicyRuleOriginalDestinationServicesIpProtocolISOTP4 NATPolicyRuleOriginalDestinationServicesIpProtocol = "ISO-TP4" + NATPolicyRuleOriginalDestinationServicesIpProtocolKRYPTOLAN NATPolicyRuleOriginalDestinationServicesIpProtocol = "KRYPTOLAN" + NATPolicyRuleOriginalDestinationServicesIpProtocolL2TP NATPolicyRuleOriginalDestinationServicesIpProtocol = "L2TP" + NATPolicyRuleOriginalDestinationServicesIpProtocolLARP NATPolicyRuleOriginalDestinationServicesIpProtocol = "LARP" + NATPolicyRuleOriginalDestinationServicesIpProtocolLEAF1 NATPolicyRuleOriginalDestinationServicesIpProtocol = "LEAF-1" + NATPolicyRuleOriginalDestinationServicesIpProtocolLEAF2 NATPolicyRuleOriginalDestinationServicesIpProtocol = "LEAF-2" + NATPolicyRuleOriginalDestinationServicesIpProtocolMERITINP NATPolicyRuleOriginalDestinationServicesIpProtocol = "MERIT-INP" + NATPolicyRuleOriginalDestinationServicesIpProtocolMFENSP NATPolicyRuleOriginalDestinationServicesIpProtocol = "MFE-NSP" + NATPolicyRuleOriginalDestinationServicesIpProtocolMOBILE NATPolicyRuleOriginalDestinationServicesIpProtocol = "MOBILE" + NATPolicyRuleOriginalDestinationServicesIpProtocolMTP NATPolicyRuleOriginalDestinationServicesIpProtocol = "MTP" + NATPolicyRuleOriginalDestinationServicesIpProtocolMUX NATPolicyRuleOriginalDestinationServicesIpProtocol = "MUX" + NATPolicyRuleOriginalDestinationServicesIpProtocolManet NATPolicyRuleOriginalDestinationServicesIpProtocol = "manet" + NATPolicyRuleOriginalDestinationServicesIpProtocolN3PC NATPolicyRuleOriginalDestinationServicesIpProtocol = "3PC" + NATPolicyRuleOriginalDestinationServicesIpProtocolNARP NATPolicyRuleOriginalDestinationServicesIpProtocol = "NARP" + NATPolicyRuleOriginalDestinationServicesIpProtocolNETBLT NATPolicyRuleOriginalDestinationServicesIpProtocol = "NETBLT" + NATPolicyRuleOriginalDestinationServicesIpProtocolNSFNETIGP NATPolicyRuleOriginalDestinationServicesIpProtocol = "NSFNET-IGP" + NATPolicyRuleOriginalDestinationServicesIpProtocolNVPII NATPolicyRuleOriginalDestinationServicesIpProtocol = "NVP-II" + NATPolicyRuleOriginalDestinationServicesIpProtocolOSPFIGP NATPolicyRuleOriginalDestinationServicesIpProtocol = "OSPFIGP" + NATPolicyRuleOriginalDestinationServicesIpProtocolPGM NATPolicyRuleOriginalDestinationServicesIpProtocol = "PGM" + NATPolicyRuleOriginalDestinationServicesIpProtocolPIM NATPolicyRuleOriginalDestinationServicesIpProtocol = "PIM" + NATPolicyRuleOriginalDestinationServicesIpProtocolPIPE NATPolicyRuleOriginalDestinationServicesIpProtocol = "PIPE" + NATPolicyRuleOriginalDestinationServicesIpProtocolPNNI NATPolicyRuleOriginalDestinationServicesIpProtocol = "PNNI" + NATPolicyRuleOriginalDestinationServicesIpProtocolPRM NATPolicyRuleOriginalDestinationServicesIpProtocol = "PRM" + NATPolicyRuleOriginalDestinationServicesIpProtocolPTP NATPolicyRuleOriginalDestinationServicesIpProtocol = "PTP" + NATPolicyRuleOriginalDestinationServicesIpProtocolPUP NATPolicyRuleOriginalDestinationServicesIpProtocol = "PUP" + NATPolicyRuleOriginalDestinationServicesIpProtocolPVP NATPolicyRuleOriginalDestinationServicesIpProtocol = "PVP" + NATPolicyRuleOriginalDestinationServicesIpProtocolQNX NATPolicyRuleOriginalDestinationServicesIpProtocol = "QNX" + NATPolicyRuleOriginalDestinationServicesIpProtocolRDP NATPolicyRuleOriginalDestinationServicesIpProtocol = "RDP" + NATPolicyRuleOriginalDestinationServicesIpProtocolROHC NATPolicyRuleOriginalDestinationServicesIpProtocol = "ROHC" + NATPolicyRuleOriginalDestinationServicesIpProtocolRSVP NATPolicyRuleOriginalDestinationServicesIpProtocol = "RSVP" + NATPolicyRuleOriginalDestinationServicesIpProtocolRSVPE2EIGNORE NATPolicyRuleOriginalDestinationServicesIpProtocol = "RSVP-E2E-IGNORE" + NATPolicyRuleOriginalDestinationServicesIpProtocolRVD NATPolicyRuleOriginalDestinationServicesIpProtocol = "RVD" + NATPolicyRuleOriginalDestinationServicesIpProtocolSATEXPAK NATPolicyRuleOriginalDestinationServicesIpProtocol = "SAT-EXPAK" + NATPolicyRuleOriginalDestinationServicesIpProtocolSATMON NATPolicyRuleOriginalDestinationServicesIpProtocol = "SAT-MON" + NATPolicyRuleOriginalDestinationServicesIpProtocolSCCSP NATPolicyRuleOriginalDestinationServicesIpProtocol = "SCC-SP" + NATPolicyRuleOriginalDestinationServicesIpProtocolSCPS NATPolicyRuleOriginalDestinationServicesIpProtocol = "SCPS" + NATPolicyRuleOriginalDestinationServicesIpProtocolSCTP NATPolicyRuleOriginalDestinationServicesIpProtocol = "SCTP" + NATPolicyRuleOriginalDestinationServicesIpProtocolSDRP NATPolicyRuleOriginalDestinationServicesIpProtocol = "SDRP" + NATPolicyRuleOriginalDestinationServicesIpProtocolSECUREVMTP NATPolicyRuleOriginalDestinationServicesIpProtocol = "SECURE-VMTP" + NATPolicyRuleOriginalDestinationServicesIpProtocolSKIP NATPolicyRuleOriginalDestinationServicesIpProtocol = "SKIP" + NATPolicyRuleOriginalDestinationServicesIpProtocolSM NATPolicyRuleOriginalDestinationServicesIpProtocol = "SM" + NATPolicyRuleOriginalDestinationServicesIpProtocolSMP NATPolicyRuleOriginalDestinationServicesIpProtocol = "SMP" + NATPolicyRuleOriginalDestinationServicesIpProtocolSNP NATPolicyRuleOriginalDestinationServicesIpProtocol = "SNP" + NATPolicyRuleOriginalDestinationServicesIpProtocolSPS NATPolicyRuleOriginalDestinationServicesIpProtocol = "SPS" + NATPolicyRuleOriginalDestinationServicesIpProtocolSRP NATPolicyRuleOriginalDestinationServicesIpProtocol = "SRP" + NATPolicyRuleOriginalDestinationServicesIpProtocolSSCOPMCE NATPolicyRuleOriginalDestinationServicesIpProtocol = "SSCOPMCE" + NATPolicyRuleOriginalDestinationServicesIpProtocolSTP NATPolicyRuleOriginalDestinationServicesIpProtocol = "STP" + NATPolicyRuleOriginalDestinationServicesIpProtocolSUNND NATPolicyRuleOriginalDestinationServicesIpProtocol = "SUN-ND" + NATPolicyRuleOriginalDestinationServicesIpProtocolSpriteRPC NATPolicyRuleOriginalDestinationServicesIpProtocol = "Sprite-RPC" + NATPolicyRuleOriginalDestinationServicesIpProtocolTCF NATPolicyRuleOriginalDestinationServicesIpProtocol = "TCF" + NATPolicyRuleOriginalDestinationServicesIpProtocolTCP NATPolicyRuleOriginalDestinationServicesIpProtocol = "TCP" + NATPolicyRuleOriginalDestinationServicesIpProtocolTLSP NATPolicyRuleOriginalDestinationServicesIpProtocol = "TLSP" + NATPolicyRuleOriginalDestinationServicesIpProtocolTP NATPolicyRuleOriginalDestinationServicesIpProtocol = "TP++" + NATPolicyRuleOriginalDestinationServicesIpProtocolTRUNK1 NATPolicyRuleOriginalDestinationServicesIpProtocol = "TRUNK-1" + NATPolicyRuleOriginalDestinationServicesIpProtocolTRUNK2 NATPolicyRuleOriginalDestinationServicesIpProtocol = "TRUNK-2" + NATPolicyRuleOriginalDestinationServicesIpProtocolTTP NATPolicyRuleOriginalDestinationServicesIpProtocol = "TTP" + NATPolicyRuleOriginalDestinationServicesIpProtocolUDP NATPolicyRuleOriginalDestinationServicesIpProtocol = "UDP" + NATPolicyRuleOriginalDestinationServicesIpProtocolUDPLite NATPolicyRuleOriginalDestinationServicesIpProtocol = "UDPLite" + NATPolicyRuleOriginalDestinationServicesIpProtocolUTI NATPolicyRuleOriginalDestinationServicesIpProtocol = "UTI" + NATPolicyRuleOriginalDestinationServicesIpProtocolVINES NATPolicyRuleOriginalDestinationServicesIpProtocol = "VINES" + NATPolicyRuleOriginalDestinationServicesIpProtocolVISA NATPolicyRuleOriginalDestinationServicesIpProtocol = "VISA" + NATPolicyRuleOriginalDestinationServicesIpProtocolVMTP NATPolicyRuleOriginalDestinationServicesIpProtocol = "VMTP" + NATPolicyRuleOriginalDestinationServicesIpProtocolWBEXPAK NATPolicyRuleOriginalDestinationServicesIpProtocol = "WB-EXPAK" + NATPolicyRuleOriginalDestinationServicesIpProtocolWBMON NATPolicyRuleOriginalDestinationServicesIpProtocol = "WB-MON" + NATPolicyRuleOriginalDestinationServicesIpProtocolWESP NATPolicyRuleOriginalDestinationServicesIpProtocol = "WESP" + NATPolicyRuleOriginalDestinationServicesIpProtocolWSN NATPolicyRuleOriginalDestinationServicesIpProtocol = "WSN" + NATPolicyRuleOriginalDestinationServicesIpProtocolXNET NATPolicyRuleOriginalDestinationServicesIpProtocol = "XNET" + NATPolicyRuleOriginalDestinationServicesIpProtocolXNSIDP NATPolicyRuleOriginalDestinationServicesIpProtocol = "XNS-IDP" + NATPolicyRuleOriginalDestinationServicesIpProtocolXTP NATPolicyRuleOriginalDestinationServicesIpProtocol = "XTP" +) + +// Defines values for NATPolicyRuleOriginalDestinationServicesStatusLabel. +const ( + NATPolicyRuleOriginalDestinationServicesStatusLabelActive NATPolicyRuleOriginalDestinationServicesStatusLabel = "Active" + NATPolicyRuleOriginalDestinationServicesStatusLabelDecommissioned NATPolicyRuleOriginalDestinationServicesStatusLabel = "Decommissioned" + NATPolicyRuleOriginalDestinationServicesStatusLabelStaged NATPolicyRuleOriginalDestinationServicesStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleOriginalDestinationServicesStatusValue. +const ( + NATPolicyRuleOriginalDestinationServicesStatusValueActive NATPolicyRuleOriginalDestinationServicesStatusValue = "active" + NATPolicyRuleOriginalDestinationServicesStatusValueDecommissioned NATPolicyRuleOriginalDestinationServicesStatusValue = "decommissioned" + NATPolicyRuleOriginalDestinationServicesStatusValueStaged NATPolicyRuleOriginalDestinationServicesStatusValue = "staged" +) + +// Defines values for NATPolicyRuleOriginalSourceAddressGroupsAddressObjectsStatusLabel. +const ( + NATPolicyRuleOriginalSourceAddressGroupsAddressObjectsStatusLabelActive NATPolicyRuleOriginalSourceAddressGroupsAddressObjectsStatusLabel = "Active" + NATPolicyRuleOriginalSourceAddressGroupsAddressObjectsStatusLabelDecommissioned NATPolicyRuleOriginalSourceAddressGroupsAddressObjectsStatusLabel = "Decommissioned" + NATPolicyRuleOriginalSourceAddressGroupsAddressObjectsStatusLabelStaged NATPolicyRuleOriginalSourceAddressGroupsAddressObjectsStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleOriginalSourceAddressGroupsAddressObjectsStatusValue. +const ( + NATPolicyRuleOriginalSourceAddressGroupsAddressObjectsStatusValueActive NATPolicyRuleOriginalSourceAddressGroupsAddressObjectsStatusValue = "active" + NATPolicyRuleOriginalSourceAddressGroupsAddressObjectsStatusValueDecommissioned NATPolicyRuleOriginalSourceAddressGroupsAddressObjectsStatusValue = "decommissioned" + NATPolicyRuleOriginalSourceAddressGroupsAddressObjectsStatusValueStaged NATPolicyRuleOriginalSourceAddressGroupsAddressObjectsStatusValue = "staged" +) + +// Defines values for NATPolicyRuleOriginalSourceAddressGroupsStatusLabel. +const ( + NATPolicyRuleOriginalSourceAddressGroupsStatusLabelActive NATPolicyRuleOriginalSourceAddressGroupsStatusLabel = "Active" + NATPolicyRuleOriginalSourceAddressGroupsStatusLabelDecommissioned NATPolicyRuleOriginalSourceAddressGroupsStatusLabel = "Decommissioned" + NATPolicyRuleOriginalSourceAddressGroupsStatusLabelStaged NATPolicyRuleOriginalSourceAddressGroupsStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleOriginalSourceAddressGroupsStatusValue. +const ( + NATPolicyRuleOriginalSourceAddressGroupsStatusValueActive NATPolicyRuleOriginalSourceAddressGroupsStatusValue = "active" + NATPolicyRuleOriginalSourceAddressGroupsStatusValueDecommissioned NATPolicyRuleOriginalSourceAddressGroupsStatusValue = "decommissioned" + NATPolicyRuleOriginalSourceAddressGroupsStatusValueStaged NATPolicyRuleOriginalSourceAddressGroupsStatusValue = "staged" +) + +// Defines values for NATPolicyRuleOriginalSourceAddressesStatusLabel. +const ( + NATPolicyRuleOriginalSourceAddressesStatusLabelActive NATPolicyRuleOriginalSourceAddressesStatusLabel = "Active" + NATPolicyRuleOriginalSourceAddressesStatusLabelDecommissioned NATPolicyRuleOriginalSourceAddressesStatusLabel = "Decommissioned" + NATPolicyRuleOriginalSourceAddressesStatusLabelStaged NATPolicyRuleOriginalSourceAddressesStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleOriginalSourceAddressesStatusValue. +const ( + NATPolicyRuleOriginalSourceAddressesStatusValueActive NATPolicyRuleOriginalSourceAddressesStatusValue = "active" + NATPolicyRuleOriginalSourceAddressesStatusValueDecommissioned NATPolicyRuleOriginalSourceAddressesStatusValue = "decommissioned" + NATPolicyRuleOriginalSourceAddressesStatusValueStaged NATPolicyRuleOriginalSourceAddressesStatusValue = "staged" +) + +// Defines values for NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol. +const ( + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolAH NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "AH" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolAN NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "A/N" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolARIS NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ARIS" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolAX25 NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "AX.25" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolBBNRCCMON NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "BBN-RCC-MON" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolBNA NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "BNA" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolBRSATMON NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "BR-SAT-MON" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolCBT NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "CBT" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolCFTP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "CFTP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolCHAOS NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "CHAOS" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolCPHB NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "CPHB" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolCPNX NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "CPNX" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolCRTP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "CRTP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolCRUDP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "CRUDP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolCompaqPeer NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "Compaq-Peer" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolDCCP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "DCCP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolDCNMEAS NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "DCN-MEAS" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolDDP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "DDP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolDDX NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "DDX" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolDGP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "DGP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolDSR NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "DSR" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolEGP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "EGP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolEIGRP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "EIGRP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolEMCON NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "EMCON" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolENCAP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ENCAP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolESP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ESP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolETHERIP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ETHERIP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolEthernet NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "Ethernet" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolFC NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "FC" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolFIRE NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "FIRE" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolGGP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "GGP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolGMTP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "GMTP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolGRE NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "GRE" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolHIP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "HIP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolHMP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "HMP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolIATP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IATP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolICMP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ICMP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolIDPR NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IDPR" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolIDPRCMTP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IDPR-CMTP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolIDRP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IDRP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolIFMP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IFMP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolIGMP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IGMP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolIGP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IGP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolIL NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IL" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolINLSP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "I-NLSP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolIPCV NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IPCV" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolIPComp NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IPComp" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolIPIP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IPIP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolIPLT NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IPLT" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolIPPC NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IPPC" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolIPXInIP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IPX-in-IP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolIRTP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IRTP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolISOIP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ISO-IP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolISOTP4 NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ISO-TP4" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolKRYPTOLAN NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "KRYPTOLAN" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolL2TP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "L2TP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolLARP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "LARP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolLEAF1 NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "LEAF-1" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolLEAF2 NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "LEAF-2" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolMERITINP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "MERIT-INP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolMFENSP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "MFE-NSP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolMOBILE NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "MOBILE" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolMTP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "MTP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolMUX NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "MUX" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolManet NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "manet" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolN3PC NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "3PC" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolNARP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "NARP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolNETBLT NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "NETBLT" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolNSFNETIGP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "NSFNET-IGP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolNVPII NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "NVP-II" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolOSPFIGP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "OSPFIGP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolPGM NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PGM" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolPIM NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PIM" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolPIPE NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PIPE" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolPNNI NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PNNI" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolPRM NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PRM" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolPTP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PTP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolPUP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PUP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolPVP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PVP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolQNX NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "QNX" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolRDP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "RDP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolROHC NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ROHC" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolRSVP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "RSVP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolRSVPE2EIGNORE NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "RSVP-E2E-IGNORE" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolRVD NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "RVD" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolSATEXPAK NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SAT-EXPAK" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolSATMON NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SAT-MON" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolSCCSP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SCC-SP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolSCPS NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SCPS" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolSCTP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SCTP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolSDRP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SDRP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolSECUREVMTP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SECURE-VMTP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolSKIP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SKIP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolSM NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SM" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolSMP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SMP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolSNP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SNP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolSPS NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SPS" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolSRP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SRP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolSSCOPMCE NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SSCOPMCE" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolSTP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "STP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolSUNND NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SUN-ND" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolSpriteRPC NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "Sprite-RPC" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolTCF NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "TCF" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolTCP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "TCP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolTLSP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "TLSP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolTP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "TP++" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolTRUNK1 NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "TRUNK-1" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolTRUNK2 NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "TRUNK-2" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolTTP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "TTP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolUDP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "UDP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolUDPLite NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "UDPLite" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolUTI NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "UTI" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolVINES NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "VINES" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolVISA NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "VISA" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolVMTP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "VMTP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolWBEXPAK NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "WB-EXPAK" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolWBMON NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "WB-MON" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolWESP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "WESP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolWSN NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "WSN" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolXNET NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "XNET" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolXNSIDP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "XNS-IDP" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocolXTP NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol = "XTP" +) + +// Defines values for NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsStatusLabel. +const ( + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsStatusLabelActive NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsStatusLabel = "Active" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsStatusLabelDecommissioned NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsStatusLabel = "Decommissioned" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsStatusLabelStaged NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsStatusValue. +const ( + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsStatusValueActive NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsStatusValue = "active" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsStatusValueDecommissioned NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsStatusValue = "decommissioned" + NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsStatusValueStaged NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsStatusValue = "staged" +) + +// Defines values for NATPolicyRuleOriginalSourceServiceGroupsStatusLabel. +const ( + NATPolicyRuleOriginalSourceServiceGroupsStatusLabelActive NATPolicyRuleOriginalSourceServiceGroupsStatusLabel = "Active" + NATPolicyRuleOriginalSourceServiceGroupsStatusLabelDecommissioned NATPolicyRuleOriginalSourceServiceGroupsStatusLabel = "Decommissioned" + NATPolicyRuleOriginalSourceServiceGroupsStatusLabelStaged NATPolicyRuleOriginalSourceServiceGroupsStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleOriginalSourceServiceGroupsStatusValue. +const ( + NATPolicyRuleOriginalSourceServiceGroupsStatusValueActive NATPolicyRuleOriginalSourceServiceGroupsStatusValue = "active" + NATPolicyRuleOriginalSourceServiceGroupsStatusValueDecommissioned NATPolicyRuleOriginalSourceServiceGroupsStatusValue = "decommissioned" + NATPolicyRuleOriginalSourceServiceGroupsStatusValueStaged NATPolicyRuleOriginalSourceServiceGroupsStatusValue = "staged" +) + +// Defines values for NATPolicyRuleOriginalSourceServicesIpProtocol. +const ( + NATPolicyRuleOriginalSourceServicesIpProtocolAH NATPolicyRuleOriginalSourceServicesIpProtocol = "AH" + NATPolicyRuleOriginalSourceServicesIpProtocolAN NATPolicyRuleOriginalSourceServicesIpProtocol = "A/N" + NATPolicyRuleOriginalSourceServicesIpProtocolARIS NATPolicyRuleOriginalSourceServicesIpProtocol = "ARIS" + NATPolicyRuleOriginalSourceServicesIpProtocolAX25 NATPolicyRuleOriginalSourceServicesIpProtocol = "AX.25" + NATPolicyRuleOriginalSourceServicesIpProtocolBBNRCCMON NATPolicyRuleOriginalSourceServicesIpProtocol = "BBN-RCC-MON" + NATPolicyRuleOriginalSourceServicesIpProtocolBNA NATPolicyRuleOriginalSourceServicesIpProtocol = "BNA" + NATPolicyRuleOriginalSourceServicesIpProtocolBRSATMON NATPolicyRuleOriginalSourceServicesIpProtocol = "BR-SAT-MON" + NATPolicyRuleOriginalSourceServicesIpProtocolCBT NATPolicyRuleOriginalSourceServicesIpProtocol = "CBT" + NATPolicyRuleOriginalSourceServicesIpProtocolCFTP NATPolicyRuleOriginalSourceServicesIpProtocol = "CFTP" + NATPolicyRuleOriginalSourceServicesIpProtocolCHAOS NATPolicyRuleOriginalSourceServicesIpProtocol = "CHAOS" + NATPolicyRuleOriginalSourceServicesIpProtocolCPHB NATPolicyRuleOriginalSourceServicesIpProtocol = "CPHB" + NATPolicyRuleOriginalSourceServicesIpProtocolCPNX NATPolicyRuleOriginalSourceServicesIpProtocol = "CPNX" + NATPolicyRuleOriginalSourceServicesIpProtocolCRTP NATPolicyRuleOriginalSourceServicesIpProtocol = "CRTP" + NATPolicyRuleOriginalSourceServicesIpProtocolCRUDP NATPolicyRuleOriginalSourceServicesIpProtocol = "CRUDP" + NATPolicyRuleOriginalSourceServicesIpProtocolCompaqPeer NATPolicyRuleOriginalSourceServicesIpProtocol = "Compaq-Peer" + NATPolicyRuleOriginalSourceServicesIpProtocolDCCP NATPolicyRuleOriginalSourceServicesIpProtocol = "DCCP" + NATPolicyRuleOriginalSourceServicesIpProtocolDCNMEAS NATPolicyRuleOriginalSourceServicesIpProtocol = "DCN-MEAS" + NATPolicyRuleOriginalSourceServicesIpProtocolDDP NATPolicyRuleOriginalSourceServicesIpProtocol = "DDP" + NATPolicyRuleOriginalSourceServicesIpProtocolDDX NATPolicyRuleOriginalSourceServicesIpProtocol = "DDX" + NATPolicyRuleOriginalSourceServicesIpProtocolDGP NATPolicyRuleOriginalSourceServicesIpProtocol = "DGP" + NATPolicyRuleOriginalSourceServicesIpProtocolDSR NATPolicyRuleOriginalSourceServicesIpProtocol = "DSR" + NATPolicyRuleOriginalSourceServicesIpProtocolEGP NATPolicyRuleOriginalSourceServicesIpProtocol = "EGP" + NATPolicyRuleOriginalSourceServicesIpProtocolEIGRP NATPolicyRuleOriginalSourceServicesIpProtocol = "EIGRP" + NATPolicyRuleOriginalSourceServicesIpProtocolEMCON NATPolicyRuleOriginalSourceServicesIpProtocol = "EMCON" + NATPolicyRuleOriginalSourceServicesIpProtocolENCAP NATPolicyRuleOriginalSourceServicesIpProtocol = "ENCAP" + NATPolicyRuleOriginalSourceServicesIpProtocolESP NATPolicyRuleOriginalSourceServicesIpProtocol = "ESP" + NATPolicyRuleOriginalSourceServicesIpProtocolETHERIP NATPolicyRuleOriginalSourceServicesIpProtocol = "ETHERIP" + NATPolicyRuleOriginalSourceServicesIpProtocolEthernet NATPolicyRuleOriginalSourceServicesIpProtocol = "Ethernet" + NATPolicyRuleOriginalSourceServicesIpProtocolFC NATPolicyRuleOriginalSourceServicesIpProtocol = "FC" + NATPolicyRuleOriginalSourceServicesIpProtocolFIRE NATPolicyRuleOriginalSourceServicesIpProtocol = "FIRE" + NATPolicyRuleOriginalSourceServicesIpProtocolGGP NATPolicyRuleOriginalSourceServicesIpProtocol = "GGP" + NATPolicyRuleOriginalSourceServicesIpProtocolGMTP NATPolicyRuleOriginalSourceServicesIpProtocol = "GMTP" + NATPolicyRuleOriginalSourceServicesIpProtocolGRE NATPolicyRuleOriginalSourceServicesIpProtocol = "GRE" + NATPolicyRuleOriginalSourceServicesIpProtocolHIP NATPolicyRuleOriginalSourceServicesIpProtocol = "HIP" + NATPolicyRuleOriginalSourceServicesIpProtocolHMP NATPolicyRuleOriginalSourceServicesIpProtocol = "HMP" + NATPolicyRuleOriginalSourceServicesIpProtocolIATP NATPolicyRuleOriginalSourceServicesIpProtocol = "IATP" + NATPolicyRuleOriginalSourceServicesIpProtocolICMP NATPolicyRuleOriginalSourceServicesIpProtocol = "ICMP" + NATPolicyRuleOriginalSourceServicesIpProtocolIDPR NATPolicyRuleOriginalSourceServicesIpProtocol = "IDPR" + NATPolicyRuleOriginalSourceServicesIpProtocolIDPRCMTP NATPolicyRuleOriginalSourceServicesIpProtocol = "IDPR-CMTP" + NATPolicyRuleOriginalSourceServicesIpProtocolIDRP NATPolicyRuleOriginalSourceServicesIpProtocol = "IDRP" + NATPolicyRuleOriginalSourceServicesIpProtocolIFMP NATPolicyRuleOriginalSourceServicesIpProtocol = "IFMP" + NATPolicyRuleOriginalSourceServicesIpProtocolIGMP NATPolicyRuleOriginalSourceServicesIpProtocol = "IGMP" + NATPolicyRuleOriginalSourceServicesIpProtocolIGP NATPolicyRuleOriginalSourceServicesIpProtocol = "IGP" + NATPolicyRuleOriginalSourceServicesIpProtocolIL NATPolicyRuleOriginalSourceServicesIpProtocol = "IL" + NATPolicyRuleOriginalSourceServicesIpProtocolINLSP NATPolicyRuleOriginalSourceServicesIpProtocol = "I-NLSP" + NATPolicyRuleOriginalSourceServicesIpProtocolIPCV NATPolicyRuleOriginalSourceServicesIpProtocol = "IPCV" + NATPolicyRuleOriginalSourceServicesIpProtocolIPComp NATPolicyRuleOriginalSourceServicesIpProtocol = "IPComp" + NATPolicyRuleOriginalSourceServicesIpProtocolIPIP NATPolicyRuleOriginalSourceServicesIpProtocol = "IPIP" + NATPolicyRuleOriginalSourceServicesIpProtocolIPLT NATPolicyRuleOriginalSourceServicesIpProtocol = "IPLT" + NATPolicyRuleOriginalSourceServicesIpProtocolIPPC NATPolicyRuleOriginalSourceServicesIpProtocol = "IPPC" + NATPolicyRuleOriginalSourceServicesIpProtocolIPXInIP NATPolicyRuleOriginalSourceServicesIpProtocol = "IPX-in-IP" + NATPolicyRuleOriginalSourceServicesIpProtocolIRTP NATPolicyRuleOriginalSourceServicesIpProtocol = "IRTP" + NATPolicyRuleOriginalSourceServicesIpProtocolISOIP NATPolicyRuleOriginalSourceServicesIpProtocol = "ISO-IP" + NATPolicyRuleOriginalSourceServicesIpProtocolISOTP4 NATPolicyRuleOriginalSourceServicesIpProtocol = "ISO-TP4" + NATPolicyRuleOriginalSourceServicesIpProtocolKRYPTOLAN NATPolicyRuleOriginalSourceServicesIpProtocol = "KRYPTOLAN" + NATPolicyRuleOriginalSourceServicesIpProtocolL2TP NATPolicyRuleOriginalSourceServicesIpProtocol = "L2TP" + NATPolicyRuleOriginalSourceServicesIpProtocolLARP NATPolicyRuleOriginalSourceServicesIpProtocol = "LARP" + NATPolicyRuleOriginalSourceServicesIpProtocolLEAF1 NATPolicyRuleOriginalSourceServicesIpProtocol = "LEAF-1" + NATPolicyRuleOriginalSourceServicesIpProtocolLEAF2 NATPolicyRuleOriginalSourceServicesIpProtocol = "LEAF-2" + NATPolicyRuleOriginalSourceServicesIpProtocolMERITINP NATPolicyRuleOriginalSourceServicesIpProtocol = "MERIT-INP" + NATPolicyRuleOriginalSourceServicesIpProtocolMFENSP NATPolicyRuleOriginalSourceServicesIpProtocol = "MFE-NSP" + NATPolicyRuleOriginalSourceServicesIpProtocolMOBILE NATPolicyRuleOriginalSourceServicesIpProtocol = "MOBILE" + NATPolicyRuleOriginalSourceServicesIpProtocolMTP NATPolicyRuleOriginalSourceServicesIpProtocol = "MTP" + NATPolicyRuleOriginalSourceServicesIpProtocolMUX NATPolicyRuleOriginalSourceServicesIpProtocol = "MUX" + NATPolicyRuleOriginalSourceServicesIpProtocolManet NATPolicyRuleOriginalSourceServicesIpProtocol = "manet" + NATPolicyRuleOriginalSourceServicesIpProtocolN3PC NATPolicyRuleOriginalSourceServicesIpProtocol = "3PC" + NATPolicyRuleOriginalSourceServicesIpProtocolNARP NATPolicyRuleOriginalSourceServicesIpProtocol = "NARP" + NATPolicyRuleOriginalSourceServicesIpProtocolNETBLT NATPolicyRuleOriginalSourceServicesIpProtocol = "NETBLT" + NATPolicyRuleOriginalSourceServicesIpProtocolNSFNETIGP NATPolicyRuleOriginalSourceServicesIpProtocol = "NSFNET-IGP" + NATPolicyRuleOriginalSourceServicesIpProtocolNVPII NATPolicyRuleOriginalSourceServicesIpProtocol = "NVP-II" + NATPolicyRuleOriginalSourceServicesIpProtocolOSPFIGP NATPolicyRuleOriginalSourceServicesIpProtocol = "OSPFIGP" + NATPolicyRuleOriginalSourceServicesIpProtocolPGM NATPolicyRuleOriginalSourceServicesIpProtocol = "PGM" + NATPolicyRuleOriginalSourceServicesIpProtocolPIM NATPolicyRuleOriginalSourceServicesIpProtocol = "PIM" + NATPolicyRuleOriginalSourceServicesIpProtocolPIPE NATPolicyRuleOriginalSourceServicesIpProtocol = "PIPE" + NATPolicyRuleOriginalSourceServicesIpProtocolPNNI NATPolicyRuleOriginalSourceServicesIpProtocol = "PNNI" + NATPolicyRuleOriginalSourceServicesIpProtocolPRM NATPolicyRuleOriginalSourceServicesIpProtocol = "PRM" + NATPolicyRuleOriginalSourceServicesIpProtocolPTP NATPolicyRuleOriginalSourceServicesIpProtocol = "PTP" + NATPolicyRuleOriginalSourceServicesIpProtocolPUP NATPolicyRuleOriginalSourceServicesIpProtocol = "PUP" + NATPolicyRuleOriginalSourceServicesIpProtocolPVP NATPolicyRuleOriginalSourceServicesIpProtocol = "PVP" + NATPolicyRuleOriginalSourceServicesIpProtocolQNX NATPolicyRuleOriginalSourceServicesIpProtocol = "QNX" + NATPolicyRuleOriginalSourceServicesIpProtocolRDP NATPolicyRuleOriginalSourceServicesIpProtocol = "RDP" + NATPolicyRuleOriginalSourceServicesIpProtocolROHC NATPolicyRuleOriginalSourceServicesIpProtocol = "ROHC" + NATPolicyRuleOriginalSourceServicesIpProtocolRSVP NATPolicyRuleOriginalSourceServicesIpProtocol = "RSVP" + NATPolicyRuleOriginalSourceServicesIpProtocolRSVPE2EIGNORE NATPolicyRuleOriginalSourceServicesIpProtocol = "RSVP-E2E-IGNORE" + NATPolicyRuleOriginalSourceServicesIpProtocolRVD NATPolicyRuleOriginalSourceServicesIpProtocol = "RVD" + NATPolicyRuleOriginalSourceServicesIpProtocolSATEXPAK NATPolicyRuleOriginalSourceServicesIpProtocol = "SAT-EXPAK" + NATPolicyRuleOriginalSourceServicesIpProtocolSATMON NATPolicyRuleOriginalSourceServicesIpProtocol = "SAT-MON" + NATPolicyRuleOriginalSourceServicesIpProtocolSCCSP NATPolicyRuleOriginalSourceServicesIpProtocol = "SCC-SP" + NATPolicyRuleOriginalSourceServicesIpProtocolSCPS NATPolicyRuleOriginalSourceServicesIpProtocol = "SCPS" + NATPolicyRuleOriginalSourceServicesIpProtocolSCTP NATPolicyRuleOriginalSourceServicesIpProtocol = "SCTP" + NATPolicyRuleOriginalSourceServicesIpProtocolSDRP NATPolicyRuleOriginalSourceServicesIpProtocol = "SDRP" + NATPolicyRuleOriginalSourceServicesIpProtocolSECUREVMTP NATPolicyRuleOriginalSourceServicesIpProtocol = "SECURE-VMTP" + NATPolicyRuleOriginalSourceServicesIpProtocolSKIP NATPolicyRuleOriginalSourceServicesIpProtocol = "SKIP" + NATPolicyRuleOriginalSourceServicesIpProtocolSM NATPolicyRuleOriginalSourceServicesIpProtocol = "SM" + NATPolicyRuleOriginalSourceServicesIpProtocolSMP NATPolicyRuleOriginalSourceServicesIpProtocol = "SMP" + NATPolicyRuleOriginalSourceServicesIpProtocolSNP NATPolicyRuleOriginalSourceServicesIpProtocol = "SNP" + NATPolicyRuleOriginalSourceServicesIpProtocolSPS NATPolicyRuleOriginalSourceServicesIpProtocol = "SPS" + NATPolicyRuleOriginalSourceServicesIpProtocolSRP NATPolicyRuleOriginalSourceServicesIpProtocol = "SRP" + NATPolicyRuleOriginalSourceServicesIpProtocolSSCOPMCE NATPolicyRuleOriginalSourceServicesIpProtocol = "SSCOPMCE" + NATPolicyRuleOriginalSourceServicesIpProtocolSTP NATPolicyRuleOriginalSourceServicesIpProtocol = "STP" + NATPolicyRuleOriginalSourceServicesIpProtocolSUNND NATPolicyRuleOriginalSourceServicesIpProtocol = "SUN-ND" + NATPolicyRuleOriginalSourceServicesIpProtocolSpriteRPC NATPolicyRuleOriginalSourceServicesIpProtocol = "Sprite-RPC" + NATPolicyRuleOriginalSourceServicesIpProtocolTCF NATPolicyRuleOriginalSourceServicesIpProtocol = "TCF" + NATPolicyRuleOriginalSourceServicesIpProtocolTCP NATPolicyRuleOriginalSourceServicesIpProtocol = "TCP" + NATPolicyRuleOriginalSourceServicesIpProtocolTLSP NATPolicyRuleOriginalSourceServicesIpProtocol = "TLSP" + NATPolicyRuleOriginalSourceServicesIpProtocolTP NATPolicyRuleOriginalSourceServicesIpProtocol = "TP++" + NATPolicyRuleOriginalSourceServicesIpProtocolTRUNK1 NATPolicyRuleOriginalSourceServicesIpProtocol = "TRUNK-1" + NATPolicyRuleOriginalSourceServicesIpProtocolTRUNK2 NATPolicyRuleOriginalSourceServicesIpProtocol = "TRUNK-2" + NATPolicyRuleOriginalSourceServicesIpProtocolTTP NATPolicyRuleOriginalSourceServicesIpProtocol = "TTP" + NATPolicyRuleOriginalSourceServicesIpProtocolUDP NATPolicyRuleOriginalSourceServicesIpProtocol = "UDP" + NATPolicyRuleOriginalSourceServicesIpProtocolUDPLite NATPolicyRuleOriginalSourceServicesIpProtocol = "UDPLite" + NATPolicyRuleOriginalSourceServicesIpProtocolUTI NATPolicyRuleOriginalSourceServicesIpProtocol = "UTI" + NATPolicyRuleOriginalSourceServicesIpProtocolVINES NATPolicyRuleOriginalSourceServicesIpProtocol = "VINES" + NATPolicyRuleOriginalSourceServicesIpProtocolVISA NATPolicyRuleOriginalSourceServicesIpProtocol = "VISA" + NATPolicyRuleOriginalSourceServicesIpProtocolVMTP NATPolicyRuleOriginalSourceServicesIpProtocol = "VMTP" + NATPolicyRuleOriginalSourceServicesIpProtocolWBEXPAK NATPolicyRuleOriginalSourceServicesIpProtocol = "WB-EXPAK" + NATPolicyRuleOriginalSourceServicesIpProtocolWBMON NATPolicyRuleOriginalSourceServicesIpProtocol = "WB-MON" + NATPolicyRuleOriginalSourceServicesIpProtocolWESP NATPolicyRuleOriginalSourceServicesIpProtocol = "WESP" + NATPolicyRuleOriginalSourceServicesIpProtocolWSN NATPolicyRuleOriginalSourceServicesIpProtocol = "WSN" + NATPolicyRuleOriginalSourceServicesIpProtocolXNET NATPolicyRuleOriginalSourceServicesIpProtocol = "XNET" + NATPolicyRuleOriginalSourceServicesIpProtocolXNSIDP NATPolicyRuleOriginalSourceServicesIpProtocol = "XNS-IDP" + NATPolicyRuleOriginalSourceServicesIpProtocolXTP NATPolicyRuleOriginalSourceServicesIpProtocol = "XTP" +) + +// Defines values for NATPolicyRuleOriginalSourceServicesStatusLabel. +const ( + NATPolicyRuleOriginalSourceServicesStatusLabelActive NATPolicyRuleOriginalSourceServicesStatusLabel = "Active" + NATPolicyRuleOriginalSourceServicesStatusLabelDecommissioned NATPolicyRuleOriginalSourceServicesStatusLabel = "Decommissioned" + NATPolicyRuleOriginalSourceServicesStatusLabelStaged NATPolicyRuleOriginalSourceServicesStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleOriginalSourceServicesStatusValue. +const ( + NATPolicyRuleOriginalSourceServicesStatusValueActive NATPolicyRuleOriginalSourceServicesStatusValue = "active" + NATPolicyRuleOriginalSourceServicesStatusValueDecommissioned NATPolicyRuleOriginalSourceServicesStatusValue = "decommissioned" + NATPolicyRuleOriginalSourceServicesStatusValueStaged NATPolicyRuleOriginalSourceServicesStatusValue = "staged" +) + +// Defines values for NATPolicyRuleStatusLabel. +const ( + NATPolicyRuleStatusLabelActive NATPolicyRuleStatusLabel = "Active" + NATPolicyRuleStatusLabelDecommissioned NATPolicyRuleStatusLabel = "Decommissioned" + NATPolicyRuleStatusLabelStaged NATPolicyRuleStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleStatusValue. +const ( + NATPolicyRuleStatusValueActive NATPolicyRuleStatusValue = "active" + NATPolicyRuleStatusValueDecommissioned NATPolicyRuleStatusValue = "decommissioned" + NATPolicyRuleStatusValueStaged NATPolicyRuleStatusValue = "staged" +) + +// Defines values for NATPolicyRuleTranslatedDestinationAddressGroupsAddressObjectsStatusLabel. +const ( + NATPolicyRuleTranslatedDestinationAddressGroupsAddressObjectsStatusLabelActive NATPolicyRuleTranslatedDestinationAddressGroupsAddressObjectsStatusLabel = "Active" + NATPolicyRuleTranslatedDestinationAddressGroupsAddressObjectsStatusLabelDecommissioned NATPolicyRuleTranslatedDestinationAddressGroupsAddressObjectsStatusLabel = "Decommissioned" + NATPolicyRuleTranslatedDestinationAddressGroupsAddressObjectsStatusLabelStaged NATPolicyRuleTranslatedDestinationAddressGroupsAddressObjectsStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleTranslatedDestinationAddressGroupsAddressObjectsStatusValue. +const ( + NATPolicyRuleTranslatedDestinationAddressGroupsAddressObjectsStatusValueActive NATPolicyRuleTranslatedDestinationAddressGroupsAddressObjectsStatusValue = "active" + NATPolicyRuleTranslatedDestinationAddressGroupsAddressObjectsStatusValueDecommissioned NATPolicyRuleTranslatedDestinationAddressGroupsAddressObjectsStatusValue = "decommissioned" + NATPolicyRuleTranslatedDestinationAddressGroupsAddressObjectsStatusValueStaged NATPolicyRuleTranslatedDestinationAddressGroupsAddressObjectsStatusValue = "staged" +) + +// Defines values for NATPolicyRuleTranslatedDestinationAddressGroupsStatusLabel. +const ( + NATPolicyRuleTranslatedDestinationAddressGroupsStatusLabelActive NATPolicyRuleTranslatedDestinationAddressGroupsStatusLabel = "Active" + NATPolicyRuleTranslatedDestinationAddressGroupsStatusLabelDecommissioned NATPolicyRuleTranslatedDestinationAddressGroupsStatusLabel = "Decommissioned" + NATPolicyRuleTranslatedDestinationAddressGroupsStatusLabelStaged NATPolicyRuleTranslatedDestinationAddressGroupsStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleTranslatedDestinationAddressGroupsStatusValue. +const ( + NATPolicyRuleTranslatedDestinationAddressGroupsStatusValueActive NATPolicyRuleTranslatedDestinationAddressGroupsStatusValue = "active" + NATPolicyRuleTranslatedDestinationAddressGroupsStatusValueDecommissioned NATPolicyRuleTranslatedDestinationAddressGroupsStatusValue = "decommissioned" + NATPolicyRuleTranslatedDestinationAddressGroupsStatusValueStaged NATPolicyRuleTranslatedDestinationAddressGroupsStatusValue = "staged" +) + +// Defines values for NATPolicyRuleTranslatedDestinationAddressesStatusLabel. +const ( + NATPolicyRuleTranslatedDestinationAddressesStatusLabelActive NATPolicyRuleTranslatedDestinationAddressesStatusLabel = "Active" + NATPolicyRuleTranslatedDestinationAddressesStatusLabelDecommissioned NATPolicyRuleTranslatedDestinationAddressesStatusLabel = "Decommissioned" + NATPolicyRuleTranslatedDestinationAddressesStatusLabelStaged NATPolicyRuleTranslatedDestinationAddressesStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleTranslatedDestinationAddressesStatusValue. +const ( + NATPolicyRuleTranslatedDestinationAddressesStatusValueActive NATPolicyRuleTranslatedDestinationAddressesStatusValue = "active" + NATPolicyRuleTranslatedDestinationAddressesStatusValueDecommissioned NATPolicyRuleTranslatedDestinationAddressesStatusValue = "decommissioned" + NATPolicyRuleTranslatedDestinationAddressesStatusValueStaged NATPolicyRuleTranslatedDestinationAddressesStatusValue = "staged" +) + +// Defines values for NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol. +const ( + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolAH NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "AH" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolAN NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "A/N" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolARIS NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ARIS" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolAX25 NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "AX.25" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolBBNRCCMON NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "BBN-RCC-MON" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolBNA NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "BNA" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolBRSATMON NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "BR-SAT-MON" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCBT NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "CBT" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCFTP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "CFTP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCHAOS NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "CHAOS" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCPHB NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "CPHB" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCPNX NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "CPNX" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCRTP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "CRTP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCRUDP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "CRUDP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCompaqPeer NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "Compaq-Peer" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolDCCP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "DCCP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolDCNMEAS NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "DCN-MEAS" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolDDP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "DDP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolDDX NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "DDX" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolDGP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "DGP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolDSR NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "DSR" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolEGP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "EGP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolEIGRP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "EIGRP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolEMCON NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "EMCON" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolENCAP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ENCAP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolESP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ESP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolETHERIP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ETHERIP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolEthernet NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "Ethernet" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolFC NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "FC" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolFIRE NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "FIRE" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolGGP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "GGP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolGMTP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "GMTP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolGRE NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "GRE" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolHIP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "HIP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolHMP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "HMP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIATP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IATP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolICMP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ICMP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIDPR NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IDPR" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIDPRCMTP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IDPR-CMTP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIDRP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IDRP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIFMP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IFMP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIGMP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IGMP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIGP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IGP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIL NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IL" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolINLSP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "I-NLSP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIPCV NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IPCV" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIPComp NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IPComp" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIPIP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IPIP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIPLT NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IPLT" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIPPC NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IPPC" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIPXInIP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IPX-in-IP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIRTP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IRTP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolISOIP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ISO-IP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolISOTP4 NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ISO-TP4" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolKRYPTOLAN NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "KRYPTOLAN" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolL2TP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "L2TP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolLARP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "LARP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolLEAF1 NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "LEAF-1" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolLEAF2 NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "LEAF-2" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolMERITINP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "MERIT-INP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolMFENSP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "MFE-NSP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolMOBILE NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "MOBILE" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolMTP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "MTP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolMUX NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "MUX" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolManet NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "manet" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolN3PC NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "3PC" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolNARP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "NARP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolNETBLT NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "NETBLT" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolNSFNETIGP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "NSFNET-IGP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolNVPII NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "NVP-II" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolOSPFIGP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "OSPFIGP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPGM NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PGM" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPIM NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PIM" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPIPE NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PIPE" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPNNI NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PNNI" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPRM NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PRM" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPTP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PTP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPUP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PUP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPVP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PVP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolQNX NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "QNX" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolRDP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "RDP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolROHC NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ROHC" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolRSVP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "RSVP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolRSVPE2EIGNORE NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "RSVP-E2E-IGNORE" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolRVD NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "RVD" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSATEXPAK NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SAT-EXPAK" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSATMON NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SAT-MON" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSCCSP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SCC-SP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSCPS NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SCPS" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSCTP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SCTP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSDRP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SDRP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSECUREVMTP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SECURE-VMTP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSKIP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SKIP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSM NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SM" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSMP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SMP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSNP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SNP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSPS NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SPS" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSRP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SRP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSSCOPMCE NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SSCOPMCE" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSTP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "STP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSUNND NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SUN-ND" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSpriteRPC NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "Sprite-RPC" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolTCF NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "TCF" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolTCP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "TCP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolTLSP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "TLSP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolTP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "TP++" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolTRUNK1 NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "TRUNK-1" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolTRUNK2 NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "TRUNK-2" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolTTP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "TTP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolUDP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "UDP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolUDPLite NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "UDPLite" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolUTI NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "UTI" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolVINES NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "VINES" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolVISA NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "VISA" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolVMTP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "VMTP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolWBEXPAK NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "WB-EXPAK" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolWBMON NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "WB-MON" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolWESP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "WESP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolWSN NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "WSN" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolXNET NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "XNET" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolXNSIDP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "XNS-IDP" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocolXTP NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "XTP" +) + +// Defines values for NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsStatusLabel. +const ( + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsStatusLabelActive NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsStatusLabel = "Active" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsStatusLabelDecommissioned NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsStatusLabel = "Decommissioned" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsStatusLabelStaged NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsStatusValue. +const ( + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsStatusValueActive NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsStatusValue = "active" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsStatusValueDecommissioned NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsStatusValue = "decommissioned" + NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsStatusValueStaged NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsStatusValue = "staged" +) + +// Defines values for NATPolicyRuleTranslatedDestinationServiceGroupsStatusLabel. +const ( + NATPolicyRuleTranslatedDestinationServiceGroupsStatusLabelActive NATPolicyRuleTranslatedDestinationServiceGroupsStatusLabel = "Active" + NATPolicyRuleTranslatedDestinationServiceGroupsStatusLabelDecommissioned NATPolicyRuleTranslatedDestinationServiceGroupsStatusLabel = "Decommissioned" + NATPolicyRuleTranslatedDestinationServiceGroupsStatusLabelStaged NATPolicyRuleTranslatedDestinationServiceGroupsStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleTranslatedDestinationServiceGroupsStatusValue. +const ( + NATPolicyRuleTranslatedDestinationServiceGroupsStatusValueActive NATPolicyRuleTranslatedDestinationServiceGroupsStatusValue = "active" + NATPolicyRuleTranslatedDestinationServiceGroupsStatusValueDecommissioned NATPolicyRuleTranslatedDestinationServiceGroupsStatusValue = "decommissioned" + NATPolicyRuleTranslatedDestinationServiceGroupsStatusValueStaged NATPolicyRuleTranslatedDestinationServiceGroupsStatusValue = "staged" +) + +// Defines values for NATPolicyRuleTranslatedDestinationServicesIpProtocol. +const ( + NATPolicyRuleTranslatedDestinationServicesIpProtocolAH NATPolicyRuleTranslatedDestinationServicesIpProtocol = "AH" + NATPolicyRuleTranslatedDestinationServicesIpProtocolAN NATPolicyRuleTranslatedDestinationServicesIpProtocol = "A/N" + NATPolicyRuleTranslatedDestinationServicesIpProtocolARIS NATPolicyRuleTranslatedDestinationServicesIpProtocol = "ARIS" + NATPolicyRuleTranslatedDestinationServicesIpProtocolAX25 NATPolicyRuleTranslatedDestinationServicesIpProtocol = "AX.25" + NATPolicyRuleTranslatedDestinationServicesIpProtocolBBNRCCMON NATPolicyRuleTranslatedDestinationServicesIpProtocol = "BBN-RCC-MON" + NATPolicyRuleTranslatedDestinationServicesIpProtocolBNA NATPolicyRuleTranslatedDestinationServicesIpProtocol = "BNA" + NATPolicyRuleTranslatedDestinationServicesIpProtocolBRSATMON NATPolicyRuleTranslatedDestinationServicesIpProtocol = "BR-SAT-MON" + NATPolicyRuleTranslatedDestinationServicesIpProtocolCBT NATPolicyRuleTranslatedDestinationServicesIpProtocol = "CBT" + NATPolicyRuleTranslatedDestinationServicesIpProtocolCFTP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "CFTP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolCHAOS NATPolicyRuleTranslatedDestinationServicesIpProtocol = "CHAOS" + NATPolicyRuleTranslatedDestinationServicesIpProtocolCPHB NATPolicyRuleTranslatedDestinationServicesIpProtocol = "CPHB" + NATPolicyRuleTranslatedDestinationServicesIpProtocolCPNX NATPolicyRuleTranslatedDestinationServicesIpProtocol = "CPNX" + NATPolicyRuleTranslatedDestinationServicesIpProtocolCRTP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "CRTP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolCRUDP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "CRUDP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolCompaqPeer NATPolicyRuleTranslatedDestinationServicesIpProtocol = "Compaq-Peer" + NATPolicyRuleTranslatedDestinationServicesIpProtocolDCCP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "DCCP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolDCNMEAS NATPolicyRuleTranslatedDestinationServicesIpProtocol = "DCN-MEAS" + NATPolicyRuleTranslatedDestinationServicesIpProtocolDDP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "DDP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolDDX NATPolicyRuleTranslatedDestinationServicesIpProtocol = "DDX" + NATPolicyRuleTranslatedDestinationServicesIpProtocolDGP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "DGP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolDSR NATPolicyRuleTranslatedDestinationServicesIpProtocol = "DSR" + NATPolicyRuleTranslatedDestinationServicesIpProtocolEGP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "EGP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolEIGRP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "EIGRP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolEMCON NATPolicyRuleTranslatedDestinationServicesIpProtocol = "EMCON" + NATPolicyRuleTranslatedDestinationServicesIpProtocolENCAP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "ENCAP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolESP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "ESP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolETHERIP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "ETHERIP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolEthernet NATPolicyRuleTranslatedDestinationServicesIpProtocol = "Ethernet" + NATPolicyRuleTranslatedDestinationServicesIpProtocolFC NATPolicyRuleTranslatedDestinationServicesIpProtocol = "FC" + NATPolicyRuleTranslatedDestinationServicesIpProtocolFIRE NATPolicyRuleTranslatedDestinationServicesIpProtocol = "FIRE" + NATPolicyRuleTranslatedDestinationServicesIpProtocolGGP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "GGP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolGMTP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "GMTP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolGRE NATPolicyRuleTranslatedDestinationServicesIpProtocol = "GRE" + NATPolicyRuleTranslatedDestinationServicesIpProtocolHIP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "HIP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolHMP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "HMP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolIATP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "IATP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolICMP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "ICMP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolIDPR NATPolicyRuleTranslatedDestinationServicesIpProtocol = "IDPR" + NATPolicyRuleTranslatedDestinationServicesIpProtocolIDPRCMTP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "IDPR-CMTP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolIDRP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "IDRP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolIFMP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "IFMP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolIGMP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "IGMP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolIGP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "IGP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolIL NATPolicyRuleTranslatedDestinationServicesIpProtocol = "IL" + NATPolicyRuleTranslatedDestinationServicesIpProtocolINLSP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "I-NLSP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolIPCV NATPolicyRuleTranslatedDestinationServicesIpProtocol = "IPCV" + NATPolicyRuleTranslatedDestinationServicesIpProtocolIPComp NATPolicyRuleTranslatedDestinationServicesIpProtocol = "IPComp" + NATPolicyRuleTranslatedDestinationServicesIpProtocolIPIP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "IPIP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolIPLT NATPolicyRuleTranslatedDestinationServicesIpProtocol = "IPLT" + NATPolicyRuleTranslatedDestinationServicesIpProtocolIPPC NATPolicyRuleTranslatedDestinationServicesIpProtocol = "IPPC" + NATPolicyRuleTranslatedDestinationServicesIpProtocolIPXInIP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "IPX-in-IP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolIRTP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "IRTP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolISOIP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "ISO-IP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolISOTP4 NATPolicyRuleTranslatedDestinationServicesIpProtocol = "ISO-TP4" + NATPolicyRuleTranslatedDestinationServicesIpProtocolKRYPTOLAN NATPolicyRuleTranslatedDestinationServicesIpProtocol = "KRYPTOLAN" + NATPolicyRuleTranslatedDestinationServicesIpProtocolL2TP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "L2TP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolLARP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "LARP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolLEAF1 NATPolicyRuleTranslatedDestinationServicesIpProtocol = "LEAF-1" + NATPolicyRuleTranslatedDestinationServicesIpProtocolLEAF2 NATPolicyRuleTranslatedDestinationServicesIpProtocol = "LEAF-2" + NATPolicyRuleTranslatedDestinationServicesIpProtocolMERITINP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "MERIT-INP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolMFENSP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "MFE-NSP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolMOBILE NATPolicyRuleTranslatedDestinationServicesIpProtocol = "MOBILE" + NATPolicyRuleTranslatedDestinationServicesIpProtocolMTP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "MTP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolMUX NATPolicyRuleTranslatedDestinationServicesIpProtocol = "MUX" + NATPolicyRuleTranslatedDestinationServicesIpProtocolManet NATPolicyRuleTranslatedDestinationServicesIpProtocol = "manet" + NATPolicyRuleTranslatedDestinationServicesIpProtocolN3PC NATPolicyRuleTranslatedDestinationServicesIpProtocol = "3PC" + NATPolicyRuleTranslatedDestinationServicesIpProtocolNARP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "NARP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolNETBLT NATPolicyRuleTranslatedDestinationServicesIpProtocol = "NETBLT" + NATPolicyRuleTranslatedDestinationServicesIpProtocolNSFNETIGP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "NSFNET-IGP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolNVPII NATPolicyRuleTranslatedDestinationServicesIpProtocol = "NVP-II" + NATPolicyRuleTranslatedDestinationServicesIpProtocolOSPFIGP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "OSPFIGP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolPGM NATPolicyRuleTranslatedDestinationServicesIpProtocol = "PGM" + NATPolicyRuleTranslatedDestinationServicesIpProtocolPIM NATPolicyRuleTranslatedDestinationServicesIpProtocol = "PIM" + NATPolicyRuleTranslatedDestinationServicesIpProtocolPIPE NATPolicyRuleTranslatedDestinationServicesIpProtocol = "PIPE" + NATPolicyRuleTranslatedDestinationServicesIpProtocolPNNI NATPolicyRuleTranslatedDestinationServicesIpProtocol = "PNNI" + NATPolicyRuleTranslatedDestinationServicesIpProtocolPRM NATPolicyRuleTranslatedDestinationServicesIpProtocol = "PRM" + NATPolicyRuleTranslatedDestinationServicesIpProtocolPTP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "PTP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolPUP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "PUP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolPVP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "PVP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolQNX NATPolicyRuleTranslatedDestinationServicesIpProtocol = "QNX" + NATPolicyRuleTranslatedDestinationServicesIpProtocolRDP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "RDP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolROHC NATPolicyRuleTranslatedDestinationServicesIpProtocol = "ROHC" + NATPolicyRuleTranslatedDestinationServicesIpProtocolRSVP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "RSVP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolRSVPE2EIGNORE NATPolicyRuleTranslatedDestinationServicesIpProtocol = "RSVP-E2E-IGNORE" + NATPolicyRuleTranslatedDestinationServicesIpProtocolRVD NATPolicyRuleTranslatedDestinationServicesIpProtocol = "RVD" + NATPolicyRuleTranslatedDestinationServicesIpProtocolSATEXPAK NATPolicyRuleTranslatedDestinationServicesIpProtocol = "SAT-EXPAK" + NATPolicyRuleTranslatedDestinationServicesIpProtocolSATMON NATPolicyRuleTranslatedDestinationServicesIpProtocol = "SAT-MON" + NATPolicyRuleTranslatedDestinationServicesIpProtocolSCCSP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "SCC-SP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolSCPS NATPolicyRuleTranslatedDestinationServicesIpProtocol = "SCPS" + NATPolicyRuleTranslatedDestinationServicesIpProtocolSCTP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "SCTP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolSDRP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "SDRP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolSECUREVMTP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "SECURE-VMTP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolSKIP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "SKIP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolSM NATPolicyRuleTranslatedDestinationServicesIpProtocol = "SM" + NATPolicyRuleTranslatedDestinationServicesIpProtocolSMP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "SMP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolSNP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "SNP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolSPS NATPolicyRuleTranslatedDestinationServicesIpProtocol = "SPS" + NATPolicyRuleTranslatedDestinationServicesIpProtocolSRP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "SRP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolSSCOPMCE NATPolicyRuleTranslatedDestinationServicesIpProtocol = "SSCOPMCE" + NATPolicyRuleTranslatedDestinationServicesIpProtocolSTP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "STP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolSUNND NATPolicyRuleTranslatedDestinationServicesIpProtocol = "SUN-ND" + NATPolicyRuleTranslatedDestinationServicesIpProtocolSpriteRPC NATPolicyRuleTranslatedDestinationServicesIpProtocol = "Sprite-RPC" + NATPolicyRuleTranslatedDestinationServicesIpProtocolTCF NATPolicyRuleTranslatedDestinationServicesIpProtocol = "TCF" + NATPolicyRuleTranslatedDestinationServicesIpProtocolTCP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "TCP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolTLSP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "TLSP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolTP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "TP++" + NATPolicyRuleTranslatedDestinationServicesIpProtocolTRUNK1 NATPolicyRuleTranslatedDestinationServicesIpProtocol = "TRUNK-1" + NATPolicyRuleTranslatedDestinationServicesIpProtocolTRUNK2 NATPolicyRuleTranslatedDestinationServicesIpProtocol = "TRUNK-2" + NATPolicyRuleTranslatedDestinationServicesIpProtocolTTP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "TTP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolUDP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "UDP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolUDPLite NATPolicyRuleTranslatedDestinationServicesIpProtocol = "UDPLite" + NATPolicyRuleTranslatedDestinationServicesIpProtocolUTI NATPolicyRuleTranslatedDestinationServicesIpProtocol = "UTI" + NATPolicyRuleTranslatedDestinationServicesIpProtocolVINES NATPolicyRuleTranslatedDestinationServicesIpProtocol = "VINES" + NATPolicyRuleTranslatedDestinationServicesIpProtocolVISA NATPolicyRuleTranslatedDestinationServicesIpProtocol = "VISA" + NATPolicyRuleTranslatedDestinationServicesIpProtocolVMTP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "VMTP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolWBEXPAK NATPolicyRuleTranslatedDestinationServicesIpProtocol = "WB-EXPAK" + NATPolicyRuleTranslatedDestinationServicesIpProtocolWBMON NATPolicyRuleTranslatedDestinationServicesIpProtocol = "WB-MON" + NATPolicyRuleTranslatedDestinationServicesIpProtocolWESP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "WESP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolWSN NATPolicyRuleTranslatedDestinationServicesIpProtocol = "WSN" + NATPolicyRuleTranslatedDestinationServicesIpProtocolXNET NATPolicyRuleTranslatedDestinationServicesIpProtocol = "XNET" + NATPolicyRuleTranslatedDestinationServicesIpProtocolXNSIDP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "XNS-IDP" + NATPolicyRuleTranslatedDestinationServicesIpProtocolXTP NATPolicyRuleTranslatedDestinationServicesIpProtocol = "XTP" +) + +// Defines values for NATPolicyRuleTranslatedDestinationServicesStatusLabel. +const ( + NATPolicyRuleTranslatedDestinationServicesStatusLabelActive NATPolicyRuleTranslatedDestinationServicesStatusLabel = "Active" + NATPolicyRuleTranslatedDestinationServicesStatusLabelDecommissioned NATPolicyRuleTranslatedDestinationServicesStatusLabel = "Decommissioned" + NATPolicyRuleTranslatedDestinationServicesStatusLabelStaged NATPolicyRuleTranslatedDestinationServicesStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleTranslatedDestinationServicesStatusValue. +const ( + NATPolicyRuleTranslatedDestinationServicesStatusValueActive NATPolicyRuleTranslatedDestinationServicesStatusValue = "active" + NATPolicyRuleTranslatedDestinationServicesStatusValueDecommissioned NATPolicyRuleTranslatedDestinationServicesStatusValue = "decommissioned" + NATPolicyRuleTranslatedDestinationServicesStatusValueStaged NATPolicyRuleTranslatedDestinationServicesStatusValue = "staged" +) + +// Defines values for NATPolicyRuleTranslatedSourceAddressGroupsAddressObjectsStatusLabel. +const ( + NATPolicyRuleTranslatedSourceAddressGroupsAddressObjectsStatusLabelActive NATPolicyRuleTranslatedSourceAddressGroupsAddressObjectsStatusLabel = "Active" + NATPolicyRuleTranslatedSourceAddressGroupsAddressObjectsStatusLabelDecommissioned NATPolicyRuleTranslatedSourceAddressGroupsAddressObjectsStatusLabel = "Decommissioned" + NATPolicyRuleTranslatedSourceAddressGroupsAddressObjectsStatusLabelStaged NATPolicyRuleTranslatedSourceAddressGroupsAddressObjectsStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleTranslatedSourceAddressGroupsAddressObjectsStatusValue. +const ( + NATPolicyRuleTranslatedSourceAddressGroupsAddressObjectsStatusValueActive NATPolicyRuleTranslatedSourceAddressGroupsAddressObjectsStatusValue = "active" + NATPolicyRuleTranslatedSourceAddressGroupsAddressObjectsStatusValueDecommissioned NATPolicyRuleTranslatedSourceAddressGroupsAddressObjectsStatusValue = "decommissioned" + NATPolicyRuleTranslatedSourceAddressGroupsAddressObjectsStatusValueStaged NATPolicyRuleTranslatedSourceAddressGroupsAddressObjectsStatusValue = "staged" +) + +// Defines values for NATPolicyRuleTranslatedSourceAddressGroupsStatusLabel. +const ( + NATPolicyRuleTranslatedSourceAddressGroupsStatusLabelActive NATPolicyRuleTranslatedSourceAddressGroupsStatusLabel = "Active" + NATPolicyRuleTranslatedSourceAddressGroupsStatusLabelDecommissioned NATPolicyRuleTranslatedSourceAddressGroupsStatusLabel = "Decommissioned" + NATPolicyRuleTranslatedSourceAddressGroupsStatusLabelStaged NATPolicyRuleTranslatedSourceAddressGroupsStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleTranslatedSourceAddressGroupsStatusValue. +const ( + NATPolicyRuleTranslatedSourceAddressGroupsStatusValueActive NATPolicyRuleTranslatedSourceAddressGroupsStatusValue = "active" + NATPolicyRuleTranslatedSourceAddressGroupsStatusValueDecommissioned NATPolicyRuleTranslatedSourceAddressGroupsStatusValue = "decommissioned" + NATPolicyRuleTranslatedSourceAddressGroupsStatusValueStaged NATPolicyRuleTranslatedSourceAddressGroupsStatusValue = "staged" +) + +// Defines values for NATPolicyRuleTranslatedSourceAddressesStatusLabel. +const ( + NATPolicyRuleTranslatedSourceAddressesStatusLabelActive NATPolicyRuleTranslatedSourceAddressesStatusLabel = "Active" + NATPolicyRuleTranslatedSourceAddressesStatusLabelDecommissioned NATPolicyRuleTranslatedSourceAddressesStatusLabel = "Decommissioned" + NATPolicyRuleTranslatedSourceAddressesStatusLabelStaged NATPolicyRuleTranslatedSourceAddressesStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleTranslatedSourceAddressesStatusValue. +const ( + NATPolicyRuleTranslatedSourceAddressesStatusValueActive NATPolicyRuleTranslatedSourceAddressesStatusValue = "active" + NATPolicyRuleTranslatedSourceAddressesStatusValueDecommissioned NATPolicyRuleTranslatedSourceAddressesStatusValue = "decommissioned" + NATPolicyRuleTranslatedSourceAddressesStatusValueStaged NATPolicyRuleTranslatedSourceAddressesStatusValue = "staged" +) + +// Defines values for NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol. +const ( + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolAH NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "AH" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolAN NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "A/N" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolARIS NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ARIS" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolAX25 NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "AX.25" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolBBNRCCMON NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "BBN-RCC-MON" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolBNA NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "BNA" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolBRSATMON NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "BR-SAT-MON" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolCBT NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "CBT" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolCFTP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "CFTP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolCHAOS NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "CHAOS" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolCPHB NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "CPHB" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolCPNX NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "CPNX" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolCRTP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "CRTP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolCRUDP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "CRUDP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolCompaqPeer NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "Compaq-Peer" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolDCCP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "DCCP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolDCNMEAS NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "DCN-MEAS" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolDDP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "DDP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolDDX NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "DDX" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolDGP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "DGP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolDSR NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "DSR" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolEGP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "EGP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolEIGRP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "EIGRP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolEMCON NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "EMCON" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolENCAP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ENCAP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolESP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ESP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolETHERIP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ETHERIP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolEthernet NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "Ethernet" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolFC NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "FC" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolFIRE NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "FIRE" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolGGP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "GGP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolGMTP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "GMTP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolGRE NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "GRE" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolHIP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "HIP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolHMP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "HMP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolIATP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IATP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolICMP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ICMP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolIDPR NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IDPR" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolIDPRCMTP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IDPR-CMTP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolIDRP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IDRP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolIFMP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IFMP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolIGMP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IGMP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolIGP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IGP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolIL NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IL" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolINLSP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "I-NLSP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolIPCV NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IPCV" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolIPComp NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IPComp" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolIPIP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IPIP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolIPLT NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IPLT" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolIPPC NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IPPC" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolIPXInIP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IPX-in-IP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolIRTP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IRTP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolISOIP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ISO-IP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolISOTP4 NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ISO-TP4" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolKRYPTOLAN NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "KRYPTOLAN" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolL2TP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "L2TP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolLARP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "LARP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolLEAF1 NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "LEAF-1" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolLEAF2 NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "LEAF-2" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolMERITINP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "MERIT-INP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolMFENSP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "MFE-NSP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolMOBILE NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "MOBILE" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolMTP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "MTP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolMUX NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "MUX" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolManet NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "manet" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolN3PC NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "3PC" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolNARP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "NARP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolNETBLT NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "NETBLT" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolNSFNETIGP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "NSFNET-IGP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolNVPII NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "NVP-II" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolOSPFIGP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "OSPFIGP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolPGM NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PGM" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolPIM NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PIM" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolPIPE NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PIPE" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolPNNI NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PNNI" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolPRM NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PRM" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolPTP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PTP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolPUP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PUP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolPVP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PVP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolQNX NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "QNX" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolRDP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "RDP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolROHC NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ROHC" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolRSVP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "RSVP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolRSVPE2EIGNORE NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "RSVP-E2E-IGNORE" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolRVD NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "RVD" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolSATEXPAK NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SAT-EXPAK" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolSATMON NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SAT-MON" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolSCCSP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SCC-SP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolSCPS NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SCPS" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolSCTP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SCTP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolSDRP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SDRP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolSECUREVMTP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SECURE-VMTP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolSKIP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SKIP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolSM NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SM" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolSMP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SMP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolSNP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SNP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolSPS NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SPS" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolSRP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SRP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolSSCOPMCE NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SSCOPMCE" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolSTP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "STP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolSUNND NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SUN-ND" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolSpriteRPC NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "Sprite-RPC" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolTCF NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "TCF" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolTCP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "TCP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolTLSP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "TLSP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolTP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "TP++" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolTRUNK1 NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "TRUNK-1" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolTRUNK2 NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "TRUNK-2" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolTTP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "TTP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolUDP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "UDP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolUDPLite NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "UDPLite" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolUTI NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "UTI" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolVINES NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "VINES" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolVISA NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "VISA" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolVMTP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "VMTP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolWBEXPAK NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "WB-EXPAK" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolWBMON NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "WB-MON" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolWESP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "WESP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolWSN NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "WSN" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolXNET NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "XNET" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolXNSIDP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "XNS-IDP" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocolXTP NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "XTP" +) + +// Defines values for NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsStatusLabel. +const ( + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsStatusLabelActive NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsStatusLabel = "Active" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsStatusLabelDecommissioned NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsStatusLabel = "Decommissioned" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsStatusLabelStaged NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsStatusValue. +const ( + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsStatusValueActive NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsStatusValue = "active" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsStatusValueDecommissioned NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsStatusValue = "decommissioned" + NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsStatusValueStaged NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsStatusValue = "staged" +) + +// Defines values for NATPolicyRuleTranslatedSourceServiceGroupsStatusLabel. +const ( + NATPolicyRuleTranslatedSourceServiceGroupsStatusLabelActive NATPolicyRuleTranslatedSourceServiceGroupsStatusLabel = "Active" + NATPolicyRuleTranslatedSourceServiceGroupsStatusLabelDecommissioned NATPolicyRuleTranslatedSourceServiceGroupsStatusLabel = "Decommissioned" + NATPolicyRuleTranslatedSourceServiceGroupsStatusLabelStaged NATPolicyRuleTranslatedSourceServiceGroupsStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleTranslatedSourceServiceGroupsStatusValue. +const ( + NATPolicyRuleTranslatedSourceServiceGroupsStatusValueActive NATPolicyRuleTranslatedSourceServiceGroupsStatusValue = "active" + NATPolicyRuleTranslatedSourceServiceGroupsStatusValueDecommissioned NATPolicyRuleTranslatedSourceServiceGroupsStatusValue = "decommissioned" + NATPolicyRuleTranslatedSourceServiceGroupsStatusValueStaged NATPolicyRuleTranslatedSourceServiceGroupsStatusValue = "staged" +) + +// Defines values for NATPolicyRuleTranslatedSourceServicesIpProtocol. +const ( + NATPolicyRuleTranslatedSourceServicesIpProtocolAH NATPolicyRuleTranslatedSourceServicesIpProtocol = "AH" + NATPolicyRuleTranslatedSourceServicesIpProtocolAN NATPolicyRuleTranslatedSourceServicesIpProtocol = "A/N" + NATPolicyRuleTranslatedSourceServicesIpProtocolARIS NATPolicyRuleTranslatedSourceServicesIpProtocol = "ARIS" + NATPolicyRuleTranslatedSourceServicesIpProtocolAX25 NATPolicyRuleTranslatedSourceServicesIpProtocol = "AX.25" + NATPolicyRuleTranslatedSourceServicesIpProtocolBBNRCCMON NATPolicyRuleTranslatedSourceServicesIpProtocol = "BBN-RCC-MON" + NATPolicyRuleTranslatedSourceServicesIpProtocolBNA NATPolicyRuleTranslatedSourceServicesIpProtocol = "BNA" + NATPolicyRuleTranslatedSourceServicesIpProtocolBRSATMON NATPolicyRuleTranslatedSourceServicesIpProtocol = "BR-SAT-MON" + NATPolicyRuleTranslatedSourceServicesIpProtocolCBT NATPolicyRuleTranslatedSourceServicesIpProtocol = "CBT" + NATPolicyRuleTranslatedSourceServicesIpProtocolCFTP NATPolicyRuleTranslatedSourceServicesIpProtocol = "CFTP" + NATPolicyRuleTranslatedSourceServicesIpProtocolCHAOS NATPolicyRuleTranslatedSourceServicesIpProtocol = "CHAOS" + NATPolicyRuleTranslatedSourceServicesIpProtocolCPHB NATPolicyRuleTranslatedSourceServicesIpProtocol = "CPHB" + NATPolicyRuleTranslatedSourceServicesIpProtocolCPNX NATPolicyRuleTranslatedSourceServicesIpProtocol = "CPNX" + NATPolicyRuleTranslatedSourceServicesIpProtocolCRTP NATPolicyRuleTranslatedSourceServicesIpProtocol = "CRTP" + NATPolicyRuleTranslatedSourceServicesIpProtocolCRUDP NATPolicyRuleTranslatedSourceServicesIpProtocol = "CRUDP" + NATPolicyRuleTranslatedSourceServicesIpProtocolCompaqPeer NATPolicyRuleTranslatedSourceServicesIpProtocol = "Compaq-Peer" + NATPolicyRuleTranslatedSourceServicesIpProtocolDCCP NATPolicyRuleTranslatedSourceServicesIpProtocol = "DCCP" + NATPolicyRuleTranslatedSourceServicesIpProtocolDCNMEAS NATPolicyRuleTranslatedSourceServicesIpProtocol = "DCN-MEAS" + NATPolicyRuleTranslatedSourceServicesIpProtocolDDP NATPolicyRuleTranslatedSourceServicesIpProtocol = "DDP" + NATPolicyRuleTranslatedSourceServicesIpProtocolDDX NATPolicyRuleTranslatedSourceServicesIpProtocol = "DDX" + NATPolicyRuleTranslatedSourceServicesIpProtocolDGP NATPolicyRuleTranslatedSourceServicesIpProtocol = "DGP" + NATPolicyRuleTranslatedSourceServicesIpProtocolDSR NATPolicyRuleTranslatedSourceServicesIpProtocol = "DSR" + NATPolicyRuleTranslatedSourceServicesIpProtocolEGP NATPolicyRuleTranslatedSourceServicesIpProtocol = "EGP" + NATPolicyRuleTranslatedSourceServicesIpProtocolEIGRP NATPolicyRuleTranslatedSourceServicesIpProtocol = "EIGRP" + NATPolicyRuleTranslatedSourceServicesIpProtocolEMCON NATPolicyRuleTranslatedSourceServicesIpProtocol = "EMCON" + NATPolicyRuleTranslatedSourceServicesIpProtocolENCAP NATPolicyRuleTranslatedSourceServicesIpProtocol = "ENCAP" + NATPolicyRuleTranslatedSourceServicesIpProtocolESP NATPolicyRuleTranslatedSourceServicesIpProtocol = "ESP" + NATPolicyRuleTranslatedSourceServicesIpProtocolETHERIP NATPolicyRuleTranslatedSourceServicesIpProtocol = "ETHERIP" + NATPolicyRuleTranslatedSourceServicesIpProtocolEthernet NATPolicyRuleTranslatedSourceServicesIpProtocol = "Ethernet" + NATPolicyRuleTranslatedSourceServicesIpProtocolFC NATPolicyRuleTranslatedSourceServicesIpProtocol = "FC" + NATPolicyRuleTranslatedSourceServicesIpProtocolFIRE NATPolicyRuleTranslatedSourceServicesIpProtocol = "FIRE" + NATPolicyRuleTranslatedSourceServicesIpProtocolGGP NATPolicyRuleTranslatedSourceServicesIpProtocol = "GGP" + NATPolicyRuleTranslatedSourceServicesIpProtocolGMTP NATPolicyRuleTranslatedSourceServicesIpProtocol = "GMTP" + NATPolicyRuleTranslatedSourceServicesIpProtocolGRE NATPolicyRuleTranslatedSourceServicesIpProtocol = "GRE" + NATPolicyRuleTranslatedSourceServicesIpProtocolHIP NATPolicyRuleTranslatedSourceServicesIpProtocol = "HIP" + NATPolicyRuleTranslatedSourceServicesIpProtocolHMP NATPolicyRuleTranslatedSourceServicesIpProtocol = "HMP" + NATPolicyRuleTranslatedSourceServicesIpProtocolIATP NATPolicyRuleTranslatedSourceServicesIpProtocol = "IATP" + NATPolicyRuleTranslatedSourceServicesIpProtocolICMP NATPolicyRuleTranslatedSourceServicesIpProtocol = "ICMP" + NATPolicyRuleTranslatedSourceServicesIpProtocolIDPR NATPolicyRuleTranslatedSourceServicesIpProtocol = "IDPR" + NATPolicyRuleTranslatedSourceServicesIpProtocolIDPRCMTP NATPolicyRuleTranslatedSourceServicesIpProtocol = "IDPR-CMTP" + NATPolicyRuleTranslatedSourceServicesIpProtocolIDRP NATPolicyRuleTranslatedSourceServicesIpProtocol = "IDRP" + NATPolicyRuleTranslatedSourceServicesIpProtocolIFMP NATPolicyRuleTranslatedSourceServicesIpProtocol = "IFMP" + NATPolicyRuleTranslatedSourceServicesIpProtocolIGMP NATPolicyRuleTranslatedSourceServicesIpProtocol = "IGMP" + NATPolicyRuleTranslatedSourceServicesIpProtocolIGP NATPolicyRuleTranslatedSourceServicesIpProtocol = "IGP" + NATPolicyRuleTranslatedSourceServicesIpProtocolIL NATPolicyRuleTranslatedSourceServicesIpProtocol = "IL" + NATPolicyRuleTranslatedSourceServicesIpProtocolINLSP NATPolicyRuleTranslatedSourceServicesIpProtocol = "I-NLSP" + NATPolicyRuleTranslatedSourceServicesIpProtocolIPCV NATPolicyRuleTranslatedSourceServicesIpProtocol = "IPCV" + NATPolicyRuleTranslatedSourceServicesIpProtocolIPComp NATPolicyRuleTranslatedSourceServicesIpProtocol = "IPComp" + NATPolicyRuleTranslatedSourceServicesIpProtocolIPIP NATPolicyRuleTranslatedSourceServicesIpProtocol = "IPIP" + NATPolicyRuleTranslatedSourceServicesIpProtocolIPLT NATPolicyRuleTranslatedSourceServicesIpProtocol = "IPLT" + NATPolicyRuleTranslatedSourceServicesIpProtocolIPPC NATPolicyRuleTranslatedSourceServicesIpProtocol = "IPPC" + NATPolicyRuleTranslatedSourceServicesIpProtocolIPXInIP NATPolicyRuleTranslatedSourceServicesIpProtocol = "IPX-in-IP" + NATPolicyRuleTranslatedSourceServicesIpProtocolIRTP NATPolicyRuleTranslatedSourceServicesIpProtocol = "IRTP" + NATPolicyRuleTranslatedSourceServicesIpProtocolISOIP NATPolicyRuleTranslatedSourceServicesIpProtocol = "ISO-IP" + NATPolicyRuleTranslatedSourceServicesIpProtocolISOTP4 NATPolicyRuleTranslatedSourceServicesIpProtocol = "ISO-TP4" + NATPolicyRuleTranslatedSourceServicesIpProtocolKRYPTOLAN NATPolicyRuleTranslatedSourceServicesIpProtocol = "KRYPTOLAN" + NATPolicyRuleTranslatedSourceServicesIpProtocolL2TP NATPolicyRuleTranslatedSourceServicesIpProtocol = "L2TP" + NATPolicyRuleTranslatedSourceServicesIpProtocolLARP NATPolicyRuleTranslatedSourceServicesIpProtocol = "LARP" + NATPolicyRuleTranslatedSourceServicesIpProtocolLEAF1 NATPolicyRuleTranslatedSourceServicesIpProtocol = "LEAF-1" + NATPolicyRuleTranslatedSourceServicesIpProtocolLEAF2 NATPolicyRuleTranslatedSourceServicesIpProtocol = "LEAF-2" + NATPolicyRuleTranslatedSourceServicesIpProtocolMERITINP NATPolicyRuleTranslatedSourceServicesIpProtocol = "MERIT-INP" + NATPolicyRuleTranslatedSourceServicesIpProtocolMFENSP NATPolicyRuleTranslatedSourceServicesIpProtocol = "MFE-NSP" + NATPolicyRuleTranslatedSourceServicesIpProtocolMOBILE NATPolicyRuleTranslatedSourceServicesIpProtocol = "MOBILE" + NATPolicyRuleTranslatedSourceServicesIpProtocolMTP NATPolicyRuleTranslatedSourceServicesIpProtocol = "MTP" + NATPolicyRuleTranslatedSourceServicesIpProtocolMUX NATPolicyRuleTranslatedSourceServicesIpProtocol = "MUX" + NATPolicyRuleTranslatedSourceServicesIpProtocolManet NATPolicyRuleTranslatedSourceServicesIpProtocol = "manet" + NATPolicyRuleTranslatedSourceServicesIpProtocolN3PC NATPolicyRuleTranslatedSourceServicesIpProtocol = "3PC" + NATPolicyRuleTranslatedSourceServicesIpProtocolNARP NATPolicyRuleTranslatedSourceServicesIpProtocol = "NARP" + NATPolicyRuleTranslatedSourceServicesIpProtocolNETBLT NATPolicyRuleTranslatedSourceServicesIpProtocol = "NETBLT" + NATPolicyRuleTranslatedSourceServicesIpProtocolNSFNETIGP NATPolicyRuleTranslatedSourceServicesIpProtocol = "NSFNET-IGP" + NATPolicyRuleTranslatedSourceServicesIpProtocolNVPII NATPolicyRuleTranslatedSourceServicesIpProtocol = "NVP-II" + NATPolicyRuleTranslatedSourceServicesIpProtocolOSPFIGP NATPolicyRuleTranslatedSourceServicesIpProtocol = "OSPFIGP" + NATPolicyRuleTranslatedSourceServicesIpProtocolPGM NATPolicyRuleTranslatedSourceServicesIpProtocol = "PGM" + NATPolicyRuleTranslatedSourceServicesIpProtocolPIM NATPolicyRuleTranslatedSourceServicesIpProtocol = "PIM" + NATPolicyRuleTranslatedSourceServicesIpProtocolPIPE NATPolicyRuleTranslatedSourceServicesIpProtocol = "PIPE" + NATPolicyRuleTranslatedSourceServicesIpProtocolPNNI NATPolicyRuleTranslatedSourceServicesIpProtocol = "PNNI" + NATPolicyRuleTranslatedSourceServicesIpProtocolPRM NATPolicyRuleTranslatedSourceServicesIpProtocol = "PRM" + NATPolicyRuleTranslatedSourceServicesIpProtocolPTP NATPolicyRuleTranslatedSourceServicesIpProtocol = "PTP" + NATPolicyRuleTranslatedSourceServicesIpProtocolPUP NATPolicyRuleTranslatedSourceServicesIpProtocol = "PUP" + NATPolicyRuleTranslatedSourceServicesIpProtocolPVP NATPolicyRuleTranslatedSourceServicesIpProtocol = "PVP" + NATPolicyRuleTranslatedSourceServicesIpProtocolQNX NATPolicyRuleTranslatedSourceServicesIpProtocol = "QNX" + NATPolicyRuleTranslatedSourceServicesIpProtocolRDP NATPolicyRuleTranslatedSourceServicesIpProtocol = "RDP" + NATPolicyRuleTranslatedSourceServicesIpProtocolROHC NATPolicyRuleTranslatedSourceServicesIpProtocol = "ROHC" + NATPolicyRuleTranslatedSourceServicesIpProtocolRSVP NATPolicyRuleTranslatedSourceServicesIpProtocol = "RSVP" + NATPolicyRuleTranslatedSourceServicesIpProtocolRSVPE2EIGNORE NATPolicyRuleTranslatedSourceServicesIpProtocol = "RSVP-E2E-IGNORE" + NATPolicyRuleTranslatedSourceServicesIpProtocolRVD NATPolicyRuleTranslatedSourceServicesIpProtocol = "RVD" + NATPolicyRuleTranslatedSourceServicesIpProtocolSATEXPAK NATPolicyRuleTranslatedSourceServicesIpProtocol = "SAT-EXPAK" + NATPolicyRuleTranslatedSourceServicesIpProtocolSATMON NATPolicyRuleTranslatedSourceServicesIpProtocol = "SAT-MON" + NATPolicyRuleTranslatedSourceServicesIpProtocolSCCSP NATPolicyRuleTranslatedSourceServicesIpProtocol = "SCC-SP" + NATPolicyRuleTranslatedSourceServicesIpProtocolSCPS NATPolicyRuleTranslatedSourceServicesIpProtocol = "SCPS" + NATPolicyRuleTranslatedSourceServicesIpProtocolSCTP NATPolicyRuleTranslatedSourceServicesIpProtocol = "SCTP" + NATPolicyRuleTranslatedSourceServicesIpProtocolSDRP NATPolicyRuleTranslatedSourceServicesIpProtocol = "SDRP" + NATPolicyRuleTranslatedSourceServicesIpProtocolSECUREVMTP NATPolicyRuleTranslatedSourceServicesIpProtocol = "SECURE-VMTP" + NATPolicyRuleTranslatedSourceServicesIpProtocolSKIP NATPolicyRuleTranslatedSourceServicesIpProtocol = "SKIP" + NATPolicyRuleTranslatedSourceServicesIpProtocolSM NATPolicyRuleTranslatedSourceServicesIpProtocol = "SM" + NATPolicyRuleTranslatedSourceServicesIpProtocolSMP NATPolicyRuleTranslatedSourceServicesIpProtocol = "SMP" + NATPolicyRuleTranslatedSourceServicesIpProtocolSNP NATPolicyRuleTranslatedSourceServicesIpProtocol = "SNP" + NATPolicyRuleTranslatedSourceServicesIpProtocolSPS NATPolicyRuleTranslatedSourceServicesIpProtocol = "SPS" + NATPolicyRuleTranslatedSourceServicesIpProtocolSRP NATPolicyRuleTranslatedSourceServicesIpProtocol = "SRP" + NATPolicyRuleTranslatedSourceServicesIpProtocolSSCOPMCE NATPolicyRuleTranslatedSourceServicesIpProtocol = "SSCOPMCE" + NATPolicyRuleTranslatedSourceServicesIpProtocolSTP NATPolicyRuleTranslatedSourceServicesIpProtocol = "STP" + NATPolicyRuleTranslatedSourceServicesIpProtocolSUNND NATPolicyRuleTranslatedSourceServicesIpProtocol = "SUN-ND" + NATPolicyRuleTranslatedSourceServicesIpProtocolSpriteRPC NATPolicyRuleTranslatedSourceServicesIpProtocol = "Sprite-RPC" + NATPolicyRuleTranslatedSourceServicesIpProtocolTCF NATPolicyRuleTranslatedSourceServicesIpProtocol = "TCF" + NATPolicyRuleTranslatedSourceServicesIpProtocolTCP NATPolicyRuleTranslatedSourceServicesIpProtocol = "TCP" + NATPolicyRuleTranslatedSourceServicesIpProtocolTLSP NATPolicyRuleTranslatedSourceServicesIpProtocol = "TLSP" + NATPolicyRuleTranslatedSourceServicesIpProtocolTP NATPolicyRuleTranslatedSourceServicesIpProtocol = "TP++" + NATPolicyRuleTranslatedSourceServicesIpProtocolTRUNK1 NATPolicyRuleTranslatedSourceServicesIpProtocol = "TRUNK-1" + NATPolicyRuleTranslatedSourceServicesIpProtocolTRUNK2 NATPolicyRuleTranslatedSourceServicesIpProtocol = "TRUNK-2" + NATPolicyRuleTranslatedSourceServicesIpProtocolTTP NATPolicyRuleTranslatedSourceServicesIpProtocol = "TTP" + NATPolicyRuleTranslatedSourceServicesIpProtocolUDP NATPolicyRuleTranslatedSourceServicesIpProtocol = "UDP" + NATPolicyRuleTranslatedSourceServicesIpProtocolUDPLite NATPolicyRuleTranslatedSourceServicesIpProtocol = "UDPLite" + NATPolicyRuleTranslatedSourceServicesIpProtocolUTI NATPolicyRuleTranslatedSourceServicesIpProtocol = "UTI" + NATPolicyRuleTranslatedSourceServicesIpProtocolVINES NATPolicyRuleTranslatedSourceServicesIpProtocol = "VINES" + NATPolicyRuleTranslatedSourceServicesIpProtocolVISA NATPolicyRuleTranslatedSourceServicesIpProtocol = "VISA" + NATPolicyRuleTranslatedSourceServicesIpProtocolVMTP NATPolicyRuleTranslatedSourceServicesIpProtocol = "VMTP" + NATPolicyRuleTranslatedSourceServicesIpProtocolWBEXPAK NATPolicyRuleTranslatedSourceServicesIpProtocol = "WB-EXPAK" + NATPolicyRuleTranslatedSourceServicesIpProtocolWBMON NATPolicyRuleTranslatedSourceServicesIpProtocol = "WB-MON" + NATPolicyRuleTranslatedSourceServicesIpProtocolWESP NATPolicyRuleTranslatedSourceServicesIpProtocol = "WESP" + NATPolicyRuleTranslatedSourceServicesIpProtocolWSN NATPolicyRuleTranslatedSourceServicesIpProtocol = "WSN" + NATPolicyRuleTranslatedSourceServicesIpProtocolXNET NATPolicyRuleTranslatedSourceServicesIpProtocol = "XNET" + NATPolicyRuleTranslatedSourceServicesIpProtocolXNSIDP NATPolicyRuleTranslatedSourceServicesIpProtocol = "XNS-IDP" + NATPolicyRuleTranslatedSourceServicesIpProtocolXTP NATPolicyRuleTranslatedSourceServicesIpProtocol = "XTP" +) + +// Defines values for NATPolicyRuleTranslatedSourceServicesStatusLabel. +const ( + NATPolicyRuleTranslatedSourceServicesStatusLabelActive NATPolicyRuleTranslatedSourceServicesStatusLabel = "Active" + NATPolicyRuleTranslatedSourceServicesStatusLabelDecommissioned NATPolicyRuleTranslatedSourceServicesStatusLabel = "Decommissioned" + NATPolicyRuleTranslatedSourceServicesStatusLabelStaged NATPolicyRuleTranslatedSourceServicesStatusLabel = "Staged" +) + +// Defines values for NATPolicyRuleTranslatedSourceServicesStatusValue. +const ( + NATPolicyRuleTranslatedSourceServicesStatusValueActive NATPolicyRuleTranslatedSourceServicesStatusValue = "active" + NATPolicyRuleTranslatedSourceServicesStatusValueDecommissioned NATPolicyRuleTranslatedSourceServicesStatusValue = "decommissioned" + NATPolicyRuleTranslatedSourceServicesStatusValueStaged NATPolicyRuleTranslatedSourceServicesStatusValue = "staged" +) + // Defines values for NestedJobResultStatusLabel. const ( NestedJobResultStatusLabelCompleted NestedJobResultStatusLabel = "Completed" - - NestedJobResultStatusLabelErrored NestedJobResultStatusLabel = "Errored" - - NestedJobResultStatusLabelFailed NestedJobResultStatusLabel = "Failed" - - NestedJobResultStatusLabelPending NestedJobResultStatusLabel = "Pending" - - NestedJobResultStatusLabelRunning NestedJobResultStatusLabel = "Running" + NestedJobResultStatusLabelErrored NestedJobResultStatusLabel = "Errored" + NestedJobResultStatusLabelFailed NestedJobResultStatusLabel = "Failed" + NestedJobResultStatusLabelPending NestedJobResultStatusLabel = "Pending" + NestedJobResultStatusLabelRunning NestedJobResultStatusLabel = "Running" ) // Defines values for NestedJobResultStatusValue. const ( NestedJobResultStatusValueCompleted NestedJobResultStatusValue = "completed" - - NestedJobResultStatusValueErrored NestedJobResultStatusValue = "errored" - - NestedJobResultStatusValueFailed NestedJobResultStatusValue = "failed" - - NestedJobResultStatusValuePending NestedJobResultStatusValue = "pending" - - NestedJobResultStatusValueRunning NestedJobResultStatusValue = "running" + NestedJobResultStatusValueErrored NestedJobResultStatusValue = "errored" + NestedJobResultStatusValueFailed NestedJobResultStatusValue = "failed" + NestedJobResultStatusValuePending NestedJobResultStatusValue = "pending" + NestedJobResultStatusValueRunning NestedJobResultStatusValue = "running" ) // Defines values for ObjectChangeActionLabel. const ( - ObjectChangeActionLabelCreated ObjectChangeActionLabel = "Created" - - ObjectChangeActionLabelDeleted ObjectChangeActionLabel = "Deleted" - - ObjectChangeActionLabelUpdated ObjectChangeActionLabel = "Updated" + Created ObjectChangeActionLabel = "Created" + Deleted ObjectChangeActionLabel = "Deleted" + Updated ObjectChangeActionLabel = "Updated" ) // Defines values for ObjectChangeActionValue. const ( - ObjectChangeActionValueCreate ObjectChangeActionValue = "create" + Create ObjectChangeActionValue = "create" + Delete ObjectChangeActionValue = "delete" + Update ObjectChangeActionValue = "update" +) - ObjectChangeActionValueDelete ObjectChangeActionValue = "delete" - - ObjectChangeActionValueUpdate ObjectChangeActionValue = "update" +// Defines values for OperatorEnum. +const ( + OperatorEnumDifference OperatorEnum = "difference" + OperatorEnumIntersection OperatorEnum = "intersection" + OperatorEnumUnion OperatorEnum = "union" ) // Defines values for OuterUnitEnum. const ( OuterUnitEnumIn OuterUnitEnum = "in" - OuterUnitEnumMm OuterUnitEnum = "mm" ) +// Defines values for PatchedBulkWritableAddressObjectGroupRequestAddressObjectsStatus. +const ( + PatchedBulkWritableAddressObjectGroupRequestAddressObjectsStatusActive PatchedBulkWritableAddressObjectGroupRequestAddressObjectsStatus = "active" + PatchedBulkWritableAddressObjectGroupRequestAddressObjectsStatusDecommissioned PatchedBulkWritableAddressObjectGroupRequestAddressObjectsStatus = "decommissioned" + PatchedBulkWritableAddressObjectGroupRequestAddressObjectsStatusStaged PatchedBulkWritableAddressObjectGroupRequestAddressObjectsStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsAddressObjectsStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsAddressObjectsStatusActive PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsAddressObjectsStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsAddressObjectsStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsAddressObjectsStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsAddressObjectsStatusStaged PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsAddressObjectsStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsStatusActive PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsStatusStaged PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressesStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressesStatusActive PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressesStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressesStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressesStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressesStatusStaged PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressesStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol. +const ( + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolAH PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "AH" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolAN PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "A/N" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolARIS PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ARIS" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolAX25 PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "AX.25" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolBBNRCCMON PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "BBN-RCC-MON" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolBNA PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "BNA" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolBRSATMON PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "BR-SAT-MON" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolCBT PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "CBT" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolCFTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "CFTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolCHAOS PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "CHAOS" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolCPHB PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "CPHB" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolCPNX PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "CPNX" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolCRTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "CRTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolCRUDP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "CRUDP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolCompaqPeer PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "Compaq-Peer" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolDCCP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "DCCP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolDCNMEAS PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "DCN-MEAS" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolDDP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "DDP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolDDX PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "DDX" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolDGP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "DGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolDSR PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "DSR" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolEGP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "EGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolEIGRP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "EIGRP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolEMCON PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "EMCON" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolENCAP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ENCAP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolESP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ESP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolETHERIP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ETHERIP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolEthernet PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "Ethernet" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolFC PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "FC" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolFIRE PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "FIRE" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolGGP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "GGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolGMTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "GMTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolGRE PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "GRE" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolHIP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "HIP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolHMP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "HMP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIATP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IATP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolICMP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ICMP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIDPR PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IDPR" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIDPRCMTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IDPR-CMTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIDRP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IDRP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIFMP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IFMP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIGMP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IGMP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIGP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIL PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IL" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolINLSP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "I-NLSP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIPCV PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IPCV" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIPComp PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IPComp" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIPIP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IPIP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIPLT PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IPLT" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIPPC PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IPPC" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIPXInIP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IPX-in-IP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolIRTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "IRTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolISOIP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ISO-IP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolISOTP4 PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ISO-TP4" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolKRYPTOLAN PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "KRYPTOLAN" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolL2TP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "L2TP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolLARP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "LARP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolLEAF1 PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "LEAF-1" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolLEAF2 PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "LEAF-2" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolMERITINP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "MERIT-INP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolMFENSP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "MFE-NSP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolMOBILE PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "MOBILE" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolMTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "MTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolMUX PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "MUX" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolManet PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "manet" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolN3PC PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "3PC" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolNARP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "NARP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolNETBLT PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "NETBLT" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolNSFNETIGP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "NSFNET-IGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolNVPII PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "NVP-II" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolOSPFIGP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "OSPFIGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolPGM PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PGM" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolPIM PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PIM" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolPIPE PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PIPE" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolPNNI PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PNNI" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolPRM PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PRM" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolPTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolPUP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PUP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolPVP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "PVP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolQNX PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "QNX" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolRDP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "RDP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolROHC PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "ROHC" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolRSVP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "RSVP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolRSVPE2EIGNORE PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "RSVP-E2E-IGNORE" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolRVD PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "RVD" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSATEXPAK PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SAT-EXPAK" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSATMON PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SAT-MON" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSCCSP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SCC-SP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSCPS PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SCPS" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSCTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SCTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSDRP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SDRP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSECUREVMTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SECURE-VMTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSKIP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SKIP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSM PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SM" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSMP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SMP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSNP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SNP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSPS PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SPS" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSRP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SRP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSSCOPMCE PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SSCOPMCE" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "STP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSUNND PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "SUN-ND" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolSpriteRPC PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "Sprite-RPC" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolTCF PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "TCF" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolTCP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "TCP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolTLSP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "TLSP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "TP++" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolTRUNK1 PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "TRUNK-1" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolTRUNK2 PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "TRUNK-2" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolTTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "TTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolUDP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "UDP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolUDPLite PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "UDPLite" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolUTI PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "UTI" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolVINES PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "VINES" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolVISA PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "VISA" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolVMTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "VMTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolWBEXPAK PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "WB-EXPAK" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolWBMON PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "WB-MON" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolWESP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "WESP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolWSN PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "WSN" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolXNET PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "XNET" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolXNSIDP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "XNS-IDP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocolXTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol = "XTP" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsStatusActive PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsStatusStaged PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsStatusActive PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsStatusStaged PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol. +const ( + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolAH PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "AH" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolAN PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "A/N" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolARIS PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "ARIS" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolAX25 PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "AX.25" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolBBNRCCMON PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "BBN-RCC-MON" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolBNA PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "BNA" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolBRSATMON PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "BR-SAT-MON" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolCBT PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "CBT" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolCFTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "CFTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolCHAOS PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "CHAOS" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolCPHB PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "CPHB" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolCPNX PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "CPNX" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolCRTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "CRTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolCRUDP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "CRUDP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolCompaqPeer PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "Compaq-Peer" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolDCCP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "DCCP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolDCNMEAS PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "DCN-MEAS" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolDDP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "DDP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolDDX PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "DDX" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolDGP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "DGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolDSR PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "DSR" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolEGP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "EGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolEIGRP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "EIGRP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolEMCON PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "EMCON" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolENCAP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "ENCAP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolESP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "ESP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolETHERIP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "ETHERIP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolEthernet PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "Ethernet" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolFC PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "FC" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolFIRE PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "FIRE" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolGGP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "GGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolGMTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "GMTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolGRE PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "GRE" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolHIP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "HIP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolHMP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "HMP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIATP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IATP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolICMP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "ICMP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIDPR PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IDPR" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIDPRCMTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IDPR-CMTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIDRP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IDRP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIFMP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IFMP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIGMP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IGMP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIGP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIL PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IL" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolINLSP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "I-NLSP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIPCV PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IPCV" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIPComp PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IPComp" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIPIP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IPIP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIPLT PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IPLT" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIPPC PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IPPC" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIPXInIP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IPX-in-IP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolIRTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "IRTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolISOIP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "ISO-IP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolISOTP4 PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "ISO-TP4" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolKRYPTOLAN PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "KRYPTOLAN" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolL2TP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "L2TP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolLARP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "LARP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolLEAF1 PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "LEAF-1" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolLEAF2 PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "LEAF-2" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolMERITINP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "MERIT-INP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolMFENSP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "MFE-NSP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolMOBILE PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "MOBILE" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolMTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "MTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolMUX PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "MUX" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolManet PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "manet" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolN3PC PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "3PC" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolNARP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "NARP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolNETBLT PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "NETBLT" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolNSFNETIGP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "NSFNET-IGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolNVPII PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "NVP-II" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolOSPFIGP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "OSPFIGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolPGM PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "PGM" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolPIM PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "PIM" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolPIPE PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "PIPE" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolPNNI PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "PNNI" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolPRM PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "PRM" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolPTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "PTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolPUP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "PUP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolPVP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "PVP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolQNX PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "QNX" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolRDP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "RDP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolROHC PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "ROHC" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolRSVP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "RSVP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolRSVPE2EIGNORE PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "RSVP-E2E-IGNORE" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolRVD PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "RVD" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSATEXPAK PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SAT-EXPAK" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSATMON PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SAT-MON" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSCCSP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SCC-SP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSCPS PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SCPS" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSCTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SCTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSDRP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SDRP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSECUREVMTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SECURE-VMTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSKIP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SKIP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSM PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SM" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSMP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SMP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSNP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SNP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSPS PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SPS" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSRP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SRP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSSCOPMCE PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SSCOPMCE" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "STP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSUNND PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "SUN-ND" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolSpriteRPC PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "Sprite-RPC" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolTCF PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "TCF" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolTCP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "TCP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolTLSP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "TLSP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "TP++" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolTRUNK1 PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "TRUNK-1" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolTRUNK2 PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "TRUNK-2" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolTTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "TTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolUDP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "UDP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolUDPLite PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "UDPLite" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolUTI PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "UTI" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolVINES PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "VINES" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolVISA PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "VISA" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolVMTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "VMTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolWBEXPAK PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "WB-EXPAK" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolWBMON PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "WB-MON" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolWESP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "WESP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolWSN PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "WSN" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolXNET PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "XNET" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolXNSIDP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "XNS-IDP" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocolXTP PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol = "XTP" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesStatusActive PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesStatusStaged PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsAddressObjectsStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsAddressObjectsStatusActive PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsAddressObjectsStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsAddressObjectsStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsAddressObjectsStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsAddressObjectsStatusStaged PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsAddressObjectsStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsStatusActive PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsStatusStaged PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressesStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressesStatusActive PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressesStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressesStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressesStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressesStatusStaged PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressesStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol. +const ( + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolAH PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "AH" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolAN PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "A/N" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolARIS PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ARIS" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolAX25 PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "AX.25" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolBBNRCCMON PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "BBN-RCC-MON" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolBNA PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "BNA" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolBRSATMON PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "BR-SAT-MON" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolCBT PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "CBT" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolCFTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "CFTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolCHAOS PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "CHAOS" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolCPHB PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "CPHB" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolCPNX PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "CPNX" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolCRTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "CRTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolCRUDP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "CRUDP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolCompaqPeer PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "Compaq-Peer" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolDCCP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "DCCP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolDCNMEAS PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "DCN-MEAS" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolDDP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "DDP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolDDX PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "DDX" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolDGP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "DGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolDSR PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "DSR" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolEGP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "EGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolEIGRP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "EIGRP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolEMCON PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "EMCON" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolENCAP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ENCAP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolESP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ESP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolETHERIP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ETHERIP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolEthernet PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "Ethernet" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolFC PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "FC" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolFIRE PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "FIRE" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolGGP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "GGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolGMTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "GMTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolGRE PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "GRE" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolHIP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "HIP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolHMP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "HMP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIATP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IATP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolICMP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ICMP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIDPR PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IDPR" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIDPRCMTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IDPR-CMTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIDRP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IDRP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIFMP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IFMP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIGMP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IGMP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIGP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIL PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IL" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolINLSP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "I-NLSP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIPCV PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IPCV" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIPComp PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IPComp" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIPIP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IPIP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIPLT PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IPLT" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIPPC PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IPPC" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIPXInIP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IPX-in-IP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolIRTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "IRTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolISOIP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ISO-IP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolISOTP4 PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ISO-TP4" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolKRYPTOLAN PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "KRYPTOLAN" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolL2TP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "L2TP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolLARP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "LARP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolLEAF1 PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "LEAF-1" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolLEAF2 PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "LEAF-2" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolMERITINP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "MERIT-INP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolMFENSP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "MFE-NSP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolMOBILE PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "MOBILE" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolMTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "MTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolMUX PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "MUX" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolManet PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "manet" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolN3PC PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "3PC" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolNARP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "NARP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolNETBLT PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "NETBLT" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolNSFNETIGP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "NSFNET-IGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolNVPII PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "NVP-II" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolOSPFIGP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "OSPFIGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolPGM PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PGM" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolPIM PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PIM" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolPIPE PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PIPE" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolPNNI PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PNNI" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolPRM PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PRM" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolPTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolPUP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PUP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolPVP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "PVP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolQNX PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "QNX" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolRDP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "RDP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolROHC PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "ROHC" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolRSVP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "RSVP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolRSVPE2EIGNORE PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "RSVP-E2E-IGNORE" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolRVD PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "RVD" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSATEXPAK PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SAT-EXPAK" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSATMON PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SAT-MON" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSCCSP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SCC-SP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSCPS PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SCPS" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSCTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SCTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSDRP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SDRP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSECUREVMTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SECURE-VMTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSKIP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SKIP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSM PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SM" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSMP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SMP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSNP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SNP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSPS PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SPS" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSRP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SRP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSSCOPMCE PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SSCOPMCE" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "STP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSUNND PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "SUN-ND" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolSpriteRPC PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "Sprite-RPC" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolTCF PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "TCF" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolTCP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "TCP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolTLSP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "TLSP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "TP++" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolTRUNK1 PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "TRUNK-1" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolTRUNK2 PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "TRUNK-2" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolTTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "TTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolUDP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "UDP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolUDPLite PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "UDPLite" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolUTI PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "UTI" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolVINES PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "VINES" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolVISA PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "VISA" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolVMTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "VMTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolWBEXPAK PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "WB-EXPAK" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolWBMON PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "WB-MON" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolWESP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "WESP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolWSN PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "WSN" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolXNET PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "XNET" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolXNSIDP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "XNS-IDP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocolXTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol = "XTP" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsStatusActive PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsStatusStaged PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsStatusActive PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsStatusStaged PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol. +const ( + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolAH PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "AH" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolAN PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "A/N" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolARIS PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "ARIS" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolAX25 PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "AX.25" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolBBNRCCMON PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "BBN-RCC-MON" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolBNA PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "BNA" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolBRSATMON PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "BR-SAT-MON" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolCBT PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "CBT" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolCFTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "CFTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolCHAOS PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "CHAOS" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolCPHB PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "CPHB" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolCPNX PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "CPNX" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolCRTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "CRTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolCRUDP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "CRUDP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolCompaqPeer PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "Compaq-Peer" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolDCCP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "DCCP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolDCNMEAS PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "DCN-MEAS" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolDDP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "DDP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolDDX PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "DDX" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolDGP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "DGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolDSR PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "DSR" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolEGP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "EGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolEIGRP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "EIGRP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolEMCON PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "EMCON" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolENCAP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "ENCAP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolESP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "ESP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolETHERIP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "ETHERIP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolEthernet PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "Ethernet" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolFC PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "FC" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolFIRE PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "FIRE" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolGGP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "GGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolGMTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "GMTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolGRE PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "GRE" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolHIP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "HIP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolHMP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "HMP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIATP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IATP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolICMP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "ICMP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIDPR PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IDPR" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIDPRCMTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IDPR-CMTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIDRP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IDRP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIFMP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IFMP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIGMP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IGMP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIGP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIL PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IL" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolINLSP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "I-NLSP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIPCV PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IPCV" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIPComp PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IPComp" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIPIP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IPIP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIPLT PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IPLT" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIPPC PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IPPC" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIPXInIP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IPX-in-IP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolIRTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "IRTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolISOIP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "ISO-IP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolISOTP4 PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "ISO-TP4" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolKRYPTOLAN PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "KRYPTOLAN" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolL2TP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "L2TP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolLARP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "LARP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolLEAF1 PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "LEAF-1" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolLEAF2 PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "LEAF-2" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolMERITINP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "MERIT-INP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolMFENSP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "MFE-NSP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolMOBILE PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "MOBILE" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolMTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "MTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolMUX PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "MUX" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolManet PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "manet" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolN3PC PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "3PC" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolNARP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "NARP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolNETBLT PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "NETBLT" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolNSFNETIGP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "NSFNET-IGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolNVPII PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "NVP-II" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolOSPFIGP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "OSPFIGP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolPGM PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "PGM" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolPIM PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "PIM" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolPIPE PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "PIPE" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolPNNI PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "PNNI" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolPRM PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "PRM" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolPTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "PTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolPUP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "PUP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolPVP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "PVP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolQNX PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "QNX" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolRDP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "RDP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolROHC PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "ROHC" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolRSVP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "RSVP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolRSVPE2EIGNORE PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "RSVP-E2E-IGNORE" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolRVD PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "RVD" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSATEXPAK PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SAT-EXPAK" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSATMON PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SAT-MON" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSCCSP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SCC-SP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSCPS PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SCPS" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSCTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SCTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSDRP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SDRP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSECUREVMTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SECURE-VMTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSKIP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SKIP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSM PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SM" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSMP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SMP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSNP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SNP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSPS PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SPS" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSRP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SRP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSSCOPMCE PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SSCOPMCE" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "STP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSUNND PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "SUN-ND" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolSpriteRPC PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "Sprite-RPC" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolTCF PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "TCF" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolTCP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "TCP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolTLSP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "TLSP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "TP++" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolTRUNK1 PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "TRUNK-1" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolTRUNK2 PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "TRUNK-2" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolTTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "TTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolUDP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "UDP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolUDPLite PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "UDPLite" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolUTI PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "UTI" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolVINES PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "VINES" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolVISA PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "VISA" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolVMTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "VMTP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolWBEXPAK PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "WB-EXPAK" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolWBMON PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "WB-MON" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolWESP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "WESP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolWSN PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "WSN" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolXNET PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "XNET" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolXNSIDP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "XNS-IDP" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocolXTP PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol = "XTP" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesStatusActive PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesStatusStaged PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsAddressObjectsStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsAddressObjectsStatusActive PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsAddressObjectsStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsAddressObjectsStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsAddressObjectsStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsAddressObjectsStatusStaged PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsAddressObjectsStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsStatusActive PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsStatusStaged PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressesStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressesStatusActive PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressesStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressesStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressesStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressesStatusStaged PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressesStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol. +const ( + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolAH PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "AH" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolAN PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "A/N" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolARIS PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ARIS" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolAX25 PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "AX.25" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolBBNRCCMON PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "BBN-RCC-MON" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolBNA PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "BNA" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolBRSATMON PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "BR-SAT-MON" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCBT PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "CBT" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCFTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "CFTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCHAOS PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "CHAOS" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCPHB PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "CPHB" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCPNX PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "CPNX" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCRTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "CRTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCRUDP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "CRUDP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolCompaqPeer PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "Compaq-Peer" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolDCCP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "DCCP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolDCNMEAS PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "DCN-MEAS" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolDDP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "DDP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolDDX PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "DDX" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolDGP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "DGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolDSR PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "DSR" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolEGP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "EGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolEIGRP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "EIGRP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolEMCON PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "EMCON" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolENCAP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ENCAP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolESP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ESP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolETHERIP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ETHERIP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolEthernet PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "Ethernet" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolFC PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "FC" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolFIRE PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "FIRE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolGGP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "GGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolGMTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "GMTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolGRE PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "GRE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolHIP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "HIP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolHMP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "HMP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIATP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IATP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolICMP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ICMP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIDPR PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IDPR" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIDPRCMTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IDPR-CMTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIDRP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IDRP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIFMP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IFMP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIGMP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IGMP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIGP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIL PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IL" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolINLSP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "I-NLSP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIPCV PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IPCV" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIPComp PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IPComp" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIPIP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IPIP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIPLT PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IPLT" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIPPC PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IPPC" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIPXInIP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IPX-in-IP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolIRTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "IRTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolISOIP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ISO-IP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolISOTP4 PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ISO-TP4" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolKRYPTOLAN PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "KRYPTOLAN" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolL2TP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "L2TP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolLARP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "LARP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolLEAF1 PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "LEAF-1" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolLEAF2 PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "LEAF-2" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolMERITINP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "MERIT-INP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolMFENSP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "MFE-NSP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolMOBILE PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "MOBILE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolMTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "MTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolMUX PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "MUX" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolManet PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "manet" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolN3PC PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "3PC" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolNARP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "NARP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolNETBLT PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "NETBLT" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolNSFNETIGP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "NSFNET-IGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolNVPII PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "NVP-II" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolOSPFIGP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "OSPFIGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPGM PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PGM" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPIM PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PIM" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPIPE PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PIPE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPNNI PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PNNI" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPRM PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PRM" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPUP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PUP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolPVP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "PVP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolQNX PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "QNX" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolRDP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "RDP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolROHC PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "ROHC" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolRSVP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "RSVP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolRSVPE2EIGNORE PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "RSVP-E2E-IGNORE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolRVD PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "RVD" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSATEXPAK PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SAT-EXPAK" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSATMON PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SAT-MON" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSCCSP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SCC-SP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSCPS PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SCPS" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSCTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SCTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSDRP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SDRP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSECUREVMTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SECURE-VMTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSKIP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SKIP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSM PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SM" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSMP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SMP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSNP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SNP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSPS PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SPS" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSRP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SRP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSSCOPMCE PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SSCOPMCE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "STP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSUNND PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "SUN-ND" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolSpriteRPC PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "Sprite-RPC" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolTCF PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "TCF" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolTCP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "TCP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolTLSP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "TLSP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "TP++" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolTRUNK1 PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "TRUNK-1" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolTRUNK2 PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "TRUNK-2" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolTTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "TTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolUDP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "UDP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolUDPLite PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "UDPLite" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolUTI PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "UTI" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolVINES PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "VINES" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolVISA PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "VISA" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolVMTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "VMTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolWBEXPAK PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "WB-EXPAK" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolWBMON PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "WB-MON" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolWESP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "WESP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolWSN PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "WSN" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolXNET PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "XNET" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolXNSIDP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "XNS-IDP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocolXTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol = "XTP" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsStatusActive PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsStatusStaged PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsStatusActive PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsStatusStaged PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol. +const ( + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolAH PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "AH" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolAN PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "A/N" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolARIS PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "ARIS" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolAX25 PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "AX.25" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolBBNRCCMON PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "BBN-RCC-MON" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolBNA PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "BNA" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolBRSATMON PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "BR-SAT-MON" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolCBT PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "CBT" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolCFTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "CFTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolCHAOS PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "CHAOS" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolCPHB PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "CPHB" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolCPNX PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "CPNX" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolCRTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "CRTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolCRUDP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "CRUDP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolCompaqPeer PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "Compaq-Peer" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolDCCP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "DCCP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolDCNMEAS PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "DCN-MEAS" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolDDP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "DDP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolDDX PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "DDX" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolDGP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "DGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolDSR PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "DSR" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolEGP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "EGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolEIGRP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "EIGRP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolEMCON PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "EMCON" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolENCAP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "ENCAP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolESP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "ESP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolETHERIP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "ETHERIP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolEthernet PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "Ethernet" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolFC PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "FC" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolFIRE PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "FIRE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolGGP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "GGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolGMTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "GMTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolGRE PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "GRE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolHIP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "HIP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolHMP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "HMP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIATP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IATP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolICMP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "ICMP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIDPR PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IDPR" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIDPRCMTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IDPR-CMTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIDRP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IDRP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIFMP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IFMP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIGMP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IGMP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIGP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIL PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IL" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolINLSP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "I-NLSP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIPCV PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IPCV" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIPComp PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IPComp" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIPIP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IPIP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIPLT PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IPLT" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIPPC PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IPPC" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIPXInIP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IPX-in-IP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolIRTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "IRTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolISOIP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "ISO-IP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolISOTP4 PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "ISO-TP4" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolKRYPTOLAN PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "KRYPTOLAN" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolL2TP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "L2TP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolLARP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "LARP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolLEAF1 PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "LEAF-1" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolLEAF2 PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "LEAF-2" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolMERITINP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "MERIT-INP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolMFENSP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "MFE-NSP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolMOBILE PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "MOBILE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolMTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "MTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolMUX PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "MUX" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolManet PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "manet" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolN3PC PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "3PC" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolNARP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "NARP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolNETBLT PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "NETBLT" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolNSFNETIGP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "NSFNET-IGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolNVPII PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "NVP-II" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolOSPFIGP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "OSPFIGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolPGM PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "PGM" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolPIM PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "PIM" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolPIPE PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "PIPE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolPNNI PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "PNNI" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolPRM PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "PRM" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolPTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "PTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolPUP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "PUP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolPVP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "PVP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolQNX PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "QNX" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolRDP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "RDP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolROHC PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "ROHC" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolRSVP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "RSVP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolRSVPE2EIGNORE PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "RSVP-E2E-IGNORE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolRVD PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "RVD" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSATEXPAK PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SAT-EXPAK" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSATMON PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SAT-MON" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSCCSP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SCC-SP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSCPS PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SCPS" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSCTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SCTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSDRP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SDRP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSECUREVMTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SECURE-VMTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSKIP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SKIP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSM PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SM" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSMP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SMP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSNP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SNP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSPS PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SPS" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSRP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SRP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSSCOPMCE PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SSCOPMCE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "STP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSUNND PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "SUN-ND" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolSpriteRPC PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "Sprite-RPC" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolTCF PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "TCF" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolTCP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "TCP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolTLSP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "TLSP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "TP++" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolTRUNK1 PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "TRUNK-1" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolTRUNK2 PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "TRUNK-2" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolTTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "TTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolUDP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "UDP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolUDPLite PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "UDPLite" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolUTI PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "UTI" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolVINES PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "VINES" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolVISA PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "VISA" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolVMTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "VMTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolWBEXPAK PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "WB-EXPAK" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolWBMON PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "WB-MON" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolWESP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "WESP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolWSN PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "WSN" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolXNET PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "XNET" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolXNSIDP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "XNS-IDP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocolXTP PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol = "XTP" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesStatusActive PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesStatusStaged PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsAddressObjectsStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsAddressObjectsStatusActive PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsAddressObjectsStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsAddressObjectsStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsAddressObjectsStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsAddressObjectsStatusStaged PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsAddressObjectsStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsStatusActive PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsStatusStaged PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressesStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressesStatusActive PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressesStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressesStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressesStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressesStatusStaged PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressesStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol. +const ( + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolAH PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "AH" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolAN PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "A/N" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolARIS PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ARIS" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolAX25 PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "AX.25" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolBBNRCCMON PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "BBN-RCC-MON" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolBNA PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "BNA" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolBRSATMON PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "BR-SAT-MON" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolCBT PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "CBT" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolCFTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "CFTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolCHAOS PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "CHAOS" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolCPHB PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "CPHB" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolCPNX PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "CPNX" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolCRTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "CRTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolCRUDP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "CRUDP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolCompaqPeer PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "Compaq-Peer" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolDCCP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "DCCP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolDCNMEAS PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "DCN-MEAS" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolDDP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "DDP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolDDX PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "DDX" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolDGP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "DGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolDSR PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "DSR" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolEGP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "EGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolEIGRP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "EIGRP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolEMCON PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "EMCON" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolENCAP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ENCAP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolESP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ESP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolETHERIP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ETHERIP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolEthernet PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "Ethernet" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolFC PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "FC" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolFIRE PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "FIRE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolGGP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "GGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolGMTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "GMTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolGRE PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "GRE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolHIP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "HIP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolHMP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "HMP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIATP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IATP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolICMP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ICMP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIDPR PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IDPR" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIDPRCMTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IDPR-CMTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIDRP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IDRP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIFMP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IFMP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIGMP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IGMP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIGP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIL PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IL" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolINLSP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "I-NLSP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIPCV PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IPCV" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIPComp PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IPComp" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIPIP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IPIP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIPLT PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IPLT" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIPPC PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IPPC" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIPXInIP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IPX-in-IP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolIRTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "IRTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolISOIP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ISO-IP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolISOTP4 PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ISO-TP4" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolKRYPTOLAN PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "KRYPTOLAN" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolL2TP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "L2TP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolLARP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "LARP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolLEAF1 PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "LEAF-1" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolLEAF2 PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "LEAF-2" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolMERITINP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "MERIT-INP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolMFENSP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "MFE-NSP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolMOBILE PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "MOBILE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolMTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "MTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolMUX PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "MUX" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolManet PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "manet" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolN3PC PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "3PC" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolNARP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "NARP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolNETBLT PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "NETBLT" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolNSFNETIGP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "NSFNET-IGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolNVPII PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "NVP-II" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolOSPFIGP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "OSPFIGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolPGM PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PGM" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolPIM PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PIM" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolPIPE PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PIPE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolPNNI PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PNNI" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolPRM PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PRM" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolPTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolPUP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PUP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolPVP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "PVP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolQNX PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "QNX" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolRDP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "RDP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolROHC PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "ROHC" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolRSVP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "RSVP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolRSVPE2EIGNORE PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "RSVP-E2E-IGNORE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolRVD PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "RVD" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSATEXPAK PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SAT-EXPAK" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSATMON PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SAT-MON" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSCCSP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SCC-SP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSCPS PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SCPS" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSCTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SCTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSDRP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SDRP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSECUREVMTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SECURE-VMTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSKIP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SKIP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSM PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SM" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSMP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SMP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSNP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SNP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSPS PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SPS" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSRP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SRP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSSCOPMCE PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SSCOPMCE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "STP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSUNND PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "SUN-ND" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolSpriteRPC PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "Sprite-RPC" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolTCF PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "TCF" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolTCP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "TCP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolTLSP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "TLSP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "TP++" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolTRUNK1 PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "TRUNK-1" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolTRUNK2 PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "TRUNK-2" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolTTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "TTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolUDP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "UDP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolUDPLite PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "UDPLite" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolUTI PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "UTI" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolVINES PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "VINES" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolVISA PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "VISA" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolVMTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "VMTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolWBEXPAK PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "WB-EXPAK" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolWBMON PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "WB-MON" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolWESP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "WESP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolWSN PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "WSN" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolXNET PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "XNET" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolXNSIDP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "XNS-IDP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocolXTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol = "XTP" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsStatusActive PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsStatusStaged PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsStatusActive PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsStatusStaged PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsStatus = "staged" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol. +const ( + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolAH PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "AH" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolAN PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "A/N" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolARIS PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "ARIS" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolAX25 PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "AX.25" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolBBNRCCMON PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "BBN-RCC-MON" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolBNA PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "BNA" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolBRSATMON PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "BR-SAT-MON" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolCBT PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "CBT" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolCFTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "CFTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolCHAOS PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "CHAOS" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolCPHB PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "CPHB" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolCPNX PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "CPNX" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolCRTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "CRTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolCRUDP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "CRUDP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolCompaqPeer PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "Compaq-Peer" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolDCCP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "DCCP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolDCNMEAS PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "DCN-MEAS" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolDDP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "DDP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolDDX PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "DDX" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolDGP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "DGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolDSR PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "DSR" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolEGP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "EGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolEIGRP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "EIGRP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolEMCON PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "EMCON" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolENCAP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "ENCAP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolESP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "ESP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolETHERIP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "ETHERIP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolEthernet PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "Ethernet" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolFC PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "FC" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolFIRE PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "FIRE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolGGP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "GGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolGMTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "GMTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolGRE PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "GRE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolHIP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "HIP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolHMP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "HMP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIATP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IATP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolICMP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "ICMP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIDPR PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IDPR" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIDPRCMTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IDPR-CMTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIDRP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IDRP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIFMP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IFMP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIGMP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IGMP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIGP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIL PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IL" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolINLSP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "I-NLSP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIPCV PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IPCV" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIPComp PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IPComp" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIPIP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IPIP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIPLT PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IPLT" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIPPC PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IPPC" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIPXInIP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IPX-in-IP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolIRTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "IRTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolISOIP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "ISO-IP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolISOTP4 PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "ISO-TP4" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolKRYPTOLAN PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "KRYPTOLAN" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolL2TP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "L2TP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolLARP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "LARP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolLEAF1 PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "LEAF-1" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolLEAF2 PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "LEAF-2" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolMERITINP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "MERIT-INP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolMFENSP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "MFE-NSP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolMOBILE PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "MOBILE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolMTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "MTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolMUX PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "MUX" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolManet PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "manet" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolN3PC PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "3PC" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolNARP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "NARP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolNETBLT PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "NETBLT" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolNSFNETIGP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "NSFNET-IGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolNVPII PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "NVP-II" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolOSPFIGP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "OSPFIGP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolPGM PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "PGM" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolPIM PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "PIM" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolPIPE PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "PIPE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolPNNI PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "PNNI" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolPRM PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "PRM" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolPTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "PTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolPUP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "PUP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolPVP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "PVP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolQNX PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "QNX" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolRDP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "RDP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolROHC PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "ROHC" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolRSVP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "RSVP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolRSVPE2EIGNORE PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "RSVP-E2E-IGNORE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolRVD PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "RVD" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSATEXPAK PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SAT-EXPAK" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSATMON PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SAT-MON" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSCCSP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SCC-SP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSCPS PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SCPS" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSCTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SCTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSDRP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SDRP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSECUREVMTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SECURE-VMTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSKIP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SKIP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSM PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SM" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSMP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SMP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSNP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SNP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSPS PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SPS" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSRP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SRP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSSCOPMCE PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SSCOPMCE" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "STP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSUNND PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "SUN-ND" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolSpriteRPC PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "Sprite-RPC" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolTCF PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "TCF" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolTCP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "TCP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolTLSP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "TLSP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "TP++" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolTRUNK1 PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "TRUNK-1" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolTRUNK2 PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "TRUNK-2" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolTTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "TTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolUDP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "UDP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolUDPLite PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "UDPLite" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolUTI PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "UTI" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolVINES PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "VINES" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolVISA PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "VISA" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolVMTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "VMTP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolWBEXPAK PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "WB-EXPAK" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolWBMON PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "WB-MON" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolWESP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "WESP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolWSN PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "WSN" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolXNET PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "XNET" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolXNSIDP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "XNS-IDP" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocolXTP PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol = "XTP" +) + +// Defines values for PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesStatus. +const ( + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesStatusActive PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesStatus = "active" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesStatusDecommissioned PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesStatus = "decommissioned" + PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesStatusStaged PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesStatus = "staged" +) + +// Defines values for PatchedBulkWritablePolicyRuleRequestDestinationAddressGroupsAddressObjectsStatus. +const ( + PatchedBulkWritablePolicyRuleRequestDestinationAddressGroupsAddressObjectsStatusActive PatchedBulkWritablePolicyRuleRequestDestinationAddressGroupsAddressObjectsStatus = "active" + PatchedBulkWritablePolicyRuleRequestDestinationAddressGroupsAddressObjectsStatusDecommissioned PatchedBulkWritablePolicyRuleRequestDestinationAddressGroupsAddressObjectsStatus = "decommissioned" + PatchedBulkWritablePolicyRuleRequestDestinationAddressGroupsAddressObjectsStatusStaged PatchedBulkWritablePolicyRuleRequestDestinationAddressGroupsAddressObjectsStatus = "staged" +) + +// Defines values for PatchedBulkWritablePolicyRuleRequestDestinationAddressGroupsStatus. +const ( + PatchedBulkWritablePolicyRuleRequestDestinationAddressGroupsStatusActive PatchedBulkWritablePolicyRuleRequestDestinationAddressGroupsStatus = "active" + PatchedBulkWritablePolicyRuleRequestDestinationAddressGroupsStatusDecommissioned PatchedBulkWritablePolicyRuleRequestDestinationAddressGroupsStatus = "decommissioned" + PatchedBulkWritablePolicyRuleRequestDestinationAddressGroupsStatusStaged PatchedBulkWritablePolicyRuleRequestDestinationAddressGroupsStatus = "staged" +) + +// Defines values for PatchedBulkWritablePolicyRuleRequestDestinationAddressesStatus. +const ( + PatchedBulkWritablePolicyRuleRequestDestinationAddressesStatusActive PatchedBulkWritablePolicyRuleRequestDestinationAddressesStatus = "active" + PatchedBulkWritablePolicyRuleRequestDestinationAddressesStatusDecommissioned PatchedBulkWritablePolicyRuleRequestDestinationAddressesStatus = "decommissioned" + PatchedBulkWritablePolicyRuleRequestDestinationAddressesStatusStaged PatchedBulkWritablePolicyRuleRequestDestinationAddressesStatus = "staged" +) + +// Defines values for PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol. +const ( + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolAH PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "AH" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolAN PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "A/N" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolARIS PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "ARIS" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolAX25 PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "AX.25" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolBBNRCCMON PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "BBN-RCC-MON" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolBNA PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "BNA" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolBRSATMON PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "BR-SAT-MON" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolCBT PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "CBT" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolCFTP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "CFTP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolCHAOS PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "CHAOS" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolCPHB PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "CPHB" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolCPNX PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "CPNX" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolCRTP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "CRTP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolCRUDP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "CRUDP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolCompaqPeer PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "Compaq-Peer" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolDCCP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "DCCP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolDCNMEAS PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "DCN-MEAS" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolDDP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "DDP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolDDX PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "DDX" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolDGP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "DGP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolDSR PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "DSR" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolEGP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "EGP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolEIGRP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "EIGRP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolEMCON PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "EMCON" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolENCAP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "ENCAP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolESP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "ESP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolETHERIP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "ETHERIP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolEthernet PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "Ethernet" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolFC PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "FC" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolFIRE PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "FIRE" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolGGP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "GGP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolGMTP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "GMTP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolGRE PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "GRE" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolHIP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "HIP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolHMP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "HMP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIATP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IATP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolICMP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "ICMP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIDPR PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IDPR" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIDPRCMTP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IDPR-CMTP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIDRP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IDRP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIFMP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IFMP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIGMP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IGMP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIGP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IGP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIL PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IL" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolINLSP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "I-NLSP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIPCV PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IPCV" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIPComp PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IPComp" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIPIP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IPIP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIPLT PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IPLT" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIPPC PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IPPC" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIPXInIP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IPX-in-IP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolIRTP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "IRTP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolISOIP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "ISO-IP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolISOTP4 PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "ISO-TP4" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolKRYPTOLAN PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "KRYPTOLAN" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolL2TP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "L2TP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolLARP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "LARP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolLEAF1 PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "LEAF-1" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolLEAF2 PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "LEAF-2" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolMERITINP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "MERIT-INP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolMFENSP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "MFE-NSP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolMOBILE PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "MOBILE" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolMTP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "MTP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolMUX PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "MUX" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolManet PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "manet" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolN3PC PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "3PC" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolNARP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "NARP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolNETBLT PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "NETBLT" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolNSFNETIGP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "NSFNET-IGP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolNVPII PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "NVP-II" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolOSPFIGP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "OSPFIGP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolPGM PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "PGM" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolPIM PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "PIM" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolPIPE PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "PIPE" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolPNNI PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "PNNI" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolPRM PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "PRM" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolPTP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "PTP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolPUP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "PUP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolPVP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "PVP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolQNX PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "QNX" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolRDP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "RDP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolROHC PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "ROHC" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolRSVP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "RSVP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolRSVPE2EIGNORE PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "RSVP-E2E-IGNORE" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolRVD PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "RVD" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSATEXPAK PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SAT-EXPAK" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSATMON PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SAT-MON" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSCCSP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SCC-SP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSCPS PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SCPS" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSCTP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SCTP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSDRP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SDRP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSECUREVMTP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SECURE-VMTP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSKIP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SKIP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSM PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SM" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSMP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SMP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSNP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SNP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSPS PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SPS" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSRP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SRP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSSCOPMCE PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SSCOPMCE" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSTP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "STP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSUNND PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "SUN-ND" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolSpriteRPC PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "Sprite-RPC" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolTCF PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "TCF" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolTCP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "TCP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolTLSP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "TLSP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolTP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "TP++" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolTRUNK1 PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "TRUNK-1" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolTRUNK2 PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "TRUNK-2" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolTTP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "TTP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolUDP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "UDP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolUDPLite PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "UDPLite" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolUTI PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "UTI" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolVINES PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "VINES" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolVISA PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "VISA" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolVMTP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "VMTP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolWBEXPAK PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "WB-EXPAK" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolWBMON PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "WB-MON" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolWESP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "WESP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolWSN PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "WSN" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolXNET PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "XNET" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolXNSIDP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "XNS-IDP" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocolXTP PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol = "XTP" +) + +// Defines values for PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsStatus. +const ( + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsStatusActive PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsStatus = "active" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsStatusDecommissioned PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsStatus = "decommissioned" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsStatusStaged PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsStatus = "staged" +) + +// Defines values for PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsStatus. +const ( + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsStatusActive PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsStatus = "active" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsStatusDecommissioned PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsStatus = "decommissioned" + PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsStatusStaged PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsStatus = "staged" +) + +// Defines values for PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol. +const ( + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolAH PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "AH" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolAN PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "A/N" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolARIS PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "ARIS" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolAX25 PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "AX.25" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolBBNRCCMON PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "BBN-RCC-MON" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolBNA PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "BNA" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolBRSATMON PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "BR-SAT-MON" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolCBT PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "CBT" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolCFTP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "CFTP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolCHAOS PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "CHAOS" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolCPHB PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "CPHB" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolCPNX PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "CPNX" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolCRTP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "CRTP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolCRUDP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "CRUDP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolCompaqPeer PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "Compaq-Peer" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolDCCP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "DCCP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolDCNMEAS PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "DCN-MEAS" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolDDP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "DDP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolDDX PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "DDX" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolDGP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "DGP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolDSR PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "DSR" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolEGP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "EGP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolEIGRP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "EIGRP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolEMCON PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "EMCON" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolENCAP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "ENCAP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolESP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "ESP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolETHERIP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "ETHERIP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolEthernet PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "Ethernet" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolFC PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "FC" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolFIRE PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "FIRE" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolGGP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "GGP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolGMTP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "GMTP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolGRE PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "GRE" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolHIP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "HIP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolHMP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "HMP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolIATP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IATP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolICMP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "ICMP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolIDPR PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IDPR" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolIDPRCMTP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IDPR-CMTP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolIDRP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IDRP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolIFMP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IFMP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolIGMP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IGMP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolIGP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IGP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolIL PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IL" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolINLSP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "I-NLSP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolIPCV PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IPCV" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolIPComp PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IPComp" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolIPIP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IPIP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolIPLT PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IPLT" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolIPPC PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IPPC" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolIPXInIP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IPX-in-IP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolIRTP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "IRTP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolISOIP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "ISO-IP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolISOTP4 PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "ISO-TP4" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolKRYPTOLAN PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "KRYPTOLAN" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolL2TP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "L2TP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolLARP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "LARP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolLEAF1 PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "LEAF-1" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolLEAF2 PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "LEAF-2" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolMERITINP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "MERIT-INP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolMFENSP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "MFE-NSP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolMOBILE PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "MOBILE" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolMTP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "MTP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolMUX PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "MUX" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolManet PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "manet" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolN3PC PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "3PC" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolNARP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "NARP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolNETBLT PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "NETBLT" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolNSFNETIGP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "NSFNET-IGP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolNVPII PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "NVP-II" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolOSPFIGP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "OSPFIGP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolPGM PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "PGM" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolPIM PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "PIM" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolPIPE PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "PIPE" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolPNNI PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "PNNI" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolPRM PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "PRM" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolPTP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "PTP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolPUP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "PUP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolPVP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "PVP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolQNX PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "QNX" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolRDP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "RDP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolROHC PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "ROHC" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolRSVP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "RSVP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolRSVPE2EIGNORE PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "RSVP-E2E-IGNORE" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolRVD PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "RVD" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolSATEXPAK PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SAT-EXPAK" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolSATMON PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SAT-MON" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolSCCSP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SCC-SP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolSCPS PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SCPS" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolSCTP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SCTP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolSDRP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SDRP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolSECUREVMTP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SECURE-VMTP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolSKIP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SKIP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolSM PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SM" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolSMP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SMP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolSNP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SNP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolSPS PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SPS" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolSRP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SRP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolSSCOPMCE PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SSCOPMCE" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolSTP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "STP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolSUNND PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "SUN-ND" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolSpriteRPC PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "Sprite-RPC" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolTCF PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "TCF" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolTCP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "TCP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolTLSP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "TLSP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolTP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "TP++" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolTRUNK1 PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "TRUNK-1" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolTRUNK2 PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "TRUNK-2" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolTTP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "TTP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolUDP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "UDP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolUDPLite PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "UDPLite" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolUTI PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "UTI" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolVINES PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "VINES" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolVISA PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "VISA" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolVMTP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "VMTP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolWBEXPAK PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "WB-EXPAK" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolWBMON PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "WB-MON" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolWESP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "WESP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolWSN PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "WSN" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolXNET PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "XNET" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolXNSIDP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "XNS-IDP" + PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocolXTP PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol = "XTP" +) + +// Defines values for PatchedBulkWritablePolicyRuleRequestDestinationServicesStatus. +const ( + PatchedBulkWritablePolicyRuleRequestDestinationServicesStatusActive PatchedBulkWritablePolicyRuleRequestDestinationServicesStatus = "active" + PatchedBulkWritablePolicyRuleRequestDestinationServicesStatusDecommissioned PatchedBulkWritablePolicyRuleRequestDestinationServicesStatus = "decommissioned" + PatchedBulkWritablePolicyRuleRequestDestinationServicesStatusStaged PatchedBulkWritablePolicyRuleRequestDestinationServicesStatus = "staged" +) + +// Defines values for PatchedBulkWritablePolicyRuleRequestSourceAddressGroupsAddressObjectsStatus. +const ( + PatchedBulkWritablePolicyRuleRequestSourceAddressGroupsAddressObjectsStatusActive PatchedBulkWritablePolicyRuleRequestSourceAddressGroupsAddressObjectsStatus = "active" + PatchedBulkWritablePolicyRuleRequestSourceAddressGroupsAddressObjectsStatusDecommissioned PatchedBulkWritablePolicyRuleRequestSourceAddressGroupsAddressObjectsStatus = "decommissioned" + PatchedBulkWritablePolicyRuleRequestSourceAddressGroupsAddressObjectsStatusStaged PatchedBulkWritablePolicyRuleRequestSourceAddressGroupsAddressObjectsStatus = "staged" +) + +// Defines values for PatchedBulkWritablePolicyRuleRequestSourceAddressGroupsStatus. +const ( + PatchedBulkWritablePolicyRuleRequestSourceAddressGroupsStatusActive PatchedBulkWritablePolicyRuleRequestSourceAddressGroupsStatus = "active" + PatchedBulkWritablePolicyRuleRequestSourceAddressGroupsStatusDecommissioned PatchedBulkWritablePolicyRuleRequestSourceAddressGroupsStatus = "decommissioned" + PatchedBulkWritablePolicyRuleRequestSourceAddressGroupsStatusStaged PatchedBulkWritablePolicyRuleRequestSourceAddressGroupsStatus = "staged" +) + +// Defines values for PatchedBulkWritablePolicyRuleRequestSourceAddressesStatus. +const ( + PatchedBulkWritablePolicyRuleRequestSourceAddressesStatusActive PatchedBulkWritablePolicyRuleRequestSourceAddressesStatus = "active" + PatchedBulkWritablePolicyRuleRequestSourceAddressesStatusDecommissioned PatchedBulkWritablePolicyRuleRequestSourceAddressesStatus = "decommissioned" + PatchedBulkWritablePolicyRuleRequestSourceAddressesStatusStaged PatchedBulkWritablePolicyRuleRequestSourceAddressesStatus = "staged" +) + +// Defines values for PatchedBulkWritablePolicyRuleRequestSourceUserGroupsStatus. +const ( + PatchedBulkWritablePolicyRuleRequestSourceUserGroupsStatusActive PatchedBulkWritablePolicyRuleRequestSourceUserGroupsStatus = "active" + PatchedBulkWritablePolicyRuleRequestSourceUserGroupsStatusDecommissioned PatchedBulkWritablePolicyRuleRequestSourceUserGroupsStatus = "decommissioned" + PatchedBulkWritablePolicyRuleRequestSourceUserGroupsStatusStaged PatchedBulkWritablePolicyRuleRequestSourceUserGroupsStatus = "staged" +) + +// Defines values for PatchedBulkWritablePolicyRuleRequestSourceUserGroupsUserObjectsStatus. +const ( + PatchedBulkWritablePolicyRuleRequestSourceUserGroupsUserObjectsStatusActive PatchedBulkWritablePolicyRuleRequestSourceUserGroupsUserObjectsStatus = "active" + PatchedBulkWritablePolicyRuleRequestSourceUserGroupsUserObjectsStatusDecommissioned PatchedBulkWritablePolicyRuleRequestSourceUserGroupsUserObjectsStatus = "decommissioned" + PatchedBulkWritablePolicyRuleRequestSourceUserGroupsUserObjectsStatusStaged PatchedBulkWritablePolicyRuleRequestSourceUserGroupsUserObjectsStatus = "staged" +) + +// Defines values for PatchedBulkWritablePolicyRuleRequestSourceUsersStatus. +const ( + PatchedBulkWritablePolicyRuleRequestSourceUsersStatusActive PatchedBulkWritablePolicyRuleRequestSourceUsersStatus = "active" + PatchedBulkWritablePolicyRuleRequestSourceUsersStatusDecommissioned PatchedBulkWritablePolicyRuleRequestSourceUsersStatus = "decommissioned" + PatchedBulkWritablePolicyRuleRequestSourceUsersStatusStaged PatchedBulkWritablePolicyRuleRequestSourceUsersStatus = "staged" +) + +// Defines values for PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol. +const ( + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolAH PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "AH" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolAN PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "A/N" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolARIS PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "ARIS" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolAX25 PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "AX.25" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolBBNRCCMON PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "BBN-RCC-MON" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolBNA PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "BNA" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolBRSATMON PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "BR-SAT-MON" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolCBT PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "CBT" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolCFTP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "CFTP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolCHAOS PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "CHAOS" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolCPHB PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "CPHB" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolCPNX PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "CPNX" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolCRTP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "CRTP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolCRUDP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "CRUDP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolCompaqPeer PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "Compaq-Peer" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolDCCP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "DCCP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolDCNMEAS PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "DCN-MEAS" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolDDP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "DDP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolDDX PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "DDX" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolDGP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "DGP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolDSR PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "DSR" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolEGP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "EGP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolEIGRP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "EIGRP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolEMCON PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "EMCON" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolENCAP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "ENCAP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolESP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "ESP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolETHERIP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "ETHERIP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolEthernet PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "Ethernet" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolFC PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "FC" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolFIRE PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "FIRE" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolGGP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "GGP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolGMTP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "GMTP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolGRE PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "GRE" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolHIP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "HIP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolHMP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "HMP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIATP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IATP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolICMP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "ICMP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIDPR PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IDPR" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIDPRCMTP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IDPR-CMTP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIDRP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IDRP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIFMP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IFMP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIGMP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IGMP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIGP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IGP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIL PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IL" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolINLSP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "I-NLSP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIPCV PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IPCV" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIPComp PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IPComp" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIPIP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IPIP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIPLT PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IPLT" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIPPC PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IPPC" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIPXInIP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IPX-in-IP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolIRTP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "IRTP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolISOIP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "ISO-IP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolISOTP4 PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "ISO-TP4" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolKRYPTOLAN PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "KRYPTOLAN" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolL2TP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "L2TP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolLARP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "LARP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolLEAF1 PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "LEAF-1" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolLEAF2 PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "LEAF-2" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolMERITINP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "MERIT-INP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolMFENSP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "MFE-NSP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolMOBILE PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "MOBILE" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolMTP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "MTP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolMUX PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "MUX" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolManet PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "manet" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolN3PC PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "3PC" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolNARP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "NARP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolNETBLT PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "NETBLT" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolNSFNETIGP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "NSFNET-IGP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolNVPII PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "NVP-II" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolOSPFIGP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "OSPFIGP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolPGM PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "PGM" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolPIM PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "PIM" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolPIPE PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "PIPE" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolPNNI PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "PNNI" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolPRM PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "PRM" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolPTP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "PTP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolPUP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "PUP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolPVP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "PVP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolQNX PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "QNX" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolRDP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "RDP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolROHC PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "ROHC" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolRSVP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "RSVP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolRSVPE2EIGNORE PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "RSVP-E2E-IGNORE" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolRVD PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "RVD" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSATEXPAK PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SAT-EXPAK" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSATMON PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SAT-MON" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSCCSP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SCC-SP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSCPS PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SCPS" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSCTP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SCTP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSDRP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SDRP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSECUREVMTP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SECURE-VMTP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSKIP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SKIP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSM PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SM" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSMP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SMP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSNP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SNP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSPS PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SPS" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSRP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SRP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSSCOPMCE PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SSCOPMCE" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSTP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "STP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSUNND PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "SUN-ND" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolSpriteRPC PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "Sprite-RPC" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolTCF PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "TCF" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolTCP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "TCP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolTLSP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "TLSP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolTP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "TP++" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolTRUNK1 PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "TRUNK-1" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolTRUNK2 PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "TRUNK-2" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolTTP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "TTP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolUDP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "UDP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolUDPLite PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "UDPLite" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolUTI PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "UTI" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolVINES PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "VINES" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolVISA PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "VISA" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolVMTP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "VMTP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolWBEXPAK PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "WB-EXPAK" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolWBMON PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "WB-MON" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolWESP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "WESP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolWSN PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "WSN" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolXNET PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "XNET" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolXNSIDP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "XNS-IDP" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocolXTP PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol = "XTP" +) + +// Defines values for PatchedBulkWritableServiceObjectGroupRequestServiceObjectsStatus. +const ( + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsStatusActive PatchedBulkWritableServiceObjectGroupRequestServiceObjectsStatus = "active" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsStatusDecommissioned PatchedBulkWritableServiceObjectGroupRequestServiceObjectsStatus = "decommissioned" + PatchedBulkWritableServiceObjectGroupRequestServiceObjectsStatusStaged PatchedBulkWritableServiceObjectGroupRequestServiceObjectsStatus = "staged" +) + +// Defines values for PatchedBulkWritableUserObjectGroupRequestUserObjectsStatus. +const ( + PatchedBulkWritableUserObjectGroupRequestUserObjectsStatusActive PatchedBulkWritableUserObjectGroupRequestUserObjectsStatus = "active" + PatchedBulkWritableUserObjectGroupRequestUserObjectsStatusDecommissioned PatchedBulkWritableUserObjectGroupRequestUserObjectsStatus = "decommissioned" + PatchedBulkWritableUserObjectGroupRequestUserObjectsStatusStaged PatchedBulkWritableUserObjectGroupRequestUserObjectsStatus = "staged" +) + +// Defines values for PeeringStatusLabel. +const ( + PeeringStatusLabelActive PeeringStatusLabel = "Active" + PeeringStatusLabelDecommissioned PeeringStatusLabel = "Decommissioned" + PeeringStatusLabelDeprovisioning PeeringStatusLabel = "Deprovisioning" + PeeringStatusLabelOffline PeeringStatusLabel = "Offline" + PeeringStatusLabelPlanned PeeringStatusLabel = "Planned" + PeeringStatusLabelProvisioning PeeringStatusLabel = "Provisioning" +) + +// Defines values for PeeringStatusValue. +const ( + PeeringStatusValueActive PeeringStatusValue = "active" + PeeringStatusValueDecommissioned PeeringStatusValue = "decommissioned" + PeeringStatusValueDeprovisioning PeeringStatusValue = "deprovisioning" + PeeringStatusValueOffline PeeringStatusValue = "offline" + PeeringStatusValuePlanned PeeringStatusValue = "planned" + PeeringStatusValueProvisioning PeeringStatusValue = "provisioning" +) + // Defines values for PhaseEnum. const ( PhaseEnumSinglePhase PhaseEnum = "single-phase" - - PhaseEnumThreePhase PhaseEnum = "three-phase" + PhaseEnumThreePhase PhaseEnum = "three-phase" ) // Defines values for PlatformEnum. const ( - PlatformEnumMattermost PlatformEnum = "mattermost" + Mattermost PlatformEnum = "mattermost" +) + +// Defines values for PolicyStatusLabel. +const ( + PolicyStatusLabelActive PolicyStatusLabel = "Active" + PolicyStatusLabelDecommissioned PolicyStatusLabel = "Decommissioned" + PolicyStatusLabelStaged PolicyStatusLabel = "Staged" +) + +// Defines values for PolicyStatusValue. +const ( + PolicyStatusValueActive PolicyStatusValue = "active" + PolicyStatusValueDecommissioned PolicyStatusValue = "decommissioned" + PolicyStatusValueStaged PolicyStatusValue = "staged" +) + +// Defines values for PolicyRuleDestinationAddressGroupsAddressObjectsStatusLabel. +const ( + PolicyRuleDestinationAddressGroupsAddressObjectsStatusLabelActive PolicyRuleDestinationAddressGroupsAddressObjectsStatusLabel = "Active" + PolicyRuleDestinationAddressGroupsAddressObjectsStatusLabelDecommissioned PolicyRuleDestinationAddressGroupsAddressObjectsStatusLabel = "Decommissioned" + PolicyRuleDestinationAddressGroupsAddressObjectsStatusLabelStaged PolicyRuleDestinationAddressGroupsAddressObjectsStatusLabel = "Staged" +) + +// Defines values for PolicyRuleDestinationAddressGroupsAddressObjectsStatusValue. +const ( + PolicyRuleDestinationAddressGroupsAddressObjectsStatusValueActive PolicyRuleDestinationAddressGroupsAddressObjectsStatusValue = "active" + PolicyRuleDestinationAddressGroupsAddressObjectsStatusValueDecommissioned PolicyRuleDestinationAddressGroupsAddressObjectsStatusValue = "decommissioned" + PolicyRuleDestinationAddressGroupsAddressObjectsStatusValueStaged PolicyRuleDestinationAddressGroupsAddressObjectsStatusValue = "staged" +) + +// Defines values for PolicyRuleDestinationAddressGroupsStatusLabel. +const ( + PolicyRuleDestinationAddressGroupsStatusLabelActive PolicyRuleDestinationAddressGroupsStatusLabel = "Active" + PolicyRuleDestinationAddressGroupsStatusLabelDecommissioned PolicyRuleDestinationAddressGroupsStatusLabel = "Decommissioned" + PolicyRuleDestinationAddressGroupsStatusLabelStaged PolicyRuleDestinationAddressGroupsStatusLabel = "Staged" +) + +// Defines values for PolicyRuleDestinationAddressGroupsStatusValue. +const ( + PolicyRuleDestinationAddressGroupsStatusValueActive PolicyRuleDestinationAddressGroupsStatusValue = "active" + PolicyRuleDestinationAddressGroupsStatusValueDecommissioned PolicyRuleDestinationAddressGroupsStatusValue = "decommissioned" + PolicyRuleDestinationAddressGroupsStatusValueStaged PolicyRuleDestinationAddressGroupsStatusValue = "staged" +) + +// Defines values for PolicyRuleDestinationAddressesStatusLabel. +const ( + PolicyRuleDestinationAddressesStatusLabelActive PolicyRuleDestinationAddressesStatusLabel = "Active" + PolicyRuleDestinationAddressesStatusLabelDecommissioned PolicyRuleDestinationAddressesStatusLabel = "Decommissioned" + PolicyRuleDestinationAddressesStatusLabelStaged PolicyRuleDestinationAddressesStatusLabel = "Staged" +) + +// Defines values for PolicyRuleDestinationAddressesStatusValue. +const ( + PolicyRuleDestinationAddressesStatusValueActive PolicyRuleDestinationAddressesStatusValue = "active" + PolicyRuleDestinationAddressesStatusValueDecommissioned PolicyRuleDestinationAddressesStatusValue = "decommissioned" + PolicyRuleDestinationAddressesStatusValueStaged PolicyRuleDestinationAddressesStatusValue = "staged" +) + +// Defines values for PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol. +const ( + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolAH PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "AH" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolAN PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "A/N" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolARIS PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "ARIS" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolAX25 PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "AX.25" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolBBNRCCMON PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "BBN-RCC-MON" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolBNA PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "BNA" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolBRSATMON PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "BR-SAT-MON" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolCBT PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "CBT" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolCFTP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "CFTP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolCHAOS PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "CHAOS" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolCPHB PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "CPHB" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolCPNX PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "CPNX" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolCRTP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "CRTP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolCRUDP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "CRUDP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolCompaqPeer PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "Compaq-Peer" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolDCCP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "DCCP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolDCNMEAS PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "DCN-MEAS" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolDDP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "DDP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolDDX PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "DDX" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolDGP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "DGP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolDSR PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "DSR" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolEGP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "EGP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolEIGRP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "EIGRP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolEMCON PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "EMCON" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolENCAP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "ENCAP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolESP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "ESP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolETHERIP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "ETHERIP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolEthernet PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "Ethernet" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolFC PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "FC" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolFIRE PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "FIRE" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolGGP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "GGP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolGMTP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "GMTP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolGRE PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "GRE" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolHIP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "HIP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolHMP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "HMP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolIATP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "IATP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolICMP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "ICMP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolIDPR PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "IDPR" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolIDPRCMTP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "IDPR-CMTP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolIDRP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "IDRP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolIFMP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "IFMP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolIGMP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "IGMP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolIGP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "IGP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolIL PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "IL" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolINLSP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "I-NLSP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolIPCV PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "IPCV" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolIPComp PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "IPComp" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolIPIP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "IPIP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolIPLT PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "IPLT" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolIPPC PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "IPPC" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolIPXInIP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "IPX-in-IP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolIRTP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "IRTP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolISOIP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "ISO-IP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolISOTP4 PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "ISO-TP4" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolKRYPTOLAN PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "KRYPTOLAN" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolL2TP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "L2TP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolLARP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "LARP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolLEAF1 PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "LEAF-1" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolLEAF2 PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "LEAF-2" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolMERITINP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "MERIT-INP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolMFENSP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "MFE-NSP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolMOBILE PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "MOBILE" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolMTP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "MTP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolMUX PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "MUX" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolManet PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "manet" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolN3PC PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "3PC" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolNARP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "NARP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolNETBLT PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "NETBLT" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolNSFNETIGP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "NSFNET-IGP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolNVPII PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "NVP-II" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolOSPFIGP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "OSPFIGP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolPGM PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "PGM" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolPIM PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "PIM" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolPIPE PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "PIPE" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolPNNI PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "PNNI" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolPRM PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "PRM" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolPTP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "PTP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolPUP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "PUP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolPVP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "PVP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolQNX PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "QNX" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolRDP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "RDP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolROHC PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "ROHC" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolRSVP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "RSVP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolRSVPE2EIGNORE PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "RSVP-E2E-IGNORE" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolRVD PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "RVD" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolSATEXPAK PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "SAT-EXPAK" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolSATMON PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "SAT-MON" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolSCCSP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "SCC-SP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolSCPS PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "SCPS" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolSCTP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "SCTP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolSDRP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "SDRP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolSECUREVMTP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "SECURE-VMTP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolSKIP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "SKIP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolSM PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "SM" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolSMP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "SMP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolSNP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "SNP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolSPS PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "SPS" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolSRP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "SRP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolSSCOPMCE PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "SSCOPMCE" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolSTP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "STP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolSUNND PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "SUN-ND" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolSpriteRPC PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "Sprite-RPC" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolTCF PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "TCF" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolTCP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "TCP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolTLSP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "TLSP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolTP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "TP++" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolTRUNK1 PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "TRUNK-1" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolTRUNK2 PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "TRUNK-2" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolTTP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "TTP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolUDP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "UDP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolUDPLite PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "UDPLite" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolUTI PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "UTI" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolVINES PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "VINES" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolVISA PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "VISA" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolVMTP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "VMTP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolWBEXPAK PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "WB-EXPAK" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolWBMON PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "WB-MON" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolWESP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "WESP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolWSN PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "WSN" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolXNET PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "XNET" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolXNSIDP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "XNS-IDP" + PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocolXTP PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol = "XTP" +) + +// Defines values for PolicyRuleDestinationServiceGroupsServiceObjectsStatusLabel. +const ( + PolicyRuleDestinationServiceGroupsServiceObjectsStatusLabelActive PolicyRuleDestinationServiceGroupsServiceObjectsStatusLabel = "Active" + PolicyRuleDestinationServiceGroupsServiceObjectsStatusLabelDecommissioned PolicyRuleDestinationServiceGroupsServiceObjectsStatusLabel = "Decommissioned" + PolicyRuleDestinationServiceGroupsServiceObjectsStatusLabelStaged PolicyRuleDestinationServiceGroupsServiceObjectsStatusLabel = "Staged" +) + +// Defines values for PolicyRuleDestinationServiceGroupsServiceObjectsStatusValue. +const ( + PolicyRuleDestinationServiceGroupsServiceObjectsStatusValueActive PolicyRuleDestinationServiceGroupsServiceObjectsStatusValue = "active" + PolicyRuleDestinationServiceGroupsServiceObjectsStatusValueDecommissioned PolicyRuleDestinationServiceGroupsServiceObjectsStatusValue = "decommissioned" + PolicyRuleDestinationServiceGroupsServiceObjectsStatusValueStaged PolicyRuleDestinationServiceGroupsServiceObjectsStatusValue = "staged" +) + +// Defines values for PolicyRuleDestinationServiceGroupsStatusLabel. +const ( + PolicyRuleDestinationServiceGroupsStatusLabelActive PolicyRuleDestinationServiceGroupsStatusLabel = "Active" + PolicyRuleDestinationServiceGroupsStatusLabelDecommissioned PolicyRuleDestinationServiceGroupsStatusLabel = "Decommissioned" + PolicyRuleDestinationServiceGroupsStatusLabelStaged PolicyRuleDestinationServiceGroupsStatusLabel = "Staged" +) + +// Defines values for PolicyRuleDestinationServiceGroupsStatusValue. +const ( + PolicyRuleDestinationServiceGroupsStatusValueActive PolicyRuleDestinationServiceGroupsStatusValue = "active" + PolicyRuleDestinationServiceGroupsStatusValueDecommissioned PolicyRuleDestinationServiceGroupsStatusValue = "decommissioned" + PolicyRuleDestinationServiceGroupsStatusValueStaged PolicyRuleDestinationServiceGroupsStatusValue = "staged" +) + +// Defines values for PolicyRuleDestinationServicesIpProtocol. +const ( + PolicyRuleDestinationServicesIpProtocolAH PolicyRuleDestinationServicesIpProtocol = "AH" + PolicyRuleDestinationServicesIpProtocolAN PolicyRuleDestinationServicesIpProtocol = "A/N" + PolicyRuleDestinationServicesIpProtocolARIS PolicyRuleDestinationServicesIpProtocol = "ARIS" + PolicyRuleDestinationServicesIpProtocolAX25 PolicyRuleDestinationServicesIpProtocol = "AX.25" + PolicyRuleDestinationServicesIpProtocolBBNRCCMON PolicyRuleDestinationServicesIpProtocol = "BBN-RCC-MON" + PolicyRuleDestinationServicesIpProtocolBNA PolicyRuleDestinationServicesIpProtocol = "BNA" + PolicyRuleDestinationServicesIpProtocolBRSATMON PolicyRuleDestinationServicesIpProtocol = "BR-SAT-MON" + PolicyRuleDestinationServicesIpProtocolCBT PolicyRuleDestinationServicesIpProtocol = "CBT" + PolicyRuleDestinationServicesIpProtocolCFTP PolicyRuleDestinationServicesIpProtocol = "CFTP" + PolicyRuleDestinationServicesIpProtocolCHAOS PolicyRuleDestinationServicesIpProtocol = "CHAOS" + PolicyRuleDestinationServicesIpProtocolCPHB PolicyRuleDestinationServicesIpProtocol = "CPHB" + PolicyRuleDestinationServicesIpProtocolCPNX PolicyRuleDestinationServicesIpProtocol = "CPNX" + PolicyRuleDestinationServicesIpProtocolCRTP PolicyRuleDestinationServicesIpProtocol = "CRTP" + PolicyRuleDestinationServicesIpProtocolCRUDP PolicyRuleDestinationServicesIpProtocol = "CRUDP" + PolicyRuleDestinationServicesIpProtocolCompaqPeer PolicyRuleDestinationServicesIpProtocol = "Compaq-Peer" + PolicyRuleDestinationServicesIpProtocolDCCP PolicyRuleDestinationServicesIpProtocol = "DCCP" + PolicyRuleDestinationServicesIpProtocolDCNMEAS PolicyRuleDestinationServicesIpProtocol = "DCN-MEAS" + PolicyRuleDestinationServicesIpProtocolDDP PolicyRuleDestinationServicesIpProtocol = "DDP" + PolicyRuleDestinationServicesIpProtocolDDX PolicyRuleDestinationServicesIpProtocol = "DDX" + PolicyRuleDestinationServicesIpProtocolDGP PolicyRuleDestinationServicesIpProtocol = "DGP" + PolicyRuleDestinationServicesIpProtocolDSR PolicyRuleDestinationServicesIpProtocol = "DSR" + PolicyRuleDestinationServicesIpProtocolEGP PolicyRuleDestinationServicesIpProtocol = "EGP" + PolicyRuleDestinationServicesIpProtocolEIGRP PolicyRuleDestinationServicesIpProtocol = "EIGRP" + PolicyRuleDestinationServicesIpProtocolEMCON PolicyRuleDestinationServicesIpProtocol = "EMCON" + PolicyRuleDestinationServicesIpProtocolENCAP PolicyRuleDestinationServicesIpProtocol = "ENCAP" + PolicyRuleDestinationServicesIpProtocolESP PolicyRuleDestinationServicesIpProtocol = "ESP" + PolicyRuleDestinationServicesIpProtocolETHERIP PolicyRuleDestinationServicesIpProtocol = "ETHERIP" + PolicyRuleDestinationServicesIpProtocolEthernet PolicyRuleDestinationServicesIpProtocol = "Ethernet" + PolicyRuleDestinationServicesIpProtocolFC PolicyRuleDestinationServicesIpProtocol = "FC" + PolicyRuleDestinationServicesIpProtocolFIRE PolicyRuleDestinationServicesIpProtocol = "FIRE" + PolicyRuleDestinationServicesIpProtocolGGP PolicyRuleDestinationServicesIpProtocol = "GGP" + PolicyRuleDestinationServicesIpProtocolGMTP PolicyRuleDestinationServicesIpProtocol = "GMTP" + PolicyRuleDestinationServicesIpProtocolGRE PolicyRuleDestinationServicesIpProtocol = "GRE" + PolicyRuleDestinationServicesIpProtocolHIP PolicyRuleDestinationServicesIpProtocol = "HIP" + PolicyRuleDestinationServicesIpProtocolHMP PolicyRuleDestinationServicesIpProtocol = "HMP" + PolicyRuleDestinationServicesIpProtocolIATP PolicyRuleDestinationServicesIpProtocol = "IATP" + PolicyRuleDestinationServicesIpProtocolICMP PolicyRuleDestinationServicesIpProtocol = "ICMP" + PolicyRuleDestinationServicesIpProtocolIDPR PolicyRuleDestinationServicesIpProtocol = "IDPR" + PolicyRuleDestinationServicesIpProtocolIDPRCMTP PolicyRuleDestinationServicesIpProtocol = "IDPR-CMTP" + PolicyRuleDestinationServicesIpProtocolIDRP PolicyRuleDestinationServicesIpProtocol = "IDRP" + PolicyRuleDestinationServicesIpProtocolIFMP PolicyRuleDestinationServicesIpProtocol = "IFMP" + PolicyRuleDestinationServicesIpProtocolIGMP PolicyRuleDestinationServicesIpProtocol = "IGMP" + PolicyRuleDestinationServicesIpProtocolIGP PolicyRuleDestinationServicesIpProtocol = "IGP" + PolicyRuleDestinationServicesIpProtocolIL PolicyRuleDestinationServicesIpProtocol = "IL" + PolicyRuleDestinationServicesIpProtocolINLSP PolicyRuleDestinationServicesIpProtocol = "I-NLSP" + PolicyRuleDestinationServicesIpProtocolIPCV PolicyRuleDestinationServicesIpProtocol = "IPCV" + PolicyRuleDestinationServicesIpProtocolIPComp PolicyRuleDestinationServicesIpProtocol = "IPComp" + PolicyRuleDestinationServicesIpProtocolIPIP PolicyRuleDestinationServicesIpProtocol = "IPIP" + PolicyRuleDestinationServicesIpProtocolIPLT PolicyRuleDestinationServicesIpProtocol = "IPLT" + PolicyRuleDestinationServicesIpProtocolIPPC PolicyRuleDestinationServicesIpProtocol = "IPPC" + PolicyRuleDestinationServicesIpProtocolIPXInIP PolicyRuleDestinationServicesIpProtocol = "IPX-in-IP" + PolicyRuleDestinationServicesIpProtocolIRTP PolicyRuleDestinationServicesIpProtocol = "IRTP" + PolicyRuleDestinationServicesIpProtocolISOIP PolicyRuleDestinationServicesIpProtocol = "ISO-IP" + PolicyRuleDestinationServicesIpProtocolISOTP4 PolicyRuleDestinationServicesIpProtocol = "ISO-TP4" + PolicyRuleDestinationServicesIpProtocolKRYPTOLAN PolicyRuleDestinationServicesIpProtocol = "KRYPTOLAN" + PolicyRuleDestinationServicesIpProtocolL2TP PolicyRuleDestinationServicesIpProtocol = "L2TP" + PolicyRuleDestinationServicesIpProtocolLARP PolicyRuleDestinationServicesIpProtocol = "LARP" + PolicyRuleDestinationServicesIpProtocolLEAF1 PolicyRuleDestinationServicesIpProtocol = "LEAF-1" + PolicyRuleDestinationServicesIpProtocolLEAF2 PolicyRuleDestinationServicesIpProtocol = "LEAF-2" + PolicyRuleDestinationServicesIpProtocolMERITINP PolicyRuleDestinationServicesIpProtocol = "MERIT-INP" + PolicyRuleDestinationServicesIpProtocolMFENSP PolicyRuleDestinationServicesIpProtocol = "MFE-NSP" + PolicyRuleDestinationServicesIpProtocolMOBILE PolicyRuleDestinationServicesIpProtocol = "MOBILE" + PolicyRuleDestinationServicesIpProtocolMTP PolicyRuleDestinationServicesIpProtocol = "MTP" + PolicyRuleDestinationServicesIpProtocolMUX PolicyRuleDestinationServicesIpProtocol = "MUX" + PolicyRuleDestinationServicesIpProtocolManet PolicyRuleDestinationServicesIpProtocol = "manet" + PolicyRuleDestinationServicesIpProtocolN3PC PolicyRuleDestinationServicesIpProtocol = "3PC" + PolicyRuleDestinationServicesIpProtocolNARP PolicyRuleDestinationServicesIpProtocol = "NARP" + PolicyRuleDestinationServicesIpProtocolNETBLT PolicyRuleDestinationServicesIpProtocol = "NETBLT" + PolicyRuleDestinationServicesIpProtocolNSFNETIGP PolicyRuleDestinationServicesIpProtocol = "NSFNET-IGP" + PolicyRuleDestinationServicesIpProtocolNVPII PolicyRuleDestinationServicesIpProtocol = "NVP-II" + PolicyRuleDestinationServicesIpProtocolOSPFIGP PolicyRuleDestinationServicesIpProtocol = "OSPFIGP" + PolicyRuleDestinationServicesIpProtocolPGM PolicyRuleDestinationServicesIpProtocol = "PGM" + PolicyRuleDestinationServicesIpProtocolPIM PolicyRuleDestinationServicesIpProtocol = "PIM" + PolicyRuleDestinationServicesIpProtocolPIPE PolicyRuleDestinationServicesIpProtocol = "PIPE" + PolicyRuleDestinationServicesIpProtocolPNNI PolicyRuleDestinationServicesIpProtocol = "PNNI" + PolicyRuleDestinationServicesIpProtocolPRM PolicyRuleDestinationServicesIpProtocol = "PRM" + PolicyRuleDestinationServicesIpProtocolPTP PolicyRuleDestinationServicesIpProtocol = "PTP" + PolicyRuleDestinationServicesIpProtocolPUP PolicyRuleDestinationServicesIpProtocol = "PUP" + PolicyRuleDestinationServicesIpProtocolPVP PolicyRuleDestinationServicesIpProtocol = "PVP" + PolicyRuleDestinationServicesIpProtocolQNX PolicyRuleDestinationServicesIpProtocol = "QNX" + PolicyRuleDestinationServicesIpProtocolRDP PolicyRuleDestinationServicesIpProtocol = "RDP" + PolicyRuleDestinationServicesIpProtocolROHC PolicyRuleDestinationServicesIpProtocol = "ROHC" + PolicyRuleDestinationServicesIpProtocolRSVP PolicyRuleDestinationServicesIpProtocol = "RSVP" + PolicyRuleDestinationServicesIpProtocolRSVPE2EIGNORE PolicyRuleDestinationServicesIpProtocol = "RSVP-E2E-IGNORE" + PolicyRuleDestinationServicesIpProtocolRVD PolicyRuleDestinationServicesIpProtocol = "RVD" + PolicyRuleDestinationServicesIpProtocolSATEXPAK PolicyRuleDestinationServicesIpProtocol = "SAT-EXPAK" + PolicyRuleDestinationServicesIpProtocolSATMON PolicyRuleDestinationServicesIpProtocol = "SAT-MON" + PolicyRuleDestinationServicesIpProtocolSCCSP PolicyRuleDestinationServicesIpProtocol = "SCC-SP" + PolicyRuleDestinationServicesIpProtocolSCPS PolicyRuleDestinationServicesIpProtocol = "SCPS" + PolicyRuleDestinationServicesIpProtocolSCTP PolicyRuleDestinationServicesIpProtocol = "SCTP" + PolicyRuleDestinationServicesIpProtocolSDRP PolicyRuleDestinationServicesIpProtocol = "SDRP" + PolicyRuleDestinationServicesIpProtocolSECUREVMTP PolicyRuleDestinationServicesIpProtocol = "SECURE-VMTP" + PolicyRuleDestinationServicesIpProtocolSKIP PolicyRuleDestinationServicesIpProtocol = "SKIP" + PolicyRuleDestinationServicesIpProtocolSM PolicyRuleDestinationServicesIpProtocol = "SM" + PolicyRuleDestinationServicesIpProtocolSMP PolicyRuleDestinationServicesIpProtocol = "SMP" + PolicyRuleDestinationServicesIpProtocolSNP PolicyRuleDestinationServicesIpProtocol = "SNP" + PolicyRuleDestinationServicesIpProtocolSPS PolicyRuleDestinationServicesIpProtocol = "SPS" + PolicyRuleDestinationServicesIpProtocolSRP PolicyRuleDestinationServicesIpProtocol = "SRP" + PolicyRuleDestinationServicesIpProtocolSSCOPMCE PolicyRuleDestinationServicesIpProtocol = "SSCOPMCE" + PolicyRuleDestinationServicesIpProtocolSTP PolicyRuleDestinationServicesIpProtocol = "STP" + PolicyRuleDestinationServicesIpProtocolSUNND PolicyRuleDestinationServicesIpProtocol = "SUN-ND" + PolicyRuleDestinationServicesIpProtocolSpriteRPC PolicyRuleDestinationServicesIpProtocol = "Sprite-RPC" + PolicyRuleDestinationServicesIpProtocolTCF PolicyRuleDestinationServicesIpProtocol = "TCF" + PolicyRuleDestinationServicesIpProtocolTCP PolicyRuleDestinationServicesIpProtocol = "TCP" + PolicyRuleDestinationServicesIpProtocolTLSP PolicyRuleDestinationServicesIpProtocol = "TLSP" + PolicyRuleDestinationServicesIpProtocolTP PolicyRuleDestinationServicesIpProtocol = "TP++" + PolicyRuleDestinationServicesIpProtocolTRUNK1 PolicyRuleDestinationServicesIpProtocol = "TRUNK-1" + PolicyRuleDestinationServicesIpProtocolTRUNK2 PolicyRuleDestinationServicesIpProtocol = "TRUNK-2" + PolicyRuleDestinationServicesIpProtocolTTP PolicyRuleDestinationServicesIpProtocol = "TTP" + PolicyRuleDestinationServicesIpProtocolUDP PolicyRuleDestinationServicesIpProtocol = "UDP" + PolicyRuleDestinationServicesIpProtocolUDPLite PolicyRuleDestinationServicesIpProtocol = "UDPLite" + PolicyRuleDestinationServicesIpProtocolUTI PolicyRuleDestinationServicesIpProtocol = "UTI" + PolicyRuleDestinationServicesIpProtocolVINES PolicyRuleDestinationServicesIpProtocol = "VINES" + PolicyRuleDestinationServicesIpProtocolVISA PolicyRuleDestinationServicesIpProtocol = "VISA" + PolicyRuleDestinationServicesIpProtocolVMTP PolicyRuleDestinationServicesIpProtocol = "VMTP" + PolicyRuleDestinationServicesIpProtocolWBEXPAK PolicyRuleDestinationServicesIpProtocol = "WB-EXPAK" + PolicyRuleDestinationServicesIpProtocolWBMON PolicyRuleDestinationServicesIpProtocol = "WB-MON" + PolicyRuleDestinationServicesIpProtocolWESP PolicyRuleDestinationServicesIpProtocol = "WESP" + PolicyRuleDestinationServicesIpProtocolWSN PolicyRuleDestinationServicesIpProtocol = "WSN" + PolicyRuleDestinationServicesIpProtocolXNET PolicyRuleDestinationServicesIpProtocol = "XNET" + PolicyRuleDestinationServicesIpProtocolXNSIDP PolicyRuleDestinationServicesIpProtocol = "XNS-IDP" + PolicyRuleDestinationServicesIpProtocolXTP PolicyRuleDestinationServicesIpProtocol = "XTP" +) + +// Defines values for PolicyRuleDestinationServicesStatusLabel. +const ( + PolicyRuleDestinationServicesStatusLabelActive PolicyRuleDestinationServicesStatusLabel = "Active" + PolicyRuleDestinationServicesStatusLabelDecommissioned PolicyRuleDestinationServicesStatusLabel = "Decommissioned" + PolicyRuleDestinationServicesStatusLabelStaged PolicyRuleDestinationServicesStatusLabel = "Staged" +) + +// Defines values for PolicyRuleDestinationServicesStatusValue. +const ( + PolicyRuleDestinationServicesStatusValueActive PolicyRuleDestinationServicesStatusValue = "active" + PolicyRuleDestinationServicesStatusValueDecommissioned PolicyRuleDestinationServicesStatusValue = "decommissioned" + PolicyRuleDestinationServicesStatusValueStaged PolicyRuleDestinationServicesStatusValue = "staged" +) + +// Defines values for PolicyRuleSourceAddressGroupsAddressObjectsStatusLabel. +const ( + PolicyRuleSourceAddressGroupsAddressObjectsStatusLabelActive PolicyRuleSourceAddressGroupsAddressObjectsStatusLabel = "Active" + PolicyRuleSourceAddressGroupsAddressObjectsStatusLabelDecommissioned PolicyRuleSourceAddressGroupsAddressObjectsStatusLabel = "Decommissioned" + PolicyRuleSourceAddressGroupsAddressObjectsStatusLabelStaged PolicyRuleSourceAddressGroupsAddressObjectsStatusLabel = "Staged" +) + +// Defines values for PolicyRuleSourceAddressGroupsAddressObjectsStatusValue. +const ( + PolicyRuleSourceAddressGroupsAddressObjectsStatusValueActive PolicyRuleSourceAddressGroupsAddressObjectsStatusValue = "active" + PolicyRuleSourceAddressGroupsAddressObjectsStatusValueDecommissioned PolicyRuleSourceAddressGroupsAddressObjectsStatusValue = "decommissioned" + PolicyRuleSourceAddressGroupsAddressObjectsStatusValueStaged PolicyRuleSourceAddressGroupsAddressObjectsStatusValue = "staged" +) + +// Defines values for PolicyRuleSourceAddressGroupsStatusLabel. +const ( + PolicyRuleSourceAddressGroupsStatusLabelActive PolicyRuleSourceAddressGroupsStatusLabel = "Active" + PolicyRuleSourceAddressGroupsStatusLabelDecommissioned PolicyRuleSourceAddressGroupsStatusLabel = "Decommissioned" + PolicyRuleSourceAddressGroupsStatusLabelStaged PolicyRuleSourceAddressGroupsStatusLabel = "Staged" +) + +// Defines values for PolicyRuleSourceAddressGroupsStatusValue. +const ( + PolicyRuleSourceAddressGroupsStatusValueActive PolicyRuleSourceAddressGroupsStatusValue = "active" + PolicyRuleSourceAddressGroupsStatusValueDecommissioned PolicyRuleSourceAddressGroupsStatusValue = "decommissioned" + PolicyRuleSourceAddressGroupsStatusValueStaged PolicyRuleSourceAddressGroupsStatusValue = "staged" +) + +// Defines values for PolicyRuleSourceAddressesStatusLabel. +const ( + PolicyRuleSourceAddressesStatusLabelActive PolicyRuleSourceAddressesStatusLabel = "Active" + PolicyRuleSourceAddressesStatusLabelDecommissioned PolicyRuleSourceAddressesStatusLabel = "Decommissioned" + PolicyRuleSourceAddressesStatusLabelStaged PolicyRuleSourceAddressesStatusLabel = "Staged" +) + +// Defines values for PolicyRuleSourceAddressesStatusValue. +const ( + PolicyRuleSourceAddressesStatusValueActive PolicyRuleSourceAddressesStatusValue = "active" + PolicyRuleSourceAddressesStatusValueDecommissioned PolicyRuleSourceAddressesStatusValue = "decommissioned" + PolicyRuleSourceAddressesStatusValueStaged PolicyRuleSourceAddressesStatusValue = "staged" +) + +// Defines values for PolicyRuleSourceUserGroupsStatusLabel. +const ( + PolicyRuleSourceUserGroupsStatusLabelActive PolicyRuleSourceUserGroupsStatusLabel = "Active" + PolicyRuleSourceUserGroupsStatusLabelDecommissioned PolicyRuleSourceUserGroupsStatusLabel = "Decommissioned" + PolicyRuleSourceUserGroupsStatusLabelStaged PolicyRuleSourceUserGroupsStatusLabel = "Staged" +) + +// Defines values for PolicyRuleSourceUserGroupsStatusValue. +const ( + PolicyRuleSourceUserGroupsStatusValueActive PolicyRuleSourceUserGroupsStatusValue = "active" + PolicyRuleSourceUserGroupsStatusValueDecommissioned PolicyRuleSourceUserGroupsStatusValue = "decommissioned" + PolicyRuleSourceUserGroupsStatusValueStaged PolicyRuleSourceUserGroupsStatusValue = "staged" +) + +// Defines values for PolicyRuleSourceUserGroupsUserObjectsStatusLabel. +const ( + PolicyRuleSourceUserGroupsUserObjectsStatusLabelActive PolicyRuleSourceUserGroupsUserObjectsStatusLabel = "Active" + PolicyRuleSourceUserGroupsUserObjectsStatusLabelDecommissioned PolicyRuleSourceUserGroupsUserObjectsStatusLabel = "Decommissioned" + PolicyRuleSourceUserGroupsUserObjectsStatusLabelStaged PolicyRuleSourceUserGroupsUserObjectsStatusLabel = "Staged" +) + +// Defines values for PolicyRuleSourceUserGroupsUserObjectsStatusValue. +const ( + PolicyRuleSourceUserGroupsUserObjectsStatusValueActive PolicyRuleSourceUserGroupsUserObjectsStatusValue = "active" + PolicyRuleSourceUserGroupsUserObjectsStatusValueDecommissioned PolicyRuleSourceUserGroupsUserObjectsStatusValue = "decommissioned" + PolicyRuleSourceUserGroupsUserObjectsStatusValueStaged PolicyRuleSourceUserGroupsUserObjectsStatusValue = "staged" +) + +// Defines values for PolicyRuleSourceUsersStatusLabel. +const ( + PolicyRuleSourceUsersStatusLabelActive PolicyRuleSourceUsersStatusLabel = "Active" + PolicyRuleSourceUsersStatusLabelDecommissioned PolicyRuleSourceUsersStatusLabel = "Decommissioned" + PolicyRuleSourceUsersStatusLabelStaged PolicyRuleSourceUsersStatusLabel = "Staged" +) + +// Defines values for PolicyRuleSourceUsersStatusValue. +const ( + PolicyRuleSourceUsersStatusValueActive PolicyRuleSourceUsersStatusValue = "active" + PolicyRuleSourceUsersStatusValueDecommissioned PolicyRuleSourceUsersStatusValue = "decommissioned" + PolicyRuleSourceUsersStatusValueStaged PolicyRuleSourceUsersStatusValue = "staged" +) + +// Defines values for PolicyRuleStatusLabel. +const ( + PolicyRuleStatusLabelActive PolicyRuleStatusLabel = "Active" + PolicyRuleStatusLabelDecommissioned PolicyRuleStatusLabel = "Decommissioned" + PolicyRuleStatusLabelStaged PolicyRuleStatusLabel = "Staged" +) + +// Defines values for PolicyRuleStatusValue. +const ( + PolicyRuleStatusValueActive PolicyRuleStatusValue = "active" + PolicyRuleStatusValueDecommissioned PolicyRuleStatusValue = "decommissioned" + PolicyRuleStatusValueStaged PolicyRuleStatusValue = "staged" ) // Defines values for PortTypeChoices. const ( - PortTypeChoicesBnc PortTypeChoices = "bnc" - - PortTypeChoicesCs PortTypeChoices = "cs" - - PortTypeChoicesFc PortTypeChoices = "fc" - - PortTypeChoicesGg45 PortTypeChoices = "gg45" - - PortTypeChoicesLc PortTypeChoices = "lc" - - PortTypeChoicesLcApc PortTypeChoices = "lc-apc" - - PortTypeChoicesLsh PortTypeChoices = "lsh" - - PortTypeChoicesLshApc PortTypeChoices = "lsh-apc" - - PortTypeChoicesMpo PortTypeChoices = "mpo" - - PortTypeChoicesMrj21 PortTypeChoices = "mrj21" - - PortTypeChoicesMtrj PortTypeChoices = "mtrj" - + PortTypeChoicesBnc PortTypeChoices = "bnc" + PortTypeChoicesCs PortTypeChoices = "cs" + PortTypeChoicesFc PortTypeChoices = "fc" + PortTypeChoicesGg45 PortTypeChoices = "gg45" + PortTypeChoicesLc PortTypeChoices = "lc" + PortTypeChoicesLcApc PortTypeChoices = "lc-apc" + PortTypeChoicesLsh PortTypeChoices = "lsh" + PortTypeChoicesLshApc PortTypeChoices = "lsh-apc" + PortTypeChoicesMpo PortTypeChoices = "mpo" + PortTypeChoicesMrj21 PortTypeChoices = "mrj21" + PortTypeChoicesMtrj PortTypeChoices = "mtrj" PortTypeChoicesN110Punch PortTypeChoices = "110-punch" - - PortTypeChoicesN8p2c PortTypeChoices = "8p2c" - - PortTypeChoicesN8p4c PortTypeChoices = "8p4c" - - PortTypeChoicesN8p6c PortTypeChoices = "8p6c" - - PortTypeChoicesN8p8c PortTypeChoices = "8p8c" - - PortTypeChoicesSc PortTypeChoices = "sc" - - PortTypeChoicesScApc PortTypeChoices = "sc-apc" - - PortTypeChoicesSn PortTypeChoices = "sn" - - PortTypeChoicesSplice PortTypeChoices = "splice" - - PortTypeChoicesSt PortTypeChoices = "st" - - PortTypeChoicesTera1p PortTypeChoices = "tera-1p" - - PortTypeChoicesTera2p PortTypeChoices = "tera-2p" - - PortTypeChoicesTera4p PortTypeChoices = "tera-4p" - - PortTypeChoicesUrmP2 PortTypeChoices = "urm-p2" - - PortTypeChoicesUrmP4 PortTypeChoices = "urm-p4" - - PortTypeChoicesUrmP8 PortTypeChoices = "urm-p8" + PortTypeChoicesN8p2c PortTypeChoices = "8p2c" + PortTypeChoicesN8p4c PortTypeChoices = "8p4c" + PortTypeChoicesN8p6c PortTypeChoices = "8p6c" + PortTypeChoicesN8p8c PortTypeChoices = "8p8c" + PortTypeChoicesSc PortTypeChoices = "sc" + PortTypeChoicesScApc PortTypeChoices = "sc-apc" + PortTypeChoicesSn PortTypeChoices = "sn" + PortTypeChoicesSplice PortTypeChoices = "splice" + PortTypeChoicesSt PortTypeChoices = "st" + PortTypeChoicesTera1p PortTypeChoices = "tera-1p" + PortTypeChoicesTera2p PortTypeChoices = "tera-2p" + PortTypeChoicesTera4p PortTypeChoices = "tera-4p" + PortTypeChoicesUrmP2 PortTypeChoices = "urm-p2" + PortTypeChoicesUrmP4 PortTypeChoices = "urm-p4" + PortTypeChoicesUrmP8 PortTypeChoices = "urm-p8" ) // Defines values for PowerFeedPhaseLabel. const ( PowerFeedPhaseLabelSinglePhase PowerFeedPhaseLabel = "Single phase" - - PowerFeedPhaseLabelThreePhase PowerFeedPhaseLabel = "Three-phase" + PowerFeedPhaseLabelThreePhase PowerFeedPhaseLabel = "Three-phase" ) // Defines values for PowerFeedPhaseValue. const ( - PowerFeedPhaseValueSinglePhase PowerFeedPhaseValue = "single-phase" - - PowerFeedPhaseValueThreePhase PowerFeedPhaseValue = "three-phase" + SinglePhase PowerFeedPhaseValue = "single-phase" + ThreePhase PowerFeedPhaseValue = "three-phase" ) // Defines values for PowerFeedStatusLabel. const ( - PowerFeedStatusLabelActive PowerFeedStatusLabel = "Active" - - PowerFeedStatusLabelFailed PowerFeedStatusLabel = "Failed" - + PowerFeedStatusLabelActive PowerFeedStatusLabel = "Active" + PowerFeedStatusLabelFailed PowerFeedStatusLabel = "Failed" PowerFeedStatusLabelOffline PowerFeedStatusLabel = "Offline" - PowerFeedStatusLabelPlanned PowerFeedStatusLabel = "Planned" ) // Defines values for PowerFeedStatusValue. const ( - PowerFeedStatusValueActive PowerFeedStatusValue = "active" - - PowerFeedStatusValueFailed PowerFeedStatusValue = "failed" - + PowerFeedStatusValueActive PowerFeedStatusValue = "active" + PowerFeedStatusValueFailed PowerFeedStatusValue = "failed" PowerFeedStatusValueOffline PowerFeedStatusValue = "offline" - PowerFeedStatusValuePlanned PowerFeedStatusValue = "planned" ) // Defines values for PowerFeedSupplyLabel. const ( - PowerFeedSupplyLabelAC PowerFeedSupplyLabel = "AC" - - PowerFeedSupplyLabelDC PowerFeedSupplyLabel = "DC" + AC PowerFeedSupplyLabel = "AC" + DC PowerFeedSupplyLabel = "DC" ) // Defines values for PowerFeedSupplyValue. const ( PowerFeedSupplyValueAc PowerFeedSupplyValue = "ac" - PowerFeedSupplyValueDc PowerFeedSupplyValue = "dc" ) // Defines values for PowerFeedTypeLabel. const ( - PowerFeedTypeLabelPrimary PowerFeedTypeLabel = "Primary" - + PowerFeedTypeLabelPrimary PowerFeedTypeLabel = "Primary" PowerFeedTypeLabelRedundant PowerFeedTypeLabel = "Redundant" ) // Defines values for PowerFeedTypeValue. const ( - PowerFeedTypeValuePrimary PowerFeedTypeValue = "primary" - + PowerFeedTypeValuePrimary PowerFeedTypeValue = "primary" PowerFeedTypeValueRedundant PowerFeedTypeValue = "redundant" ) +// Defines values for PowerFeedStatusChoices. +const ( + PowerFeedStatusChoicesActive PowerFeedStatusChoices = "active" + PowerFeedStatusChoicesFailed PowerFeedStatusChoices = "failed" + PowerFeedStatusChoicesOffline PowerFeedStatusChoices = "offline" + PowerFeedStatusChoicesPlanned PowerFeedStatusChoices = "planned" +) + // Defines values for PowerFeedTypeChoices. const ( - PowerFeedTypeChoicesPrimary PowerFeedTypeChoices = "primary" - - PowerFeedTypeChoicesRedundant PowerFeedTypeChoices = "redundant" + Primary PowerFeedTypeChoices = "primary" + Redundant PowerFeedTypeChoices = "redundant" ) // Defines values for PowerOutletFeedLegLabel. const ( PowerOutletFeedLegLabelA PowerOutletFeedLegLabel = "A" - PowerOutletFeedLegLabelB PowerOutletFeedLegLabel = "B" - PowerOutletFeedLegLabelC PowerOutletFeedLegLabel = "C" ) // Defines values for PowerOutletFeedLegValue. const ( PowerOutletFeedLegValueA PowerOutletFeedLegValue = "A" - PowerOutletFeedLegValueB PowerOutletFeedLegValue = "B" - PowerOutletFeedLegValueC PowerOutletFeedLegValue = "C" ) // Defines values for PowerOutletTypeLabel. const ( - PowerOutletTypeLabelC13 PowerOutletTypeLabel = "C13" - - PowerOutletTypeLabelC15 PowerOutletTypeLabel = "C15" - - PowerOutletTypeLabelC19 PowerOutletTypeLabel = "C19" - - PowerOutletTypeLabelC5 PowerOutletTypeLabel = "C5" - - PowerOutletTypeLabelC7 PowerOutletTypeLabel = "C7" - - PowerOutletTypeLabelCS6360C PowerOutletTypeLabel = "CS6360C" - - PowerOutletTypeLabelCS6364C PowerOutletTypeLabel = "CS6364C" - - PowerOutletTypeLabelCS8164C PowerOutletTypeLabel = "CS8164C" - - PowerOutletTypeLabelCS8264C PowerOutletTypeLabel = "CS8264C" - - PowerOutletTypeLabelCS8364C PowerOutletTypeLabel = "CS8364C" - - PowerOutletTypeLabelCS8464C PowerOutletTypeLabel = "CS8464C" - - PowerOutletTypeLabelHDOTCx PowerOutletTypeLabel = "HDOT Cx" - - PowerOutletTypeLabelITATypeECEE75 PowerOutletTypeLabel = "ITA Type E (CEE7/5)" - - PowerOutletTypeLabelITATypeFCEE73 PowerOutletTypeLabel = "ITA Type F (CEE7/3)" - - PowerOutletTypeLabelITATypeGBS1363 PowerOutletTypeLabel = "ITA Type G (BS 1363)" - - PowerOutletTypeLabelITATypeH PowerOutletTypeLabel = "ITA Type H" - - PowerOutletTypeLabelITATypeI PowerOutletTypeLabel = "ITA Type I" - - PowerOutletTypeLabelITATypeJ PowerOutletTypeLabel = "ITA Type J" - - PowerOutletTypeLabelITATypeK PowerOutletTypeLabel = "ITA Type K" - + PowerOutletTypeLabelC13 PowerOutletTypeLabel = "C13" + PowerOutletTypeLabelC15 PowerOutletTypeLabel = "C15" + PowerOutletTypeLabelC19 PowerOutletTypeLabel = "C19" + PowerOutletTypeLabelC5 PowerOutletTypeLabel = "C5" + PowerOutletTypeLabelC7 PowerOutletTypeLabel = "C7" + PowerOutletTypeLabelCS6360C PowerOutletTypeLabel = "CS6360C" + PowerOutletTypeLabelCS6364C PowerOutletTypeLabel = "CS6364C" + PowerOutletTypeLabelCS8164C PowerOutletTypeLabel = "CS8164C" + PowerOutletTypeLabelCS8264C PowerOutletTypeLabel = "CS8264C" + PowerOutletTypeLabelCS8364C PowerOutletTypeLabel = "CS8364C" + PowerOutletTypeLabelCS8464C PowerOutletTypeLabel = "CS8464C" + PowerOutletTypeLabelHDOTCx PowerOutletTypeLabel = "HDOT Cx" + PowerOutletTypeLabelITATypeECEE75 PowerOutletTypeLabel = "ITA Type E (CEE7/5)" + PowerOutletTypeLabelITATypeFCEE73 PowerOutletTypeLabel = "ITA Type F (CEE7/3)" + PowerOutletTypeLabelITATypeGBS1363 PowerOutletTypeLabel = "ITA Type G (BS 1363)" + PowerOutletTypeLabelITATypeH PowerOutletTypeLabel = "ITA Type H" + PowerOutletTypeLabelITATypeI PowerOutletTypeLabel = "ITA Type I" + PowerOutletTypeLabelITATypeJ PowerOutletTypeLabel = "ITA Type J" + PowerOutletTypeLabelITATypeK PowerOutletTypeLabel = "ITA Type K" PowerOutletTypeLabelITATypeLCEI2350 PowerOutletTypeLabel = "ITA Type L (CEI 23-50)" - - PowerOutletTypeLabelITATypeMBS546 PowerOutletTypeLabel = "ITA Type M (BS 546)" - - PowerOutletTypeLabelITATypeN PowerOutletTypeLabel = "ITA Type N" - - PowerOutletTypeLabelITATypeO PowerOutletTypeLabel = "ITA Type O" - - PowerOutletTypeLabelN2PE4H PowerOutletTypeLabel = "2P+E 4H" - - PowerOutletTypeLabelN2PE6H PowerOutletTypeLabel = "2P+E 6H" - - PowerOutletTypeLabelN2PE9H PowerOutletTypeLabel = "2P+E 9H" - - PowerOutletTypeLabelN3PE4H PowerOutletTypeLabel = "3P+E 4H" - - PowerOutletTypeLabelN3PE6H PowerOutletTypeLabel = "3P+E 6H" - - PowerOutletTypeLabelN3PE9H PowerOutletTypeLabel = "3P+E 9H" - - PowerOutletTypeLabelN3PNE4H PowerOutletTypeLabel = "3P+N+E 4H" - - PowerOutletTypeLabelN3PNE6H PowerOutletTypeLabel = "3P+N+E 6H" - - PowerOutletTypeLabelN3PNE9H PowerOutletTypeLabel = "3P+N+E 9H" - - PowerOutletTypeLabelNEMA1030R PowerOutletTypeLabel = "NEMA 10-30R" - - PowerOutletTypeLabelNEMA1050R PowerOutletTypeLabel = "NEMA 10-50R" - - PowerOutletTypeLabelNEMA115R PowerOutletTypeLabel = "NEMA 1-15R" - - PowerOutletTypeLabelNEMA1420R PowerOutletTypeLabel = "NEMA 14-20R" - - PowerOutletTypeLabelNEMA1430R PowerOutletTypeLabel = "NEMA 14-30R" - - PowerOutletTypeLabelNEMA1450R PowerOutletTypeLabel = "NEMA 14-50R" - - PowerOutletTypeLabelNEMA1460R PowerOutletTypeLabel = "NEMA 14-60R" - - PowerOutletTypeLabelNEMA1515R PowerOutletTypeLabel = "NEMA 15-15R" - - PowerOutletTypeLabelNEMA1520R PowerOutletTypeLabel = "NEMA 15-20R" - - PowerOutletTypeLabelNEMA1530R PowerOutletTypeLabel = "NEMA 15-30R" - - PowerOutletTypeLabelNEMA1550R PowerOutletTypeLabel = "NEMA 15-50R" - - PowerOutletTypeLabelNEMA1560R PowerOutletTypeLabel = "NEMA 15-60R" - - PowerOutletTypeLabelNEMA515R PowerOutletTypeLabel = "NEMA 5-15R" - - PowerOutletTypeLabelNEMA520R PowerOutletTypeLabel = "NEMA 5-20R" - - PowerOutletTypeLabelNEMA530R PowerOutletTypeLabel = "NEMA 5-30R" - - PowerOutletTypeLabelNEMA550R PowerOutletTypeLabel = "NEMA 5-50R" - - PowerOutletTypeLabelNEMA615R PowerOutletTypeLabel = "NEMA 6-15R" - - PowerOutletTypeLabelNEMA620R PowerOutletTypeLabel = "NEMA 6-20R" - - PowerOutletTypeLabelNEMA630R PowerOutletTypeLabel = "NEMA 6-30R" - - PowerOutletTypeLabelNEMA650R PowerOutletTypeLabel = "NEMA 6-50R" - - PowerOutletTypeLabelNEMAL1030R PowerOutletTypeLabel = "NEMA L10-30R" - - PowerOutletTypeLabelNEMAL115R PowerOutletTypeLabel = "NEMA L1-15R" - - PowerOutletTypeLabelNEMAL1420R PowerOutletTypeLabel = "NEMA L14-20R" - - PowerOutletTypeLabelNEMAL1430R PowerOutletTypeLabel = "NEMA L14-30R" - - PowerOutletTypeLabelNEMAL1450R PowerOutletTypeLabel = "NEMA L14-50R" - - PowerOutletTypeLabelNEMAL1460R PowerOutletTypeLabel = "NEMA L14-60R" - - PowerOutletTypeLabelNEMAL1520R PowerOutletTypeLabel = "NEMA L15-20R" - - PowerOutletTypeLabelNEMAL1530R PowerOutletTypeLabel = "NEMA L15-30R" - - PowerOutletTypeLabelNEMAL1550R PowerOutletTypeLabel = "NEMA L15-50R" - - PowerOutletTypeLabelNEMAL1560R PowerOutletTypeLabel = "NEMA L15-60R" - - PowerOutletTypeLabelNEMAL2120R PowerOutletTypeLabel = "NEMA L21-20R" - - PowerOutletTypeLabelNEMAL2130R PowerOutletTypeLabel = "NEMA L21-30R" - - PowerOutletTypeLabelNEMAL515R PowerOutletTypeLabel = "NEMA L5-15R" - - PowerOutletTypeLabelNEMAL520R PowerOutletTypeLabel = "NEMA L5-20R" - - PowerOutletTypeLabelNEMAL530R PowerOutletTypeLabel = "NEMA L5-30R" - - PowerOutletTypeLabelNEMAL550R PowerOutletTypeLabel = "NEMA L5-50R" - - PowerOutletTypeLabelNEMAL615R PowerOutletTypeLabel = "NEMA L6-15R" - - PowerOutletTypeLabelNEMAL620R PowerOutletTypeLabel = "NEMA L6-20R" - - PowerOutletTypeLabelNEMAL630R PowerOutletTypeLabel = "NEMA L6-30R" - - PowerOutletTypeLabelNEMAL650R PowerOutletTypeLabel = "NEMA L6-50R" - - PowerOutletTypeLabelPNE4H PowerOutletTypeLabel = "P+N+E 4H" - - PowerOutletTypeLabelPNE6H PowerOutletTypeLabel = "P+N+E 6H" - - PowerOutletTypeLabelPNE9H PowerOutletTypeLabel = "P+N+E 9H" - - PowerOutletTypeLabelUSBMicroB PowerOutletTypeLabel = "USB Micro B" - - PowerOutletTypeLabelUSBTypeA PowerOutletTypeLabel = "USB Type A" - - PowerOutletTypeLabelUSBTypeC PowerOutletTypeLabel = "USB Type C" + PowerOutletTypeLabelITATypeMBS546 PowerOutletTypeLabel = "ITA Type M (BS 546)" + PowerOutletTypeLabelITATypeN PowerOutletTypeLabel = "ITA Type N" + PowerOutletTypeLabelITATypeO PowerOutletTypeLabel = "ITA Type O" + PowerOutletTypeLabelN2PE4H PowerOutletTypeLabel = "2P+E 4H" + PowerOutletTypeLabelN2PE6H PowerOutletTypeLabel = "2P+E 6H" + PowerOutletTypeLabelN2PE9H PowerOutletTypeLabel = "2P+E 9H" + PowerOutletTypeLabelN3PE4H PowerOutletTypeLabel = "3P+E 4H" + PowerOutletTypeLabelN3PE6H PowerOutletTypeLabel = "3P+E 6H" + PowerOutletTypeLabelN3PE9H PowerOutletTypeLabel = "3P+E 9H" + PowerOutletTypeLabelN3PNE4H PowerOutletTypeLabel = "3P+N+E 4H" + PowerOutletTypeLabelN3PNE6H PowerOutletTypeLabel = "3P+N+E 6H" + PowerOutletTypeLabelN3PNE9H PowerOutletTypeLabel = "3P+N+E 9H" + PowerOutletTypeLabelNEMA1030R PowerOutletTypeLabel = "NEMA 10-30R" + PowerOutletTypeLabelNEMA1050R PowerOutletTypeLabel = "NEMA 10-50R" + PowerOutletTypeLabelNEMA115R PowerOutletTypeLabel = "NEMA 1-15R" + PowerOutletTypeLabelNEMA1420R PowerOutletTypeLabel = "NEMA 14-20R" + PowerOutletTypeLabelNEMA1430R PowerOutletTypeLabel = "NEMA 14-30R" + PowerOutletTypeLabelNEMA1450R PowerOutletTypeLabel = "NEMA 14-50R" + PowerOutletTypeLabelNEMA1460R PowerOutletTypeLabel = "NEMA 14-60R" + PowerOutletTypeLabelNEMA1515R PowerOutletTypeLabel = "NEMA 15-15R" + PowerOutletTypeLabelNEMA1520R PowerOutletTypeLabel = "NEMA 15-20R" + PowerOutletTypeLabelNEMA1530R PowerOutletTypeLabel = "NEMA 15-30R" + PowerOutletTypeLabelNEMA1550R PowerOutletTypeLabel = "NEMA 15-50R" + PowerOutletTypeLabelNEMA1560R PowerOutletTypeLabel = "NEMA 15-60R" + PowerOutletTypeLabelNEMA515R PowerOutletTypeLabel = "NEMA 5-15R" + PowerOutletTypeLabelNEMA520R PowerOutletTypeLabel = "NEMA 5-20R" + PowerOutletTypeLabelNEMA530R PowerOutletTypeLabel = "NEMA 5-30R" + PowerOutletTypeLabelNEMA550R PowerOutletTypeLabel = "NEMA 5-50R" + PowerOutletTypeLabelNEMA615R PowerOutletTypeLabel = "NEMA 6-15R" + PowerOutletTypeLabelNEMA620R PowerOutletTypeLabel = "NEMA 6-20R" + PowerOutletTypeLabelNEMA630R PowerOutletTypeLabel = "NEMA 6-30R" + PowerOutletTypeLabelNEMA650R PowerOutletTypeLabel = "NEMA 6-50R" + PowerOutletTypeLabelNEMAL1030R PowerOutletTypeLabel = "NEMA L10-30R" + PowerOutletTypeLabelNEMAL115R PowerOutletTypeLabel = "NEMA L1-15R" + PowerOutletTypeLabelNEMAL1420R PowerOutletTypeLabel = "NEMA L14-20R" + PowerOutletTypeLabelNEMAL1430R PowerOutletTypeLabel = "NEMA L14-30R" + PowerOutletTypeLabelNEMAL1450R PowerOutletTypeLabel = "NEMA L14-50R" + PowerOutletTypeLabelNEMAL1460R PowerOutletTypeLabel = "NEMA L14-60R" + PowerOutletTypeLabelNEMAL1520R PowerOutletTypeLabel = "NEMA L15-20R" + PowerOutletTypeLabelNEMAL1530R PowerOutletTypeLabel = "NEMA L15-30R" + PowerOutletTypeLabelNEMAL1550R PowerOutletTypeLabel = "NEMA L15-50R" + PowerOutletTypeLabelNEMAL1560R PowerOutletTypeLabel = "NEMA L15-60R" + PowerOutletTypeLabelNEMAL2120R PowerOutletTypeLabel = "NEMA L21-20R" + PowerOutletTypeLabelNEMAL2130R PowerOutletTypeLabel = "NEMA L21-30R" + PowerOutletTypeLabelNEMAL515R PowerOutletTypeLabel = "NEMA L5-15R" + PowerOutletTypeLabelNEMAL520R PowerOutletTypeLabel = "NEMA L5-20R" + PowerOutletTypeLabelNEMAL530R PowerOutletTypeLabel = "NEMA L5-30R" + PowerOutletTypeLabelNEMAL550R PowerOutletTypeLabel = "NEMA L5-50R" + PowerOutletTypeLabelNEMAL615R PowerOutletTypeLabel = "NEMA L6-15R" + PowerOutletTypeLabelNEMAL620R PowerOutletTypeLabel = "NEMA L6-20R" + PowerOutletTypeLabelNEMAL630R PowerOutletTypeLabel = "NEMA L6-30R" + PowerOutletTypeLabelNEMAL650R PowerOutletTypeLabel = "NEMA L6-50R" + PowerOutletTypeLabelPNE4H PowerOutletTypeLabel = "P+N+E 4H" + PowerOutletTypeLabelPNE6H PowerOutletTypeLabel = "P+N+E 6H" + PowerOutletTypeLabelPNE9H PowerOutletTypeLabel = "P+N+E 9H" + PowerOutletTypeLabelUSBMicroB PowerOutletTypeLabel = "USB Micro B" + PowerOutletTypeLabelUSBTypeA PowerOutletTypeLabel = "USB Type A" + PowerOutletTypeLabelUSBTypeC PowerOutletTypeLabel = "USB Type C" ) // Defines values for PowerOutletTypeValue. const ( - PowerOutletTypeValueCS6360C PowerOutletTypeValue = "CS6360C" - - PowerOutletTypeValueCS6364C PowerOutletTypeValue = "CS6364C" - - PowerOutletTypeValueCS8164C PowerOutletTypeValue = "CS8164C" - - PowerOutletTypeValueCS8264C PowerOutletTypeValue = "CS8264C" - - PowerOutletTypeValueCS8364C PowerOutletTypeValue = "CS8364C" - - PowerOutletTypeValueCS8464C PowerOutletTypeValue = "CS8464C" - - PowerOutletTypeValueHdotCx PowerOutletTypeValue = "hdot-cx" - - PowerOutletTypeValueIec603092pE4h PowerOutletTypeValue = "iec-60309-2p-e-4h" - - PowerOutletTypeValueIec603092pE6h PowerOutletTypeValue = "iec-60309-2p-e-6h" - - PowerOutletTypeValueIec603092pE9h PowerOutletTypeValue = "iec-60309-2p-e-9h" - - PowerOutletTypeValueIec603093pE4h PowerOutletTypeValue = "iec-60309-3p-e-4h" - - PowerOutletTypeValueIec603093pE6h PowerOutletTypeValue = "iec-60309-3p-e-6h" - - PowerOutletTypeValueIec603093pE9h PowerOutletTypeValue = "iec-60309-3p-e-9h" - + PowerOutletTypeValueCS6360C PowerOutletTypeValue = "CS6360C" + PowerOutletTypeValueCS6364C PowerOutletTypeValue = "CS6364C" + PowerOutletTypeValueCS8164C PowerOutletTypeValue = "CS8164C" + PowerOutletTypeValueCS8264C PowerOutletTypeValue = "CS8264C" + PowerOutletTypeValueCS8364C PowerOutletTypeValue = "CS8364C" + PowerOutletTypeValueCS8464C PowerOutletTypeValue = "CS8464C" + PowerOutletTypeValueHdotCx PowerOutletTypeValue = "hdot-cx" + PowerOutletTypeValueIec603092pE4h PowerOutletTypeValue = "iec-60309-2p-e-4h" + PowerOutletTypeValueIec603092pE6h PowerOutletTypeValue = "iec-60309-2p-e-6h" + PowerOutletTypeValueIec603092pE9h PowerOutletTypeValue = "iec-60309-2p-e-9h" + PowerOutletTypeValueIec603093pE4h PowerOutletTypeValue = "iec-60309-3p-e-4h" + PowerOutletTypeValueIec603093pE6h PowerOutletTypeValue = "iec-60309-3p-e-6h" + PowerOutletTypeValueIec603093pE9h PowerOutletTypeValue = "iec-60309-3p-e-9h" PowerOutletTypeValueIec603093pNE4h PowerOutletTypeValue = "iec-60309-3p-n-e-4h" - PowerOutletTypeValueIec603093pNE6h PowerOutletTypeValue = "iec-60309-3p-n-e-6h" - PowerOutletTypeValueIec603093pNE9h PowerOutletTypeValue = "iec-60309-3p-n-e-9h" - - PowerOutletTypeValueIec60309PNE4h PowerOutletTypeValue = "iec-60309-p-n-e-4h" - - PowerOutletTypeValueIec60309PNE6h PowerOutletTypeValue = "iec-60309-p-n-e-6h" - - PowerOutletTypeValueIec60309PNE9h PowerOutletTypeValue = "iec-60309-p-n-e-9h" - - PowerOutletTypeValueIec60320C13 PowerOutletTypeValue = "iec-60320-c13" - - PowerOutletTypeValueIec60320C15 PowerOutletTypeValue = "iec-60320-c15" - - PowerOutletTypeValueIec60320C19 PowerOutletTypeValue = "iec-60320-c19" - - PowerOutletTypeValueIec60320C5 PowerOutletTypeValue = "iec-60320-c5" - - PowerOutletTypeValueIec60320C7 PowerOutletTypeValue = "iec-60320-c7" - - PowerOutletTypeValueItaE PowerOutletTypeValue = "ita-e" - - PowerOutletTypeValueItaF PowerOutletTypeValue = "ita-f" - - PowerOutletTypeValueItaG PowerOutletTypeValue = "ita-g" - - PowerOutletTypeValueItaH PowerOutletTypeValue = "ita-h" - - PowerOutletTypeValueItaI PowerOutletTypeValue = "ita-i" - - PowerOutletTypeValueItaJ PowerOutletTypeValue = "ita-j" - - PowerOutletTypeValueItaK PowerOutletTypeValue = "ita-k" - - PowerOutletTypeValueItaL PowerOutletTypeValue = "ita-l" - - PowerOutletTypeValueItaM PowerOutletTypeValue = "ita-m" - - PowerOutletTypeValueItaN PowerOutletTypeValue = "ita-n" - - PowerOutletTypeValueItaO PowerOutletTypeValue = "ita-o" - - PowerOutletTypeValueNema1030r PowerOutletTypeValue = "nema-10-30r" - - PowerOutletTypeValueNema1050r PowerOutletTypeValue = "nema-10-50r" - - PowerOutletTypeValueNema115r PowerOutletTypeValue = "nema-1-15r" - - PowerOutletTypeValueNema1420r PowerOutletTypeValue = "nema-14-20r" - - PowerOutletTypeValueNema1430r PowerOutletTypeValue = "nema-14-30r" - - PowerOutletTypeValueNema1450r PowerOutletTypeValue = "nema-14-50r" - - PowerOutletTypeValueNema1460r PowerOutletTypeValue = "nema-14-60r" - - PowerOutletTypeValueNema1515r PowerOutletTypeValue = "nema-15-15r" - - PowerOutletTypeValueNema1520r PowerOutletTypeValue = "nema-15-20r" - - PowerOutletTypeValueNema1530r PowerOutletTypeValue = "nema-15-30r" - - PowerOutletTypeValueNema1550r PowerOutletTypeValue = "nema-15-50r" - - PowerOutletTypeValueNema1560r PowerOutletTypeValue = "nema-15-60r" - - PowerOutletTypeValueNema515r PowerOutletTypeValue = "nema-5-15r" - - PowerOutletTypeValueNema520r PowerOutletTypeValue = "nema-5-20r" - - PowerOutletTypeValueNema530r PowerOutletTypeValue = "nema-5-30r" - - PowerOutletTypeValueNema550r PowerOutletTypeValue = "nema-5-50r" - - PowerOutletTypeValueNema615r PowerOutletTypeValue = "nema-6-15r" - - PowerOutletTypeValueNema620r PowerOutletTypeValue = "nema-6-20r" - - PowerOutletTypeValueNema630r PowerOutletTypeValue = "nema-6-30r" - - PowerOutletTypeValueNema650r PowerOutletTypeValue = "nema-6-50r" - - PowerOutletTypeValueNemaL1030r PowerOutletTypeValue = "nema-l10-30r" - - PowerOutletTypeValueNemaL115r PowerOutletTypeValue = "nema-l1-15r" - - PowerOutletTypeValueNemaL1420r PowerOutletTypeValue = "nema-l14-20r" - - PowerOutletTypeValueNemaL1430r PowerOutletTypeValue = "nema-l14-30r" - - PowerOutletTypeValueNemaL1450r PowerOutletTypeValue = "nema-l14-50r" - - PowerOutletTypeValueNemaL1460r PowerOutletTypeValue = "nema-l14-60r" - - PowerOutletTypeValueNemaL1520r PowerOutletTypeValue = "nema-l15-20r" - - PowerOutletTypeValueNemaL1530r PowerOutletTypeValue = "nema-l15-30r" - - PowerOutletTypeValueNemaL1550r PowerOutletTypeValue = "nema-l15-50r" - - PowerOutletTypeValueNemaL1560r PowerOutletTypeValue = "nema-l15-60r" - - PowerOutletTypeValueNemaL2120r PowerOutletTypeValue = "nema-l21-20r" - - PowerOutletTypeValueNemaL2130r PowerOutletTypeValue = "nema-l21-30r" - - PowerOutletTypeValueNemaL515r PowerOutletTypeValue = "nema-l5-15r" - - PowerOutletTypeValueNemaL520r PowerOutletTypeValue = "nema-l5-20r" - - PowerOutletTypeValueNemaL530r PowerOutletTypeValue = "nema-l5-30r" - - PowerOutletTypeValueNemaL550r PowerOutletTypeValue = "nema-l5-50r" - - PowerOutletTypeValueNemaL615r PowerOutletTypeValue = "nema-l6-15r" - - PowerOutletTypeValueNemaL620r PowerOutletTypeValue = "nema-l6-20r" - - PowerOutletTypeValueNemaL630r PowerOutletTypeValue = "nema-l6-30r" - - PowerOutletTypeValueNemaL650r PowerOutletTypeValue = "nema-l6-50r" - - PowerOutletTypeValueUsbA PowerOutletTypeValue = "usb-a" - - PowerOutletTypeValueUsbC PowerOutletTypeValue = "usb-c" - - PowerOutletTypeValueUsbMicroB PowerOutletTypeValue = "usb-micro-b" + PowerOutletTypeValueIec60309PNE4h PowerOutletTypeValue = "iec-60309-p-n-e-4h" + PowerOutletTypeValueIec60309PNE6h PowerOutletTypeValue = "iec-60309-p-n-e-6h" + PowerOutletTypeValueIec60309PNE9h PowerOutletTypeValue = "iec-60309-p-n-e-9h" + PowerOutletTypeValueIec60320C13 PowerOutletTypeValue = "iec-60320-c13" + PowerOutletTypeValueIec60320C15 PowerOutletTypeValue = "iec-60320-c15" + PowerOutletTypeValueIec60320C19 PowerOutletTypeValue = "iec-60320-c19" + PowerOutletTypeValueIec60320C5 PowerOutletTypeValue = "iec-60320-c5" + PowerOutletTypeValueIec60320C7 PowerOutletTypeValue = "iec-60320-c7" + PowerOutletTypeValueItaE PowerOutletTypeValue = "ita-e" + PowerOutletTypeValueItaF PowerOutletTypeValue = "ita-f" + PowerOutletTypeValueItaG PowerOutletTypeValue = "ita-g" + PowerOutletTypeValueItaH PowerOutletTypeValue = "ita-h" + PowerOutletTypeValueItaI PowerOutletTypeValue = "ita-i" + PowerOutletTypeValueItaJ PowerOutletTypeValue = "ita-j" + PowerOutletTypeValueItaK PowerOutletTypeValue = "ita-k" + PowerOutletTypeValueItaL PowerOutletTypeValue = "ita-l" + PowerOutletTypeValueItaM PowerOutletTypeValue = "ita-m" + PowerOutletTypeValueItaN PowerOutletTypeValue = "ita-n" + PowerOutletTypeValueItaO PowerOutletTypeValue = "ita-o" + PowerOutletTypeValueNema1030r PowerOutletTypeValue = "nema-10-30r" + PowerOutletTypeValueNema1050r PowerOutletTypeValue = "nema-10-50r" + PowerOutletTypeValueNema115r PowerOutletTypeValue = "nema-1-15r" + PowerOutletTypeValueNema1420r PowerOutletTypeValue = "nema-14-20r" + PowerOutletTypeValueNema1430r PowerOutletTypeValue = "nema-14-30r" + PowerOutletTypeValueNema1450r PowerOutletTypeValue = "nema-14-50r" + PowerOutletTypeValueNema1460r PowerOutletTypeValue = "nema-14-60r" + PowerOutletTypeValueNema1515r PowerOutletTypeValue = "nema-15-15r" + PowerOutletTypeValueNema1520r PowerOutletTypeValue = "nema-15-20r" + PowerOutletTypeValueNema1530r PowerOutletTypeValue = "nema-15-30r" + PowerOutletTypeValueNema1550r PowerOutletTypeValue = "nema-15-50r" + PowerOutletTypeValueNema1560r PowerOutletTypeValue = "nema-15-60r" + PowerOutletTypeValueNema515r PowerOutletTypeValue = "nema-5-15r" + PowerOutletTypeValueNema520r PowerOutletTypeValue = "nema-5-20r" + PowerOutletTypeValueNema530r PowerOutletTypeValue = "nema-5-30r" + PowerOutletTypeValueNema550r PowerOutletTypeValue = "nema-5-50r" + PowerOutletTypeValueNema615r PowerOutletTypeValue = "nema-6-15r" + PowerOutletTypeValueNema620r PowerOutletTypeValue = "nema-6-20r" + PowerOutletTypeValueNema630r PowerOutletTypeValue = "nema-6-30r" + PowerOutletTypeValueNema650r PowerOutletTypeValue = "nema-6-50r" + PowerOutletTypeValueNemaL1030r PowerOutletTypeValue = "nema-l10-30r" + PowerOutletTypeValueNemaL115r PowerOutletTypeValue = "nema-l1-15r" + PowerOutletTypeValueNemaL1420r PowerOutletTypeValue = "nema-l14-20r" + PowerOutletTypeValueNemaL1430r PowerOutletTypeValue = "nema-l14-30r" + PowerOutletTypeValueNemaL1450r PowerOutletTypeValue = "nema-l14-50r" + PowerOutletTypeValueNemaL1460r PowerOutletTypeValue = "nema-l14-60r" + PowerOutletTypeValueNemaL1520r PowerOutletTypeValue = "nema-l15-20r" + PowerOutletTypeValueNemaL1530r PowerOutletTypeValue = "nema-l15-30r" + PowerOutletTypeValueNemaL1550r PowerOutletTypeValue = "nema-l15-50r" + PowerOutletTypeValueNemaL1560r PowerOutletTypeValue = "nema-l15-60r" + PowerOutletTypeValueNemaL2120r PowerOutletTypeValue = "nema-l21-20r" + PowerOutletTypeValueNemaL2130r PowerOutletTypeValue = "nema-l21-30r" + PowerOutletTypeValueNemaL515r PowerOutletTypeValue = "nema-l5-15r" + PowerOutletTypeValueNemaL520r PowerOutletTypeValue = "nema-l5-20r" + PowerOutletTypeValueNemaL530r PowerOutletTypeValue = "nema-l5-30r" + PowerOutletTypeValueNemaL550r PowerOutletTypeValue = "nema-l5-50r" + PowerOutletTypeValueNemaL615r PowerOutletTypeValue = "nema-l6-15r" + PowerOutletTypeValueNemaL620r PowerOutletTypeValue = "nema-l6-20r" + PowerOutletTypeValueNemaL630r PowerOutletTypeValue = "nema-l6-30r" + PowerOutletTypeValueNemaL650r PowerOutletTypeValue = "nema-l6-50r" + PowerOutletTypeValueUsbA PowerOutletTypeValue = "usb-a" + PowerOutletTypeValueUsbC PowerOutletTypeValue = "usb-c" + PowerOutletTypeValueUsbMicroB PowerOutletTypeValue = "usb-micro-b" ) // Defines values for PowerOutletTemplateFeedLegLabel. const ( PowerOutletTemplateFeedLegLabelA PowerOutletTemplateFeedLegLabel = "A" - PowerOutletTemplateFeedLegLabelB PowerOutletTemplateFeedLegLabel = "B" - PowerOutletTemplateFeedLegLabelC PowerOutletTemplateFeedLegLabel = "C" ) // Defines values for PowerOutletTemplateFeedLegValue. const ( PowerOutletTemplateFeedLegValueA PowerOutletTemplateFeedLegValue = "A" - PowerOutletTemplateFeedLegValueB PowerOutletTemplateFeedLegValue = "B" - PowerOutletTemplateFeedLegValueC PowerOutletTemplateFeedLegValue = "C" ) // Defines values for PowerOutletTemplateTypeLabel. const ( - PowerOutletTemplateTypeLabelC13 PowerOutletTemplateTypeLabel = "C13" - - PowerOutletTemplateTypeLabelC15 PowerOutletTemplateTypeLabel = "C15" - - PowerOutletTemplateTypeLabelC19 PowerOutletTemplateTypeLabel = "C19" - - PowerOutletTemplateTypeLabelC5 PowerOutletTemplateTypeLabel = "C5" - - PowerOutletTemplateTypeLabelC7 PowerOutletTemplateTypeLabel = "C7" - - PowerOutletTemplateTypeLabelCS6360C PowerOutletTemplateTypeLabel = "CS6360C" - - PowerOutletTemplateTypeLabelCS6364C PowerOutletTemplateTypeLabel = "CS6364C" - - PowerOutletTemplateTypeLabelCS8164C PowerOutletTemplateTypeLabel = "CS8164C" - - PowerOutletTemplateTypeLabelCS8264C PowerOutletTemplateTypeLabel = "CS8264C" - - PowerOutletTemplateTypeLabelCS8364C PowerOutletTemplateTypeLabel = "CS8364C" - - PowerOutletTemplateTypeLabelCS8464C PowerOutletTemplateTypeLabel = "CS8464C" - - PowerOutletTemplateTypeLabelHDOTCx PowerOutletTemplateTypeLabel = "HDOT Cx" - - PowerOutletTemplateTypeLabelITATypeECEE75 PowerOutletTemplateTypeLabel = "ITA Type E (CEE7/5)" - - PowerOutletTemplateTypeLabelITATypeFCEE73 PowerOutletTemplateTypeLabel = "ITA Type F (CEE7/3)" - - PowerOutletTemplateTypeLabelITATypeGBS1363 PowerOutletTemplateTypeLabel = "ITA Type G (BS 1363)" - - PowerOutletTemplateTypeLabelITATypeH PowerOutletTemplateTypeLabel = "ITA Type H" - - PowerOutletTemplateTypeLabelITATypeI PowerOutletTemplateTypeLabel = "ITA Type I" - - PowerOutletTemplateTypeLabelITATypeJ PowerOutletTemplateTypeLabel = "ITA Type J" - - PowerOutletTemplateTypeLabelITATypeK PowerOutletTemplateTypeLabel = "ITA Type K" - + PowerOutletTemplateTypeLabelC13 PowerOutletTemplateTypeLabel = "C13" + PowerOutletTemplateTypeLabelC15 PowerOutletTemplateTypeLabel = "C15" + PowerOutletTemplateTypeLabelC19 PowerOutletTemplateTypeLabel = "C19" + PowerOutletTemplateTypeLabelC5 PowerOutletTemplateTypeLabel = "C5" + PowerOutletTemplateTypeLabelC7 PowerOutletTemplateTypeLabel = "C7" + PowerOutletTemplateTypeLabelCS6360C PowerOutletTemplateTypeLabel = "CS6360C" + PowerOutletTemplateTypeLabelCS6364C PowerOutletTemplateTypeLabel = "CS6364C" + PowerOutletTemplateTypeLabelCS8164C PowerOutletTemplateTypeLabel = "CS8164C" + PowerOutletTemplateTypeLabelCS8264C PowerOutletTemplateTypeLabel = "CS8264C" + PowerOutletTemplateTypeLabelCS8364C PowerOutletTemplateTypeLabel = "CS8364C" + PowerOutletTemplateTypeLabelCS8464C PowerOutletTemplateTypeLabel = "CS8464C" + PowerOutletTemplateTypeLabelHDOTCx PowerOutletTemplateTypeLabel = "HDOT Cx" + PowerOutletTemplateTypeLabelITATypeECEE75 PowerOutletTemplateTypeLabel = "ITA Type E (CEE7/5)" + PowerOutletTemplateTypeLabelITATypeFCEE73 PowerOutletTemplateTypeLabel = "ITA Type F (CEE7/3)" + PowerOutletTemplateTypeLabelITATypeGBS1363 PowerOutletTemplateTypeLabel = "ITA Type G (BS 1363)" + PowerOutletTemplateTypeLabelITATypeH PowerOutletTemplateTypeLabel = "ITA Type H" + PowerOutletTemplateTypeLabelITATypeI PowerOutletTemplateTypeLabel = "ITA Type I" + PowerOutletTemplateTypeLabelITATypeJ PowerOutletTemplateTypeLabel = "ITA Type J" + PowerOutletTemplateTypeLabelITATypeK PowerOutletTemplateTypeLabel = "ITA Type K" PowerOutletTemplateTypeLabelITATypeLCEI2350 PowerOutletTemplateTypeLabel = "ITA Type L (CEI 23-50)" - - PowerOutletTemplateTypeLabelITATypeMBS546 PowerOutletTemplateTypeLabel = "ITA Type M (BS 546)" - - PowerOutletTemplateTypeLabelITATypeN PowerOutletTemplateTypeLabel = "ITA Type N" - - PowerOutletTemplateTypeLabelITATypeO PowerOutletTemplateTypeLabel = "ITA Type O" - - PowerOutletTemplateTypeLabelN2PE4H PowerOutletTemplateTypeLabel = "2P+E 4H" - - PowerOutletTemplateTypeLabelN2PE6H PowerOutletTemplateTypeLabel = "2P+E 6H" - - PowerOutletTemplateTypeLabelN2PE9H PowerOutletTemplateTypeLabel = "2P+E 9H" - - PowerOutletTemplateTypeLabelN3PE4H PowerOutletTemplateTypeLabel = "3P+E 4H" - - PowerOutletTemplateTypeLabelN3PE6H PowerOutletTemplateTypeLabel = "3P+E 6H" - - PowerOutletTemplateTypeLabelN3PE9H PowerOutletTemplateTypeLabel = "3P+E 9H" - - PowerOutletTemplateTypeLabelN3PNE4H PowerOutletTemplateTypeLabel = "3P+N+E 4H" - - PowerOutletTemplateTypeLabelN3PNE6H PowerOutletTemplateTypeLabel = "3P+N+E 6H" - - PowerOutletTemplateTypeLabelN3PNE9H PowerOutletTemplateTypeLabel = "3P+N+E 9H" - - PowerOutletTemplateTypeLabelNEMA1030R PowerOutletTemplateTypeLabel = "NEMA 10-30R" - - PowerOutletTemplateTypeLabelNEMA1050R PowerOutletTemplateTypeLabel = "NEMA 10-50R" - - PowerOutletTemplateTypeLabelNEMA115R PowerOutletTemplateTypeLabel = "NEMA 1-15R" - - PowerOutletTemplateTypeLabelNEMA1420R PowerOutletTemplateTypeLabel = "NEMA 14-20R" - - PowerOutletTemplateTypeLabelNEMA1430R PowerOutletTemplateTypeLabel = "NEMA 14-30R" - - PowerOutletTemplateTypeLabelNEMA1450R PowerOutletTemplateTypeLabel = "NEMA 14-50R" - - PowerOutletTemplateTypeLabelNEMA1460R PowerOutletTemplateTypeLabel = "NEMA 14-60R" - - PowerOutletTemplateTypeLabelNEMA1515R PowerOutletTemplateTypeLabel = "NEMA 15-15R" - - PowerOutletTemplateTypeLabelNEMA1520R PowerOutletTemplateTypeLabel = "NEMA 15-20R" - - PowerOutletTemplateTypeLabelNEMA1530R PowerOutletTemplateTypeLabel = "NEMA 15-30R" - - PowerOutletTemplateTypeLabelNEMA1550R PowerOutletTemplateTypeLabel = "NEMA 15-50R" - - PowerOutletTemplateTypeLabelNEMA1560R PowerOutletTemplateTypeLabel = "NEMA 15-60R" - - PowerOutletTemplateTypeLabelNEMA515R PowerOutletTemplateTypeLabel = "NEMA 5-15R" - - PowerOutletTemplateTypeLabelNEMA520R PowerOutletTemplateTypeLabel = "NEMA 5-20R" - - PowerOutletTemplateTypeLabelNEMA530R PowerOutletTemplateTypeLabel = "NEMA 5-30R" - - PowerOutletTemplateTypeLabelNEMA550R PowerOutletTemplateTypeLabel = "NEMA 5-50R" - - PowerOutletTemplateTypeLabelNEMA615R PowerOutletTemplateTypeLabel = "NEMA 6-15R" - - PowerOutletTemplateTypeLabelNEMA620R PowerOutletTemplateTypeLabel = "NEMA 6-20R" - - PowerOutletTemplateTypeLabelNEMA630R PowerOutletTemplateTypeLabel = "NEMA 6-30R" - - PowerOutletTemplateTypeLabelNEMA650R PowerOutletTemplateTypeLabel = "NEMA 6-50R" - - PowerOutletTemplateTypeLabelNEMAL1030R PowerOutletTemplateTypeLabel = "NEMA L10-30R" - - PowerOutletTemplateTypeLabelNEMAL115R PowerOutletTemplateTypeLabel = "NEMA L1-15R" - - PowerOutletTemplateTypeLabelNEMAL1420R PowerOutletTemplateTypeLabel = "NEMA L14-20R" - - PowerOutletTemplateTypeLabelNEMAL1430R PowerOutletTemplateTypeLabel = "NEMA L14-30R" - - PowerOutletTemplateTypeLabelNEMAL1450R PowerOutletTemplateTypeLabel = "NEMA L14-50R" - - PowerOutletTemplateTypeLabelNEMAL1460R PowerOutletTemplateTypeLabel = "NEMA L14-60R" - - PowerOutletTemplateTypeLabelNEMAL1520R PowerOutletTemplateTypeLabel = "NEMA L15-20R" - - PowerOutletTemplateTypeLabelNEMAL1530R PowerOutletTemplateTypeLabel = "NEMA L15-30R" - - PowerOutletTemplateTypeLabelNEMAL1550R PowerOutletTemplateTypeLabel = "NEMA L15-50R" - - PowerOutletTemplateTypeLabelNEMAL1560R PowerOutletTemplateTypeLabel = "NEMA L15-60R" - - PowerOutletTemplateTypeLabelNEMAL2120R PowerOutletTemplateTypeLabel = "NEMA L21-20R" - - PowerOutletTemplateTypeLabelNEMAL2130R PowerOutletTemplateTypeLabel = "NEMA L21-30R" - - PowerOutletTemplateTypeLabelNEMAL515R PowerOutletTemplateTypeLabel = "NEMA L5-15R" - - PowerOutletTemplateTypeLabelNEMAL520R PowerOutletTemplateTypeLabel = "NEMA L5-20R" - - PowerOutletTemplateTypeLabelNEMAL530R PowerOutletTemplateTypeLabel = "NEMA L5-30R" - - PowerOutletTemplateTypeLabelNEMAL550R PowerOutletTemplateTypeLabel = "NEMA L5-50R" - - PowerOutletTemplateTypeLabelNEMAL615R PowerOutletTemplateTypeLabel = "NEMA L6-15R" - - PowerOutletTemplateTypeLabelNEMAL620R PowerOutletTemplateTypeLabel = "NEMA L6-20R" - - PowerOutletTemplateTypeLabelNEMAL630R PowerOutletTemplateTypeLabel = "NEMA L6-30R" - - PowerOutletTemplateTypeLabelNEMAL650R PowerOutletTemplateTypeLabel = "NEMA L6-50R" - - PowerOutletTemplateTypeLabelPNE4H PowerOutletTemplateTypeLabel = "P+N+E 4H" - - PowerOutletTemplateTypeLabelPNE6H PowerOutletTemplateTypeLabel = "P+N+E 6H" - - PowerOutletTemplateTypeLabelPNE9H PowerOutletTemplateTypeLabel = "P+N+E 9H" - - PowerOutletTemplateTypeLabelUSBMicroB PowerOutletTemplateTypeLabel = "USB Micro B" - - PowerOutletTemplateTypeLabelUSBTypeA PowerOutletTemplateTypeLabel = "USB Type A" - - PowerOutletTemplateTypeLabelUSBTypeC PowerOutletTemplateTypeLabel = "USB Type C" + PowerOutletTemplateTypeLabelITATypeMBS546 PowerOutletTemplateTypeLabel = "ITA Type M (BS 546)" + PowerOutletTemplateTypeLabelITATypeN PowerOutletTemplateTypeLabel = "ITA Type N" + PowerOutletTemplateTypeLabelITATypeO PowerOutletTemplateTypeLabel = "ITA Type O" + PowerOutletTemplateTypeLabelN2PE4H PowerOutletTemplateTypeLabel = "2P+E 4H" + PowerOutletTemplateTypeLabelN2PE6H PowerOutletTemplateTypeLabel = "2P+E 6H" + PowerOutletTemplateTypeLabelN2PE9H PowerOutletTemplateTypeLabel = "2P+E 9H" + PowerOutletTemplateTypeLabelN3PE4H PowerOutletTemplateTypeLabel = "3P+E 4H" + PowerOutletTemplateTypeLabelN3PE6H PowerOutletTemplateTypeLabel = "3P+E 6H" + PowerOutletTemplateTypeLabelN3PE9H PowerOutletTemplateTypeLabel = "3P+E 9H" + PowerOutletTemplateTypeLabelN3PNE4H PowerOutletTemplateTypeLabel = "3P+N+E 4H" + PowerOutletTemplateTypeLabelN3PNE6H PowerOutletTemplateTypeLabel = "3P+N+E 6H" + PowerOutletTemplateTypeLabelN3PNE9H PowerOutletTemplateTypeLabel = "3P+N+E 9H" + PowerOutletTemplateTypeLabelNEMA1030R PowerOutletTemplateTypeLabel = "NEMA 10-30R" + PowerOutletTemplateTypeLabelNEMA1050R PowerOutletTemplateTypeLabel = "NEMA 10-50R" + PowerOutletTemplateTypeLabelNEMA115R PowerOutletTemplateTypeLabel = "NEMA 1-15R" + PowerOutletTemplateTypeLabelNEMA1420R PowerOutletTemplateTypeLabel = "NEMA 14-20R" + PowerOutletTemplateTypeLabelNEMA1430R PowerOutletTemplateTypeLabel = "NEMA 14-30R" + PowerOutletTemplateTypeLabelNEMA1450R PowerOutletTemplateTypeLabel = "NEMA 14-50R" + PowerOutletTemplateTypeLabelNEMA1460R PowerOutletTemplateTypeLabel = "NEMA 14-60R" + PowerOutletTemplateTypeLabelNEMA1515R PowerOutletTemplateTypeLabel = "NEMA 15-15R" + PowerOutletTemplateTypeLabelNEMA1520R PowerOutletTemplateTypeLabel = "NEMA 15-20R" + PowerOutletTemplateTypeLabelNEMA1530R PowerOutletTemplateTypeLabel = "NEMA 15-30R" + PowerOutletTemplateTypeLabelNEMA1550R PowerOutletTemplateTypeLabel = "NEMA 15-50R" + PowerOutletTemplateTypeLabelNEMA1560R PowerOutletTemplateTypeLabel = "NEMA 15-60R" + PowerOutletTemplateTypeLabelNEMA515R PowerOutletTemplateTypeLabel = "NEMA 5-15R" + PowerOutletTemplateTypeLabelNEMA520R PowerOutletTemplateTypeLabel = "NEMA 5-20R" + PowerOutletTemplateTypeLabelNEMA530R PowerOutletTemplateTypeLabel = "NEMA 5-30R" + PowerOutletTemplateTypeLabelNEMA550R PowerOutletTemplateTypeLabel = "NEMA 5-50R" + PowerOutletTemplateTypeLabelNEMA615R PowerOutletTemplateTypeLabel = "NEMA 6-15R" + PowerOutletTemplateTypeLabelNEMA620R PowerOutletTemplateTypeLabel = "NEMA 6-20R" + PowerOutletTemplateTypeLabelNEMA630R PowerOutletTemplateTypeLabel = "NEMA 6-30R" + PowerOutletTemplateTypeLabelNEMA650R PowerOutletTemplateTypeLabel = "NEMA 6-50R" + PowerOutletTemplateTypeLabelNEMAL1030R PowerOutletTemplateTypeLabel = "NEMA L10-30R" + PowerOutletTemplateTypeLabelNEMAL115R PowerOutletTemplateTypeLabel = "NEMA L1-15R" + PowerOutletTemplateTypeLabelNEMAL1420R PowerOutletTemplateTypeLabel = "NEMA L14-20R" + PowerOutletTemplateTypeLabelNEMAL1430R PowerOutletTemplateTypeLabel = "NEMA L14-30R" + PowerOutletTemplateTypeLabelNEMAL1450R PowerOutletTemplateTypeLabel = "NEMA L14-50R" + PowerOutletTemplateTypeLabelNEMAL1460R PowerOutletTemplateTypeLabel = "NEMA L14-60R" + PowerOutletTemplateTypeLabelNEMAL1520R PowerOutletTemplateTypeLabel = "NEMA L15-20R" + PowerOutletTemplateTypeLabelNEMAL1530R PowerOutletTemplateTypeLabel = "NEMA L15-30R" + PowerOutletTemplateTypeLabelNEMAL1550R PowerOutletTemplateTypeLabel = "NEMA L15-50R" + PowerOutletTemplateTypeLabelNEMAL1560R PowerOutletTemplateTypeLabel = "NEMA L15-60R" + PowerOutletTemplateTypeLabelNEMAL2120R PowerOutletTemplateTypeLabel = "NEMA L21-20R" + PowerOutletTemplateTypeLabelNEMAL2130R PowerOutletTemplateTypeLabel = "NEMA L21-30R" + PowerOutletTemplateTypeLabelNEMAL515R PowerOutletTemplateTypeLabel = "NEMA L5-15R" + PowerOutletTemplateTypeLabelNEMAL520R PowerOutletTemplateTypeLabel = "NEMA L5-20R" + PowerOutletTemplateTypeLabelNEMAL530R PowerOutletTemplateTypeLabel = "NEMA L5-30R" + PowerOutletTemplateTypeLabelNEMAL550R PowerOutletTemplateTypeLabel = "NEMA L5-50R" + PowerOutletTemplateTypeLabelNEMAL615R PowerOutletTemplateTypeLabel = "NEMA L6-15R" + PowerOutletTemplateTypeLabelNEMAL620R PowerOutletTemplateTypeLabel = "NEMA L6-20R" + PowerOutletTemplateTypeLabelNEMAL630R PowerOutletTemplateTypeLabel = "NEMA L6-30R" + PowerOutletTemplateTypeLabelNEMAL650R PowerOutletTemplateTypeLabel = "NEMA L6-50R" + PowerOutletTemplateTypeLabelPNE4H PowerOutletTemplateTypeLabel = "P+N+E 4H" + PowerOutletTemplateTypeLabelPNE6H PowerOutletTemplateTypeLabel = "P+N+E 6H" + PowerOutletTemplateTypeLabelPNE9H PowerOutletTemplateTypeLabel = "P+N+E 9H" + PowerOutletTemplateTypeLabelUSBMicroB PowerOutletTemplateTypeLabel = "USB Micro B" + PowerOutletTemplateTypeLabelUSBTypeA PowerOutletTemplateTypeLabel = "USB Type A" + PowerOutletTemplateTypeLabelUSBTypeC PowerOutletTemplateTypeLabel = "USB Type C" ) // Defines values for PowerOutletTemplateTypeValue. const ( - PowerOutletTemplateTypeValueCS6360C PowerOutletTemplateTypeValue = "CS6360C" - - PowerOutletTemplateTypeValueCS6364C PowerOutletTemplateTypeValue = "CS6364C" - - PowerOutletTemplateTypeValueCS8164C PowerOutletTemplateTypeValue = "CS8164C" - - PowerOutletTemplateTypeValueCS8264C PowerOutletTemplateTypeValue = "CS8264C" - - PowerOutletTemplateTypeValueCS8364C PowerOutletTemplateTypeValue = "CS8364C" - - PowerOutletTemplateTypeValueCS8464C PowerOutletTemplateTypeValue = "CS8464C" - - PowerOutletTemplateTypeValueHdotCx PowerOutletTemplateTypeValue = "hdot-cx" - - PowerOutletTemplateTypeValueIec603092pE4h PowerOutletTemplateTypeValue = "iec-60309-2p-e-4h" - - PowerOutletTemplateTypeValueIec603092pE6h PowerOutletTemplateTypeValue = "iec-60309-2p-e-6h" - - PowerOutletTemplateTypeValueIec603092pE9h PowerOutletTemplateTypeValue = "iec-60309-2p-e-9h" - - PowerOutletTemplateTypeValueIec603093pE4h PowerOutletTemplateTypeValue = "iec-60309-3p-e-4h" - - PowerOutletTemplateTypeValueIec603093pE6h PowerOutletTemplateTypeValue = "iec-60309-3p-e-6h" - - PowerOutletTemplateTypeValueIec603093pE9h PowerOutletTemplateTypeValue = "iec-60309-3p-e-9h" - + PowerOutletTemplateTypeValueCS6360C PowerOutletTemplateTypeValue = "CS6360C" + PowerOutletTemplateTypeValueCS6364C PowerOutletTemplateTypeValue = "CS6364C" + PowerOutletTemplateTypeValueCS8164C PowerOutletTemplateTypeValue = "CS8164C" + PowerOutletTemplateTypeValueCS8264C PowerOutletTemplateTypeValue = "CS8264C" + PowerOutletTemplateTypeValueCS8364C PowerOutletTemplateTypeValue = "CS8364C" + PowerOutletTemplateTypeValueCS8464C PowerOutletTemplateTypeValue = "CS8464C" + PowerOutletTemplateTypeValueHdotCx PowerOutletTemplateTypeValue = "hdot-cx" + PowerOutletTemplateTypeValueIec603092pE4h PowerOutletTemplateTypeValue = "iec-60309-2p-e-4h" + PowerOutletTemplateTypeValueIec603092pE6h PowerOutletTemplateTypeValue = "iec-60309-2p-e-6h" + PowerOutletTemplateTypeValueIec603092pE9h PowerOutletTemplateTypeValue = "iec-60309-2p-e-9h" + PowerOutletTemplateTypeValueIec603093pE4h PowerOutletTemplateTypeValue = "iec-60309-3p-e-4h" + PowerOutletTemplateTypeValueIec603093pE6h PowerOutletTemplateTypeValue = "iec-60309-3p-e-6h" + PowerOutletTemplateTypeValueIec603093pE9h PowerOutletTemplateTypeValue = "iec-60309-3p-e-9h" PowerOutletTemplateTypeValueIec603093pNE4h PowerOutletTemplateTypeValue = "iec-60309-3p-n-e-4h" - PowerOutletTemplateTypeValueIec603093pNE6h PowerOutletTemplateTypeValue = "iec-60309-3p-n-e-6h" - PowerOutletTemplateTypeValueIec603093pNE9h PowerOutletTemplateTypeValue = "iec-60309-3p-n-e-9h" - - PowerOutletTemplateTypeValueIec60309PNE4h PowerOutletTemplateTypeValue = "iec-60309-p-n-e-4h" - - PowerOutletTemplateTypeValueIec60309PNE6h PowerOutletTemplateTypeValue = "iec-60309-p-n-e-6h" - - PowerOutletTemplateTypeValueIec60309PNE9h PowerOutletTemplateTypeValue = "iec-60309-p-n-e-9h" - - PowerOutletTemplateTypeValueIec60320C13 PowerOutletTemplateTypeValue = "iec-60320-c13" - - PowerOutletTemplateTypeValueIec60320C15 PowerOutletTemplateTypeValue = "iec-60320-c15" - - PowerOutletTemplateTypeValueIec60320C19 PowerOutletTemplateTypeValue = "iec-60320-c19" - - PowerOutletTemplateTypeValueIec60320C5 PowerOutletTemplateTypeValue = "iec-60320-c5" - - PowerOutletTemplateTypeValueIec60320C7 PowerOutletTemplateTypeValue = "iec-60320-c7" - - PowerOutletTemplateTypeValueItaE PowerOutletTemplateTypeValue = "ita-e" - - PowerOutletTemplateTypeValueItaF PowerOutletTemplateTypeValue = "ita-f" - - PowerOutletTemplateTypeValueItaG PowerOutletTemplateTypeValue = "ita-g" - - PowerOutletTemplateTypeValueItaH PowerOutletTemplateTypeValue = "ita-h" - - PowerOutletTemplateTypeValueItaI PowerOutletTemplateTypeValue = "ita-i" - - PowerOutletTemplateTypeValueItaJ PowerOutletTemplateTypeValue = "ita-j" - - PowerOutletTemplateTypeValueItaK PowerOutletTemplateTypeValue = "ita-k" - - PowerOutletTemplateTypeValueItaL PowerOutletTemplateTypeValue = "ita-l" - - PowerOutletTemplateTypeValueItaM PowerOutletTemplateTypeValue = "ita-m" - - PowerOutletTemplateTypeValueItaN PowerOutletTemplateTypeValue = "ita-n" - - PowerOutletTemplateTypeValueItaO PowerOutletTemplateTypeValue = "ita-o" - - PowerOutletTemplateTypeValueNema1030r PowerOutletTemplateTypeValue = "nema-10-30r" - - PowerOutletTemplateTypeValueNema1050r PowerOutletTemplateTypeValue = "nema-10-50r" - - PowerOutletTemplateTypeValueNema115r PowerOutletTemplateTypeValue = "nema-1-15r" - - PowerOutletTemplateTypeValueNema1420r PowerOutletTemplateTypeValue = "nema-14-20r" - - PowerOutletTemplateTypeValueNema1430r PowerOutletTemplateTypeValue = "nema-14-30r" - - PowerOutletTemplateTypeValueNema1450r PowerOutletTemplateTypeValue = "nema-14-50r" - - PowerOutletTemplateTypeValueNema1460r PowerOutletTemplateTypeValue = "nema-14-60r" - - PowerOutletTemplateTypeValueNema1515r PowerOutletTemplateTypeValue = "nema-15-15r" - - PowerOutletTemplateTypeValueNema1520r PowerOutletTemplateTypeValue = "nema-15-20r" - - PowerOutletTemplateTypeValueNema1530r PowerOutletTemplateTypeValue = "nema-15-30r" - - PowerOutletTemplateTypeValueNema1550r PowerOutletTemplateTypeValue = "nema-15-50r" - - PowerOutletTemplateTypeValueNema1560r PowerOutletTemplateTypeValue = "nema-15-60r" - - PowerOutletTemplateTypeValueNema515r PowerOutletTemplateTypeValue = "nema-5-15r" - - PowerOutletTemplateTypeValueNema520r PowerOutletTemplateTypeValue = "nema-5-20r" - - PowerOutletTemplateTypeValueNema530r PowerOutletTemplateTypeValue = "nema-5-30r" - - PowerOutletTemplateTypeValueNema550r PowerOutletTemplateTypeValue = "nema-5-50r" - - PowerOutletTemplateTypeValueNema615r PowerOutletTemplateTypeValue = "nema-6-15r" - - PowerOutletTemplateTypeValueNema620r PowerOutletTemplateTypeValue = "nema-6-20r" - - PowerOutletTemplateTypeValueNema630r PowerOutletTemplateTypeValue = "nema-6-30r" - - PowerOutletTemplateTypeValueNema650r PowerOutletTemplateTypeValue = "nema-6-50r" - - PowerOutletTemplateTypeValueNemaL1030r PowerOutletTemplateTypeValue = "nema-l10-30r" - - PowerOutletTemplateTypeValueNemaL115r PowerOutletTemplateTypeValue = "nema-l1-15r" - - PowerOutletTemplateTypeValueNemaL1420r PowerOutletTemplateTypeValue = "nema-l14-20r" - - PowerOutletTemplateTypeValueNemaL1430r PowerOutletTemplateTypeValue = "nema-l14-30r" - - PowerOutletTemplateTypeValueNemaL1450r PowerOutletTemplateTypeValue = "nema-l14-50r" - - PowerOutletTemplateTypeValueNemaL1460r PowerOutletTemplateTypeValue = "nema-l14-60r" - - PowerOutletTemplateTypeValueNemaL1520r PowerOutletTemplateTypeValue = "nema-l15-20r" - - PowerOutletTemplateTypeValueNemaL1530r PowerOutletTemplateTypeValue = "nema-l15-30r" - - PowerOutletTemplateTypeValueNemaL1550r PowerOutletTemplateTypeValue = "nema-l15-50r" - - PowerOutletTemplateTypeValueNemaL1560r PowerOutletTemplateTypeValue = "nema-l15-60r" - - PowerOutletTemplateTypeValueNemaL2120r PowerOutletTemplateTypeValue = "nema-l21-20r" - - PowerOutletTemplateTypeValueNemaL2130r PowerOutletTemplateTypeValue = "nema-l21-30r" - - PowerOutletTemplateTypeValueNemaL515r PowerOutletTemplateTypeValue = "nema-l5-15r" - - PowerOutletTemplateTypeValueNemaL520r PowerOutletTemplateTypeValue = "nema-l5-20r" - - PowerOutletTemplateTypeValueNemaL530r PowerOutletTemplateTypeValue = "nema-l5-30r" - - PowerOutletTemplateTypeValueNemaL550r PowerOutletTemplateTypeValue = "nema-l5-50r" - - PowerOutletTemplateTypeValueNemaL615r PowerOutletTemplateTypeValue = "nema-l6-15r" - - PowerOutletTemplateTypeValueNemaL620r PowerOutletTemplateTypeValue = "nema-l6-20r" - - PowerOutletTemplateTypeValueNemaL630r PowerOutletTemplateTypeValue = "nema-l6-30r" - - PowerOutletTemplateTypeValueNemaL650r PowerOutletTemplateTypeValue = "nema-l6-50r" - - PowerOutletTemplateTypeValueUsbA PowerOutletTemplateTypeValue = "usb-a" - - PowerOutletTemplateTypeValueUsbC PowerOutletTemplateTypeValue = "usb-c" - - PowerOutletTemplateTypeValueUsbMicroB PowerOutletTemplateTypeValue = "usb-micro-b" + PowerOutletTemplateTypeValueIec60309PNE4h PowerOutletTemplateTypeValue = "iec-60309-p-n-e-4h" + PowerOutletTemplateTypeValueIec60309PNE6h PowerOutletTemplateTypeValue = "iec-60309-p-n-e-6h" + PowerOutletTemplateTypeValueIec60309PNE9h PowerOutletTemplateTypeValue = "iec-60309-p-n-e-9h" + PowerOutletTemplateTypeValueIec60320C13 PowerOutletTemplateTypeValue = "iec-60320-c13" + PowerOutletTemplateTypeValueIec60320C15 PowerOutletTemplateTypeValue = "iec-60320-c15" + PowerOutletTemplateTypeValueIec60320C19 PowerOutletTemplateTypeValue = "iec-60320-c19" + PowerOutletTemplateTypeValueIec60320C5 PowerOutletTemplateTypeValue = "iec-60320-c5" + PowerOutletTemplateTypeValueIec60320C7 PowerOutletTemplateTypeValue = "iec-60320-c7" + PowerOutletTemplateTypeValueItaE PowerOutletTemplateTypeValue = "ita-e" + PowerOutletTemplateTypeValueItaF PowerOutletTemplateTypeValue = "ita-f" + PowerOutletTemplateTypeValueItaG PowerOutletTemplateTypeValue = "ita-g" + PowerOutletTemplateTypeValueItaH PowerOutletTemplateTypeValue = "ita-h" + PowerOutletTemplateTypeValueItaI PowerOutletTemplateTypeValue = "ita-i" + PowerOutletTemplateTypeValueItaJ PowerOutletTemplateTypeValue = "ita-j" + PowerOutletTemplateTypeValueItaK PowerOutletTemplateTypeValue = "ita-k" + PowerOutletTemplateTypeValueItaL PowerOutletTemplateTypeValue = "ita-l" + PowerOutletTemplateTypeValueItaM PowerOutletTemplateTypeValue = "ita-m" + PowerOutletTemplateTypeValueItaN PowerOutletTemplateTypeValue = "ita-n" + PowerOutletTemplateTypeValueItaO PowerOutletTemplateTypeValue = "ita-o" + PowerOutletTemplateTypeValueNema1030r PowerOutletTemplateTypeValue = "nema-10-30r" + PowerOutletTemplateTypeValueNema1050r PowerOutletTemplateTypeValue = "nema-10-50r" + PowerOutletTemplateTypeValueNema115r PowerOutletTemplateTypeValue = "nema-1-15r" + PowerOutletTemplateTypeValueNema1420r PowerOutletTemplateTypeValue = "nema-14-20r" + PowerOutletTemplateTypeValueNema1430r PowerOutletTemplateTypeValue = "nema-14-30r" + PowerOutletTemplateTypeValueNema1450r PowerOutletTemplateTypeValue = "nema-14-50r" + PowerOutletTemplateTypeValueNema1460r PowerOutletTemplateTypeValue = "nema-14-60r" + PowerOutletTemplateTypeValueNema1515r PowerOutletTemplateTypeValue = "nema-15-15r" + PowerOutletTemplateTypeValueNema1520r PowerOutletTemplateTypeValue = "nema-15-20r" + PowerOutletTemplateTypeValueNema1530r PowerOutletTemplateTypeValue = "nema-15-30r" + PowerOutletTemplateTypeValueNema1550r PowerOutletTemplateTypeValue = "nema-15-50r" + PowerOutletTemplateTypeValueNema1560r PowerOutletTemplateTypeValue = "nema-15-60r" + PowerOutletTemplateTypeValueNema515r PowerOutletTemplateTypeValue = "nema-5-15r" + PowerOutletTemplateTypeValueNema520r PowerOutletTemplateTypeValue = "nema-5-20r" + PowerOutletTemplateTypeValueNema530r PowerOutletTemplateTypeValue = "nema-5-30r" + PowerOutletTemplateTypeValueNema550r PowerOutletTemplateTypeValue = "nema-5-50r" + PowerOutletTemplateTypeValueNema615r PowerOutletTemplateTypeValue = "nema-6-15r" + PowerOutletTemplateTypeValueNema620r PowerOutletTemplateTypeValue = "nema-6-20r" + PowerOutletTemplateTypeValueNema630r PowerOutletTemplateTypeValue = "nema-6-30r" + PowerOutletTemplateTypeValueNema650r PowerOutletTemplateTypeValue = "nema-6-50r" + PowerOutletTemplateTypeValueNemaL1030r PowerOutletTemplateTypeValue = "nema-l10-30r" + PowerOutletTemplateTypeValueNemaL115r PowerOutletTemplateTypeValue = "nema-l1-15r" + PowerOutletTemplateTypeValueNemaL1420r PowerOutletTemplateTypeValue = "nema-l14-20r" + PowerOutletTemplateTypeValueNemaL1430r PowerOutletTemplateTypeValue = "nema-l14-30r" + PowerOutletTemplateTypeValueNemaL1450r PowerOutletTemplateTypeValue = "nema-l14-50r" + PowerOutletTemplateTypeValueNemaL1460r PowerOutletTemplateTypeValue = "nema-l14-60r" + PowerOutletTemplateTypeValueNemaL1520r PowerOutletTemplateTypeValue = "nema-l15-20r" + PowerOutletTemplateTypeValueNemaL1530r PowerOutletTemplateTypeValue = "nema-l15-30r" + PowerOutletTemplateTypeValueNemaL1550r PowerOutletTemplateTypeValue = "nema-l15-50r" + PowerOutletTemplateTypeValueNemaL1560r PowerOutletTemplateTypeValue = "nema-l15-60r" + PowerOutletTemplateTypeValueNemaL2120r PowerOutletTemplateTypeValue = "nema-l21-20r" + PowerOutletTemplateTypeValueNemaL2130r PowerOutletTemplateTypeValue = "nema-l21-30r" + PowerOutletTemplateTypeValueNemaL515r PowerOutletTemplateTypeValue = "nema-l5-15r" + PowerOutletTemplateTypeValueNemaL520r PowerOutletTemplateTypeValue = "nema-l5-20r" + PowerOutletTemplateTypeValueNemaL530r PowerOutletTemplateTypeValue = "nema-l5-30r" + PowerOutletTemplateTypeValueNemaL550r PowerOutletTemplateTypeValue = "nema-l5-50r" + PowerOutletTemplateTypeValueNemaL615r PowerOutletTemplateTypeValue = "nema-l6-15r" + PowerOutletTemplateTypeValueNemaL620r PowerOutletTemplateTypeValue = "nema-l6-20r" + PowerOutletTemplateTypeValueNemaL630r PowerOutletTemplateTypeValue = "nema-l6-30r" + PowerOutletTemplateTypeValueNemaL650r PowerOutletTemplateTypeValue = "nema-l6-50r" + PowerOutletTemplateTypeValueUsbA PowerOutletTemplateTypeValue = "usb-a" + PowerOutletTemplateTypeValueUsbC PowerOutletTemplateTypeValue = "usb-c" + PowerOutletTemplateTypeValueUsbMicroB PowerOutletTemplateTypeValue = "usb-micro-b" ) // Defines values for PowerOutletTypeChoices. const ( - PowerOutletTypeChoicesCS6360C PowerOutletTypeChoices = "CS6360C" - - PowerOutletTypeChoicesCS6364C PowerOutletTypeChoices = "CS6364C" - - PowerOutletTypeChoicesCS8164C PowerOutletTypeChoices = "CS8164C" - - PowerOutletTypeChoicesCS8264C PowerOutletTypeChoices = "CS8264C" - - PowerOutletTypeChoicesCS8364C PowerOutletTypeChoices = "CS8364C" - - PowerOutletTypeChoicesCS8464C PowerOutletTypeChoices = "CS8464C" - - PowerOutletTypeChoicesHdotCx PowerOutletTypeChoices = "hdot-cx" - - PowerOutletTypeChoicesIec603092pE4h PowerOutletTypeChoices = "iec-60309-2p-e-4h" - - PowerOutletTypeChoicesIec603092pE6h PowerOutletTypeChoices = "iec-60309-2p-e-6h" - - PowerOutletTypeChoicesIec603092pE9h PowerOutletTypeChoices = "iec-60309-2p-e-9h" - - PowerOutletTypeChoicesIec603093pE4h PowerOutletTypeChoices = "iec-60309-3p-e-4h" - - PowerOutletTypeChoicesIec603093pE6h PowerOutletTypeChoices = "iec-60309-3p-e-6h" - - PowerOutletTypeChoicesIec603093pE9h PowerOutletTypeChoices = "iec-60309-3p-e-9h" - + PowerOutletTypeChoicesCS6360C PowerOutletTypeChoices = "CS6360C" + PowerOutletTypeChoicesCS6364C PowerOutletTypeChoices = "CS6364C" + PowerOutletTypeChoicesCS8164C PowerOutletTypeChoices = "CS8164C" + PowerOutletTypeChoicesCS8264C PowerOutletTypeChoices = "CS8264C" + PowerOutletTypeChoicesCS8364C PowerOutletTypeChoices = "CS8364C" + PowerOutletTypeChoicesCS8464C PowerOutletTypeChoices = "CS8464C" + PowerOutletTypeChoicesHdotCx PowerOutletTypeChoices = "hdot-cx" + PowerOutletTypeChoicesIec603092pE4h PowerOutletTypeChoices = "iec-60309-2p-e-4h" + PowerOutletTypeChoicesIec603092pE6h PowerOutletTypeChoices = "iec-60309-2p-e-6h" + PowerOutletTypeChoicesIec603092pE9h PowerOutletTypeChoices = "iec-60309-2p-e-9h" + PowerOutletTypeChoicesIec603093pE4h PowerOutletTypeChoices = "iec-60309-3p-e-4h" + PowerOutletTypeChoicesIec603093pE6h PowerOutletTypeChoices = "iec-60309-3p-e-6h" + PowerOutletTypeChoicesIec603093pE9h PowerOutletTypeChoices = "iec-60309-3p-e-9h" PowerOutletTypeChoicesIec603093pNE4h PowerOutletTypeChoices = "iec-60309-3p-n-e-4h" - PowerOutletTypeChoicesIec603093pNE6h PowerOutletTypeChoices = "iec-60309-3p-n-e-6h" - PowerOutletTypeChoicesIec603093pNE9h PowerOutletTypeChoices = "iec-60309-3p-n-e-9h" - - PowerOutletTypeChoicesIec60309PNE4h PowerOutletTypeChoices = "iec-60309-p-n-e-4h" - - PowerOutletTypeChoicesIec60309PNE6h PowerOutletTypeChoices = "iec-60309-p-n-e-6h" - - PowerOutletTypeChoicesIec60309PNE9h PowerOutletTypeChoices = "iec-60309-p-n-e-9h" - - PowerOutletTypeChoicesIec60320C13 PowerOutletTypeChoices = "iec-60320-c13" - - PowerOutletTypeChoicesIec60320C15 PowerOutletTypeChoices = "iec-60320-c15" - - PowerOutletTypeChoicesIec60320C19 PowerOutletTypeChoices = "iec-60320-c19" - - PowerOutletTypeChoicesIec60320C5 PowerOutletTypeChoices = "iec-60320-c5" - - PowerOutletTypeChoicesIec60320C7 PowerOutletTypeChoices = "iec-60320-c7" - - PowerOutletTypeChoicesItaE PowerOutletTypeChoices = "ita-e" - - PowerOutletTypeChoicesItaF PowerOutletTypeChoices = "ita-f" - - PowerOutletTypeChoicesItaG PowerOutletTypeChoices = "ita-g" - - PowerOutletTypeChoicesItaH PowerOutletTypeChoices = "ita-h" - - PowerOutletTypeChoicesItaI PowerOutletTypeChoices = "ita-i" - - PowerOutletTypeChoicesItaJ PowerOutletTypeChoices = "ita-j" - - PowerOutletTypeChoicesItaK PowerOutletTypeChoices = "ita-k" - - PowerOutletTypeChoicesItaL PowerOutletTypeChoices = "ita-l" - - PowerOutletTypeChoicesItaM PowerOutletTypeChoices = "ita-m" - - PowerOutletTypeChoicesItaN PowerOutletTypeChoices = "ita-n" - - PowerOutletTypeChoicesItaO PowerOutletTypeChoices = "ita-o" - - PowerOutletTypeChoicesNema1030r PowerOutletTypeChoices = "nema-10-30r" - - PowerOutletTypeChoicesNema1050r PowerOutletTypeChoices = "nema-10-50r" - - PowerOutletTypeChoicesNema115r PowerOutletTypeChoices = "nema-1-15r" - - PowerOutletTypeChoicesNema1420r PowerOutletTypeChoices = "nema-14-20r" - - PowerOutletTypeChoicesNema1430r PowerOutletTypeChoices = "nema-14-30r" - - PowerOutletTypeChoicesNema1450r PowerOutletTypeChoices = "nema-14-50r" - - PowerOutletTypeChoicesNema1460r PowerOutletTypeChoices = "nema-14-60r" - - PowerOutletTypeChoicesNema1515r PowerOutletTypeChoices = "nema-15-15r" - - PowerOutletTypeChoicesNema1520r PowerOutletTypeChoices = "nema-15-20r" - - PowerOutletTypeChoicesNema1530r PowerOutletTypeChoices = "nema-15-30r" - - PowerOutletTypeChoicesNema1550r PowerOutletTypeChoices = "nema-15-50r" - - PowerOutletTypeChoicesNema1560r PowerOutletTypeChoices = "nema-15-60r" - - PowerOutletTypeChoicesNema515r PowerOutletTypeChoices = "nema-5-15r" - - PowerOutletTypeChoicesNema520r PowerOutletTypeChoices = "nema-5-20r" - - PowerOutletTypeChoicesNema530r PowerOutletTypeChoices = "nema-5-30r" - - PowerOutletTypeChoicesNema550r PowerOutletTypeChoices = "nema-5-50r" - - PowerOutletTypeChoicesNema615r PowerOutletTypeChoices = "nema-6-15r" - - PowerOutletTypeChoicesNema620r PowerOutletTypeChoices = "nema-6-20r" - - PowerOutletTypeChoicesNema630r PowerOutletTypeChoices = "nema-6-30r" - - PowerOutletTypeChoicesNema650r PowerOutletTypeChoices = "nema-6-50r" - - PowerOutletTypeChoicesNemaL1030r PowerOutletTypeChoices = "nema-l10-30r" - - PowerOutletTypeChoicesNemaL115r PowerOutletTypeChoices = "nema-l1-15r" - - PowerOutletTypeChoicesNemaL1420r PowerOutletTypeChoices = "nema-l14-20r" - - PowerOutletTypeChoicesNemaL1430r PowerOutletTypeChoices = "nema-l14-30r" - - PowerOutletTypeChoicesNemaL1450r PowerOutletTypeChoices = "nema-l14-50r" - - PowerOutletTypeChoicesNemaL1460r PowerOutletTypeChoices = "nema-l14-60r" - - PowerOutletTypeChoicesNemaL1520r PowerOutletTypeChoices = "nema-l15-20r" - - PowerOutletTypeChoicesNemaL1530r PowerOutletTypeChoices = "nema-l15-30r" - - PowerOutletTypeChoicesNemaL1550r PowerOutletTypeChoices = "nema-l15-50r" - - PowerOutletTypeChoicesNemaL1560r PowerOutletTypeChoices = "nema-l15-60r" - - PowerOutletTypeChoicesNemaL2120r PowerOutletTypeChoices = "nema-l21-20r" - - PowerOutletTypeChoicesNemaL2130r PowerOutletTypeChoices = "nema-l21-30r" - - PowerOutletTypeChoicesNemaL515r PowerOutletTypeChoices = "nema-l5-15r" - - PowerOutletTypeChoicesNemaL520r PowerOutletTypeChoices = "nema-l5-20r" - - PowerOutletTypeChoicesNemaL530r PowerOutletTypeChoices = "nema-l5-30r" - - PowerOutletTypeChoicesNemaL550r PowerOutletTypeChoices = "nema-l5-50r" - - PowerOutletTypeChoicesNemaL615r PowerOutletTypeChoices = "nema-l6-15r" - - PowerOutletTypeChoicesNemaL620r PowerOutletTypeChoices = "nema-l6-20r" - - PowerOutletTypeChoicesNemaL630r PowerOutletTypeChoices = "nema-l6-30r" - - PowerOutletTypeChoicesNemaL650r PowerOutletTypeChoices = "nema-l6-50r" - - PowerOutletTypeChoicesUsbA PowerOutletTypeChoices = "usb-a" - - PowerOutletTypeChoicesUsbC PowerOutletTypeChoices = "usb-c" - - PowerOutletTypeChoicesUsbMicroB PowerOutletTypeChoices = "usb-micro-b" + PowerOutletTypeChoicesIec60309PNE4h PowerOutletTypeChoices = "iec-60309-p-n-e-4h" + PowerOutletTypeChoicesIec60309PNE6h PowerOutletTypeChoices = "iec-60309-p-n-e-6h" + PowerOutletTypeChoicesIec60309PNE9h PowerOutletTypeChoices = "iec-60309-p-n-e-9h" + PowerOutletTypeChoicesIec60320C13 PowerOutletTypeChoices = "iec-60320-c13" + PowerOutletTypeChoicesIec60320C15 PowerOutletTypeChoices = "iec-60320-c15" + PowerOutletTypeChoicesIec60320C19 PowerOutletTypeChoices = "iec-60320-c19" + PowerOutletTypeChoicesIec60320C5 PowerOutletTypeChoices = "iec-60320-c5" + PowerOutletTypeChoicesIec60320C7 PowerOutletTypeChoices = "iec-60320-c7" + PowerOutletTypeChoicesItaE PowerOutletTypeChoices = "ita-e" + PowerOutletTypeChoicesItaF PowerOutletTypeChoices = "ita-f" + PowerOutletTypeChoicesItaG PowerOutletTypeChoices = "ita-g" + PowerOutletTypeChoicesItaH PowerOutletTypeChoices = "ita-h" + PowerOutletTypeChoicesItaI PowerOutletTypeChoices = "ita-i" + PowerOutletTypeChoicesItaJ PowerOutletTypeChoices = "ita-j" + PowerOutletTypeChoicesItaK PowerOutletTypeChoices = "ita-k" + PowerOutletTypeChoicesItaL PowerOutletTypeChoices = "ita-l" + PowerOutletTypeChoicesItaM PowerOutletTypeChoices = "ita-m" + PowerOutletTypeChoicesItaN PowerOutletTypeChoices = "ita-n" + PowerOutletTypeChoicesItaO PowerOutletTypeChoices = "ita-o" + PowerOutletTypeChoicesNema1030r PowerOutletTypeChoices = "nema-10-30r" + PowerOutletTypeChoicesNema1050r PowerOutletTypeChoices = "nema-10-50r" + PowerOutletTypeChoicesNema115r PowerOutletTypeChoices = "nema-1-15r" + PowerOutletTypeChoicesNema1420r PowerOutletTypeChoices = "nema-14-20r" + PowerOutletTypeChoicesNema1430r PowerOutletTypeChoices = "nema-14-30r" + PowerOutletTypeChoicesNema1450r PowerOutletTypeChoices = "nema-14-50r" + PowerOutletTypeChoicesNema1460r PowerOutletTypeChoices = "nema-14-60r" + PowerOutletTypeChoicesNema1515r PowerOutletTypeChoices = "nema-15-15r" + PowerOutletTypeChoicesNema1520r PowerOutletTypeChoices = "nema-15-20r" + PowerOutletTypeChoicesNema1530r PowerOutletTypeChoices = "nema-15-30r" + PowerOutletTypeChoicesNema1550r PowerOutletTypeChoices = "nema-15-50r" + PowerOutletTypeChoicesNema1560r PowerOutletTypeChoices = "nema-15-60r" + PowerOutletTypeChoicesNema515r PowerOutletTypeChoices = "nema-5-15r" + PowerOutletTypeChoicesNema520r PowerOutletTypeChoices = "nema-5-20r" + PowerOutletTypeChoicesNema530r PowerOutletTypeChoices = "nema-5-30r" + PowerOutletTypeChoicesNema550r PowerOutletTypeChoices = "nema-5-50r" + PowerOutletTypeChoicesNema615r PowerOutletTypeChoices = "nema-6-15r" + PowerOutletTypeChoicesNema620r PowerOutletTypeChoices = "nema-6-20r" + PowerOutletTypeChoicesNema630r PowerOutletTypeChoices = "nema-6-30r" + PowerOutletTypeChoicesNema650r PowerOutletTypeChoices = "nema-6-50r" + PowerOutletTypeChoicesNemaL1030r PowerOutletTypeChoices = "nema-l10-30r" + PowerOutletTypeChoicesNemaL115r PowerOutletTypeChoices = "nema-l1-15r" + PowerOutletTypeChoicesNemaL1420r PowerOutletTypeChoices = "nema-l14-20r" + PowerOutletTypeChoicesNemaL1430r PowerOutletTypeChoices = "nema-l14-30r" + PowerOutletTypeChoicesNemaL1450r PowerOutletTypeChoices = "nema-l14-50r" + PowerOutletTypeChoicesNemaL1460r PowerOutletTypeChoices = "nema-l14-60r" + PowerOutletTypeChoicesNemaL1520r PowerOutletTypeChoices = "nema-l15-20r" + PowerOutletTypeChoicesNemaL1530r PowerOutletTypeChoices = "nema-l15-30r" + PowerOutletTypeChoicesNemaL1550r PowerOutletTypeChoices = "nema-l15-50r" + PowerOutletTypeChoicesNemaL1560r PowerOutletTypeChoices = "nema-l15-60r" + PowerOutletTypeChoicesNemaL2120r PowerOutletTypeChoices = "nema-l21-20r" + PowerOutletTypeChoicesNemaL2130r PowerOutletTypeChoices = "nema-l21-30r" + PowerOutletTypeChoicesNemaL515r PowerOutletTypeChoices = "nema-l5-15r" + PowerOutletTypeChoicesNemaL520r PowerOutletTypeChoices = "nema-l5-20r" + PowerOutletTypeChoicesNemaL530r PowerOutletTypeChoices = "nema-l5-30r" + PowerOutletTypeChoicesNemaL550r PowerOutletTypeChoices = "nema-l5-50r" + PowerOutletTypeChoicesNemaL615r PowerOutletTypeChoices = "nema-l6-15r" + PowerOutletTypeChoicesNemaL620r PowerOutletTypeChoices = "nema-l6-20r" + PowerOutletTypeChoicesNemaL630r PowerOutletTypeChoices = "nema-l6-30r" + PowerOutletTypeChoicesNemaL650r PowerOutletTypeChoices = "nema-l6-50r" + PowerOutletTypeChoicesUsbA PowerOutletTypeChoices = "usb-a" + PowerOutletTypeChoicesUsbC PowerOutletTypeChoices = "usb-c" + PowerOutletTypeChoicesUsbMicroB PowerOutletTypeChoices = "usb-micro-b" ) // Defines values for PowerPortTypeLabel. const ( - PowerPortTypeLabelC14 PowerPortTypeLabel = "C14" - - PowerPortTypeLabelC16 PowerPortTypeLabel = "C16" - - PowerPortTypeLabelC20 PowerPortTypeLabel = "C20" - - PowerPortTypeLabelC6 PowerPortTypeLabel = "C6" - - PowerPortTypeLabelC8 PowerPortTypeLabel = "C8" - - PowerPortTypeLabelCS6361C PowerPortTypeLabel = "CS6361C" - - PowerPortTypeLabelCS6365C PowerPortTypeLabel = "CS6365C" - - PowerPortTypeLabelCS8165C PowerPortTypeLabel = "CS8165C" - - PowerPortTypeLabelCS8265C PowerPortTypeLabel = "CS8265C" - - PowerPortTypeLabelCS8365C PowerPortTypeLabel = "CS8365C" - - PowerPortTypeLabelCS8465C PowerPortTypeLabel = "CS8465C" - - PowerPortTypeLabelITATypeECEE75 PowerPortTypeLabel = "ITA Type E (CEE 7/5)" - - PowerPortTypeLabelITATypeEFCEE77 PowerPortTypeLabel = "ITA Type E/F (CEE 7/7)" - - PowerPortTypeLabelITATypeFCEE74 PowerPortTypeLabel = "ITA Type F (CEE 7/4)" - - PowerPortTypeLabelITATypeGBS1363 PowerPortTypeLabel = "ITA Type G (BS 1363)" - - PowerPortTypeLabelITATypeH PowerPortTypeLabel = "ITA Type H" - - PowerPortTypeLabelITATypeI PowerPortTypeLabel = "ITA Type I" - - PowerPortTypeLabelITATypeJ PowerPortTypeLabel = "ITA Type J" - - PowerPortTypeLabelITATypeK PowerPortTypeLabel = "ITA Type K" - + PowerPortTypeLabelC14 PowerPortTypeLabel = "C14" + PowerPortTypeLabelC16 PowerPortTypeLabel = "C16" + PowerPortTypeLabelC20 PowerPortTypeLabel = "C20" + PowerPortTypeLabelC6 PowerPortTypeLabel = "C6" + PowerPortTypeLabelC8 PowerPortTypeLabel = "C8" + PowerPortTypeLabelCS6361C PowerPortTypeLabel = "CS6361C" + PowerPortTypeLabelCS6365C PowerPortTypeLabel = "CS6365C" + PowerPortTypeLabelCS8165C PowerPortTypeLabel = "CS8165C" + PowerPortTypeLabelCS8265C PowerPortTypeLabel = "CS8265C" + PowerPortTypeLabelCS8365C PowerPortTypeLabel = "CS8365C" + PowerPortTypeLabelCS8465C PowerPortTypeLabel = "CS8465C" + PowerPortTypeLabelITATypeECEE75 PowerPortTypeLabel = "ITA Type E (CEE 7/5)" + PowerPortTypeLabelITATypeEFCEE77 PowerPortTypeLabel = "ITA Type E/F (CEE 7/7)" + PowerPortTypeLabelITATypeFCEE74 PowerPortTypeLabel = "ITA Type F (CEE 7/4)" + PowerPortTypeLabelITATypeGBS1363 PowerPortTypeLabel = "ITA Type G (BS 1363)" + PowerPortTypeLabelITATypeH PowerPortTypeLabel = "ITA Type H" + PowerPortTypeLabelITATypeI PowerPortTypeLabel = "ITA Type I" + PowerPortTypeLabelITATypeJ PowerPortTypeLabel = "ITA Type J" + PowerPortTypeLabelITATypeK PowerPortTypeLabel = "ITA Type K" PowerPortTypeLabelITATypeLCEI2350 PowerPortTypeLabel = "ITA Type L (CEI 23-50)" - - PowerPortTypeLabelITATypeMBS546 PowerPortTypeLabel = "ITA Type M (BS 546)" - - PowerPortTypeLabelITATypeN PowerPortTypeLabel = "ITA Type N" - - PowerPortTypeLabelITATypeO PowerPortTypeLabel = "ITA Type O" - - PowerPortTypeLabelN2PE4H PowerPortTypeLabel = "2P+E 4H" - - PowerPortTypeLabelN2PE6H PowerPortTypeLabel = "2P+E 6H" - - PowerPortTypeLabelN2PE9H PowerPortTypeLabel = "2P+E 9H" - - PowerPortTypeLabelN3PE4H PowerPortTypeLabel = "3P+E 4H" - - PowerPortTypeLabelN3PE6H PowerPortTypeLabel = "3P+E 6H" - - PowerPortTypeLabelN3PE9H PowerPortTypeLabel = "3P+E 9H" - - PowerPortTypeLabelN3PNE4H PowerPortTypeLabel = "3P+N+E 4H" - - PowerPortTypeLabelN3PNE6H PowerPortTypeLabel = "3P+N+E 6H" - - PowerPortTypeLabelN3PNE9H PowerPortTypeLabel = "3P+N+E 9H" - - PowerPortTypeLabelNEMA1030P PowerPortTypeLabel = "NEMA 10-30P" - - PowerPortTypeLabelNEMA1050P PowerPortTypeLabel = "NEMA 10-50P" - - PowerPortTypeLabelNEMA115P PowerPortTypeLabel = "NEMA 1-15P" - - PowerPortTypeLabelNEMA1420P PowerPortTypeLabel = "NEMA 14-20P" - - PowerPortTypeLabelNEMA1430P PowerPortTypeLabel = "NEMA 14-30P" - - PowerPortTypeLabelNEMA1450P PowerPortTypeLabel = "NEMA 14-50P" - - PowerPortTypeLabelNEMA1460P PowerPortTypeLabel = "NEMA 14-60P" - - PowerPortTypeLabelNEMA1515P PowerPortTypeLabel = "NEMA 15-15P" - - PowerPortTypeLabelNEMA1520P PowerPortTypeLabel = "NEMA 15-20P" - - PowerPortTypeLabelNEMA1530P PowerPortTypeLabel = "NEMA 15-30P" - - PowerPortTypeLabelNEMA1550P PowerPortTypeLabel = "NEMA 15-50P" - - PowerPortTypeLabelNEMA1560P PowerPortTypeLabel = "NEMA 15-60P" - - PowerPortTypeLabelNEMA515P PowerPortTypeLabel = "NEMA 5-15P" - - PowerPortTypeLabelNEMA520P PowerPortTypeLabel = "NEMA 5-20P" - - PowerPortTypeLabelNEMA530P PowerPortTypeLabel = "NEMA 5-30P" - - PowerPortTypeLabelNEMA550P PowerPortTypeLabel = "NEMA 5-50P" - - PowerPortTypeLabelNEMA615P PowerPortTypeLabel = "NEMA 6-15P" - - PowerPortTypeLabelNEMA620P PowerPortTypeLabel = "NEMA 6-20P" - - PowerPortTypeLabelNEMA630P PowerPortTypeLabel = "NEMA 6-30P" - - PowerPortTypeLabelNEMA650P PowerPortTypeLabel = "NEMA 6-50P" - - PowerPortTypeLabelNEMAL1030P PowerPortTypeLabel = "NEMA L10-30P" - - PowerPortTypeLabelNEMAL115P PowerPortTypeLabel = "NEMA L1-15P" - - PowerPortTypeLabelNEMAL1420P PowerPortTypeLabel = "NEMA L14-20P" - - PowerPortTypeLabelNEMAL1430P PowerPortTypeLabel = "NEMA L14-30P" - - PowerPortTypeLabelNEMAL1450P PowerPortTypeLabel = "NEMA L14-50P" - - PowerPortTypeLabelNEMAL1460P PowerPortTypeLabel = "NEMA L14-60P" - - PowerPortTypeLabelNEMAL1520P PowerPortTypeLabel = "NEMA L15-20P" - - PowerPortTypeLabelNEMAL1530P PowerPortTypeLabel = "NEMA L15-30P" - - PowerPortTypeLabelNEMAL1550P PowerPortTypeLabel = "NEMA L15-50P" - - PowerPortTypeLabelNEMAL1560P PowerPortTypeLabel = "NEMA L15-60P" - - PowerPortTypeLabelNEMAL2120P PowerPortTypeLabel = "NEMA L21-20P" - - PowerPortTypeLabelNEMAL2130P PowerPortTypeLabel = "NEMA L21-30P" - - PowerPortTypeLabelNEMAL515P PowerPortTypeLabel = "NEMA L5-15P" - - PowerPortTypeLabelNEMAL520P PowerPortTypeLabel = "NEMA L5-20P" - - PowerPortTypeLabelNEMAL530P PowerPortTypeLabel = "NEMA L5-30P" - - PowerPortTypeLabelNEMAL550P PowerPortTypeLabel = "NEMA L5-50P" - - PowerPortTypeLabelNEMAL615P PowerPortTypeLabel = "NEMA L6-15P" - - PowerPortTypeLabelNEMAL620P PowerPortTypeLabel = "NEMA L6-20P" - - PowerPortTypeLabelNEMAL630P PowerPortTypeLabel = "NEMA L6-30P" - - PowerPortTypeLabelNEMAL650P PowerPortTypeLabel = "NEMA L6-50P" - - PowerPortTypeLabelPNE4H PowerPortTypeLabel = "P+N+E 4H" - - PowerPortTypeLabelPNE6H PowerPortTypeLabel = "P+N+E 6H" - - PowerPortTypeLabelPNE9H PowerPortTypeLabel = "P+N+E 9H" - - PowerPortTypeLabelUSB30MicroB PowerPortTypeLabel = "USB 3.0 Micro B" - - PowerPortTypeLabelUSB30TypeB PowerPortTypeLabel = "USB 3.0 Type B" - - PowerPortTypeLabelUSBMicroA PowerPortTypeLabel = "USB Micro A" - - PowerPortTypeLabelUSBMicroB PowerPortTypeLabel = "USB Micro B" - - PowerPortTypeLabelUSBMiniA PowerPortTypeLabel = "USB Mini A" - - PowerPortTypeLabelUSBMiniB PowerPortTypeLabel = "USB Mini B" - - PowerPortTypeLabelUSBTypeA PowerPortTypeLabel = "USB Type A" - - PowerPortTypeLabelUSBTypeB PowerPortTypeLabel = "USB Type B" - - PowerPortTypeLabelUSBTypeC PowerPortTypeLabel = "USB Type C" + PowerPortTypeLabelITATypeMBS546 PowerPortTypeLabel = "ITA Type M (BS 546)" + PowerPortTypeLabelITATypeN PowerPortTypeLabel = "ITA Type N" + PowerPortTypeLabelITATypeO PowerPortTypeLabel = "ITA Type O" + PowerPortTypeLabelN2PE4H PowerPortTypeLabel = "2P+E 4H" + PowerPortTypeLabelN2PE6H PowerPortTypeLabel = "2P+E 6H" + PowerPortTypeLabelN2PE9H PowerPortTypeLabel = "2P+E 9H" + PowerPortTypeLabelN3PE4H PowerPortTypeLabel = "3P+E 4H" + PowerPortTypeLabelN3PE6H PowerPortTypeLabel = "3P+E 6H" + PowerPortTypeLabelN3PE9H PowerPortTypeLabel = "3P+E 9H" + PowerPortTypeLabelN3PNE4H PowerPortTypeLabel = "3P+N+E 4H" + PowerPortTypeLabelN3PNE6H PowerPortTypeLabel = "3P+N+E 6H" + PowerPortTypeLabelN3PNE9H PowerPortTypeLabel = "3P+N+E 9H" + PowerPortTypeLabelNEMA1030P PowerPortTypeLabel = "NEMA 10-30P" + PowerPortTypeLabelNEMA1050P PowerPortTypeLabel = "NEMA 10-50P" + PowerPortTypeLabelNEMA115P PowerPortTypeLabel = "NEMA 1-15P" + PowerPortTypeLabelNEMA1420P PowerPortTypeLabel = "NEMA 14-20P" + PowerPortTypeLabelNEMA1430P PowerPortTypeLabel = "NEMA 14-30P" + PowerPortTypeLabelNEMA1450P PowerPortTypeLabel = "NEMA 14-50P" + PowerPortTypeLabelNEMA1460P PowerPortTypeLabel = "NEMA 14-60P" + PowerPortTypeLabelNEMA1515P PowerPortTypeLabel = "NEMA 15-15P" + PowerPortTypeLabelNEMA1520P PowerPortTypeLabel = "NEMA 15-20P" + PowerPortTypeLabelNEMA1530P PowerPortTypeLabel = "NEMA 15-30P" + PowerPortTypeLabelNEMA1550P PowerPortTypeLabel = "NEMA 15-50P" + PowerPortTypeLabelNEMA1560P PowerPortTypeLabel = "NEMA 15-60P" + PowerPortTypeLabelNEMA515P PowerPortTypeLabel = "NEMA 5-15P" + PowerPortTypeLabelNEMA520P PowerPortTypeLabel = "NEMA 5-20P" + PowerPortTypeLabelNEMA530P PowerPortTypeLabel = "NEMA 5-30P" + PowerPortTypeLabelNEMA550P PowerPortTypeLabel = "NEMA 5-50P" + PowerPortTypeLabelNEMA615P PowerPortTypeLabel = "NEMA 6-15P" + PowerPortTypeLabelNEMA620P PowerPortTypeLabel = "NEMA 6-20P" + PowerPortTypeLabelNEMA630P PowerPortTypeLabel = "NEMA 6-30P" + PowerPortTypeLabelNEMA650P PowerPortTypeLabel = "NEMA 6-50P" + PowerPortTypeLabelNEMAL1030P PowerPortTypeLabel = "NEMA L10-30P" + PowerPortTypeLabelNEMAL115P PowerPortTypeLabel = "NEMA L1-15P" + PowerPortTypeLabelNEMAL1420P PowerPortTypeLabel = "NEMA L14-20P" + PowerPortTypeLabelNEMAL1430P PowerPortTypeLabel = "NEMA L14-30P" + PowerPortTypeLabelNEMAL1450P PowerPortTypeLabel = "NEMA L14-50P" + PowerPortTypeLabelNEMAL1460P PowerPortTypeLabel = "NEMA L14-60P" + PowerPortTypeLabelNEMAL1520P PowerPortTypeLabel = "NEMA L15-20P" + PowerPortTypeLabelNEMAL1530P PowerPortTypeLabel = "NEMA L15-30P" + PowerPortTypeLabelNEMAL1550P PowerPortTypeLabel = "NEMA L15-50P" + PowerPortTypeLabelNEMAL1560P PowerPortTypeLabel = "NEMA L15-60P" + PowerPortTypeLabelNEMAL2120P PowerPortTypeLabel = "NEMA L21-20P" + PowerPortTypeLabelNEMAL2130P PowerPortTypeLabel = "NEMA L21-30P" + PowerPortTypeLabelNEMAL515P PowerPortTypeLabel = "NEMA L5-15P" + PowerPortTypeLabelNEMAL520P PowerPortTypeLabel = "NEMA L5-20P" + PowerPortTypeLabelNEMAL530P PowerPortTypeLabel = "NEMA L5-30P" + PowerPortTypeLabelNEMAL550P PowerPortTypeLabel = "NEMA L5-50P" + PowerPortTypeLabelNEMAL615P PowerPortTypeLabel = "NEMA L6-15P" + PowerPortTypeLabelNEMAL620P PowerPortTypeLabel = "NEMA L6-20P" + PowerPortTypeLabelNEMAL630P PowerPortTypeLabel = "NEMA L6-30P" + PowerPortTypeLabelNEMAL650P PowerPortTypeLabel = "NEMA L6-50P" + PowerPortTypeLabelPNE4H PowerPortTypeLabel = "P+N+E 4H" + PowerPortTypeLabelPNE6H PowerPortTypeLabel = "P+N+E 6H" + PowerPortTypeLabelPNE9H PowerPortTypeLabel = "P+N+E 9H" + PowerPortTypeLabelUSB30MicroB PowerPortTypeLabel = "USB 3.0 Micro B" + PowerPortTypeLabelUSB30TypeB PowerPortTypeLabel = "USB 3.0 Type B" + PowerPortTypeLabelUSBMicroA PowerPortTypeLabel = "USB Micro A" + PowerPortTypeLabelUSBMicroB PowerPortTypeLabel = "USB Micro B" + PowerPortTypeLabelUSBMiniA PowerPortTypeLabel = "USB Mini A" + PowerPortTypeLabelUSBMiniB PowerPortTypeLabel = "USB Mini B" + PowerPortTypeLabelUSBTypeA PowerPortTypeLabel = "USB Type A" + PowerPortTypeLabelUSBTypeB PowerPortTypeLabel = "USB Type B" + PowerPortTypeLabelUSBTypeC PowerPortTypeLabel = "USB Type C" ) // Defines values for PowerPortTypeValue. const ( - PowerPortTypeValueCs6361c PowerPortTypeValue = "cs6361c" - - PowerPortTypeValueCs6365c PowerPortTypeValue = "cs6365c" - - PowerPortTypeValueCs8165c PowerPortTypeValue = "cs8165c" - - PowerPortTypeValueCs8265c PowerPortTypeValue = "cs8265c" - - PowerPortTypeValueCs8365c PowerPortTypeValue = "cs8365c" - - PowerPortTypeValueCs8465c PowerPortTypeValue = "cs8465c" - - PowerPortTypeValueIec603092pE4h PowerPortTypeValue = "iec-60309-2p-e-4h" - - PowerPortTypeValueIec603092pE6h PowerPortTypeValue = "iec-60309-2p-e-6h" - - PowerPortTypeValueIec603092pE9h PowerPortTypeValue = "iec-60309-2p-e-9h" - - PowerPortTypeValueIec603093pE4h PowerPortTypeValue = "iec-60309-3p-e-4h" - - PowerPortTypeValueIec603093pE6h PowerPortTypeValue = "iec-60309-3p-e-6h" - - PowerPortTypeValueIec603093pE9h PowerPortTypeValue = "iec-60309-3p-e-9h" - + PowerPortTypeValueCs6361c PowerPortTypeValue = "cs6361c" + PowerPortTypeValueCs6365c PowerPortTypeValue = "cs6365c" + PowerPortTypeValueCs8165c PowerPortTypeValue = "cs8165c" + PowerPortTypeValueCs8265c PowerPortTypeValue = "cs8265c" + PowerPortTypeValueCs8365c PowerPortTypeValue = "cs8365c" + PowerPortTypeValueCs8465c PowerPortTypeValue = "cs8465c" + PowerPortTypeValueIec603092pE4h PowerPortTypeValue = "iec-60309-2p-e-4h" + PowerPortTypeValueIec603092pE6h PowerPortTypeValue = "iec-60309-2p-e-6h" + PowerPortTypeValueIec603092pE9h PowerPortTypeValue = "iec-60309-2p-e-9h" + PowerPortTypeValueIec603093pE4h PowerPortTypeValue = "iec-60309-3p-e-4h" + PowerPortTypeValueIec603093pE6h PowerPortTypeValue = "iec-60309-3p-e-6h" + PowerPortTypeValueIec603093pE9h PowerPortTypeValue = "iec-60309-3p-e-9h" PowerPortTypeValueIec603093pNE4h PowerPortTypeValue = "iec-60309-3p-n-e-4h" - PowerPortTypeValueIec603093pNE6h PowerPortTypeValue = "iec-60309-3p-n-e-6h" - PowerPortTypeValueIec603093pNE9h PowerPortTypeValue = "iec-60309-3p-n-e-9h" - - PowerPortTypeValueIec60309PNE4h PowerPortTypeValue = "iec-60309-p-n-e-4h" - - PowerPortTypeValueIec60309PNE6h PowerPortTypeValue = "iec-60309-p-n-e-6h" - - PowerPortTypeValueIec60309PNE9h PowerPortTypeValue = "iec-60309-p-n-e-9h" - - PowerPortTypeValueIec60320C14 PowerPortTypeValue = "iec-60320-c14" - - PowerPortTypeValueIec60320C16 PowerPortTypeValue = "iec-60320-c16" - - PowerPortTypeValueIec60320C20 PowerPortTypeValue = "iec-60320-c20" - - PowerPortTypeValueIec60320C6 PowerPortTypeValue = "iec-60320-c6" - - PowerPortTypeValueIec60320C8 PowerPortTypeValue = "iec-60320-c8" - - PowerPortTypeValueItaE PowerPortTypeValue = "ita-e" - - PowerPortTypeValueItaEf PowerPortTypeValue = "ita-ef" - - PowerPortTypeValueItaF PowerPortTypeValue = "ita-f" - - PowerPortTypeValueItaG PowerPortTypeValue = "ita-g" - - PowerPortTypeValueItaH PowerPortTypeValue = "ita-h" - - PowerPortTypeValueItaI PowerPortTypeValue = "ita-i" - - PowerPortTypeValueItaJ PowerPortTypeValue = "ita-j" - - PowerPortTypeValueItaK PowerPortTypeValue = "ita-k" - - PowerPortTypeValueItaL PowerPortTypeValue = "ita-l" - - PowerPortTypeValueItaM PowerPortTypeValue = "ita-m" - - PowerPortTypeValueItaN PowerPortTypeValue = "ita-n" - - PowerPortTypeValueItaO PowerPortTypeValue = "ita-o" - - PowerPortTypeValueNema1030p PowerPortTypeValue = "nema-10-30p" - - PowerPortTypeValueNema1050p PowerPortTypeValue = "nema-10-50p" - - PowerPortTypeValueNema115p PowerPortTypeValue = "nema-1-15p" - - PowerPortTypeValueNema1420p PowerPortTypeValue = "nema-14-20p" - - PowerPortTypeValueNema1430p PowerPortTypeValue = "nema-14-30p" - - PowerPortTypeValueNema1450p PowerPortTypeValue = "nema-14-50p" - - PowerPortTypeValueNema1460p PowerPortTypeValue = "nema-14-60p" - - PowerPortTypeValueNema1515p PowerPortTypeValue = "nema-15-15p" - - PowerPortTypeValueNema1520p PowerPortTypeValue = "nema-15-20p" - - PowerPortTypeValueNema1530p PowerPortTypeValue = "nema-15-30p" - - PowerPortTypeValueNema1550p PowerPortTypeValue = "nema-15-50p" - - PowerPortTypeValueNema1560p PowerPortTypeValue = "nema-15-60p" - - PowerPortTypeValueNema515p PowerPortTypeValue = "nema-5-15p" - - PowerPortTypeValueNema520p PowerPortTypeValue = "nema-5-20p" - - PowerPortTypeValueNema530p PowerPortTypeValue = "nema-5-30p" - - PowerPortTypeValueNema550p PowerPortTypeValue = "nema-5-50p" - - PowerPortTypeValueNema615p PowerPortTypeValue = "nema-6-15p" - - PowerPortTypeValueNema620p PowerPortTypeValue = "nema-6-20p" - - PowerPortTypeValueNema630p PowerPortTypeValue = "nema-6-30p" - - PowerPortTypeValueNema650p PowerPortTypeValue = "nema-6-50p" - - PowerPortTypeValueNemaL1030p PowerPortTypeValue = "nema-l10-30p" - - PowerPortTypeValueNemaL115p PowerPortTypeValue = "nema-l1-15p" - - PowerPortTypeValueNemaL1420p PowerPortTypeValue = "nema-l14-20p" - - PowerPortTypeValueNemaL1430p PowerPortTypeValue = "nema-l14-30p" - - PowerPortTypeValueNemaL1450p PowerPortTypeValue = "nema-l14-50p" - - PowerPortTypeValueNemaL1460p PowerPortTypeValue = "nema-l14-60p" - - PowerPortTypeValueNemaL1520p PowerPortTypeValue = "nema-l15-20p" - - PowerPortTypeValueNemaL1530p PowerPortTypeValue = "nema-l15-30p" - - PowerPortTypeValueNemaL1550p PowerPortTypeValue = "nema-l15-50p" - - PowerPortTypeValueNemaL1560p PowerPortTypeValue = "nema-l15-60p" - - PowerPortTypeValueNemaL2120p PowerPortTypeValue = "nema-l21-20p" - - PowerPortTypeValueNemaL2130p PowerPortTypeValue = "nema-l21-30p" - - PowerPortTypeValueNemaL515p PowerPortTypeValue = "nema-l5-15p" - - PowerPortTypeValueNemaL520p PowerPortTypeValue = "nema-l5-20p" - - PowerPortTypeValueNemaL530p PowerPortTypeValue = "nema-l5-30p" - - PowerPortTypeValueNemaL550p PowerPortTypeValue = "nema-l5-50p" - - PowerPortTypeValueNemaL615p PowerPortTypeValue = "nema-l6-15p" - - PowerPortTypeValueNemaL620p PowerPortTypeValue = "nema-l6-20p" - - PowerPortTypeValueNemaL630p PowerPortTypeValue = "nema-l6-30p" - - PowerPortTypeValueNemaL650p PowerPortTypeValue = "nema-l6-50p" - - PowerPortTypeValueUsb3B PowerPortTypeValue = "usb-3-b" - - PowerPortTypeValueUsb3MicroB PowerPortTypeValue = "usb-3-micro-b" - - PowerPortTypeValueUsbA PowerPortTypeValue = "usb-a" - - PowerPortTypeValueUsbB PowerPortTypeValue = "usb-b" - - PowerPortTypeValueUsbC PowerPortTypeValue = "usb-c" - - PowerPortTypeValueUsbMicroA PowerPortTypeValue = "usb-micro-a" - - PowerPortTypeValueUsbMicroB PowerPortTypeValue = "usb-micro-b" - - PowerPortTypeValueUsbMiniA PowerPortTypeValue = "usb-mini-a" - - PowerPortTypeValueUsbMiniB PowerPortTypeValue = "usb-mini-b" + PowerPortTypeValueIec60309PNE4h PowerPortTypeValue = "iec-60309-p-n-e-4h" + PowerPortTypeValueIec60309PNE6h PowerPortTypeValue = "iec-60309-p-n-e-6h" + PowerPortTypeValueIec60309PNE9h PowerPortTypeValue = "iec-60309-p-n-e-9h" + PowerPortTypeValueIec60320C14 PowerPortTypeValue = "iec-60320-c14" + PowerPortTypeValueIec60320C16 PowerPortTypeValue = "iec-60320-c16" + PowerPortTypeValueIec60320C20 PowerPortTypeValue = "iec-60320-c20" + PowerPortTypeValueIec60320C6 PowerPortTypeValue = "iec-60320-c6" + PowerPortTypeValueIec60320C8 PowerPortTypeValue = "iec-60320-c8" + PowerPortTypeValueItaE PowerPortTypeValue = "ita-e" + PowerPortTypeValueItaEf PowerPortTypeValue = "ita-ef" + PowerPortTypeValueItaF PowerPortTypeValue = "ita-f" + PowerPortTypeValueItaG PowerPortTypeValue = "ita-g" + PowerPortTypeValueItaH PowerPortTypeValue = "ita-h" + PowerPortTypeValueItaI PowerPortTypeValue = "ita-i" + PowerPortTypeValueItaJ PowerPortTypeValue = "ita-j" + PowerPortTypeValueItaK PowerPortTypeValue = "ita-k" + PowerPortTypeValueItaL PowerPortTypeValue = "ita-l" + PowerPortTypeValueItaM PowerPortTypeValue = "ita-m" + PowerPortTypeValueItaN PowerPortTypeValue = "ita-n" + PowerPortTypeValueItaO PowerPortTypeValue = "ita-o" + PowerPortTypeValueNema1030p PowerPortTypeValue = "nema-10-30p" + PowerPortTypeValueNema1050p PowerPortTypeValue = "nema-10-50p" + PowerPortTypeValueNema115p PowerPortTypeValue = "nema-1-15p" + PowerPortTypeValueNema1420p PowerPortTypeValue = "nema-14-20p" + PowerPortTypeValueNema1430p PowerPortTypeValue = "nema-14-30p" + PowerPortTypeValueNema1450p PowerPortTypeValue = "nema-14-50p" + PowerPortTypeValueNema1460p PowerPortTypeValue = "nema-14-60p" + PowerPortTypeValueNema1515p PowerPortTypeValue = "nema-15-15p" + PowerPortTypeValueNema1520p PowerPortTypeValue = "nema-15-20p" + PowerPortTypeValueNema1530p PowerPortTypeValue = "nema-15-30p" + PowerPortTypeValueNema1550p PowerPortTypeValue = "nema-15-50p" + PowerPortTypeValueNema1560p PowerPortTypeValue = "nema-15-60p" + PowerPortTypeValueNema515p PowerPortTypeValue = "nema-5-15p" + PowerPortTypeValueNema520p PowerPortTypeValue = "nema-5-20p" + PowerPortTypeValueNema530p PowerPortTypeValue = "nema-5-30p" + PowerPortTypeValueNema550p PowerPortTypeValue = "nema-5-50p" + PowerPortTypeValueNema615p PowerPortTypeValue = "nema-6-15p" + PowerPortTypeValueNema620p PowerPortTypeValue = "nema-6-20p" + PowerPortTypeValueNema630p PowerPortTypeValue = "nema-6-30p" + PowerPortTypeValueNema650p PowerPortTypeValue = "nema-6-50p" + PowerPortTypeValueNemaL1030p PowerPortTypeValue = "nema-l10-30p" + PowerPortTypeValueNemaL115p PowerPortTypeValue = "nema-l1-15p" + PowerPortTypeValueNemaL1420p PowerPortTypeValue = "nema-l14-20p" + PowerPortTypeValueNemaL1430p PowerPortTypeValue = "nema-l14-30p" + PowerPortTypeValueNemaL1450p PowerPortTypeValue = "nema-l14-50p" + PowerPortTypeValueNemaL1460p PowerPortTypeValue = "nema-l14-60p" + PowerPortTypeValueNemaL1520p PowerPortTypeValue = "nema-l15-20p" + PowerPortTypeValueNemaL1530p PowerPortTypeValue = "nema-l15-30p" + PowerPortTypeValueNemaL1550p PowerPortTypeValue = "nema-l15-50p" + PowerPortTypeValueNemaL1560p PowerPortTypeValue = "nema-l15-60p" + PowerPortTypeValueNemaL2120p PowerPortTypeValue = "nema-l21-20p" + PowerPortTypeValueNemaL2130p PowerPortTypeValue = "nema-l21-30p" + PowerPortTypeValueNemaL515p PowerPortTypeValue = "nema-l5-15p" + PowerPortTypeValueNemaL520p PowerPortTypeValue = "nema-l5-20p" + PowerPortTypeValueNemaL530p PowerPortTypeValue = "nema-l5-30p" + PowerPortTypeValueNemaL550p PowerPortTypeValue = "nema-l5-50p" + PowerPortTypeValueNemaL615p PowerPortTypeValue = "nema-l6-15p" + PowerPortTypeValueNemaL620p PowerPortTypeValue = "nema-l6-20p" + PowerPortTypeValueNemaL630p PowerPortTypeValue = "nema-l6-30p" + PowerPortTypeValueNemaL650p PowerPortTypeValue = "nema-l6-50p" + PowerPortTypeValueUsb3B PowerPortTypeValue = "usb-3-b" + PowerPortTypeValueUsb3MicroB PowerPortTypeValue = "usb-3-micro-b" + PowerPortTypeValueUsbA PowerPortTypeValue = "usb-a" + PowerPortTypeValueUsbB PowerPortTypeValue = "usb-b" + PowerPortTypeValueUsbC PowerPortTypeValue = "usb-c" + PowerPortTypeValueUsbMicroA PowerPortTypeValue = "usb-micro-a" + PowerPortTypeValueUsbMicroB PowerPortTypeValue = "usb-micro-b" + PowerPortTypeValueUsbMiniA PowerPortTypeValue = "usb-mini-a" + PowerPortTypeValueUsbMiniB PowerPortTypeValue = "usb-mini-b" ) // Defines values for PowerPortTemplateTypeLabel. const ( - PowerPortTemplateTypeLabelC14 PowerPortTemplateTypeLabel = "C14" - - PowerPortTemplateTypeLabelC16 PowerPortTemplateTypeLabel = "C16" - - PowerPortTemplateTypeLabelC20 PowerPortTemplateTypeLabel = "C20" - - PowerPortTemplateTypeLabelC6 PowerPortTemplateTypeLabel = "C6" - - PowerPortTemplateTypeLabelC8 PowerPortTemplateTypeLabel = "C8" - - PowerPortTemplateTypeLabelCS6361C PowerPortTemplateTypeLabel = "CS6361C" - - PowerPortTemplateTypeLabelCS6365C PowerPortTemplateTypeLabel = "CS6365C" - - PowerPortTemplateTypeLabelCS8165C PowerPortTemplateTypeLabel = "CS8165C" - - PowerPortTemplateTypeLabelCS8265C PowerPortTemplateTypeLabel = "CS8265C" - - PowerPortTemplateTypeLabelCS8365C PowerPortTemplateTypeLabel = "CS8365C" - - PowerPortTemplateTypeLabelCS8465C PowerPortTemplateTypeLabel = "CS8465C" - - PowerPortTemplateTypeLabelITATypeECEE75 PowerPortTemplateTypeLabel = "ITA Type E (CEE 7/5)" - - PowerPortTemplateTypeLabelITATypeEFCEE77 PowerPortTemplateTypeLabel = "ITA Type E/F (CEE 7/7)" - - PowerPortTemplateTypeLabelITATypeFCEE74 PowerPortTemplateTypeLabel = "ITA Type F (CEE 7/4)" - - PowerPortTemplateTypeLabelITATypeGBS1363 PowerPortTemplateTypeLabel = "ITA Type G (BS 1363)" - - PowerPortTemplateTypeLabelITATypeH PowerPortTemplateTypeLabel = "ITA Type H" - - PowerPortTemplateTypeLabelITATypeI PowerPortTemplateTypeLabel = "ITA Type I" - - PowerPortTemplateTypeLabelITATypeJ PowerPortTemplateTypeLabel = "ITA Type J" - - PowerPortTemplateTypeLabelITATypeK PowerPortTemplateTypeLabel = "ITA Type K" - + PowerPortTemplateTypeLabelC14 PowerPortTemplateTypeLabel = "C14" + PowerPortTemplateTypeLabelC16 PowerPortTemplateTypeLabel = "C16" + PowerPortTemplateTypeLabelC20 PowerPortTemplateTypeLabel = "C20" + PowerPortTemplateTypeLabelC6 PowerPortTemplateTypeLabel = "C6" + PowerPortTemplateTypeLabelC8 PowerPortTemplateTypeLabel = "C8" + PowerPortTemplateTypeLabelCS6361C PowerPortTemplateTypeLabel = "CS6361C" + PowerPortTemplateTypeLabelCS6365C PowerPortTemplateTypeLabel = "CS6365C" + PowerPortTemplateTypeLabelCS8165C PowerPortTemplateTypeLabel = "CS8165C" + PowerPortTemplateTypeLabelCS8265C PowerPortTemplateTypeLabel = "CS8265C" + PowerPortTemplateTypeLabelCS8365C PowerPortTemplateTypeLabel = "CS8365C" + PowerPortTemplateTypeLabelCS8465C PowerPortTemplateTypeLabel = "CS8465C" + PowerPortTemplateTypeLabelITATypeECEE75 PowerPortTemplateTypeLabel = "ITA Type E (CEE 7/5)" + PowerPortTemplateTypeLabelITATypeEFCEE77 PowerPortTemplateTypeLabel = "ITA Type E/F (CEE 7/7)" + PowerPortTemplateTypeLabelITATypeFCEE74 PowerPortTemplateTypeLabel = "ITA Type F (CEE 7/4)" + PowerPortTemplateTypeLabelITATypeGBS1363 PowerPortTemplateTypeLabel = "ITA Type G (BS 1363)" + PowerPortTemplateTypeLabelITATypeH PowerPortTemplateTypeLabel = "ITA Type H" + PowerPortTemplateTypeLabelITATypeI PowerPortTemplateTypeLabel = "ITA Type I" + PowerPortTemplateTypeLabelITATypeJ PowerPortTemplateTypeLabel = "ITA Type J" + PowerPortTemplateTypeLabelITATypeK PowerPortTemplateTypeLabel = "ITA Type K" PowerPortTemplateTypeLabelITATypeLCEI2350 PowerPortTemplateTypeLabel = "ITA Type L (CEI 23-50)" - - PowerPortTemplateTypeLabelITATypeMBS546 PowerPortTemplateTypeLabel = "ITA Type M (BS 546)" - - PowerPortTemplateTypeLabelITATypeN PowerPortTemplateTypeLabel = "ITA Type N" - - PowerPortTemplateTypeLabelITATypeO PowerPortTemplateTypeLabel = "ITA Type O" - - PowerPortTemplateTypeLabelN2PE4H PowerPortTemplateTypeLabel = "2P+E 4H" - - PowerPortTemplateTypeLabelN2PE6H PowerPortTemplateTypeLabel = "2P+E 6H" - - PowerPortTemplateTypeLabelN2PE9H PowerPortTemplateTypeLabel = "2P+E 9H" - - PowerPortTemplateTypeLabelN3PE4H PowerPortTemplateTypeLabel = "3P+E 4H" - - PowerPortTemplateTypeLabelN3PE6H PowerPortTemplateTypeLabel = "3P+E 6H" - - PowerPortTemplateTypeLabelN3PE9H PowerPortTemplateTypeLabel = "3P+E 9H" - - PowerPortTemplateTypeLabelN3PNE4H PowerPortTemplateTypeLabel = "3P+N+E 4H" - - PowerPortTemplateTypeLabelN3PNE6H PowerPortTemplateTypeLabel = "3P+N+E 6H" - - PowerPortTemplateTypeLabelN3PNE9H PowerPortTemplateTypeLabel = "3P+N+E 9H" - - PowerPortTemplateTypeLabelNEMA1030P PowerPortTemplateTypeLabel = "NEMA 10-30P" - - PowerPortTemplateTypeLabelNEMA1050P PowerPortTemplateTypeLabel = "NEMA 10-50P" - - PowerPortTemplateTypeLabelNEMA115P PowerPortTemplateTypeLabel = "NEMA 1-15P" - - PowerPortTemplateTypeLabelNEMA1420P PowerPortTemplateTypeLabel = "NEMA 14-20P" - - PowerPortTemplateTypeLabelNEMA1430P PowerPortTemplateTypeLabel = "NEMA 14-30P" - - PowerPortTemplateTypeLabelNEMA1450P PowerPortTemplateTypeLabel = "NEMA 14-50P" - - PowerPortTemplateTypeLabelNEMA1460P PowerPortTemplateTypeLabel = "NEMA 14-60P" - - PowerPortTemplateTypeLabelNEMA1515P PowerPortTemplateTypeLabel = "NEMA 15-15P" - - PowerPortTemplateTypeLabelNEMA1520P PowerPortTemplateTypeLabel = "NEMA 15-20P" - - PowerPortTemplateTypeLabelNEMA1530P PowerPortTemplateTypeLabel = "NEMA 15-30P" - - PowerPortTemplateTypeLabelNEMA1550P PowerPortTemplateTypeLabel = "NEMA 15-50P" - - PowerPortTemplateTypeLabelNEMA1560P PowerPortTemplateTypeLabel = "NEMA 15-60P" - - PowerPortTemplateTypeLabelNEMA515P PowerPortTemplateTypeLabel = "NEMA 5-15P" - - PowerPortTemplateTypeLabelNEMA520P PowerPortTemplateTypeLabel = "NEMA 5-20P" - - PowerPortTemplateTypeLabelNEMA530P PowerPortTemplateTypeLabel = "NEMA 5-30P" - - PowerPortTemplateTypeLabelNEMA550P PowerPortTemplateTypeLabel = "NEMA 5-50P" - - PowerPortTemplateTypeLabelNEMA615P PowerPortTemplateTypeLabel = "NEMA 6-15P" - - PowerPortTemplateTypeLabelNEMA620P PowerPortTemplateTypeLabel = "NEMA 6-20P" - - PowerPortTemplateTypeLabelNEMA630P PowerPortTemplateTypeLabel = "NEMA 6-30P" - - PowerPortTemplateTypeLabelNEMA650P PowerPortTemplateTypeLabel = "NEMA 6-50P" - - PowerPortTemplateTypeLabelNEMAL1030P PowerPortTemplateTypeLabel = "NEMA L10-30P" - - PowerPortTemplateTypeLabelNEMAL115P PowerPortTemplateTypeLabel = "NEMA L1-15P" - - PowerPortTemplateTypeLabelNEMAL1420P PowerPortTemplateTypeLabel = "NEMA L14-20P" - - PowerPortTemplateTypeLabelNEMAL1430P PowerPortTemplateTypeLabel = "NEMA L14-30P" - - PowerPortTemplateTypeLabelNEMAL1450P PowerPortTemplateTypeLabel = "NEMA L14-50P" - - PowerPortTemplateTypeLabelNEMAL1460P PowerPortTemplateTypeLabel = "NEMA L14-60P" - - PowerPortTemplateTypeLabelNEMAL1520P PowerPortTemplateTypeLabel = "NEMA L15-20P" - - PowerPortTemplateTypeLabelNEMAL1530P PowerPortTemplateTypeLabel = "NEMA L15-30P" - - PowerPortTemplateTypeLabelNEMAL1550P PowerPortTemplateTypeLabel = "NEMA L15-50P" - - PowerPortTemplateTypeLabelNEMAL1560P PowerPortTemplateTypeLabel = "NEMA L15-60P" - - PowerPortTemplateTypeLabelNEMAL2120P PowerPortTemplateTypeLabel = "NEMA L21-20P" - - PowerPortTemplateTypeLabelNEMAL2130P PowerPortTemplateTypeLabel = "NEMA L21-30P" - - PowerPortTemplateTypeLabelNEMAL515P PowerPortTemplateTypeLabel = "NEMA L5-15P" - - PowerPortTemplateTypeLabelNEMAL520P PowerPortTemplateTypeLabel = "NEMA L5-20P" - - PowerPortTemplateTypeLabelNEMAL530P PowerPortTemplateTypeLabel = "NEMA L5-30P" - - PowerPortTemplateTypeLabelNEMAL550P PowerPortTemplateTypeLabel = "NEMA L5-50P" - - PowerPortTemplateTypeLabelNEMAL615P PowerPortTemplateTypeLabel = "NEMA L6-15P" - - PowerPortTemplateTypeLabelNEMAL620P PowerPortTemplateTypeLabel = "NEMA L6-20P" - - PowerPortTemplateTypeLabelNEMAL630P PowerPortTemplateTypeLabel = "NEMA L6-30P" - - PowerPortTemplateTypeLabelNEMAL650P PowerPortTemplateTypeLabel = "NEMA L6-50P" - - PowerPortTemplateTypeLabelPNE4H PowerPortTemplateTypeLabel = "P+N+E 4H" - - PowerPortTemplateTypeLabelPNE6H PowerPortTemplateTypeLabel = "P+N+E 6H" - - PowerPortTemplateTypeLabelPNE9H PowerPortTemplateTypeLabel = "P+N+E 9H" - - PowerPortTemplateTypeLabelUSB30MicroB PowerPortTemplateTypeLabel = "USB 3.0 Micro B" - - PowerPortTemplateTypeLabelUSB30TypeB PowerPortTemplateTypeLabel = "USB 3.0 Type B" - - PowerPortTemplateTypeLabelUSBMicroA PowerPortTemplateTypeLabel = "USB Micro A" - - PowerPortTemplateTypeLabelUSBMicroB PowerPortTemplateTypeLabel = "USB Micro B" - - PowerPortTemplateTypeLabelUSBMiniA PowerPortTemplateTypeLabel = "USB Mini A" - - PowerPortTemplateTypeLabelUSBMiniB PowerPortTemplateTypeLabel = "USB Mini B" - - PowerPortTemplateTypeLabelUSBTypeA PowerPortTemplateTypeLabel = "USB Type A" - - PowerPortTemplateTypeLabelUSBTypeB PowerPortTemplateTypeLabel = "USB Type B" - - PowerPortTemplateTypeLabelUSBTypeC PowerPortTemplateTypeLabel = "USB Type C" + PowerPortTemplateTypeLabelITATypeMBS546 PowerPortTemplateTypeLabel = "ITA Type M (BS 546)" + PowerPortTemplateTypeLabelITATypeN PowerPortTemplateTypeLabel = "ITA Type N" + PowerPortTemplateTypeLabelITATypeO PowerPortTemplateTypeLabel = "ITA Type O" + PowerPortTemplateTypeLabelN2PE4H PowerPortTemplateTypeLabel = "2P+E 4H" + PowerPortTemplateTypeLabelN2PE6H PowerPortTemplateTypeLabel = "2P+E 6H" + PowerPortTemplateTypeLabelN2PE9H PowerPortTemplateTypeLabel = "2P+E 9H" + PowerPortTemplateTypeLabelN3PE4H PowerPortTemplateTypeLabel = "3P+E 4H" + PowerPortTemplateTypeLabelN3PE6H PowerPortTemplateTypeLabel = "3P+E 6H" + PowerPortTemplateTypeLabelN3PE9H PowerPortTemplateTypeLabel = "3P+E 9H" + PowerPortTemplateTypeLabelN3PNE4H PowerPortTemplateTypeLabel = "3P+N+E 4H" + PowerPortTemplateTypeLabelN3PNE6H PowerPortTemplateTypeLabel = "3P+N+E 6H" + PowerPortTemplateTypeLabelN3PNE9H PowerPortTemplateTypeLabel = "3P+N+E 9H" + PowerPortTemplateTypeLabelNEMA1030P PowerPortTemplateTypeLabel = "NEMA 10-30P" + PowerPortTemplateTypeLabelNEMA1050P PowerPortTemplateTypeLabel = "NEMA 10-50P" + PowerPortTemplateTypeLabelNEMA115P PowerPortTemplateTypeLabel = "NEMA 1-15P" + PowerPortTemplateTypeLabelNEMA1420P PowerPortTemplateTypeLabel = "NEMA 14-20P" + PowerPortTemplateTypeLabelNEMA1430P PowerPortTemplateTypeLabel = "NEMA 14-30P" + PowerPortTemplateTypeLabelNEMA1450P PowerPortTemplateTypeLabel = "NEMA 14-50P" + PowerPortTemplateTypeLabelNEMA1460P PowerPortTemplateTypeLabel = "NEMA 14-60P" + PowerPortTemplateTypeLabelNEMA1515P PowerPortTemplateTypeLabel = "NEMA 15-15P" + PowerPortTemplateTypeLabelNEMA1520P PowerPortTemplateTypeLabel = "NEMA 15-20P" + PowerPortTemplateTypeLabelNEMA1530P PowerPortTemplateTypeLabel = "NEMA 15-30P" + PowerPortTemplateTypeLabelNEMA1550P PowerPortTemplateTypeLabel = "NEMA 15-50P" + PowerPortTemplateTypeLabelNEMA1560P PowerPortTemplateTypeLabel = "NEMA 15-60P" + PowerPortTemplateTypeLabelNEMA515P PowerPortTemplateTypeLabel = "NEMA 5-15P" + PowerPortTemplateTypeLabelNEMA520P PowerPortTemplateTypeLabel = "NEMA 5-20P" + PowerPortTemplateTypeLabelNEMA530P PowerPortTemplateTypeLabel = "NEMA 5-30P" + PowerPortTemplateTypeLabelNEMA550P PowerPortTemplateTypeLabel = "NEMA 5-50P" + PowerPortTemplateTypeLabelNEMA615P PowerPortTemplateTypeLabel = "NEMA 6-15P" + PowerPortTemplateTypeLabelNEMA620P PowerPortTemplateTypeLabel = "NEMA 6-20P" + PowerPortTemplateTypeLabelNEMA630P PowerPortTemplateTypeLabel = "NEMA 6-30P" + PowerPortTemplateTypeLabelNEMA650P PowerPortTemplateTypeLabel = "NEMA 6-50P" + PowerPortTemplateTypeLabelNEMAL1030P PowerPortTemplateTypeLabel = "NEMA L10-30P" + PowerPortTemplateTypeLabelNEMAL115P PowerPortTemplateTypeLabel = "NEMA L1-15P" + PowerPortTemplateTypeLabelNEMAL1420P PowerPortTemplateTypeLabel = "NEMA L14-20P" + PowerPortTemplateTypeLabelNEMAL1430P PowerPortTemplateTypeLabel = "NEMA L14-30P" + PowerPortTemplateTypeLabelNEMAL1450P PowerPortTemplateTypeLabel = "NEMA L14-50P" + PowerPortTemplateTypeLabelNEMAL1460P PowerPortTemplateTypeLabel = "NEMA L14-60P" + PowerPortTemplateTypeLabelNEMAL1520P PowerPortTemplateTypeLabel = "NEMA L15-20P" + PowerPortTemplateTypeLabelNEMAL1530P PowerPortTemplateTypeLabel = "NEMA L15-30P" + PowerPortTemplateTypeLabelNEMAL1550P PowerPortTemplateTypeLabel = "NEMA L15-50P" + PowerPortTemplateTypeLabelNEMAL1560P PowerPortTemplateTypeLabel = "NEMA L15-60P" + PowerPortTemplateTypeLabelNEMAL2120P PowerPortTemplateTypeLabel = "NEMA L21-20P" + PowerPortTemplateTypeLabelNEMAL2130P PowerPortTemplateTypeLabel = "NEMA L21-30P" + PowerPortTemplateTypeLabelNEMAL515P PowerPortTemplateTypeLabel = "NEMA L5-15P" + PowerPortTemplateTypeLabelNEMAL520P PowerPortTemplateTypeLabel = "NEMA L5-20P" + PowerPortTemplateTypeLabelNEMAL530P PowerPortTemplateTypeLabel = "NEMA L5-30P" + PowerPortTemplateTypeLabelNEMAL550P PowerPortTemplateTypeLabel = "NEMA L5-50P" + PowerPortTemplateTypeLabelNEMAL615P PowerPortTemplateTypeLabel = "NEMA L6-15P" + PowerPortTemplateTypeLabelNEMAL620P PowerPortTemplateTypeLabel = "NEMA L6-20P" + PowerPortTemplateTypeLabelNEMAL630P PowerPortTemplateTypeLabel = "NEMA L6-30P" + PowerPortTemplateTypeLabelNEMAL650P PowerPortTemplateTypeLabel = "NEMA L6-50P" + PowerPortTemplateTypeLabelPNE4H PowerPortTemplateTypeLabel = "P+N+E 4H" + PowerPortTemplateTypeLabelPNE6H PowerPortTemplateTypeLabel = "P+N+E 6H" + PowerPortTemplateTypeLabelPNE9H PowerPortTemplateTypeLabel = "P+N+E 9H" + PowerPortTemplateTypeLabelUSB30MicroB PowerPortTemplateTypeLabel = "USB 3.0 Micro B" + PowerPortTemplateTypeLabelUSB30TypeB PowerPortTemplateTypeLabel = "USB 3.0 Type B" + PowerPortTemplateTypeLabelUSBMicroA PowerPortTemplateTypeLabel = "USB Micro A" + PowerPortTemplateTypeLabelUSBMicroB PowerPortTemplateTypeLabel = "USB Micro B" + PowerPortTemplateTypeLabelUSBMiniA PowerPortTemplateTypeLabel = "USB Mini A" + PowerPortTemplateTypeLabelUSBMiniB PowerPortTemplateTypeLabel = "USB Mini B" + PowerPortTemplateTypeLabelUSBTypeA PowerPortTemplateTypeLabel = "USB Type A" + PowerPortTemplateTypeLabelUSBTypeB PowerPortTemplateTypeLabel = "USB Type B" + PowerPortTemplateTypeLabelUSBTypeC PowerPortTemplateTypeLabel = "USB Type C" ) // Defines values for PowerPortTemplateTypeValue. const ( - PowerPortTemplateTypeValueCs6361c PowerPortTemplateTypeValue = "cs6361c" - - PowerPortTemplateTypeValueCs6365c PowerPortTemplateTypeValue = "cs6365c" - - PowerPortTemplateTypeValueCs8165c PowerPortTemplateTypeValue = "cs8165c" - - PowerPortTemplateTypeValueCs8265c PowerPortTemplateTypeValue = "cs8265c" - - PowerPortTemplateTypeValueCs8365c PowerPortTemplateTypeValue = "cs8365c" - - PowerPortTemplateTypeValueCs8465c PowerPortTemplateTypeValue = "cs8465c" - - PowerPortTemplateTypeValueIec603092pE4h PowerPortTemplateTypeValue = "iec-60309-2p-e-4h" - - PowerPortTemplateTypeValueIec603092pE6h PowerPortTemplateTypeValue = "iec-60309-2p-e-6h" - - PowerPortTemplateTypeValueIec603092pE9h PowerPortTemplateTypeValue = "iec-60309-2p-e-9h" - - PowerPortTemplateTypeValueIec603093pE4h PowerPortTemplateTypeValue = "iec-60309-3p-e-4h" - - PowerPortTemplateTypeValueIec603093pE6h PowerPortTemplateTypeValue = "iec-60309-3p-e-6h" - - PowerPortTemplateTypeValueIec603093pE9h PowerPortTemplateTypeValue = "iec-60309-3p-e-9h" - + PowerPortTemplateTypeValueCs6361c PowerPortTemplateTypeValue = "cs6361c" + PowerPortTemplateTypeValueCs6365c PowerPortTemplateTypeValue = "cs6365c" + PowerPortTemplateTypeValueCs8165c PowerPortTemplateTypeValue = "cs8165c" + PowerPortTemplateTypeValueCs8265c PowerPortTemplateTypeValue = "cs8265c" + PowerPortTemplateTypeValueCs8365c PowerPortTemplateTypeValue = "cs8365c" + PowerPortTemplateTypeValueCs8465c PowerPortTemplateTypeValue = "cs8465c" + PowerPortTemplateTypeValueIec603092pE4h PowerPortTemplateTypeValue = "iec-60309-2p-e-4h" + PowerPortTemplateTypeValueIec603092pE6h PowerPortTemplateTypeValue = "iec-60309-2p-e-6h" + PowerPortTemplateTypeValueIec603092pE9h PowerPortTemplateTypeValue = "iec-60309-2p-e-9h" + PowerPortTemplateTypeValueIec603093pE4h PowerPortTemplateTypeValue = "iec-60309-3p-e-4h" + PowerPortTemplateTypeValueIec603093pE6h PowerPortTemplateTypeValue = "iec-60309-3p-e-6h" + PowerPortTemplateTypeValueIec603093pE9h PowerPortTemplateTypeValue = "iec-60309-3p-e-9h" PowerPortTemplateTypeValueIec603093pNE4h PowerPortTemplateTypeValue = "iec-60309-3p-n-e-4h" - PowerPortTemplateTypeValueIec603093pNE6h PowerPortTemplateTypeValue = "iec-60309-3p-n-e-6h" - PowerPortTemplateTypeValueIec603093pNE9h PowerPortTemplateTypeValue = "iec-60309-3p-n-e-9h" - - PowerPortTemplateTypeValueIec60309PNE4h PowerPortTemplateTypeValue = "iec-60309-p-n-e-4h" - - PowerPortTemplateTypeValueIec60309PNE6h PowerPortTemplateTypeValue = "iec-60309-p-n-e-6h" - - PowerPortTemplateTypeValueIec60309PNE9h PowerPortTemplateTypeValue = "iec-60309-p-n-e-9h" - - PowerPortTemplateTypeValueIec60320C14 PowerPortTemplateTypeValue = "iec-60320-c14" - - PowerPortTemplateTypeValueIec60320C16 PowerPortTemplateTypeValue = "iec-60320-c16" - - PowerPortTemplateTypeValueIec60320C20 PowerPortTemplateTypeValue = "iec-60320-c20" - - PowerPortTemplateTypeValueIec60320C6 PowerPortTemplateTypeValue = "iec-60320-c6" - - PowerPortTemplateTypeValueIec60320C8 PowerPortTemplateTypeValue = "iec-60320-c8" - - PowerPortTemplateTypeValueItaE PowerPortTemplateTypeValue = "ita-e" - - PowerPortTemplateTypeValueItaEf PowerPortTemplateTypeValue = "ita-ef" - - PowerPortTemplateTypeValueItaF PowerPortTemplateTypeValue = "ita-f" - - PowerPortTemplateTypeValueItaG PowerPortTemplateTypeValue = "ita-g" - - PowerPortTemplateTypeValueItaH PowerPortTemplateTypeValue = "ita-h" - - PowerPortTemplateTypeValueItaI PowerPortTemplateTypeValue = "ita-i" - - PowerPortTemplateTypeValueItaJ PowerPortTemplateTypeValue = "ita-j" - - PowerPortTemplateTypeValueItaK PowerPortTemplateTypeValue = "ita-k" - - PowerPortTemplateTypeValueItaL PowerPortTemplateTypeValue = "ita-l" - - PowerPortTemplateTypeValueItaM PowerPortTemplateTypeValue = "ita-m" - - PowerPortTemplateTypeValueItaN PowerPortTemplateTypeValue = "ita-n" - - PowerPortTemplateTypeValueItaO PowerPortTemplateTypeValue = "ita-o" - - PowerPortTemplateTypeValueNema1030p PowerPortTemplateTypeValue = "nema-10-30p" - - PowerPortTemplateTypeValueNema1050p PowerPortTemplateTypeValue = "nema-10-50p" - - PowerPortTemplateTypeValueNema115p PowerPortTemplateTypeValue = "nema-1-15p" - - PowerPortTemplateTypeValueNema1420p PowerPortTemplateTypeValue = "nema-14-20p" - - PowerPortTemplateTypeValueNema1430p PowerPortTemplateTypeValue = "nema-14-30p" - - PowerPortTemplateTypeValueNema1450p PowerPortTemplateTypeValue = "nema-14-50p" - - PowerPortTemplateTypeValueNema1460p PowerPortTemplateTypeValue = "nema-14-60p" - - PowerPortTemplateTypeValueNema1515p PowerPortTemplateTypeValue = "nema-15-15p" - - PowerPortTemplateTypeValueNema1520p PowerPortTemplateTypeValue = "nema-15-20p" - - PowerPortTemplateTypeValueNema1530p PowerPortTemplateTypeValue = "nema-15-30p" - - PowerPortTemplateTypeValueNema1550p PowerPortTemplateTypeValue = "nema-15-50p" - - PowerPortTemplateTypeValueNema1560p PowerPortTemplateTypeValue = "nema-15-60p" - - PowerPortTemplateTypeValueNema515p PowerPortTemplateTypeValue = "nema-5-15p" - - PowerPortTemplateTypeValueNema520p PowerPortTemplateTypeValue = "nema-5-20p" - - PowerPortTemplateTypeValueNema530p PowerPortTemplateTypeValue = "nema-5-30p" - - PowerPortTemplateTypeValueNema550p PowerPortTemplateTypeValue = "nema-5-50p" - - PowerPortTemplateTypeValueNema615p PowerPortTemplateTypeValue = "nema-6-15p" - - PowerPortTemplateTypeValueNema620p PowerPortTemplateTypeValue = "nema-6-20p" - - PowerPortTemplateTypeValueNema630p PowerPortTemplateTypeValue = "nema-6-30p" - - PowerPortTemplateTypeValueNema650p PowerPortTemplateTypeValue = "nema-6-50p" - - PowerPortTemplateTypeValueNemaL1030p PowerPortTemplateTypeValue = "nema-l10-30p" - - PowerPortTemplateTypeValueNemaL115p PowerPortTemplateTypeValue = "nema-l1-15p" - - PowerPortTemplateTypeValueNemaL1420p PowerPortTemplateTypeValue = "nema-l14-20p" - - PowerPortTemplateTypeValueNemaL1430p PowerPortTemplateTypeValue = "nema-l14-30p" - - PowerPortTemplateTypeValueNemaL1450p PowerPortTemplateTypeValue = "nema-l14-50p" - - PowerPortTemplateTypeValueNemaL1460p PowerPortTemplateTypeValue = "nema-l14-60p" - - PowerPortTemplateTypeValueNemaL1520p PowerPortTemplateTypeValue = "nema-l15-20p" - - PowerPortTemplateTypeValueNemaL1530p PowerPortTemplateTypeValue = "nema-l15-30p" - - PowerPortTemplateTypeValueNemaL1550p PowerPortTemplateTypeValue = "nema-l15-50p" - - PowerPortTemplateTypeValueNemaL1560p PowerPortTemplateTypeValue = "nema-l15-60p" - - PowerPortTemplateTypeValueNemaL2120p PowerPortTemplateTypeValue = "nema-l21-20p" - - PowerPortTemplateTypeValueNemaL2130p PowerPortTemplateTypeValue = "nema-l21-30p" - - PowerPortTemplateTypeValueNemaL515p PowerPortTemplateTypeValue = "nema-l5-15p" - - PowerPortTemplateTypeValueNemaL520p PowerPortTemplateTypeValue = "nema-l5-20p" - - PowerPortTemplateTypeValueNemaL530p PowerPortTemplateTypeValue = "nema-l5-30p" - - PowerPortTemplateTypeValueNemaL550p PowerPortTemplateTypeValue = "nema-l5-50p" - - PowerPortTemplateTypeValueNemaL615p PowerPortTemplateTypeValue = "nema-l6-15p" - - PowerPortTemplateTypeValueNemaL620p PowerPortTemplateTypeValue = "nema-l6-20p" - - PowerPortTemplateTypeValueNemaL630p PowerPortTemplateTypeValue = "nema-l6-30p" - - PowerPortTemplateTypeValueNemaL650p PowerPortTemplateTypeValue = "nema-l6-50p" - - PowerPortTemplateTypeValueUsb3B PowerPortTemplateTypeValue = "usb-3-b" - - PowerPortTemplateTypeValueUsb3MicroB PowerPortTemplateTypeValue = "usb-3-micro-b" - - PowerPortTemplateTypeValueUsbA PowerPortTemplateTypeValue = "usb-a" - - PowerPortTemplateTypeValueUsbB PowerPortTemplateTypeValue = "usb-b" - - PowerPortTemplateTypeValueUsbC PowerPortTemplateTypeValue = "usb-c" - - PowerPortTemplateTypeValueUsbMicroA PowerPortTemplateTypeValue = "usb-micro-a" - - PowerPortTemplateTypeValueUsbMicroB PowerPortTemplateTypeValue = "usb-micro-b" - - PowerPortTemplateTypeValueUsbMiniA PowerPortTemplateTypeValue = "usb-mini-a" - - PowerPortTemplateTypeValueUsbMiniB PowerPortTemplateTypeValue = "usb-mini-b" + PowerPortTemplateTypeValueIec60309PNE4h PowerPortTemplateTypeValue = "iec-60309-p-n-e-4h" + PowerPortTemplateTypeValueIec60309PNE6h PowerPortTemplateTypeValue = "iec-60309-p-n-e-6h" + PowerPortTemplateTypeValueIec60309PNE9h PowerPortTemplateTypeValue = "iec-60309-p-n-e-9h" + PowerPortTemplateTypeValueIec60320C14 PowerPortTemplateTypeValue = "iec-60320-c14" + PowerPortTemplateTypeValueIec60320C16 PowerPortTemplateTypeValue = "iec-60320-c16" + PowerPortTemplateTypeValueIec60320C20 PowerPortTemplateTypeValue = "iec-60320-c20" + PowerPortTemplateTypeValueIec60320C6 PowerPortTemplateTypeValue = "iec-60320-c6" + PowerPortTemplateTypeValueIec60320C8 PowerPortTemplateTypeValue = "iec-60320-c8" + PowerPortTemplateTypeValueItaE PowerPortTemplateTypeValue = "ita-e" + PowerPortTemplateTypeValueItaEf PowerPortTemplateTypeValue = "ita-ef" + PowerPortTemplateTypeValueItaF PowerPortTemplateTypeValue = "ita-f" + PowerPortTemplateTypeValueItaG PowerPortTemplateTypeValue = "ita-g" + PowerPortTemplateTypeValueItaH PowerPortTemplateTypeValue = "ita-h" + PowerPortTemplateTypeValueItaI PowerPortTemplateTypeValue = "ita-i" + PowerPortTemplateTypeValueItaJ PowerPortTemplateTypeValue = "ita-j" + PowerPortTemplateTypeValueItaK PowerPortTemplateTypeValue = "ita-k" + PowerPortTemplateTypeValueItaL PowerPortTemplateTypeValue = "ita-l" + PowerPortTemplateTypeValueItaM PowerPortTemplateTypeValue = "ita-m" + PowerPortTemplateTypeValueItaN PowerPortTemplateTypeValue = "ita-n" + PowerPortTemplateTypeValueItaO PowerPortTemplateTypeValue = "ita-o" + PowerPortTemplateTypeValueNema1030p PowerPortTemplateTypeValue = "nema-10-30p" + PowerPortTemplateTypeValueNema1050p PowerPortTemplateTypeValue = "nema-10-50p" + PowerPortTemplateTypeValueNema115p PowerPortTemplateTypeValue = "nema-1-15p" + PowerPortTemplateTypeValueNema1420p PowerPortTemplateTypeValue = "nema-14-20p" + PowerPortTemplateTypeValueNema1430p PowerPortTemplateTypeValue = "nema-14-30p" + PowerPortTemplateTypeValueNema1450p PowerPortTemplateTypeValue = "nema-14-50p" + PowerPortTemplateTypeValueNema1460p PowerPortTemplateTypeValue = "nema-14-60p" + PowerPortTemplateTypeValueNema1515p PowerPortTemplateTypeValue = "nema-15-15p" + PowerPortTemplateTypeValueNema1520p PowerPortTemplateTypeValue = "nema-15-20p" + PowerPortTemplateTypeValueNema1530p PowerPortTemplateTypeValue = "nema-15-30p" + PowerPortTemplateTypeValueNema1550p PowerPortTemplateTypeValue = "nema-15-50p" + PowerPortTemplateTypeValueNema1560p PowerPortTemplateTypeValue = "nema-15-60p" + PowerPortTemplateTypeValueNema515p PowerPortTemplateTypeValue = "nema-5-15p" + PowerPortTemplateTypeValueNema520p PowerPortTemplateTypeValue = "nema-5-20p" + PowerPortTemplateTypeValueNema530p PowerPortTemplateTypeValue = "nema-5-30p" + PowerPortTemplateTypeValueNema550p PowerPortTemplateTypeValue = "nema-5-50p" + PowerPortTemplateTypeValueNema615p PowerPortTemplateTypeValue = "nema-6-15p" + PowerPortTemplateTypeValueNema620p PowerPortTemplateTypeValue = "nema-6-20p" + PowerPortTemplateTypeValueNema630p PowerPortTemplateTypeValue = "nema-6-30p" + PowerPortTemplateTypeValueNema650p PowerPortTemplateTypeValue = "nema-6-50p" + PowerPortTemplateTypeValueNemaL1030p PowerPortTemplateTypeValue = "nema-l10-30p" + PowerPortTemplateTypeValueNemaL115p PowerPortTemplateTypeValue = "nema-l1-15p" + PowerPortTemplateTypeValueNemaL1420p PowerPortTemplateTypeValue = "nema-l14-20p" + PowerPortTemplateTypeValueNemaL1430p PowerPortTemplateTypeValue = "nema-l14-30p" + PowerPortTemplateTypeValueNemaL1450p PowerPortTemplateTypeValue = "nema-l14-50p" + PowerPortTemplateTypeValueNemaL1460p PowerPortTemplateTypeValue = "nema-l14-60p" + PowerPortTemplateTypeValueNemaL1520p PowerPortTemplateTypeValue = "nema-l15-20p" + PowerPortTemplateTypeValueNemaL1530p PowerPortTemplateTypeValue = "nema-l15-30p" + PowerPortTemplateTypeValueNemaL1550p PowerPortTemplateTypeValue = "nema-l15-50p" + PowerPortTemplateTypeValueNemaL1560p PowerPortTemplateTypeValue = "nema-l15-60p" + PowerPortTemplateTypeValueNemaL2120p PowerPortTemplateTypeValue = "nema-l21-20p" + PowerPortTemplateTypeValueNemaL2130p PowerPortTemplateTypeValue = "nema-l21-30p" + PowerPortTemplateTypeValueNemaL515p PowerPortTemplateTypeValue = "nema-l5-15p" + PowerPortTemplateTypeValueNemaL520p PowerPortTemplateTypeValue = "nema-l5-20p" + PowerPortTemplateTypeValueNemaL530p PowerPortTemplateTypeValue = "nema-l5-30p" + PowerPortTemplateTypeValueNemaL550p PowerPortTemplateTypeValue = "nema-l5-50p" + PowerPortTemplateTypeValueNemaL615p PowerPortTemplateTypeValue = "nema-l6-15p" + PowerPortTemplateTypeValueNemaL620p PowerPortTemplateTypeValue = "nema-l6-20p" + PowerPortTemplateTypeValueNemaL630p PowerPortTemplateTypeValue = "nema-l6-30p" + PowerPortTemplateTypeValueNemaL650p PowerPortTemplateTypeValue = "nema-l6-50p" + PowerPortTemplateTypeValueUsb3B PowerPortTemplateTypeValue = "usb-3-b" + PowerPortTemplateTypeValueUsb3MicroB PowerPortTemplateTypeValue = "usb-3-micro-b" + PowerPortTemplateTypeValueUsbA PowerPortTemplateTypeValue = "usb-a" + PowerPortTemplateTypeValueUsbB PowerPortTemplateTypeValue = "usb-b" + PowerPortTemplateTypeValueUsbC PowerPortTemplateTypeValue = "usb-c" + PowerPortTemplateTypeValueUsbMicroA PowerPortTemplateTypeValue = "usb-micro-a" + PowerPortTemplateTypeValueUsbMicroB PowerPortTemplateTypeValue = "usb-micro-b" + PowerPortTemplateTypeValueUsbMiniA PowerPortTemplateTypeValue = "usb-mini-a" + PowerPortTemplateTypeValueUsbMiniB PowerPortTemplateTypeValue = "usb-mini-b" ) // Defines values for PowerPortTypeChoices. const ( - PowerPortTypeChoicesCs6361c PowerPortTypeChoices = "cs6361c" - - PowerPortTypeChoicesCs6365c PowerPortTypeChoices = "cs6365c" - - PowerPortTypeChoicesCs8165c PowerPortTypeChoices = "cs8165c" - - PowerPortTypeChoicesCs8265c PowerPortTypeChoices = "cs8265c" - - PowerPortTypeChoicesCs8365c PowerPortTypeChoices = "cs8365c" - - PowerPortTypeChoicesCs8465c PowerPortTypeChoices = "cs8465c" - - PowerPortTypeChoicesIec603092pE4h PowerPortTypeChoices = "iec-60309-2p-e-4h" - - PowerPortTypeChoicesIec603092pE6h PowerPortTypeChoices = "iec-60309-2p-e-6h" - - PowerPortTypeChoicesIec603092pE9h PowerPortTypeChoices = "iec-60309-2p-e-9h" - - PowerPortTypeChoicesIec603093pE4h PowerPortTypeChoices = "iec-60309-3p-e-4h" - - PowerPortTypeChoicesIec603093pE6h PowerPortTypeChoices = "iec-60309-3p-e-6h" - - PowerPortTypeChoicesIec603093pE9h PowerPortTypeChoices = "iec-60309-3p-e-9h" - + PowerPortTypeChoicesCs6361c PowerPortTypeChoices = "cs6361c" + PowerPortTypeChoicesCs6365c PowerPortTypeChoices = "cs6365c" + PowerPortTypeChoicesCs8165c PowerPortTypeChoices = "cs8165c" + PowerPortTypeChoicesCs8265c PowerPortTypeChoices = "cs8265c" + PowerPortTypeChoicesCs8365c PowerPortTypeChoices = "cs8365c" + PowerPortTypeChoicesCs8465c PowerPortTypeChoices = "cs8465c" + PowerPortTypeChoicesIec603092pE4h PowerPortTypeChoices = "iec-60309-2p-e-4h" + PowerPortTypeChoicesIec603092pE6h PowerPortTypeChoices = "iec-60309-2p-e-6h" + PowerPortTypeChoicesIec603092pE9h PowerPortTypeChoices = "iec-60309-2p-e-9h" + PowerPortTypeChoicesIec603093pE4h PowerPortTypeChoices = "iec-60309-3p-e-4h" + PowerPortTypeChoicesIec603093pE6h PowerPortTypeChoices = "iec-60309-3p-e-6h" + PowerPortTypeChoicesIec603093pE9h PowerPortTypeChoices = "iec-60309-3p-e-9h" PowerPortTypeChoicesIec603093pNE4h PowerPortTypeChoices = "iec-60309-3p-n-e-4h" - PowerPortTypeChoicesIec603093pNE6h PowerPortTypeChoices = "iec-60309-3p-n-e-6h" - PowerPortTypeChoicesIec603093pNE9h PowerPortTypeChoices = "iec-60309-3p-n-e-9h" - - PowerPortTypeChoicesIec60309PNE4h PowerPortTypeChoices = "iec-60309-p-n-e-4h" - - PowerPortTypeChoicesIec60309PNE6h PowerPortTypeChoices = "iec-60309-p-n-e-6h" - - PowerPortTypeChoicesIec60309PNE9h PowerPortTypeChoices = "iec-60309-p-n-e-9h" - - PowerPortTypeChoicesIec60320C14 PowerPortTypeChoices = "iec-60320-c14" - - PowerPortTypeChoicesIec60320C16 PowerPortTypeChoices = "iec-60320-c16" - - PowerPortTypeChoicesIec60320C20 PowerPortTypeChoices = "iec-60320-c20" - - PowerPortTypeChoicesIec60320C6 PowerPortTypeChoices = "iec-60320-c6" - - PowerPortTypeChoicesIec60320C8 PowerPortTypeChoices = "iec-60320-c8" - - PowerPortTypeChoicesItaE PowerPortTypeChoices = "ita-e" - - PowerPortTypeChoicesItaEf PowerPortTypeChoices = "ita-ef" - - PowerPortTypeChoicesItaF PowerPortTypeChoices = "ita-f" - - PowerPortTypeChoicesItaG PowerPortTypeChoices = "ita-g" - - PowerPortTypeChoicesItaH PowerPortTypeChoices = "ita-h" - - PowerPortTypeChoicesItaI PowerPortTypeChoices = "ita-i" - - PowerPortTypeChoicesItaJ PowerPortTypeChoices = "ita-j" - - PowerPortTypeChoicesItaK PowerPortTypeChoices = "ita-k" - - PowerPortTypeChoicesItaL PowerPortTypeChoices = "ita-l" - - PowerPortTypeChoicesItaM PowerPortTypeChoices = "ita-m" - - PowerPortTypeChoicesItaN PowerPortTypeChoices = "ita-n" - - PowerPortTypeChoicesItaO PowerPortTypeChoices = "ita-o" - - PowerPortTypeChoicesNema1030p PowerPortTypeChoices = "nema-10-30p" - - PowerPortTypeChoicesNema1050p PowerPortTypeChoices = "nema-10-50p" - - PowerPortTypeChoicesNema115p PowerPortTypeChoices = "nema-1-15p" - - PowerPortTypeChoicesNema1420p PowerPortTypeChoices = "nema-14-20p" - - PowerPortTypeChoicesNema1430p PowerPortTypeChoices = "nema-14-30p" - - PowerPortTypeChoicesNema1450p PowerPortTypeChoices = "nema-14-50p" - - PowerPortTypeChoicesNema1460p PowerPortTypeChoices = "nema-14-60p" - - PowerPortTypeChoicesNema1515p PowerPortTypeChoices = "nema-15-15p" - - PowerPortTypeChoicesNema1520p PowerPortTypeChoices = "nema-15-20p" - - PowerPortTypeChoicesNema1530p PowerPortTypeChoices = "nema-15-30p" - - PowerPortTypeChoicesNema1550p PowerPortTypeChoices = "nema-15-50p" - - PowerPortTypeChoicesNema1560p PowerPortTypeChoices = "nema-15-60p" - - PowerPortTypeChoicesNema515p PowerPortTypeChoices = "nema-5-15p" - - PowerPortTypeChoicesNema520p PowerPortTypeChoices = "nema-5-20p" - - PowerPortTypeChoicesNema530p PowerPortTypeChoices = "nema-5-30p" - - PowerPortTypeChoicesNema550p PowerPortTypeChoices = "nema-5-50p" - - PowerPortTypeChoicesNema615p PowerPortTypeChoices = "nema-6-15p" - - PowerPortTypeChoicesNema620p PowerPortTypeChoices = "nema-6-20p" - - PowerPortTypeChoicesNema630p PowerPortTypeChoices = "nema-6-30p" - - PowerPortTypeChoicesNema650p PowerPortTypeChoices = "nema-6-50p" - - PowerPortTypeChoicesNemaL1030p PowerPortTypeChoices = "nema-l10-30p" - - PowerPortTypeChoicesNemaL115p PowerPortTypeChoices = "nema-l1-15p" - - PowerPortTypeChoicesNemaL1420p PowerPortTypeChoices = "nema-l14-20p" - - PowerPortTypeChoicesNemaL1430p PowerPortTypeChoices = "nema-l14-30p" - - PowerPortTypeChoicesNemaL1450p PowerPortTypeChoices = "nema-l14-50p" - - PowerPortTypeChoicesNemaL1460p PowerPortTypeChoices = "nema-l14-60p" - - PowerPortTypeChoicesNemaL1520p PowerPortTypeChoices = "nema-l15-20p" - - PowerPortTypeChoicesNemaL1530p PowerPortTypeChoices = "nema-l15-30p" - - PowerPortTypeChoicesNemaL1550p PowerPortTypeChoices = "nema-l15-50p" - - PowerPortTypeChoicesNemaL1560p PowerPortTypeChoices = "nema-l15-60p" - - PowerPortTypeChoicesNemaL2120p PowerPortTypeChoices = "nema-l21-20p" - - PowerPortTypeChoicesNemaL2130p PowerPortTypeChoices = "nema-l21-30p" - - PowerPortTypeChoicesNemaL515p PowerPortTypeChoices = "nema-l5-15p" - - PowerPortTypeChoicesNemaL520p PowerPortTypeChoices = "nema-l5-20p" - - PowerPortTypeChoicesNemaL530p PowerPortTypeChoices = "nema-l5-30p" - - PowerPortTypeChoicesNemaL550p PowerPortTypeChoices = "nema-l5-50p" - - PowerPortTypeChoicesNemaL615p PowerPortTypeChoices = "nema-l6-15p" - - PowerPortTypeChoicesNemaL620p PowerPortTypeChoices = "nema-l6-20p" - - PowerPortTypeChoicesNemaL630p PowerPortTypeChoices = "nema-l6-30p" - - PowerPortTypeChoicesNemaL650p PowerPortTypeChoices = "nema-l6-50p" - - PowerPortTypeChoicesUsb3B PowerPortTypeChoices = "usb-3-b" - - PowerPortTypeChoicesUsb3MicroB PowerPortTypeChoices = "usb-3-micro-b" - - PowerPortTypeChoicesUsbA PowerPortTypeChoices = "usb-a" - - PowerPortTypeChoicesUsbB PowerPortTypeChoices = "usb-b" - - PowerPortTypeChoicesUsbC PowerPortTypeChoices = "usb-c" - - PowerPortTypeChoicesUsbMicroA PowerPortTypeChoices = "usb-micro-a" - - PowerPortTypeChoicesUsbMicroB PowerPortTypeChoices = "usb-micro-b" - - PowerPortTypeChoicesUsbMiniA PowerPortTypeChoices = "usb-mini-a" - - PowerPortTypeChoicesUsbMiniB PowerPortTypeChoices = "usb-mini-b" + PowerPortTypeChoicesIec60309PNE4h PowerPortTypeChoices = "iec-60309-p-n-e-4h" + PowerPortTypeChoicesIec60309PNE6h PowerPortTypeChoices = "iec-60309-p-n-e-6h" + PowerPortTypeChoicesIec60309PNE9h PowerPortTypeChoices = "iec-60309-p-n-e-9h" + PowerPortTypeChoicesIec60320C14 PowerPortTypeChoices = "iec-60320-c14" + PowerPortTypeChoicesIec60320C16 PowerPortTypeChoices = "iec-60320-c16" + PowerPortTypeChoicesIec60320C20 PowerPortTypeChoices = "iec-60320-c20" + PowerPortTypeChoicesIec60320C6 PowerPortTypeChoices = "iec-60320-c6" + PowerPortTypeChoicesIec60320C8 PowerPortTypeChoices = "iec-60320-c8" + PowerPortTypeChoicesItaE PowerPortTypeChoices = "ita-e" + PowerPortTypeChoicesItaEf PowerPortTypeChoices = "ita-ef" + PowerPortTypeChoicesItaF PowerPortTypeChoices = "ita-f" + PowerPortTypeChoicesItaG PowerPortTypeChoices = "ita-g" + PowerPortTypeChoicesItaH PowerPortTypeChoices = "ita-h" + PowerPortTypeChoicesItaI PowerPortTypeChoices = "ita-i" + PowerPortTypeChoicesItaJ PowerPortTypeChoices = "ita-j" + PowerPortTypeChoicesItaK PowerPortTypeChoices = "ita-k" + PowerPortTypeChoicesItaL PowerPortTypeChoices = "ita-l" + PowerPortTypeChoicesItaM PowerPortTypeChoices = "ita-m" + PowerPortTypeChoicesItaN PowerPortTypeChoices = "ita-n" + PowerPortTypeChoicesItaO PowerPortTypeChoices = "ita-o" + PowerPortTypeChoicesNema1030p PowerPortTypeChoices = "nema-10-30p" + PowerPortTypeChoicesNema1050p PowerPortTypeChoices = "nema-10-50p" + PowerPortTypeChoicesNema115p PowerPortTypeChoices = "nema-1-15p" + PowerPortTypeChoicesNema1420p PowerPortTypeChoices = "nema-14-20p" + PowerPortTypeChoicesNema1430p PowerPortTypeChoices = "nema-14-30p" + PowerPortTypeChoicesNema1450p PowerPortTypeChoices = "nema-14-50p" + PowerPortTypeChoicesNema1460p PowerPortTypeChoices = "nema-14-60p" + PowerPortTypeChoicesNema1515p PowerPortTypeChoices = "nema-15-15p" + PowerPortTypeChoicesNema1520p PowerPortTypeChoices = "nema-15-20p" + PowerPortTypeChoicesNema1530p PowerPortTypeChoices = "nema-15-30p" + PowerPortTypeChoicesNema1550p PowerPortTypeChoices = "nema-15-50p" + PowerPortTypeChoicesNema1560p PowerPortTypeChoices = "nema-15-60p" + PowerPortTypeChoicesNema515p PowerPortTypeChoices = "nema-5-15p" + PowerPortTypeChoicesNema520p PowerPortTypeChoices = "nema-5-20p" + PowerPortTypeChoicesNema530p PowerPortTypeChoices = "nema-5-30p" + PowerPortTypeChoicesNema550p PowerPortTypeChoices = "nema-5-50p" + PowerPortTypeChoicesNema615p PowerPortTypeChoices = "nema-6-15p" + PowerPortTypeChoicesNema620p PowerPortTypeChoices = "nema-6-20p" + PowerPortTypeChoicesNema630p PowerPortTypeChoices = "nema-6-30p" + PowerPortTypeChoicesNema650p PowerPortTypeChoices = "nema-6-50p" + PowerPortTypeChoicesNemaL1030p PowerPortTypeChoices = "nema-l10-30p" + PowerPortTypeChoicesNemaL115p PowerPortTypeChoices = "nema-l1-15p" + PowerPortTypeChoicesNemaL1420p PowerPortTypeChoices = "nema-l14-20p" + PowerPortTypeChoicesNemaL1430p PowerPortTypeChoices = "nema-l14-30p" + PowerPortTypeChoicesNemaL1450p PowerPortTypeChoices = "nema-l14-50p" + PowerPortTypeChoicesNemaL1460p PowerPortTypeChoices = "nema-l14-60p" + PowerPortTypeChoicesNemaL1520p PowerPortTypeChoices = "nema-l15-20p" + PowerPortTypeChoicesNemaL1530p PowerPortTypeChoices = "nema-l15-30p" + PowerPortTypeChoicesNemaL1550p PowerPortTypeChoices = "nema-l15-50p" + PowerPortTypeChoicesNemaL1560p PowerPortTypeChoices = "nema-l15-60p" + PowerPortTypeChoicesNemaL2120p PowerPortTypeChoices = "nema-l21-20p" + PowerPortTypeChoicesNemaL2130p PowerPortTypeChoices = "nema-l21-30p" + PowerPortTypeChoicesNemaL515p PowerPortTypeChoices = "nema-l5-15p" + PowerPortTypeChoicesNemaL520p PowerPortTypeChoices = "nema-l5-20p" + PowerPortTypeChoicesNemaL530p PowerPortTypeChoices = "nema-l5-30p" + PowerPortTypeChoicesNemaL550p PowerPortTypeChoices = "nema-l5-50p" + PowerPortTypeChoicesNemaL615p PowerPortTypeChoices = "nema-l6-15p" + PowerPortTypeChoicesNemaL620p PowerPortTypeChoices = "nema-l6-20p" + PowerPortTypeChoicesNemaL630p PowerPortTypeChoices = "nema-l6-30p" + PowerPortTypeChoicesNemaL650p PowerPortTypeChoices = "nema-l6-50p" + PowerPortTypeChoicesUsb3B PowerPortTypeChoices = "usb-3-b" + PowerPortTypeChoicesUsb3MicroB PowerPortTypeChoices = "usb-3-micro-b" + PowerPortTypeChoicesUsbA PowerPortTypeChoices = "usb-a" + PowerPortTypeChoicesUsbB PowerPortTypeChoices = "usb-b" + PowerPortTypeChoicesUsbC PowerPortTypeChoices = "usb-c" + PowerPortTypeChoicesUsbMicroA PowerPortTypeChoices = "usb-micro-a" + PowerPortTypeChoicesUsbMicroB PowerPortTypeChoices = "usb-micro-b" + PowerPortTypeChoicesUsbMiniA PowerPortTypeChoices = "usb-mini-a" + PowerPortTypeChoicesUsbMiniB PowerPortTypeChoices = "usb-mini-b" ) // Defines values for PrefixFamilyLabel. const ( - PrefixFamilyLabelIPv4 PrefixFamilyLabel = "IPv4" - - PrefixFamilyLabelIPv6 PrefixFamilyLabel = "IPv6" + IPv4 PrefixFamilyLabel = "IPv4" + IPv6 PrefixFamilyLabel = "IPv6" ) // Defines values for PrefixFamilyValue. const ( - PrefixFamilyValueN4 PrefixFamilyValue = 4 - - PrefixFamilyValueN6 PrefixFamilyValue = 6 + N4 PrefixFamilyValue = 4 + N6 PrefixFamilyValue = 6 ) // Defines values for PrefixStatusLabel. const ( - PrefixStatusLabelActive PrefixStatusLabel = "Active" - - PrefixStatusLabelContainer PrefixStatusLabel = "Container" - + PrefixStatusLabelActive PrefixStatusLabel = "Active" + PrefixStatusLabelContainer PrefixStatusLabel = "Container" PrefixStatusLabelDeprecated PrefixStatusLabel = "Deprecated" - PrefixStatusLabelPeerToPeer PrefixStatusLabel = "Peer-to-Peer" - - PrefixStatusLabelReserved PrefixStatusLabel = "Reserved" + PrefixStatusLabelReserved PrefixStatusLabel = "Reserved" ) // Defines values for PrefixStatusValue. const ( - PrefixStatusValueActive PrefixStatusValue = "active" - - PrefixStatusValueContainer PrefixStatusValue = "container" - + PrefixStatusValueActive PrefixStatusValue = "active" + PrefixStatusValueContainer PrefixStatusValue = "container" PrefixStatusValueDeprecated PrefixStatusValue = "deprecated" + PrefixStatusValueP2p PrefixStatusValue = "p2p" + PrefixStatusValueReserved PrefixStatusValue = "reserved" +) - PrefixStatusValueP2p PrefixStatusValue = "p2p" - - PrefixStatusValueReserved PrefixStatusValue = "reserved" +// Defines values for PrefixStatusChoices. +const ( + PrefixStatusChoicesActive PrefixStatusChoices = "active" + PrefixStatusChoicesContainer PrefixStatusChoices = "container" + PrefixStatusChoicesDeprecated PrefixStatusChoices = "deprecated" + PrefixStatusChoicesP2p PrefixStatusChoices = "p2p" + PrefixStatusChoicesReserved PrefixStatusChoices = "reserved" ) // Defines values for ProtocolEnum. const ( ProtocolEnumTcp ProtocolEnum = "tcp" - ProtocolEnumUdp ProtocolEnum = "udp" ) // Defines values for ProvidedContentsEnum. const ( - ProvidedContentsEnumExtrasConfigcontext ProvidedContentsEnum = "extras.configcontext" - - ProvidedContentsEnumExtrasConfigcontextschema ProvidedContentsEnum = "extras.configcontextschema" - - ProvidedContentsEnumExtrasExporttemplate ProvidedContentsEnum = "extras.exporttemplate" - - ProvidedContentsEnumExtrasJob ProvidedContentsEnum = "extras.job" - - ProvidedContentsEnumNautobotGoldenConfigBackupconfigs ProvidedContentsEnum = "nautobot_golden_config.backupconfigs" - - ProvidedContentsEnumNautobotGoldenConfigIntendedconfigs ProvidedContentsEnum = "nautobot_golden_config.intendedconfigs" - - ProvidedContentsEnumNautobotGoldenConfigJinjatemplate ProvidedContentsEnum = "nautobot_golden_config.jinjatemplate" - - ProvidedContentsEnumNautobotGoldenConfigPluginproperties ProvidedContentsEnum = "nautobot_golden_config.pluginproperties" + ExtrasConfigcontext ProvidedContentsEnum = "extras.configcontext" + ExtrasConfigcontextschema ProvidedContentsEnum = "extras.configcontextschema" + ExtrasExporttemplate ProvidedContentsEnum = "extras.exporttemplate" + ExtrasJob ProvidedContentsEnum = "extras.job" + NautobotGoldenConfigBackupconfigs ProvidedContentsEnum = "nautobot_golden_config.backupconfigs" + NautobotGoldenConfigIntendedconfigs ProvidedContentsEnum = "nautobot_golden_config.intendedconfigs" + NautobotGoldenConfigJinjatemplate ProvidedContentsEnum = "nautobot_golden_config.jinjatemplate" + NautobotGoldenConfigPluginproperties ProvidedContentsEnum = "nautobot_golden_config.pluginproperties" ) // Defines values for RackOuterUnitLabel. const ( - RackOuterUnitLabelInches RackOuterUnitLabel = "Inches" - + RackOuterUnitLabelInches RackOuterUnitLabel = "Inches" RackOuterUnitLabelMillimeters RackOuterUnitLabel = "Millimeters" ) // Defines values for RackOuterUnitValue. const ( RackOuterUnitValueIn RackOuterUnitValue = "in" - RackOuterUnitValueMm RackOuterUnitValue = "mm" ) // Defines values for RackStatusLabel. const ( - RackStatusLabelActive RackStatusLabel = "Active" - - RackStatusLabelAvailable RackStatusLabel = "Available" - + RackStatusLabelActive RackStatusLabel = "Active" + RackStatusLabelAvailable RackStatusLabel = "Available" RackStatusLabelDeprecated RackStatusLabel = "Deprecated" - - RackStatusLabelPlanned RackStatusLabel = "Planned" - - RackStatusLabelReserved RackStatusLabel = "Reserved" + RackStatusLabelPlanned RackStatusLabel = "Planned" + RackStatusLabelReserved RackStatusLabel = "Reserved" ) // Defines values for RackStatusValue. const ( - RackStatusValueActive RackStatusValue = "active" - - RackStatusValueAvailable RackStatusValue = "available" - + RackStatusValueActive RackStatusValue = "active" + RackStatusValueAvailable RackStatusValue = "available" RackStatusValueDeprecated RackStatusValue = "deprecated" - - RackStatusValuePlanned RackStatusValue = "planned" - - RackStatusValueReserved RackStatusValue = "reserved" + RackStatusValuePlanned RackStatusValue = "planned" + RackStatusValueReserved RackStatusValue = "reserved" ) // Defines values for RackTypeLabel. const ( - RackTypeLabelN2PostFrame RackTypeLabel = "2-post frame" - - RackTypeLabelN4PostCabinet RackTypeLabel = "4-post cabinet" - - RackTypeLabelN4PostFrame RackTypeLabel = "4-post frame" - + RackTypeLabelN2PostFrame RackTypeLabel = "2-post frame" + RackTypeLabelN4PostCabinet RackTypeLabel = "4-post cabinet" + RackTypeLabelN4PostFrame RackTypeLabel = "4-post frame" RackTypeLabelWallMountedCabinet RackTypeLabel = "Wall-mounted cabinet" - - RackTypeLabelWallMountedFrame RackTypeLabel = "Wall-mounted frame" + RackTypeLabelWallMountedFrame RackTypeLabel = "Wall-mounted frame" ) // Defines values for RackTypeValue. const ( - RackTypeValueN2PostFrame RackTypeValue = "2-post-frame" - + RackTypeValueN2PostFrame RackTypeValue = "2-post-frame" RackTypeValueN4PostCabinet RackTypeValue = "4-post-cabinet" - - RackTypeValueN4PostFrame RackTypeValue = "4-post-frame" - - RackTypeValueWallCabinet RackTypeValue = "wall-cabinet" - - RackTypeValueWallFrame RackTypeValue = "wall-frame" + RackTypeValueN4PostFrame RackTypeValue = "4-post-frame" + RackTypeValueWallCabinet RackTypeValue = "wall-cabinet" + RackTypeValueWallFrame RackTypeValue = "wall-frame" ) // Defines values for RackWidthLabel. const ( - RackWidthLabelN10Inches RackWidthLabel = "10 inches" - - RackWidthLabelN19Inches RackWidthLabel = "19 inches" - - RackWidthLabelN21Inches RackWidthLabel = "21 inches" - - RackWidthLabelN23Inches RackWidthLabel = "23 inches" + N10Inches RackWidthLabel = "10 inches" + N19Inches RackWidthLabel = "19 inches" + N21Inches RackWidthLabel = "21 inches" + N23Inches RackWidthLabel = "23 inches" ) // Defines values for RackWidthValue. const ( RackWidthValueN10 RackWidthValue = 10 - RackWidthValueN19 RackWidthValue = 19 - RackWidthValueN21 RackWidthValue = 21 - RackWidthValueN23 RackWidthValue = 23 ) +// Defines values for RackStatusChoices. +const ( + RackStatusChoicesActive RackStatusChoices = "active" + RackStatusChoicesAvailable RackStatusChoices = "available" + RackStatusChoicesDeprecated RackStatusChoices = "deprecated" + RackStatusChoicesPlanned RackStatusChoices = "planned" + RackStatusChoicesReserved RackStatusChoices = "reserved" +) + // Defines values for RackTypeChoices. const ( - RackTypeChoicesN2PostFrame RackTypeChoices = "2-post-frame" - - RackTypeChoicesN4PostCabinet RackTypeChoices = "4-post-cabinet" - - RackTypeChoicesN4PostFrame RackTypeChoices = "4-post-frame" - - RackTypeChoicesWallCabinet RackTypeChoices = "wall-cabinet" - - RackTypeChoicesWallFrame RackTypeChoices = "wall-frame" + N2PostFrame RackTypeChoices = "2-post-frame" + N4PostCabinet RackTypeChoices = "4-post-cabinet" + N4PostFrame RackTypeChoices = "4-post-frame" + WallCabinet RackTypeChoices = "wall-cabinet" + WallFrame RackTypeChoices = "wall-frame" ) // Defines values for RackUnitFaceLabel. const ( RackUnitFaceLabelFront RackUnitFaceLabel = "Front" - - RackUnitFaceLabelRear RackUnitFaceLabel = "Rear" + RackUnitFaceLabelRear RackUnitFaceLabel = "Rear" ) // Defines values for RackUnitFaceValue. const ( RackUnitFaceValueFront RackUnitFaceValue = "front" - - RackUnitFaceValueRear RackUnitFaceValue = "rear" + RackUnitFaceValueRear RackUnitFaceValue = "rear" ) // Defines values for RearPortTypeLabel. const ( - RearPortTypeLabelBNC RearPortTypeLabel = "BNC" - - RearPortTypeLabelCS RearPortTypeLabel = "CS" - - RearPortTypeLabelFC RearPortTypeLabel = "FC" - - RearPortTypeLabelGG45 RearPortTypeLabel = "GG45" - - RearPortTypeLabelLC RearPortTypeLabel = "LC" - - RearPortTypeLabelLCAPC RearPortTypeLabel = "LC/APC" - - RearPortTypeLabelLSH RearPortTypeLabel = "LSH" - - RearPortTypeLabelLSHAPC RearPortTypeLabel = "LSH/APC" - - RearPortTypeLabelMPO RearPortTypeLabel = "MPO" - - RearPortTypeLabelMRJ21 RearPortTypeLabel = "MRJ21" - - RearPortTypeLabelMTRJ RearPortTypeLabel = "MTRJ" - + RearPortTypeLabelBNC RearPortTypeLabel = "BNC" + RearPortTypeLabelCS RearPortTypeLabel = "CS" + RearPortTypeLabelFC RearPortTypeLabel = "FC" + RearPortTypeLabelGG45 RearPortTypeLabel = "GG45" + RearPortTypeLabelLC RearPortTypeLabel = "LC" + RearPortTypeLabelLCAPC RearPortTypeLabel = "LC/APC" + RearPortTypeLabelLSH RearPortTypeLabel = "LSH" + RearPortTypeLabelLSHAPC RearPortTypeLabel = "LSH/APC" + RearPortTypeLabelMPO RearPortTypeLabel = "MPO" + RearPortTypeLabelMRJ21 RearPortTypeLabel = "MRJ21" + RearPortTypeLabelMTRJ RearPortTypeLabel = "MTRJ" RearPortTypeLabelN110Punch RearPortTypeLabel = "110 Punch" - - RearPortTypeLabelN8P2C RearPortTypeLabel = "8P2C" - - RearPortTypeLabelN8P4C RearPortTypeLabel = "8P4C" - - RearPortTypeLabelN8P6C RearPortTypeLabel = "8P6C" - - RearPortTypeLabelN8P8C RearPortTypeLabel = "8P8C" - - RearPortTypeLabelSC RearPortTypeLabel = "SC" - - RearPortTypeLabelSCAPC RearPortTypeLabel = "SC/APC" - - RearPortTypeLabelSN RearPortTypeLabel = "SN" - - RearPortTypeLabelST RearPortTypeLabel = "ST" - - RearPortTypeLabelSplice RearPortTypeLabel = "Splice" - - RearPortTypeLabelTERA1P RearPortTypeLabel = "TERA 1P" - - RearPortTypeLabelTERA2P RearPortTypeLabel = "TERA 2P" - - RearPortTypeLabelTERA4P RearPortTypeLabel = "TERA 4P" - - RearPortTypeLabelURMP2 RearPortTypeLabel = "URM-P2" - - RearPortTypeLabelURMP4 RearPortTypeLabel = "URM-P4" - - RearPortTypeLabelURMP8 RearPortTypeLabel = "URM-P8" + RearPortTypeLabelN8P2C RearPortTypeLabel = "8P2C" + RearPortTypeLabelN8P4C RearPortTypeLabel = "8P4C" + RearPortTypeLabelN8P6C RearPortTypeLabel = "8P6C" + RearPortTypeLabelN8P8C RearPortTypeLabel = "8P8C" + RearPortTypeLabelSC RearPortTypeLabel = "SC" + RearPortTypeLabelSCAPC RearPortTypeLabel = "SC/APC" + RearPortTypeLabelSN RearPortTypeLabel = "SN" + RearPortTypeLabelST RearPortTypeLabel = "ST" + RearPortTypeLabelSplice RearPortTypeLabel = "Splice" + RearPortTypeLabelTERA1P RearPortTypeLabel = "TERA 1P" + RearPortTypeLabelTERA2P RearPortTypeLabel = "TERA 2P" + RearPortTypeLabelTERA4P RearPortTypeLabel = "TERA 4P" + RearPortTypeLabelURMP2 RearPortTypeLabel = "URM-P2" + RearPortTypeLabelURMP4 RearPortTypeLabel = "URM-P4" + RearPortTypeLabelURMP8 RearPortTypeLabel = "URM-P8" ) // Defines values for RearPortTypeValue. const ( - RearPortTypeValueBnc RearPortTypeValue = "bnc" - - RearPortTypeValueCs RearPortTypeValue = "cs" - - RearPortTypeValueFc RearPortTypeValue = "fc" - - RearPortTypeValueGg45 RearPortTypeValue = "gg45" - - RearPortTypeValueLc RearPortTypeValue = "lc" - - RearPortTypeValueLcApc RearPortTypeValue = "lc-apc" - - RearPortTypeValueLsh RearPortTypeValue = "lsh" - - RearPortTypeValueLshApc RearPortTypeValue = "lsh-apc" - - RearPortTypeValueMpo RearPortTypeValue = "mpo" - - RearPortTypeValueMrj21 RearPortTypeValue = "mrj21" - - RearPortTypeValueMtrj RearPortTypeValue = "mtrj" - + RearPortTypeValueBnc RearPortTypeValue = "bnc" + RearPortTypeValueCs RearPortTypeValue = "cs" + RearPortTypeValueFc RearPortTypeValue = "fc" + RearPortTypeValueGg45 RearPortTypeValue = "gg45" + RearPortTypeValueLc RearPortTypeValue = "lc" + RearPortTypeValueLcApc RearPortTypeValue = "lc-apc" + RearPortTypeValueLsh RearPortTypeValue = "lsh" + RearPortTypeValueLshApc RearPortTypeValue = "lsh-apc" + RearPortTypeValueMpo RearPortTypeValue = "mpo" + RearPortTypeValueMrj21 RearPortTypeValue = "mrj21" + RearPortTypeValueMtrj RearPortTypeValue = "mtrj" RearPortTypeValueN110Punch RearPortTypeValue = "110-punch" - - RearPortTypeValueN8p2c RearPortTypeValue = "8p2c" - - RearPortTypeValueN8p4c RearPortTypeValue = "8p4c" - - RearPortTypeValueN8p6c RearPortTypeValue = "8p6c" - - RearPortTypeValueN8p8c RearPortTypeValue = "8p8c" - - RearPortTypeValueSc RearPortTypeValue = "sc" - - RearPortTypeValueScApc RearPortTypeValue = "sc-apc" - - RearPortTypeValueSn RearPortTypeValue = "sn" - - RearPortTypeValueSplice RearPortTypeValue = "splice" - - RearPortTypeValueSt RearPortTypeValue = "st" - - RearPortTypeValueTera1p RearPortTypeValue = "tera-1p" - - RearPortTypeValueTera2p RearPortTypeValue = "tera-2p" - - RearPortTypeValueTera4p RearPortTypeValue = "tera-4p" - - RearPortTypeValueUrmP2 RearPortTypeValue = "urm-p2" - - RearPortTypeValueUrmP4 RearPortTypeValue = "urm-p4" - - RearPortTypeValueUrmP8 RearPortTypeValue = "urm-p8" + RearPortTypeValueN8p2c RearPortTypeValue = "8p2c" + RearPortTypeValueN8p4c RearPortTypeValue = "8p4c" + RearPortTypeValueN8p6c RearPortTypeValue = "8p6c" + RearPortTypeValueN8p8c RearPortTypeValue = "8p8c" + RearPortTypeValueSc RearPortTypeValue = "sc" + RearPortTypeValueScApc RearPortTypeValue = "sc-apc" + RearPortTypeValueSn RearPortTypeValue = "sn" + RearPortTypeValueSplice RearPortTypeValue = "splice" + RearPortTypeValueSt RearPortTypeValue = "st" + RearPortTypeValueTera1p RearPortTypeValue = "tera-1p" + RearPortTypeValueTera2p RearPortTypeValue = "tera-2p" + RearPortTypeValueTera4p RearPortTypeValue = "tera-4p" + RearPortTypeValueUrmP2 RearPortTypeValue = "urm-p2" + RearPortTypeValueUrmP4 RearPortTypeValue = "urm-p4" + RearPortTypeValueUrmP8 RearPortTypeValue = "urm-p8" ) // Defines values for RearPortTemplateTypeLabel. const ( - RearPortTemplateTypeLabelBNC RearPortTemplateTypeLabel = "BNC" - - RearPortTemplateTypeLabelCS RearPortTemplateTypeLabel = "CS" - - RearPortTemplateTypeLabelFC RearPortTemplateTypeLabel = "FC" - - RearPortTemplateTypeLabelGG45 RearPortTemplateTypeLabel = "GG45" - - RearPortTemplateTypeLabelLC RearPortTemplateTypeLabel = "LC" - - RearPortTemplateTypeLabelLCAPC RearPortTemplateTypeLabel = "LC/APC" - - RearPortTemplateTypeLabelLSH RearPortTemplateTypeLabel = "LSH" - - RearPortTemplateTypeLabelLSHAPC RearPortTemplateTypeLabel = "LSH/APC" - - RearPortTemplateTypeLabelMPO RearPortTemplateTypeLabel = "MPO" - - RearPortTemplateTypeLabelMRJ21 RearPortTemplateTypeLabel = "MRJ21" - - RearPortTemplateTypeLabelMTRJ RearPortTemplateTypeLabel = "MTRJ" - + RearPortTemplateTypeLabelBNC RearPortTemplateTypeLabel = "BNC" + RearPortTemplateTypeLabelCS RearPortTemplateTypeLabel = "CS" + RearPortTemplateTypeLabelFC RearPortTemplateTypeLabel = "FC" + RearPortTemplateTypeLabelGG45 RearPortTemplateTypeLabel = "GG45" + RearPortTemplateTypeLabelLC RearPortTemplateTypeLabel = "LC" + RearPortTemplateTypeLabelLCAPC RearPortTemplateTypeLabel = "LC/APC" + RearPortTemplateTypeLabelLSH RearPortTemplateTypeLabel = "LSH" + RearPortTemplateTypeLabelLSHAPC RearPortTemplateTypeLabel = "LSH/APC" + RearPortTemplateTypeLabelMPO RearPortTemplateTypeLabel = "MPO" + RearPortTemplateTypeLabelMRJ21 RearPortTemplateTypeLabel = "MRJ21" + RearPortTemplateTypeLabelMTRJ RearPortTemplateTypeLabel = "MTRJ" RearPortTemplateTypeLabelN110Punch RearPortTemplateTypeLabel = "110 Punch" - - RearPortTemplateTypeLabelN8P2C RearPortTemplateTypeLabel = "8P2C" - - RearPortTemplateTypeLabelN8P4C RearPortTemplateTypeLabel = "8P4C" - - RearPortTemplateTypeLabelN8P6C RearPortTemplateTypeLabel = "8P6C" - - RearPortTemplateTypeLabelN8P8C RearPortTemplateTypeLabel = "8P8C" - - RearPortTemplateTypeLabelSC RearPortTemplateTypeLabel = "SC" - - RearPortTemplateTypeLabelSCAPC RearPortTemplateTypeLabel = "SC/APC" - - RearPortTemplateTypeLabelSN RearPortTemplateTypeLabel = "SN" - - RearPortTemplateTypeLabelST RearPortTemplateTypeLabel = "ST" - - RearPortTemplateTypeLabelSplice RearPortTemplateTypeLabel = "Splice" - - RearPortTemplateTypeLabelTERA1P RearPortTemplateTypeLabel = "TERA 1P" - - RearPortTemplateTypeLabelTERA2P RearPortTemplateTypeLabel = "TERA 2P" - - RearPortTemplateTypeLabelTERA4P RearPortTemplateTypeLabel = "TERA 4P" - - RearPortTemplateTypeLabelURMP2 RearPortTemplateTypeLabel = "URM-P2" - - RearPortTemplateTypeLabelURMP4 RearPortTemplateTypeLabel = "URM-P4" - - RearPortTemplateTypeLabelURMP8 RearPortTemplateTypeLabel = "URM-P8" + RearPortTemplateTypeLabelN8P2C RearPortTemplateTypeLabel = "8P2C" + RearPortTemplateTypeLabelN8P4C RearPortTemplateTypeLabel = "8P4C" + RearPortTemplateTypeLabelN8P6C RearPortTemplateTypeLabel = "8P6C" + RearPortTemplateTypeLabelN8P8C RearPortTemplateTypeLabel = "8P8C" + RearPortTemplateTypeLabelSC RearPortTemplateTypeLabel = "SC" + RearPortTemplateTypeLabelSCAPC RearPortTemplateTypeLabel = "SC/APC" + RearPortTemplateTypeLabelSN RearPortTemplateTypeLabel = "SN" + RearPortTemplateTypeLabelST RearPortTemplateTypeLabel = "ST" + RearPortTemplateTypeLabelSplice RearPortTemplateTypeLabel = "Splice" + RearPortTemplateTypeLabelTERA1P RearPortTemplateTypeLabel = "TERA 1P" + RearPortTemplateTypeLabelTERA2P RearPortTemplateTypeLabel = "TERA 2P" + RearPortTemplateTypeLabelTERA4P RearPortTemplateTypeLabel = "TERA 4P" + RearPortTemplateTypeLabelURMP2 RearPortTemplateTypeLabel = "URM-P2" + RearPortTemplateTypeLabelURMP4 RearPortTemplateTypeLabel = "URM-P4" + RearPortTemplateTypeLabelURMP8 RearPortTemplateTypeLabel = "URM-P8" ) // Defines values for RearPortTemplateTypeValue. const ( - RearPortTemplateTypeValueBnc RearPortTemplateTypeValue = "bnc" - - RearPortTemplateTypeValueCs RearPortTemplateTypeValue = "cs" - - RearPortTemplateTypeValueFc RearPortTemplateTypeValue = "fc" - - RearPortTemplateTypeValueGg45 RearPortTemplateTypeValue = "gg45" - - RearPortTemplateTypeValueLc RearPortTemplateTypeValue = "lc" - - RearPortTemplateTypeValueLcApc RearPortTemplateTypeValue = "lc-apc" - - RearPortTemplateTypeValueLsh RearPortTemplateTypeValue = "lsh" - - RearPortTemplateTypeValueLshApc RearPortTemplateTypeValue = "lsh-apc" - - RearPortTemplateTypeValueMpo RearPortTemplateTypeValue = "mpo" - - RearPortTemplateTypeValueMrj21 RearPortTemplateTypeValue = "mrj21" - - RearPortTemplateTypeValueMtrj RearPortTemplateTypeValue = "mtrj" - + RearPortTemplateTypeValueBnc RearPortTemplateTypeValue = "bnc" + RearPortTemplateTypeValueCs RearPortTemplateTypeValue = "cs" + RearPortTemplateTypeValueFc RearPortTemplateTypeValue = "fc" + RearPortTemplateTypeValueGg45 RearPortTemplateTypeValue = "gg45" + RearPortTemplateTypeValueLc RearPortTemplateTypeValue = "lc" + RearPortTemplateTypeValueLcApc RearPortTemplateTypeValue = "lc-apc" + RearPortTemplateTypeValueLsh RearPortTemplateTypeValue = "lsh" + RearPortTemplateTypeValueLshApc RearPortTemplateTypeValue = "lsh-apc" + RearPortTemplateTypeValueMpo RearPortTemplateTypeValue = "mpo" + RearPortTemplateTypeValueMrj21 RearPortTemplateTypeValue = "mrj21" + RearPortTemplateTypeValueMtrj RearPortTemplateTypeValue = "mtrj" RearPortTemplateTypeValueN110Punch RearPortTemplateTypeValue = "110-punch" - - RearPortTemplateTypeValueN8p2c RearPortTemplateTypeValue = "8p2c" - - RearPortTemplateTypeValueN8p4c RearPortTemplateTypeValue = "8p4c" - - RearPortTemplateTypeValueN8p6c RearPortTemplateTypeValue = "8p6c" - - RearPortTemplateTypeValueN8p8c RearPortTemplateTypeValue = "8p8c" - - RearPortTemplateTypeValueSc RearPortTemplateTypeValue = "sc" - - RearPortTemplateTypeValueScApc RearPortTemplateTypeValue = "sc-apc" - - RearPortTemplateTypeValueSn RearPortTemplateTypeValue = "sn" - - RearPortTemplateTypeValueSplice RearPortTemplateTypeValue = "splice" - - RearPortTemplateTypeValueSt RearPortTemplateTypeValue = "st" - - RearPortTemplateTypeValueTera1p RearPortTemplateTypeValue = "tera-1p" - - RearPortTemplateTypeValueTera2p RearPortTemplateTypeValue = "tera-2p" - - RearPortTemplateTypeValueTera4p RearPortTemplateTypeValue = "tera-4p" - - RearPortTemplateTypeValueUrmP2 RearPortTemplateTypeValue = "urm-p2" - - RearPortTemplateTypeValueUrmP4 RearPortTemplateTypeValue = "urm-p4" - - RearPortTemplateTypeValueUrmP8 RearPortTemplateTypeValue = "urm-p8" + RearPortTemplateTypeValueN8p2c RearPortTemplateTypeValue = "8p2c" + RearPortTemplateTypeValueN8p4c RearPortTemplateTypeValue = "8p4c" + RearPortTemplateTypeValueN8p6c RearPortTemplateTypeValue = "8p6c" + RearPortTemplateTypeValueN8p8c RearPortTemplateTypeValue = "8p8c" + RearPortTemplateTypeValueSc RearPortTemplateTypeValue = "sc" + RearPortTemplateTypeValueScApc RearPortTemplateTypeValue = "sc-apc" + RearPortTemplateTypeValueSn RearPortTemplateTypeValue = "sn" + RearPortTemplateTypeValueSplice RearPortTemplateTypeValue = "splice" + RearPortTemplateTypeValueSt RearPortTemplateTypeValue = "st" + RearPortTemplateTypeValueTera1p RearPortTemplateTypeValue = "tera-1p" + RearPortTemplateTypeValueTera2p RearPortTemplateTypeValue = "tera-2p" + RearPortTemplateTypeValueTera4p RearPortTemplateTypeValue = "tera-4p" + RearPortTemplateTypeValueUrmP2 RearPortTemplateTypeValue = "urm-p2" + RearPortTemplateTypeValueUrmP4 RearPortTemplateTypeValue = "urm-p4" + RearPortTemplateTypeValueUrmP8 RearPortTemplateTypeValue = "urm-p8" ) // Defines values for RelationshipTypeChoices. const ( - RelationshipTypeChoicesManyToMany RelationshipTypeChoices = "many-to-many" + ManyToMany RelationshipTypeChoices = "many-to-many" + OneToMany RelationshipTypeChoices = "one-to-many" + OneToOne RelationshipTypeChoices = "one-to-one" + SymmetricManyToMany RelationshipTypeChoices = "symmetric-many-to-many" + SymmetricOneToOne RelationshipTypeChoices = "symmetric-one-to-one" +) - RelationshipTypeChoicesOneToMany RelationshipTypeChoices = "one-to-many" - - RelationshipTypeChoicesOneToOne RelationshipTypeChoices = "one-to-one" - - RelationshipTypeChoicesSymmetricManyToMany RelationshipTypeChoices = "symmetric-many-to-many" - - RelationshipTypeChoicesSymmetricOneToOne RelationshipTypeChoices = "symmetric-one-to-one" +// Defines values for RequiredOnEnum. +const ( + Destination RequiredOnEnum = "destination" + Source RequiredOnEnum = "source" ) // Defines values for RoleEnum. const ( - RoleEnumAnycast RoleEnum = "anycast" - - RoleEnumCarp RoleEnum = "carp" - - RoleEnumGlbp RoleEnum = "glbp" - - RoleEnumHsrp RoleEnum = "hsrp" - - RoleEnumLoopback RoleEnum = "loopback" - - RoleEnumSecondary RoleEnum = "secondary" - - RoleEnumVip RoleEnum = "vip" - - RoleEnumVrrp RoleEnum = "vrrp" + Anycast RoleEnum = "anycast" + Carp RoleEnum = "carp" + Glbp RoleEnum = "glbp" + Hsrp RoleEnum = "hsrp" + Loopback RoleEnum = "loopback" + Secondary RoleEnum = "secondary" + Vip RoleEnum = "vip" + Vrrp RoleEnum = "vrrp" ) // Defines values for SecretTypeEnum. const ( - SecretTypeEnumKey SecretTypeEnum = "key" - + SecretTypeEnumKey SecretTypeEnum = "key" SecretTypeEnumPassword SecretTypeEnum = "password" - - SecretTypeEnumSecret SecretTypeEnum = "secret" - - SecretTypeEnumToken SecretTypeEnum = "token" - + SecretTypeEnumSecret SecretTypeEnum = "secret" + SecretTypeEnumToken SecretTypeEnum = "token" SecretTypeEnumUsername SecretTypeEnum = "username" ) // Defines values for ServiceProtocolLabel. const ( ServiceProtocolLabelTCP ServiceProtocolLabel = "TCP" - ServiceProtocolLabelUDP ServiceProtocolLabel = "UDP" ) // Defines values for ServiceProtocolValue. const ( ServiceProtocolValueTcp ServiceProtocolValue = "tcp" - ServiceProtocolValueUdp ServiceProtocolValue = "udp" ) +// Defines values for ServiceObjectStatusLabel. +const ( + ServiceObjectStatusLabelActive ServiceObjectStatusLabel = "Active" + ServiceObjectStatusLabelDecommissioned ServiceObjectStatusLabel = "Decommissioned" + ServiceObjectStatusLabelStaged ServiceObjectStatusLabel = "Staged" +) + +// Defines values for ServiceObjectStatusValue. +const ( + ServiceObjectStatusValueActive ServiceObjectStatusValue = "active" + ServiceObjectStatusValueDecommissioned ServiceObjectStatusValue = "decommissioned" + ServiceObjectStatusValueStaged ServiceObjectStatusValue = "staged" +) + +// Defines values for ServiceObjectGroupServiceObjectsIpProtocol. +const ( + ServiceObjectGroupServiceObjectsIpProtocolAH ServiceObjectGroupServiceObjectsIpProtocol = "AH" + ServiceObjectGroupServiceObjectsIpProtocolAN ServiceObjectGroupServiceObjectsIpProtocol = "A/N" + ServiceObjectGroupServiceObjectsIpProtocolARIS ServiceObjectGroupServiceObjectsIpProtocol = "ARIS" + ServiceObjectGroupServiceObjectsIpProtocolAX25 ServiceObjectGroupServiceObjectsIpProtocol = "AX.25" + ServiceObjectGroupServiceObjectsIpProtocolBBNRCCMON ServiceObjectGroupServiceObjectsIpProtocol = "BBN-RCC-MON" + ServiceObjectGroupServiceObjectsIpProtocolBNA ServiceObjectGroupServiceObjectsIpProtocol = "BNA" + ServiceObjectGroupServiceObjectsIpProtocolBRSATMON ServiceObjectGroupServiceObjectsIpProtocol = "BR-SAT-MON" + ServiceObjectGroupServiceObjectsIpProtocolCBT ServiceObjectGroupServiceObjectsIpProtocol = "CBT" + ServiceObjectGroupServiceObjectsIpProtocolCFTP ServiceObjectGroupServiceObjectsIpProtocol = "CFTP" + ServiceObjectGroupServiceObjectsIpProtocolCHAOS ServiceObjectGroupServiceObjectsIpProtocol = "CHAOS" + ServiceObjectGroupServiceObjectsIpProtocolCPHB ServiceObjectGroupServiceObjectsIpProtocol = "CPHB" + ServiceObjectGroupServiceObjectsIpProtocolCPNX ServiceObjectGroupServiceObjectsIpProtocol = "CPNX" + ServiceObjectGroupServiceObjectsIpProtocolCRTP ServiceObjectGroupServiceObjectsIpProtocol = "CRTP" + ServiceObjectGroupServiceObjectsIpProtocolCRUDP ServiceObjectGroupServiceObjectsIpProtocol = "CRUDP" + ServiceObjectGroupServiceObjectsIpProtocolCompaqPeer ServiceObjectGroupServiceObjectsIpProtocol = "Compaq-Peer" + ServiceObjectGroupServiceObjectsIpProtocolDCCP ServiceObjectGroupServiceObjectsIpProtocol = "DCCP" + ServiceObjectGroupServiceObjectsIpProtocolDCNMEAS ServiceObjectGroupServiceObjectsIpProtocol = "DCN-MEAS" + ServiceObjectGroupServiceObjectsIpProtocolDDP ServiceObjectGroupServiceObjectsIpProtocol = "DDP" + ServiceObjectGroupServiceObjectsIpProtocolDDX ServiceObjectGroupServiceObjectsIpProtocol = "DDX" + ServiceObjectGroupServiceObjectsIpProtocolDGP ServiceObjectGroupServiceObjectsIpProtocol = "DGP" + ServiceObjectGroupServiceObjectsIpProtocolDSR ServiceObjectGroupServiceObjectsIpProtocol = "DSR" + ServiceObjectGroupServiceObjectsIpProtocolEGP ServiceObjectGroupServiceObjectsIpProtocol = "EGP" + ServiceObjectGroupServiceObjectsIpProtocolEIGRP ServiceObjectGroupServiceObjectsIpProtocol = "EIGRP" + ServiceObjectGroupServiceObjectsIpProtocolEMCON ServiceObjectGroupServiceObjectsIpProtocol = "EMCON" + ServiceObjectGroupServiceObjectsIpProtocolENCAP ServiceObjectGroupServiceObjectsIpProtocol = "ENCAP" + ServiceObjectGroupServiceObjectsIpProtocolESP ServiceObjectGroupServiceObjectsIpProtocol = "ESP" + ServiceObjectGroupServiceObjectsIpProtocolETHERIP ServiceObjectGroupServiceObjectsIpProtocol = "ETHERIP" + ServiceObjectGroupServiceObjectsIpProtocolEthernet ServiceObjectGroupServiceObjectsIpProtocol = "Ethernet" + ServiceObjectGroupServiceObjectsIpProtocolFC ServiceObjectGroupServiceObjectsIpProtocol = "FC" + ServiceObjectGroupServiceObjectsIpProtocolFIRE ServiceObjectGroupServiceObjectsIpProtocol = "FIRE" + ServiceObjectGroupServiceObjectsIpProtocolGGP ServiceObjectGroupServiceObjectsIpProtocol = "GGP" + ServiceObjectGroupServiceObjectsIpProtocolGMTP ServiceObjectGroupServiceObjectsIpProtocol = "GMTP" + ServiceObjectGroupServiceObjectsIpProtocolGRE ServiceObjectGroupServiceObjectsIpProtocol = "GRE" + ServiceObjectGroupServiceObjectsIpProtocolHIP ServiceObjectGroupServiceObjectsIpProtocol = "HIP" + ServiceObjectGroupServiceObjectsIpProtocolHMP ServiceObjectGroupServiceObjectsIpProtocol = "HMP" + ServiceObjectGroupServiceObjectsIpProtocolIATP ServiceObjectGroupServiceObjectsIpProtocol = "IATP" + ServiceObjectGroupServiceObjectsIpProtocolICMP ServiceObjectGroupServiceObjectsIpProtocol = "ICMP" + ServiceObjectGroupServiceObjectsIpProtocolIDPR ServiceObjectGroupServiceObjectsIpProtocol = "IDPR" + ServiceObjectGroupServiceObjectsIpProtocolIDPRCMTP ServiceObjectGroupServiceObjectsIpProtocol = "IDPR-CMTP" + ServiceObjectGroupServiceObjectsIpProtocolIDRP ServiceObjectGroupServiceObjectsIpProtocol = "IDRP" + ServiceObjectGroupServiceObjectsIpProtocolIFMP ServiceObjectGroupServiceObjectsIpProtocol = "IFMP" + ServiceObjectGroupServiceObjectsIpProtocolIGMP ServiceObjectGroupServiceObjectsIpProtocol = "IGMP" + ServiceObjectGroupServiceObjectsIpProtocolIGP ServiceObjectGroupServiceObjectsIpProtocol = "IGP" + ServiceObjectGroupServiceObjectsIpProtocolIL ServiceObjectGroupServiceObjectsIpProtocol = "IL" + ServiceObjectGroupServiceObjectsIpProtocolINLSP ServiceObjectGroupServiceObjectsIpProtocol = "I-NLSP" + ServiceObjectGroupServiceObjectsIpProtocolIPCV ServiceObjectGroupServiceObjectsIpProtocol = "IPCV" + ServiceObjectGroupServiceObjectsIpProtocolIPComp ServiceObjectGroupServiceObjectsIpProtocol = "IPComp" + ServiceObjectGroupServiceObjectsIpProtocolIPIP ServiceObjectGroupServiceObjectsIpProtocol = "IPIP" + ServiceObjectGroupServiceObjectsIpProtocolIPLT ServiceObjectGroupServiceObjectsIpProtocol = "IPLT" + ServiceObjectGroupServiceObjectsIpProtocolIPPC ServiceObjectGroupServiceObjectsIpProtocol = "IPPC" + ServiceObjectGroupServiceObjectsIpProtocolIPXInIP ServiceObjectGroupServiceObjectsIpProtocol = "IPX-in-IP" + ServiceObjectGroupServiceObjectsIpProtocolIRTP ServiceObjectGroupServiceObjectsIpProtocol = "IRTP" + ServiceObjectGroupServiceObjectsIpProtocolISOIP ServiceObjectGroupServiceObjectsIpProtocol = "ISO-IP" + ServiceObjectGroupServiceObjectsIpProtocolISOTP4 ServiceObjectGroupServiceObjectsIpProtocol = "ISO-TP4" + ServiceObjectGroupServiceObjectsIpProtocolKRYPTOLAN ServiceObjectGroupServiceObjectsIpProtocol = "KRYPTOLAN" + ServiceObjectGroupServiceObjectsIpProtocolL2TP ServiceObjectGroupServiceObjectsIpProtocol = "L2TP" + ServiceObjectGroupServiceObjectsIpProtocolLARP ServiceObjectGroupServiceObjectsIpProtocol = "LARP" + ServiceObjectGroupServiceObjectsIpProtocolLEAF1 ServiceObjectGroupServiceObjectsIpProtocol = "LEAF-1" + ServiceObjectGroupServiceObjectsIpProtocolLEAF2 ServiceObjectGroupServiceObjectsIpProtocol = "LEAF-2" + ServiceObjectGroupServiceObjectsIpProtocolMERITINP ServiceObjectGroupServiceObjectsIpProtocol = "MERIT-INP" + ServiceObjectGroupServiceObjectsIpProtocolMFENSP ServiceObjectGroupServiceObjectsIpProtocol = "MFE-NSP" + ServiceObjectGroupServiceObjectsIpProtocolMOBILE ServiceObjectGroupServiceObjectsIpProtocol = "MOBILE" + ServiceObjectGroupServiceObjectsIpProtocolMTP ServiceObjectGroupServiceObjectsIpProtocol = "MTP" + ServiceObjectGroupServiceObjectsIpProtocolMUX ServiceObjectGroupServiceObjectsIpProtocol = "MUX" + ServiceObjectGroupServiceObjectsIpProtocolManet ServiceObjectGroupServiceObjectsIpProtocol = "manet" + ServiceObjectGroupServiceObjectsIpProtocolN3PC ServiceObjectGroupServiceObjectsIpProtocol = "3PC" + ServiceObjectGroupServiceObjectsIpProtocolNARP ServiceObjectGroupServiceObjectsIpProtocol = "NARP" + ServiceObjectGroupServiceObjectsIpProtocolNETBLT ServiceObjectGroupServiceObjectsIpProtocol = "NETBLT" + ServiceObjectGroupServiceObjectsIpProtocolNSFNETIGP ServiceObjectGroupServiceObjectsIpProtocol = "NSFNET-IGP" + ServiceObjectGroupServiceObjectsIpProtocolNVPII ServiceObjectGroupServiceObjectsIpProtocol = "NVP-II" + ServiceObjectGroupServiceObjectsIpProtocolOSPFIGP ServiceObjectGroupServiceObjectsIpProtocol = "OSPFIGP" + ServiceObjectGroupServiceObjectsIpProtocolPGM ServiceObjectGroupServiceObjectsIpProtocol = "PGM" + ServiceObjectGroupServiceObjectsIpProtocolPIM ServiceObjectGroupServiceObjectsIpProtocol = "PIM" + ServiceObjectGroupServiceObjectsIpProtocolPIPE ServiceObjectGroupServiceObjectsIpProtocol = "PIPE" + ServiceObjectGroupServiceObjectsIpProtocolPNNI ServiceObjectGroupServiceObjectsIpProtocol = "PNNI" + ServiceObjectGroupServiceObjectsIpProtocolPRM ServiceObjectGroupServiceObjectsIpProtocol = "PRM" + ServiceObjectGroupServiceObjectsIpProtocolPTP ServiceObjectGroupServiceObjectsIpProtocol = "PTP" + ServiceObjectGroupServiceObjectsIpProtocolPUP ServiceObjectGroupServiceObjectsIpProtocol = "PUP" + ServiceObjectGroupServiceObjectsIpProtocolPVP ServiceObjectGroupServiceObjectsIpProtocol = "PVP" + ServiceObjectGroupServiceObjectsIpProtocolQNX ServiceObjectGroupServiceObjectsIpProtocol = "QNX" + ServiceObjectGroupServiceObjectsIpProtocolRDP ServiceObjectGroupServiceObjectsIpProtocol = "RDP" + ServiceObjectGroupServiceObjectsIpProtocolROHC ServiceObjectGroupServiceObjectsIpProtocol = "ROHC" + ServiceObjectGroupServiceObjectsIpProtocolRSVP ServiceObjectGroupServiceObjectsIpProtocol = "RSVP" + ServiceObjectGroupServiceObjectsIpProtocolRSVPE2EIGNORE ServiceObjectGroupServiceObjectsIpProtocol = "RSVP-E2E-IGNORE" + ServiceObjectGroupServiceObjectsIpProtocolRVD ServiceObjectGroupServiceObjectsIpProtocol = "RVD" + ServiceObjectGroupServiceObjectsIpProtocolSATEXPAK ServiceObjectGroupServiceObjectsIpProtocol = "SAT-EXPAK" + ServiceObjectGroupServiceObjectsIpProtocolSATMON ServiceObjectGroupServiceObjectsIpProtocol = "SAT-MON" + ServiceObjectGroupServiceObjectsIpProtocolSCCSP ServiceObjectGroupServiceObjectsIpProtocol = "SCC-SP" + ServiceObjectGroupServiceObjectsIpProtocolSCPS ServiceObjectGroupServiceObjectsIpProtocol = "SCPS" + ServiceObjectGroupServiceObjectsIpProtocolSCTP ServiceObjectGroupServiceObjectsIpProtocol = "SCTP" + ServiceObjectGroupServiceObjectsIpProtocolSDRP ServiceObjectGroupServiceObjectsIpProtocol = "SDRP" + ServiceObjectGroupServiceObjectsIpProtocolSECUREVMTP ServiceObjectGroupServiceObjectsIpProtocol = "SECURE-VMTP" + ServiceObjectGroupServiceObjectsIpProtocolSKIP ServiceObjectGroupServiceObjectsIpProtocol = "SKIP" + ServiceObjectGroupServiceObjectsIpProtocolSM ServiceObjectGroupServiceObjectsIpProtocol = "SM" + ServiceObjectGroupServiceObjectsIpProtocolSMP ServiceObjectGroupServiceObjectsIpProtocol = "SMP" + ServiceObjectGroupServiceObjectsIpProtocolSNP ServiceObjectGroupServiceObjectsIpProtocol = "SNP" + ServiceObjectGroupServiceObjectsIpProtocolSPS ServiceObjectGroupServiceObjectsIpProtocol = "SPS" + ServiceObjectGroupServiceObjectsIpProtocolSRP ServiceObjectGroupServiceObjectsIpProtocol = "SRP" + ServiceObjectGroupServiceObjectsIpProtocolSSCOPMCE ServiceObjectGroupServiceObjectsIpProtocol = "SSCOPMCE" + ServiceObjectGroupServiceObjectsIpProtocolSTP ServiceObjectGroupServiceObjectsIpProtocol = "STP" + ServiceObjectGroupServiceObjectsIpProtocolSUNND ServiceObjectGroupServiceObjectsIpProtocol = "SUN-ND" + ServiceObjectGroupServiceObjectsIpProtocolSpriteRPC ServiceObjectGroupServiceObjectsIpProtocol = "Sprite-RPC" + ServiceObjectGroupServiceObjectsIpProtocolTCF ServiceObjectGroupServiceObjectsIpProtocol = "TCF" + ServiceObjectGroupServiceObjectsIpProtocolTCP ServiceObjectGroupServiceObjectsIpProtocol = "TCP" + ServiceObjectGroupServiceObjectsIpProtocolTLSP ServiceObjectGroupServiceObjectsIpProtocol = "TLSP" + ServiceObjectGroupServiceObjectsIpProtocolTP ServiceObjectGroupServiceObjectsIpProtocol = "TP++" + ServiceObjectGroupServiceObjectsIpProtocolTRUNK1 ServiceObjectGroupServiceObjectsIpProtocol = "TRUNK-1" + ServiceObjectGroupServiceObjectsIpProtocolTRUNK2 ServiceObjectGroupServiceObjectsIpProtocol = "TRUNK-2" + ServiceObjectGroupServiceObjectsIpProtocolTTP ServiceObjectGroupServiceObjectsIpProtocol = "TTP" + ServiceObjectGroupServiceObjectsIpProtocolUDP ServiceObjectGroupServiceObjectsIpProtocol = "UDP" + ServiceObjectGroupServiceObjectsIpProtocolUDPLite ServiceObjectGroupServiceObjectsIpProtocol = "UDPLite" + ServiceObjectGroupServiceObjectsIpProtocolUTI ServiceObjectGroupServiceObjectsIpProtocol = "UTI" + ServiceObjectGroupServiceObjectsIpProtocolVINES ServiceObjectGroupServiceObjectsIpProtocol = "VINES" + ServiceObjectGroupServiceObjectsIpProtocolVISA ServiceObjectGroupServiceObjectsIpProtocol = "VISA" + ServiceObjectGroupServiceObjectsIpProtocolVMTP ServiceObjectGroupServiceObjectsIpProtocol = "VMTP" + ServiceObjectGroupServiceObjectsIpProtocolWBEXPAK ServiceObjectGroupServiceObjectsIpProtocol = "WB-EXPAK" + ServiceObjectGroupServiceObjectsIpProtocolWBMON ServiceObjectGroupServiceObjectsIpProtocol = "WB-MON" + ServiceObjectGroupServiceObjectsIpProtocolWESP ServiceObjectGroupServiceObjectsIpProtocol = "WESP" + ServiceObjectGroupServiceObjectsIpProtocolWSN ServiceObjectGroupServiceObjectsIpProtocol = "WSN" + ServiceObjectGroupServiceObjectsIpProtocolXNET ServiceObjectGroupServiceObjectsIpProtocol = "XNET" + ServiceObjectGroupServiceObjectsIpProtocolXNSIDP ServiceObjectGroupServiceObjectsIpProtocol = "XNS-IDP" + ServiceObjectGroupServiceObjectsIpProtocolXTP ServiceObjectGroupServiceObjectsIpProtocol = "XTP" +) + +// Defines values for ServiceObjectGroupServiceObjectsStatusLabel. +const ( + ServiceObjectGroupServiceObjectsStatusLabelActive ServiceObjectGroupServiceObjectsStatusLabel = "Active" + ServiceObjectGroupServiceObjectsStatusLabelDecommissioned ServiceObjectGroupServiceObjectsStatusLabel = "Decommissioned" + ServiceObjectGroupServiceObjectsStatusLabelStaged ServiceObjectGroupServiceObjectsStatusLabel = "Staged" +) + +// Defines values for ServiceObjectGroupServiceObjectsStatusValue. +const ( + ServiceObjectGroupServiceObjectsStatusValueActive ServiceObjectGroupServiceObjectsStatusValue = "active" + ServiceObjectGroupServiceObjectsStatusValueDecommissioned ServiceObjectGroupServiceObjectsStatusValue = "decommissioned" + ServiceObjectGroupServiceObjectsStatusValueStaged ServiceObjectGroupServiceObjectsStatusValue = "staged" +) + +// Defines values for ServiceObjectGroupStatusLabel. +const ( + ServiceObjectGroupStatusLabelActive ServiceObjectGroupStatusLabel = "Active" + ServiceObjectGroupStatusLabelDecommissioned ServiceObjectGroupStatusLabel = "Decommissioned" + ServiceObjectGroupStatusLabelStaged ServiceObjectGroupStatusLabel = "Staged" +) + +// Defines values for ServiceObjectGroupStatusValue. +const ( + ServiceObjectGroupStatusValueActive ServiceObjectGroupStatusValue = "active" + ServiceObjectGroupStatusValueDecommissioned ServiceObjectGroupStatusValue = "decommissioned" + ServiceObjectGroupStatusValueStaged ServiceObjectGroupStatusValue = "staged" +) + +// Defines values for SeverityEnum. +const ( + Critical SeverityEnum = "Critical" + High SeverityEnum = "High" + Low SeverityEnum = "Low" + Medium SeverityEnum = "Medium" + None SeverityEnum = "None" +) + // Defines values for SiteStatusLabel. const ( - SiteStatusLabelActive SiteStatusLabel = "Active" - + SiteStatusLabelActive SiteStatusLabel = "Active" SiteStatusLabelDecommissioning SiteStatusLabel = "Decommissioning" - - SiteStatusLabelPlanned SiteStatusLabel = "Planned" - - SiteStatusLabelRetired SiteStatusLabel = "Retired" - - SiteStatusLabelStaging SiteStatusLabel = "Staging" + SiteStatusLabelPlanned SiteStatusLabel = "Planned" + SiteStatusLabelRetired SiteStatusLabel = "Retired" + SiteStatusLabelStaging SiteStatusLabel = "Staging" ) // Defines values for SiteStatusValue. const ( - SiteStatusValueActive SiteStatusValue = "active" - + SiteStatusValueActive SiteStatusValue = "active" SiteStatusValueDecommissioning SiteStatusValue = "decommissioning" + SiteStatusValuePlanned SiteStatusValue = "planned" + SiteStatusValueRetired SiteStatusValue = "retired" + SiteStatusValueStaging SiteStatusValue = "staging" +) - SiteStatusValuePlanned SiteStatusValue = "planned" +// Defines values for Status2a0Enum. +const ( + Status2a0EnumActive Status2a0Enum = "active" + Status2a0EnumAvailable Status2a0Enum = "available" + Status2a0EnumPlanned Status2a0Enum = "planned" +) - SiteStatusValueRetired SiteStatusValue = "retired" +// Defines values for Status8f7Enum. +const ( + Status8f7EnumActive Status8f7Enum = "active" + Status8f7EnumDecommissioned Status8f7Enum = "decommissioned" + Status8f7EnumStaged Status8f7Enum = "staged" +) - SiteStatusValueStaging SiteStatusValue = "staging" +// Defines values for StatusD95Enum. +const ( + CANCELLED StatusD95Enum = "CANCELLED" + COMPLETED StatusD95Enum = "COMPLETED" + CONFIRMED StatusD95Enum = "CONFIRMED" + INPROCESS StatusD95Enum = "IN-PROCESS" + RESCHEDULED StatusD95Enum = "RE-SCHEDULED" + TENTATIVE StatusD95Enum = "TENTATIVE" + UNKNOWN StatusD95Enum = "UNKNOWN" ) // Defines values for SubdeviceRoleEnum. const ( - SubdeviceRoleEnumChild SubdeviceRoleEnum = "child" - - SubdeviceRoleEnumParent SubdeviceRoleEnum = "parent" + Child SubdeviceRoleEnum = "child" + Parent SubdeviceRoleEnum = "parent" ) // Defines values for SupplyEnum. const ( SupplyEnumAc SupplyEnum = "ac" - SupplyEnumDc SupplyEnum = "dc" ) // Defines values for TermSideEnum. const ( TermSideEnumA TermSideEnum = "A" - TermSideEnumZ TermSideEnum = "Z" ) +// Defines values for UserObjectStatusLabel. +const ( + UserObjectStatusLabelActive UserObjectStatusLabel = "Active" + UserObjectStatusLabelDecommissioned UserObjectStatusLabel = "Decommissioned" + UserObjectStatusLabelStaged UserObjectStatusLabel = "Staged" +) + +// Defines values for UserObjectStatusValue. +const ( + UserObjectStatusValueActive UserObjectStatusValue = "active" + UserObjectStatusValueDecommissioned UserObjectStatusValue = "decommissioned" + UserObjectStatusValueStaged UserObjectStatusValue = "staged" +) + +// Defines values for UserObjectGroupStatusLabel. +const ( + UserObjectGroupStatusLabelActive UserObjectGroupStatusLabel = "Active" + UserObjectGroupStatusLabelDecommissioned UserObjectGroupStatusLabel = "Decommissioned" + UserObjectGroupStatusLabelStaged UserObjectGroupStatusLabel = "Staged" +) + +// Defines values for UserObjectGroupStatusValue. +const ( + UserObjectGroupStatusValueActive UserObjectGroupStatusValue = "active" + UserObjectGroupStatusValueDecommissioned UserObjectGroupStatusValue = "decommissioned" + UserObjectGroupStatusValueStaged UserObjectGroupStatusValue = "staged" +) + +// Defines values for UserObjectGroupUserObjectsStatusLabel. +const ( + UserObjectGroupUserObjectsStatusLabelActive UserObjectGroupUserObjectsStatusLabel = "Active" + UserObjectGroupUserObjectsStatusLabelDecommissioned UserObjectGroupUserObjectsStatusLabel = "Decommissioned" + UserObjectGroupUserObjectsStatusLabelStaged UserObjectGroupUserObjectsStatusLabel = "Staged" +) + +// Defines values for UserObjectGroupUserObjectsStatusValue. +const ( + UserObjectGroupUserObjectsStatusValueActive UserObjectGroupUserObjectsStatusValue = "active" + UserObjectGroupUserObjectsStatusValueDecommissioned UserObjectGroupUserObjectsStatusValue = "decommissioned" + UserObjectGroupUserObjectsStatusValueStaged UserObjectGroupUserObjectsStatusValue = "staged" +) + // Defines values for VLANStatusLabel. const ( - VLANStatusLabelActive VLANStatusLabel = "Active" - + VLANStatusLabelActive VLANStatusLabel = "Active" VLANStatusLabelDeprecated VLANStatusLabel = "Deprecated" - - VLANStatusLabelReserved VLANStatusLabel = "Reserved" + VLANStatusLabelReserved VLANStatusLabel = "Reserved" ) // Defines values for VLANStatusValue. const ( - VLANStatusValueActive VLANStatusValue = "active" - + VLANStatusValueActive VLANStatusValue = "active" VLANStatusValueDeprecated VLANStatusValue = "deprecated" - - VLANStatusValueReserved VLANStatusValue = "reserved" + VLANStatusValueReserved VLANStatusValue = "reserved" ) -// Defines values for VMInterfaceModeLabel. +// Defines values for VLANStatusChoices. const ( - VMInterfaceModeLabelAccess VMInterfaceModeLabel = "Access" - - VMInterfaceModeLabelTagged VMInterfaceModeLabel = "Tagged" - - VMInterfaceModeLabelTaggedAll VMInterfaceModeLabel = "Tagged (All)" + VLANStatusChoicesActive VLANStatusChoices = "active" + VLANStatusChoicesDeprecated VLANStatusChoices = "deprecated" + VLANStatusChoicesReserved VLANStatusChoices = "reserved" ) -// Defines values for VMInterfaceModeValue. +// Defines values for VMInterfaceSerializerVersion12ModeLabel. const ( - VMInterfaceModeValueAccess VMInterfaceModeValue = "access" + VMInterfaceSerializerVersion12ModeLabelAccess VMInterfaceSerializerVersion12ModeLabel = "Access" + VMInterfaceSerializerVersion12ModeLabelTagged VMInterfaceSerializerVersion12ModeLabel = "Tagged" + VMInterfaceSerializerVersion12ModeLabelTaggedAll VMInterfaceSerializerVersion12ModeLabel = "Tagged (All)" +) - VMInterfaceModeValueTagged VMInterfaceModeValue = "tagged" +// Defines values for VMInterfaceSerializerVersion12ModeValue. +const ( + Access VMInterfaceSerializerVersion12ModeValue = "access" + Tagged VMInterfaceSerializerVersion12ModeValue = "tagged" + TaggedAll VMInterfaceSerializerVersion12ModeValue = "tagged-all" +) - VMInterfaceModeValueTaggedAll VMInterfaceModeValue = "tagged-all" +// Defines values for VirtualMachineStatusChoices. +const ( + VirtualMachineStatusChoicesActive VirtualMachineStatusChoices = "active" + VirtualMachineStatusChoicesDecommissioning VirtualMachineStatusChoices = "decommissioning" + VirtualMachineStatusChoicesFailed VirtualMachineStatusChoices = "failed" + VirtualMachineStatusChoicesOffline VirtualMachineStatusChoices = "offline" + VirtualMachineStatusChoicesPlanned VirtualMachineStatusChoices = "planned" + VirtualMachineStatusChoicesStaged VirtualMachineStatusChoices = "staged" ) // Defines values for VirtualMachineWithConfigContextStatusLabel. const ( - VirtualMachineWithConfigContextStatusLabelActive VirtualMachineWithConfigContextStatusLabel = "Active" - + VirtualMachineWithConfigContextStatusLabelActive VirtualMachineWithConfigContextStatusLabel = "Active" VirtualMachineWithConfigContextStatusLabelDecommissioning VirtualMachineWithConfigContextStatusLabel = "Decommissioning" - - VirtualMachineWithConfigContextStatusLabelFailed VirtualMachineWithConfigContextStatusLabel = "Failed" - - VirtualMachineWithConfigContextStatusLabelOffline VirtualMachineWithConfigContextStatusLabel = "Offline" - - VirtualMachineWithConfigContextStatusLabelPlanned VirtualMachineWithConfigContextStatusLabel = "Planned" - - VirtualMachineWithConfigContextStatusLabelStaged VirtualMachineWithConfigContextStatusLabel = "Staged" + VirtualMachineWithConfigContextStatusLabelFailed VirtualMachineWithConfigContextStatusLabel = "Failed" + VirtualMachineWithConfigContextStatusLabelOffline VirtualMachineWithConfigContextStatusLabel = "Offline" + VirtualMachineWithConfigContextStatusLabelPlanned VirtualMachineWithConfigContextStatusLabel = "Planned" + VirtualMachineWithConfigContextStatusLabelStaged VirtualMachineWithConfigContextStatusLabel = "Staged" ) // Defines values for VirtualMachineWithConfigContextStatusValue. const ( - VirtualMachineWithConfigContextStatusValueActive VirtualMachineWithConfigContextStatusValue = "active" - + VirtualMachineWithConfigContextStatusValueActive VirtualMachineWithConfigContextStatusValue = "active" VirtualMachineWithConfigContextStatusValueDecommissioning VirtualMachineWithConfigContextStatusValue = "decommissioning" - - VirtualMachineWithConfigContextStatusValueFailed VirtualMachineWithConfigContextStatusValue = "failed" - - VirtualMachineWithConfigContextStatusValueOffline VirtualMachineWithConfigContextStatusValue = "offline" - - VirtualMachineWithConfigContextStatusValuePlanned VirtualMachineWithConfigContextStatusValue = "planned" - - VirtualMachineWithConfigContextStatusValueStaged VirtualMachineWithConfigContextStatusValue = "staged" + VirtualMachineWithConfigContextStatusValueFailed VirtualMachineWithConfigContextStatusValue = "failed" + VirtualMachineWithConfigContextStatusValueOffline VirtualMachineWithConfigContextStatusValue = "offline" + VirtualMachineWithConfigContextStatusValuePlanned VirtualMachineWithConfigContextStatusValue = "planned" + VirtualMachineWithConfigContextStatusValueStaged VirtualMachineWithConfigContextStatusValue = "staged" ) // Defines values for WidthEnum. const ( WidthEnumN10 WidthEnum = 10 - WidthEnumN19 WidthEnum = 19 - WidthEnumN21 WidthEnum = 21 - WidthEnumN23 WidthEnum = 23 ) -// Defines values for WritableCableStatusEnum. +// Defines values for ZoneStatusLabel. const ( - WritableCableStatusEnumConnected WritableCableStatusEnum = "connected" - - WritableCableStatusEnumDecommissioning WritableCableStatusEnum = "decommissioning" - - WritableCableStatusEnumPlanned WritableCableStatusEnum = "planned" + ZoneStatusLabelActive ZoneStatusLabel = "Active" + ZoneStatusLabelDecommissioned ZoneStatusLabel = "Decommissioned" + ZoneStatusLabelStaged ZoneStatusLabel = "Staged" ) -// Defines values for WritableCircuitStatusEnum. +// Defines values for ZoneStatusValue. const ( - WritableCircuitStatusEnumActive WritableCircuitStatusEnum = "active" - - WritableCircuitStatusEnumDecommissioned WritableCircuitStatusEnum = "decommissioned" - - WritableCircuitStatusEnumDeprovisioning WritableCircuitStatusEnum = "deprovisioning" - - WritableCircuitStatusEnumOffline WritableCircuitStatusEnum = "offline" - - WritableCircuitStatusEnumPlanned WritableCircuitStatusEnum = "planned" - - WritableCircuitStatusEnumProvisioning WritableCircuitStatusEnum = "provisioning" + Active ZoneStatusValue = "active" + Decommissioned ZoneStatusValue = "decommissioned" + Staged ZoneStatusValue = "staged" ) -// Defines values for WritableDeviceWithConfigContextStatusEnum. +// Defines values for DcimDevicesListParamsFace. const ( - WritableDeviceWithConfigContextStatusEnumActive WritableDeviceWithConfigContextStatusEnum = "active" - - WritableDeviceWithConfigContextStatusEnumDecommissioning WritableDeviceWithConfigContextStatusEnum = "decommissioning" - - WritableDeviceWithConfigContextStatusEnumFailed WritableDeviceWithConfigContextStatusEnum = "failed" - - WritableDeviceWithConfigContextStatusEnumInventory WritableDeviceWithConfigContextStatusEnum = "inventory" - - WritableDeviceWithConfigContextStatusEnumOffline WritableDeviceWithConfigContextStatusEnum = "offline" - - WritableDeviceWithConfigContextStatusEnumPlanned WritableDeviceWithConfigContextStatusEnum = "planned" - - WritableDeviceWithConfigContextStatusEnumStaged WritableDeviceWithConfigContextStatusEnum = "staged" + DcimDevicesListParamsFaceFront DcimDevicesListParamsFace = "front" + DcimDevicesListParamsFaceRear DcimDevicesListParamsFace = "rear" ) -// Defines values for WritableIPAddressStatusEnum. +// Defines values for DcimDevicesListParamsFaceN. const ( - WritableIPAddressStatusEnumActive WritableIPAddressStatusEnum = "active" - - WritableIPAddressStatusEnumDeprecated WritableIPAddressStatusEnum = "deprecated" - - WritableIPAddressStatusEnumDhcp WritableIPAddressStatusEnum = "dhcp" - - WritableIPAddressStatusEnumReserved WritableIPAddressStatusEnum = "reserved" - - WritableIPAddressStatusEnumSlaac WritableIPAddressStatusEnum = "slaac" + DcimDevicesListParamsFaceNFront DcimDevicesListParamsFaceN = "front" + DcimDevicesListParamsFaceNRear DcimDevicesListParamsFaceN = "rear" ) -// Defines values for WritablePowerFeedStatusEnum. +// Defines values for DcimRacksElevationListParamsFace. const ( - WritablePowerFeedStatusEnumActive WritablePowerFeedStatusEnum = "active" - - WritablePowerFeedStatusEnumFailed WritablePowerFeedStatusEnum = "failed" - - WritablePowerFeedStatusEnumOffline WritablePowerFeedStatusEnum = "offline" - - WritablePowerFeedStatusEnumPlanned WritablePowerFeedStatusEnum = "planned" + DcimRacksElevationListParamsFaceFront DcimRacksElevationListParamsFace = "front" + DcimRacksElevationListParamsFaceRear DcimRacksElevationListParamsFace = "rear" ) -// Defines values for WritablePrefixStatusEnum. +// Defines values for DcimRacksElevationListParamsRender. const ( - WritablePrefixStatusEnumActive WritablePrefixStatusEnum = "active" - - WritablePrefixStatusEnumContainer WritablePrefixStatusEnum = "container" - - WritablePrefixStatusEnumDeprecated WritablePrefixStatusEnum = "deprecated" - - WritablePrefixStatusEnumP2p WritablePrefixStatusEnum = "p2p" - - WritablePrefixStatusEnumReserved WritablePrefixStatusEnum = "reserved" + DcimRacksElevationListParamsRenderJson DcimRacksElevationListParamsRender = "json" + DcimRacksElevationListParamsRenderSvg DcimRacksElevationListParamsRender = "svg" ) -// Defines values for WritableRackStatusEnum. +// Defines values for ExtrasDynamicGroupMembershipsListParamsOperator. const ( - WritableRackStatusEnumActive WritableRackStatusEnum = "active" - - WritableRackStatusEnumAvailable WritableRackStatusEnum = "available" - - WritableRackStatusEnumDeprecated WritableRackStatusEnum = "deprecated" - - WritableRackStatusEnumPlanned WritableRackStatusEnum = "planned" - - WritableRackStatusEnumReserved WritableRackStatusEnum = "reserved" + ExtrasDynamicGroupMembershipsListParamsOperatorDifference ExtrasDynamicGroupMembershipsListParamsOperator = "difference" + ExtrasDynamicGroupMembershipsListParamsOperatorIntersection ExtrasDynamicGroupMembershipsListParamsOperator = "intersection" + ExtrasDynamicGroupMembershipsListParamsOperatorUnion ExtrasDynamicGroupMembershipsListParamsOperator = "union" ) -// Defines values for WritableSiteStatusEnum. +// Defines values for ExtrasDynamicGroupMembershipsListParamsOperatorN. const ( - WritableSiteStatusEnumActive WritableSiteStatusEnum = "active" - - WritableSiteStatusEnumDecommissioning WritableSiteStatusEnum = "decommissioning" - - WritableSiteStatusEnumPlanned WritableSiteStatusEnum = "planned" - - WritableSiteStatusEnumRetired WritableSiteStatusEnum = "retired" - - WritableSiteStatusEnumStaging WritableSiteStatusEnum = "staging" + Difference ExtrasDynamicGroupMembershipsListParamsOperatorN = "difference" + Intersection ExtrasDynamicGroupMembershipsListParamsOperatorN = "intersection" + Union ExtrasDynamicGroupMembershipsListParamsOperatorN = "union" ) -// Defines values for WritableVLANStatusEnum. +// Defines values for PluginsFirewallPolicyRuleListParamsAction. const ( - WritableVLANStatusEnumActive WritableVLANStatusEnum = "active" - - WritableVLANStatusEnumDeprecated WritableVLANStatusEnum = "deprecated" - - WritableVLANStatusEnumReserved WritableVLANStatusEnum = "reserved" + PluginsFirewallPolicyRuleListParamsActionAllow PluginsFirewallPolicyRuleListParamsAction = "allow" + PluginsFirewallPolicyRuleListParamsActionDeny PluginsFirewallPolicyRuleListParamsAction = "deny" + PluginsFirewallPolicyRuleListParamsActionDrop PluginsFirewallPolicyRuleListParamsAction = "drop" + PluginsFirewallPolicyRuleListParamsActionRemark PluginsFirewallPolicyRuleListParamsAction = "remark" ) -// Defines values for WritableVirtualMachineWithConfigContextStatusEnum. +// Defines values for PluginsFirewallPolicyRuleListParamsActionN. const ( - WritableVirtualMachineWithConfigContextStatusEnumActive WritableVirtualMachineWithConfigContextStatusEnum = "active" - - WritableVirtualMachineWithConfigContextStatusEnumDecommissioning WritableVirtualMachineWithConfigContextStatusEnum = "decommissioning" - - WritableVirtualMachineWithConfigContextStatusEnumFailed WritableVirtualMachineWithConfigContextStatusEnum = "failed" - - WritableVirtualMachineWithConfigContextStatusEnumOffline WritableVirtualMachineWithConfigContextStatusEnum = "offline" - - WritableVirtualMachineWithConfigContextStatusEnumPlanned WritableVirtualMachineWithConfigContextStatusEnum = "planned" - - WritableVirtualMachineWithConfigContextStatusEnumStaged WritableVirtualMachineWithConfigContextStatusEnum = "staged" + Allow PluginsFirewallPolicyRuleListParamsActionN = "allow" + Deny PluginsFirewallPolicyRuleListParamsActionN = "deny" + Drop PluginsFirewallPolicyRuleListParamsActionN = "drop" + Remark PluginsFirewallPolicyRuleListParamsActionN = "remark" ) -// API serializer for interacting with AccessGrant objects. +// Defines values for PluginsFirewallServiceObjectListParamsIpProtocol. +const ( + PluginsFirewallServiceObjectListParamsIpProtocolAH PluginsFirewallServiceObjectListParamsIpProtocol = "AH" + PluginsFirewallServiceObjectListParamsIpProtocolAN PluginsFirewallServiceObjectListParamsIpProtocol = "A/N" + PluginsFirewallServiceObjectListParamsIpProtocolARIS PluginsFirewallServiceObjectListParamsIpProtocol = "ARIS" + PluginsFirewallServiceObjectListParamsIpProtocolAX25 PluginsFirewallServiceObjectListParamsIpProtocol = "AX.25" + PluginsFirewallServiceObjectListParamsIpProtocolBBNRCCMON PluginsFirewallServiceObjectListParamsIpProtocol = "BBN-RCC-MON" + PluginsFirewallServiceObjectListParamsIpProtocolBNA PluginsFirewallServiceObjectListParamsIpProtocol = "BNA" + PluginsFirewallServiceObjectListParamsIpProtocolBRSATMON PluginsFirewallServiceObjectListParamsIpProtocol = "BR-SAT-MON" + PluginsFirewallServiceObjectListParamsIpProtocolCBT PluginsFirewallServiceObjectListParamsIpProtocol = "CBT" + PluginsFirewallServiceObjectListParamsIpProtocolCFTP PluginsFirewallServiceObjectListParamsIpProtocol = "CFTP" + PluginsFirewallServiceObjectListParamsIpProtocolCHAOS PluginsFirewallServiceObjectListParamsIpProtocol = "CHAOS" + PluginsFirewallServiceObjectListParamsIpProtocolCPHB PluginsFirewallServiceObjectListParamsIpProtocol = "CPHB" + PluginsFirewallServiceObjectListParamsIpProtocolCPNX PluginsFirewallServiceObjectListParamsIpProtocol = "CPNX" + PluginsFirewallServiceObjectListParamsIpProtocolCRTP PluginsFirewallServiceObjectListParamsIpProtocol = "CRTP" + PluginsFirewallServiceObjectListParamsIpProtocolCRUDP PluginsFirewallServiceObjectListParamsIpProtocol = "CRUDP" + PluginsFirewallServiceObjectListParamsIpProtocolCompaqPeer PluginsFirewallServiceObjectListParamsIpProtocol = "Compaq-Peer" + PluginsFirewallServiceObjectListParamsIpProtocolDCCP PluginsFirewallServiceObjectListParamsIpProtocol = "DCCP" + PluginsFirewallServiceObjectListParamsIpProtocolDCNMEAS PluginsFirewallServiceObjectListParamsIpProtocol = "DCN-MEAS" + PluginsFirewallServiceObjectListParamsIpProtocolDDP PluginsFirewallServiceObjectListParamsIpProtocol = "DDP" + PluginsFirewallServiceObjectListParamsIpProtocolDDX PluginsFirewallServiceObjectListParamsIpProtocol = "DDX" + PluginsFirewallServiceObjectListParamsIpProtocolDGP PluginsFirewallServiceObjectListParamsIpProtocol = "DGP" + PluginsFirewallServiceObjectListParamsIpProtocolDSR PluginsFirewallServiceObjectListParamsIpProtocol = "DSR" + PluginsFirewallServiceObjectListParamsIpProtocolEGP PluginsFirewallServiceObjectListParamsIpProtocol = "EGP" + PluginsFirewallServiceObjectListParamsIpProtocolEIGRP PluginsFirewallServiceObjectListParamsIpProtocol = "EIGRP" + PluginsFirewallServiceObjectListParamsIpProtocolEMCON PluginsFirewallServiceObjectListParamsIpProtocol = "EMCON" + PluginsFirewallServiceObjectListParamsIpProtocolENCAP PluginsFirewallServiceObjectListParamsIpProtocol = "ENCAP" + PluginsFirewallServiceObjectListParamsIpProtocolESP PluginsFirewallServiceObjectListParamsIpProtocol = "ESP" + PluginsFirewallServiceObjectListParamsIpProtocolETHERIP PluginsFirewallServiceObjectListParamsIpProtocol = "ETHERIP" + PluginsFirewallServiceObjectListParamsIpProtocolEthernet PluginsFirewallServiceObjectListParamsIpProtocol = "Ethernet" + PluginsFirewallServiceObjectListParamsIpProtocolFC PluginsFirewallServiceObjectListParamsIpProtocol = "FC" + PluginsFirewallServiceObjectListParamsIpProtocolFIRE PluginsFirewallServiceObjectListParamsIpProtocol = "FIRE" + PluginsFirewallServiceObjectListParamsIpProtocolGGP PluginsFirewallServiceObjectListParamsIpProtocol = "GGP" + PluginsFirewallServiceObjectListParamsIpProtocolGMTP PluginsFirewallServiceObjectListParamsIpProtocol = "GMTP" + PluginsFirewallServiceObjectListParamsIpProtocolGRE PluginsFirewallServiceObjectListParamsIpProtocol = "GRE" + PluginsFirewallServiceObjectListParamsIpProtocolHIP PluginsFirewallServiceObjectListParamsIpProtocol = "HIP" + PluginsFirewallServiceObjectListParamsIpProtocolHMP PluginsFirewallServiceObjectListParamsIpProtocol = "HMP" + PluginsFirewallServiceObjectListParamsIpProtocolIATP PluginsFirewallServiceObjectListParamsIpProtocol = "IATP" + PluginsFirewallServiceObjectListParamsIpProtocolICMP PluginsFirewallServiceObjectListParamsIpProtocol = "ICMP" + PluginsFirewallServiceObjectListParamsIpProtocolIDPR PluginsFirewallServiceObjectListParamsIpProtocol = "IDPR" + PluginsFirewallServiceObjectListParamsIpProtocolIDPRCMTP PluginsFirewallServiceObjectListParamsIpProtocol = "IDPR-CMTP" + PluginsFirewallServiceObjectListParamsIpProtocolIDRP PluginsFirewallServiceObjectListParamsIpProtocol = "IDRP" + PluginsFirewallServiceObjectListParamsIpProtocolIFMP PluginsFirewallServiceObjectListParamsIpProtocol = "IFMP" + PluginsFirewallServiceObjectListParamsIpProtocolIGMP PluginsFirewallServiceObjectListParamsIpProtocol = "IGMP" + PluginsFirewallServiceObjectListParamsIpProtocolIGP PluginsFirewallServiceObjectListParamsIpProtocol = "IGP" + PluginsFirewallServiceObjectListParamsIpProtocolIL PluginsFirewallServiceObjectListParamsIpProtocol = "IL" + PluginsFirewallServiceObjectListParamsIpProtocolINLSP PluginsFirewallServiceObjectListParamsIpProtocol = "I-NLSP" + PluginsFirewallServiceObjectListParamsIpProtocolIPCV PluginsFirewallServiceObjectListParamsIpProtocol = "IPCV" + PluginsFirewallServiceObjectListParamsIpProtocolIPComp PluginsFirewallServiceObjectListParamsIpProtocol = "IPComp" + PluginsFirewallServiceObjectListParamsIpProtocolIPIP PluginsFirewallServiceObjectListParamsIpProtocol = "IPIP" + PluginsFirewallServiceObjectListParamsIpProtocolIPLT PluginsFirewallServiceObjectListParamsIpProtocol = "IPLT" + PluginsFirewallServiceObjectListParamsIpProtocolIPPC PluginsFirewallServiceObjectListParamsIpProtocol = "IPPC" + PluginsFirewallServiceObjectListParamsIpProtocolIPXInIP PluginsFirewallServiceObjectListParamsIpProtocol = "IPX-in-IP" + PluginsFirewallServiceObjectListParamsIpProtocolIRTP PluginsFirewallServiceObjectListParamsIpProtocol = "IRTP" + PluginsFirewallServiceObjectListParamsIpProtocolISOIP PluginsFirewallServiceObjectListParamsIpProtocol = "ISO-IP" + PluginsFirewallServiceObjectListParamsIpProtocolISOTP4 PluginsFirewallServiceObjectListParamsIpProtocol = "ISO-TP4" + PluginsFirewallServiceObjectListParamsIpProtocolKRYPTOLAN PluginsFirewallServiceObjectListParamsIpProtocol = "KRYPTOLAN" + PluginsFirewallServiceObjectListParamsIpProtocolL2TP PluginsFirewallServiceObjectListParamsIpProtocol = "L2TP" + PluginsFirewallServiceObjectListParamsIpProtocolLARP PluginsFirewallServiceObjectListParamsIpProtocol = "LARP" + PluginsFirewallServiceObjectListParamsIpProtocolLEAF1 PluginsFirewallServiceObjectListParamsIpProtocol = "LEAF-1" + PluginsFirewallServiceObjectListParamsIpProtocolLEAF2 PluginsFirewallServiceObjectListParamsIpProtocol = "LEAF-2" + PluginsFirewallServiceObjectListParamsIpProtocolMERITINP PluginsFirewallServiceObjectListParamsIpProtocol = "MERIT-INP" + PluginsFirewallServiceObjectListParamsIpProtocolMFENSP PluginsFirewallServiceObjectListParamsIpProtocol = "MFE-NSP" + PluginsFirewallServiceObjectListParamsIpProtocolMOBILE PluginsFirewallServiceObjectListParamsIpProtocol = "MOBILE" + PluginsFirewallServiceObjectListParamsIpProtocolMTP PluginsFirewallServiceObjectListParamsIpProtocol = "MTP" + PluginsFirewallServiceObjectListParamsIpProtocolMUX PluginsFirewallServiceObjectListParamsIpProtocol = "MUX" + PluginsFirewallServiceObjectListParamsIpProtocolManet PluginsFirewallServiceObjectListParamsIpProtocol = "manet" + PluginsFirewallServiceObjectListParamsIpProtocolN3PC PluginsFirewallServiceObjectListParamsIpProtocol = "3PC" + PluginsFirewallServiceObjectListParamsIpProtocolNARP PluginsFirewallServiceObjectListParamsIpProtocol = "NARP" + PluginsFirewallServiceObjectListParamsIpProtocolNETBLT PluginsFirewallServiceObjectListParamsIpProtocol = "NETBLT" + PluginsFirewallServiceObjectListParamsIpProtocolNSFNETIGP PluginsFirewallServiceObjectListParamsIpProtocol = "NSFNET-IGP" + PluginsFirewallServiceObjectListParamsIpProtocolNVPII PluginsFirewallServiceObjectListParamsIpProtocol = "NVP-II" + PluginsFirewallServiceObjectListParamsIpProtocolOSPFIGP PluginsFirewallServiceObjectListParamsIpProtocol = "OSPFIGP" + PluginsFirewallServiceObjectListParamsIpProtocolPGM PluginsFirewallServiceObjectListParamsIpProtocol = "PGM" + PluginsFirewallServiceObjectListParamsIpProtocolPIM PluginsFirewallServiceObjectListParamsIpProtocol = "PIM" + PluginsFirewallServiceObjectListParamsIpProtocolPIPE PluginsFirewallServiceObjectListParamsIpProtocol = "PIPE" + PluginsFirewallServiceObjectListParamsIpProtocolPNNI PluginsFirewallServiceObjectListParamsIpProtocol = "PNNI" + PluginsFirewallServiceObjectListParamsIpProtocolPRM PluginsFirewallServiceObjectListParamsIpProtocol = "PRM" + PluginsFirewallServiceObjectListParamsIpProtocolPTP PluginsFirewallServiceObjectListParamsIpProtocol = "PTP" + PluginsFirewallServiceObjectListParamsIpProtocolPUP PluginsFirewallServiceObjectListParamsIpProtocol = "PUP" + PluginsFirewallServiceObjectListParamsIpProtocolPVP PluginsFirewallServiceObjectListParamsIpProtocol = "PVP" + PluginsFirewallServiceObjectListParamsIpProtocolQNX PluginsFirewallServiceObjectListParamsIpProtocol = "QNX" + PluginsFirewallServiceObjectListParamsIpProtocolRDP PluginsFirewallServiceObjectListParamsIpProtocol = "RDP" + PluginsFirewallServiceObjectListParamsIpProtocolROHC PluginsFirewallServiceObjectListParamsIpProtocol = "ROHC" + PluginsFirewallServiceObjectListParamsIpProtocolRSVP PluginsFirewallServiceObjectListParamsIpProtocol = "RSVP" + PluginsFirewallServiceObjectListParamsIpProtocolRSVPE2EIGNORE PluginsFirewallServiceObjectListParamsIpProtocol = "RSVP-E2E-IGNORE" + PluginsFirewallServiceObjectListParamsIpProtocolRVD PluginsFirewallServiceObjectListParamsIpProtocol = "RVD" + PluginsFirewallServiceObjectListParamsIpProtocolSATEXPAK PluginsFirewallServiceObjectListParamsIpProtocol = "SAT-EXPAK" + PluginsFirewallServiceObjectListParamsIpProtocolSATMON PluginsFirewallServiceObjectListParamsIpProtocol = "SAT-MON" + PluginsFirewallServiceObjectListParamsIpProtocolSCCSP PluginsFirewallServiceObjectListParamsIpProtocol = "SCC-SP" + PluginsFirewallServiceObjectListParamsIpProtocolSCPS PluginsFirewallServiceObjectListParamsIpProtocol = "SCPS" + PluginsFirewallServiceObjectListParamsIpProtocolSCTP PluginsFirewallServiceObjectListParamsIpProtocol = "SCTP" + PluginsFirewallServiceObjectListParamsIpProtocolSDRP PluginsFirewallServiceObjectListParamsIpProtocol = "SDRP" + PluginsFirewallServiceObjectListParamsIpProtocolSECUREVMTP PluginsFirewallServiceObjectListParamsIpProtocol = "SECURE-VMTP" + PluginsFirewallServiceObjectListParamsIpProtocolSKIP PluginsFirewallServiceObjectListParamsIpProtocol = "SKIP" + PluginsFirewallServiceObjectListParamsIpProtocolSM PluginsFirewallServiceObjectListParamsIpProtocol = "SM" + PluginsFirewallServiceObjectListParamsIpProtocolSMP PluginsFirewallServiceObjectListParamsIpProtocol = "SMP" + PluginsFirewallServiceObjectListParamsIpProtocolSNP PluginsFirewallServiceObjectListParamsIpProtocol = "SNP" + PluginsFirewallServiceObjectListParamsIpProtocolSPS PluginsFirewallServiceObjectListParamsIpProtocol = "SPS" + PluginsFirewallServiceObjectListParamsIpProtocolSRP PluginsFirewallServiceObjectListParamsIpProtocol = "SRP" + PluginsFirewallServiceObjectListParamsIpProtocolSSCOPMCE PluginsFirewallServiceObjectListParamsIpProtocol = "SSCOPMCE" + PluginsFirewallServiceObjectListParamsIpProtocolSTP PluginsFirewallServiceObjectListParamsIpProtocol = "STP" + PluginsFirewallServiceObjectListParamsIpProtocolSUNND PluginsFirewallServiceObjectListParamsIpProtocol = "SUN-ND" + PluginsFirewallServiceObjectListParamsIpProtocolSpriteRPC PluginsFirewallServiceObjectListParamsIpProtocol = "Sprite-RPC" + PluginsFirewallServiceObjectListParamsIpProtocolTCF PluginsFirewallServiceObjectListParamsIpProtocol = "TCF" + PluginsFirewallServiceObjectListParamsIpProtocolTCP PluginsFirewallServiceObjectListParamsIpProtocol = "TCP" + PluginsFirewallServiceObjectListParamsIpProtocolTLSP PluginsFirewallServiceObjectListParamsIpProtocol = "TLSP" + PluginsFirewallServiceObjectListParamsIpProtocolTP PluginsFirewallServiceObjectListParamsIpProtocol = "TP++" + PluginsFirewallServiceObjectListParamsIpProtocolTRUNK1 PluginsFirewallServiceObjectListParamsIpProtocol = "TRUNK-1" + PluginsFirewallServiceObjectListParamsIpProtocolTRUNK2 PluginsFirewallServiceObjectListParamsIpProtocol = "TRUNK-2" + PluginsFirewallServiceObjectListParamsIpProtocolTTP PluginsFirewallServiceObjectListParamsIpProtocol = "TTP" + PluginsFirewallServiceObjectListParamsIpProtocolUDP PluginsFirewallServiceObjectListParamsIpProtocol = "UDP" + PluginsFirewallServiceObjectListParamsIpProtocolUDPLite PluginsFirewallServiceObjectListParamsIpProtocol = "UDPLite" + PluginsFirewallServiceObjectListParamsIpProtocolUTI PluginsFirewallServiceObjectListParamsIpProtocol = "UTI" + PluginsFirewallServiceObjectListParamsIpProtocolVINES PluginsFirewallServiceObjectListParamsIpProtocol = "VINES" + PluginsFirewallServiceObjectListParamsIpProtocolVISA PluginsFirewallServiceObjectListParamsIpProtocol = "VISA" + PluginsFirewallServiceObjectListParamsIpProtocolVMTP PluginsFirewallServiceObjectListParamsIpProtocol = "VMTP" + PluginsFirewallServiceObjectListParamsIpProtocolWBEXPAK PluginsFirewallServiceObjectListParamsIpProtocol = "WB-EXPAK" + PluginsFirewallServiceObjectListParamsIpProtocolWBMON PluginsFirewallServiceObjectListParamsIpProtocol = "WB-MON" + PluginsFirewallServiceObjectListParamsIpProtocolWESP PluginsFirewallServiceObjectListParamsIpProtocol = "WESP" + PluginsFirewallServiceObjectListParamsIpProtocolWSN PluginsFirewallServiceObjectListParamsIpProtocol = "WSN" + PluginsFirewallServiceObjectListParamsIpProtocolXNET PluginsFirewallServiceObjectListParamsIpProtocol = "XNET" + PluginsFirewallServiceObjectListParamsIpProtocolXNSIDP PluginsFirewallServiceObjectListParamsIpProtocol = "XNS-IDP" + PluginsFirewallServiceObjectListParamsIpProtocolXTP PluginsFirewallServiceObjectListParamsIpProtocol = "XTP" +) + +// Defines values for PluginsFirewallServiceObjectListParamsIpProtocolN. +const ( + PluginsFirewallServiceObjectListParamsIpProtocolNAH PluginsFirewallServiceObjectListParamsIpProtocolN = "AH" + PluginsFirewallServiceObjectListParamsIpProtocolNAN PluginsFirewallServiceObjectListParamsIpProtocolN = "A/N" + PluginsFirewallServiceObjectListParamsIpProtocolNARIS PluginsFirewallServiceObjectListParamsIpProtocolN = "ARIS" + PluginsFirewallServiceObjectListParamsIpProtocolNAX25 PluginsFirewallServiceObjectListParamsIpProtocolN = "AX.25" + PluginsFirewallServiceObjectListParamsIpProtocolNBBNRCCMON PluginsFirewallServiceObjectListParamsIpProtocolN = "BBN-RCC-MON" + PluginsFirewallServiceObjectListParamsIpProtocolNBNA PluginsFirewallServiceObjectListParamsIpProtocolN = "BNA" + PluginsFirewallServiceObjectListParamsIpProtocolNBRSATMON PluginsFirewallServiceObjectListParamsIpProtocolN = "BR-SAT-MON" + PluginsFirewallServiceObjectListParamsIpProtocolNCBT PluginsFirewallServiceObjectListParamsIpProtocolN = "CBT" + PluginsFirewallServiceObjectListParamsIpProtocolNCFTP PluginsFirewallServiceObjectListParamsIpProtocolN = "CFTP" + PluginsFirewallServiceObjectListParamsIpProtocolNCHAOS PluginsFirewallServiceObjectListParamsIpProtocolN = "CHAOS" + PluginsFirewallServiceObjectListParamsIpProtocolNCPHB PluginsFirewallServiceObjectListParamsIpProtocolN = "CPHB" + PluginsFirewallServiceObjectListParamsIpProtocolNCPNX PluginsFirewallServiceObjectListParamsIpProtocolN = "CPNX" + PluginsFirewallServiceObjectListParamsIpProtocolNCRTP PluginsFirewallServiceObjectListParamsIpProtocolN = "CRTP" + PluginsFirewallServiceObjectListParamsIpProtocolNCRUDP PluginsFirewallServiceObjectListParamsIpProtocolN = "CRUDP" + PluginsFirewallServiceObjectListParamsIpProtocolNCompaqPeer PluginsFirewallServiceObjectListParamsIpProtocolN = "Compaq-Peer" + PluginsFirewallServiceObjectListParamsIpProtocolNDCCP PluginsFirewallServiceObjectListParamsIpProtocolN = "DCCP" + PluginsFirewallServiceObjectListParamsIpProtocolNDCNMEAS PluginsFirewallServiceObjectListParamsIpProtocolN = "DCN-MEAS" + PluginsFirewallServiceObjectListParamsIpProtocolNDDP PluginsFirewallServiceObjectListParamsIpProtocolN = "DDP" + PluginsFirewallServiceObjectListParamsIpProtocolNDDX PluginsFirewallServiceObjectListParamsIpProtocolN = "DDX" + PluginsFirewallServiceObjectListParamsIpProtocolNDGP PluginsFirewallServiceObjectListParamsIpProtocolN = "DGP" + PluginsFirewallServiceObjectListParamsIpProtocolNDSR PluginsFirewallServiceObjectListParamsIpProtocolN = "DSR" + PluginsFirewallServiceObjectListParamsIpProtocolNEGP PluginsFirewallServiceObjectListParamsIpProtocolN = "EGP" + PluginsFirewallServiceObjectListParamsIpProtocolNEIGRP PluginsFirewallServiceObjectListParamsIpProtocolN = "EIGRP" + PluginsFirewallServiceObjectListParamsIpProtocolNEMCON PluginsFirewallServiceObjectListParamsIpProtocolN = "EMCON" + PluginsFirewallServiceObjectListParamsIpProtocolNENCAP PluginsFirewallServiceObjectListParamsIpProtocolN = "ENCAP" + PluginsFirewallServiceObjectListParamsIpProtocolNESP PluginsFirewallServiceObjectListParamsIpProtocolN = "ESP" + PluginsFirewallServiceObjectListParamsIpProtocolNETHERIP PluginsFirewallServiceObjectListParamsIpProtocolN = "ETHERIP" + PluginsFirewallServiceObjectListParamsIpProtocolNEthernet PluginsFirewallServiceObjectListParamsIpProtocolN = "Ethernet" + PluginsFirewallServiceObjectListParamsIpProtocolNFC PluginsFirewallServiceObjectListParamsIpProtocolN = "FC" + PluginsFirewallServiceObjectListParamsIpProtocolNFIRE PluginsFirewallServiceObjectListParamsIpProtocolN = "FIRE" + PluginsFirewallServiceObjectListParamsIpProtocolNGGP PluginsFirewallServiceObjectListParamsIpProtocolN = "GGP" + PluginsFirewallServiceObjectListParamsIpProtocolNGMTP PluginsFirewallServiceObjectListParamsIpProtocolN = "GMTP" + PluginsFirewallServiceObjectListParamsIpProtocolNGRE PluginsFirewallServiceObjectListParamsIpProtocolN = "GRE" + PluginsFirewallServiceObjectListParamsIpProtocolNHIP PluginsFirewallServiceObjectListParamsIpProtocolN = "HIP" + PluginsFirewallServiceObjectListParamsIpProtocolNHMP PluginsFirewallServiceObjectListParamsIpProtocolN = "HMP" + PluginsFirewallServiceObjectListParamsIpProtocolNIATP PluginsFirewallServiceObjectListParamsIpProtocolN = "IATP" + PluginsFirewallServiceObjectListParamsIpProtocolNICMP PluginsFirewallServiceObjectListParamsIpProtocolN = "ICMP" + PluginsFirewallServiceObjectListParamsIpProtocolNIDPR PluginsFirewallServiceObjectListParamsIpProtocolN = "IDPR" + PluginsFirewallServiceObjectListParamsIpProtocolNIDPRCMTP PluginsFirewallServiceObjectListParamsIpProtocolN = "IDPR-CMTP" + PluginsFirewallServiceObjectListParamsIpProtocolNIDRP PluginsFirewallServiceObjectListParamsIpProtocolN = "IDRP" + PluginsFirewallServiceObjectListParamsIpProtocolNIFMP PluginsFirewallServiceObjectListParamsIpProtocolN = "IFMP" + PluginsFirewallServiceObjectListParamsIpProtocolNIGMP PluginsFirewallServiceObjectListParamsIpProtocolN = "IGMP" + PluginsFirewallServiceObjectListParamsIpProtocolNIGP PluginsFirewallServiceObjectListParamsIpProtocolN = "IGP" + PluginsFirewallServiceObjectListParamsIpProtocolNIL PluginsFirewallServiceObjectListParamsIpProtocolN = "IL" + PluginsFirewallServiceObjectListParamsIpProtocolNINLSP PluginsFirewallServiceObjectListParamsIpProtocolN = "I-NLSP" + PluginsFirewallServiceObjectListParamsIpProtocolNIPCV PluginsFirewallServiceObjectListParamsIpProtocolN = "IPCV" + PluginsFirewallServiceObjectListParamsIpProtocolNIPComp PluginsFirewallServiceObjectListParamsIpProtocolN = "IPComp" + PluginsFirewallServiceObjectListParamsIpProtocolNIPIP PluginsFirewallServiceObjectListParamsIpProtocolN = "IPIP" + PluginsFirewallServiceObjectListParamsIpProtocolNIPLT PluginsFirewallServiceObjectListParamsIpProtocolN = "IPLT" + PluginsFirewallServiceObjectListParamsIpProtocolNIPPC PluginsFirewallServiceObjectListParamsIpProtocolN = "IPPC" + PluginsFirewallServiceObjectListParamsIpProtocolNIPXInIP PluginsFirewallServiceObjectListParamsIpProtocolN = "IPX-in-IP" + PluginsFirewallServiceObjectListParamsIpProtocolNIRTP PluginsFirewallServiceObjectListParamsIpProtocolN = "IRTP" + PluginsFirewallServiceObjectListParamsIpProtocolNISOIP PluginsFirewallServiceObjectListParamsIpProtocolN = "ISO-IP" + PluginsFirewallServiceObjectListParamsIpProtocolNISOTP4 PluginsFirewallServiceObjectListParamsIpProtocolN = "ISO-TP4" + PluginsFirewallServiceObjectListParamsIpProtocolNKRYPTOLAN PluginsFirewallServiceObjectListParamsIpProtocolN = "KRYPTOLAN" + PluginsFirewallServiceObjectListParamsIpProtocolNL2TP PluginsFirewallServiceObjectListParamsIpProtocolN = "L2TP" + PluginsFirewallServiceObjectListParamsIpProtocolNLARP PluginsFirewallServiceObjectListParamsIpProtocolN = "LARP" + PluginsFirewallServiceObjectListParamsIpProtocolNLEAF1 PluginsFirewallServiceObjectListParamsIpProtocolN = "LEAF-1" + PluginsFirewallServiceObjectListParamsIpProtocolNLEAF2 PluginsFirewallServiceObjectListParamsIpProtocolN = "LEAF-2" + PluginsFirewallServiceObjectListParamsIpProtocolNMERITINP PluginsFirewallServiceObjectListParamsIpProtocolN = "MERIT-INP" + PluginsFirewallServiceObjectListParamsIpProtocolNMFENSP PluginsFirewallServiceObjectListParamsIpProtocolN = "MFE-NSP" + PluginsFirewallServiceObjectListParamsIpProtocolNMOBILE PluginsFirewallServiceObjectListParamsIpProtocolN = "MOBILE" + PluginsFirewallServiceObjectListParamsIpProtocolNMTP PluginsFirewallServiceObjectListParamsIpProtocolN = "MTP" + PluginsFirewallServiceObjectListParamsIpProtocolNMUX PluginsFirewallServiceObjectListParamsIpProtocolN = "MUX" + PluginsFirewallServiceObjectListParamsIpProtocolNManet PluginsFirewallServiceObjectListParamsIpProtocolN = "manet" + PluginsFirewallServiceObjectListParamsIpProtocolNN3PC PluginsFirewallServiceObjectListParamsIpProtocolN = "3PC" + PluginsFirewallServiceObjectListParamsIpProtocolNNARP PluginsFirewallServiceObjectListParamsIpProtocolN = "NARP" + PluginsFirewallServiceObjectListParamsIpProtocolNNETBLT PluginsFirewallServiceObjectListParamsIpProtocolN = "NETBLT" + PluginsFirewallServiceObjectListParamsIpProtocolNNSFNETIGP PluginsFirewallServiceObjectListParamsIpProtocolN = "NSFNET-IGP" + PluginsFirewallServiceObjectListParamsIpProtocolNNVPII PluginsFirewallServiceObjectListParamsIpProtocolN = "NVP-II" + PluginsFirewallServiceObjectListParamsIpProtocolNOSPFIGP PluginsFirewallServiceObjectListParamsIpProtocolN = "OSPFIGP" + PluginsFirewallServiceObjectListParamsIpProtocolNPGM PluginsFirewallServiceObjectListParamsIpProtocolN = "PGM" + PluginsFirewallServiceObjectListParamsIpProtocolNPIM PluginsFirewallServiceObjectListParamsIpProtocolN = "PIM" + PluginsFirewallServiceObjectListParamsIpProtocolNPIPE PluginsFirewallServiceObjectListParamsIpProtocolN = "PIPE" + PluginsFirewallServiceObjectListParamsIpProtocolNPNNI PluginsFirewallServiceObjectListParamsIpProtocolN = "PNNI" + PluginsFirewallServiceObjectListParamsIpProtocolNPRM PluginsFirewallServiceObjectListParamsIpProtocolN = "PRM" + PluginsFirewallServiceObjectListParamsIpProtocolNPTP PluginsFirewallServiceObjectListParamsIpProtocolN = "PTP" + PluginsFirewallServiceObjectListParamsIpProtocolNPUP PluginsFirewallServiceObjectListParamsIpProtocolN = "PUP" + PluginsFirewallServiceObjectListParamsIpProtocolNPVP PluginsFirewallServiceObjectListParamsIpProtocolN = "PVP" + PluginsFirewallServiceObjectListParamsIpProtocolNQNX PluginsFirewallServiceObjectListParamsIpProtocolN = "QNX" + PluginsFirewallServiceObjectListParamsIpProtocolNRDP PluginsFirewallServiceObjectListParamsIpProtocolN = "RDP" + PluginsFirewallServiceObjectListParamsIpProtocolNROHC PluginsFirewallServiceObjectListParamsIpProtocolN = "ROHC" + PluginsFirewallServiceObjectListParamsIpProtocolNRSVP PluginsFirewallServiceObjectListParamsIpProtocolN = "RSVP" + PluginsFirewallServiceObjectListParamsIpProtocolNRSVPE2EIGNORE PluginsFirewallServiceObjectListParamsIpProtocolN = "RSVP-E2E-IGNORE" + PluginsFirewallServiceObjectListParamsIpProtocolNRVD PluginsFirewallServiceObjectListParamsIpProtocolN = "RVD" + PluginsFirewallServiceObjectListParamsIpProtocolNSATEXPAK PluginsFirewallServiceObjectListParamsIpProtocolN = "SAT-EXPAK" + PluginsFirewallServiceObjectListParamsIpProtocolNSATMON PluginsFirewallServiceObjectListParamsIpProtocolN = "SAT-MON" + PluginsFirewallServiceObjectListParamsIpProtocolNSCCSP PluginsFirewallServiceObjectListParamsIpProtocolN = "SCC-SP" + PluginsFirewallServiceObjectListParamsIpProtocolNSCPS PluginsFirewallServiceObjectListParamsIpProtocolN = "SCPS" + PluginsFirewallServiceObjectListParamsIpProtocolNSCTP PluginsFirewallServiceObjectListParamsIpProtocolN = "SCTP" + PluginsFirewallServiceObjectListParamsIpProtocolNSDRP PluginsFirewallServiceObjectListParamsIpProtocolN = "SDRP" + PluginsFirewallServiceObjectListParamsIpProtocolNSECUREVMTP PluginsFirewallServiceObjectListParamsIpProtocolN = "SECURE-VMTP" + PluginsFirewallServiceObjectListParamsIpProtocolNSKIP PluginsFirewallServiceObjectListParamsIpProtocolN = "SKIP" + PluginsFirewallServiceObjectListParamsIpProtocolNSM PluginsFirewallServiceObjectListParamsIpProtocolN = "SM" + PluginsFirewallServiceObjectListParamsIpProtocolNSMP PluginsFirewallServiceObjectListParamsIpProtocolN = "SMP" + PluginsFirewallServiceObjectListParamsIpProtocolNSNP PluginsFirewallServiceObjectListParamsIpProtocolN = "SNP" + PluginsFirewallServiceObjectListParamsIpProtocolNSPS PluginsFirewallServiceObjectListParamsIpProtocolN = "SPS" + PluginsFirewallServiceObjectListParamsIpProtocolNSRP PluginsFirewallServiceObjectListParamsIpProtocolN = "SRP" + PluginsFirewallServiceObjectListParamsIpProtocolNSSCOPMCE PluginsFirewallServiceObjectListParamsIpProtocolN = "SSCOPMCE" + PluginsFirewallServiceObjectListParamsIpProtocolNSTP PluginsFirewallServiceObjectListParamsIpProtocolN = "STP" + PluginsFirewallServiceObjectListParamsIpProtocolNSUNND PluginsFirewallServiceObjectListParamsIpProtocolN = "SUN-ND" + PluginsFirewallServiceObjectListParamsIpProtocolNSpriteRPC PluginsFirewallServiceObjectListParamsIpProtocolN = "Sprite-RPC" + PluginsFirewallServiceObjectListParamsIpProtocolNTCF PluginsFirewallServiceObjectListParamsIpProtocolN = "TCF" + PluginsFirewallServiceObjectListParamsIpProtocolNTCP PluginsFirewallServiceObjectListParamsIpProtocolN = "TCP" + PluginsFirewallServiceObjectListParamsIpProtocolNTLSP PluginsFirewallServiceObjectListParamsIpProtocolN = "TLSP" + PluginsFirewallServiceObjectListParamsIpProtocolNTP PluginsFirewallServiceObjectListParamsIpProtocolN = "TP++" + PluginsFirewallServiceObjectListParamsIpProtocolNTRUNK1 PluginsFirewallServiceObjectListParamsIpProtocolN = "TRUNK-1" + PluginsFirewallServiceObjectListParamsIpProtocolNTRUNK2 PluginsFirewallServiceObjectListParamsIpProtocolN = "TRUNK-2" + PluginsFirewallServiceObjectListParamsIpProtocolNTTP PluginsFirewallServiceObjectListParamsIpProtocolN = "TTP" + PluginsFirewallServiceObjectListParamsIpProtocolNUDP PluginsFirewallServiceObjectListParamsIpProtocolN = "UDP" + PluginsFirewallServiceObjectListParamsIpProtocolNUDPLite PluginsFirewallServiceObjectListParamsIpProtocolN = "UDPLite" + PluginsFirewallServiceObjectListParamsIpProtocolNUTI PluginsFirewallServiceObjectListParamsIpProtocolN = "UTI" + PluginsFirewallServiceObjectListParamsIpProtocolNVINES PluginsFirewallServiceObjectListParamsIpProtocolN = "VINES" + PluginsFirewallServiceObjectListParamsIpProtocolNVISA PluginsFirewallServiceObjectListParamsIpProtocolN = "VISA" + PluginsFirewallServiceObjectListParamsIpProtocolNVMTP PluginsFirewallServiceObjectListParamsIpProtocolN = "VMTP" + PluginsFirewallServiceObjectListParamsIpProtocolNWBEXPAK PluginsFirewallServiceObjectListParamsIpProtocolN = "WB-EXPAK" + PluginsFirewallServiceObjectListParamsIpProtocolNWBMON PluginsFirewallServiceObjectListParamsIpProtocolN = "WB-MON" + PluginsFirewallServiceObjectListParamsIpProtocolNWESP PluginsFirewallServiceObjectListParamsIpProtocolN = "WESP" + PluginsFirewallServiceObjectListParamsIpProtocolNWSN PluginsFirewallServiceObjectListParamsIpProtocolN = "WSN" + PluginsFirewallServiceObjectListParamsIpProtocolNXNET PluginsFirewallServiceObjectListParamsIpProtocolN = "XNET" + PluginsFirewallServiceObjectListParamsIpProtocolNXNSIDP PluginsFirewallServiceObjectListParamsIpProtocolN = "XNS-IDP" + PluginsFirewallServiceObjectListParamsIpProtocolNXTP PluginsFirewallServiceObjectListParamsIpProtocolN = "XTP" +) + +// Defines values for SwaggerJsonRetrieveParamsLang. +const ( + SwaggerJsonRetrieveParamsLangAf SwaggerJsonRetrieveParamsLang = "af" + SwaggerJsonRetrieveParamsLangAr SwaggerJsonRetrieveParamsLang = "ar" + SwaggerJsonRetrieveParamsLangArDz SwaggerJsonRetrieveParamsLang = "ar-dz" + SwaggerJsonRetrieveParamsLangAst SwaggerJsonRetrieveParamsLang = "ast" + SwaggerJsonRetrieveParamsLangAz SwaggerJsonRetrieveParamsLang = "az" + SwaggerJsonRetrieveParamsLangBe SwaggerJsonRetrieveParamsLang = "be" + SwaggerJsonRetrieveParamsLangBg SwaggerJsonRetrieveParamsLang = "bg" + SwaggerJsonRetrieveParamsLangBn SwaggerJsonRetrieveParamsLang = "bn" + SwaggerJsonRetrieveParamsLangBr SwaggerJsonRetrieveParamsLang = "br" + SwaggerJsonRetrieveParamsLangBs SwaggerJsonRetrieveParamsLang = "bs" + SwaggerJsonRetrieveParamsLangCa SwaggerJsonRetrieveParamsLang = "ca" + SwaggerJsonRetrieveParamsLangCs SwaggerJsonRetrieveParamsLang = "cs" + SwaggerJsonRetrieveParamsLangCy SwaggerJsonRetrieveParamsLang = "cy" + SwaggerJsonRetrieveParamsLangDa SwaggerJsonRetrieveParamsLang = "da" + SwaggerJsonRetrieveParamsLangDe SwaggerJsonRetrieveParamsLang = "de" + SwaggerJsonRetrieveParamsLangDsb SwaggerJsonRetrieveParamsLang = "dsb" + SwaggerJsonRetrieveParamsLangEl SwaggerJsonRetrieveParamsLang = "el" + SwaggerJsonRetrieveParamsLangEn SwaggerJsonRetrieveParamsLang = "en" + SwaggerJsonRetrieveParamsLangEnAu SwaggerJsonRetrieveParamsLang = "en-au" + SwaggerJsonRetrieveParamsLangEnGb SwaggerJsonRetrieveParamsLang = "en-gb" + SwaggerJsonRetrieveParamsLangEo SwaggerJsonRetrieveParamsLang = "eo" + SwaggerJsonRetrieveParamsLangEs SwaggerJsonRetrieveParamsLang = "es" + SwaggerJsonRetrieveParamsLangEsAr SwaggerJsonRetrieveParamsLang = "es-ar" + SwaggerJsonRetrieveParamsLangEsCo SwaggerJsonRetrieveParamsLang = "es-co" + SwaggerJsonRetrieveParamsLangEsMx SwaggerJsonRetrieveParamsLang = "es-mx" + SwaggerJsonRetrieveParamsLangEsNi SwaggerJsonRetrieveParamsLang = "es-ni" + SwaggerJsonRetrieveParamsLangEsVe SwaggerJsonRetrieveParamsLang = "es-ve" + SwaggerJsonRetrieveParamsLangEt SwaggerJsonRetrieveParamsLang = "et" + SwaggerJsonRetrieveParamsLangEu SwaggerJsonRetrieveParamsLang = "eu" + SwaggerJsonRetrieveParamsLangFa SwaggerJsonRetrieveParamsLang = "fa" + SwaggerJsonRetrieveParamsLangFi SwaggerJsonRetrieveParamsLang = "fi" + SwaggerJsonRetrieveParamsLangFr SwaggerJsonRetrieveParamsLang = "fr" + SwaggerJsonRetrieveParamsLangFy SwaggerJsonRetrieveParamsLang = "fy" + SwaggerJsonRetrieveParamsLangGa SwaggerJsonRetrieveParamsLang = "ga" + SwaggerJsonRetrieveParamsLangGd SwaggerJsonRetrieveParamsLang = "gd" + SwaggerJsonRetrieveParamsLangGl SwaggerJsonRetrieveParamsLang = "gl" + SwaggerJsonRetrieveParamsLangHe SwaggerJsonRetrieveParamsLang = "he" + SwaggerJsonRetrieveParamsLangHi SwaggerJsonRetrieveParamsLang = "hi" + SwaggerJsonRetrieveParamsLangHr SwaggerJsonRetrieveParamsLang = "hr" + SwaggerJsonRetrieveParamsLangHsb SwaggerJsonRetrieveParamsLang = "hsb" + SwaggerJsonRetrieveParamsLangHu SwaggerJsonRetrieveParamsLang = "hu" + SwaggerJsonRetrieveParamsLangHy SwaggerJsonRetrieveParamsLang = "hy" + SwaggerJsonRetrieveParamsLangIa SwaggerJsonRetrieveParamsLang = "ia" + SwaggerJsonRetrieveParamsLangId SwaggerJsonRetrieveParamsLang = "id" + SwaggerJsonRetrieveParamsLangIg SwaggerJsonRetrieveParamsLang = "ig" + SwaggerJsonRetrieveParamsLangIo SwaggerJsonRetrieveParamsLang = "io" + SwaggerJsonRetrieveParamsLangIs SwaggerJsonRetrieveParamsLang = "is" + SwaggerJsonRetrieveParamsLangIt SwaggerJsonRetrieveParamsLang = "it" + SwaggerJsonRetrieveParamsLangJa SwaggerJsonRetrieveParamsLang = "ja" + SwaggerJsonRetrieveParamsLangKa SwaggerJsonRetrieveParamsLang = "ka" + SwaggerJsonRetrieveParamsLangKab SwaggerJsonRetrieveParamsLang = "kab" + SwaggerJsonRetrieveParamsLangKk SwaggerJsonRetrieveParamsLang = "kk" + SwaggerJsonRetrieveParamsLangKm SwaggerJsonRetrieveParamsLang = "km" + SwaggerJsonRetrieveParamsLangKn SwaggerJsonRetrieveParamsLang = "kn" + SwaggerJsonRetrieveParamsLangKo SwaggerJsonRetrieveParamsLang = "ko" + SwaggerJsonRetrieveParamsLangKy SwaggerJsonRetrieveParamsLang = "ky" + SwaggerJsonRetrieveParamsLangLb SwaggerJsonRetrieveParamsLang = "lb" + SwaggerJsonRetrieveParamsLangLt SwaggerJsonRetrieveParamsLang = "lt" + SwaggerJsonRetrieveParamsLangLv SwaggerJsonRetrieveParamsLang = "lv" + SwaggerJsonRetrieveParamsLangMk SwaggerJsonRetrieveParamsLang = "mk" + SwaggerJsonRetrieveParamsLangMl SwaggerJsonRetrieveParamsLang = "ml" + SwaggerJsonRetrieveParamsLangMn SwaggerJsonRetrieveParamsLang = "mn" + SwaggerJsonRetrieveParamsLangMr SwaggerJsonRetrieveParamsLang = "mr" + SwaggerJsonRetrieveParamsLangMy SwaggerJsonRetrieveParamsLang = "my" + SwaggerJsonRetrieveParamsLangNb SwaggerJsonRetrieveParamsLang = "nb" + SwaggerJsonRetrieveParamsLangNe SwaggerJsonRetrieveParamsLang = "ne" + SwaggerJsonRetrieveParamsLangNl SwaggerJsonRetrieveParamsLang = "nl" + SwaggerJsonRetrieveParamsLangNn SwaggerJsonRetrieveParamsLang = "nn" + SwaggerJsonRetrieveParamsLangOs SwaggerJsonRetrieveParamsLang = "os" + SwaggerJsonRetrieveParamsLangPa SwaggerJsonRetrieveParamsLang = "pa" + SwaggerJsonRetrieveParamsLangPl SwaggerJsonRetrieveParamsLang = "pl" + SwaggerJsonRetrieveParamsLangPt SwaggerJsonRetrieveParamsLang = "pt" + SwaggerJsonRetrieveParamsLangPtBr SwaggerJsonRetrieveParamsLang = "pt-br" + SwaggerJsonRetrieveParamsLangRo SwaggerJsonRetrieveParamsLang = "ro" + SwaggerJsonRetrieveParamsLangRu SwaggerJsonRetrieveParamsLang = "ru" + SwaggerJsonRetrieveParamsLangSk SwaggerJsonRetrieveParamsLang = "sk" + SwaggerJsonRetrieveParamsLangSl SwaggerJsonRetrieveParamsLang = "sl" + SwaggerJsonRetrieveParamsLangSq SwaggerJsonRetrieveParamsLang = "sq" + SwaggerJsonRetrieveParamsLangSr SwaggerJsonRetrieveParamsLang = "sr" + SwaggerJsonRetrieveParamsLangSrLatn SwaggerJsonRetrieveParamsLang = "sr-latn" + SwaggerJsonRetrieveParamsLangSv SwaggerJsonRetrieveParamsLang = "sv" + SwaggerJsonRetrieveParamsLangSw SwaggerJsonRetrieveParamsLang = "sw" + SwaggerJsonRetrieveParamsLangTa SwaggerJsonRetrieveParamsLang = "ta" + SwaggerJsonRetrieveParamsLangTe SwaggerJsonRetrieveParamsLang = "te" + SwaggerJsonRetrieveParamsLangTg SwaggerJsonRetrieveParamsLang = "tg" + SwaggerJsonRetrieveParamsLangTh SwaggerJsonRetrieveParamsLang = "th" + SwaggerJsonRetrieveParamsLangTk SwaggerJsonRetrieveParamsLang = "tk" + SwaggerJsonRetrieveParamsLangTr SwaggerJsonRetrieveParamsLang = "tr" + SwaggerJsonRetrieveParamsLangTt SwaggerJsonRetrieveParamsLang = "tt" + SwaggerJsonRetrieveParamsLangUdm SwaggerJsonRetrieveParamsLang = "udm" + SwaggerJsonRetrieveParamsLangUk SwaggerJsonRetrieveParamsLang = "uk" + SwaggerJsonRetrieveParamsLangUr SwaggerJsonRetrieveParamsLang = "ur" + SwaggerJsonRetrieveParamsLangUz SwaggerJsonRetrieveParamsLang = "uz" + SwaggerJsonRetrieveParamsLangVi SwaggerJsonRetrieveParamsLang = "vi" + SwaggerJsonRetrieveParamsLangZhHans SwaggerJsonRetrieveParamsLang = "zh-hans" + SwaggerJsonRetrieveParamsLangZhHant SwaggerJsonRetrieveParamsLang = "zh-hant" +) + +// Defines values for SwaggerYamlRetrieveParamsLang. +const ( + SwaggerYamlRetrieveParamsLangAf SwaggerYamlRetrieveParamsLang = "af" + SwaggerYamlRetrieveParamsLangAr SwaggerYamlRetrieveParamsLang = "ar" + SwaggerYamlRetrieveParamsLangArDz SwaggerYamlRetrieveParamsLang = "ar-dz" + SwaggerYamlRetrieveParamsLangAst SwaggerYamlRetrieveParamsLang = "ast" + SwaggerYamlRetrieveParamsLangAz SwaggerYamlRetrieveParamsLang = "az" + SwaggerYamlRetrieveParamsLangBe SwaggerYamlRetrieveParamsLang = "be" + SwaggerYamlRetrieveParamsLangBg SwaggerYamlRetrieveParamsLang = "bg" + SwaggerYamlRetrieveParamsLangBn SwaggerYamlRetrieveParamsLang = "bn" + SwaggerYamlRetrieveParamsLangBr SwaggerYamlRetrieveParamsLang = "br" + SwaggerYamlRetrieveParamsLangBs SwaggerYamlRetrieveParamsLang = "bs" + SwaggerYamlRetrieveParamsLangCa SwaggerYamlRetrieveParamsLang = "ca" + SwaggerYamlRetrieveParamsLangCs SwaggerYamlRetrieveParamsLang = "cs" + SwaggerYamlRetrieveParamsLangCy SwaggerYamlRetrieveParamsLang = "cy" + SwaggerYamlRetrieveParamsLangDa SwaggerYamlRetrieveParamsLang = "da" + SwaggerYamlRetrieveParamsLangDe SwaggerYamlRetrieveParamsLang = "de" + SwaggerYamlRetrieveParamsLangDsb SwaggerYamlRetrieveParamsLang = "dsb" + SwaggerYamlRetrieveParamsLangEl SwaggerYamlRetrieveParamsLang = "el" + SwaggerYamlRetrieveParamsLangEn SwaggerYamlRetrieveParamsLang = "en" + SwaggerYamlRetrieveParamsLangEnAu SwaggerYamlRetrieveParamsLang = "en-au" + SwaggerYamlRetrieveParamsLangEnGb SwaggerYamlRetrieveParamsLang = "en-gb" + SwaggerYamlRetrieveParamsLangEo SwaggerYamlRetrieveParamsLang = "eo" + SwaggerYamlRetrieveParamsLangEs SwaggerYamlRetrieveParamsLang = "es" + SwaggerYamlRetrieveParamsLangEsAr SwaggerYamlRetrieveParamsLang = "es-ar" + SwaggerYamlRetrieveParamsLangEsCo SwaggerYamlRetrieveParamsLang = "es-co" + SwaggerYamlRetrieveParamsLangEsMx SwaggerYamlRetrieveParamsLang = "es-mx" + SwaggerYamlRetrieveParamsLangEsNi SwaggerYamlRetrieveParamsLang = "es-ni" + SwaggerYamlRetrieveParamsLangEsVe SwaggerYamlRetrieveParamsLang = "es-ve" + SwaggerYamlRetrieveParamsLangEt SwaggerYamlRetrieveParamsLang = "et" + SwaggerYamlRetrieveParamsLangEu SwaggerYamlRetrieveParamsLang = "eu" + SwaggerYamlRetrieveParamsLangFa SwaggerYamlRetrieveParamsLang = "fa" + SwaggerYamlRetrieveParamsLangFi SwaggerYamlRetrieveParamsLang = "fi" + SwaggerYamlRetrieveParamsLangFr SwaggerYamlRetrieveParamsLang = "fr" + SwaggerYamlRetrieveParamsLangFy SwaggerYamlRetrieveParamsLang = "fy" + SwaggerYamlRetrieveParamsLangGa SwaggerYamlRetrieveParamsLang = "ga" + SwaggerYamlRetrieveParamsLangGd SwaggerYamlRetrieveParamsLang = "gd" + SwaggerYamlRetrieveParamsLangGl SwaggerYamlRetrieveParamsLang = "gl" + SwaggerYamlRetrieveParamsLangHe SwaggerYamlRetrieveParamsLang = "he" + SwaggerYamlRetrieveParamsLangHi SwaggerYamlRetrieveParamsLang = "hi" + SwaggerYamlRetrieveParamsLangHr SwaggerYamlRetrieveParamsLang = "hr" + SwaggerYamlRetrieveParamsLangHsb SwaggerYamlRetrieveParamsLang = "hsb" + SwaggerYamlRetrieveParamsLangHu SwaggerYamlRetrieveParamsLang = "hu" + SwaggerYamlRetrieveParamsLangHy SwaggerYamlRetrieveParamsLang = "hy" + SwaggerYamlRetrieveParamsLangIa SwaggerYamlRetrieveParamsLang = "ia" + SwaggerYamlRetrieveParamsLangId SwaggerYamlRetrieveParamsLang = "id" + SwaggerYamlRetrieveParamsLangIg SwaggerYamlRetrieveParamsLang = "ig" + SwaggerYamlRetrieveParamsLangIo SwaggerYamlRetrieveParamsLang = "io" + SwaggerYamlRetrieveParamsLangIs SwaggerYamlRetrieveParamsLang = "is" + SwaggerYamlRetrieveParamsLangIt SwaggerYamlRetrieveParamsLang = "it" + SwaggerYamlRetrieveParamsLangJa SwaggerYamlRetrieveParamsLang = "ja" + SwaggerYamlRetrieveParamsLangKa SwaggerYamlRetrieveParamsLang = "ka" + SwaggerYamlRetrieveParamsLangKab SwaggerYamlRetrieveParamsLang = "kab" + SwaggerYamlRetrieveParamsLangKk SwaggerYamlRetrieveParamsLang = "kk" + SwaggerYamlRetrieveParamsLangKm SwaggerYamlRetrieveParamsLang = "km" + SwaggerYamlRetrieveParamsLangKn SwaggerYamlRetrieveParamsLang = "kn" + SwaggerYamlRetrieveParamsLangKo SwaggerYamlRetrieveParamsLang = "ko" + SwaggerYamlRetrieveParamsLangKy SwaggerYamlRetrieveParamsLang = "ky" + SwaggerYamlRetrieveParamsLangLb SwaggerYamlRetrieveParamsLang = "lb" + SwaggerYamlRetrieveParamsLangLt SwaggerYamlRetrieveParamsLang = "lt" + SwaggerYamlRetrieveParamsLangLv SwaggerYamlRetrieveParamsLang = "lv" + SwaggerYamlRetrieveParamsLangMk SwaggerYamlRetrieveParamsLang = "mk" + SwaggerYamlRetrieveParamsLangMl SwaggerYamlRetrieveParamsLang = "ml" + SwaggerYamlRetrieveParamsLangMn SwaggerYamlRetrieveParamsLang = "mn" + SwaggerYamlRetrieveParamsLangMr SwaggerYamlRetrieveParamsLang = "mr" + SwaggerYamlRetrieveParamsLangMy SwaggerYamlRetrieveParamsLang = "my" + SwaggerYamlRetrieveParamsLangNb SwaggerYamlRetrieveParamsLang = "nb" + SwaggerYamlRetrieveParamsLangNe SwaggerYamlRetrieveParamsLang = "ne" + SwaggerYamlRetrieveParamsLangNl SwaggerYamlRetrieveParamsLang = "nl" + SwaggerYamlRetrieveParamsLangNn SwaggerYamlRetrieveParamsLang = "nn" + SwaggerYamlRetrieveParamsLangOs SwaggerYamlRetrieveParamsLang = "os" + SwaggerYamlRetrieveParamsLangPa SwaggerYamlRetrieveParamsLang = "pa" + SwaggerYamlRetrieveParamsLangPl SwaggerYamlRetrieveParamsLang = "pl" + SwaggerYamlRetrieveParamsLangPt SwaggerYamlRetrieveParamsLang = "pt" + SwaggerYamlRetrieveParamsLangPtBr SwaggerYamlRetrieveParamsLang = "pt-br" + SwaggerYamlRetrieveParamsLangRo SwaggerYamlRetrieveParamsLang = "ro" + SwaggerYamlRetrieveParamsLangRu SwaggerYamlRetrieveParamsLang = "ru" + SwaggerYamlRetrieveParamsLangSk SwaggerYamlRetrieveParamsLang = "sk" + SwaggerYamlRetrieveParamsLangSl SwaggerYamlRetrieveParamsLang = "sl" + SwaggerYamlRetrieveParamsLangSq SwaggerYamlRetrieveParamsLang = "sq" + SwaggerYamlRetrieveParamsLangSr SwaggerYamlRetrieveParamsLang = "sr" + SwaggerYamlRetrieveParamsLangSrLatn SwaggerYamlRetrieveParamsLang = "sr-latn" + SwaggerYamlRetrieveParamsLangSv SwaggerYamlRetrieveParamsLang = "sv" + SwaggerYamlRetrieveParamsLangSw SwaggerYamlRetrieveParamsLang = "sw" + SwaggerYamlRetrieveParamsLangTa SwaggerYamlRetrieveParamsLang = "ta" + SwaggerYamlRetrieveParamsLangTe SwaggerYamlRetrieveParamsLang = "te" + SwaggerYamlRetrieveParamsLangTg SwaggerYamlRetrieveParamsLang = "tg" + SwaggerYamlRetrieveParamsLangTh SwaggerYamlRetrieveParamsLang = "th" + SwaggerYamlRetrieveParamsLangTk SwaggerYamlRetrieveParamsLang = "tk" + SwaggerYamlRetrieveParamsLangTr SwaggerYamlRetrieveParamsLang = "tr" + SwaggerYamlRetrieveParamsLangTt SwaggerYamlRetrieveParamsLang = "tt" + SwaggerYamlRetrieveParamsLangUdm SwaggerYamlRetrieveParamsLang = "udm" + SwaggerYamlRetrieveParamsLangUk SwaggerYamlRetrieveParamsLang = "uk" + SwaggerYamlRetrieveParamsLangUr SwaggerYamlRetrieveParamsLang = "ur" + SwaggerYamlRetrieveParamsLangUz SwaggerYamlRetrieveParamsLang = "uz" + SwaggerYamlRetrieveParamsLangVi SwaggerYamlRetrieveParamsLang = "vi" + SwaggerYamlRetrieveParamsLangZhHans SwaggerYamlRetrieveParamsLang = "zh-hans" + SwaggerYamlRetrieveParamsLangZhHant SwaggerYamlRetrieveParamsLang = "zh-hant" +) + +// Defines values for SwaggerRetrieveParamsFormat. +const ( + SwaggerRetrieveParamsFormatJson SwaggerRetrieveParamsFormat = "json" + SwaggerRetrieveParamsFormatYaml SwaggerRetrieveParamsFormat = "yaml" +) + +// Defines values for SwaggerRetrieveParamsLang. +const ( + Af SwaggerRetrieveParamsLang = "af" + Ar SwaggerRetrieveParamsLang = "ar" + ArDz SwaggerRetrieveParamsLang = "ar-dz" + Ast SwaggerRetrieveParamsLang = "ast" + Az SwaggerRetrieveParamsLang = "az" + Be SwaggerRetrieveParamsLang = "be" + Bg SwaggerRetrieveParamsLang = "bg" + Bn SwaggerRetrieveParamsLang = "bn" + Br SwaggerRetrieveParamsLang = "br" + Bs SwaggerRetrieveParamsLang = "bs" + Ca SwaggerRetrieveParamsLang = "ca" + Cs SwaggerRetrieveParamsLang = "cs" + Cy SwaggerRetrieveParamsLang = "cy" + Da SwaggerRetrieveParamsLang = "da" + De SwaggerRetrieveParamsLang = "de" + Dsb SwaggerRetrieveParamsLang = "dsb" + El SwaggerRetrieveParamsLang = "el" + En SwaggerRetrieveParamsLang = "en" + EnAu SwaggerRetrieveParamsLang = "en-au" + EnGb SwaggerRetrieveParamsLang = "en-gb" + Eo SwaggerRetrieveParamsLang = "eo" + Es SwaggerRetrieveParamsLang = "es" + EsAr SwaggerRetrieveParamsLang = "es-ar" + EsCo SwaggerRetrieveParamsLang = "es-co" + EsMx SwaggerRetrieveParamsLang = "es-mx" + EsNi SwaggerRetrieveParamsLang = "es-ni" + EsVe SwaggerRetrieveParamsLang = "es-ve" + Et SwaggerRetrieveParamsLang = "et" + Eu SwaggerRetrieveParamsLang = "eu" + Fa SwaggerRetrieveParamsLang = "fa" + Fi SwaggerRetrieveParamsLang = "fi" + Fr SwaggerRetrieveParamsLang = "fr" + Fy SwaggerRetrieveParamsLang = "fy" + Ga SwaggerRetrieveParamsLang = "ga" + Gd SwaggerRetrieveParamsLang = "gd" + Gl SwaggerRetrieveParamsLang = "gl" + He SwaggerRetrieveParamsLang = "he" + Hi SwaggerRetrieveParamsLang = "hi" + Hr SwaggerRetrieveParamsLang = "hr" + Hsb SwaggerRetrieveParamsLang = "hsb" + Hu SwaggerRetrieveParamsLang = "hu" + Hy SwaggerRetrieveParamsLang = "hy" + Ia SwaggerRetrieveParamsLang = "ia" + Id SwaggerRetrieveParamsLang = "id" + Ig SwaggerRetrieveParamsLang = "ig" + Io SwaggerRetrieveParamsLang = "io" + Is SwaggerRetrieveParamsLang = "is" + It SwaggerRetrieveParamsLang = "it" + Ja SwaggerRetrieveParamsLang = "ja" + Ka SwaggerRetrieveParamsLang = "ka" + Kab SwaggerRetrieveParamsLang = "kab" + Kk SwaggerRetrieveParamsLang = "kk" + Km SwaggerRetrieveParamsLang = "km" + Kn SwaggerRetrieveParamsLang = "kn" + Ko SwaggerRetrieveParamsLang = "ko" + Ky SwaggerRetrieveParamsLang = "ky" + Lb SwaggerRetrieveParamsLang = "lb" + Lt SwaggerRetrieveParamsLang = "lt" + Lv SwaggerRetrieveParamsLang = "lv" + Mk SwaggerRetrieveParamsLang = "mk" + Ml SwaggerRetrieveParamsLang = "ml" + Mn SwaggerRetrieveParamsLang = "mn" + Mr SwaggerRetrieveParamsLang = "mr" + My SwaggerRetrieveParamsLang = "my" + Nb SwaggerRetrieveParamsLang = "nb" + Ne SwaggerRetrieveParamsLang = "ne" + Nl SwaggerRetrieveParamsLang = "nl" + Nn SwaggerRetrieveParamsLang = "nn" + Os SwaggerRetrieveParamsLang = "os" + Pa SwaggerRetrieveParamsLang = "pa" + Pl SwaggerRetrieveParamsLang = "pl" + Pt SwaggerRetrieveParamsLang = "pt" + PtBr SwaggerRetrieveParamsLang = "pt-br" + Ro SwaggerRetrieveParamsLang = "ro" + Ru SwaggerRetrieveParamsLang = "ru" + Sk SwaggerRetrieveParamsLang = "sk" + Sl SwaggerRetrieveParamsLang = "sl" + Sq SwaggerRetrieveParamsLang = "sq" + Sr SwaggerRetrieveParamsLang = "sr" + SrLatn SwaggerRetrieveParamsLang = "sr-latn" + Sv SwaggerRetrieveParamsLang = "sv" + Sw SwaggerRetrieveParamsLang = "sw" + Ta SwaggerRetrieveParamsLang = "ta" + Te SwaggerRetrieveParamsLang = "te" + Tg SwaggerRetrieveParamsLang = "tg" + Th SwaggerRetrieveParamsLang = "th" + Tk SwaggerRetrieveParamsLang = "tk" + Tr SwaggerRetrieveParamsLang = "tr" + Tt SwaggerRetrieveParamsLang = "tt" + Udm SwaggerRetrieveParamsLang = "udm" + Uk SwaggerRetrieveParamsLang = "uk" + Ur SwaggerRetrieveParamsLang = "ur" + Uz SwaggerRetrieveParamsLang = "uz" + Vi SwaggerRetrieveParamsLang = "vi" + ZhHans SwaggerRetrieveParamsLang = "zh-hans" + ZhHant SwaggerRetrieveParamsLang = "zh-hant" +) + +// AccessGrant API serializer for interacting with AccessGrant objects. type AccessGrant struct { - // Enter * to grant access to all commands - Command string `json:"command"` + // Command Enter * to grant access to all commands + Command string `json:"command"` + Created *openapi_types.Date `json:"created"` - // Human friendly display value - Display *string `json:"display,omitempty"` - GrantType GrantTypeEnum `json:"grant_type"` - Id *openapi_types.UUID `json:"id,omitempty"` + // Display Human friendly display value + Display *string `json:"display,omitempty"` + GrantType GrantTypeEnum `json:"grant_type"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` - // Organization name, channel name, or user name + // Name Organization name, channel name, or user name Name string `json:"name"` - // Enter * to grant access to all subcommands of the given command + // Subcommand Enter * to grant access to all subcommands of the given command + Subcommand string `json:"subcommand"` + Url *string `json:"url,omitempty"` + + // Value Corresponding ID value to grant access to.
Enter * to grant access to all organizations, channels, or users + Value string `json:"value"` +} + +// AccessGrantRequest API serializer for interacting with AccessGrant objects. +type AccessGrantRequest struct { + // Command Enter * to grant access to all commands + Command string `json:"command"` + GrantType GrantTypeEnum `json:"grant_type"` + + // Name Organization name, channel name, or user name + Name string `json:"name"` + + // Subcommand Enter * to grant access to all subcommands of the given command Subcommand string `json:"subcommand"` - // Corresponding ID value to grant access to.
Enter * to grant access to all organizations, channels, or users + // Value Corresponding ID value to grant access to.
Enter * to grant access to all organizations, channels, or users Value string `json:"value"` } // AccessTypeEnum defines model for AccessTypeEnum. type AccessTypeEnum string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// ActionEnum defines model for ActionEnum. +type ActionEnum string + +// AddressFamily REST API serializer for AddressFamily records. +type AddressFamily struct { + AfiSafi AfiSafiEnum `json:"afi_safi"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + ExportPolicy *string `json:"export_policy,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + ImportPolicy *string `json:"import_policy,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // RoutingInstance Nested/brief serializer for PeerEndpoint. + RoutingInstance NestedRoutingInstance `json:"routing_instance"` + Url *string `json:"url,omitempty"` + Vrf *NestedVRF `json:"vrf"` +} + +// AddressObject AddressObject Serializer. +type AddressObject struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDN `json:"fqdn,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddress `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRange `json:"ip_range,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefix `json:"prefix,omitempty"` + Status *struct { + Label *AddressObjectStatusLabel `json:"label,omitempty"` + Value *AddressObjectStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// AddressObjectStatusLabel defines model for AddressObject.Status.Label. +type AddressObjectStatusLabel string + +// AddressObjectStatusValue defines model for AddressObject.Status.Value. +type AddressObjectStatusValue string + +// AddressObjectGroup AddressObjectGroup Serializer. +type AddressObjectGroup struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AddressObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDN `json:"fqdn,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddress `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRange `json:"ip_range,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefix `json:"prefix,omitempty"` + Status *struct { + Label *AddressObjectGroupAddressObjectsStatusLabel `json:"label,omitempty"` + Value *AddressObjectGroupAddressObjectsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"address_objects,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name descriptor for a group address objects. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Status *struct { + Label *AddressObjectGroupStatusLabel `json:"label,omitempty"` + Value *AddressObjectGroupStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// AddressObjectGroupAddressObjectsStatusLabel defines model for AddressObjectGroup.AddressObjects.Status.Label. +type AddressObjectGroupAddressObjectsStatusLabel string + +// AddressObjectGroupAddressObjectsStatusValue defines model for AddressObjectGroup.AddressObjects.Status.Value. +type AddressObjectGroupAddressObjectsStatusValue string + +// AddressObjectGroupStatusLabel defines model for AddressObjectGroup.Status.Label. +type AddressObjectGroupStatusLabel string + +// AddressObjectGroupStatusValue defines model for AddressObjectGroup.Status.Value. +type AddressObjectGroupStatusValue string + +// AfiSafiEnum defines model for AfiSafiEnum. +type AfiSafiEnum string + +// Aggregate Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type Aggregate struct { - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *Aggregate_CustomFields `json:"custom_fields,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` DateAdded *openapi_types.Date `json:"date_added"` Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Family *struct { Label *AggregateFamilyLabel `json:"label,omitempty"` Value *AggregateFamilyValue `json:"value,omitempty"` } `json:"family,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + NotesUrl *string `json:"notes_url,omitempty"` Prefix string `json:"prefix"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Rir Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Rir NestedRIR `json:"rir"` Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *struct { - // Embedded struct due to allOf(#/components/schemas/NestedTenant) - NestedTenant `yaml:",inline"` - } `json:"tenant"` - Url *string `json:"url,omitempty"` -} - -// Aggregate_CustomFields defines model for Aggregate.CustomFields. -type Aggregate_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` } // AggregateFamilyLabel defines model for Aggregate.Family.Label. @@ -4536,50 +9386,9061 @@ type AggregateFamilyLabel string // AggregateFamilyValue defines model for Aggregate.Family.Value. type AggregateFamilyValue int -// Representation of an IP address which does not exist in the database. -type AvailableIP struct { - Address *string `json:"address,omitempty"` - Family *int `json:"family,omitempty"` - Vrf *struct { - // Embedded struct due to allOf(#/components/schemas/NestedVRF) - NestedVRF `yaml:",inline"` - } `json:"vrf,omitempty"` +// AutonomousSystem REST API serializer for AutonomousSystem records. +type AutonomousSystem struct { + // Asn 32-bit autonomous system number + Asn int64 `json:"asn"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Provider *NestedProvider `json:"provider"` + Status struct { + Label *AutonomousSystemStatusLabel `json:"label,omitempty"` + Value *AutonomousSystemStatusValue `json:"value,omitempty"` + } `json:"status"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` } -// Representation of a prefix which does not exist in the database. +// AutonomousSystemStatusLabel defines model for AutonomousSystem.Status.Label. +type AutonomousSystemStatusLabel string + +// AutonomousSystemStatusValue defines model for AutonomousSystem.Status.Value. +type AutonomousSystemStatusValue string + +// AvailableIP Representation of an IP address which does not exist in the database. +type AvailableIP struct { + Address *string `json:"address,omitempty"` + Family *int `json:"family,omitempty"` + Vrf *NestedVRF `json:"vrf,omitempty"` +} + +// AvailablePrefix Representation of a prefix which does not exist in the database. type AvailablePrefix struct { - Family *int `json:"family,omitempty"` - Prefix *string `json:"prefix,omitempty"` - Vrf *struct { - // Embedded struct due to allOf(#/components/schemas/NestedVRF) - NestedVRF `yaml:",inline"` - } `json:"vrf,omitempty"` + Family *int `json:"family,omitempty"` + Prefix *string `json:"prefix,omitempty"` + Vrf *NestedVRF `json:"vrf,omitempty"` +} + +// BGPRoutingInstance REST API serializer for Peering records. +type BGPRoutingInstance struct { + AutonomousSystem *NestedAutonomousSystem `json:"autonomous_system"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device NestedDevice `json:"device"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Endpoints *[]NestedPeerEndpoint `json:"endpoints,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + RouterId *NestedIPAddress `json:"router_id"` + Url *string `json:"url,omitempty"` } // BlankEnum defines model for BlankEnum. -type BlankEnum interface{} +type BlankEnum = interface{} + +// BulkOperationIntegerIDRequest As BulkOperationSerializer, but for models such as users.Group that have an integer ID field. +type BulkOperationIntegerIDRequest struct { + Id int `json:"id"` +} + +// BulkOperationRequest Representation of bulk-DELETE request for most models; also used to validate required ID field for bulk-PATCH/PUT. +type BulkOperationRequest struct { + Id openapi_types.UUID `json:"id"` +} + +// BulkWritableAccessGrantRequest API serializer for interacting with AccessGrant objects. +type BulkWritableAccessGrantRequest struct { + // Command Enter * to grant access to all commands + Command string `json:"command"` + GrantType GrantTypeEnum `json:"grant_type"` + Id openapi_types.UUID `json:"id"` + + // Name Organization name, channel name, or user name + Name string `json:"name"` + + // Subcommand Enter * to grant access to all subcommands of the given command + Subcommand string `json:"subcommand"` + + // Value Corresponding ID value to grant access to.
Enter * to grant access to all organizations, channels, or users + Value string `json:"value"` +} + +// BulkWritableAddressFamilyRequest REST API serializer for AddressFamily records. +type BulkWritableAddressFamilyRequest struct { + AfiSafi AfiSafiEnum `json:"afi_safi"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + ExportPolicy *string `json:"export_policy,omitempty"` + Id openapi_types.UUID `json:"id"` + ImportPolicy *string `json:"import_policy,omitempty"` + Vrf *NestedVRFRequest `json:"vrf"` +} + +// BulkWritableAddressObjectGroupRequest AddressObjectGroup Serializer. +type BulkWritableAddressObjectGroupRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AddressObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableAddressObjectGroupRequestAddressObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"address_objects,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Name Name descriptor for a group address objects. + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item defines model for BulkWritableAddressObjectGroupRequest.AddressObjects.Relationships.Destination.Objects.Item. +type BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item defines model for BulkWritableAddressObjectGroupRequest.AddressObjects.Relationships.Peer.Objects.Item. +type BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item defines model for BulkWritableAddressObjectGroupRequest.AddressObjects.Relationships.Source.Objects.Item. +type BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableAddressObjectGroupRequestAddressObjectsStatus defines model for BulkWritableAddressObjectGroupRequest.AddressObjects.Status. +type BulkWritableAddressObjectGroupRequestAddressObjectsStatus string + +// BulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item defines model for BulkWritableAddressObjectGroupRequest.relationships.destination.objects.Item. +type BulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item defines model for BulkWritableAddressObjectGroupRequest.relationships.peer.objects.Item. +type BulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item defines model for BulkWritableAddressObjectGroupRequest.relationships.source.objects.Item. +type BulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableAddressObjectRequest AddressObject Serializer. +type BulkWritableAddressObjectRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + Id openapi_types.UUID `json:"id"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableAddressObjectRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item defines model for BulkWritableAddressObjectRequest.relationships.destination.objects.Item. +type BulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item defines model for BulkWritableAddressObjectRequest.relationships.peer.objects.Item. +type BulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableAddressObjectRequest_Relationships_Source_Objects_Item defines model for BulkWritableAddressObjectRequest.relationships.source.objects.Item. +type BulkWritableAddressObjectRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableAggregateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableAggregateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DateAdded *openapi_types.Date `json:"date_added"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Prefix string `json:"prefix"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableAggregateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableAggregateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableAggregateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // Rir Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Rir NestedRIRRequest `json:"rir"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` +} + +// BulkWritableAggregateRequest_Relationships_Destination_Objects_Item defines model for BulkWritableAggregateRequest.relationships.destination.objects.Item. +type BulkWritableAggregateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableAggregateRequest_Relationships_Peer_Objects_Item defines model for BulkWritableAggregateRequest.relationships.peer.objects.Item. +type BulkWritableAggregateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableAggregateRequest_Relationships_Source_Objects_Item defines model for BulkWritableAggregateRequest.relationships.source.objects.Item. +type BulkWritableAggregateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableAutonomousSystemRequest REST API serializer for AutonomousSystem records. +type BulkWritableAutonomousSystemRequest struct { + // Asn 32-bit autonomous system number + Asn int64 `json:"asn"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Provider *NestedProviderRequest `json:"provider"` + Status Status2a0Enum `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableBGPRoutingInstanceRequest REST API serializer for Peering records. +type BulkWritableBGPRoutingInstanceRequest struct { + AutonomousSystem *NestedAutonomousSystemRequest `json:"autonomous_system"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device NestedDeviceRequest `json:"device"` + Id openapi_types.UUID `json:"id"` + RouterId *NestedIPAddressRequest `json:"router_id"` +} + +// BulkWritableCVELCMRequest REST API serializer for CVELCM records. +type BulkWritableCVELCMRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Cvss *float64 `json:"cvss"` + CvssV2 *float64 `json:"cvss_v2"` + CvssV3 *float64 `json:"cvss_v3"` + Description *string `json:"description"` + Fix *string `json:"fix"` + Id openapi_types.UUID `json:"id"` + Link string `json:"link"` + Name string `json:"name"` + PublishedDate openapi_types.Date `json:"published_date"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableCVELCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableCVELCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableCVELCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Severity *SeverityEnum `json:"severity,omitempty"` + Status *Status4f5Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableCVELCMRequest_Relationships_Destination_Objects_Item defines model for BulkWritableCVELCMRequest.relationships.destination.objects.Item. +type BulkWritableCVELCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableCVELCMRequest_Relationships_Peer_Objects_Item defines model for BulkWritableCVELCMRequest.relationships.peer.objects.Item. +type BulkWritableCVELCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableCVELCMRequest_Relationships_Source_Objects_Item defines model for BulkWritableCVELCMRequest.relationships.source.objects.Item. +type BulkWritableCVELCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableCableRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableCableRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Id openapi_types.UUID `json:"id"` + Label *string `json:"label,omitempty"` + Length *int `json:"length"` + LengthUnit *LengthUnitEnum `json:"length_unit,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableCableRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableCableRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableCableRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status CableStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + TerminationAId openapi_types.UUID `json:"termination_a_id"` + TerminationAType string `json:"termination_a_type"` + TerminationBId openapi_types.UUID `json:"termination_b_id"` + TerminationBType string `json:"termination_b_type"` + Type *BulkWritableCableRequest_Type `json:"type,omitempty"` +} + +// BulkWritableCableRequest_Relationships_Destination_Objects_Item defines model for BulkWritableCableRequest.relationships.destination.objects.Item. +type BulkWritableCableRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableCableRequest_Relationships_Peer_Objects_Item defines model for BulkWritableCableRequest.relationships.peer.objects.Item. +type BulkWritableCableRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableCableRequest_Relationships_Source_Objects_Item defines model for BulkWritableCableRequest.relationships.source.objects.Item. +type BulkWritableCableRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableCableRequest_Type defines model for BulkWritableCableRequest.Type. +type BulkWritableCableRequest_Type struct { + union json.RawMessage +} + +// BulkWritableCapircaPolicyRequest CapircaPolicy Serializer. +type BulkWritableCapircaPolicyRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Cfg *string `json:"cfg"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Device *openapi_types.UUID `json:"device"` + Id openapi_types.UUID `json:"id"` + Net *string `json:"net"` + Pol *string `json:"pol"` + Svc *string `json:"svc"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableCircuitMaintenanceCircuitImpactRequest Serializer for API. +type BulkWritableCircuitMaintenanceCircuitImpactRequest struct { + Circuit openapi_types.UUID `json:"circuit"` + Id openapi_types.UUID `json:"id"` + Impact *BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact `json:"impact"` + Maintenance openapi_types.UUID `json:"maintenance"` +} + +// BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact defines model for BulkWritableCircuitMaintenanceCircuitImpactRequest.Impact. +type BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact struct { + union json.RawMessage +} + +// BulkWritableCircuitMaintenanceRequest Serializer for API. +type BulkWritableCircuitMaintenanceRequest struct { + Ack *bool `json:"ack"` + Description *string `json:"description"` + EndTime time.Time `json:"end_time"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + StartTime time.Time `json:"start_time"` + Status *BulkWritableCircuitMaintenanceRequest_Status `json:"status"` +} + +// BulkWritableCircuitMaintenanceRequest_Status defines model for BulkWritableCircuitMaintenanceRequest.Status. +type BulkWritableCircuitMaintenanceRequest_Status struct { + union json.RawMessage +} + +// BulkWritableCircuitRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableCircuitRequest struct { + Cid string `json:"cid"` + Comments *string `json:"comments,omitempty"` + CommitRate *int `json:"commit_rate"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + InstallDate *openapi_types.Date `json:"install_date"` + + // Provider Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Provider NestedProviderRequest `json:"provider"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableCircuitRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableCircuitRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableCircuitRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status CircuitStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + + // Type Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Type NestedCircuitTypeRequest `json:"type"` +} + +// BulkWritableCircuitRequest_Relationships_Destination_Objects_Item defines model for BulkWritableCircuitRequest.relationships.destination.objects.Item. +type BulkWritableCircuitRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableCircuitRequest_Relationships_Peer_Objects_Item defines model for BulkWritableCircuitRequest.relationships.peer.objects.Item. +type BulkWritableCircuitRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableCircuitRequest_Relationships_Source_Objects_Item defines model for BulkWritableCircuitRequest.relationships.source.objects.Item. +type BulkWritableCircuitRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableCircuitTerminationRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableCircuitTerminationRequest struct { + // Circuit Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Circuit NestedCircuitRequest `json:"circuit"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Location *NestedLocationRequest `json:"location"` + PortSpeed *int `json:"port_speed"` + PpInfo *string `json:"pp_info,omitempty"` + ProviderNetwork *NestedProviderNetworkRequest `json:"provider_network"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Site *NestedSiteRequest `json:"site"` + TermSide TermSideEnum `json:"term_side"` + + // UpstreamSpeed Upstream speed, if different from port speed + UpstreamSpeed *int `json:"upstream_speed"` + XconnectId *string `json:"xconnect_id,omitempty"` +} + +// BulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item defines model for BulkWritableCircuitTerminationRequest.relationships.destination.objects.Item. +type BulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item defines model for BulkWritableCircuitTerminationRequest.relationships.peer.objects.Item. +type BulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item defines model for BulkWritableCircuitTerminationRequest.relationships.source.objects.Item. +type BulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableCircuitTypeRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableCircuitTypeRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// BulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item defines model for BulkWritableCircuitTypeRequest.relationships.destination.objects.Item. +type BulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item defines model for BulkWritableCircuitTypeRequest.relationships.peer.objects.Item. +type BulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item defines model for BulkWritableCircuitTypeRequest.relationships.source.objects.Item. +type BulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableClusterGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableClusterGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableClusterGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// BulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item defines model for BulkWritableClusterGroupRequest.relationships.destination.objects.Item. +type BulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item defines model for BulkWritableClusterGroupRequest.relationships.peer.objects.Item. +type BulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableClusterGroupRequest_Relationships_Source_Objects_Item defines model for BulkWritableClusterGroupRequest.relationships.source.objects.Item. +type BulkWritableClusterGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableClusterRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableClusterRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Group *NestedClusterGroupRequest `json:"group"` + Id openapi_types.UUID `json:"id"` + Location *NestedLocationRequest `json:"location"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableClusterRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableClusterRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableClusterRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Site *NestedSiteRequest `json:"site"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + + // Type Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Type NestedClusterTypeRequest `json:"type"` +} + +// BulkWritableClusterRequest_Relationships_Destination_Objects_Item defines model for BulkWritableClusterRequest.relationships.destination.objects.Item. +type BulkWritableClusterRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableClusterRequest_Relationships_Peer_Objects_Item defines model for BulkWritableClusterRequest.relationships.peer.objects.Item. +type BulkWritableClusterRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableClusterRequest_Relationships_Source_Objects_Item defines model for BulkWritableClusterRequest.relationships.source.objects.Item. +type BulkWritableClusterRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableClusterTypeRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableClusterTypeRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableClusterTypeRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// BulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item defines model for BulkWritableClusterTypeRequest.relationships.destination.objects.Item. +type BulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item defines model for BulkWritableClusterTypeRequest.relationships.peer.objects.Item. +type BulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableClusterTypeRequest_Relationships_Source_Objects_Item defines model for BulkWritableClusterTypeRequest.relationships.source.objects.Item. +type BulkWritableClusterTypeRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableCommandTokenRequest API serializer for interacting with CommandToken objects. +type BulkWritableCommandTokenRequest struct { + // Comment Optional: Enter description of token + Comment *string `json:"comment,omitempty"` + Id openapi_types.UUID `json:"id"` + Platform PlatformEnum `json:"platform"` + + // Token Token given by chat platform for signing or command validation + Token string `json:"token"` +} + +// BulkWritableComplianceFeatureRequest Serializer for ComplianceFeature object. +type BulkWritableComplianceFeatureRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableComplianceRuleRequest Serializer for ComplianceRule object. +type BulkWritableComplianceRuleRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + + // ConfigOrdered Whether or not the configuration order matters, such as in ACLs. + ConfigOrdered bool `json:"config_ordered"` + + // ConfigType Whether the config is in cli or json/structured format. + ConfigType *ConfigTypeEnum `json:"config_type,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Feature openapi_types.UUID `json:"feature"` + Id openapi_types.UUID `json:"id"` + + // MatchConfig The config to match that is matched based on the parent most configuration. e.g. `router bgp` or `ntp`. + MatchConfig *string `json:"match_config"` + Platform openapi_types.UUID `json:"platform"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableComputedFieldRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type BulkWritableComputedFieldRequest struct { + ContentType string `json:"content_type"` + Description *string `json:"description,omitempty"` + + // FallbackValue Fallback value (if any) to be output for the field in the case of a template rendering error. + FallbackValue *string `json:"fallback_value,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Label Name of the field as displayed to users + Label string `json:"label"` + + // Slug Internal field name. Please use underscores rather than dashes in this slug. + Slug *string `json:"slug,omitempty"` + + // Template Jinja2 template code for field value + Template string `json:"template"` + Weight *int `json:"weight,omitempty"` +} + +// BulkWritableConfigComplianceRequest Serializer for ConfigCompliance object. +type BulkWritableConfigComplianceRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + + // Actual Actual Configuration for feature + Actual *map[string]interface{} `json:"actual,omitempty"` + Compliance *bool `json:"compliance"` + ComplianceInt *int `json:"compliance_int"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Device The device + Device openapi_types.UUID `json:"device"` + + // Extra Configuration that should not be on the device. + Extra *map[string]interface{} `json:"extra,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Intended Intended Configuration for feature + Intended *map[string]interface{} `json:"intended,omitempty"` + + // Missing Configuration that should be on the device. + Missing *map[string]interface{} `json:"missing,omitempty"` + Ordered *bool `json:"ordered,omitempty"` + Rule openapi_types.UUID `json:"rule"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableConfigContextRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type BulkWritableConfigContextRequest struct { + ClusterGroups *[]struct { + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + } `json:"cluster_groups,omitempty"` + Clusters *[]struct { + Name string `json:"name"` + } `json:"clusters,omitempty"` + Data map[string]interface{} `json:"data"` + Description *string `json:"description,omitempty"` + DeviceTypes *[]struct { + Model string `json:"model"` + Slug string `json:"slug"` + } `json:"device_types,omitempty"` + Id openapi_types.UUID `json:"id"` + IsActive *bool `json:"is_active,omitempty"` + Locations *[]struct { + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + } `json:"locations,omitempty"` + Name string `json:"name"` + OwnerContentType *string `json:"owner_content_type"` + OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` + Platforms *[]struct { + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + } `json:"platforms,omitempty"` + Regions *[]struct { + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + } `json:"regions,omitempty"` + Roles *[]struct { + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + } `json:"roles,omitempty"` + Schema *NestedConfigContextSchemaRequest `json:"schema"` + Sites *[]struct { + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + } `json:"sites,omitempty"` + Tags *[]string `json:"tags,omitempty"` + TenantGroups *[]struct { + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + } `json:"tenant_groups,omitempty"` + Tenants *[]struct { + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + } `json:"tenants,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// BulkWritableConfigContextSchemaRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableConfigContextSchemaRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // DataSchema A JSON Schema document which is used to validate a config context object. + DataSchema map[string]interface{} `json:"data_schema"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + OwnerContentType *string `json:"owner_content_type"` + OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// BulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item defines model for BulkWritableConfigContextSchemaRequest.relationships.destination.objects.Item. +type BulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item defines model for BulkWritableConfigContextSchemaRequest.relationships.peer.objects.Item. +type BulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item defines model for BulkWritableConfigContextSchemaRequest.relationships.source.objects.Item. +type BulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableConfigRemoveRequest Serializer for ConfigRemove object. +type BulkWritableConfigRemoveRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Platform openapi_types.UUID `json:"platform"` + + // Regex Regex pattern used to remove a line from the backup configuration. + Regex string `json:"regex"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableConfigReplaceRequest Serializer for ConfigReplace object. +type BulkWritableConfigReplaceRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Platform openapi_types.UUID `json:"platform"` + + // Regex Regex pattern that will be found and replaced with 'replaced text'. + Regex string `json:"regex"` + + // Replace Text that will be inserted in place of Regex pattern match. + Replace string `json:"replace"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableConsolePortRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableConsolePortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device NestedDeviceRequest `json:"device"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableConsolePortRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableConsolePortRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableConsolePortRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type *ConsolePortTypeChoices `json:"type,omitempty"` +} + +// BulkWritableConsolePortRequest_Relationships_Destination_Objects_Item defines model for BulkWritableConsolePortRequest.relationships.destination.objects.Item. +type BulkWritableConsolePortRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableConsolePortRequest_Relationships_Peer_Objects_Item defines model for BulkWritableConsolePortRequest.relationships.peer.objects.Item. +type BulkWritableConsolePortRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableConsolePortRequest_Relationships_Source_Objects_Item defines model for BulkWritableConsolePortRequest.relationships.source.objects.Item. +type BulkWritableConsolePortRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableConsolePortTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableConsolePortTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceType NestedDeviceTypeRequest `json:"device_type"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *ConsolePortTypeChoices `json:"type,omitempty"` +} + +// BulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item defines model for BulkWritableConsolePortTemplateRequest.relationships.destination.objects.Item. +type BulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item defines model for BulkWritableConsolePortTemplateRequest.relationships.peer.objects.Item. +type BulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item defines model for BulkWritableConsolePortTemplateRequest.relationships.source.objects.Item. +type BulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableConsoleServerPortRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableConsoleServerPortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device NestedDeviceRequest `json:"device"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type *ConsolePortTypeChoices `json:"type,omitempty"` +} + +// BulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item defines model for BulkWritableConsoleServerPortRequest.relationships.destination.objects.Item. +type BulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item defines model for BulkWritableConsoleServerPortRequest.relationships.peer.objects.Item. +type BulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item defines model for BulkWritableConsoleServerPortRequest.relationships.source.objects.Item. +type BulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableConsoleServerPortTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableConsoleServerPortTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceType NestedDeviceTypeRequest `json:"device_type"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *ConsolePortTypeChoices `json:"type,omitempty"` +} + +// BulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item defines model for BulkWritableConsoleServerPortTemplateRequest.relationships.destination.objects.Item. +type BulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item defines model for BulkWritableConsoleServerPortTemplateRequest.relationships.peer.objects.Item. +type BulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item defines model for BulkWritableConsoleServerPortTemplateRequest.relationships.source.objects.Item. +type BulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableContactLCMRequest API serializer. +type BulkWritableContactLCMRequest struct { + Address *string `json:"address,omitempty"` + Comments *string `json:"comments,omitempty"` + + // Contract Associated Contract + Contract NestedContractLCMRequest `json:"contract"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name"` + Phone *string `json:"phone,omitempty"` + Priority *int `json:"priority,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableContactLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableContactLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableContactLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableContactLCMRequest_Relationships_Destination_Objects_Item defines model for BulkWritableContactLCMRequest.relationships.destination.objects.Item. +type BulkWritableContactLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableContactLCMRequest_Relationships_Peer_Objects_Item defines model for BulkWritableContactLCMRequest.relationships.peer.objects.Item. +type BulkWritableContactLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableContactLCMRequest_Relationships_Source_Objects_Item defines model for BulkWritableContactLCMRequest.relationships.source.objects.Item. +type BulkWritableContactLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableContractLCMRequest API serializer. +type BulkWritableContractLCMRequest struct { + ContractType *string `json:"contract_type"` + Cost *string `json:"cost"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + End *openapi_types.Date `json:"end"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + + // Provider Vendor + Provider NestedProviderLCMRequest `json:"provider"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableContractLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableContractLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableContractLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Start *openapi_types.Date `json:"start"` + SupportLevel *string `json:"support_level"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableContractLCMRequest_Relationships_Destination_Objects_Item defines model for BulkWritableContractLCMRequest.relationships.destination.objects.Item. +type BulkWritableContractLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableContractLCMRequest_Relationships_Peer_Objects_Item defines model for BulkWritableContractLCMRequest.relationships.peer.objects.Item. +type BulkWritableContractLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableContractLCMRequest_Relationships_Source_Objects_Item defines model for BulkWritableContractLCMRequest.relationships.source.objects.Item. +type BulkWritableContractLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableCustomFieldChoiceRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type BulkWritableCustomFieldChoiceRequest struct { + // Field Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Field NestedCustomFieldRequest `json:"field"` + Id openapi_types.UUID `json:"id"` + Value string `json:"value"` + + // Weight Higher weights appear later in the list + Weight *int `json:"weight,omitempty"` +} + +// BulkWritableCustomLinkRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type BulkWritableCustomLinkRequest struct { + // ButtonClass The class of the first link in a group will be used for the dropdown button + ButtonClass *ButtonClassEnum `json:"button_class,omitempty"` + ContentType string `json:"content_type"` + + // GroupName Links with the same group will appear as a dropdown menu + GroupName *string `json:"group_name,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + + // NewWindow Force link to open in a new window + NewWindow bool `json:"new_window"` + + // TargetUrl Jinja2 template code for link URL. Reference the object as {{ obj }} such as {{ obj.platform.slug }}. + TargetUrl string `json:"target_url"` + + // Text Jinja2 template code for link text. Reference the object as {{ obj }} such as {{ obj.platform.slug }}. Links which render as empty text will not be displayed. + Text string `json:"text"` + Weight *int `json:"weight,omitempty"` +} + +// BulkWritableDeviceBayRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableDeviceBayRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device NestedDeviceRequest `json:"device"` + Id openapi_types.UUID `json:"id"` + InstalledDevice *NestedDeviceRequest `json:"installed_device"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableDeviceBayRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item defines model for BulkWritableDeviceBayRequest.relationships.destination.objects.Item. +type BulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item defines model for BulkWritableDeviceBayRequest.relationships.peer.objects.Item. +type BulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableDeviceBayRequest_Relationships_Source_Objects_Item defines model for BulkWritableDeviceBayRequest.relationships.source.objects.Item. +type BulkWritableDeviceBayRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableDeviceBayTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableDeviceBayTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceType NestedDeviceTypeRequest `json:"device_type"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` +} + +// BulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item defines model for BulkWritableDeviceBayTemplateRequest.relationships.destination.objects.Item. +type BulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item defines model for BulkWritableDeviceBayTemplateRequest.relationships.peer.objects.Item. +type BulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item defines model for BulkWritableDeviceBayTemplateRequest.relationships.source.objects.Item. +type BulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableDeviceRedundancyGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableDeviceRedundancyGroupRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + FailoverStrategy FailoverStrategyEnum `json:"failover_strategy"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + SecretsGroup *openapi_types.UUID `json:"secrets_group"` + Slug *string `json:"slug,omitempty"` + Status LocationStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item defines model for BulkWritableDeviceRedundancyGroupRequest.relationships.destination.objects.Item. +type BulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item defines model for BulkWritableDeviceRedundancyGroupRequest.relationships.peer.objects.Item. +type BulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item defines model for BulkWritableDeviceRedundancyGroupRequest.relationships.source.objects.Item. +type BulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableDeviceRoleRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableDeviceRoleRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + + // VmRole Virtual machines may be assigned to this role + VmRole *bool `json:"vm_role,omitempty"` +} + +// BulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item defines model for BulkWritableDeviceRoleRequest.relationships.destination.objects.Item. +type BulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item defines model for BulkWritableDeviceRoleRequest.relationships.peer.objects.Item. +type BulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item defines model for BulkWritableDeviceRoleRequest.relationships.source.objects.Item. +type BulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableDeviceTypeRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableDeviceTypeRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + FrontImage *openapi_types.File `json:"front_image,omitempty"` + Id openapi_types.UUID `json:"id"` + + // IsFullDepth Device consumes both front and rear rack faces + IsFullDepth *bool `json:"is_full_depth,omitempty"` + + // Manufacturer Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Manufacturer NestedManufacturerRequest `json:"manufacturer"` + Model string `json:"model"` + + // PartNumber Discrete part number (optional) + PartNumber *string `json:"part_number,omitempty"` + RearImage *openapi_types.File `json:"rear_image,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + SubdeviceRole *SubdeviceRoleEnum `json:"subdevice_role,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + UHeight *int `json:"u_height,omitempty"` +} + +// BulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item defines model for BulkWritableDeviceTypeRequest.relationships.destination.objects.Item. +type BulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item defines model for BulkWritableDeviceTypeRequest.relationships.peer.objects.Item. +type BulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item defines model for BulkWritableDeviceTypeRequest.relationships.source.objects.Item. +type BulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableDeviceWithConfigContextRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableDeviceWithConfigContextRequest struct { + // AssetTag A unique tag used to identify this device + AssetTag *string `json:"asset_tag"` + Cluster *NestedClusterRequest `json:"cluster"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DeviceRedundancyGroup *NestedDeviceRedundancyGroupRequest `json:"device_redundancy_group"` + + // DeviceRedundancyGroupPriority The priority the device has in the device redundancy group. + DeviceRedundancyGroupPriority *int `json:"device_redundancy_group_priority"` + + // DeviceRole Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceRole NestedDeviceRoleRequest `json:"device_role"` + + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceType NestedDeviceTypeRequest `json:"device_type"` + Face *FaceEnum `json:"face,omitempty"` + Id openapi_types.UUID `json:"id"` + LocalContextData *map[string]interface{} `json:"local_context_data"` + LocalContextSchema *NestedConfigContextSchemaRequest `json:"local_context_schema"` + Location *NestedLocationRequest `json:"location"` + Name *string `json:"name"` + Platform *NestedPlatformRequest `json:"platform"` + + // Position The lowest-numbered unit occupied by the device + Position *int `json:"position"` + PrimaryIp4 *NestedIPAddressRequest `json:"primary_ip4"` + PrimaryIp6 *NestedIPAddressRequest `json:"primary_ip6"` + Rack *NestedRackRequest `json:"rack"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + SecretsGroup *NestedSecretsGroupRequest `json:"secrets_group"` + Serial *string `json:"serial,omitempty"` + + // Site Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Site NestedSiteRequest `json:"site"` + Status DeviceStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + VcPosition *int `json:"vc_position"` + VcPriority *int `json:"vc_priority"` + VirtualChassis *NestedVirtualChassisRequest `json:"virtual_chassis"` +} + +// BulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item defines model for BulkWritableDeviceWithConfigContextRequest.relationships.destination.objects.Item. +type BulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item defines model for BulkWritableDeviceWithConfigContextRequest.relationships.peer.objects.Item. +type BulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item defines model for BulkWritableDeviceWithConfigContextRequest.relationships.source.objects.Item. +type BulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableDynamicGroupMembershipRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type BulkWritableDynamicGroupMembershipRequest struct { + // Group Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Group NestedDynamicGroupRequest `json:"group"` + Id openapi_types.UUID `json:"id"` + Operator OperatorEnum `json:"operator"` + + // ParentGroup Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + ParentGroup NestedDynamicGroupRequest `json:"parent_group"` + Weight int `json:"weight"` +} + +// BulkWritableDynamicGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableDynamicGroupRequest struct { + ContentType string `json:"content_type"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Filter A JSON-encoded dictionary of filter parameters for group membership + Filter map[string]interface{} `json:"filter"` + Id openapi_types.UUID `json:"id"` + + // Name Dynamic Group name + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // Slug Unique slug + Slug *string `json:"slug,omitempty"` +} + +// BulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item defines model for BulkWritableDynamicGroupRequest.relationships.destination.objects.Item. +type BulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item defines model for BulkWritableDynamicGroupRequest.relationships.peer.objects.Item. +type BulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item defines model for BulkWritableDynamicGroupRequest.relationships.source.objects.Item. +type BulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableExportTemplateRequest Extend ValidatedModelSerializer with a `relationships` field. +type BulkWritableExportTemplateRequest struct { + ContentType string `json:"content_type"` + Description *string `json:"description,omitempty"` + + // FileExtension Extension to append to the rendered filename + FileExtension *string `json:"file_extension,omitempty"` + Id openapi_types.UUID `json:"id"` + + // MimeType Defaults to text/plain + MimeType *string `json:"mime_type,omitempty"` + Name string `json:"name"` + OwnerContentType *string `json:"owner_content_type"` + OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableExportTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // TemplateCode The list of objects being exported is passed as a context variable named queryset. + TemplateCode string `json:"template_code"` +} + +// BulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item defines model for BulkWritableExportTemplateRequest.relationships.destination.objects.Item. +type BulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item defines model for BulkWritableExportTemplateRequest.relationships.peer.objects.Item. +type BulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableExportTemplateRequest_Relationships_Source_Objects_Item defines model for BulkWritableExportTemplateRequest.relationships.source.objects.Item. +type BulkWritableExportTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableFQDNRequest FQDN Serializer. +type BulkWritableFQDNRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + IpAddresses *[]struct { + Address string `json:"address"` + } `json:"ip_addresses,omitempty"` + + // Name Resolvable fully qualified domain name (e.g. networktocode.com) + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableFQDNRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableFQDNRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableFQDNRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableFQDNRequest_Relationships_Destination_Objects_Item defines model for BulkWritableFQDNRequest.relationships.destination.objects.Item. +type BulkWritableFQDNRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableFQDNRequest_Relationships_Peer_Objects_Item defines model for BulkWritableFQDNRequest.relationships.peer.objects.Item. +type BulkWritableFQDNRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableFQDNRequest_Relationships_Source_Objects_Item defines model for BulkWritableFQDNRequest.relationships.source.objects.Item. +type BulkWritableFQDNRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableFrontPortRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableFrontPortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device NestedDeviceRequest `json:"device"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + + // RearPort NestedRearPortSerializer but with parent device omitted (since front and rear ports must belong to same device) + RearPort FrontPortRearPortRequest `json:"rear_port"` + RearPortPosition *int `json:"rear_port_position,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableFrontPortRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableFrontPortRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableFrontPortRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type PortTypeChoices `json:"type"` +} + +// BulkWritableFrontPortRequest_Relationships_Destination_Objects_Item defines model for BulkWritableFrontPortRequest.relationships.destination.objects.Item. +type BulkWritableFrontPortRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableFrontPortRequest_Relationships_Peer_Objects_Item defines model for BulkWritableFrontPortRequest.relationships.peer.objects.Item. +type BulkWritableFrontPortRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableFrontPortRequest_Relationships_Source_Objects_Item defines model for BulkWritableFrontPortRequest.relationships.source.objects.Item. +type BulkWritableFrontPortRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableFrontPortTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableFrontPortTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceType NestedDeviceTypeRequest `json:"device_type"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + + // RearPort Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + RearPort NestedRearPortTemplateRequest `json:"rear_port"` + RearPortPosition *int `json:"rear_port_position,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type PortTypeChoices `json:"type"` +} + +// BulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item defines model for BulkWritableFrontPortTemplateRequest.relationships.destination.objects.Item. +type BulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item defines model for BulkWritableFrontPortTemplateRequest.relationships.peer.objects.Item. +type BulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item defines model for BulkWritableFrontPortTemplateRequest.relationships.source.objects.Item. +type BulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableGitRepositoryRequest Git repositories defined as a data source. +type BulkWritableGitRepositoryRequest struct { + Branch *string `json:"branch,omitempty"` + + // CurrentHead Commit hash of the most recent fetch from the selected branch. Used for syncing between workers. + CurrentHead *string `json:"current_head,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + ProvidedContents *[]BulkWritableGitRepositoryRequest_ProvidedContents_Item `json:"provided_contents,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // RemoteUrl Only HTTP and HTTPS URLs are presently supported + RemoteUrl string `json:"remote_url"` + SecretsGroup *NestedSecretsGroupRequest `json:"secrets_group"` + Slug *string `json:"slug,omitempty"` + Token *string `json:"token,omitempty"` + Username *string `json:"username,omitempty"` +} + +// BulkWritableGitRepositoryRequest_ProvidedContents_Item defines model for BulkWritableGitRepositoryRequest.provided_contents.Item. +type BulkWritableGitRepositoryRequest_ProvidedContents_Item struct { + union json.RawMessage +} + +// BulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item defines model for BulkWritableGitRepositoryRequest.relationships.destination.objects.Item. +type BulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item defines model for BulkWritableGitRepositoryRequest.relationships.peer.objects.Item. +type BulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item defines model for BulkWritableGitRepositoryRequest.relationships.source.objects.Item. +type BulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableGoldenConfigRequest Serializer for GoldenConfig object. +type BulkWritableGoldenConfigRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + + // BackupConfig Full backup config for device. + BackupConfig *string `json:"backup_config,omitempty"` + BackupLastAttemptDate *time.Time `json:"backup_last_attempt_date"` + BackupLastSuccessDate *time.Time `json:"backup_last_success_date"` + + // ComplianceConfig Full config diff for device. + ComplianceConfig *string `json:"compliance_config,omitempty"` + ComplianceLastAttemptDate *time.Time `json:"compliance_last_attempt_date"` + ComplianceLastSuccessDate *time.Time `json:"compliance_last_success_date"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Device device + Device openapi_types.UUID `json:"device"` + Id openapi_types.UUID `json:"id"` + + // IntendedConfig Intended config for the device. + IntendedConfig *string `json:"intended_config,omitempty"` + IntendedLastAttemptDate *time.Time `json:"intended_last_attempt_date"` + IntendedLastSuccessDate *time.Time `json:"intended_last_success_date"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableGoldenConfigSettingRequest Serializer for GoldenConfigSetting object. +type BulkWritableGoldenConfigSettingRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + + // BackupPathTemplate The Jinja path representation of where the backup file will be found. The variable `obj` is available as the device instance object of a given device, as is the case for all Jinja templates. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + BackupPathTemplate *string `json:"backup_path_template,omitempty"` + BackupRepository *openapi_types.UUID `json:"backup_repository"` + + // BackupTestConnectivity Whether or not to pretest the connectivity of the device by verifying there is a resolvable IP that can connect to port 22. + BackupTestConnectivity *bool `json:"backup_test_connectivity,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DynamicGroup Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DynamicGroup *NestedDynamicGroupRequest `json:"dynamic_group,omitempty"` + Id openapi_types.UUID `json:"id"` + + // IntendedPathTemplate The Jinja path representation of where the generated file will be places. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + IntendedPathTemplate *string `json:"intended_path_template,omitempty"` + IntendedRepository *openapi_types.UUID `json:"intended_repository"` + + // JinjaPathTemplate The Jinja path representation of where the Jinja template can be found. e.g. `{{obj.platform.slug}}.j2` + JinjaPathTemplate *string `json:"jinja_path_template,omitempty"` + JinjaRepository *openapi_types.UUID `json:"jinja_repository"` + Name string `json:"name"` + Scope *map[string]interface{} `json:"scope,omitempty"` + Slug string `json:"slug"` + SotAggQuery *openapi_types.UUID `json:"sot_agg_query"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// BulkWritableGraphQLQueryRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type BulkWritableGraphQLQueryRequest struct { + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Query string `json:"query"` + Slug *string `json:"slug,omitempty"` + Variables *map[string]interface{} `json:"variables"` +} + +// BulkWritableGroupRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type BulkWritableGroupRequest struct { + Id int `json:"id"` + Name string `json:"name"` +} + +// BulkWritableHardwareLCMRequest API serializer. +type BulkWritableHardwareLCMRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // DeviceType Device Type to attach the Hardware LCM to + DeviceType NestedDeviceTypeRequest `json:"device_type"` + DocumentationUrl *string `json:"documentation_url,omitempty"` + EndOfSale *openapi_types.Date `json:"end_of_sale"` + EndOfSecurityPatches *openapi_types.Date `json:"end_of_security_patches"` + EndOfSupport *openapi_types.Date `json:"end_of_support"` + EndOfSwReleases *openapi_types.Date `json:"end_of_sw_releases"` + Id openapi_types.UUID `json:"id"` + InventoryItem *string `json:"inventory_item"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ReleaseDate *openapi_types.Date `json:"release_date"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item defines model for BulkWritableHardwareLCMRequest.relationships.destination.objects.Item. +type BulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item defines model for BulkWritableHardwareLCMRequest.relationships.peer.objects.Item. +type BulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item defines model for BulkWritableHardwareLCMRequest.relationships.source.objects.Item. +type BulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableIPAddressRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableIPAddressRequest struct { + Address string `json:"address"` + AssignedObjectId *openapi_types.UUID `json:"assigned_object_id"` + AssignedObjectType *string `json:"assigned_object_type"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DnsName Hostname or FQDN (not case-sensitive) + DnsName *string `json:"dns_name,omitempty"` + Id openapi_types.UUID `json:"id"` + NatInside *NestedIPAddressRequest `json:"nat_inside"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableIPAddressRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableIPAddressRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableIPAddressRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Role *RoleEnum `json:"role,omitempty"` + Status IPAddressStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + Vrf *NestedVRFRequest `json:"vrf"` +} + +// BulkWritableIPAddressRequest_Relationships_Destination_Objects_Item defines model for BulkWritableIPAddressRequest.relationships.destination.objects.Item. +type BulkWritableIPAddressRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableIPAddressRequest_Relationships_Peer_Objects_Item defines model for BulkWritableIPAddressRequest.relationships.peer.objects.Item. +type BulkWritableIPAddressRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableIPAddressRequest_Relationships_Source_Objects_Item defines model for BulkWritableIPAddressRequest.relationships.source.objects.Item. +type BulkWritableIPAddressRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableIPRangeRequest IPRange Serializer. +type BulkWritableIPRangeRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + EndAddress string `json:"end_address"` + Id openapi_types.UUID `json:"id"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableIPRangeRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableIPRangeRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableIPRangeRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + StartAddress string `json:"start_address"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Vrf *openapi_types.UUID `json:"vrf"` +} + +// BulkWritableIPRangeRequest_Relationships_Destination_Objects_Item defines model for BulkWritableIPRangeRequest.relationships.destination.objects.Item. +type BulkWritableIPRangeRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableIPRangeRequest_Relationships_Peer_Objects_Item defines model for BulkWritableIPRangeRequest.relationships.peer.objects.Item. +type BulkWritableIPRangeRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableIPRangeRequest_Relationships_Source_Objects_Item defines model for BulkWritableIPRangeRequest.relationships.source.objects.Item. +type BulkWritableIPRangeRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableImageAttachmentRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type BulkWritableImageAttachmentRequest struct { + ContentType string `json:"content_type"` + Id openapi_types.UUID `json:"id"` + Image openapi_types.File `json:"image"` + ImageHeight int `json:"image_height"` + ImageWidth int `json:"image_width"` + Name *string `json:"name,omitempty"` + ObjectId openapi_types.UUID `json:"object_id"` +} + +// BulkWritableInterfaceRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableInterfaceRequest struct { + Bridge *NestedInterfaceRequest `json:"bridge"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device NestedDeviceRequest `json:"device"` + Enabled *bool `json:"enabled,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Lag *NestedInterfaceRequest `json:"lag"` + MacAddress *string `json:"mac_address"` + + // MgmtOnly This interface is used only for out-of-band management + MgmtOnly *bool `json:"mgmt_only,omitempty"` + Mode *ModeEnum `json:"mode,omitempty"` + Mtu *int `json:"mtu"` + Name string `json:"name"` + ParentInterface *NestedInterfaceRequest `json:"parent_interface"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableInterfaceRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableInterfaceRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableInterfaceRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status InterfaceStatusChoices `json:"status"` + TaggedVlans *[]struct { + Name string `json:"name"` + Vid int `json:"vid"` + } `json:"tagged_vlans,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type InterfaceTypeChoices `json:"type"` + UntaggedVlan *NestedVLANRequest `json:"untagged_vlan"` +} + +// BulkWritableInterfaceRequest_Relationships_Destination_Objects_Item defines model for BulkWritableInterfaceRequest.relationships.destination.objects.Item. +type BulkWritableInterfaceRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableInterfaceRequest_Relationships_Peer_Objects_Item defines model for BulkWritableInterfaceRequest.relationships.peer.objects.Item. +type BulkWritableInterfaceRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableInterfaceRequest_Relationships_Source_Objects_Item defines model for BulkWritableInterfaceRequest.relationships.source.objects.Item. +type BulkWritableInterfaceRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableInterfaceTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableInterfaceTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceType NestedDeviceTypeRequest `json:"device_type"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + MgmtOnly *bool `json:"mgmt_only,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type InterfaceTypeChoices `json:"type"` +} + +// BulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item defines model for BulkWritableInterfaceTemplateRequest.relationships.destination.objects.Item. +type BulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item defines model for BulkWritableInterfaceTemplateRequest.relationships.peer.objects.Item. +type BulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item defines model for BulkWritableInterfaceTemplateRequest.relationships.source.objects.Item. +type BulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableInventoryItemRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableInventoryItemRequest struct { + // AssetTag A unique tag used to identify this item + AssetTag *string `json:"asset_tag"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device NestedDeviceRequest `json:"device"` + + // Discovered This item was automatically discovered + Discovered *bool `json:"discovered,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Manufacturer *NestedManufacturerRequest `json:"manufacturer"` + Name string `json:"name"` + Parent *openapi_types.UUID `json:"parent"` + + // PartId Manufacturer-assigned part identifier + PartId *string `json:"part_id,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableInventoryItemRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Serial *string `json:"serial,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item defines model for BulkWritableInventoryItemRequest.relationships.destination.objects.Item. +type BulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item defines model for BulkWritableInventoryItemRequest.relationships.peer.objects.Item. +type BulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableInventoryItemRequest_Relationships_Source_Objects_Item defines model for BulkWritableInventoryItemRequest.relationships.source.objects.Item. +type BulkWritableInventoryItemRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableJobHookRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableJobHookRequest struct { + ContentTypes []string `json:"content_types"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Job The job that this job hook will initiate + Job openapi_types.UUID `json:"job"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableJobHookRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableJobHookRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableJobHookRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // TypeCreate Call this job hook when a matching object is created. + TypeCreate *bool `json:"type_create,omitempty"` + + // TypeDelete Call this job hook when a matching object is deleted. + TypeDelete *bool `json:"type_delete,omitempty"` + + // TypeUpdate Call this job hook when a matching object is updated. + TypeUpdate *bool `json:"type_update,omitempty"` +} + +// BulkWritableJobHookRequest_Relationships_Destination_Objects_Item defines model for BulkWritableJobHookRequest.relationships.destination.objects.Item. +type BulkWritableJobHookRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableJobHookRequest_Relationships_Peer_Objects_Item defines model for BulkWritableJobHookRequest.relationships.peer.objects.Item. +type BulkWritableJobHookRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableJobHookRequest_Relationships_Source_Objects_Item defines model for BulkWritableJobHookRequest.relationships.source.objects.Item. +type BulkWritableJobHookRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableJobRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableJobRequest struct { + // ApprovalRequired Whether the job requires approval from another user before running + ApprovalRequired *bool `json:"approval_required,omitempty"` + + // ApprovalRequiredOverride If set, the configured value will remain even if the underlying Job source code changes + ApprovalRequiredOverride *bool `json:"approval_required_override,omitempty"` + + // CommitDefault Whether the job defaults to committing changes when run, or defaults to a dry-run + CommitDefault *bool `json:"commit_default,omitempty"` + + // CommitDefaultOverride If set, the configured value will remain even if the underlying Job source code changes + CommitDefaultOverride *bool `json:"commit_default_override,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Description Markdown formatting is supported + Description *string `json:"description,omitempty"` + + // DescriptionOverride If set, the configured description will remain even if the underlying Job source code changes + DescriptionOverride *bool `json:"description_override,omitempty"` + + // Enabled Whether this job can be executed by users + Enabled *bool `json:"enabled,omitempty"` + + // Grouping Human-readable grouping that this job belongs to + Grouping string `json:"grouping"` + + // GroupingOverride If set, the configured grouping will remain even if the underlying Job source code changes + GroupingOverride *bool `json:"grouping_override,omitempty"` + + // HasSensitiveVariables Whether this job contains sensitive variables + HasSensitiveVariables *bool `json:"has_sensitive_variables,omitempty"` + + // HasSensitiveVariablesOverride If set, the configured value will remain even if the underlying Job source code changes + HasSensitiveVariablesOverride *bool `json:"has_sensitive_variables_override,omitempty"` + + // Hidden Whether the job defaults to not being shown in the UI + Hidden *bool `json:"hidden,omitempty"` + + // HiddenOverride If set, the configured value will remain even if the underlying Job source code changes + HiddenOverride *bool `json:"hidden_override,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Name Human-readable name of this job + Name string `json:"name"` + + // NameOverride If set, the configured name will remain even if the underlying Job source code changes + NameOverride *bool `json:"name_override,omitempty"` + + // ReadOnly Whether the job is prevented from making lasting changes to the database + ReadOnly *bool `json:"read_only,omitempty"` + + // ReadOnlyOverride If set, the configured value will remain even if the underlying Job source code changes + ReadOnlyOverride *bool `json:"read_only_override,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableJobRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableJobRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableJobRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + + // SoftTimeLimit Maximum runtime in seconds before the job will receive a SoftTimeLimitExceeded exception.
Set to 0 to use Nautobot system default + SoftTimeLimit *float64 `json:"soft_time_limit,omitempty"` + + // SoftTimeLimitOverride If set, the configured value will remain even if the underlying Job source code changes + SoftTimeLimitOverride *bool `json:"soft_time_limit_override,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + + // TaskQueues Comma separated list of task queues that this job can run on. A blank list will use the default queue + TaskQueues *map[string]interface{} `json:"task_queues,omitempty"` + + // TaskQueuesOverride If set, the configured value will remain even if the underlying Job source code changes + TaskQueuesOverride *bool `json:"task_queues_override,omitempty"` + + // TimeLimit Maximum runtime in seconds before the job will be forcibly terminated.
Set to 0 to use Nautobot system default + TimeLimit *float64 `json:"time_limit,omitempty"` + + // TimeLimitOverride If set, the configured value will remain even if the underlying Job source code changes + TimeLimitOverride *bool `json:"time_limit_override,omitempty"` +} + +// BulkWritableJobRequest_Relationships_Destination_Objects_Item defines model for BulkWritableJobRequest.relationships.destination.objects.Item. +type BulkWritableJobRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableJobRequest_Relationships_Peer_Objects_Item defines model for BulkWritableJobRequest.relationships.peer.objects.Item. +type BulkWritableJobRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableJobRequest_Relationships_Source_Objects_Item defines model for BulkWritableJobRequest.relationships.source.objects.Item. +type BulkWritableJobRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableLocationRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableLocationRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + + // LocationType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + LocationType NestedLocationTypeRequest `json:"location_type"` + Name string `json:"name"` + Parent *NestedLocationRequest `json:"parent"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableLocationRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableLocationRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableLocationRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Site *NestedSiteRequest `json:"site"` + Slug *string `json:"slug,omitempty"` + Status LocationStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` +} + +// BulkWritableLocationRequest_Relationships_Destination_Objects_Item defines model for BulkWritableLocationRequest.relationships.destination.objects.Item. +type BulkWritableLocationRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableLocationRequest_Relationships_Peer_Objects_Item defines model for BulkWritableLocationRequest.relationships.peer.objects.Item. +type BulkWritableLocationRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableLocationRequest_Relationships_Source_Objects_Item defines model for BulkWritableLocationRequest.relationships.source.objects.Item. +type BulkWritableLocationRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableLocationTypeRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableLocationTypeRequest struct { + ContentTypes *[]string `json:"content_types,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + + // Nestable Allow Locations of this type to be parents/children of other Locations of this same type + Nestable *bool `json:"nestable,omitempty"` + Parent *NestedLocationTypeRequest `json:"parent"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableLocationTypeRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// BulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item defines model for BulkWritableLocationTypeRequest.relationships.destination.objects.Item. +type BulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item defines model for BulkWritableLocationTypeRequest.relationships.peer.objects.Item. +type BulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableLocationTypeRequest_Relationships_Source_Objects_Item defines model for BulkWritableLocationTypeRequest.relationships.source.objects.Item. +type BulkWritableLocationTypeRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableManufacturerRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableManufacturerRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableManufacturerRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableManufacturerRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableManufacturerRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// BulkWritableManufacturerRequest_Relationships_Destination_Objects_Item defines model for BulkWritableManufacturerRequest.relationships.destination.objects.Item. +type BulkWritableManufacturerRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableManufacturerRequest_Relationships_Peer_Objects_Item defines model for BulkWritableManufacturerRequest.relationships.peer.objects.Item. +type BulkWritableManufacturerRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableManufacturerRequest_Relationships_Source_Objects_Item defines model for BulkWritableManufacturerRequest.relationships.source.objects.Item. +type BulkWritableManufacturerRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableMinMaxValidationRuleRequest Serializer for `MinMaxValidationRule` objects. +type BulkWritableMinMaxValidationRuleRequest struct { + ContentType string `json:"content_type"` + Enabled *bool `json:"enabled,omitempty"` + + // ErrorMessage Optional error message to display when validation fails. + ErrorMessage *string `json:"error_message"` + Field string `json:"field"` + Id openapi_types.UUID `json:"id"` + + // Max When set, apply a maximum value contraint to the value of the model field. + Max *float64 `json:"max"` + + // Min When set, apply a minimum value contraint to the value of the model field. + Min *float64 `json:"min"` + Name string `json:"name"` + Slug string `json:"slug"` +} + +// BulkWritableNATPolicyRequest NATPolicy Serializer. +type BulkWritableNATPolicyRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AssignedDevices *[]NATPolicyDeviceM2MNestedRequest `json:"assigned_devices,omitempty"` + AssignedDynamicGroups *[]NATPolicyDynamicGroupM2MNestedRequest `json:"assigned_dynamic_groups,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` +} + +// BulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRequest.relationships.destination.objects.Item. +type BulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRequest.relationships.peer.objects.Item. +type BulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRequest_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRequest.relationships.source.objects.Item. +type BulkWritableNATPolicyRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest PolicyRule Serializer. +type BulkWritableNATPolicyRuleRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description"` + + // DestinationZone Zone Serializer. + DestinationZone *ZoneRequest `json:"destination_zone,omitempty"` + Id openapi_types.UUID `json:"id"` + Index *int `json:"index"` + Log *bool `json:"log,omitempty"` + Name string `json:"name"` + OriginalDestinationAddressGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AddressObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsAddressObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"address_objects,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Name descriptor for a group address objects. + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"original_destination_address_groups,omitempty"` + OriginalDestinationAddresses *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableNATPolicyRuleRequestOriginalDestinationAddressesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"original_destination_addresses,omitempty"` + OriginalDestinationServiceGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ServiceObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"service_objects,omitempty"` + Status *BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"original_destination_service_groups,omitempty"` + OriginalDestinationServices *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableNATPolicyRuleRequestOriginalDestinationServicesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"original_destination_services,omitempty"` + OriginalSourceAddressGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AddressObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsAddressObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"address_objects,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Name descriptor for a group address objects. + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"original_source_address_groups,omitempty"` + OriginalSourceAddresses *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableNATPolicyRuleRequestOriginalSourceAddressesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"original_source_addresses,omitempty"` + OriginalSourceServiceGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ServiceObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"service_objects,omitempty"` + Status *BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"original_source_service_groups,omitempty"` + OriginalSourceServices *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableNATPolicyRuleRequestOriginalSourceServicesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"original_source_services,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Remark *bool `json:"remark,omitempty"` + RequestId *string `json:"request_id"` + + // SourceZone Zone Serializer. + SourceZone *ZoneRequest `json:"source_zone,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + TranslatedDestinationAddressGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AddressObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsAddressObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"address_objects,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Name descriptor for a group address objects. + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"translated_destination_address_groups,omitempty"` + TranslatedDestinationAddresses *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"translated_destination_addresses,omitempty"` + TranslatedDestinationServiceGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ServiceObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"service_objects,omitempty"` + Status *BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"translated_destination_service_groups,omitempty"` + TranslatedDestinationServices *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"translated_destination_services,omitempty"` + TranslatedSourceAddressGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AddressObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsAddressObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"address_objects,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Name descriptor for a group address objects. + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"translated_source_address_groups,omitempty"` + TranslatedSourceAddresses *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableNATPolicyRuleRequestTranslatedSourceAddressesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"translated_source_addresses,omitempty"` + TranslatedSourceServiceGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ServiceObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"service_objects,omitempty"` + Status *BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"translated_source_service_groups,omitempty"` + TranslatedSourceServices *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableNATPolicyRuleRequestTranslatedSourceServicesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"translated_source_services,omitempty"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationAddressGroups.AddressObjects.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationAddressGroups.AddressObjects.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationAddressGroups.AddressObjects.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsAddressObjectsStatus defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationAddressGroups.AddressObjects.Status. +type BulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsAddressObjectsStatus string + +// BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationAddressGroups.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationAddressGroups.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationAddressGroups.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsStatus defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationAddressGroups.Status. +type BulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsStatus string + +// BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationAddresses.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationAddresses.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationAddresses.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestOriginalDestinationAddressesStatus defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationAddresses.Status. +type BulkWritableNATPolicyRuleRequestOriginalDestinationAddressesStatus string + +// BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationServiceGroups.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationServiceGroups.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationServiceGroups.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol string + +// BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationServiceGroups.ServiceObjects.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationServiceGroups.ServiceObjects.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationServiceGroups.ServiceObjects.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsStatus defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationServiceGroups.ServiceObjects.Status. +type BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsStatus string + +// BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsStatus defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationServiceGroups.Status. +type BulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsStatus string + +// BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type BulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol string + +// BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationServices.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationServices.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationServices.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestOriginalDestinationServicesStatus defines model for BulkWritableNATPolicyRuleRequest.OriginalDestinationServices.Status. +type BulkWritableNATPolicyRuleRequestOriginalDestinationServicesStatus string + +// BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceAddressGroups.AddressObjects.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceAddressGroups.AddressObjects.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceAddressGroups.AddressObjects.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsAddressObjectsStatus defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceAddressGroups.AddressObjects.Status. +type BulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsAddressObjectsStatus string + +// BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceAddressGroups.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceAddressGroups.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceAddressGroups.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsStatus defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceAddressGroups.Status. +type BulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsStatus string + +// BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceAddresses.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceAddresses.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceAddresses.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestOriginalSourceAddressesStatus defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceAddresses.Status. +type BulkWritableNATPolicyRuleRequestOriginalSourceAddressesStatus string + +// BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceServiceGroups.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceServiceGroups.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceServiceGroups.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol string + +// BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceServiceGroups.ServiceObjects.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceServiceGroups.ServiceObjects.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceServiceGroups.ServiceObjects.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsStatus defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceServiceGroups.ServiceObjects.Status. +type BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsStatus string + +// BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsStatus defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceServiceGroups.Status. +type BulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsStatus string + +// BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type BulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol string + +// BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceServices.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceServices.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceServices.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestOriginalSourceServicesStatus defines model for BulkWritableNATPolicyRuleRequest.OriginalSourceServices.Status. +type BulkWritableNATPolicyRuleRequestOriginalSourceServicesStatus string + +// BulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.relationships.destination.objects.Item. +type BulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.relationships.peer.objects.Item. +type BulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.relationships.source.objects.Item. +type BulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationAddressGroups.AddressObjects.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationAddressGroups.AddressObjects.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationAddressGroups.AddressObjects.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsAddressObjectsStatus defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationAddressGroups.AddressObjects.Status. +type BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsAddressObjectsStatus string + +// BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationAddressGroups.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationAddressGroups.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationAddressGroups.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsStatus defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationAddressGroups.Status. +type BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsStatus string + +// BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationAddresses.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationAddresses.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationAddresses.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressesStatus defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationAddresses.Status. +type BulkWritableNATPolicyRuleRequestTranslatedDestinationAddressesStatus string + +// BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationServiceGroups.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationServiceGroups.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationServiceGroups.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol string + +// BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationServiceGroups.ServiceObjects.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationServiceGroups.ServiceObjects.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationServiceGroups.ServiceObjects.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsStatus defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationServiceGroups.ServiceObjects.Status. +type BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsStatus string + +// BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsStatus defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationServiceGroups.Status. +type BulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsStatus string + +// BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol string + +// BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationServices.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationServices.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationServices.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesStatus defines model for BulkWritableNATPolicyRuleRequest.TranslatedDestinationServices.Status. +type BulkWritableNATPolicyRuleRequestTranslatedDestinationServicesStatus string + +// BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceAddressGroups.AddressObjects.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceAddressGroups.AddressObjects.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceAddressGroups.AddressObjects.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsAddressObjectsStatus defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceAddressGroups.AddressObjects.Status. +type BulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsAddressObjectsStatus string + +// BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceAddressGroups.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceAddressGroups.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceAddressGroups.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsStatus defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceAddressGroups.Status. +type BulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsStatus string + +// BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceAddresses.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceAddresses.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceAddresses.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestTranslatedSourceAddressesStatus defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceAddresses.Status. +type BulkWritableNATPolicyRuleRequestTranslatedSourceAddressesStatus string + +// BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceServiceGroups.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceServiceGroups.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceServiceGroups.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol string + +// BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceServiceGroups.ServiceObjects.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceServiceGroups.ServiceObjects.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceServiceGroups.ServiceObjects.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsStatus defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceServiceGroups.ServiceObjects.Status. +type BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsStatus string + +// BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsStatus defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceServiceGroups.Status. +type BulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsStatus string + +// BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type BulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol string + +// BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceServices.Relationships.Destination.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceServices.Relationships.Peer.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceServices.Relationships.Source.Objects.Item. +type BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableNATPolicyRuleRequestTranslatedSourceServicesStatus defines model for BulkWritableNATPolicyRuleRequest.TranslatedSourceServices.Status. +type BulkWritableNATPolicyRuleRequestTranslatedSourceServicesStatus string + +// BulkWritableNoteRequest This base serializer implements common fields and logic for all ModelSerializers. +// +// Namely, it: +// +// - defines the `display` field which exposes a human friendly value for the given object. +// - ensures that `id` field is always present on the serializer as well +// - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. +type BulkWritableNoteRequest struct { + AssignedObjectId openapi_types.UUID `json:"assigned_object_id"` + AssignedObjectType string `json:"assigned_object_type"` + Id openapi_types.UUID `json:"id"` + Note string `json:"note"` + Slug *string `json:"slug,omitempty"` +} + +// BulkWritableObjectPermissionRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type BulkWritableObjectPermissionRequest struct { + // Actions The list of actions granted by this permission + Actions map[string]interface{} `json:"actions"` + + // Constraints Queryset filter matching the applicable objects of the selected type(s) + Constraints *map[string]interface{} `json:"constraints"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Groups *[]struct { + Name string `json:"name"` + } `json:"groups,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + ObjectTypes []string `json:"object_types"` + Users *[]struct { + // Username Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. + Username string `json:"username"` + } `json:"users,omitempty"` +} + +// BulkWritablePeerEndpointRequest REST API serializer for PeerEndpoint records. +type BulkWritablePeerEndpointRequest struct { + AutonomousSystem *NestedAutonomousSystemRequest `json:"autonomous_system"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + ExportPolicy *string `json:"export_policy,omitempty"` + Id openapi_types.UUID `json:"id"` + ImportPolicy *string `json:"import_policy,omitempty"` + PeerGroup *NestedPeerGroupRequest `json:"peer_group"` + Peering *NestedPeeringRequest `json:"peering"` + Secret *NestedSecretRequest `json:"secret"` + SourceInterface *NestedInterfaceRequest `json:"source_interface"` + SourceIp *NestedIPAddressRequest `json:"source_ip"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritablePeerGroupRequest REST API serializer for PeerGroup records. +type BulkWritablePeerGroupRequest struct { + AutonomousSystem *NestedAutonomousSystemRequest `json:"autonomous_system"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + ExportPolicy *string `json:"export_policy,omitempty"` + Id openapi_types.UUID `json:"id"` + ImportPolicy *string `json:"import_policy,omitempty"` + Name string `json:"name"` + Role *openapi_types.UUID `json:"role"` + Secret *NestedSecretRequest `json:"secret"` + SourceInterface *NestedInterfaceRequest `json:"source_interface"` + SourceIp *NestedIPAddressRequest `json:"source_ip"` + Template *NestedPeerGroupTemplateRequest `json:"template"` +} + +// BulkWritablePeerGroupTemplateRequest REST API serializer for PeerGroup records. +type BulkWritablePeerGroupTemplateRequest struct { + AutonomousSystem *NestedAutonomousSystemRequest `json:"autonomous_system"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + ExportPolicy *string `json:"export_policy,omitempty"` + Id openapi_types.UUID `json:"id"` + ImportPolicy *string `json:"import_policy,omitempty"` + Name string `json:"name"` + Role *openapi_types.UUID `json:"role"` + Secret *NestedSecretRequest `json:"secret"` +} + +// BulkWritablePeeringRequest REST API serializer for Peering records. +type BulkWritablePeeringRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Id openapi_types.UUID `json:"id"` + Status CircuitStatusChoices `json:"status"` +} + +// BulkWritablePeeringRoleRequest REST API serializer for PeeringRole records. +type BulkWritablePeeringRoleRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` +} + +// BulkWritablePlatformRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritablePlatformRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Manufacturer *NestedManufacturerRequest `json:"manufacturer"` + Name string `json:"name"` + + // NapalmArgs Additional arguments to pass when initiating the NAPALM driver (JSON format) + NapalmArgs *map[string]interface{} `json:"napalm_args"` + + // NapalmDriver The name of the NAPALM driver to use when interacting with devices + NapalmDriver *string `json:"napalm_driver,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePlatformRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePlatformRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePlatformRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// BulkWritablePlatformRequest_Relationships_Destination_Objects_Item defines model for BulkWritablePlatformRequest.relationships.destination.objects.Item. +type BulkWritablePlatformRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePlatformRequest_Relationships_Peer_Objects_Item defines model for BulkWritablePlatformRequest.relationships.peer.objects.Item. +type BulkWritablePlatformRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePlatformRequest_Relationships_Source_Objects_Item defines model for BulkWritablePlatformRequest.relationships.source.objects.Item. +type BulkWritablePlatformRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRequest Policy Serializer. +type BulkWritablePolicyRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AssignedDevices *[]PolicyDeviceM2MNestedRequest `json:"assigned_devices,omitempty"` + AssignedDynamicGroups *[]PolicyDynamicGroupM2MNestedRequest `json:"assigned_dynamic_groups,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` +} + +// BulkWritablePolicyRequest_Relationships_Destination_Objects_Item defines model for BulkWritablePolicyRequest.relationships.destination.objects.Item. +type BulkWritablePolicyRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRequest_Relationships_Peer_Objects_Item defines model for BulkWritablePolicyRequest.relationships.peer.objects.Item. +type BulkWritablePolicyRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRequest_Relationships_Source_Objects_Item defines model for BulkWritablePolicyRequest.relationships.source.objects.Item. +type BulkWritablePolicyRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest PolicyRule Serializer. +type BulkWritablePolicyRuleRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Action ActionEnum `json:"action"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description"` + DestinationAddressGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AddressObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritablePolicyRuleRequestDestinationAddressGroupsAddressObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"address_objects,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Name descriptor for a group address objects. + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritablePolicyRuleRequestDestinationAddressGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"destination_address_groups,omitempty"` + DestinationAddresses *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritablePolicyRuleRequestDestinationAddressesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"destination_addresses,omitempty"` + DestinationServiceGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ServiceObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"service_objects,omitempty"` + Status *BulkWritablePolicyRuleRequestDestinationServiceGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"destination_service_groups,omitempty"` + DestinationServices *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol BulkWritablePolicyRuleRequestDestinationServicesIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritablePolicyRuleRequestDestinationServicesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"destination_services,omitempty"` + + // DestinationZone Zone Serializer. + DestinationZone *ZoneRequest `json:"destination_zone,omitempty"` + Id openapi_types.UUID `json:"id"` + Index *int `json:"index"` + Log *bool `json:"log,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + RequestId *string `json:"request_id"` + SourceAddressGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AddressObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritablePolicyRuleRequestSourceAddressGroupsAddressObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"address_objects,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Name descriptor for a group address objects. + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritablePolicyRuleRequestSourceAddressGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"source_address_groups,omitempty"` + SourceAddresses *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritablePolicyRuleRequestSourceAddressesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"source_addresses,omitempty"` + SourceUserGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritablePolicyRuleRequestSourceUserGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + UserObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Name Signifies the name of the user, commonly first & last name (e.g. John Smith) + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritablePolicyRuleRequestSourceUserGroupsUserObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + + // Username Signifies the username in identify provider (e.g. john.smith) + Username string `json:"username"` + } `json:"user_objects,omitempty"` + } `json:"source_user_groups,omitempty"` + SourceUsers *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Name Signifies the name of the user, commonly first & last name (e.g. John Smith) + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritablePolicyRuleRequestSourceUsersStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + + // Username Signifies the username in identify provider (e.g. john.smith) + Username string `json:"username"` + } `json:"source_users,omitempty"` + + // SourceZone Zone Serializer. + SourceZone *ZoneRequest `json:"source_zone,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item defines model for BulkWritablePolicyRuleRequest.DestinationAddressGroups.AddressObjects.Relationships.Destination.Objects.Item. +type BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item defines model for BulkWritablePolicyRuleRequest.DestinationAddressGroups.AddressObjects.Relationships.Peer.Objects.Item. +type BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item defines model for BulkWritablePolicyRuleRequest.DestinationAddressGroups.AddressObjects.Relationships.Source.Objects.Item. +type BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequestDestinationAddressGroupsAddressObjectsStatus defines model for BulkWritablePolicyRuleRequest.DestinationAddressGroups.AddressObjects.Status. +type BulkWritablePolicyRuleRequestDestinationAddressGroupsAddressObjectsStatus string + +// BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item defines model for BulkWritablePolicyRuleRequest.DestinationAddressGroups.Relationships.Destination.Objects.Item. +type BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item defines model for BulkWritablePolicyRuleRequest.DestinationAddressGroups.Relationships.Peer.Objects.Item. +type BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item defines model for BulkWritablePolicyRuleRequest.DestinationAddressGroups.Relationships.Source.Objects.Item. +type BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequestDestinationAddressGroupsStatus defines model for BulkWritablePolicyRuleRequest.DestinationAddressGroups.Status. +type BulkWritablePolicyRuleRequestDestinationAddressGroupsStatus string + +// BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item defines model for BulkWritablePolicyRuleRequest.DestinationAddresses.Relationships.Destination.Objects.Item. +type BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item defines model for BulkWritablePolicyRuleRequest.DestinationAddresses.Relationships.Peer.Objects.Item. +type BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item defines model for BulkWritablePolicyRuleRequest.DestinationAddresses.Relationships.Source.Objects.Item. +type BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequestDestinationAddressesStatus defines model for BulkWritablePolicyRuleRequest.DestinationAddresses.Status. +type BulkWritablePolicyRuleRequestDestinationAddressesStatus string + +// BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item defines model for BulkWritablePolicyRuleRequest.DestinationServiceGroups.Relationships.Destination.Objects.Item. +type BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item defines model for BulkWritablePolicyRuleRequest.DestinationServiceGroups.Relationships.Peer.Objects.Item. +type BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item defines model for BulkWritablePolicyRuleRequest.DestinationServiceGroups.Relationships.Source.Objects.Item. +type BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol string + +// BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item defines model for BulkWritablePolicyRuleRequest.DestinationServiceGroups.ServiceObjects.Relationships.Destination.Objects.Item. +type BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item defines model for BulkWritablePolicyRuleRequest.DestinationServiceGroups.ServiceObjects.Relationships.Peer.Objects.Item. +type BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item defines model for BulkWritablePolicyRuleRequest.DestinationServiceGroups.ServiceObjects.Relationships.Source.Objects.Item. +type BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsStatus defines model for BulkWritablePolicyRuleRequest.DestinationServiceGroups.ServiceObjects.Status. +type BulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsStatus string + +// BulkWritablePolicyRuleRequestDestinationServiceGroupsStatus defines model for BulkWritablePolicyRuleRequest.DestinationServiceGroups.Status. +type BulkWritablePolicyRuleRequestDestinationServiceGroupsStatus string + +// BulkWritablePolicyRuleRequestDestinationServicesIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type BulkWritablePolicyRuleRequestDestinationServicesIpProtocol string + +// BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item defines model for BulkWritablePolicyRuleRequest.DestinationServices.Relationships.Destination.Objects.Item. +type BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item defines model for BulkWritablePolicyRuleRequest.DestinationServices.Relationships.Peer.Objects.Item. +type BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item defines model for BulkWritablePolicyRuleRequest.DestinationServices.Relationships.Source.Objects.Item. +type BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequestDestinationServicesStatus defines model for BulkWritablePolicyRuleRequest.DestinationServices.Status. +type BulkWritablePolicyRuleRequestDestinationServicesStatus string + +// BulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item defines model for BulkWritablePolicyRuleRequest.relationships.destination.objects.Item. +type BulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item defines model for BulkWritablePolicyRuleRequest.relationships.peer.objects.Item. +type BulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item defines model for BulkWritablePolicyRuleRequest.relationships.source.objects.Item. +type BulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item defines model for BulkWritablePolicyRuleRequest.SourceAddressGroups.AddressObjects.Relationships.Destination.Objects.Item. +type BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item defines model for BulkWritablePolicyRuleRequest.SourceAddressGroups.AddressObjects.Relationships.Peer.Objects.Item. +type BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item defines model for BulkWritablePolicyRuleRequest.SourceAddressGroups.AddressObjects.Relationships.Source.Objects.Item. +type BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequestSourceAddressGroupsAddressObjectsStatus defines model for BulkWritablePolicyRuleRequest.SourceAddressGroups.AddressObjects.Status. +type BulkWritablePolicyRuleRequestSourceAddressGroupsAddressObjectsStatus string + +// BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item defines model for BulkWritablePolicyRuleRequest.SourceAddressGroups.Relationships.Destination.Objects.Item. +type BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item defines model for BulkWritablePolicyRuleRequest.SourceAddressGroups.Relationships.Peer.Objects.Item. +type BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item defines model for BulkWritablePolicyRuleRequest.SourceAddressGroups.Relationships.Source.Objects.Item. +type BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequestSourceAddressGroupsStatus defines model for BulkWritablePolicyRuleRequest.SourceAddressGroups.Status. +type BulkWritablePolicyRuleRequestSourceAddressGroupsStatus string + +// BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item defines model for BulkWritablePolicyRuleRequest.SourceAddresses.Relationships.Destination.Objects.Item. +type BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item defines model for BulkWritablePolicyRuleRequest.SourceAddresses.Relationships.Peer.Objects.Item. +type BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item defines model for BulkWritablePolicyRuleRequest.SourceAddresses.Relationships.Source.Objects.Item. +type BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequestSourceAddressesStatus defines model for BulkWritablePolicyRuleRequest.SourceAddresses.Status. +type BulkWritablePolicyRuleRequestSourceAddressesStatus string + +// BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item defines model for BulkWritablePolicyRuleRequest.SourceUserGroups.Relationships.Destination.Objects.Item. +type BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item defines model for BulkWritablePolicyRuleRequest.SourceUserGroups.Relationships.Peer.Objects.Item. +type BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item defines model for BulkWritablePolicyRuleRequest.SourceUserGroups.Relationships.Source.Objects.Item. +type BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequestSourceUserGroupsStatus defines model for BulkWritablePolicyRuleRequest.SourceUserGroups.Status. +type BulkWritablePolicyRuleRequestSourceUserGroupsStatus string + +// BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item defines model for BulkWritablePolicyRuleRequest.SourceUserGroups.UserObjects.Relationships.Destination.Objects.Item. +type BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item defines model for BulkWritablePolicyRuleRequest.SourceUserGroups.UserObjects.Relationships.Peer.Objects.Item. +type BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item defines model for BulkWritablePolicyRuleRequest.SourceUserGroups.UserObjects.Relationships.Source.Objects.Item. +type BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequestSourceUserGroupsUserObjectsStatus defines model for BulkWritablePolicyRuleRequest.SourceUserGroups.UserObjects.Status. +type BulkWritablePolicyRuleRequestSourceUserGroupsUserObjectsStatus string + +// BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item defines model for BulkWritablePolicyRuleRequest.SourceUsers.Relationships.Destination.Objects.Item. +type BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item defines model for BulkWritablePolicyRuleRequest.SourceUsers.Relationships.Peer.Objects.Item. +type BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item defines model for BulkWritablePolicyRuleRequest.SourceUsers.Relationships.Source.Objects.Item. +type BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePolicyRuleRequestSourceUsersStatus defines model for BulkWritablePolicyRuleRequest.SourceUsers.Status. +type BulkWritablePolicyRuleRequestSourceUsersStatus string + +// BulkWritablePowerFeedRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritablePowerFeedRequest struct { + Amperage *int `json:"amperage,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Id openapi_types.UUID `json:"id"` + + // MaxUtilization Maximum permissible draw (percentage) + MaxUtilization *int `json:"max_utilization,omitempty"` + Name string `json:"name"` + Phase *PhaseEnum `json:"phase,omitempty"` + + // PowerPanel Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + PowerPanel NestedPowerPanelRequest `json:"power_panel"` + Rack *NestedRackRequest `json:"rack"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePowerFeedRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status PowerFeedStatusChoices `json:"status"` + Supply *SupplyEnum `json:"supply,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type *PowerFeedTypeChoices `json:"type,omitempty"` + Voltage *int `json:"voltage,omitempty"` +} + +// BulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item defines model for BulkWritablePowerFeedRequest.relationships.destination.objects.Item. +type BulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item defines model for BulkWritablePowerFeedRequest.relationships.peer.objects.Item. +type BulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePowerFeedRequest_Relationships_Source_Objects_Item defines model for BulkWritablePowerFeedRequest.relationships.source.objects.Item. +type BulkWritablePowerFeedRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePowerOutletRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritablePowerOutletRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device NestedDeviceRequest `json:"device"` + FeedLeg *FeedLegEnum `json:"feed_leg,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + + // PowerPort Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + PowerPort *NestedPowerPortRequest `json:"power_port,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePowerOutletRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type *PowerOutletTypeChoices `json:"type,omitempty"` +} + +// BulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item defines model for BulkWritablePowerOutletRequest.relationships.destination.objects.Item. +type BulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item defines model for BulkWritablePowerOutletRequest.relationships.peer.objects.Item. +type BulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePowerOutletRequest_Relationships_Source_Objects_Item defines model for BulkWritablePowerOutletRequest.relationships.source.objects.Item. +type BulkWritablePowerOutletRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePowerOutletTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritablePowerOutletTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceType NestedDeviceTypeRequest `json:"device_type"` + FeedLeg *FeedLegEnum `json:"feed_leg,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + + // PowerPort Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + PowerPort *NestedPowerPortTemplateRequest `json:"power_port,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *PowerOutletTypeChoices `json:"type,omitempty"` +} + +// BulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item defines model for BulkWritablePowerOutletTemplateRequest.relationships.destination.objects.Item. +type BulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item defines model for BulkWritablePowerOutletTemplateRequest.relationships.peer.objects.Item. +type BulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item defines model for BulkWritablePowerOutletTemplateRequest.relationships.source.objects.Item. +type BulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePowerPanelRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritablePowerPanelRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Id openapi_types.UUID `json:"id"` + Location *NestedLocationRequest `json:"location"` + Name string `json:"name"` + RackGroup *NestedRackGroupRequest `json:"rack_group"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePowerPanelRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // Site Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Site NestedSiteRequest `json:"site"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item defines model for BulkWritablePowerPanelRequest.relationships.destination.objects.Item. +type BulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item defines model for BulkWritablePowerPanelRequest.relationships.peer.objects.Item. +type BulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePowerPanelRequest_Relationships_Source_Objects_Item defines model for BulkWritablePowerPanelRequest.relationships.source.objects.Item. +type BulkWritablePowerPanelRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePowerPortRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritablePowerPortRequest struct { + // AllocatedDraw Allocated power draw (watts) + AllocatedDraw *int `json:"allocated_draw"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device NestedDeviceRequest `json:"device"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MaximumDraw Maximum power draw (watts) + MaximumDraw *int `json:"maximum_draw"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePowerPortRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePowerPortRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePowerPortRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type *PowerPortTypeChoices `json:"type,omitempty"` +} + +// BulkWritablePowerPortRequest_Relationships_Destination_Objects_Item defines model for BulkWritablePowerPortRequest.relationships.destination.objects.Item. +type BulkWritablePowerPortRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePowerPortRequest_Relationships_Peer_Objects_Item defines model for BulkWritablePowerPortRequest.relationships.peer.objects.Item. +type BulkWritablePowerPortRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePowerPortRequest_Relationships_Source_Objects_Item defines model for BulkWritablePowerPortRequest.relationships.source.objects.Item. +type BulkWritablePowerPortRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePowerPortTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritablePowerPortTemplateRequest struct { + // AllocatedDraw Allocated power draw (watts) + AllocatedDraw *int `json:"allocated_draw"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceType NestedDeviceTypeRequest `json:"device_type"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MaximumDraw Maximum power draw (watts) + MaximumDraw *int `json:"maximum_draw"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *PowerPortTypeChoices `json:"type,omitempty"` +} + +// BulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item defines model for BulkWritablePowerPortTemplateRequest.relationships.destination.objects.Item. +type BulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item defines model for BulkWritablePowerPortTemplateRequest.relationships.peer.objects.Item. +type BulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item defines model for BulkWritablePowerPortTemplateRequest.relationships.source.objects.Item. +type BulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePrefixRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritablePrefixRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + + // IsPool All IP addresses within this prefix are considered usable + IsPool *bool `json:"is_pool,omitempty"` + Location *NestedLocationRequest `json:"location"` + Prefix string `json:"prefix"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePrefixRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePrefixRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritablePrefixRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Role *NestedRoleRequest `json:"role"` + Site *NestedSiteRequest `json:"site"` + Status PrefixStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + Vlan *NestedVLANRequest `json:"vlan"` + Vrf *NestedVRFRequest `json:"vrf"` +} + +// BulkWritablePrefixRequest_Relationships_Destination_Objects_Item defines model for BulkWritablePrefixRequest.relationships.destination.objects.Item. +type BulkWritablePrefixRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePrefixRequest_Relationships_Peer_Objects_Item defines model for BulkWritablePrefixRequest.relationships.peer.objects.Item. +type BulkWritablePrefixRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritablePrefixRequest_Relationships_Source_Objects_Item defines model for BulkWritablePrefixRequest.relationships.source.objects.Item. +type BulkWritablePrefixRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableProviderLCMRequest API serializer. +type BulkWritableProviderLCMRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Phone *string `json:"phone,omitempty"` + PhysicalAddress *string `json:"physical_address,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableProviderLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item defines model for BulkWritableProviderLCMRequest.relationships.destination.objects.Item. +type BulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item defines model for BulkWritableProviderLCMRequest.relationships.peer.objects.Item. +type BulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableProviderLCMRequest_Relationships_Source_Objects_Item defines model for BulkWritableProviderLCMRequest.relationships.source.objects.Item. +type BulkWritableProviderLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableProviderNetworkRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableProviderNetworkRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + + // Provider Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Provider NestedProviderRequest `json:"provider"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item defines model for BulkWritableProviderNetworkRequest.relationships.destination.objects.Item. +type BulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item defines model for BulkWritableProviderNetworkRequest.relationships.peer.objects.Item. +type BulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item defines model for BulkWritableProviderNetworkRequest.relationships.source.objects.Item. +type BulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableProviderRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableProviderRequest struct { + Account *string `json:"account,omitempty"` + AdminContact *string `json:"admin_contact,omitempty"` + + // Asn 32-bit autonomous system number + Asn *int64 `json:"asn"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + NocContact *string `json:"noc_contact,omitempty"` + PortalUrl *string `json:"portal_url,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableProviderRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableProviderRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableProviderRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableProviderRequest_Relationships_Destination_Objects_Item defines model for BulkWritableProviderRequest.relationships.destination.objects.Item. +type BulkWritableProviderRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableProviderRequest_Relationships_Peer_Objects_Item defines model for BulkWritableProviderRequest.relationships.peer.objects.Item. +type BulkWritableProviderRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableProviderRequest_Relationships_Source_Objects_Item defines model for BulkWritableProviderRequest.relationships.source.objects.Item. +type BulkWritableProviderRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRIRRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableRIRRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + + // IsPrivate IP space managed by this RIR is considered private + IsPrivate *bool `json:"is_private,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRIRRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRIRRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRIRRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// BulkWritableRIRRequest_Relationships_Destination_Objects_Item defines model for BulkWritableRIRRequest.relationships.destination.objects.Item. +type BulkWritableRIRRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRIRRequest_Relationships_Peer_Objects_Item defines model for BulkWritableRIRRequest.relationships.peer.objects.Item. +type BulkWritableRIRRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRIRRequest_Relationships_Source_Objects_Item defines model for BulkWritableRIRRequest.relationships.source.objects.Item. +type BulkWritableRIRRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRackGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableRackGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Location *NestedLocationRequest `json:"location"` + Name string `json:"name"` + Parent *NestedRackGroupRequest `json:"parent"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRackGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRackGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRackGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // Site Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Site NestedSiteRequest `json:"site"` + Slug *string `json:"slug,omitempty"` +} + +// BulkWritableRackGroupRequest_Relationships_Destination_Objects_Item defines model for BulkWritableRackGroupRequest.relationships.destination.objects.Item. +type BulkWritableRackGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRackGroupRequest_Relationships_Peer_Objects_Item defines model for BulkWritableRackGroupRequest.relationships.peer.objects.Item. +type BulkWritableRackGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRackGroupRequest_Relationships_Source_Objects_Item defines model for BulkWritableRackGroupRequest.relationships.source.objects.Item. +type BulkWritableRackGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRackRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableRackRequest struct { + // AssetTag A unique tag used to identify this rack + AssetTag *string `json:"asset_tag"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // DescUnits Units are numbered top-to-bottom + DescUnits *bool `json:"desc_units,omitempty"` + + // FacilityId Locally-assigned identifier + FacilityId *string `json:"facility_id"` + Group *NestedRackGroupRequest `json:"group"` + Id openapi_types.UUID `json:"id"` + Location *NestedLocationRequest `json:"location"` + Name string `json:"name"` + + // OuterDepth Outer dimension of rack (depth) + OuterDepth *int `json:"outer_depth"` + OuterUnit *OuterUnitEnum `json:"outer_unit,omitempty"` + + // OuterWidth Outer dimension of rack (width) + OuterWidth *int `json:"outer_width"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRackRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRackRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRackRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Role *NestedRackRoleRequest `json:"role"` + Serial *string `json:"serial,omitempty"` + + // Site Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Site NestedSiteRequest `json:"site"` + Status RackStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + Type *RackTypeChoices `json:"type,omitempty"` + + // UHeight Height in rack units + UHeight *int `json:"u_height,omitempty"` + Width *WidthEnum `json:"width,omitempty"` +} + +// BulkWritableRackRequest_Relationships_Destination_Objects_Item defines model for BulkWritableRackRequest.relationships.destination.objects.Item. +type BulkWritableRackRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRackRequest_Relationships_Peer_Objects_Item defines model for BulkWritableRackRequest.relationships.peer.objects.Item. +type BulkWritableRackRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRackRequest_Relationships_Source_Objects_Item defines model for BulkWritableRackRequest.relationships.source.objects.Item. +type BulkWritableRackRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRackReservationRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableRackReservationRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description string `json:"description"` + Id openapi_types.UUID `json:"id"` + + // Rack Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Rack NestedRackRequest `json:"rack"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRackReservationRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRackReservationRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRackReservationRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + Units map[string]interface{} `json:"units"` + + // User Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + User NestedUserRequest `json:"user"` +} + +// BulkWritableRackReservationRequest_Relationships_Destination_Objects_Item defines model for BulkWritableRackReservationRequest.relationships.destination.objects.Item. +type BulkWritableRackReservationRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRackReservationRequest_Relationships_Peer_Objects_Item defines model for BulkWritableRackReservationRequest.relationships.peer.objects.Item. +type BulkWritableRackReservationRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRackReservationRequest_Relationships_Source_Objects_Item defines model for BulkWritableRackReservationRequest.relationships.source.objects.Item. +type BulkWritableRackReservationRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRackRoleRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableRackRoleRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRackRoleRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRackRoleRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRackRoleRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// BulkWritableRackRoleRequest_Relationships_Destination_Objects_Item defines model for BulkWritableRackRoleRequest.relationships.destination.objects.Item. +type BulkWritableRackRoleRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRackRoleRequest_Relationships_Peer_Objects_Item defines model for BulkWritableRackRoleRequest.relationships.peer.objects.Item. +type BulkWritableRackRoleRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRackRoleRequest_Relationships_Source_Objects_Item defines model for BulkWritableRackRoleRequest.relationships.source.objects.Item. +type BulkWritableRackRoleRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRearPortRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableRearPortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device NestedDeviceRequest `json:"device"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + Positions *int `json:"positions,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRearPortRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRearPortRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRearPortRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type PortTypeChoices `json:"type"` +} + +// BulkWritableRearPortRequest_Relationships_Destination_Objects_Item defines model for BulkWritableRearPortRequest.relationships.destination.objects.Item. +type BulkWritableRearPortRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRearPortRequest_Relationships_Peer_Objects_Item defines model for BulkWritableRearPortRequest.relationships.peer.objects.Item. +type BulkWritableRearPortRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRearPortRequest_Relationships_Source_Objects_Item defines model for BulkWritableRearPortRequest.relationships.source.objects.Item. +type BulkWritableRearPortRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRearPortTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableRearPortTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceType NestedDeviceTypeRequest `json:"device_type"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + Positions *int `json:"positions,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type PortTypeChoices `json:"type"` +} + +// BulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item defines model for BulkWritableRearPortTemplateRequest.relationships.destination.objects.Item. +type BulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item defines model for BulkWritableRearPortTemplateRequest.relationships.peer.objects.Item. +type BulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item defines model for BulkWritableRearPortTemplateRequest.relationships.source.objects.Item. +type BulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRegionRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableRegionRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Parent *NestedRegionRequest `json:"parent"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRegionRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRegionRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRegionRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// BulkWritableRegionRequest_Relationships_Destination_Objects_Item defines model for BulkWritableRegionRequest.relationships.destination.objects.Item. +type BulkWritableRegionRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRegionRequest_Relationships_Peer_Objects_Item defines model for BulkWritableRegionRequest.relationships.peer.objects.Item. +type BulkWritableRegionRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRegionRequest_Relationships_Source_Objects_Item defines model for BulkWritableRegionRequest.relationships.source.objects.Item. +type BulkWritableRegionRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRegularExpressionValidationRuleRequest Serializer for `RegularExpressionValidationRule` objects. +type BulkWritableRegularExpressionValidationRuleRequest struct { + ContentType string `json:"content_type"` + Enabled *bool `json:"enabled,omitempty"` + + // ErrorMessage Optional error message to display when validation fails. + ErrorMessage *string `json:"error_message"` + Field string `json:"field"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + RegularExpression string `json:"regular_expression"` + Slug string `json:"slug"` +} + +// BulkWritableRelationshipAssociationRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type BulkWritableRelationshipAssociationRequest struct { + DestinationId openapi_types.UUID `json:"destination_id"` + DestinationType string `json:"destination_type"` + Id openapi_types.UUID `json:"id"` + + // Relationship Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Relationship NestedRelationshipRequest `json:"relationship"` + SourceId openapi_types.UUID `json:"source_id"` + SourceType string `json:"source_type"` +} + +// BulkWritableRelationshipRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type BulkWritableRelationshipRequest struct { + Description *string `json:"description,omitempty"` + + // DestinationFilter Filterset filter matching the applicable destination objects of the selected type + DestinationFilter *map[string]interface{} `json:"destination_filter"` + + // DestinationHidden Hide this relationship on the destination object. + DestinationHidden *bool `json:"destination_hidden,omitempty"` + + // DestinationLabel Label for related source objects, as displayed on the destination object. + DestinationLabel *string `json:"destination_label,omitempty"` + DestinationType string `json:"destination_type"` + Id openapi_types.UUID `json:"id"` + + // Name Name of the relationship as displayed to users + Name string `json:"name"` + + // RequiredOn Objects on the specified side MUST implement this relationship. Not permitted for symmetric relationships. + RequiredOn *BulkWritableRelationshipRequest_RequiredOn `json:"required_on,omitempty"` + + // Slug Internal relationship name. Please use underscores rather than dashes in this slug. + Slug *string `json:"slug,omitempty"` + + // SourceFilter Filterset filter matching the applicable source objects of the selected type + SourceFilter *map[string]interface{} `json:"source_filter"` + + // SourceHidden Hide this relationship on the source object. + SourceHidden *bool `json:"source_hidden,omitempty"` + + // SourceLabel Label for related destination objects, as displayed on the source object. + SourceLabel *string `json:"source_label,omitempty"` + SourceType string `json:"source_type"` + + // Type Cardinality of this relationship + Type *RelationshipTypeChoices `json:"type,omitempty"` +} + +// BulkWritableRelationshipRequest_RequiredOn Objects on the specified side MUST implement this relationship. Not permitted for symmetric relationships. +type BulkWritableRelationshipRequest_RequiredOn struct { + union json.RawMessage +} + +// BulkWritableRoleRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableRoleRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRoleRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRoleRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRoleRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// BulkWritableRoleRequest_Relationships_Destination_Objects_Item defines model for BulkWritableRoleRequest.relationships.destination.objects.Item. +type BulkWritableRoleRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRoleRequest_Relationships_Peer_Objects_Item defines model for BulkWritableRoleRequest.relationships.peer.objects.Item. +type BulkWritableRoleRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRoleRequest_Relationships_Source_Objects_Item defines model for BulkWritableRoleRequest.relationships.source.objects.Item. +type BulkWritableRoleRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRouteTargetRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableRouteTargetRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Name Route target value (formatted in accordance with RFC 4360) + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableRouteTargetRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` +} + +// BulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item defines model for BulkWritableRouteTargetRequest.relationships.destination.objects.Item. +type BulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item defines model for BulkWritableRouteTargetRequest.relationships.peer.objects.Item. +type BulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableRouteTargetRequest_Relationships_Source_Objects_Item defines model for BulkWritableRouteTargetRequest.relationships.source.objects.Item. +type BulkWritableRouteTargetRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableSecretRequest Serializer for `Secret` objects. +type BulkWritableSecretRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Parameters *map[string]interface{} `json:"parameters,omitempty"` + Provider string `json:"provider"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableSecretRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableSecretRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableSecretRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableSecretRequest_Relationships_Destination_Objects_Item defines model for BulkWritableSecretRequest.relationships.destination.objects.Item. +type BulkWritableSecretRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableSecretRequest_Relationships_Peer_Objects_Item defines model for BulkWritableSecretRequest.relationships.peer.objects.Item. +type BulkWritableSecretRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableSecretRequest_Relationships_Source_Objects_Item defines model for BulkWritableSecretRequest.relationships.source.objects.Item. +type BulkWritableSecretRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableSecretsGroupAssociationRequest Serializer for `SecretsGroupAssociation` objects. +type BulkWritableSecretsGroupAssociationRequest struct { + AccessType AccessTypeEnum `json:"access_type"` + + // Group Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Group NestedSecretsGroupRequest `json:"group"` + Id openapi_types.UUID `json:"id"` + + // Secret Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Secret NestedSecretRequest `json:"secret"` + SecretType SecretTypeEnum `json:"secret_type"` +} + +// BulkWritableSecretsGroupRequest Serializer for `SecretsGroup` objects. +type BulkWritableSecretsGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// BulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item defines model for BulkWritableSecretsGroupRequest.relationships.destination.objects.Item. +type BulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item defines model for BulkWritableSecretsGroupRequest.relationships.peer.objects.Item. +type BulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item defines model for BulkWritableSecretsGroupRequest.relationships.source.objects.Item. +type BulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableServiceObjectGroupRequest ServiceObjectGroup Serializer. +type BulkWritableServiceObjectGroupRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ServiceObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableServiceObjectGroupRequestServiceObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"service_objects,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item defines model for BulkWritableServiceObjectGroupRequest.relationships.destination.objects.Item. +type BulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item defines model for BulkWritableServiceObjectGroupRequest.relationships.peer.objects.Item. +type BulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item defines model for BulkWritableServiceObjectGroupRequest.relationships.source.objects.Item. +type BulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type BulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol string + +// BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item defines model for BulkWritableServiceObjectGroupRequest.ServiceObjects.Relationships.Destination.Objects.Item. +type BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item defines model for BulkWritableServiceObjectGroupRequest.ServiceObjects.Relationships.Peer.Objects.Item. +type BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item defines model for BulkWritableServiceObjectGroupRequest.ServiceObjects.Relationships.Source.Objects.Item. +type BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableServiceObjectGroupRequestServiceObjectsStatus defines model for BulkWritableServiceObjectGroupRequest.ServiceObjects.Status. +type BulkWritableServiceObjectGroupRequestServiceObjectsStatus string + +// BulkWritableServiceObjectRequest ServiceObject Serializer. +type BulkWritableServiceObjectRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol IpProtocolEnum `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableServiceObjectRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item defines model for BulkWritableServiceObjectRequest.relationships.destination.objects.Item. +type BulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item defines model for BulkWritableServiceObjectRequest.relationships.peer.objects.Item. +type BulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableServiceObjectRequest_Relationships_Source_Objects_Item defines model for BulkWritableServiceObjectRequest.relationships.source.objects.Item. +type BulkWritableServiceObjectRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableServiceRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableServiceRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *NestedDeviceRequest `json:"device"` + Id openapi_types.UUID `json:"id"` + Ipaddresses *[]struct { + Address string `json:"address"` + } `json:"ipaddresses,omitempty"` + Name string `json:"name"` + Ports []int `json:"ports"` + Protocol *ProtocolEnum `json:"protocol,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableServiceRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableServiceRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableServiceRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + VirtualMachine *NestedVirtualMachineRequest `json:"virtual_machine"` +} + +// BulkWritableServiceRequest_Relationships_Destination_Objects_Item defines model for BulkWritableServiceRequest.relationships.destination.objects.Item. +type BulkWritableServiceRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableServiceRequest_Relationships_Peer_Objects_Item defines model for BulkWritableServiceRequest.relationships.peer.objects.Item. +type BulkWritableServiceRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableServiceRequest_Relationships_Source_Objects_Item defines model for BulkWritableServiceRequest.relationships.source.objects.Item. +type BulkWritableServiceRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableSiteRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableSiteRequest struct { + // Asn 32-bit autonomous system number + Asn *int64 `json:"asn"` + Comments *string `json:"comments,omitempty"` + ContactEmail *openapi_types.Email `json:"contact_email,omitempty"` + ContactName *string `json:"contact_name,omitempty"` + ContactPhone *string `json:"contact_phone,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Facility Local facility ID or description + Facility *string `json:"facility,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Latitude GPS coordinate (latitude) + Latitude *string `json:"latitude"` + + // Longitude GPS coordinate (longitude) + Longitude *string `json:"longitude"` + Name string `json:"name"` + PhysicalAddress *string `json:"physical_address,omitempty"` + Region *NestedRegionRequest `json:"region"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableSiteRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableSiteRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableSiteRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ShippingAddress *string `json:"shipping_address,omitempty"` + Slug *string `json:"slug,omitempty"` + Status LocationStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + TimeZone *string `json:"time_zone"` +} + +// BulkWritableSiteRequest_Relationships_Destination_Objects_Item defines model for BulkWritableSiteRequest.relationships.destination.objects.Item. +type BulkWritableSiteRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableSiteRequest_Relationships_Peer_Objects_Item defines model for BulkWritableSiteRequest.relationships.peer.objects.Item. +type BulkWritableSiteRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableSiteRequest_Relationships_Source_Objects_Item defines model for BulkWritableSiteRequest.relationships.source.objects.Item. +type BulkWritableSiteRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableSoftwareImageLCMRequest REST API serializer for SoftwareImageLCM records. +type BulkWritableSoftwareImageLCMRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DefaultImage *bool `json:"default_image,omitempty"` + DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` + DownloadUrl *string `json:"download_url,omitempty"` + Id openapi_types.UUID `json:"id"` + ImageFileChecksum *string `json:"image_file_checksum,omitempty"` + ImageFileName string `json:"image_file_name"` + InventoryItems *[]openapi_types.UUID `json:"inventory_items,omitempty"` + ObjectTags *[]openapi_types.UUID `json:"object_tags,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // Software Nested/brief serializer for SoftwareLCM. + Software NestedSoftwareLCMRequest `json:"software"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item defines model for BulkWritableSoftwareImageLCMRequest.relationships.destination.objects.Item. +type BulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item defines model for BulkWritableSoftwareImageLCMRequest.relationships.peer.objects.Item. +type BulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item defines model for BulkWritableSoftwareImageLCMRequest.relationships.source.objects.Item. +type BulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableSoftwareLCMRequest REST API serializer for SoftwareLCM records. +type BulkWritableSoftwareLCMRequest struct { + Alias *string `json:"alias"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // DevicePlatform Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DevicePlatform NestedPlatformRequest `json:"device_platform"` + DocumentationUrl *string `json:"documentation_url,omitempty"` + EndOfSupport *openapi_types.Date `json:"end_of_support"` + Id openapi_types.UUID `json:"id"` + LongTermSupport *bool `json:"long_term_support,omitempty"` + PreRelease *bool `json:"pre_release,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ReleaseDate *openapi_types.Date `json:"release_date"` + SoftwareImages *[]struct { + DefaultImage *bool `json:"default_image,omitempty"` + DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` + DownloadUrl *string `json:"download_url,omitempty"` + ImageFileChecksum *string `json:"image_file_checksum,omitempty"` + ImageFileName string `json:"image_file_name"` + InventoryItems *[]openapi_types.UUID `json:"inventory_items,omitempty"` + ObjectTags *[]openapi_types.UUID `json:"object_tags,omitempty"` + } `json:"software_images,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Version string `json:"version"` +} + +// BulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item defines model for BulkWritableSoftwareLCMRequest.relationships.destination.objects.Item. +type BulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item defines model for BulkWritableSoftwareLCMRequest.relationships.peer.objects.Item. +type BulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item defines model for BulkWritableSoftwareLCMRequest.relationships.source.objects.Item. +type BulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableStatusRequest Serializer for `Status` objects. +type BulkWritableStatusRequest struct { + Color *string `json:"color,omitempty"` + ContentTypes []string `json:"content_types"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableStatusRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableStatusRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableStatusRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// BulkWritableStatusRequest_Relationships_Destination_Objects_Item defines model for BulkWritableStatusRequest.relationships.destination.objects.Item. +type BulkWritableStatusRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableStatusRequest_Relationships_Peer_Objects_Item defines model for BulkWritableStatusRequest.relationships.peer.objects.Item. +type BulkWritableStatusRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableStatusRequest_Relationships_Source_Objects_Item defines model for BulkWritableStatusRequest.relationships.source.objects.Item. +type BulkWritableStatusRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableTagSerializerVersion13Request Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableTagSerializerVersion13Request struct { + Color *string `json:"color,omitempty"` + ContentTypes []string `json:"content_types"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug string `json:"slug"` +} + +// BulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item defines model for BulkWritableTagSerializerVersion13Request.relationships.destination.objects.Item. +type BulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item defines model for BulkWritableTagSerializerVersion13Request.relationships.peer.objects.Item. +type BulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item defines model for BulkWritableTagSerializerVersion13Request.relationships.source.objects.Item. +type BulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableTenantGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableTenantGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Parent *NestedTenantGroupRequest `json:"parent"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableTenantGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// BulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item defines model for BulkWritableTenantGroupRequest.relationships.destination.objects.Item. +type BulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item defines model for BulkWritableTenantGroupRequest.relationships.peer.objects.Item. +type BulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableTenantGroupRequest_Relationships_Source_Objects_Item defines model for BulkWritableTenantGroupRequest.relationships.source.objects.Item. +type BulkWritableTenantGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableTenantRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableTenantRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Group Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Group *NestedTenantGroupRequest `json:"group,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableTenantRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableTenantRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableTenantRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableTenantRequest_Relationships_Destination_Objects_Item defines model for BulkWritableTenantRequest.relationships.destination.objects.Item. +type BulkWritableTenantRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableTenantRequest_Relationships_Peer_Objects_Item defines model for BulkWritableTenantRequest.relationships.peer.objects.Item. +type BulkWritableTenantRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableTenantRequest_Relationships_Source_Objects_Item defines model for BulkWritableTenantRequest.relationships.source.objects.Item. +type BulkWritableTenantRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableTokenRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type BulkWritableTokenRequest struct { + Description *string `json:"description,omitempty"` + Expires *time.Time `json:"expires"` + Id openapi_types.UUID `json:"id"` + Key *string `json:"key,omitempty"` + + // WriteEnabled Permit create/update/delete operations using this key + WriteEnabled *bool `json:"write_enabled,omitempty"` +} + +// BulkWritableUserObjectGroupRequest UserObjectGroup Serializer. +type BulkWritableUserObjectGroupRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + UserObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Name Signifies the name of the user, commonly first & last name (e.g. John Smith) + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *BulkWritableUserObjectGroupRequestUserObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + + // Username Signifies the username in identify provider (e.g. john.smith) + Username string `json:"username"` + } `json:"user_objects,omitempty"` +} + +// BulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item defines model for BulkWritableUserObjectGroupRequest.relationships.destination.objects.Item. +type BulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item defines model for BulkWritableUserObjectGroupRequest.relationships.peer.objects.Item. +type BulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item defines model for BulkWritableUserObjectGroupRequest.relationships.source.objects.Item. +type BulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item defines model for BulkWritableUserObjectGroupRequest.UserObjects.Relationships.Destination.Objects.Item. +type BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item defines model for BulkWritableUserObjectGroupRequest.UserObjects.Relationships.Peer.Objects.Item. +type BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item defines model for BulkWritableUserObjectGroupRequest.UserObjects.Relationships.Source.Objects.Item. +type BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableUserObjectGroupRequestUserObjectsStatus defines model for BulkWritableUserObjectGroupRequest.UserObjects.Status. +type BulkWritableUserObjectGroupRequestUserObjectsStatus string + +// BulkWritableUserObjectRequest UserObject Serializer. +type BulkWritableUserObjectRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Name Signifies the name of the user, commonly first & last name (e.g. John Smith) + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableUserObjectRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableUserObjectRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableUserObjectRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + + // Username Signifies the username in identify provider (e.g. john.smith) + Username string `json:"username"` +} + +// BulkWritableUserObjectRequest_Relationships_Destination_Objects_Item defines model for BulkWritableUserObjectRequest.relationships.destination.objects.Item. +type BulkWritableUserObjectRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableUserObjectRequest_Relationships_Peer_Objects_Item defines model for BulkWritableUserObjectRequest.relationships.peer.objects.Item. +type BulkWritableUserObjectRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableUserObjectRequest_Relationships_Source_Objects_Item defines model for BulkWritableUserObjectRequest.relationships.source.objects.Item. +type BulkWritableUserObjectRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableUserRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type BulkWritableUserRequest struct { + DateJoined *time.Time `json:"date_joined,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + FirstName *string `json:"first_name,omitempty"` + Groups *[]struct { + Name string `json:"name"` + } `json:"groups,omitempty"` + Id openapi_types.UUID `json:"id"` + + // IsActive Designates whether this user should be treated as active. Unselect this instead of deleting accounts. + IsActive *bool `json:"is_active,omitempty"` + + // IsStaff Designates whether the user can log into this admin site. + IsStaff *bool `json:"is_staff,omitempty"` + LastName *string `json:"last_name,omitempty"` + Password *string `json:"password,omitempty"` + + // Username Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. + Username string `json:"username"` +} + +// BulkWritableVLANGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableVLANGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Location *NestedLocationRequest `json:"location"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableVLANGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Site *NestedSiteRequest `json:"site"` + Slug *string `json:"slug,omitempty"` +} + +// BulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item defines model for BulkWritableVLANGroupRequest.relationships.destination.objects.Item. +type BulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item defines model for BulkWritableVLANGroupRequest.relationships.peer.objects.Item. +type BulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableVLANGroupRequest_Relationships_Source_Objects_Item defines model for BulkWritableVLANGroupRequest.relationships.source.objects.Item. +type BulkWritableVLANGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableVLANRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableVLANRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Group *NestedVLANGroupRequest `json:"group"` + Id openapi_types.UUID `json:"id"` + Location *NestedLocationRequest `json:"location"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableVLANRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableVLANRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableVLANRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Role *NestedRoleRequest `json:"role"` + Site *NestedSiteRequest `json:"site"` + Status VLANStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + Vid int `json:"vid"` +} + +// BulkWritableVLANRequest_Relationships_Destination_Objects_Item defines model for BulkWritableVLANRequest.relationships.destination.objects.Item. +type BulkWritableVLANRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableVLANRequest_Relationships_Peer_Objects_Item defines model for BulkWritableVLANRequest.relationships.peer.objects.Item. +type BulkWritableVLANRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableVLANRequest_Relationships_Source_Objects_Item defines model for BulkWritableVLANRequest.relationships.source.objects.Item. +type BulkWritableVLANRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableVMInterfaceRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableVMInterfaceRequest struct { + Bridge *NestedVMInterfaceRequest `json:"bridge"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Id openapi_types.UUID `json:"id"` + MacAddress *string `json:"mac_address"` + Mode *ModeEnum `json:"mode,omitempty"` + Mtu *int `json:"mtu"` + Name string `json:"name"` + ParentInterface *NestedVMInterfaceRequest `json:"parent_interface"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status InterfaceStatusChoices `json:"status"` + TaggedVlans *[]struct { + Name string `json:"name"` + Vid int `json:"vid"` + } `json:"tagged_vlans,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + UntaggedVlan *NestedVLANRequest `json:"untagged_vlan"` + + // VirtualMachine Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + VirtualMachine NestedVirtualMachineRequest `json:"virtual_machine"` +} + +// BulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item defines model for BulkWritableVMInterfaceRequest.relationships.destination.objects.Item. +type BulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item defines model for BulkWritableVMInterfaceRequest.relationships.peer.objects.Item. +type BulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item defines model for BulkWritableVMInterfaceRequest.relationships.source.objects.Item. +type BulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableVRFRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableVRFRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // EnforceUnique Prevent duplicate prefixes/IP addresses within this VRF + EnforceUnique *bool `json:"enforce_unique,omitempty"` + ExportTargets *[]struct { + // Name Route target value (formatted in accordance with RFC 4360) + Name string `json:"name"` + } `json:"export_targets,omitempty"` + Id openapi_types.UUID `json:"id"` + ImportTargets *[]struct { + // Name Route target value (formatted in accordance with RFC 4360) + Name string `json:"name"` + } `json:"import_targets,omitempty"` + Name string `json:"name"` + + // Rd Unique route distinguisher (as defined in RFC 4364) + Rd *string `json:"rd"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableVRFRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableVRFRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableVRFRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` +} + +// BulkWritableVRFRequest_Relationships_Destination_Objects_Item defines model for BulkWritableVRFRequest.relationships.destination.objects.Item. +type BulkWritableVRFRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableVRFRequest_Relationships_Peer_Objects_Item defines model for BulkWritableVRFRequest.relationships.peer.objects.Item. +type BulkWritableVRFRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableVRFRequest_Relationships_Source_Objects_Item defines model for BulkWritableVRFRequest.relationships.source.objects.Item. +type BulkWritableVRFRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableValidatedSoftwareLCMRequest REST API serializer for ValidatedSoftwareLCM records. +type BulkWritableValidatedSoftwareLCMRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DeviceRoles *[]openapi_types.UUID `json:"device_roles,omitempty"` + DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` + Devices *[]openapi_types.UUID `json:"devices,omitempty"` + End *openapi_types.Date `json:"end"` + Id openapi_types.UUID `json:"id"` + InventoryItems *[]openapi_types.UUID `json:"inventory_items,omitempty"` + ObjectTags *[]openapi_types.UUID `json:"object_tags,omitempty"` + Preferred *bool `json:"preferred,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // Software Nested/brief serializer for SoftwareLCM. + Software NestedSoftwareLCMRequest `json:"software"` + Start openapi_types.Date `json:"start"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item defines model for BulkWritableValidatedSoftwareLCMRequest.relationships.destination.objects.Item. +type BulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item defines model for BulkWritableValidatedSoftwareLCMRequest.relationships.peer.objects.Item. +type BulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item defines model for BulkWritableValidatedSoftwareLCMRequest.relationships.source.objects.Item. +type BulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableVirtualChassisRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableVirtualChassisRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Domain *string `json:"domain,omitempty"` + Id openapi_types.UUID `json:"id"` + Master *NestedDeviceRequest `json:"master"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item defines model for BulkWritableVirtualChassisRequest.relationships.destination.objects.Item. +type BulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item defines model for BulkWritableVirtualChassisRequest.relationships.peer.objects.Item. +type BulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item defines model for BulkWritableVirtualChassisRequest.relationships.source.objects.Item. +type BulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableVirtualMachineWithConfigContextRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type BulkWritableVirtualMachineWithConfigContextRequest struct { + // Cluster Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Cluster NestedClusterRequest `json:"cluster"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Disk *int `json:"disk"` + Id openapi_types.UUID `json:"id"` + LocalContextData *map[string]interface{} `json:"local_context_data"` + LocalContextSchema *NestedConfigContextSchemaRequest `json:"local_context_schema"` + Memory *int `json:"memory"` + Name string `json:"name"` + Platform *NestedPlatformRequest `json:"platform"` + PrimaryIp4 *NestedIPAddressRequest `json:"primary_ip4"` + PrimaryIp6 *NestedIPAddressRequest `json:"primary_ip6"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Role *NestedDeviceRoleRequest `json:"role"` + Status VirtualMachineStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + Vcpus *int `json:"vcpus"` +} + +// BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item defines model for BulkWritableVirtualMachineWithConfigContextRequest.relationships.destination.objects.Item. +type BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item defines model for BulkWritableVirtualMachineWithConfigContextRequest.relationships.peer.objects.Item. +type BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item defines model for BulkWritableVirtualMachineWithConfigContextRequest.relationships.source.objects.Item. +type BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableVulnerabilityLCMRequest REST API serializer for VulnerabilityLCM records. +type BulkWritableVulnerabilityLCMRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Id openapi_types.UUID `json:"id"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status Status4f5Enum `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item defines model for BulkWritableVulnerabilityLCMRequest.relationships.destination.objects.Item. +type BulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item defines model for BulkWritableVulnerabilityLCMRequest.relationships.peer.objects.Item. +type BulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item defines model for BulkWritableVulnerabilityLCMRequest.relationships.source.objects.Item. +type BulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableWebhookRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type BulkWritableWebhookRequest struct { + // AdditionalHeaders User-supplied HTTP headers to be sent with the request in addition to the HTTP content type. Headers should be defined in the format Name: Value. Jinja2 template processing is support with the same context as the request body (below). + AdditionalHeaders *string `json:"additional_headers,omitempty"` + + // BodyTemplate Jinja2 template for a custom request body. If blank, a JSON object representing the change will be included. Available context data includes: event, model, timestamp, username, request_id, and data. + BodyTemplate *string `json:"body_template,omitempty"` + + // CaFilePath The specific CA certificate file to use for SSL verification. Leave blank to use the system defaults. + CaFilePath *string `json:"ca_file_path"` + ContentTypes []string `json:"content_types"` + + // HttpContentType The complete list of official content types is available here. + HttpContentType *string `json:"http_content_type,omitempty"` + HttpMethod *HttpMethodEnum `json:"http_method,omitempty"` + Id openapi_types.UUID `json:"id"` + Name string `json:"name"` + + // PayloadUrl A POST will be sent to this URL when the webhook is called. + PayloadUrl string `json:"payload_url"` + + // Secret When provided, the request will include a 'X-Hook-Signature' header containing a HMAC hex digest of the payload body using the secret as the key. The secret is not transmitted in the request. + Secret *string `json:"secret,omitempty"` + + // SslVerification Enable SSL certificate verification. Disable with caution! + SslVerification *bool `json:"ssl_verification,omitempty"` + + // TypeCreate Call this webhook when a matching object is created. + TypeCreate *bool `json:"type_create,omitempty"` + + // TypeDelete Call this webhook when a matching object is deleted. + TypeDelete *bool `json:"type_delete,omitempty"` + + // TypeUpdate Call this webhook when a matching object is updated. + TypeUpdate *bool `json:"type_update,omitempty"` +} + +// BulkWritableZoneRequest Zone Serializer. +type BulkWritableZoneRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Interfaces *[]NestedInterfaceRequest `json:"interfaces,omitempty"` + + // Name Name of the zone (e.g. trust) + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableZoneRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableZoneRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]BulkWritableZoneRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// BulkWritableZoneRequest_Relationships_Destination_Objects_Item defines model for BulkWritableZoneRequest.relationships.destination.objects.Item. +type BulkWritableZoneRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableZoneRequest_Relationships_Peer_Objects_Item defines model for BulkWritableZoneRequest.relationships.peer.objects.Item. +type BulkWritableZoneRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// BulkWritableZoneRequest_Relationships_Source_Objects_Item defines model for BulkWritableZoneRequest.relationships.source.objects.Item. +type BulkWritableZoneRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} // ButtonClassEnum defines model for ButtonClassEnum. type ButtonClassEnum string -// REST API serializer for CVELCM records. +// CVELCM REST API serializer for CVELCM records. type CVELCM struct { - Comments *string `json:"comments,omitempty"` - CustomFields *CVELCM_CustomFields `json:"custom_fields,omitempty"` - Cvss *float64 `json:"cvss"` - CvssV2 *float64 `json:"cvss_v2"` - CvssV3 *float64 `json:"cvss_v3"` - Description *string `json:"description"` + Comments *string `json:"comments,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Cvss *float64 `json:"cvss"` + CvssV2 *float64 `json:"cvss_v2"` + CvssV3 *float64 `json:"cvss_v3"` + Description *string `json:"description"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Fix *string `json:"fix"` Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Link string `json:"link"` Name string `json:"name"` PublishedDate openapi_types.Date `json:"published_date"` - Severity *string `json:"severity,omitempty"` - Status *struct { + Severity *struct { + Label *CVELCMSeverityLabel `json:"label,omitempty"` + Value *CVELCMSeverityValue `json:"value,omitempty"` + } `json:"severity,omitempty"` + Status *struct { Label *string `json:"label,omitempty"` Value *string `json:"value,omitempty"` } `json:"status,omitempty"` @@ -4587,43 +18448,44 @@ type CVELCM struct { Url *string `json:"url,omitempty"` } -// CVELCM_CustomFields defines model for CVELCM.CustomFields. -type CVELCM_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} +// CVELCMSeverityLabel defines model for CVELCM.Severity.Label. +type CVELCMSeverityLabel string -// Mixin to add `status` choice field to model serializers. +// CVELCMSeverityValue defines model for CVELCM.Severity.Value. +type CVELCMSeverityValue string + +// Cable Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type Cable struct { - Color *string `json:"color,omitempty"` - CustomFields *Cable_CustomFields `json:"custom_fields,omitempty"` + Color *string `json:"color,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Label *string `json:"label,omitempty"` - Length *int `json:"length"` - LengthUnit *struct { + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Length *int `json:"length"` + LengthUnit *struct { Label *CableLengthUnitLabel `json:"label,omitempty"` Value *CableLengthUnitValue `json:"value,omitempty"` } `json:"length_unit,omitempty"` - Status struct { + NotesUrl *string `json:"notes_url,omitempty"` + Status struct { Label *CableStatusLabel `json:"label,omitempty"` Value *CableStatusValue `json:"value,omitempty"` } `json:"status"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - TerminationA *Cable_TerminationA `json:"termination_a"` - TerminationAId openapi_types.UUID `json:"termination_a_id"` - TerminationAType string `json:"termination_a_type"` - TerminationB *Cable_TerminationB `json:"termination_b"` - TerminationBId openapi_types.UUID `json:"termination_b_id"` - TerminationBType string `json:"termination_b_type"` - Type *interface{} `json:"type,omitempty"` - Url *string `json:"url,omitempty"` -} - -// Cable_CustomFields defines model for Cable.CustomFields. -type Cable_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + TerminationA *map[string]interface{} `json:"termination_a"` + TerminationAId openapi_types.UUID `json:"termination_a_id"` + TerminationAType string `json:"termination_a_type"` + TerminationB *map[string]interface{} `json:"termination_b"` + TerminationBId openapi_types.UUID `json:"termination_b_id"` + TerminationBType string `json:"termination_b_type"` + Type *Cable_Type `json:"type,omitempty"` + Url *string `json:"url,omitempty"` } // CableLengthUnitLabel defines model for Cable.LengthUnit.Label. @@ -4638,465 +18500,677 @@ type CableStatusLabel string // CableStatusValue defines model for Cable.Status.Value. type CableStatusValue string -// Cable_TerminationA defines model for Cable.TerminationA. -type Cable_TerminationA struct { - AdditionalProperties map[string]interface{} `json:"-"` +// Cable_Type defines model for Cable.Type. +type Cable_Type struct { + union json.RawMessage } -// Cable_TerminationB defines model for Cable.TerminationB. -type Cable_TerminationB struct { - AdditionalProperties map[string]interface{} `json:"-"` -} +// CableStatusChoices defines model for CableStatusChoices. +type CableStatusChoices string // CableTypeChoices defines model for CableTypeChoices. type CableTypeChoices string -// Mixin to add `status` choice field to model serializers. -type Circuit struct { - Cid string `json:"cid"` - Comments *string `json:"comments,omitempty"` - CommitRate *int `json:"commit_rate"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *Circuit_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` +// CapircaPolicy CapircaPolicy Serializer. +type CapircaPolicy struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Cfg *string `json:"cfg"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Device *openapi_types.UUID `json:"device"` - // Human friendly display value + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Net *string `json:"net"` + Pol *string `json:"pol"` + Svc *string `json:"svc"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// CapircaPolicyRequest CapircaPolicy Serializer. +type CapircaPolicyRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Cfg *string `json:"cfg"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Device *openapi_types.UUID `json:"device"` + Net *string `json:"net"` + Pol *string `json:"pol"` + Svc *string `json:"svc"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// Circuit Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type Circuit struct { + Cid string `json:"cid"` + Comments *string `json:"comments,omitempty"` + CommitRate *int `json:"commit_rate"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` InstallDate *openapi_types.Date `json:"install_date"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + NotesUrl *string `json:"notes_url,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Provider Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Provider NestedProvider `json:"provider"` Status struct { Label *CircuitStatusLabel `json:"label,omitempty"` Value *CircuitStatusValue `json:"value,omitempty"` } `json:"status"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *struct { - // Embedded struct due to allOf(#/components/schemas/NestedTenant) - NestedTenant `yaml:",inline"` - } `json:"tenant"` - TerminationA *struct { - // Embedded struct due to allOf(#/components/schemas/CircuitCircuitTermination) - CircuitCircuitTermination `yaml:",inline"` - } `json:"termination_a,omitempty"` - TerminationZ *struct { - // Embedded struct due to allOf(#/components/schemas/CircuitCircuitTermination) - CircuitCircuitTermination `yaml:",inline"` - } `json:"termination_z,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + TerminationA *CircuitCircuitTermination `json:"termination_a,omitempty"` + TerminationZ *CircuitCircuitTermination `json:"termination_z,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Type Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Type NestedCircuitType `json:"type"` Url *string `json:"url,omitempty"` } -// Circuit_CustomFields defines model for Circuit.CustomFields. -type Circuit_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // CircuitStatusLabel defines model for Circuit.Status.Label. type CircuitStatusLabel string // CircuitStatusValue defines model for Circuit.Status.Value. type CircuitStatusValue string -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// CircuitCircuitTermination Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type CircuitCircuitTermination struct { - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // ConnectedEndpoint Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. - ConnectedEndpoint NestedInterface `json:"connected_endpoint"` + ConnectedEndpoint NestedInterface `json:"connected_endpoint"` + Created *openapi_types.Date `json:"created"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - PortSpeed *int `json:"port_speed"` + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Location *NestedLocation `json:"location"` + NotesUrl *string `json:"notes_url,omitempty"` + PortSpeed *int `json:"port_speed"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // ProviderNetwork Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. ProviderNetwork NestedProviderNetwork `json:"provider_network"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Site Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Site NestedSite `json:"site"` - // Upstream speed, if different from port speed + // UpstreamSpeed Upstream speed, if different from port speed UpstreamSpeed *int `json:"upstream_speed"` Url *string `json:"url,omitempty"` XconnectId *string `json:"xconnect_id,omitempty"` } -// Serializer for API. +// CircuitMaintenance Serializer for API. type CircuitMaintenance struct { - Ack *bool `json:"ack"` - Description *string `json:"description"` - EndTime time.Time `json:"end_time"` - Id *openapi_types.UUID `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - StartTime time.Time `json:"start_time"` - Status *interface{} `json:"status"` + Ack *bool `json:"ack"` + Description *string `json:"description"` + EndTime time.Time `json:"end_time"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + StartTime time.Time `json:"start_time"` + Status *CircuitMaintenance_Status `json:"status"` } -// Serializer for API. +// CircuitMaintenance_Status defines model for CircuitMaintenance.Status. +type CircuitMaintenance_Status struct { + union json.RawMessage +} + +// CircuitMaintenanceCircuitImpact Serializer for API. type CircuitMaintenanceCircuitImpact struct { - Circuit openapi_types.UUID `json:"circuit"` - Id *openapi_types.UUID `json:"id,omitempty"` - Impact *interface{} `json:"impact"` - Maintenance openapi_types.UUID `json:"maintenance"` + Circuit openapi_types.UUID `json:"circuit"` + Id *openapi_types.UUID `json:"id,omitempty"` + Impact *CircuitMaintenanceCircuitImpact_Impact `json:"impact"` + Maintenance openapi_types.UUID `json:"maintenance"` } -// CircuitMaintenanceStatusEnum defines model for CircuitMaintenanceStatusEnum. -type CircuitMaintenanceStatusEnum string +// CircuitMaintenanceCircuitImpact_Impact defines model for CircuitMaintenanceCircuitImpact.Impact. +type CircuitMaintenanceCircuitImpact_Impact struct { + union json.RawMessage +} -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during -// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +// CircuitMaintenanceCircuitImpactRequest Serializer for API. +type CircuitMaintenanceCircuitImpactRequest struct { + Circuit openapi_types.UUID `json:"circuit"` + Impact *CircuitMaintenanceCircuitImpactRequest_Impact `json:"impact"` + Maintenance openapi_types.UUID `json:"maintenance"` +} + +// CircuitMaintenanceCircuitImpactRequest_Impact defines model for CircuitMaintenanceCircuitImpactRequest.Impact. +type CircuitMaintenanceCircuitImpactRequest_Impact struct { + union json.RawMessage +} + +// CircuitMaintenanceRequest Serializer for API. +type CircuitMaintenanceRequest struct { + Ack *bool `json:"ack"` + Description *string `json:"description"` + EndTime time.Time `json:"end_time"` + Name *string `json:"name,omitempty"` + StartTime time.Time `json:"start_time"` + Status *CircuitMaintenanceRequest_Status `json:"status"` +} + +// CircuitMaintenanceRequest_Status defines model for CircuitMaintenanceRequest.Status. +type CircuitMaintenanceRequest_Status struct { + union json.RawMessage +} + +// CircuitStatusChoices defines model for CircuitStatusChoices. +type CircuitStatusChoices string + +// CircuitTermination Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type CircuitTermination struct { - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *CircuitTermination_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` + Cable *NestedCable `json:"cable,omitempty"` + CablePeer *map[string]interface{} `json:"cable_peer"` + CablePeerType *string `json:"cable_peer_type"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Circuit Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. - Circuit NestedCircuit `json:"circuit"` - ConnectedEndpoint *CircuitTermination_ConnectedEndpoint `json:"connected_endpoint"` - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` - ConnectedEndpointType *string `json:"connected_endpoint_type"` - Description *string `json:"description,omitempty"` + Circuit NestedCircuit `json:"circuit"` + ConnectedEndpoint *map[string]interface{} `json:"connected_endpoint"` + ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` + ConnectedEndpointType *string `json:"connected_endpoint_type"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - PortSpeed *int `json:"port_speed"` - PpInfo *string `json:"pp_info,omitempty"` - ProviderNetwork *struct { - // Embedded struct due to allOf(#/components/schemas/NestedProviderNetwork) - NestedProviderNetwork `yaml:",inline"` - } `json:"provider_network"` - Site *struct { - // Embedded struct due to allOf(#/components/schemas/NestedSite) - NestedSite `yaml:",inline"` - } `json:"site"` - TermSide struct { - // Embedded struct due to allOf(#/components/schemas/TermSideEnum) - TermSideEnum `yaml:",inline"` - } `json:"term_side"` + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Location *NestedLocation `json:"location"` + NotesUrl *string `json:"notes_url,omitempty"` + PortSpeed *int `json:"port_speed"` + PpInfo *string `json:"pp_info,omitempty"` + ProviderNetwork *NestedProviderNetwork `json:"provider_network"` + Site *NestedSite `json:"site"` + TermSide TermSideEnum `json:"term_side"` - // Upstream speed, if different from port speed + // UpstreamSpeed Upstream speed, if different from port speed UpstreamSpeed *int `json:"upstream_speed"` Url *string `json:"url,omitempty"` XconnectId *string `json:"xconnect_id,omitempty"` } -// CircuitTermination_CablePeer defines model for CircuitTermination.CablePeer. -type CircuitTermination_CablePeer struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// CircuitTermination_ConnectedEndpoint defines model for CircuitTermination.ConnectedEndpoint. -type CircuitTermination_ConnectedEndpoint struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// CircuitType Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type CircuitType struct { - CircuitCount *int `json:"circuit_count,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *CircuitType_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + CircuitCount *int `json:"circuit_count,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` Slug *string `json:"slug,omitempty"` Url *string `json:"url,omitempty"` } -// CircuitType_CustomFields defines model for CircuitType.CustomFields. -type CircuitType_CustomFields struct { +// CircuitTypeRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type CircuitTypeRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]CircuitTypeRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]CircuitTypeRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]CircuitTypeRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// CircuitTypeRequest_Relationships_Destination_Objects_Item defines model for CircuitTypeRequest.relationships.destination.objects.Item. +type CircuitTypeRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// CircuitTypeRequest_Relationships_Peer_Objects_Item defines model for CircuitTypeRequest.relationships.peer.objects.Item. +type CircuitTypeRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// CircuitTypeRequest_Relationships_Source_Objects_Item defines model for CircuitTypeRequest.relationships.source.objects.Item. +type CircuitTypeRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// Cluster Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type Cluster struct { - Comments *string `json:"comments,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *Cluster_CustomFields `json:"custom_fields,omitempty"` - DeviceCount *int `json:"device_count,omitempty"` + Comments *string `json:"comments,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DeviceCount *int `json:"device_count,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Group *struct { - // Embedded struct due to allOf(#/components/schemas/NestedClusterGroup) - NestedClusterGroup `yaml:",inline"` - } `json:"group"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name string `json:"name"` - Site *struct { - // Embedded struct due to allOf(#/components/schemas/NestedSite) - NestedSite `yaml:",inline"` - } `json:"site"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *struct { - // Embedded struct due to allOf(#/components/schemas/NestedTenant) - NestedTenant `yaml:",inline"` - } `json:"tenant"` + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Group *NestedClusterGroup `json:"group"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Location *NestedLocation `json:"location"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Site *NestedSite `json:"site"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Type Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Type NestedClusterType `json:"type"` Url *string `json:"url,omitempty"` VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` } -// Cluster_CustomFields defines model for Cluster.CustomFields. -type Cluster_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// ClusterGroup Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type ClusterGroup struct { - ClusterCount *int `json:"cluster_count,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *ClusterGroup_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + ClusterCount *int `json:"cluster_count,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` Slug *string `json:"slug,omitempty"` Url *string `json:"url,omitempty"` } -// ClusterGroup_CustomFields defines model for ClusterGroup.CustomFields. -type ClusterGroup_CustomFields struct { +// ClusterGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type ClusterGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ClusterGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ClusterGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ClusterGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// ClusterGroupRequest_Relationships_Destination_Objects_Item defines model for ClusterGroupRequest.relationships.destination.objects.Item. +type ClusterGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// ClusterGroupRequest_Relationships_Peer_Objects_Item defines model for ClusterGroupRequest.relationships.peer.objects.Item. +type ClusterGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// ClusterGroupRequest_Relationships_Source_Objects_Item defines model for ClusterGroupRequest.relationships.source.objects.Item. +type ClusterGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// ClusterType Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type ClusterType struct { - ClusterCount *int `json:"cluster_count,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *ClusterType_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + ClusterCount *int `json:"cluster_count,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` Slug *string `json:"slug,omitempty"` Url *string `json:"url,omitempty"` } -// ClusterType_CustomFields defines model for ClusterType.CustomFields. -type ClusterType_CustomFields struct { +// ClusterTypeRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type ClusterTypeRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ClusterTypeRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ClusterTypeRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ClusterTypeRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// ClusterTypeRequest_Relationships_Destination_Objects_Item defines model for ClusterTypeRequest.relationships.destination.objects.Item. +type ClusterTypeRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// API serializer for interacting with CommandToken objects. +// ClusterTypeRequest_Relationships_Peer_Objects_Item defines model for ClusterTypeRequest.relationships.peer.objects.Item. +type ClusterTypeRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// ClusterTypeRequest_Relationships_Source_Objects_Item defines model for ClusterTypeRequest.relationships.source.objects.Item. +type ClusterTypeRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// CommandToken API serializer for interacting with CommandToken objects. type CommandToken struct { - // Optional: Enter description of token - Comment *string `json:"comment,omitempty"` + // Comment Optional: Enter description of token + Comment *string `json:"comment,omitempty"` + Created *openapi_types.Date `json:"created"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Platform PlatformEnum `json:"platform"` + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Platform PlatformEnum `json:"platform"` - // Token given by chat platform for signing or command validation + // Token Token given by chat platform for signing or command validation + Token string `json:"token"` + Url *string `json:"url,omitempty"` +} + +// CommandTokenRequest API serializer for interacting with CommandToken objects. +type CommandTokenRequest struct { + // Comment Optional: Enter description of token + Comment *string `json:"comment,omitempty"` + Platform PlatformEnum `json:"platform"` + + // Token Token given by chat platform for signing or command validation Token string `json:"token"` } -// Serializer for ComplianceFeature object. +// ComplianceFeature Serializer for ComplianceFeature object. type ComplianceFeature struct { - CustomFieldData *ComplianceFeature_CustomFieldData `json:"_custom_field_data,omitempty"` - ComputedFields *ComplianceFeature_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *ComplianceFeature_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` Slug string `json:"slug"` Tags *[]TagSerializerField `json:"tags,omitempty"` Url *string `json:"url,omitempty"` } -// ComplianceFeature_CustomFieldData defines model for ComplianceFeature.CustomFieldData. -type ComplianceFeature_CustomFieldData struct { - AdditionalProperties map[string]interface{} `json:"-"` +// ComplianceFeatureRequest Serializer for ComplianceFeature object. +type ComplianceFeatureRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug string `json:"slug"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// ComplianceFeature_ComputedFields defines model for ComplianceFeature.ComputedFields. -type ComplianceFeature_ComputedFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// ComplianceFeature_CustomFields defines model for ComplianceFeature.CustomFields. -type ComplianceFeature_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Serializer for ComplianceRule object. +// ComplianceRule Serializer for ComplianceRule object. type ComplianceRule struct { - CustomFieldData *ComplianceRule_CustomFieldData `json:"_custom_field_data,omitempty"` - ComputedFields *ComplianceRule_ComputedFields `json:"computed_fields,omitempty"` + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` - // Whether or not the configuration order matters, such as in ACLs. + // ConfigOrdered Whether or not the configuration order matters, such as in ACLs. ConfigOrdered bool `json:"config_ordered"` - // Whether the config is in cli or json/structured format. - ConfigType *struct { - // Embedded struct due to allOf(#/components/schemas/ConfigTypeEnum) - ConfigTypeEnum `yaml:",inline"` - } `json:"config_type,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *ComplianceRule_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + // ConfigType Whether the config is in cli or json/structured format. + ConfigType *ConfigTypeEnum `json:"config_type,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Feature openapi_types.UUID `json:"feature"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` - // The config to match that is matched based on the parent most configuration. e.g. `router bgp` or `ntp`. + // MatchConfig The config to match that is matched based on the parent most configuration. e.g. `router bgp` or `ntp`. MatchConfig *string `json:"match_config"` Platform openapi_types.UUID `json:"platform"` Tags *[]TagSerializerField `json:"tags,omitempty"` Url *string `json:"url,omitempty"` } -// ComplianceRule_CustomFieldData defines model for ComplianceRule.CustomFieldData. -type ComplianceRule_CustomFieldData struct { - AdditionalProperties map[string]interface{} `json:"-"` +// ComplianceRuleRequest Serializer for ComplianceRule object. +type ComplianceRuleRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + + // ConfigOrdered Whether or not the configuration order matters, such as in ACLs. + ConfigOrdered bool `json:"config_ordered"` + + // ConfigType Whether the config is in cli or json/structured format. + ConfigType *ConfigTypeEnum `json:"config_type,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Feature openapi_types.UUID `json:"feature"` + + // MatchConfig The config to match that is matched based on the parent most configuration. e.g. `router bgp` or `ntp`. + MatchConfig *string `json:"match_config"` + Platform openapi_types.UUID `json:"platform"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// ComplianceRule_ComputedFields defines model for ComplianceRule.ComputedFields. -type ComplianceRule_ComputedFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// ComplianceRule_CustomFields defines model for ComplianceRule.CustomFields. -type ComplianceRule_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// ComputedField Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) type ComputedField struct { - ContentType string `json:"content_type"` - Description *string `json:"description,omitempty"` + ContentType string `json:"content_type"` + Created *openapi_types.Date `json:"created"` + Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` - // Fallback value (if any) to be output for the field in the case of a template rendering error. + // FallbackValue Fallback value (if any) to be output for the field in the case of a template rendering error. FallbackValue *string `json:"fallback_value,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Name of the field as displayed to users - Label string `json:"label"` + // Label Name of the field as displayed to users + Label string `json:"label"` + LastUpdated *time.Time `json:"last_updated"` + NotesUrl *string `json:"notes_url,omitempty"` - // Internal field name + // Slug Internal field name. Please use underscores rather than dashes in this slug. Slug *string `json:"slug,omitempty"` - // Jinja2 template code for field value + // Template Jinja2 template code for field value Template string `json:"template"` Url *string `json:"url,omitempty"` Weight *int `json:"weight,omitempty"` } -// Serializer for ConfigCompliance object. +// ComputedFieldRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type ComputedFieldRequest struct { + ContentType string `json:"content_type"` + Description *string `json:"description,omitempty"` + + // FallbackValue Fallback value (if any) to be output for the field in the case of a template rendering error. + FallbackValue *string `json:"fallback_value,omitempty"` + + // Label Name of the field as displayed to users + Label string `json:"label"` + + // Slug Internal field name. Please use underscores rather than dashes in this slug. + Slug *string `json:"slug,omitempty"` + + // Template Jinja2 template code for field value + Template string `json:"template"` + Weight *int `json:"weight,omitempty"` +} + +// ConfigCompliance Serializer for ConfigCompliance object. type ConfigCompliance struct { - CustomFieldData *ConfigCompliance_CustomFieldData `json:"_custom_field_data,omitempty"` + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` - // Actual Configuration for feature - Actual *ConfigCompliance_Actual `json:"actual,omitempty"` - Compliance *bool `json:"compliance"` - ComplianceInt *int `json:"compliance_int"` - ComputedFields *ConfigCompliance_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *ConfigCompliance_CustomFields `json:"custom_fields,omitempty"` + // Actual Actual Configuration for feature + Actual *map[string]interface{} `json:"actual,omitempty"` + Compliance *bool `json:"compliance"` + ComplianceInt *int `json:"compliance_int"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - // The device + // Device The device Device openapi_types.UUID `json:"device"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` - // Configuration that should not be on the device. - Extra *ConfigCompliance_Extra `json:"extra,omitempty"` + // Extra Configuration that should not be on the device. + Extra *map[string]interface{} `json:"extra,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Intended Configuration for feature - Intended *ConfigCompliance_Intended `json:"intended,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + // Intended Intended Configuration for feature + Intended *map[string]interface{} `json:"intended,omitempty"` + LastUpdated *time.Time `json:"last_updated"` - // Configuration that should be on the device. - Missing *ConfigCompliance_Missing `json:"missing,omitempty"` - Ordered *bool `json:"ordered,omitempty"` - Rule openapi_types.UUID `json:"rule"` - Tags *[]TagSerializerField `json:"tags,omitempty"` + // Missing Configuration that should be on the device. + Missing *map[string]interface{} `json:"missing,omitempty"` + Ordered *bool `json:"ordered,omitempty"` + Rule openapi_types.UUID `json:"rule"` + Tags *[]TagSerializerField `json:"tags,omitempty"` } -// ConfigCompliance_CustomFieldData defines model for ConfigCompliance.CustomFieldData. -type ConfigCompliance_CustomFieldData struct { - AdditionalProperties map[string]interface{} `json:"-"` +// ConfigComplianceRequest Serializer for ConfigCompliance object. +type ConfigComplianceRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + + // Actual Actual Configuration for feature + Actual *map[string]interface{} `json:"actual,omitempty"` + Compliance *bool `json:"compliance"` + ComplianceInt *int `json:"compliance_int"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Device The device + Device openapi_types.UUID `json:"device"` + + // Extra Configuration that should not be on the device. + Extra *map[string]interface{} `json:"extra,omitempty"` + + // Intended Intended Configuration for feature + Intended *map[string]interface{} `json:"intended,omitempty"` + + // Missing Configuration that should be on the device. + Missing *map[string]interface{} `json:"missing,omitempty"` + Ordered *bool `json:"ordered,omitempty"` + Rule openapi_types.UUID `json:"rule"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// Actual Configuration for feature -type ConfigCompliance_Actual struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// ConfigCompliance_ComputedFields defines model for ConfigCompliance.ComputedFields. -type ConfigCompliance_ComputedFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// ConfigCompliance_CustomFields defines model for ConfigCompliance.CustomFields. -type ConfigCompliance_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Configuration that should not be on the device. -type ConfigCompliance_Extra struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Intended Configuration for feature -type ConfigCompliance_Intended struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Configuration that should be on the device. -type ConfigCompliance_Missing struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// ConfigContext Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) type ConfigContext struct { ClusterGroups *[]struct { ClusterCount *int `json:"cluster_count,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -5104,44 +19178,51 @@ type ConfigContext struct { Url *string `json:"url,omitempty"` } `json:"cluster_groups,omitempty"` Clusters *[]struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` Url *string `json:"url,omitempty"` VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` } `json:"clusters,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - Data ConfigContext_Data `json:"data"` - Description *string `json:"description,omitempty"` + Created *openapi_types.Date `json:"created"` + Data map[string]interface{} `json:"data"` + Description *string `json:"description,omitempty"` DeviceTypes *[]struct { DeviceCount *int `json:"device_count,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - Manufacturer *struct { - // Embedded struct due to allOf(#/components/schemas/NestedManufacturer) - NestedManufacturer `yaml:",inline"` - } `json:"manufacturer,omitempty"` - Model string `json:"model"` - Slug string `json:"slug"` - Url *string `json:"url,omitempty"` + Manufacturer *NestedManufacturer `json:"manufacturer,omitempty"` + Model string `json:"model"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` } `json:"device_types,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - IsActive *bool `json:"is_active,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name string `json:"name"` - Owner *ConfigContext_Owner `json:"owner"` - OwnerContentType *string `json:"owner_content_type"` - OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + IsActive *bool `json:"is_active,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Locations *[]struct { + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + TreeDepth *int `json:"tree_depth"` + Url *string `json:"url,omitempty"` + } `json:"locations,omitempty"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Owner *map[string]interface{} `json:"owner"` + OwnerContentType *string `json:"owner_content_type"` + OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` Platforms *[]struct { DeviceCount *int `json:"device_count,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -5152,7 +19233,7 @@ type ConfigContext struct { Regions *[]struct { Depth *int `json:"_depth,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -5163,7 +19244,7 @@ type ConfigContext struct { Roles *[]struct { DeviceCount *int `json:"device_count,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -5171,12 +19252,9 @@ type ConfigContext struct { Url *string `json:"url,omitempty"` VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` } `json:"roles,omitempty"` - Schema *struct { - // Embedded struct due to allOf(#/components/schemas/NestedConfigContextSchema) - NestedConfigContextSchema `yaml:",inline"` - } `json:"schema"` - Sites *[]struct { - // Human friendly display value + Schema *NestedConfigContextSchema `json:"schema"` + Sites *[]struct { + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -5187,7 +19265,7 @@ type ConfigContext struct { TenantGroups *[]struct { Depth *int `json:"_depth,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -5196,7 +19274,7 @@ type ConfigContext struct { Url *string `json:"url,omitempty"` } `json:"tenant_groups,omitempty"` Tenants *[]struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -5207,213 +19285,307 @@ type ConfigContext struct { Weight *int `json:"weight,omitempty"` } -// ConfigContext_Data defines model for ConfigContext.Data. -type ConfigContext_Data struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// ConfigContext_Owner defines model for ConfigContext.Owner. -type ConfigContext_Owner struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during -// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +// ConfigContextSchema Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type ConfigContextSchema struct { - Created *openapi_types.Date `json:"created,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - // A JSON Schema document which is used to validate a config context object. - DataSchema ConfigContextSchema_DataSchema `json:"data_schema"` - Description *string `json:"description,omitempty"` + // DataSchema A JSON Schema document which is used to validate a config context object. + DataSchema map[string]interface{} `json:"data_schema"` + Description *string `json:"description,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name string `json:"name"` - Owner *ConfigContextSchema_Owner `json:"owner"` - OwnerContentType *string `json:"owner_content_type"` - OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Owner *map[string]interface{} `json:"owner"` + OwnerContentType *string `json:"owner_content_type"` + OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` + Slug *string `json:"slug,omitempty"` + Url *string `json:"url,omitempty"` } -// A JSON Schema document which is used to validate a config context object. -type ConfigContextSchema_DataSchema struct { +// ConfigContextSchemaRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type ConfigContextSchemaRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // DataSchema A JSON Schema document which is used to validate a config context object. + DataSchema map[string]interface{} `json:"data_schema"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + OwnerContentType *string `json:"owner_content_type"` + OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ConfigContextSchemaRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ConfigContextSchemaRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ConfigContextSchemaRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// ConfigContextSchemaRequest_Relationships_Destination_Objects_Item defines model for ConfigContextSchemaRequest.relationships.destination.objects.Item. +type ConfigContextSchemaRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// ConfigContextSchema_Owner defines model for ConfigContextSchema.Owner. -type ConfigContextSchema_Owner struct { +// ConfigContextSchemaRequest_Relationships_Peer_Objects_Item defines model for ConfigContextSchemaRequest.relationships.peer.objects.Item. +type ConfigContextSchemaRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Serializer for ConfigRemove object. +// ConfigContextSchemaRequest_Relationships_Source_Objects_Item defines model for ConfigContextSchemaRequest.relationships.source.objects.Item. +type ConfigContextSchemaRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// ConfigRemove Serializer for ConfigRemove object. type ConfigRemove struct { - CustomFieldData *ConfigRemove_CustomFieldData `json:"_custom_field_data,omitempty"` - ComputedFields *ConfigRemove_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *ConfigRemove_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` Platform openapi_types.UUID `json:"platform"` - // Regex pattern used to remove a line from the backup configuration. + // Regex Regex pattern used to remove a line from the backup configuration. Regex string `json:"regex"` Tags *[]TagSerializerField `json:"tags,omitempty"` Url *string `json:"url,omitempty"` } -// ConfigRemove_CustomFieldData defines model for ConfigRemove.CustomFieldData. -type ConfigRemove_CustomFieldData struct { - AdditionalProperties map[string]interface{} `json:"-"` +// ConfigRemoveRequest Serializer for ConfigRemove object. +type ConfigRemoveRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Platform openapi_types.UUID `json:"platform"` + + // Regex Regex pattern used to remove a line from the backup configuration. + Regex string `json:"regex"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// ConfigRemove_ComputedFields defines model for ConfigRemove.ComputedFields. -type ConfigRemove_ComputedFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// ConfigRemove_CustomFields defines model for ConfigRemove.CustomFields. -type ConfigRemove_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Serializer for ConfigReplace object. +// ConfigReplace Serializer for ConfigReplace object. type ConfigReplace struct { - CustomFieldData *ConfigReplace_CustomFieldData `json:"_custom_field_data,omitempty"` - ComputedFields *ConfigReplace_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *ConfigReplace_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` Platform openapi_types.UUID `json:"platform"` - // Regex pattern that will be found and replaced with 'replaced text'. + // Regex Regex pattern that will be found and replaced with 'replaced text'. Regex string `json:"regex"` - // Text that will be inserted in place of Regex pattern match. + // Replace Text that will be inserted in place of Regex pattern match. Replace string `json:"replace"` Tags *[]TagSerializerField `json:"tags,omitempty"` Url *string `json:"url,omitempty"` } -// ConfigReplace_CustomFieldData defines model for ConfigReplace.CustomFieldData. -type ConfigReplace_CustomFieldData struct { - AdditionalProperties map[string]interface{} `json:"-"` +// ConfigReplaceRequest Serializer for ConfigReplace object. +type ConfigReplaceRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Platform openapi_types.UUID `json:"platform"` + + // Regex Regex pattern that will be found and replaced with 'replaced text'. + Regex string `json:"regex"` + + // Replace Text that will be inserted in place of Regex pattern match. + Replace string `json:"replace"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// ConfigReplace_ComputedFields defines model for ConfigReplace.ComputedFields. -type ConfigReplace_ComputedFields struct { - AdditionalProperties map[string]interface{} `json:"-"` +// ConfigToPush Serializer for ConfigToPush view. +type ConfigToPush struct { + // AssetTag A unique tag used to identify this device + AssetTag *string `json:"asset_tag"` + Cluster *NestedCluster `json:"cluster"` + Comments *string `json:"comments,omitempty"` + Config *string `json:"config,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DeviceRedundancyGroup *NestedDeviceRedundancyGroup `json:"device_redundancy_group"` + + // DeviceRedundancyGroupPriority The priority the device has in the device redundancy group. + DeviceRedundancyGroupPriority *int `json:"device_redundancy_group_priority"` + + // DeviceRole Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceRole NestedDeviceRole `json:"device_role"` + + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceType NestedDeviceType `json:"device_type"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Face *struct { + Label *ConfigToPushFaceLabel `json:"label,omitempty"` + Value *ConfigToPushFaceValue `json:"value,omitempty"` + } `json:"face,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + LocalContextData *map[string]interface{} `json:"local_context_data"` + LocalContextSchema *NestedConfigContextSchema `json:"local_context_schema"` + Location *NestedLocation `json:"location"` + Name *string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + ParentDevice *NestedDevice `json:"parent_device,omitempty"` + Platform *NestedPlatform `json:"platform"` + + // Position The lowest-numbered unit occupied by the device + Position *int `json:"position"` + PrimaryIp *NestedIPAddress `json:"primary_ip,omitempty"` + PrimaryIp4 *NestedIPAddress `json:"primary_ip4"` + PrimaryIp6 *NestedIPAddress `json:"primary_ip6"` + Rack *NestedRack `json:"rack"` + SecretsGroup *NestedSecretsGroup `json:"secrets_group"` + Serial *string `json:"serial,omitempty"` + + // Site Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Site NestedSite `json:"site"` + Status struct { + Label *ConfigToPushStatusLabel `json:"label,omitempty"` + Value *ConfigToPushStatusValue `json:"value,omitempty"` + } `json:"status"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` + VcPosition *int `json:"vc_position"` + VcPriority *int `json:"vc_priority"` + VirtualChassis *NestedVirtualChassis `json:"virtual_chassis"` } -// ConfigReplace_CustomFields defines model for ConfigReplace.CustomFields. -type ConfigReplace_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} +// ConfigToPushFaceLabel defines model for ConfigToPush.Face.Label. +type ConfigToPushFaceLabel string + +// ConfigToPushFaceValue defines model for ConfigToPush.Face.Value. +type ConfigToPushFaceValue string + +// ConfigToPushStatusLabel defines model for ConfigToPush.Status.Label. +type ConfigToPushStatusLabel string + +// ConfigToPushStatusValue defines model for ConfigToPush.Status.Value. +type ConfigToPushStatusValue string // ConfigTypeEnum defines model for ConfigTypeEnum. type ConfigTypeEnum string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// ConsolePort Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type ConsolePort struct { - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *ConsolePort_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - ComputedFields *ConsolePort_ComputedFields `json:"computed_fields,omitempty"` - ConnectedEndpoint *ConsolePort_ConnectedEndpoint `json:"connected_endpoint"` - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` - ConnectedEndpointType *string `json:"connected_endpoint_type"` - CustomFields *ConsolePort_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + Cable *NestedCable `json:"cable,omitempty"` + CablePeer *map[string]interface{} `json:"cable_peer"` + CablePeerType *string `json:"cable_peer_type"` + ConnectedEndpoint *map[string]interface{} `json:"connected_endpoint"` + ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` + ConnectedEndpointType *string `json:"connected_endpoint_type"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Device NestedDevice `json:"device"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Type *struct { + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Type *struct { Label *ConsolePortTypeLabel `json:"label,omitempty"` Value *ConsolePortTypeValue `json:"value,omitempty"` } `json:"type,omitempty"` Url *string `json:"url,omitempty"` } -// ConsolePort_CablePeer defines model for ConsolePort.CablePeer. -type ConsolePort_CablePeer struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// ConsolePort_ComputedFields defines model for ConsolePort.ComputedFields. -type ConsolePort_ComputedFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// ConsolePort_ConnectedEndpoint defines model for ConsolePort.ConnectedEndpoint. -type ConsolePort_ConnectedEndpoint struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// ConsolePort_CustomFields defines model for ConsolePort.CustomFields. -type ConsolePort_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // ConsolePortTypeLabel defines model for ConsolePort.Type.Label. type ConsolePortTypeLabel string // ConsolePortTypeValue defines model for ConsolePort.Type.Value. type ConsolePortTypeValue string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// ConsolePortTemplate Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type ConsolePortTemplate struct { - CustomFields *ConsolePortTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. DeviceType NestedDeviceType `json:"device_type"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` - Type *struct { + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Type *struct { Label *ConsolePortTemplateTypeLabel `json:"label,omitempty"` Value *ConsolePortTemplateTypeValue `json:"value,omitempty"` } `json:"type,omitempty"` Url *string `json:"url,omitempty"` } -// ConsolePortTemplate_CustomFields defines model for ConsolePortTemplate.CustomFields. -type ConsolePortTemplate_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // ConsolePortTemplateTypeLabel defines model for ConsolePortTemplate.Type.Label. type ConsolePortTemplateTypeLabel string @@ -5423,121 +19595,109 @@ type ConsolePortTemplateTypeValue string // ConsolePortTypeChoices defines model for ConsolePortTypeChoices. type ConsolePortTypeChoices string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// ConsoleServerPort Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type ConsoleServerPort struct { - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *ConsoleServerPort_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - ConnectedEndpoint *ConsoleServerPort_ConnectedEndpoint `json:"connected_endpoint"` - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` - ConnectedEndpointType *string `json:"connected_endpoint_type"` - CustomFields *ConsoleServerPort_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + Cable *NestedCable `json:"cable,omitempty"` + CablePeer *map[string]interface{} `json:"cable_peer"` + CablePeerType *string `json:"cable_peer_type"` + ConnectedEndpoint *map[string]interface{} `json:"connected_endpoint"` + ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` + ConnectedEndpointType *string `json:"connected_endpoint_type"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Device NestedDevice `json:"device"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Type *struct { + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Type *struct { Label *ConsoleServerPortTypeLabel `json:"label,omitempty"` Value *ConsoleServerPortTypeValue `json:"value,omitempty"` } `json:"type,omitempty"` Url *string `json:"url,omitempty"` } -// ConsoleServerPort_CablePeer defines model for ConsoleServerPort.CablePeer. -type ConsoleServerPort_CablePeer struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// ConsoleServerPort_ConnectedEndpoint defines model for ConsoleServerPort.ConnectedEndpoint. -type ConsoleServerPort_ConnectedEndpoint struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// ConsoleServerPort_CustomFields defines model for ConsoleServerPort.CustomFields. -type ConsoleServerPort_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // ConsoleServerPortTypeLabel defines model for ConsoleServerPort.Type.Label. type ConsoleServerPortTypeLabel string // ConsoleServerPortTypeValue defines model for ConsoleServerPort.Type.Value. type ConsoleServerPortTypeValue string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// ConsoleServerPortTemplate Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type ConsoleServerPortTemplate struct { - CustomFields *ConsoleServerPortTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. DeviceType NestedDeviceType `json:"device_type"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` - Type *struct { + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Type *struct { Label *ConsoleServerPortTemplateTypeLabel `json:"label,omitempty"` Value *ConsoleServerPortTemplateTypeValue `json:"value,omitempty"` } `json:"type,omitempty"` Url *string `json:"url,omitempty"` } -// ConsoleServerPortTemplate_CustomFields defines model for ConsoleServerPortTemplate.CustomFields. -type ConsoleServerPortTemplate_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // ConsoleServerPortTemplateTypeLabel defines model for ConsoleServerPortTemplate.Type.Label. type ConsoleServerPortTemplateTypeLabel string // ConsoleServerPortTemplateTypeValue defines model for ConsoleServerPortTemplate.Type.Value. type ConsoleServerPortTemplateTypeValue string -// API serializer. +// ContactLCM API serializer. type ContactLCM struct { Address *string `json:"address,omitempty"` Comments *string `json:"comments,omitempty"` - // Associated Contract - Contract struct { - // Embedded struct due to allOf(#/components/schemas/NestedContractLCM) - NestedContractLCM `yaml:",inline"` - } `json:"contract"` - CustomFields *ContactLCM_CustomFields `json:"custom_fields,omitempty"` + // Contract Associated Contract + Contract NestedContractLCM `json:"contract"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Email *openapi_types.Email `json:"email,omitempty"` - Name *string `json:"name"` - Phone *string `json:"phone,omitempty"` - Priority *int `json:"priority,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name *string `json:"name"` + Phone *string `json:"phone,omitempty"` + Priority *int `json:"priority,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` } -// ContactLCM_CustomFields defines model for ContactLCM.CustomFields. -type ContactLCM_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// ContentType defines model for ContentType. +// ContentType This base serializer implements common fields and logic for all ModelSerializers. +// +// Namely, it: +// +// - defines the `display` field which exposes a human friendly value for the given object. +// - ensures that `id` field is always present on the serializer as well +// - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. type ContentType struct { AppLabel string `json:"app_label"` Display *string `json:"display,omitempty"` @@ -5546,244 +19706,259 @@ type ContentType struct { Url *string `json:"url,omitempty"` } -// API serializer. +// ContractLCM API serializer. type ContractLCM struct { - ContractType *string `json:"contract_type"` - Cost *string `json:"cost"` - CustomFields *ContractLCM_CustomFields `json:"custom_fields,omitempty"` + ContractType *string `json:"contract_type"` + Cost *string `json:"cost"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - End *openapi_types.Date `json:"end"` - Expired *string `json:"expired,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Name string `json:"name"` + // Display Human friendly display value + Display *string `json:"display,omitempty"` + End *openapi_types.Date `json:"end"` + Expired *string `json:"expired,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` - // Vendor - Provider struct { - // Embedded struct due to allOf(#/components/schemas/NestedProviderLCM) - NestedProviderLCM `yaml:",inline"` - } `json:"provider"` + // Provider Vendor + Provider NestedProviderLCM `json:"provider"` Start *openapi_types.Date `json:"start"` SupportLevel *string `json:"support_level"` Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` } -// ContractLCM_CustomFields defines model for ContractLCM.CustomFields. -type ContractLCM_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// CustomFieldChoice Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type CustomField struct { - ContentTypes []string `json:"content_types"` +type CustomFieldChoice struct { + Created *openapi_types.Date `json:"created"` - // Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo"). - Default *CustomField_Default `json:"default"` + // Display Human friendly display value + Display *string `json:"display,omitempty"` - // A helpful description for this field. - Description *string `json:"description,omitempty"` + // Field Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Field NestedCustomField `json:"field"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Url *string `json:"url,omitempty"` + Value string `json:"value"` - // Human friendly display value - Display *string `json:"display,omitempty"` - FilterLogic *struct { - Label *CustomFieldFilterLogicLabel `json:"label,omitempty"` - Value *CustomFieldFilterLogicValue `json:"value,omitempty"` - } `json:"filter_logic,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Name of the field as displayed to users (if not provided, the field's slug will be used.) - Label *string `json:"label,omitempty"` - - // URL-friendly unique shorthand. - Name string `json:"name"` - - // If true, this field is required when creating new objects or editing an existing object. - Required *bool `json:"required,omitempty"` - Type struct { - Label *CustomFieldTypeLabel `json:"label,omitempty"` - Value *CustomFieldTypeValue `json:"value,omitempty"` - } `json:"type"` - Url *string `json:"url,omitempty"` - - // Maximum allowed value (for numeric fields). - ValidationMaximum *int64 `json:"validation_maximum"` - - // Minimum allowed value (for numeric fields). - ValidationMinimum *int64 `json:"validation_minimum"` - - // Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters. Regular expression on select and multi-select will be applied at Custom Field Choices definition. - ValidationRegex *string `json:"validation_regex,omitempty"` - - // Fields with higher weights appear lower in a form. + // Weight Higher weights appear later in the list Weight *int `json:"weight,omitempty"` } -// Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo"). -type CustomField_Default struct { - AdditionalProperties map[string]interface{} `json:"-"` +// CustomFieldSerializerVersion12 Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type CustomFieldSerializerVersion12 struct { + ContentTypes []string `json:"content_types"` + Created *openapi_types.Date `json:"created"` + + // Default Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo"). + Default *map[string]interface{} `json:"default"` + + // Description A helpful description for this field. + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + FilterLogic *struct { + Label *CustomFieldSerializerVersion12FilterLogicLabel `json:"label,omitempty"` + Value *CustomFieldSerializerVersion12FilterLogicValue `json:"value,omitempty"` + } `json:"filter_logic,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Human-readable unique name of this field. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Required If true, this field is required when creating new objects or editing an existing object. + Required *bool `json:"required,omitempty"` + Slug *string `json:"slug,omitempty"` + Type struct { + Label *CustomFieldSerializerVersion12TypeLabel `json:"label,omitempty"` + Value *CustomFieldSerializerVersion12TypeValue `json:"value,omitempty"` + } `json:"type"` + Url *string `json:"url,omitempty"` + + // ValidationMaximum Maximum allowed value (for numeric fields). + ValidationMaximum *int64 `json:"validation_maximum"` + + // ValidationMinimum Minimum allowed value (for numeric fields). + ValidationMinimum *int64 `json:"validation_minimum"` + + // ValidationRegex Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters. Regular expression on select and multi-select will be applied at Custom Field Choices definition. + ValidationRegex *string `json:"validation_regex,omitempty"` + + // Weight Fields with higher weights appear lower in a form. + Weight *int `json:"weight,omitempty"` } -// CustomFieldFilterLogicLabel defines model for CustomField.FilterLogic.Label. -type CustomFieldFilterLogicLabel string +// CustomFieldSerializerVersion12FilterLogicLabel defines model for CustomFieldSerializerVersion12.FilterLogic.Label. +type CustomFieldSerializerVersion12FilterLogicLabel string -// CustomFieldFilterLogicValue defines model for CustomField.FilterLogic.Value. -type CustomFieldFilterLogicValue string +// CustomFieldSerializerVersion12FilterLogicValue defines model for CustomFieldSerializerVersion12.FilterLogic.Value. +type CustomFieldSerializerVersion12FilterLogicValue string -// CustomFieldTypeLabel defines model for CustomField.Type.Label. -type CustomFieldTypeLabel string +// CustomFieldSerializerVersion12TypeLabel defines model for CustomFieldSerializerVersion12.Type.Label. +type CustomFieldSerializerVersion12TypeLabel string -// CustomFieldTypeValue defines model for CustomField.Type.Value. -type CustomFieldTypeValue string +// CustomFieldSerializerVersion12TypeValue defines model for CustomFieldSerializerVersion12.Type.Value. +type CustomFieldSerializerVersion12TypeValue string -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// CustomFieldSerializerVersion12Request Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type CustomFieldChoice struct { - // Human friendly display value - Display *string `json:"display,omitempty"` +type CustomFieldSerializerVersion12Request struct { + ContentTypes *[]string `json:"content_types,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the - // primary key value on write operations. - Field NestedCustomField `json:"field"` - Id *openapi_types.UUID `json:"id,omitempty"` - Url *string `json:"url,omitempty"` - Value string `json:"value"` + // Default Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo"). + Default *map[string]interface{} `json:"default"` - // Higher weights appear later in the list + // Description A helpful description for this field. + Description *string `json:"description,omitempty"` + FilterLogic *FilterLogicEnum `json:"filter_logic,omitempty"` + Label *string `json:"label,omitempty"` + + // Name Human-readable unique name of this field. + Name *string `json:"name,omitempty"` + + // Required If true, this field is required when creating new objects or editing an existing object. + Required *bool `json:"required,omitempty"` + Slug *string `json:"slug,omitempty"` + Type *CustomFieldTypeChoices `json:"type,omitempty"` + + // ValidationMaximum Maximum allowed value (for numeric fields). + ValidationMaximum *int64 `json:"validation_maximum"` + + // ValidationMinimum Minimum allowed value (for numeric fields). + ValidationMinimum *int64 `json:"validation_minimum"` + + // ValidationRegex Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters. Regular expression on select and multi-select will be applied at Custom Field Choices definition. + ValidationRegex *string `json:"validation_regex,omitempty"` + + // Weight Fields with higher weights appear lower in a form. Weight *int `json:"weight,omitempty"` } // CustomFieldTypeChoices defines model for CustomFieldTypeChoices. type CustomFieldTypeChoices string -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// CustomLink Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) type CustomLink struct { - // The class of the first link in a group will be used for the dropdown button - ButtonClass *struct { - // Embedded struct due to allOf(#/components/schemas/ButtonClassEnum) - ButtonClassEnum `yaml:",inline"` - } `json:"button_class,omitempty"` - ContentType string `json:"content_type"` + // ButtonClass The class of the first link in a group will be used for the dropdown button + ButtonClass *ButtonClassEnum `json:"button_class,omitempty"` + ContentType string `json:"content_type"` + Created *openapi_types.Date `json:"created"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` - // Links with the same group will appear as a dropdown menu - GroupName *string `json:"group_name,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Name string `json:"name"` + // GroupName Links with the same group will appear as a dropdown menu + GroupName *string `json:"group_name,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` - // Force link to open in a new window - NewWindow bool `json:"new_window"` + // NewWindow Force link to open in a new window + NewWindow bool `json:"new_window"` + NotesUrl *string `json:"notes_url,omitempty"` - // Jinja2 template code for link URL. Reference the object as {{ obj }} such as {{ obj.platform.slug }}. + // TargetUrl Jinja2 template code for link URL. Reference the object as {{ obj }} such as {{ obj.platform.slug }}. TargetUrl string `json:"target_url"` - // Jinja2 template code for link text. Reference the object as {{ obj }} such as {{ obj.platform.slug }}. Links which render as empty text will not be displayed. + // Text Jinja2 template code for link text. Reference the object as {{ obj }} such as {{ obj.platform.slug }}. Links which render as empty text will not be displayed. Text string `json:"text"` Url *string `json:"url,omitempty"` Weight *int `json:"weight,omitempty"` } -// Mixin to add `status` choice field to model serializers. -type Device struct { - // A unique tag used to identify this device - AssetTag *string `json:"asset_tag"` - Cluster *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCluster) - NestedCluster `yaml:",inline"` - } `json:"cluster"` - Comments *string `json:"comments,omitempty"` - ComputedFields *Device_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *Device_CustomFields `json:"custom_fields,omitempty"` +// CustomLinkRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type CustomLinkRequest struct { + // ButtonClass The class of the first link in a group will be used for the dropdown button + ButtonClass *ButtonClassEnum `json:"button_class,omitempty"` + ContentType string `json:"content_type"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // GroupName Links with the same group will appear as a dropdown menu + GroupName *string `json:"group_name,omitempty"` + Name string `json:"name"` + + // NewWindow Force link to open in a new window + NewWindow bool `json:"new_window"` + + // TargetUrl Jinja2 template code for link URL. Reference the object as {{ obj }} such as {{ obj.platform.slug }}. + TargetUrl string `json:"target_url"` + + // Text Jinja2 template code for link text. Reference the object as {{ obj }} such as {{ obj.platform.slug }}. Links which render as empty text will not be displayed. + Text string `json:"text"` + Weight *int `json:"weight,omitempty"` +} + +// Device Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type Device struct { + // AssetTag A unique tag used to identify this device + AssetTag *string `json:"asset_tag"` + Cluster *NestedCluster `json:"cluster"` + Comments *string `json:"comments,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DeviceRedundancyGroup *NestedDeviceRedundancyGroup `json:"device_redundancy_group"` + + // DeviceRedundancyGroupPriority The priority the device has in the device redundancy group. + DeviceRedundancyGroupPriority *int `json:"device_redundancy_group_priority"` + + // DeviceRole Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. DeviceRole NestedDeviceRole `json:"device_role"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. DeviceType NestedDeviceType `json:"device_type"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Face *struct { Label *DeviceFaceLabel `json:"label,omitempty"` Value *DeviceFaceValue `json:"value,omitempty"` } `json:"face,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LocalContextData *Device_LocalContextData `json:"local_context_data"` - LocalContextSchema *struct { - // Embedded struct due to allOf(#/components/schemas/NestedConfigContextSchema) - NestedConfigContextSchema `yaml:",inline"` - } `json:"local_context_schema"` - Name *string `json:"name"` - ParentDevice *struct { - // Embedded struct due to allOf(#/components/schemas/NestedDevice) - NestedDevice `yaml:",inline"` - } `json:"parent_device,omitempty"` - Platform *struct { - // Embedded struct due to allOf(#/components/schemas/NestedPlatform) - NestedPlatform `yaml:",inline"` - } `json:"platform"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + LocalContextData *map[string]interface{} `json:"local_context_data"` + LocalContextSchema *NestedConfigContextSchema `json:"local_context_schema"` + Location *NestedLocation `json:"location"` + Name *string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + ParentDevice *NestedDevice `json:"parent_device,omitempty"` + Platform *NestedPlatform `json:"platform"` - // The lowest-numbered unit occupied by the device - Position *int `json:"position"` - PrimaryIp *struct { - // Embedded struct due to allOf(#/components/schemas/NestedIPAddress) - NestedIPAddress `yaml:",inline"` - } `json:"primary_ip,omitempty"` - PrimaryIp4 *struct { - // Embedded struct due to allOf(#/components/schemas/NestedIPAddress) - NestedIPAddress `yaml:",inline"` - } `json:"primary_ip4"` - PrimaryIp6 *struct { - // Embedded struct due to allOf(#/components/schemas/NestedIPAddress) - NestedIPAddress `yaml:",inline"` - } `json:"primary_ip6"` - Rack *struct { - // Embedded struct due to allOf(#/components/schemas/NestedRack) - NestedRack `yaml:",inline"` - } `json:"rack"` - SecretsGroup *struct { - // Embedded struct due to allOf(#/components/schemas/NestedSecretsGroup) - NestedSecretsGroup `yaml:",inline"` - } `json:"secrets_group"` - Serial *string `json:"serial,omitempty"` + // Position The lowest-numbered unit occupied by the device + Position *int `json:"position"` + PrimaryIp *NestedIPAddress `json:"primary_ip,omitempty"` + PrimaryIp4 *NestedIPAddress `json:"primary_ip4"` + PrimaryIp6 *NestedIPAddress `json:"primary_ip6"` + Rack *NestedRack `json:"rack"` + SecretsGroup *NestedSecretsGroup `json:"secrets_group"` + Serial *string `json:"serial,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Site Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Site NestedSite `json:"site"` Status struct { Label *DeviceStatusLabel `json:"label,omitempty"` Value *DeviceStatusValue `json:"value,omitempty"` } `json:"status"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *struct { - // Embedded struct due to allOf(#/components/schemas/NestedTenant) - NestedTenant `yaml:",inline"` - } `json:"tenant"` - Url *string `json:"url,omitempty"` - VcPosition *int `json:"vc_position"` - VcPriority *int `json:"vc_priority"` - VirtualChassis *struct { - // Embedded struct due to allOf(#/components/schemas/NestedVirtualChassis) - NestedVirtualChassis `yaml:",inline"` - } `json:"virtual_chassis"` -} - -// Device_ComputedFields defines model for Device.ComputedFields. -type Device_ComputedFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Device_CustomFields defines model for Device.CustomFields. -type Device_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` + VcPosition *int `json:"vc_position"` + VcPriority *int `json:"vc_priority"` + VirtualChassis *NestedVirtualChassis `json:"virtual_chassis"` } // DeviceFaceLabel defines model for Device.Face.Label. @@ -5792,128 +19967,218 @@ type DeviceFaceLabel string // DeviceFaceValue defines model for Device.Face.Value. type DeviceFaceValue string -// Device_LocalContextData defines model for Device.LocalContextData. -type Device_LocalContextData struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // DeviceStatusLabel defines model for Device.Status.Label. type DeviceStatusLabel string // DeviceStatusValue defines model for Device.Status.Value. type DeviceStatusValue string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// DeviceBay Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type DeviceBay struct { - CustomFields *DeviceBay_CustomFields `json:"custom_fields,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` Description *string `json:"description,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Device NestedDevice `json:"device"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - InstalledDevice *struct { - // Embedded struct due to allOf(#/components/schemas/NestedDevice) - NestedDevice `yaml:",inline"` - } `json:"installed_device"` + InstalledDevice *NestedDevice `json:"installed_device"` - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` } -// DeviceBay_CustomFields defines model for DeviceBay.CustomFields. -type DeviceBay_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// DeviceBayTemplate Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type DeviceBayTemplate struct { - CustomFields *DeviceBayTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. DeviceType NestedDeviceType `json:"device_type"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` - Url *string `json:"url,omitempty"` -} - -// DeviceBayTemplate_CustomFields defines model for DeviceBayTemplate.CustomFields. -type DeviceBayTemplate_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` } // DeviceNAPALM defines model for DeviceNAPALM. type DeviceNAPALM struct { - Method DeviceNAPALM_Method `json:"method"` + Method map[string]interface{} `json:"method"` } -// DeviceNAPALM_Method defines model for DeviceNAPALM.Method. -type DeviceNAPALM_Method struct { - AdditionalProperties map[string]interface{} `json:"-"` +// DeviceRedundancyGroup Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type DeviceRedundancyGroup struct { + Comments *string `json:"comments,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + FailoverStrategy struct { + Label *DeviceRedundancyGroupFailoverStrategyLabel `json:"label,omitempty"` + Value *DeviceRedundancyGroupFailoverStrategyValue `json:"value,omitempty"` + } `json:"failover_strategy"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + SecretsGroup *openapi_types.UUID `json:"secrets_group"` + Slug *string `json:"slug,omitempty"` + Status struct { + Label *DeviceRedundancyGroupStatusLabel `json:"label,omitempty"` + Value *DeviceRedundancyGroupStatusValue `json:"value,omitempty"` + } `json:"status"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// DeviceRedundancyGroupFailoverStrategyLabel defines model for DeviceRedundancyGroup.FailoverStrategy.Label. +type DeviceRedundancyGroupFailoverStrategyLabel string + +// DeviceRedundancyGroupFailoverStrategyValue defines model for DeviceRedundancyGroup.FailoverStrategy.Value. +type DeviceRedundancyGroupFailoverStrategyValue string + +// DeviceRedundancyGroupStatusLabel defines model for DeviceRedundancyGroup.Status.Label. +type DeviceRedundancyGroupStatusLabel string + +// DeviceRedundancyGroupStatusValue defines model for DeviceRedundancyGroup.Status.Value. +type DeviceRedundancyGroupStatusValue string + +// DeviceRole Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type DeviceRole struct { - Color *string `json:"color,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *DeviceRole_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceCount *int `json:"device_count,omitempty"` + Color *string `json:"color,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceCount *int `json:"device_count,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` Slug *string `json:"slug,omitempty"` Url *string `json:"url,omitempty"` VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` - // Virtual machines may be assigned to this role + // VmRole Virtual machines may be assigned to this role VmRole *bool `json:"vm_role,omitempty"` } -// DeviceRole_CustomFields defines model for DeviceRole.CustomFields. -type DeviceRole_CustomFields struct { +// DeviceRoleRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type DeviceRoleRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]DeviceRoleRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]DeviceRoleRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]DeviceRoleRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + + // VmRole Virtual machines may be assigned to this role + VmRole *bool `json:"vm_role,omitempty"` +} + +// DeviceRoleRequest_Relationships_Destination_Objects_Item defines model for DeviceRoleRequest.relationships.destination.objects.Item. +type DeviceRoleRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type DeviceType struct { - Comments *string `json:"comments,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *DeviceType_CustomFields `json:"custom_fields,omitempty"` - DeviceCount *int `json:"device_count,omitempty"` +// DeviceRoleRequest_Relationships_Peer_Objects_Item defines model for DeviceRoleRequest.relationships.peer.objects.Item. +type DeviceRoleRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Human friendly display value +// DeviceRoleRequest_Relationships_Source_Objects_Item defines model for DeviceRoleRequest.relationships.source.objects.Item. +type DeviceRoleRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// DeviceStatusChoices defines model for DeviceStatusChoices. +type DeviceStatusChoices string + +// DeviceType Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type DeviceType struct { + Comments *string `json:"comments,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DeviceCount *int `json:"device_count,omitempty"` + + // Display Human friendly display value Display *string `json:"display,omitempty"` FrontImage *string `json:"front_image,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Device consumes both front and rear rack faces + // IsFullDepth Device consumes both front and rear rack faces IsFullDepth *bool `json:"is_full_depth,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Manufacturer Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Manufacturer NestedManufacturer `json:"manufacturer"` Model string `json:"model"` + NotesUrl *string `json:"notes_url,omitempty"` - // Discrete part number (optional) + // PartNumber Discrete part number (optional) PartNumber *string `json:"part_number,omitempty"` RearImage *string `json:"rear_image,omitempty"` Slug *string `json:"slug,omitempty"` @@ -5926,114 +20191,74 @@ type DeviceType struct { Url *string `json:"url,omitempty"` } -// DeviceType_CustomFields defines model for DeviceType.CustomFields. -type DeviceType_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // DeviceTypeSubdeviceRoleLabel defines model for DeviceType.SubdeviceRole.Label. type DeviceTypeSubdeviceRoleLabel string // DeviceTypeSubdeviceRoleValue defines model for DeviceType.SubdeviceRole.Value. type DeviceTypeSubdeviceRoleValue string -// Mixin to add `status` choice field to model serializers. +// DeviceWithConfigContext Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type DeviceWithConfigContext struct { - // A unique tag used to identify this device - AssetTag *string `json:"asset_tag"` - Cluster *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCluster) - NestedCluster `yaml:",inline"` - } `json:"cluster"` - Comments *string `json:"comments,omitempty"` - ConfigContext *DeviceWithConfigContext_ConfigContext `json:"config_context,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *DeviceWithConfigContext_CustomFields `json:"custom_fields,omitempty"` + // AssetTag A unique tag used to identify this device + AssetTag *string `json:"asset_tag"` + Cluster *NestedCluster `json:"cluster"` + Comments *string `json:"comments,omitempty"` + ConfigContext *map[string]interface{} `json:"config_context,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DeviceRedundancyGroup *NestedDeviceRedundancyGroup `json:"device_redundancy_group"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // DeviceRedundancyGroupPriority The priority the device has in the device redundancy group. + DeviceRedundancyGroupPriority *int `json:"device_redundancy_group_priority"` + + // DeviceRole Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. DeviceRole NestedDeviceRole `json:"device_role"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. DeviceType NestedDeviceType `json:"device_type"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Face *struct { Label *DeviceWithConfigContextFaceLabel `json:"label,omitempty"` Value *DeviceWithConfigContextFaceValue `json:"value,omitempty"` } `json:"face,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LocalContextData *DeviceWithConfigContext_LocalContextData `json:"local_context_data"` - LocalContextSchema *struct { - // Embedded struct due to allOf(#/components/schemas/NestedConfigContextSchema) - NestedConfigContextSchema `yaml:",inline"` - } `json:"local_context_schema"` - Name *string `json:"name"` - ParentDevice *struct { - // Embedded struct due to allOf(#/components/schemas/NestedDevice) - NestedDevice `yaml:",inline"` - } `json:"parent_device,omitempty"` - Platform *struct { - // Embedded struct due to allOf(#/components/schemas/NestedPlatform) - NestedPlatform `yaml:",inline"` - } `json:"platform"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + LocalContextData *map[string]interface{} `json:"local_context_data"` + LocalContextSchema *NestedConfigContextSchema `json:"local_context_schema"` + Location *NestedLocation `json:"location"` + Name *string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + ParentDevice *NestedDevice `json:"parent_device,omitempty"` + Platform *NestedPlatform `json:"platform"` - // The lowest-numbered unit occupied by the device - Position *int `json:"position"` - PrimaryIp *struct { - // Embedded struct due to allOf(#/components/schemas/NestedIPAddress) - NestedIPAddress `yaml:",inline"` - } `json:"primary_ip,omitempty"` - PrimaryIp4 *struct { - // Embedded struct due to allOf(#/components/schemas/NestedIPAddress) - NestedIPAddress `yaml:",inline"` - } `json:"primary_ip4"` - PrimaryIp6 *struct { - // Embedded struct due to allOf(#/components/schemas/NestedIPAddress) - NestedIPAddress `yaml:",inline"` - } `json:"primary_ip6"` - Rack *struct { - // Embedded struct due to allOf(#/components/schemas/NestedRack) - NestedRack `yaml:",inline"` - } `json:"rack"` - SecretsGroup *struct { - // Embedded struct due to allOf(#/components/schemas/NestedSecretsGroup) - NestedSecretsGroup `yaml:",inline"` - } `json:"secrets_group"` - Serial *string `json:"serial,omitempty"` + // Position The lowest-numbered unit occupied by the device + Position *int `json:"position"` + PrimaryIp *NestedIPAddress `json:"primary_ip,omitempty"` + PrimaryIp4 *NestedIPAddress `json:"primary_ip4"` + PrimaryIp6 *NestedIPAddress `json:"primary_ip6"` + Rack *NestedRack `json:"rack"` + SecretsGroup *NestedSecretsGroup `json:"secrets_group"` + Serial *string `json:"serial,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Site Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Site NestedSite `json:"site"` Status struct { Label *DeviceWithConfigContextStatusLabel `json:"label,omitempty"` Value *DeviceWithConfigContextStatusValue `json:"value,omitempty"` } `json:"status"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *struct { - // Embedded struct due to allOf(#/components/schemas/NestedTenant) - NestedTenant `yaml:",inline"` - } `json:"tenant"` - Url *string `json:"url,omitempty"` - VcPosition *int `json:"vc_position"` - VcPriority *int `json:"vc_priority"` - VirtualChassis *struct { - // Embedded struct due to allOf(#/components/schemas/NestedVirtualChassis) - NestedVirtualChassis `yaml:",inline"` - } `json:"virtual_chassis"` -} - -// DeviceWithConfigContext_ConfigContext defines model for DeviceWithConfigContext.ConfigContext. -type DeviceWithConfigContext_ConfigContext struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// DeviceWithConfigContext_CustomFields defines model for DeviceWithConfigContext.CustomFields. -type DeviceWithConfigContext_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` + VcPosition *int `json:"vc_position"` + VcPriority *int `json:"vc_priority"` + VirtualChassis *NestedVirtualChassis `json:"virtual_chassis"` } // DeviceWithConfigContextFaceLabel defines model for DeviceWithConfigContext.Face.Label. @@ -6042,78 +20267,254 @@ type DeviceWithConfigContextFaceLabel string // DeviceWithConfigContextFaceValue defines model for DeviceWithConfigContext.Face.Value. type DeviceWithConfigContextFaceValue string -// DeviceWithConfigContext_LocalContextData defines model for DeviceWithConfigContext.LocalContextData. -type DeviceWithConfigContext_LocalContextData struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // DeviceWithConfigContextStatusLabel defines model for DeviceWithConfigContext.Status.Label. type DeviceWithConfigContextStatusLabel string // DeviceWithConfigContextStatusValue defines model for DeviceWithConfigContext.Status.Value. type DeviceWithConfigContextStatusValue string -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during -// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +// DynamicGroup Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type DynamicGroup struct { - ContentType string `json:"content_type"` - Description *string `json:"description,omitempty"` + Children *[]NestedDynamicGroupMembership `json:"children,omitempty"` + ContentType string `json:"content_type"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` - // A JSON-encoded dictionary of filter parameters for group membership - Filter DynamicGroup_Filter `json:"filter"` - Id *openapi_types.UUID `json:"id,omitempty"` + // Filter A JSON-encoded dictionary of filter parameters for group membership + Filter map[string]interface{} `json:"filter"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` - // Dynamic Group name - Name string `json:"name"` + // Name Dynamic Group name + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` - // Unique slug + // Slug Unique slug Slug *string `json:"slug,omitempty"` Url *string `json:"url,omitempty"` } -// A JSON-encoded dictionary of filter parameters for group membership -type DynamicGroup_Filter struct { +// DynamicGroupMembership Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type DynamicGroupMembership struct { + // Display Human friendly display value + Display *string `json:"display,omitempty"` + + // Group Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Group NestedDynamicGroup `json:"group"` + Id *openapi_types.UUID `json:"id,omitempty"` + Operator OperatorEnum `json:"operator"` + + // ParentGroup Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + ParentGroup NestedDynamicGroup `json:"parent_group"` + Url *string `json:"url,omitempty"` + Weight int `json:"weight"` +} + +// DynamicGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type DynamicGroupRequest struct { + ContentType string `json:"content_type"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Filter A JSON-encoded dictionary of filter parameters for group membership + Filter map[string]interface{} `json:"filter"` + + // Name Dynamic Group name + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]DynamicGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]DynamicGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]DynamicGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // Slug Unique slug + Slug *string `json:"slug,omitempty"` +} + +// DynamicGroupRequest_Relationships_Destination_Objects_Item defines model for DynamicGroupRequest.relationships.destination.objects.Item. +type DynamicGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during -// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type ExportTemplate struct { - ContentType string `json:"content_type"` - Description *string `json:"description,omitempty"` +// DynamicGroupRequest_Relationships_Peer_Objects_Item defines model for DynamicGroupRequest.relationships.peer.objects.Item. +type DynamicGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Human friendly display value +// DynamicGroupRequest_Relationships_Source_Objects_Item defines model for DynamicGroupRequest.relationships.source.objects.Item. +type DynamicGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// ExportTemplate Extend ValidatedModelSerializer with a `relationships` field. +type ExportTemplate struct { + ContentType string `json:"content_type"` + Created *openapi_types.Date `json:"created"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value Display *string `json:"display,omitempty"` - // Extension to append to the rendered filename + // FileExtension Extension to append to the rendered filename FileExtension *string `json:"file_extension,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` - // Defaults to text/plain - MimeType *string `json:"mime_type,omitempty"` - Name string `json:"name"` - Owner *ExportTemplate_Owner `json:"owner"` - OwnerContentType *string `json:"owner_content_type"` - OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` + // MimeType Defaults to text/plain + MimeType *string `json:"mime_type,omitempty"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Owner *map[string]interface{} `json:"owner"` + OwnerContentType *string `json:"owner_content_type"` + OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` - // The list of objects being exported is passed as a context variable named queryset. + // TemplateCode The list of objects being exported is passed as a context variable named queryset. TemplateCode string `json:"template_code"` Url *string `json:"url,omitempty"` } -// ExportTemplate_Owner defines model for ExportTemplate.Owner. -type ExportTemplate_Owner struct { +// ExportTemplateRequest Extend ValidatedModelSerializer with a `relationships` field. +type ExportTemplateRequest struct { + ContentType string `json:"content_type"` + Description *string `json:"description,omitempty"` + + // FileExtension Extension to append to the rendered filename + FileExtension *string `json:"file_extension,omitempty"` + + // MimeType Defaults to text/plain + MimeType *string `json:"mime_type,omitempty"` + Name string `json:"name"` + OwnerContentType *string `json:"owner_content_type"` + OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ExportTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ExportTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ExportTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // TemplateCode The list of objects being exported is passed as a context variable named queryset. + TemplateCode string `json:"template_code"` +} + +// ExportTemplateRequest_Relationships_Destination_Objects_Item defines model for ExportTemplateRequest.relationships.destination.objects.Item. +type ExportTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } +// ExportTemplateRequest_Relationships_Peer_Objects_Item defines model for ExportTemplateRequest.relationships.peer.objects.Item. +type ExportTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// ExportTemplateRequest_Relationships_Source_Objects_Item defines model for ExportTemplateRequest.relationships.source.objects.Item. +type ExportTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// FQDN FQDN Serializer. +type FQDN struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + IpAddresses *[]struct { + Address string `json:"address"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Family *int `json:"family,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"ip_addresses,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Resolvable fully qualified domain name (e.g. networktocode.com) + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Status *struct { + Label *FQDNStatusLabel `json:"label,omitempty"` + Value *FQDNStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// FQDNStatusLabel defines model for FQDN.Status.Label. +type FQDNStatusLabel string + +// FQDNStatusValue defines model for FQDN.Status.Value. +type FQDNStatusValue string + // FaceEnum defines model for FaceEnum. type FaceEnum string -// FamilyEnum defines model for FamilyEnum. -type FamilyEnum int +// FailoverStrategyEnum defines model for FailoverStrategyEnum. +type FailoverStrategyEnum string // FeedLegEnum defines model for FeedLegEnum. type FeedLegEnum string @@ -6121,30 +20522,32 @@ type FeedLegEnum string // FilterLogicEnum defines model for FilterLogicEnum. type FilterLogicEnum string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// FrontPort Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type FrontPort struct { - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *FrontPort_CablePeer `json:"cable_peer"` + Cable *NestedCable `json:"cable,omitempty"` + CablePeer *map[string]interface{} `json:"cable_peer"` CablePeerType *string `json:"cable_peer_type"` - CustomFields *FrontPort_CustomFields `json:"custom_fields,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` Description *string `json:"description,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Device NestedDevice `json:"device"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` - // NestedRearPortSerializer but with parent device omitted (since front and rear ports must belong to same device) + // RearPort NestedRearPortSerializer but with parent device omitted (since front and rear ports must belong to same device) RearPort FrontPortRearPort `json:"rear_port"` RearPortPosition *int `json:"rear_port_position,omitempty"` Tags *[]TagSerializerField `json:"tags,omitempty"` @@ -6155,52 +20558,56 @@ type FrontPort struct { Url *string `json:"url,omitempty"` } -// FrontPort_CablePeer defines model for FrontPort.CablePeer. -type FrontPort_CablePeer struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// FrontPort_CustomFields defines model for FrontPort.CustomFields. -type FrontPort_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // FrontPortTypeLabel defines model for FrontPort.Type.Label. type FrontPortTypeLabel string // FrontPortTypeValue defines model for FrontPort.Type.Value. type FrontPortTypeValue string -// NestedRearPortSerializer but with parent device omitted (since front and rear ports must belong to same device) +// FrontPortRearPort NestedRearPortSerializer but with parent device omitted (since front and rear ports must belong to same device) type FrontPortRearPort struct { - // Human friendly display value + Created *openapi_types.Date `json:"created"` + + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` - Url *string `json:"url,omitempty"` + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type FrontPortTemplate struct { - CustomFields *FrontPortTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` +// FrontPortRearPortRequest NestedRearPortSerializer but with parent device omitted (since front and rear ports must belong to same device) +type FrontPortRearPortRequest struct { + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` +} - // Returns a nested representation of an object on read, but accepts either the nested representation or the +// FrontPortTemplate Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type FrontPortTemplate struct { + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. DeviceType NestedDeviceType `json:"device_type"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // RearPort Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. RearPort NestedRearPortTemplate `json:"rear_port"` RearPortPosition *int `json:"rear_port_position,omitempty"` @@ -6211,215 +20618,258 @@ type FrontPortTemplate struct { Url *string `json:"url,omitempty"` } -// FrontPortTemplate_CustomFields defines model for FrontPortTemplate.CustomFields. -type FrontPortTemplate_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // FrontPortTemplateTypeLabel defines model for FrontPortTemplate.Type.Label. type FrontPortTemplateTypeLabel string // FrontPortTemplateTypeValue defines model for FrontPortTemplate.Type.Value. type FrontPortTemplateTypeValue string -// Git repositories defined as a data source. +// GitRepository Git repositories defined as a data source. type GitRepository struct { Branch *string `json:"branch,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` + Created *openapi_types.Date `json:"created"` - // Commit hash of the most recent fetch from the selected branch. Used for syncing between workers. - CurrentHead *string `json:"current_head,omitempty"` - CustomFields *GitRepository_CustomFields `json:"custom_fields,omitempty"` + // CurrentHead Commit hash of the most recent fetch from the selected branch. Used for syncing between workers. + CurrentHead *string `json:"current_head,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name string `json:"name"` - ProvidedContents *[]interface{} `json:"provided_contents,omitempty"` + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + ProvidedContents *[]GitRepository_ProvidedContents_Item `json:"provided_contents,omitempty"` - // Only HTTP and HTTPS URLs are presently supported - RemoteUrl string `json:"remote_url"` - SecretsGroup *struct { - // Embedded struct due to allOf(#/components/schemas/NestedSecretsGroup) - NestedSecretsGroup `yaml:",inline"` - } `json:"secrets_group"` - Slug *string `json:"slug,omitempty"` - Token *string `json:"token,omitempty"` - Url *string `json:"url,omitempty"` - Username *string `json:"username,omitempty"` + // RemoteUrl Only HTTP and HTTPS URLs are presently supported + RemoteUrl string `json:"remote_url"` + SecretsGroup *NestedSecretsGroup `json:"secrets_group"` + Slug *string `json:"slug,omitempty"` + Url *string `json:"url,omitempty"` + Username *string `json:"username,omitempty"` } -// GitRepository_CustomFields defines model for GitRepository.CustomFields. -type GitRepository_CustomFields struct { +// GitRepository_ProvidedContents_Item defines model for GitRepository.provided_contents.Item. +type GitRepository_ProvidedContents_Item struct { + union json.RawMessage +} + +// GitRepositoryRequest Git repositories defined as a data source. +type GitRepositoryRequest struct { + Branch *string `json:"branch,omitempty"` + + // CurrentHead Commit hash of the most recent fetch from the selected branch. Used for syncing between workers. + CurrentHead *string `json:"current_head,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Name string `json:"name"` + ProvidedContents *[]GitRepositoryRequest_ProvidedContents_Item `json:"provided_contents,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]GitRepositoryRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]GitRepositoryRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]GitRepositoryRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // RemoteUrl Only HTTP and HTTPS URLs are presently supported + RemoteUrl string `json:"remote_url"` + SecretsGroup *NestedSecretsGroupRequest `json:"secrets_group"` + Slug *string `json:"slug,omitempty"` + Token *string `json:"token,omitempty"` + Username *string `json:"username,omitempty"` +} + +// GitRepositoryRequest_ProvidedContents_Item defines model for GitRepositoryRequest.provided_contents.Item. +type GitRepositoryRequest_ProvidedContents_Item struct { + union json.RawMessage +} + +// GitRepositoryRequest_Relationships_Destination_Objects_Item defines model for GitRepositoryRequest.relationships.destination.objects.Item. +type GitRepositoryRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Serializer for GoldenConfig object. -type GoldenConfig struct { - CustomFieldData *GoldenConfig_CustomFieldData `json:"_custom_field_data,omitempty"` +// GitRepositoryRequest_Relationships_Peer_Objects_Item defines model for GitRepositoryRequest.relationships.peer.objects.Item. +type GitRepositoryRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Full backup config for device. +// GitRepositoryRequest_Relationships_Source_Objects_Item defines model for GitRepositoryRequest.relationships.source.objects.Item. +type GitRepositoryRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// GoldenConfig Serializer for GoldenConfig object. +type GoldenConfig struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + + // BackupConfig Full backup config for device. BackupConfig *string `json:"backup_config,omitempty"` BackupLastAttemptDate *time.Time `json:"backup_last_attempt_date"` BackupLastSuccessDate *time.Time `json:"backup_last_success_date"` - // Full config diff for device. - ComplianceConfig *string `json:"compliance_config,omitempty"` - ComplianceLastAttemptDate *time.Time `json:"compliance_last_attempt_date"` - ComplianceLastSuccessDate *time.Time `json:"compliance_last_success_date"` - ComputedFields *GoldenConfig_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *GoldenConfig_CustomFields `json:"custom_fields,omitempty"` + // ComplianceConfig Full config diff for device. + ComplianceConfig *string `json:"compliance_config,omitempty"` + ComplianceLastAttemptDate *time.Time `json:"compliance_last_attempt_date"` + ComplianceLastSuccessDate *time.Time `json:"compliance_last_success_date"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - // device + // Device device Device openapi_types.UUID `json:"device"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Intended config for the device. + // IntendedConfig Intended config for the device. IntendedConfig *string `json:"intended_config,omitempty"` IntendedLastAttemptDate *time.Time `json:"intended_last_attempt_date"` IntendedLastSuccessDate *time.Time `json:"intended_last_success_date"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Tags *[]TagSerializerField `json:"tags,omitempty"` Url *string `json:"url,omitempty"` } -// GoldenConfig_CustomFieldData defines model for GoldenConfig.CustomFieldData. -type GoldenConfig_CustomFieldData struct { - AdditionalProperties map[string]interface{} `json:"-"` +// GoldenConfigRequest Serializer for GoldenConfig object. +type GoldenConfigRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + + // BackupConfig Full backup config for device. + BackupConfig *string `json:"backup_config,omitempty"` + BackupLastAttemptDate *time.Time `json:"backup_last_attempt_date"` + BackupLastSuccessDate *time.Time `json:"backup_last_success_date"` + + // ComplianceConfig Full config diff for device. + ComplianceConfig *string `json:"compliance_config,omitempty"` + ComplianceLastAttemptDate *time.Time `json:"compliance_last_attempt_date"` + ComplianceLastSuccessDate *time.Time `json:"compliance_last_success_date"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Device device + Device openapi_types.UUID `json:"device"` + + // IntendedConfig Intended config for the device. + IntendedConfig *string `json:"intended_config,omitempty"` + IntendedLastAttemptDate *time.Time `json:"intended_last_attempt_date"` + IntendedLastSuccessDate *time.Time `json:"intended_last_success_date"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// GoldenConfig_ComputedFields defines model for GoldenConfig.ComputedFields. -type GoldenConfig_ComputedFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// GoldenConfig_CustomFields defines model for GoldenConfig.CustomFields. -type GoldenConfig_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Serializer for GoldenConfigSetting object. +// GoldenConfigSetting Serializer for GoldenConfigSetting object. type GoldenConfigSetting struct { - CustomFieldData *GoldenConfigSetting_CustomFieldData `json:"_custom_field_data,omitempty"` + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` - // The Jinja path representation of where the backup file will be found. The variable `obj` is available as the device instance object of a given device, as is the case for all Jinja templates. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + // BackupPathTemplate The Jinja path representation of where the backup file will be found. The variable `obj` is available as the device instance object of a given device, as is the case for all Jinja templates. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` BackupPathTemplate *string `json:"backup_path_template,omitempty"` BackupRepository *openapi_types.UUID `json:"backup_repository"` - // Whether or not to pretest the connectivity of the device by verifying there is a resolvable IP that can connect to port 22. - BackupTestConnectivity *bool `json:"backup_test_connectivity,omitempty"` - ComputedFields *GoldenConfigSetting_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *GoldenConfigSetting_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + // BackupTestConnectivity Whether or not to pretest the connectivity of the device by verifying there is a resolvable IP that can connect to port 22. + BackupTestConnectivity *bool `json:"backup_test_connectivity,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` + // Display Human friendly display value + Display *string `json:"display,omitempty"` - // The Jinja path representation of where the generated file will be places. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + // DynamicGroup Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DynamicGroup *NestedDynamicGroup `json:"dynamic_group,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IntendedPathTemplate The Jinja path representation of where the generated file will be places. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` IntendedPathTemplate *string `json:"intended_path_template,omitempty"` IntendedRepository *openapi_types.UUID `json:"intended_repository"` - // The Jinja path representation of where the Jinja template can be found. e.g. `{{obj.platform.slug}}.j2` - JinjaPathTemplate *string `json:"jinja_path_template,omitempty"` - JinjaRepository *openapi_types.UUID `json:"jinja_repository"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name string `json:"name"` - - // API filter in JSON format matching the list of devices for the scope of devices to be considered. - Scope *GoldenConfigSetting_Scope `json:"scope"` - Slug string `json:"slug"` - SotAggQuery *openapi_types.UUID `json:"sot_agg_query"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` - Weight *int `json:"weight,omitempty"` -} - -// GoldenConfigSetting_CustomFieldData defines model for GoldenConfigSetting.CustomFieldData. -type GoldenConfigSetting_CustomFieldData struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// GoldenConfigSetting_ComputedFields defines model for GoldenConfigSetting.ComputedFields. -type GoldenConfigSetting_ComputedFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// GoldenConfigSetting_CustomFields defines model for GoldenConfigSetting.CustomFields. -type GoldenConfigSetting_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// API filter in JSON format matching the list of devices for the scope of devices to be considered. -type GoldenConfigSetting_Scope struct { - AdditionalProperties map[string]interface{} `json:"-"` + // JinjaPathTemplate The Jinja path representation of where the Jinja template can be found. e.g. `{{obj.platform.slug}}.j2` + JinjaPathTemplate *string `json:"jinja_path_template,omitempty"` + JinjaRepository *openapi_types.UUID `json:"jinja_repository"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Scope *map[string]interface{} `json:"scope,omitempty"` + Slug string `json:"slug"` + SotAggQuery *openapi_types.UUID `json:"sot_agg_query"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + Weight *int `json:"weight,omitempty"` } // GrantTypeEnum defines model for GrantTypeEnum. type GrantTypeEnum string -// GraphQLAPI defines model for GraphQLAPI. -type GraphQLAPI struct { - // GraphQL query +// GraphQLAPIRequest defines model for GraphQLAPIRequest. +type GraphQLAPIRequest struct { + // Query GraphQL query Query string `json:"query"` - // Variables in JSON Format - Variables *GraphQLAPI_Variables `json:"variables,omitempty"` + // Variables Variables in JSON Format + Variables *map[string]interface{} `json:"variables,omitempty"` } -// Variables in JSON Format -type GraphQLAPI_Variables struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// GraphQLQuery Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) type GraphQLQuery struct { - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Name string `json:"name"` - Query string `json:"query"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` - Variables *GraphQLQuery_Variables `json:"variables"` + Created *openapi_types.Date `json:"created"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Query string `json:"query"` + Slug *string `json:"slug,omitempty"` + Url *string `json:"url,omitempty"` + Variables *map[string]interface{} `json:"variables"` } -// GraphQLQuery_Variables defines model for GraphQLQuery.Variables. -type GraphQLQuery_Variables struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// GraphQLQueryInput defines model for GraphQLQueryInput. -type GraphQLQueryInput struct { - Variables *GraphQLQueryInput_Variables `json:"variables"` -} - -// GraphQLQueryInput_Variables defines model for GraphQLQueryInput.Variables. -type GraphQLQueryInput_Variables struct { - AdditionalProperties map[string]interface{} `json:"-"` +// GraphQLQueryInputRequest defines model for GraphQLQueryInputRequest. +type GraphQLQueryInputRequest struct { + Variables *map[string]interface{} `json:"variables"` } // GraphQLQueryOutput defines model for GraphQLQueryOutput. type GraphQLQueryOutput struct { - Data *GraphQLQueryOutput_Data `json:"data,omitempty"` + Data *map[string]interface{} `json:"data,omitempty"` } -// GraphQLQueryOutput_Data defines model for GraphQLQueryOutput.Data. -type GraphQLQueryOutput_Data struct { - AdditionalProperties map[string]interface{} `json:"-"` +// GraphQLQueryRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type GraphQLQueryRequest struct { + Name string `json:"name"` + Query string `json:"query"` + Slug *string `json:"slug,omitempty"` + Variables *map[string]interface{} `json:"variables"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// Group Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) type Group struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *int `json:"id,omitempty"` Name string `json:"name"` @@ -6427,20 +20877,24 @@ type Group struct { UserCount *int `json:"user_count,omitempty"` } -// API serializer. +// GroupRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type GroupRequest struct { + Name string `json:"name"` +} + +// HardwareLCM API serializer. type HardwareLCM struct { - CustomFields *HardwareLCM_CustomFields `json:"custom_fields,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - // Device Type to attach the Hardware LCM to - DeviceType struct { - // Embedded struct due to allOf(#/components/schemas/NestedDeviceType) - NestedDeviceType `yaml:",inline"` - } `json:"device_type"` + // DeviceType Device Type to attach the Hardware LCM to + DeviceType NestedDeviceType `json:"device_type"` - // Devices tied to Device Type + // Devices Devices tied to Device Type Devices *[]NestedDevice `json:"devices,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` DocumentationUrl *string `json:"documentation_url,omitempty"` EndOfSale *openapi_types.Date `json:"end_of_sale"` @@ -6450,45 +20904,42 @@ type HardwareLCM struct { Expired *string `json:"expired,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` InventoryItem *string `json:"inventory_item"` + LastUpdated *time.Time `json:"last_updated"` ReleaseDate *openapi_types.Date `json:"release_date"` Tags *[]TagSerializerField `json:"tags,omitempty"` -} - -// HardwareLCM_CustomFields defines model for HardwareLCM.CustomFields. -type HardwareLCM_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` + Url *string `json:"url,omitempty"` } // HttpMethodEnum defines model for HttpMethodEnum. type HttpMethodEnum string -// Mixin to add `status` choice field to model serializers. +// IPAddress Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type IPAddress struct { - Address string `json:"address"` - AssignedObject *IPAddress_AssignedObject `json:"assigned_object"` - AssignedObjectId *openapi_types.UUID `json:"assigned_object_id"` - AssignedObjectType *string `json:"assigned_object_type"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *IPAddress_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + Address string `json:"address"` + AssignedObject *map[string]interface{} `json:"assigned_object"` + AssignedObjectId *openapi_types.UUID `json:"assigned_object_id"` + AssignedObjectType *string `json:"assigned_object_type"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` - // Hostname or FQDN (not case-sensitive) + // DnsName Hostname or FQDN (not case-sensitive) DnsName *string `json:"dns_name,omitempty"` Family *struct { Label *IPAddressFamilyLabel `json:"label,omitempty"` Value *IPAddressFamilyValue `json:"value,omitempty"` } `json:"family,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - NatInside *struct { - // Embedded struct due to allOf(#/components/schemas/NestedIPAddress) - NestedIPAddress `yaml:",inline"` - } `json:"nat_inside"` - NatOutside *[]NestedIPAddress `json:"nat_outside,omitempty"` - Role *struct { + LastUpdated *time.Time `json:"last_updated"` + NatInside *NestedIPAddress `json:"nat_inside"` + NatOutside *[]NestedIPAddress `json:"nat_outside,omitempty"` + NotesUrl *string `json:"notes_url,omitempty"` + Role *struct { Label *IPAddressRoleLabel `json:"label,omitempty"` Value *IPAddressRoleValue `json:"value,omitempty"` } `json:"role,omitempty"` @@ -6497,25 +20948,9 @@ type IPAddress struct { Value *IPAddressStatusValue `json:"value,omitempty"` } `json:"status"` Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *struct { - // Embedded struct due to allOf(#/components/schemas/NestedTenant) - NestedTenant `yaml:",inline"` - } `json:"tenant"` - Url *string `json:"url,omitempty"` - Vrf *struct { - // Embedded struct due to allOf(#/components/schemas/NestedVRF) - NestedVRF `yaml:",inline"` - } `json:"vrf"` -} - -// IPAddress_AssignedObject defines model for IPAddress.AssignedObject. -type IPAddress_AssignedObject struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// IPAddress_CustomFields defines model for IPAddress.CustomFields. -type IPAddress_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` + Vrf *NestedVRF `json:"vrf"` } // IPAddressFamilyLabel defines model for IPAddress.Family.Label. @@ -6536,13 +20971,103 @@ type IPAddressStatusLabel string // IPAddressStatusValue defines model for IPAddress.Status.Value. type IPAddressStatusValue string -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// IPAddressStatusChoices defines model for IPAddressStatusChoices. +type IPAddressStatusChoices string + +// IPRange IPRange Serializer. +type IPRange struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + EndAddress string `json:"end_address"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + NotesUrl *string `json:"notes_url,omitempty"` + Size *int `json:"size,omitempty"` + StartAddress string `json:"start_address"` + Status *struct { + Label *IPRangeStatusLabel `json:"label,omitempty"` + Value *IPRangeStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + Vrf *openapi_types.UUID `json:"vrf"` +} + +// IPRangeStatusLabel defines model for IPRange.Status.Label. +type IPRangeStatusLabel string + +// IPRangeStatusValue defines model for IPRange.Status.Value. +type IPRangeStatusValue string + +// IPRangeRequest IPRange Serializer. +type IPRangeRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + EndAddress string `json:"end_address"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]IPRangeRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]IPRangeRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]IPRangeRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + StartAddress string `json:"start_address"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Vrf *openapi_types.UUID `json:"vrf"` +} + +// IPRangeRequest_Relationships_Destination_Objects_Item defines model for IPRangeRequest.relationships.destination.objects.Item. +type IPRangeRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// IPRangeRequest_Relationships_Peer_Objects_Item defines model for IPRangeRequest.relationships.peer.objects.Item. +type IPRangeRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// IPRangeRequest_Relationships_Source_Objects_Item defines model for IPRangeRequest.relationships.source.objects.Item. +type IPRangeRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// ImageAttachment Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) type ImageAttachment struct { ContentType string `json:"content_type"` Created *time.Time `json:"created,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Image string `json:"image"` @@ -6550,60 +21075,71 @@ type ImageAttachment struct { ImageWidth int `json:"image_width"` Name *string `json:"name,omitempty"` ObjectId openapi_types.UUID `json:"object_id"` - Parent *ImageAttachment_Parent `json:"parent,omitempty"` + Parent *map[string]interface{} `json:"parent,omitempty"` Url *string `json:"url,omitempty"` } -// ImageAttachment_Parent defines model for ImageAttachment.Parent. -type ImageAttachment_Parent struct { - AdditionalProperties map[string]interface{} `json:"-"` +// ImageAttachmentRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type ImageAttachmentRequest struct { + ContentType string `json:"content_type"` + Image openapi_types.File `json:"image"` + ImageHeight int `json:"image_height"` + ImageWidth int `json:"image_width"` + Name *string `json:"name,omitempty"` + ObjectId openapi_types.UUID `json:"object_id"` } // ImpactEnum defines model for ImpactEnum. type ImpactEnum string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// Interface Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type Interface struct { - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *Interface_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - ConnectedEndpoint *Interface_ConnectedEndpoint `json:"connected_endpoint"` - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` - ConnectedEndpointType *string `json:"connected_endpoint_type"` - CountIpaddresses *int `json:"count_ipaddresses,omitempty"` - CustomFields *Interface_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + Bridge *NestedInterface `json:"bridge"` + Cable *NestedCable `json:"cable,omitempty"` + CablePeer *map[string]interface{} `json:"cable_peer"` + CablePeerType *string `json:"cable_peer_type"` + ConnectedEndpoint *map[string]interface{} `json:"connected_endpoint"` + ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` + ConnectedEndpointType *string `json:"connected_endpoint_type"` + CountIpaddresses *int `json:"count_ipaddresses,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Device NestedDevice `json:"device"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Enabled *bool `json:"enabled,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Physical label - Label *string `json:"label,omitempty"` - Lag *struct { - // Embedded struct due to allOf(#/components/schemas/NestedInterface) - NestedInterface `yaml:",inline"` - } `json:"lag"` - MacAddress *string `json:"mac_address"` + // Label Physical label + Label *string `json:"label,omitempty"` + Lag *NestedInterface `json:"lag"` + LastUpdated *time.Time `json:"last_updated"` + MacAddress *string `json:"mac_address"` - // This interface is used only for out-of-band management + // MgmtOnly This interface is used only for out-of-band management MgmtOnly *bool `json:"mgmt_only,omitempty"` Mode *struct { Label *InterfaceModeLabel `json:"label,omitempty"` Value *InterfaceModeValue `json:"value,omitempty"` } `json:"mode,omitempty"` - Mtu *int `json:"mtu"` - Name string `json:"name"` + Mtu *int `json:"mtu"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + ParentInterface *NestedInterface `json:"parent_interface"` + Status struct { + Label *InterfaceStatusLabel `json:"label,omitempty"` + Value *InterfaceStatusValue `json:"value,omitempty"` + } `json:"status"` TaggedVlans *[]struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -6615,26 +21151,8 @@ type Interface struct { Label *InterfaceTypeLabel `json:"label,omitempty"` Value *InterfaceTypeValue `json:"value,omitempty"` } `json:"type"` - UntaggedVlan *struct { - // Embedded struct due to allOf(#/components/schemas/NestedVLAN) - NestedVLAN `yaml:",inline"` - } `json:"untagged_vlan"` - Url *string `json:"url,omitempty"` -} - -// Interface_CablePeer defines model for Interface.CablePeer. -type Interface_CablePeer struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Interface_ConnectedEndpoint defines model for Interface.ConnectedEndpoint. -type Interface_ConnectedEndpoint struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Interface_CustomFields defines model for Interface.CustomFields. -type Interface_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` + UntaggedVlan *NestedVLAN `json:"untagged_vlan"` + Url *string `json:"url,omitempty"` } // InterfaceModeLabel defines model for Interface.Mode.Label. @@ -6643,58 +21161,136 @@ type InterfaceModeLabel string // InterfaceModeValue defines model for Interface.Mode.Value. type InterfaceModeValue string +// InterfaceStatusLabel defines model for Interface.Status.Label. +type InterfaceStatusLabel string + +// InterfaceStatusValue defines model for Interface.Status.Value. +type InterfaceStatusValue string + // InterfaceTypeLabel defines model for Interface.Type.Label. type InterfaceTypeLabel string // InterfaceTypeValue defines model for Interface.Type.Value. type InterfaceTypeValue string -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// InterfaceConnection Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) type InterfaceConnection struct { - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` + ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` + Created *openapi_types.Date `json:"created"` - // Human friendly display value - Display *string `json:"display,omitempty"` - InterfaceA *struct { - // Embedded struct due to allOf(#/components/schemas/NestedInterface) - NestedInterface `yaml:",inline"` - } `json:"interface_a,omitempty"` + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + InterfaceA *NestedInterface `json:"interface_a,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // InterfaceB Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. - InterfaceB NestedInterface `json:"interface_b"` + InterfaceB NestedInterface `json:"interface_b"` + LastUpdated *time.Time `json:"last_updated"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type InterfaceTemplate struct { - CustomFields *InterfaceTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` +// InterfaceSerializerVersion12 Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type InterfaceSerializerVersion12 struct { + Bridge *NestedInterface `json:"bridge"` + Cable *NestedCable `json:"cable,omitempty"` + CablePeer *map[string]interface{} `json:"cable_peer"` + CablePeerType *string `json:"cable_peer_type"` + ConnectedEndpoint *map[string]interface{} `json:"connected_endpoint"` + ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` + ConnectedEndpointType *string `json:"connected_endpoint_type"` + CountIpaddresses *int `json:"count_ipaddresses,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device NestedDevice `json:"device"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Lag *NestedInterface `json:"lag"` + LastUpdated *time.Time `json:"last_updated"` + MacAddress *string `json:"mac_address"` + + // MgmtOnly This interface is used only for out-of-band management + MgmtOnly *bool `json:"mgmt_only,omitempty"` + Mode *struct { + Label *InterfaceSerializerVersion12ModeLabel `json:"label,omitempty"` + Value *InterfaceSerializerVersion12ModeValue `json:"value,omitempty"` + } `json:"mode,omitempty"` + Mtu *int `json:"mtu"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + ParentInterface *NestedInterface `json:"parent_interface"` + TaggedVlans *[]struct { + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` + Vid int `json:"vid"` + } `json:"tagged_vlans,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Type struct { + Label *InterfaceSerializerVersion12TypeLabel `json:"label,omitempty"` + Value *InterfaceSerializerVersion12TypeValue `json:"value,omitempty"` + } `json:"type"` + UntaggedVlan *NestedVLAN `json:"untagged_vlan"` + Url *string `json:"url,omitempty"` +} + +// InterfaceSerializerVersion12ModeLabel defines model for InterfaceSerializerVersion12.Mode.Label. +type InterfaceSerializerVersion12ModeLabel string + +// InterfaceSerializerVersion12ModeValue defines model for InterfaceSerializerVersion12.Mode.Value. +type InterfaceSerializerVersion12ModeValue string + +// InterfaceSerializerVersion12TypeLabel defines model for InterfaceSerializerVersion12.Type.Label. +type InterfaceSerializerVersion12TypeLabel string + +// InterfaceSerializerVersion12TypeValue defines model for InterfaceSerializerVersion12.Type.Value. +type InterfaceSerializerVersion12TypeValue string + +// InterfaceStatusChoices defines model for InterfaceStatusChoices. +type InterfaceStatusChoices string + +// InterfaceTemplate Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type InterfaceTemplate struct { + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. DeviceType NestedDeviceType `json:"device_type"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Physical label - Label *string `json:"label,omitempty"` - MgmtOnly *bool `json:"mgmt_only,omitempty"` - Name string `json:"name"` - Type struct { + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + MgmtOnly *bool `json:"mgmt_only,omitempty"` + Name string `json:"name"` + Type struct { Label *InterfaceTemplateTypeLabel `json:"label,omitempty"` Value *InterfaceTemplateTypeValue `json:"value,omitempty"` } `json:"type"` Url *string `json:"url,omitempty"` } -// InterfaceTemplate_CustomFields defines model for InterfaceTemplate.CustomFields. -type InterfaceTemplate_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // InterfaceTemplateTypeLabel defines model for InterfaceTemplate.Type.Label. type InterfaceTemplateTypeLabel string @@ -6704,170 +21300,288 @@ type InterfaceTemplateTypeValue string // InterfaceTypeChoices defines model for InterfaceTypeChoices. type InterfaceTypeChoices string -// IntervalEnum defines model for IntervalEnum. -type IntervalEnum string - -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// InventoryItem Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type InventoryItem struct { Depth *int `json:"_depth,omitempty"` - // A unique tag used to identify this item - AssetTag *string `json:"asset_tag"` - CustomFields *InventoryItem_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + // AssetTag A unique tag used to identify this item + AssetTag *string `json:"asset_tag"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Device NestedDevice `json:"device"` - // This item was automatically discovered + // Discovered This item was automatically discovered Discovered *bool `json:"discovered,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Physical label - Label *string `json:"label,omitempty"` - Manufacturer *struct { - // Embedded struct due to allOf(#/components/schemas/NestedManufacturer) - NestedManufacturer `yaml:",inline"` - } `json:"manufacturer"` - Name string `json:"name"` - Parent *openapi_types.UUID `json:"parent"` + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Manufacturer *NestedManufacturer `json:"manufacturer"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Parent *openapi_types.UUID `json:"parent"` - // Manufacturer-assigned part identifier + // PartId Manufacturer-assigned part identifier PartId *string `json:"part_id,omitempty"` Serial *string `json:"serial,omitempty"` Tags *[]TagSerializerField `json:"tags,omitempty"` Url *string `json:"url,omitempty"` } -// InventoryItem_CustomFields defines model for InventoryItem.CustomFields. -type InventoryItem_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} +// IpProtocolEnum defines model for IpProtocolEnum. +type IpProtocolEnum string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// Job Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type Job struct { - // Whether the job requires approval from another user before running + // ApprovalRequired Whether the job requires approval from another user before running ApprovalRequired *bool `json:"approval_required,omitempty"` - // If set, the configured value will remain even if the underlying Job source code changes + // ApprovalRequiredOverride If set, the configured value will remain even if the underlying Job source code changes ApprovalRequiredOverride *bool `json:"approval_required_override,omitempty"` - // Whether the job defaults to committing changes when run, or defaults to a dry-run + // CommitDefault Whether the job defaults to committing changes when run, or defaults to a dry-run CommitDefault *bool `json:"commit_default,omitempty"` - // If set, the configured value will remain even if the underlying Job source code changes - CommitDefaultOverride *bool `json:"commit_default_override,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *Job_CustomFields `json:"custom_fields,omitempty"` + // CommitDefaultOverride If set, the configured value will remain even if the underlying Job source code changes + CommitDefaultOverride *bool `json:"commit_default_override,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - // Markdown formatting is supported + // Description Markdown formatting is supported Description *string `json:"description,omitempty"` - // If set, the configured description will remain even if the underlying Job source code changes + // DescriptionOverride If set, the configured description will remain even if the underlying Job source code changes DescriptionOverride *bool `json:"description_override,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` - // Whether this job can be executed by users + // Enabled Whether this job can be executed by users Enabled *bool `json:"enabled,omitempty"` - // Human-readable grouping that this job belongs to + // Grouping Human-readable grouping that this job belongs to Grouping string `json:"grouping"` - // If set, the configured grouping will remain even if the underlying Job source code changes + // GroupingOverride If set, the configured grouping will remain even if the underlying Job source code changes GroupingOverride *bool `json:"grouping_override,omitempty"` - // Whether the job defaults to not being shown in the UI + // HasSensitiveVariables Whether this job contains sensitive variables + HasSensitiveVariables *bool `json:"has_sensitive_variables,omitempty"` + + // HasSensitiveVariablesOverride If set, the configured value will remain even if the underlying Job source code changes + HasSensitiveVariablesOverride *bool `json:"has_sensitive_variables_override,omitempty"` + + // Hidden Whether the job defaults to not being shown in the UI Hidden *bool `json:"hidden,omitempty"` - // If set, the configured value will remain even if the underlying Job source code changes + // HiddenOverride If set, the configured value will remain even if the underlying Job source code changes HiddenOverride *bool `json:"hidden_override,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Whether the Python module and class providing this job are presently installed and loadable + // Installed Whether the Python module and class providing this job are presently installed and loadable Installed *bool `json:"installed,omitempty"` - // Name of the Python class providing this job - JobClassName *string `json:"job_class_name,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + // IsJobHookReceiver Whether this job is a job hook receiver + IsJobHookReceiver *bool `json:"is_job_hook_receiver,omitempty"` - // Dotted name of the Python module providing this job + // JobClassName Name of the Python class providing this job + JobClassName *string `json:"job_class_name,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // ModuleName Dotted name of the Python module providing this job ModuleName *string `json:"module_name,omitempty"` - // Human-readable name of this job + // Name Human-readable name of this job Name string `json:"name"` - // If set, the configured name will remain even if the underlying Job source code changes - NameOverride *bool `json:"name_override,omitempty"` + // NameOverride If set, the configured name will remain even if the underlying Job source code changes + NameOverride *bool `json:"name_override,omitempty"` + NotesUrl *string `json:"notes_url,omitempty"` - // Whether the job is prevented from making lasting changes to the database + // ReadOnly Whether the job is prevented from making lasting changes to the database ReadOnly *bool `json:"read_only,omitempty"` - // If set, the configured value will remain even if the underlying Job source code changes + // ReadOnlyOverride If set, the configured value will remain even if the underlying Job source code changes ReadOnlyOverride *bool `json:"read_only_override,omitempty"` Slug *string `json:"slug,omitempty"` - // Maximum runtime in seconds before the job will receive a SoftTimeLimitExceeded exception.
Set to 0 to use Nautobot system default + // SoftTimeLimit Maximum runtime in seconds before the job will receive a SoftTimeLimitExceeded exception.
Set to 0 to use Nautobot system default SoftTimeLimit *float64 `json:"soft_time_limit,omitempty"` - // If set, the configured value will remain even if the underlying Job source code changes + // SoftTimeLimitOverride If set, the configured value will remain even if the underlying Job source code changes SoftTimeLimitOverride *bool `json:"soft_time_limit_override,omitempty"` - // Source of the Python code for this job - local, Git repository, or plugins + // Source Source of the Python code for this job - local, Git repository, or plugins Source *string `json:"source,omitempty"` Tags *[]TagSerializerField `json:"tags,omitempty"` - // Maximum runtime in seconds before the job will be forcibly terminated.
Set to 0 to use Nautobot system default + // TaskQueues Comma separated list of task queues that this job can run on. A blank list will use the default queue + TaskQueues *map[string]interface{} `json:"task_queues,omitempty"` + + // TaskQueuesOverride If set, the configured value will remain even if the underlying Job source code changes + TaskQueuesOverride *bool `json:"task_queues_override,omitempty"` + + // TimeLimit Maximum runtime in seconds before the job will be forcibly terminated.
Set to 0 to use Nautobot system default TimeLimit *float64 `json:"time_limit,omitempty"` - // If set, the configured value will remain even if the underlying Job source code changes + // TimeLimitOverride If set, the configured value will remain even if the underlying Job source code changes TimeLimitOverride *bool `json:"time_limit_override,omitempty"` Url *string `json:"url,omitempty"` } -// Job_CustomFields defines model for Job.CustomFields. -type Job_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // JobClassDetail defines model for JobClassDetail. type JobClassDetail struct { - Description *string `json:"description,omitempty"` - Id *string `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - Pk *openapi_types.UUID `json:"pk"` - Result *JobResult `json:"result,omitempty"` - TestMethods []string `json:"test_methods"` - Url *string `json:"url,omitempty"` - Vars *JobClassDetail_Vars `json:"vars,omitempty"` + Description *string `json:"description,omitempty"` + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Pk *openapi_types.UUID `json:"pk"` + + // Result Extends ModelSerializer to render any CustomFields and their values associated with an object. + Result *JobResult `json:"result,omitempty"` + TestMethods []string `json:"test_methods"` + Url *string `json:"url,omitempty"` + Vars *map[string]interface{} `json:"vars,omitempty"` } -// JobClassDetail_Vars defines model for JobClassDetail.Vars. -type JobClassDetail_Vars struct { +// JobExecutionTypeIntervalChoices defines model for JobExecutionTypeIntervalChoices. +type JobExecutionTypeIntervalChoices string + +// JobHook Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type JobHook struct { + ContentTypes []string `json:"content_types"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // Job The job that this job hook will initiate + Job openapi_types.UUID `json:"job"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // TypeCreate Call this job hook when a matching object is created. + TypeCreate *bool `json:"type_create,omitempty"` + + // TypeDelete Call this job hook when a matching object is deleted. + TypeDelete *bool `json:"type_delete,omitempty"` + + // TypeUpdate Call this job hook when a matching object is updated. + TypeUpdate *bool `json:"type_update,omitempty"` + Url *string `json:"url,omitempty"` +} + +// JobHookRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type JobHookRequest struct { + ContentTypes []string `json:"content_types"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + + // Job The job that this job hook will initiate + Job openapi_types.UUID `json:"job"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]JobHookRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]JobHookRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]JobHookRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // TypeCreate Call this job hook when a matching object is created. + TypeCreate *bool `json:"type_create,omitempty"` + + // TypeDelete Call this job hook when a matching object is deleted. + TypeDelete *bool `json:"type_delete,omitempty"` + + // TypeUpdate Call this job hook when a matching object is updated. + TypeUpdate *bool `json:"type_update,omitempty"` +} + +// JobHookRequest_Relationships_Destination_Objects_Item defines model for JobHookRequest.relationships.destination.objects.Item. +type JobHookRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// JobInput defines model for JobInput. -type JobInput struct { - Commit *bool `json:"commit,omitempty"` - Data *JobInput_Data `json:"data,omitempty"` - Schedule *NestedScheduledJob `json:"schedule,omitempty"` -} - -// JobInput_Data defines model for JobInput.Data. -type JobInput_Data struct { +// JobHookRequest_Relationships_Peer_Objects_Item defines model for JobHookRequest.relationships.peer.objects.Item. +type JobHookRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// JobLogEntry defines model for JobLogEntry. +// JobHookRequest_Relationships_Source_Objects_Item defines model for JobHookRequest.relationships.source.objects.Item. +type JobHookRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// JobInputRequest defines model for JobInputRequest. +type JobInputRequest struct { + Commit *bool `json:"commit,omitempty"` + Data *map[string]interface{} `json:"data,omitempty"` + + // Schedule This base serializer implements common fields and logic for all ModelSerializers. + // + // Namely, it: + // + // - defines the `display` field which exposes a human friendly value for the given object. + // - ensures that `id` field is always present on the serializer as well + // - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. + Schedule *NestedScheduledJobRequest `json:"schedule,omitempty"` + TaskQueue *string `json:"task_queue,omitempty"` +} + +// JobLogEntry This base serializer implements common fields and logic for all ModelSerializers. +// +// Namely, it: +// +// - defines the `display` field which exposes a human friendly value for the given object. +// - ensures that `id` field is always present on the serializer as well +// - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. type JobLogEntry struct { AbsoluteUrl *string `json:"absolute_url"` Created *time.Time `json:"created,omitempty"` + Display *string `json:"display,omitempty"` Grouping *string `json:"grouping,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` JobResult openapi_types.UUID `json:"job_result"` @@ -6877,37 +21591,160 @@ type JobLogEntry struct { Url *string `json:"url,omitempty"` } -// JobResult defines model for JobResult. +// JobMultiPartInputRequest JobMultiPartInputSerializer is a "flattened" version of JobInputSerializer for use with multipart/form-data submissions which only accept key-value pairs +type JobMultiPartInputRequest struct { + Commit *bool `json:"_commit,omitempty"` + ScheduleCrontab *string `json:"_schedule_crontab,omitempty"` + ScheduleInterval *JobExecutionTypeIntervalChoices `json:"_schedule_interval,omitempty"` + ScheduleName *string `json:"_schedule_name,omitempty"` + ScheduleStartTime *time.Time `json:"_schedule_start_time,omitempty"` + TaskQueue *string `json:"_task_queue,omitempty"` +} + +// JobRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type JobRequest struct { + // ApprovalRequired Whether the job requires approval from another user before running + ApprovalRequired *bool `json:"approval_required,omitempty"` + + // ApprovalRequiredOverride If set, the configured value will remain even if the underlying Job source code changes + ApprovalRequiredOverride *bool `json:"approval_required_override,omitempty"` + + // CommitDefault Whether the job defaults to committing changes when run, or defaults to a dry-run + CommitDefault *bool `json:"commit_default,omitempty"` + + // CommitDefaultOverride If set, the configured value will remain even if the underlying Job source code changes + CommitDefaultOverride *bool `json:"commit_default_override,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Description Markdown formatting is supported + Description *string `json:"description,omitempty"` + + // DescriptionOverride If set, the configured description will remain even if the underlying Job source code changes + DescriptionOverride *bool `json:"description_override,omitempty"` + + // Enabled Whether this job can be executed by users + Enabled *bool `json:"enabled,omitempty"` + + // Grouping Human-readable grouping that this job belongs to + Grouping string `json:"grouping"` + + // GroupingOverride If set, the configured grouping will remain even if the underlying Job source code changes + GroupingOverride *bool `json:"grouping_override,omitempty"` + + // HasSensitiveVariables Whether this job contains sensitive variables + HasSensitiveVariables *bool `json:"has_sensitive_variables,omitempty"` + + // HasSensitiveVariablesOverride If set, the configured value will remain even if the underlying Job source code changes + HasSensitiveVariablesOverride *bool `json:"has_sensitive_variables_override,omitempty"` + + // Hidden Whether the job defaults to not being shown in the UI + Hidden *bool `json:"hidden,omitempty"` + + // HiddenOverride If set, the configured value will remain even if the underlying Job source code changes + HiddenOverride *bool `json:"hidden_override,omitempty"` + + // Name Human-readable name of this job + Name string `json:"name"` + + // NameOverride If set, the configured name will remain even if the underlying Job source code changes + NameOverride *bool `json:"name_override,omitempty"` + + // ReadOnly Whether the job is prevented from making lasting changes to the database + ReadOnly *bool `json:"read_only,omitempty"` + + // ReadOnlyOverride If set, the configured value will remain even if the underlying Job source code changes + ReadOnlyOverride *bool `json:"read_only_override,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]JobRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]JobRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]JobRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + + // SoftTimeLimit Maximum runtime in seconds before the job will receive a SoftTimeLimitExceeded exception.
Set to 0 to use Nautobot system default + SoftTimeLimit *float64 `json:"soft_time_limit,omitempty"` + + // SoftTimeLimitOverride If set, the configured value will remain even if the underlying Job source code changes + SoftTimeLimitOverride *bool `json:"soft_time_limit_override,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + + // TaskQueues Comma separated list of task queues that this job can run on. A blank list will use the default queue + TaskQueues *map[string]interface{} `json:"task_queues,omitempty"` + + // TaskQueuesOverride If set, the configured value will remain even if the underlying Job source code changes + TaskQueuesOverride *bool `json:"task_queues_override,omitempty"` + + // TimeLimit Maximum runtime in seconds before the job will be forcibly terminated.
Set to 0 to use Nautobot system default + TimeLimit *float64 `json:"time_limit,omitempty"` + + // TimeLimitOverride If set, the configured value will remain even if the underlying Job source code changes + TimeLimitOverride *bool `json:"time_limit_override,omitempty"` +} + +// JobRequest_Relationships_Destination_Objects_Item defines model for JobRequest.relationships.destination.objects.Item. +type JobRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// JobRequest_Relationships_Peer_Objects_Item defines model for JobRequest.relationships.peer.objects.Item. +type JobRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// JobRequest_Relationships_Source_Objects_Item defines model for JobRequest.relationships.source.objects.Item. +type JobRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// JobResult Extends ModelSerializer to render any CustomFields and their values associated with an object. type JobResult struct { - Completed *time.Time `json:"completed"` - Created *time.Time `json:"created,omitempty"` - Data *JobResult_Data `json:"data"` - Id *openapi_types.UUID `json:"id,omitempty"` - JobId openapi_types.UUID `json:"job_id"` - JobModel *struct { - // Embedded struct due to allOf(#/components/schemas/NestedJob) - NestedJob `yaml:",inline"` - } `json:"job_model,omitempty"` - Name string `json:"name"` - ObjType *string `json:"obj_type,omitempty"` - Schedule *struct { - // Embedded struct due to allOf(#/components/schemas/NestedScheduledJob) - NestedScheduledJob `yaml:",inline"` - } `json:"schedule,omitempty"` - Status *struct { + Completed *time.Time `json:"completed"` + Created *time.Time `json:"created,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Data *map[string]interface{} `json:"data"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + JobId openapi_types.UUID `json:"job_id"` + JobKwargs *map[string]interface{} `json:"job_kwargs"` + JobModel *NestedJob `json:"job_model,omitempty"` + Name string `json:"name"` + ObjType *string `json:"obj_type,omitempty"` + Schedule *NestedScheduledJob `json:"schedule,omitempty"` + Status *struct { Label *JobResultStatusLabel `json:"label,omitempty"` Value *JobResultStatusValue `json:"value,omitempty"` } `json:"status,omitempty"` - Url *string `json:"url,omitempty"` - User *struct { - // Embedded struct due to allOf(#/components/schemas/NestedUser) - NestedUser `yaml:",inline"` - } `json:"user,omitempty"` -} - -// JobResult_Data defines model for JobResult.Data. -type JobResult_Data struct { - AdditionalProperties map[string]interface{} `json:"-"` + Url *string `json:"url,omitempty"` + User *NestedUser `json:"user,omitempty"` } // JobResultStatusLabel defines model for JobResult.Status.Label. @@ -6916,105 +21753,1212 @@ type JobResultStatusLabel string // JobResultStatusValue defines model for JobResult.Status.Value. type JobResultStatusValue string -// JobResultStatusEnum defines model for JobResultStatusEnum. -type JobResultStatusEnum string - -// Serializer representing responses from the JobModelViewSet.run() POST endpoint. +// JobRunResponse Serializer representing responses from the JobModelViewSet.run() POST endpoint. type JobRunResponse struct { - JobResult *struct { - // Embedded struct due to allOf(#/components/schemas/NestedJobResult) - NestedJobResult `yaml:",inline"` - } `json:"job_result,omitempty"` - Schedule *struct { - // Embedded struct due to allOf(#/components/schemas/NestedScheduledJob) - NestedScheduledJob `yaml:",inline"` - } `json:"schedule,omitempty"` + JobResult *NestedJobResult `json:"job_result,omitempty"` + Schedule *NestedScheduledJob `json:"schedule,omitempty"` } -// Serializer used for responses from the JobModelViewSet.variables() detail endpoint. +// JobVariable Serializer used for responses from the JobModelViewSet.variables() detail endpoint. type JobVariable struct { - Choices *JobVariable_Choices `json:"choices,omitempty"` - Default *JobVariable_Default `json:"default,omitempty"` - HelpText *string `json:"help_text,omitempty"` - Label *string `json:"label,omitempty"` - MaxLength *int `json:"max_length,omitempty"` - MaxValue *int `json:"max_value,omitempty"` - MinLength *int `json:"min_length,omitempty"` - MinValue *int `json:"min_value,omitempty"` - Model *string `json:"model,omitempty"` - Name *string `json:"name,omitempty"` - Required *bool `json:"required,omitempty"` - Type *string `json:"type,omitempty"` -} - -// JobVariable_Choices defines model for JobVariable.Choices. -type JobVariable_Choices struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// JobVariable_Default defines model for JobVariable.Default. -type JobVariable_Default struct { - AdditionalProperties map[string]interface{} `json:"-"` + Choices *map[string]interface{} `json:"choices,omitempty"` + Default *map[string]interface{} `json:"default,omitempty"` + HelpText *string `json:"help_text,omitempty"` + Label *string `json:"label,omitempty"` + MaxLength *int `json:"max_length,omitempty"` + MaxValue *int `json:"max_value,omitempty"` + MinLength *int `json:"min_length,omitempty"` + MinValue *int `json:"min_value,omitempty"` + Model *string `json:"model,omitempty"` + Name *string `json:"name,omitempty"` + Required *bool `json:"required,omitempty"` + Type *string `json:"type,omitempty"` } // LengthUnitEnum defines model for LengthUnitEnum. type LengthUnitEnum string +// Location Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type Location struct { + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // LocationType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + LocationType NestedLocationType `json:"location_type"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Parent *NestedLocation `json:"parent"` + Site *NestedSite `json:"site"` + Slug *string `json:"slug,omitempty"` + Status struct { + Label *LocationStatusLabel `json:"label,omitempty"` + Value *LocationStatusValue `json:"value,omitempty"` + } `json:"status"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + TreeDepth *int `json:"tree_depth"` + Url *string `json:"url,omitempty"` +} + +// LocationStatusLabel defines model for Location.Status.Label. +type LocationStatusLabel string + +// LocationStatusValue defines model for Location.Status.Value. +type LocationStatusValue string + +// LocationStatusChoices defines model for LocationStatusChoices. +type LocationStatusChoices string + +// LocationType Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type LocationType struct { + ContentTypes *[]string `json:"content_types,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + + // Nestable Allow Locations of this type to be parents/children of other Locations of this same type + Nestable *bool `json:"nestable,omitempty"` + NotesUrl *string `json:"notes_url,omitempty"` + Parent *NestedLocationType `json:"parent"` + Slug *string `json:"slug,omitempty"` + TreeDepth *int `json:"tree_depth"` + Url *string `json:"url,omitempty"` +} + // LogLevelEnum defines model for LogLevelEnum. type LogLevelEnum string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// Manufacturer Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type Manufacturer struct { - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *Manufacturer_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DevicetypeCount *int `json:"devicetype_count,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DevicetypeCount *int `json:"devicetype_count,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` InventoryitemCount *int `json:"inventoryitem_count,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` PlatformCount *int `json:"platform_count,omitempty"` Slug *string `json:"slug,omitempty"` Url *string `json:"url,omitempty"` } -// Manufacturer_CustomFields defines model for Manufacturer.CustomFields. -type Manufacturer_CustomFields struct { +// ManufacturerRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type ManufacturerRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ManufacturerRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ManufacturerRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ManufacturerRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// ManufacturerRequest_Relationships_Destination_Objects_Item defines model for ManufacturerRequest.relationships.destination.objects.Item. +type ManufacturerRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Serializer for `MinMaxValidationRule` objects. +// ManufacturerRequest_Relationships_Peer_Objects_Item defines model for ManufacturerRequest.relationships.peer.objects.Item. +type ManufacturerRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// ManufacturerRequest_Relationships_Source_Objects_Item defines model for ManufacturerRequest.relationships.source.objects.Item. +type ManufacturerRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// MinMaxValidationRule Serializer for `MinMaxValidationRule` objects. type MinMaxValidationRule struct { ContentType string `json:"content_type"` - Created *openapi_types.Date `json:"created,omitempty"` + Created *openapi_types.Date `json:"created"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Enabled *bool `json:"enabled,omitempty"` - // Optional error message to display when validation fails. + // ErrorMessage Optional error message to display when validation fails. ErrorMessage *string `json:"error_message"` Field string `json:"field"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` - // When set, apply a maximum value contraint to the value of the model field. + // Max When set, apply a maximum value contraint to the value of the model field. Max *float64 `json:"max"` - // When set, apply a minimum value contraint to the value of the model field. + // Min When set, apply a minimum value contraint to the value of the model field. Min *float64 `json:"min"` Name string `json:"name"` Slug string `json:"slug"` Url *string `json:"url,omitempty"` } +// MinMaxValidationRuleRequest Serializer for `MinMaxValidationRule` objects. +type MinMaxValidationRuleRequest struct { + ContentType string `json:"content_type"` + Enabled *bool `json:"enabled,omitempty"` + + // ErrorMessage Optional error message to display when validation fails. + ErrorMessage *string `json:"error_message"` + Field string `json:"field"` + + // Max When set, apply a maximum value contraint to the value of the model field. + Max *float64 `json:"max"` + + // Min When set, apply a minimum value contraint to the value of the model field. + Min *float64 `json:"min"` + Name string `json:"name"` + Slug string `json:"slug"` +} + // ModeEnum defines model for ModeEnum. type ModeEnum string -// Nested serializer for the CVE class. +// NATPolicy NATPolicy Serializer. +type NATPolicy struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AssignedDevices *[]NATPolicyDeviceM2MNested `json:"assigned_devices,omitempty"` + AssignedDynamicGroups *[]NATPolicyDynamicGroupM2MNested `json:"assigned_dynamic_groups,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NatPolicyRules *[]openapi_types.UUID `json:"nat_policy_rules,omitempty"` + NotesUrl *string `json:"notes_url,omitempty"` + Status *struct { + Label *NATPolicyStatusLabel `json:"label,omitempty"` + Value *NATPolicyStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + Url *string `json:"url,omitempty"` +} + +// NATPolicyStatusLabel defines model for NATPolicy.Status.Label. +type NATPolicyStatusLabel string + +// NATPolicyStatusValue defines model for NATPolicy.Status.Value. +type NATPolicyStatusValue string + +// NATPolicyDeviceM2MNested NATPolicyDeviceM2M NestedSerializer. +type NATPolicyDeviceM2MNested struct { + Device openapi_types.UUID `json:"device"` + Weight *int `json:"weight,omitempty"` +} + +// NATPolicyDeviceM2MNestedRequest NATPolicyDeviceM2M NestedSerializer. +type NATPolicyDeviceM2MNestedRequest struct { + Device *openapi_types.UUID `json:"device,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// NATPolicyDynamicGroupM2MNested NATPolicyDynamicGroupM2M NestedSerializer. +type NATPolicyDynamicGroupM2MNested struct { + DynamicGroup openapi_types.UUID `json:"dynamic_group"` + Weight *int `json:"weight,omitempty"` +} + +// NATPolicyDynamicGroupM2MNestedRequest NATPolicyDynamicGroupM2M NestedSerializer. +type NATPolicyDynamicGroupM2MNestedRequest struct { + DynamicGroup *openapi_types.UUID `json:"dynamic_group,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// NATPolicyRequest NATPolicy Serializer. +type NATPolicyRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AssignedDevices *[]NATPolicyDeviceM2MNestedRequest `json:"assigned_devices,omitempty"` + AssignedDynamicGroups *[]NATPolicyDynamicGroupM2MNestedRequest `json:"assigned_dynamic_groups,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]NATPolicyRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]NATPolicyRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]NATPolicyRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` +} + +// NATPolicyRequest_Relationships_Destination_Objects_Item defines model for NATPolicyRequest.relationships.destination.objects.Item. +type NATPolicyRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// NATPolicyRequest_Relationships_Peer_Objects_Item defines model for NATPolicyRequest.relationships.peer.objects.Item. +type NATPolicyRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// NATPolicyRequest_Relationships_Source_Objects_Item defines model for NATPolicyRequest.relationships.source.objects.Item. +type NATPolicyRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// NATPolicyRule PolicyRule Serializer. +type NATPolicyRule struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description"` + + // DestinationZone Zone Serializer. + DestinationZone *Zone `json:"destination_zone,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Index *int `json:"index"` + LastUpdated *time.Time `json:"last_updated"` + Log *bool `json:"log,omitempty"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + OriginalDestinationAddressGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AddressObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDN `json:"fqdn,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddress `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRange `json:"ip_range,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefix `json:"prefix,omitempty"` + Status *struct { + Label *NATPolicyRuleOriginalDestinationAddressGroupsAddressObjectsStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleOriginalDestinationAddressGroupsAddressObjectsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"address_objects,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name descriptor for a group address objects. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Status *struct { + Label *NATPolicyRuleOriginalDestinationAddressGroupsStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleOriginalDestinationAddressGroupsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"original_destination_address_groups,omitempty"` + OriginalDestinationAddresses *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDN `json:"fqdn,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddress `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRange `json:"ip_range,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefix `json:"prefix,omitempty"` + Status *struct { + Label *NATPolicyRuleOriginalDestinationAddressesStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleOriginalDestinationAddressesStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"original_destination_addresses,omitempty"` + OriginalDestinationServiceGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + ServiceObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol `json:"ip_protocol"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Status *struct { + Label *NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"service_objects,omitempty"` + Status *struct { + Label *NATPolicyRuleOriginalDestinationServiceGroupsStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleOriginalDestinationServiceGroupsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"original_destination_service_groups,omitempty"` + OriginalDestinationServices *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol NATPolicyRuleOriginalDestinationServicesIpProtocol `json:"ip_protocol"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Status *struct { + Label *NATPolicyRuleOriginalDestinationServicesStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleOriginalDestinationServicesStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"original_destination_services,omitempty"` + OriginalSourceAddressGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AddressObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDN `json:"fqdn,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddress `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRange `json:"ip_range,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefix `json:"prefix,omitempty"` + Status *struct { + Label *NATPolicyRuleOriginalSourceAddressGroupsAddressObjectsStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleOriginalSourceAddressGroupsAddressObjectsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"address_objects,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name descriptor for a group address objects. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Status *struct { + Label *NATPolicyRuleOriginalSourceAddressGroupsStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleOriginalSourceAddressGroupsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"original_source_address_groups,omitempty"` + OriginalSourceAddresses *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDN `json:"fqdn,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddress `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRange `json:"ip_range,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefix `json:"prefix,omitempty"` + Status *struct { + Label *NATPolicyRuleOriginalSourceAddressesStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleOriginalSourceAddressesStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"original_source_addresses,omitempty"` + OriginalSourceServiceGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + ServiceObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol `json:"ip_protocol"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Status *struct { + Label *NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"service_objects,omitempty"` + Status *struct { + Label *NATPolicyRuleOriginalSourceServiceGroupsStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleOriginalSourceServiceGroupsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"original_source_service_groups,omitempty"` + OriginalSourceServices *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol NATPolicyRuleOriginalSourceServicesIpProtocol `json:"ip_protocol"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Status *struct { + Label *NATPolicyRuleOriginalSourceServicesStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleOriginalSourceServicesStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"original_source_services,omitempty"` + Remark *bool `json:"remark,omitempty"` + RequestId *string `json:"request_id"` + + // SourceZone Zone Serializer. + SourceZone *Zone `json:"source_zone,omitempty"` + Status *struct { + Label *NATPolicyRuleStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + TranslatedDestinationAddressGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AddressObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDN `json:"fqdn,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddress `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRange `json:"ip_range,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefix `json:"prefix,omitempty"` + Status *struct { + Label *NATPolicyRuleTranslatedDestinationAddressGroupsAddressObjectsStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleTranslatedDestinationAddressGroupsAddressObjectsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"address_objects,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name descriptor for a group address objects. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Status *struct { + Label *NATPolicyRuleTranslatedDestinationAddressGroupsStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleTranslatedDestinationAddressGroupsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"translated_destination_address_groups,omitempty"` + TranslatedDestinationAddresses *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDN `json:"fqdn,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddress `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRange `json:"ip_range,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefix `json:"prefix,omitempty"` + Status *struct { + Label *NATPolicyRuleTranslatedDestinationAddressesStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleTranslatedDestinationAddressesStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"translated_destination_addresses,omitempty"` + TranslatedDestinationServiceGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + ServiceObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol `json:"ip_protocol"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Status *struct { + Label *NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"service_objects,omitempty"` + Status *struct { + Label *NATPolicyRuleTranslatedDestinationServiceGroupsStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleTranslatedDestinationServiceGroupsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"translated_destination_service_groups,omitempty"` + TranslatedDestinationServices *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol NATPolicyRuleTranslatedDestinationServicesIpProtocol `json:"ip_protocol"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Status *struct { + Label *NATPolicyRuleTranslatedDestinationServicesStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleTranslatedDestinationServicesStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"translated_destination_services,omitempty"` + TranslatedSourceAddressGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AddressObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDN `json:"fqdn,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddress `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRange `json:"ip_range,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefix `json:"prefix,omitempty"` + Status *struct { + Label *NATPolicyRuleTranslatedSourceAddressGroupsAddressObjectsStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleTranslatedSourceAddressGroupsAddressObjectsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"address_objects,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name descriptor for a group address objects. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Status *struct { + Label *NATPolicyRuleTranslatedSourceAddressGroupsStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleTranslatedSourceAddressGroupsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"translated_source_address_groups,omitempty"` + TranslatedSourceAddresses *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDN `json:"fqdn,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddress `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRange `json:"ip_range,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefix `json:"prefix,omitempty"` + Status *struct { + Label *NATPolicyRuleTranslatedSourceAddressesStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleTranslatedSourceAddressesStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"translated_source_addresses,omitempty"` + TranslatedSourceServiceGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + ServiceObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol `json:"ip_protocol"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Status *struct { + Label *NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"service_objects,omitempty"` + Status *struct { + Label *NATPolicyRuleTranslatedSourceServiceGroupsStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleTranslatedSourceServiceGroupsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"translated_source_service_groups,omitempty"` + TranslatedSourceServices *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol NATPolicyRuleTranslatedSourceServicesIpProtocol `json:"ip_protocol"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Status *struct { + Label *NATPolicyRuleTranslatedSourceServicesStatusLabel `json:"label,omitempty"` + Value *NATPolicyRuleTranslatedSourceServicesStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"translated_source_services,omitempty"` + Url *string `json:"url,omitempty"` +} + +// NATPolicyRuleOriginalDestinationAddressGroupsAddressObjectsStatusLabel defines model for NATPolicyRule.OriginalDestinationAddressGroups.AddressObjects.Status.Label. +type NATPolicyRuleOriginalDestinationAddressGroupsAddressObjectsStatusLabel string + +// NATPolicyRuleOriginalDestinationAddressGroupsAddressObjectsStatusValue defines model for NATPolicyRule.OriginalDestinationAddressGroups.AddressObjects.Status.Value. +type NATPolicyRuleOriginalDestinationAddressGroupsAddressObjectsStatusValue string + +// NATPolicyRuleOriginalDestinationAddressGroupsStatusLabel defines model for NATPolicyRule.OriginalDestinationAddressGroups.Status.Label. +type NATPolicyRuleOriginalDestinationAddressGroupsStatusLabel string + +// NATPolicyRuleOriginalDestinationAddressGroupsStatusValue defines model for NATPolicyRule.OriginalDestinationAddressGroups.Status.Value. +type NATPolicyRuleOriginalDestinationAddressGroupsStatusValue string + +// NATPolicyRuleOriginalDestinationAddressesStatusLabel defines model for NATPolicyRule.OriginalDestinationAddresses.Status.Label. +type NATPolicyRuleOriginalDestinationAddressesStatusLabel string + +// NATPolicyRuleOriginalDestinationAddressesStatusValue defines model for NATPolicyRule.OriginalDestinationAddresses.Status.Value. +type NATPolicyRuleOriginalDestinationAddressesStatusValue string + +// NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsIpProtocol string + +// NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsStatusLabel defines model for NATPolicyRule.OriginalDestinationServiceGroups.ServiceObjects.Status.Label. +type NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsStatusLabel string + +// NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsStatusValue defines model for NATPolicyRule.OriginalDestinationServiceGroups.ServiceObjects.Status.Value. +type NATPolicyRuleOriginalDestinationServiceGroupsServiceObjectsStatusValue string + +// NATPolicyRuleOriginalDestinationServiceGroupsStatusLabel defines model for NATPolicyRule.OriginalDestinationServiceGroups.Status.Label. +type NATPolicyRuleOriginalDestinationServiceGroupsStatusLabel string + +// NATPolicyRuleOriginalDestinationServiceGroupsStatusValue defines model for NATPolicyRule.OriginalDestinationServiceGroups.Status.Value. +type NATPolicyRuleOriginalDestinationServiceGroupsStatusValue string + +// NATPolicyRuleOriginalDestinationServicesIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type NATPolicyRuleOriginalDestinationServicesIpProtocol string + +// NATPolicyRuleOriginalDestinationServicesStatusLabel defines model for NATPolicyRule.OriginalDestinationServices.Status.Label. +type NATPolicyRuleOriginalDestinationServicesStatusLabel string + +// NATPolicyRuleOriginalDestinationServicesStatusValue defines model for NATPolicyRule.OriginalDestinationServices.Status.Value. +type NATPolicyRuleOriginalDestinationServicesStatusValue string + +// NATPolicyRuleOriginalSourceAddressGroupsAddressObjectsStatusLabel defines model for NATPolicyRule.OriginalSourceAddressGroups.AddressObjects.Status.Label. +type NATPolicyRuleOriginalSourceAddressGroupsAddressObjectsStatusLabel string + +// NATPolicyRuleOriginalSourceAddressGroupsAddressObjectsStatusValue defines model for NATPolicyRule.OriginalSourceAddressGroups.AddressObjects.Status.Value. +type NATPolicyRuleOriginalSourceAddressGroupsAddressObjectsStatusValue string + +// NATPolicyRuleOriginalSourceAddressGroupsStatusLabel defines model for NATPolicyRule.OriginalSourceAddressGroups.Status.Label. +type NATPolicyRuleOriginalSourceAddressGroupsStatusLabel string + +// NATPolicyRuleOriginalSourceAddressGroupsStatusValue defines model for NATPolicyRule.OriginalSourceAddressGroups.Status.Value. +type NATPolicyRuleOriginalSourceAddressGroupsStatusValue string + +// NATPolicyRuleOriginalSourceAddressesStatusLabel defines model for NATPolicyRule.OriginalSourceAddresses.Status.Label. +type NATPolicyRuleOriginalSourceAddressesStatusLabel string + +// NATPolicyRuleOriginalSourceAddressesStatusValue defines model for NATPolicyRule.OriginalSourceAddresses.Status.Value. +type NATPolicyRuleOriginalSourceAddressesStatusValue string + +// NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsIpProtocol string + +// NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsStatusLabel defines model for NATPolicyRule.OriginalSourceServiceGroups.ServiceObjects.Status.Label. +type NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsStatusLabel string + +// NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsStatusValue defines model for NATPolicyRule.OriginalSourceServiceGroups.ServiceObjects.Status.Value. +type NATPolicyRuleOriginalSourceServiceGroupsServiceObjectsStatusValue string + +// NATPolicyRuleOriginalSourceServiceGroupsStatusLabel defines model for NATPolicyRule.OriginalSourceServiceGroups.Status.Label. +type NATPolicyRuleOriginalSourceServiceGroupsStatusLabel string + +// NATPolicyRuleOriginalSourceServiceGroupsStatusValue defines model for NATPolicyRule.OriginalSourceServiceGroups.Status.Value. +type NATPolicyRuleOriginalSourceServiceGroupsStatusValue string + +// NATPolicyRuleOriginalSourceServicesIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type NATPolicyRuleOriginalSourceServicesIpProtocol string + +// NATPolicyRuleOriginalSourceServicesStatusLabel defines model for NATPolicyRule.OriginalSourceServices.Status.Label. +type NATPolicyRuleOriginalSourceServicesStatusLabel string + +// NATPolicyRuleOriginalSourceServicesStatusValue defines model for NATPolicyRule.OriginalSourceServices.Status.Value. +type NATPolicyRuleOriginalSourceServicesStatusValue string + +// NATPolicyRuleStatusLabel defines model for NATPolicyRule.Status.Label. +type NATPolicyRuleStatusLabel string + +// NATPolicyRuleStatusValue defines model for NATPolicyRule.Status.Value. +type NATPolicyRuleStatusValue string + +// NATPolicyRuleTranslatedDestinationAddressGroupsAddressObjectsStatusLabel defines model for NATPolicyRule.TranslatedDestinationAddressGroups.AddressObjects.Status.Label. +type NATPolicyRuleTranslatedDestinationAddressGroupsAddressObjectsStatusLabel string + +// NATPolicyRuleTranslatedDestinationAddressGroupsAddressObjectsStatusValue defines model for NATPolicyRule.TranslatedDestinationAddressGroups.AddressObjects.Status.Value. +type NATPolicyRuleTranslatedDestinationAddressGroupsAddressObjectsStatusValue string + +// NATPolicyRuleTranslatedDestinationAddressGroupsStatusLabel defines model for NATPolicyRule.TranslatedDestinationAddressGroups.Status.Label. +type NATPolicyRuleTranslatedDestinationAddressGroupsStatusLabel string + +// NATPolicyRuleTranslatedDestinationAddressGroupsStatusValue defines model for NATPolicyRule.TranslatedDestinationAddressGroups.Status.Value. +type NATPolicyRuleTranslatedDestinationAddressGroupsStatusValue string + +// NATPolicyRuleTranslatedDestinationAddressesStatusLabel defines model for NATPolicyRule.TranslatedDestinationAddresses.Status.Label. +type NATPolicyRuleTranslatedDestinationAddressesStatusLabel string + +// NATPolicyRuleTranslatedDestinationAddressesStatusValue defines model for NATPolicyRule.TranslatedDestinationAddresses.Status.Value. +type NATPolicyRuleTranslatedDestinationAddressesStatusValue string + +// NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsIpProtocol string + +// NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsStatusLabel defines model for NATPolicyRule.TranslatedDestinationServiceGroups.ServiceObjects.Status.Label. +type NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsStatusLabel string + +// NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsStatusValue defines model for NATPolicyRule.TranslatedDestinationServiceGroups.ServiceObjects.Status.Value. +type NATPolicyRuleTranslatedDestinationServiceGroupsServiceObjectsStatusValue string + +// NATPolicyRuleTranslatedDestinationServiceGroupsStatusLabel defines model for NATPolicyRule.TranslatedDestinationServiceGroups.Status.Label. +type NATPolicyRuleTranslatedDestinationServiceGroupsStatusLabel string + +// NATPolicyRuleTranslatedDestinationServiceGroupsStatusValue defines model for NATPolicyRule.TranslatedDestinationServiceGroups.Status.Value. +type NATPolicyRuleTranslatedDestinationServiceGroupsStatusValue string + +// NATPolicyRuleTranslatedDestinationServicesIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type NATPolicyRuleTranslatedDestinationServicesIpProtocol string + +// NATPolicyRuleTranslatedDestinationServicesStatusLabel defines model for NATPolicyRule.TranslatedDestinationServices.Status.Label. +type NATPolicyRuleTranslatedDestinationServicesStatusLabel string + +// NATPolicyRuleTranslatedDestinationServicesStatusValue defines model for NATPolicyRule.TranslatedDestinationServices.Status.Value. +type NATPolicyRuleTranslatedDestinationServicesStatusValue string + +// NATPolicyRuleTranslatedSourceAddressGroupsAddressObjectsStatusLabel defines model for NATPolicyRule.TranslatedSourceAddressGroups.AddressObjects.Status.Label. +type NATPolicyRuleTranslatedSourceAddressGroupsAddressObjectsStatusLabel string + +// NATPolicyRuleTranslatedSourceAddressGroupsAddressObjectsStatusValue defines model for NATPolicyRule.TranslatedSourceAddressGroups.AddressObjects.Status.Value. +type NATPolicyRuleTranslatedSourceAddressGroupsAddressObjectsStatusValue string + +// NATPolicyRuleTranslatedSourceAddressGroupsStatusLabel defines model for NATPolicyRule.TranslatedSourceAddressGroups.Status.Label. +type NATPolicyRuleTranslatedSourceAddressGroupsStatusLabel string + +// NATPolicyRuleTranslatedSourceAddressGroupsStatusValue defines model for NATPolicyRule.TranslatedSourceAddressGroups.Status.Value. +type NATPolicyRuleTranslatedSourceAddressGroupsStatusValue string + +// NATPolicyRuleTranslatedSourceAddressesStatusLabel defines model for NATPolicyRule.TranslatedSourceAddresses.Status.Label. +type NATPolicyRuleTranslatedSourceAddressesStatusLabel string + +// NATPolicyRuleTranslatedSourceAddressesStatusValue defines model for NATPolicyRule.TranslatedSourceAddresses.Status.Value. +type NATPolicyRuleTranslatedSourceAddressesStatusValue string + +// NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsIpProtocol string + +// NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsStatusLabel defines model for NATPolicyRule.TranslatedSourceServiceGroups.ServiceObjects.Status.Label. +type NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsStatusLabel string + +// NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsStatusValue defines model for NATPolicyRule.TranslatedSourceServiceGroups.ServiceObjects.Status.Value. +type NATPolicyRuleTranslatedSourceServiceGroupsServiceObjectsStatusValue string + +// NATPolicyRuleTranslatedSourceServiceGroupsStatusLabel defines model for NATPolicyRule.TranslatedSourceServiceGroups.Status.Label. +type NATPolicyRuleTranslatedSourceServiceGroupsStatusLabel string + +// NATPolicyRuleTranslatedSourceServiceGroupsStatusValue defines model for NATPolicyRule.TranslatedSourceServiceGroups.Status.Value. +type NATPolicyRuleTranslatedSourceServiceGroupsStatusValue string + +// NATPolicyRuleTranslatedSourceServicesIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type NATPolicyRuleTranslatedSourceServicesIpProtocol string + +// NATPolicyRuleTranslatedSourceServicesStatusLabel defines model for NATPolicyRule.TranslatedSourceServices.Status.Label. +type NATPolicyRuleTranslatedSourceServicesStatusLabel string + +// NATPolicyRuleTranslatedSourceServicesStatusValue defines model for NATPolicyRule.TranslatedSourceServices.Status.Value. +type NATPolicyRuleTranslatedSourceServicesStatusValue string + +// NestedAutonomousSystem Nested/brief serializer for AutonomousSystem. +type NestedAutonomousSystem struct { + // Asn 32-bit autonomous system number + Asn int64 `json:"asn"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` +} + +// NestedAutonomousSystemRequest Nested/brief serializer for AutonomousSystem. +type NestedAutonomousSystemRequest struct { + // Asn 32-bit autonomous system number + Asn *int64 `json:"asn,omitempty"` +} + +// NestedCVELCM Nested serializer for the CVE class. type NestedCVELCM struct { Comments *string `json:"comments,omitempty"` Cvss *float64 `json:"cvss"` @@ -7022,45 +22966,56 @@ type NestedCVELCM struct { CvssV3 *float64 `json:"cvss_v3"` Description *string `json:"description"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Fix *string `json:"fix"` Id *openapi_types.UUID `json:"id,omitempty"` Link string `json:"link"` Name string `json:"name"` PublishedDate openapi_types.Date `json:"published_date"` - Severity *string `json:"severity,omitempty"` + Severity *SeverityEnum `json:"severity,omitempty"` Status *openapi_types.UUID `json:"status"` Url *string `json:"url,omitempty"` } -// This base serializer implements common fields and logic for all ModelSerializers. -// Namely it defines the `display` field which exposes a human friendly value for the given object. +// NestedCable This base serializer implements common fields and logic for all ModelSerializers. +// +// Namely, it: +// +// - defines the `display` field which exposes a human friendly value for the given object. +// - ensures that `id` field is always present on the serializer as well +// - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. type NestedCable struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Label *string `json:"label,omitempty"` Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedCircuit Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedCircuit struct { Cid string `json:"cid"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedCircuitRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedCircuitRequest struct { + Cid *string `json:"cid,omitempty"` +} + +// NestedCircuitType Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedCircuitType struct { CircuitCount *int `json:"circuit_count,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7068,10 +23023,17 @@ type NestedCircuitType struct { Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedCircuitTypeRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedCircuitTypeRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedCluster Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedCluster struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7079,12 +23041,12 @@ type NestedCluster struct { VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedClusterGroup Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedClusterGroup struct { ClusterCount *int `json:"cluster_count,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7092,12 +23054,25 @@ type NestedClusterGroup struct { Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedClusterGroupRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedClusterGroupRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedClusterRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedClusterRequest struct { + Name *string `json:"name,omitempty"` +} + +// NestedClusterType Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedClusterType struct { ClusterCount *int `json:"cluster_count,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7105,10 +23080,17 @@ type NestedClusterType struct { Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedClusterTypeRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedClusterTypeRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedConfigContextSchema Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedConfigContextSchema struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7116,55 +23098,115 @@ type NestedConfigContextSchema struct { Url *string `json:"url,omitempty"` } -// API serializer. +// NestedConfigContextSchemaRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedConfigContextSchemaRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedContractLCM API serializer. type NestedContractLCM struct { ContractType *string `json:"contract_type"` Cost *string `json:"cost"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` End *openapi_types.Date `json:"end"` Expired *string `json:"expired,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` - // Contract Provider - Provider struct { - // Embedded struct due to allOf(#/components/schemas/NestedProviderLCM) - NestedProviderLCM `yaml:",inline"` - } `json:"provider"` + // Provider Contract Provider + Provider NestedProviderLCM `json:"provider"` Start *openapi_types.Date `json:"start"` SupportLevel *string `json:"support_level"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedContractLCMRequest API serializer. +type NestedContractLCMRequest struct { + ContractType *string `json:"contract_type"` + Cost *string `json:"cost"` + End *openapi_types.Date `json:"end"` + Name *string `json:"name,omitempty"` + + // Provider Contract Provider + Provider *NestedProviderLCMRequest `json:"provider,omitempty"` + Start *openapi_types.Date `json:"start"` + SupportLevel *string `json:"support_level"` +} + +// NestedCustomField Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedCustomField struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // URL-friendly unique shorthand. + // Name Human-readable unique name of this field. Name string `json:"name"` Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedCustomFieldRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedCustomFieldRequest struct { + // Name Human-readable unique name of this field. + Name *string `json:"name,omitempty"` +} + +// NestedDevice Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedDevice struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name *string `json:"name"` Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedDeviceRedundancyGroup Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedDeviceRedundancyGroup struct { + // Display Human friendly display value + Display *string `json:"display,omitempty"` + FailoverStrategy *NestedDeviceRedundancyGroup_FailoverStrategy `json:"failover_strategy,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + Url *string `json:"url,omitempty"` +} + +// NestedDeviceRedundancyGroup_FailoverStrategy defines model for NestedDeviceRedundancyGroup.FailoverStrategy. +type NestedDeviceRedundancyGroup_FailoverStrategy struct { + union json.RawMessage +} + +// NestedDeviceRedundancyGroupRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedDeviceRedundancyGroupRequest struct { + FailoverStrategy *NestedDeviceRedundancyGroupRequest_FailoverStrategy `json:"failover_strategy,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedDeviceRedundancyGroupRequest_FailoverStrategy defines model for NestedDeviceRedundancyGroupRequest.FailoverStrategy. +type NestedDeviceRedundancyGroupRequest_FailoverStrategy struct { + union json.RawMessage +} + +// NestedDeviceRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedDeviceRequest struct { + Name *string `json:"name"` +} + +// NestedDeviceRole Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedDeviceRole struct { DeviceCount *int `json:"device_count,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7173,103 +23215,217 @@ type NestedDeviceRole struct { VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedDeviceRoleRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedDeviceRoleRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedDeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedDeviceType struct { DeviceCount *int `json:"device_count,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - Manufacturer *struct { - // Embedded struct due to allOf(#/components/schemas/NestedManufacturer) - NestedManufacturer `yaml:",inline"` - } `json:"manufacturer,omitempty"` - Model string `json:"model"` - Slug string `json:"slug"` - Url *string `json:"url,omitempty"` + Manufacturer *NestedManufacturer `json:"manufacturer,omitempty"` + Model string `json:"model"` + Slug string `json:"slug"` + Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedDeviceTypeRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedDeviceTypeRequest struct { + Model *string `json:"model,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedDynamicGroup Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedDynamicGroup struct { + ContentType string `json:"content_type"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // Name Dynamic Group name + Name string `json:"name"` + + // Slug Unique slug + Slug *string `json:"slug,omitempty"` + Url *string `json:"url,omitempty"` +} + +// NestedDynamicGroupMembership Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedDynamicGroupMembership struct { + // Display Human friendly display value + Display *string `json:"display,omitempty"` + + // Group Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Group NestedDynamicGroup `json:"group"` + Id *openapi_types.UUID `json:"id,omitempty"` + Operator OperatorEnum `json:"operator"` + + // ParentGroup Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + ParentGroup NestedDynamicGroup `json:"parent_group"` + Url *string `json:"url,omitempty"` + Weight int `json:"weight"` +} + +// NestedDynamicGroupRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedDynamicGroupRequest struct { + ContentType *string `json:"content_type,omitempty"` + + // Name Dynamic Group name + Name *string `json:"name,omitempty"` + + // Slug Unique slug + Slug *string `json:"slug,omitempty"` +} + +// NestedFQDN Nested serializer for FQDN. +type NestedFQDN struct { + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // Name Resolvable fully qualified domain name (e.g. networktocode.com) + Name string `json:"name"` + Url *string `json:"url,omitempty"` +} + +// NestedFQDNRequest Nested serializer for FQDN. +type NestedFQDNRequest struct { + // Name Resolvable fully qualified domain name (e.g. networktocode.com) + Name *string `json:"name,omitempty"` +} + +// NestedIPAddress Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedIPAddress struct { Address string `json:"address"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Family *int `json:"family,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedIPAddressRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedIPAddressRequest struct { + Address *string `json:"address,omitempty"` +} + +// NestedIPRange Nested serializer for IPRange. +type NestedIPRange struct { + // Display Human friendly display value + Display *string `json:"display,omitempty"` + EndAddress string `json:"end_address"` + Id *openapi_types.UUID `json:"id,omitempty"` + StartAddress string `json:"start_address"` + Url *string `json:"url,omitempty"` +} + +// NestedIPRangeRequest Nested serializer for IPRange. +type NestedIPRangeRequest struct { + EndAddress *string `json:"end_address,omitempty"` + StartAddress *string `json:"start_address,omitempty"` +} + +// NestedInterface Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedInterface struct { Cable *openapi_types.UUID `json:"cable"` - Device *struct { - // Embedded struct due to allOf(#/components/schemas/NestedDevice) - NestedDevice `yaml:",inline"` - } `json:"device,omitempty"` + Device *NestedDevice `json:"device,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedInterfaceRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedInterfaceRequest struct { + Cable *openapi_types.UUID `json:"cable"` + Name *string `json:"name,omitempty"` +} + +// NestedInventoryItem Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedInventoryItem struct { - Depth *int `json:"_depth,omitempty"` - Device *struct { - // Embedded struct due to allOf(#/components/schemas/NestedDevice) - NestedDevice `yaml:",inline"` - } `json:"device,omitempty"` + Depth *int `json:"_depth,omitempty"` + Device *NestedDevice `json:"device,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` Url *string `json:"url,omitempty"` } -// NestedJob defines model for NestedJob. +// NestedJob This base serializer implements common fields and logic for all ModelSerializers. +// +// Namely, it: +// +// - defines the `display` field which exposes a human friendly value for the given object. +// - ensures that `id` field is always present on the serializer as well +// - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. type NestedJob struct { - // Human-readable grouping that this job belongs to + // Display Human friendly display value + Display *string `json:"display,omitempty"` + + // Grouping Human-readable grouping that this job belongs to Grouping string `json:"grouping"` Id *openapi_types.UUID `json:"id,omitempty"` - // Name of the Python class providing this job + // JobClassName Name of the Python class providing this job JobClassName *string `json:"job_class_name,omitempty"` - // Dotted name of the Python module providing this job + // ModuleName Dotted name of the Python module providing this job ModuleName *string `json:"module_name,omitempty"` - // Human-readable name of this job + // Name Human-readable name of this job Name string `json:"name"` Slug *string `json:"slug,omitempty"` - // Source of the Python code for this job - local, Git repository, or plugins + // Source Source of the Python code for this job - local, Git repository, or plugins Source *string `json:"source,omitempty"` Url *string `json:"url,omitempty"` } -// NestedJobResult defines model for NestedJobResult. +// NestedJobResult This base serializer implements common fields and logic for all ModelSerializers. +// +// Namely, it: +// +// - defines the `display` field which exposes a human friendly value for the given object. +// - ensures that `id` field is always present on the serializer as well +// - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. type NestedJobResult struct { - Completed *time.Time `json:"completed"` - Created *time.Time `json:"created,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Name string `json:"name"` - Status struct { + Completed *time.Time `json:"completed"` + Created *time.Time `json:"created,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + Status struct { Label *NestedJobResultStatusLabel `json:"label,omitempty"` Value *NestedJobResultStatusValue `json:"value,omitempty"` } `json:"status"` - Url *string `json:"url,omitempty"` - User *struct { - // Embedded struct due to allOf(#/components/schemas/NestedUser) - NestedUser `yaml:",inline"` - } `json:"user,omitempty"` + Url *string `json:"url,omitempty"` + User *NestedUser `json:"user,omitempty"` } // NestedJobResultStatusLabel defines model for NestedJobResult.Status.Label. @@ -7278,12 +23434,50 @@ type NestedJobResultStatusLabel string // NestedJobResultStatusValue defines model for NestedJobResult.Status.Value. type NestedJobResultStatusValue string -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedLocation Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedLocation struct { + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + TreeDepth *int `json:"tree_depth"` + Url *string `json:"url,omitempty"` +} + +// NestedLocationRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedLocationRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedLocationType Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedLocationType struct { + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + TreeDepth *int `json:"tree_depth"` + Url *string `json:"url,omitempty"` +} + +// NestedLocationTypeRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedLocationTypeRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedManufacturer Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedManufacturer struct { DevicetypeCount *int `json:"devicetype_count,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7291,12 +23485,77 @@ type NestedManufacturer struct { Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedManufacturerRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedManufacturerRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedPeerEndpoint Nested/brief serializer for PeerEndpoint. +type NestedPeerEndpoint struct { + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` +} + +// NestedPeerGroup Nested/brief serializer for PeerGroup. +type NestedPeerGroup struct { + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + Role *openapi_types.UUID `json:"role"` + Url *string `json:"url,omitempty"` +} + +// NestedPeerGroupRequest Nested/brief serializer for PeerGroup. +type NestedPeerGroupRequest struct { + Enabled *bool `json:"enabled,omitempty"` + Name *string `json:"name,omitempty"` + Role *openapi_types.UUID `json:"role"` +} + +// NestedPeerGroupTemplate Nested/brief serializer for PeerGroup. +type NestedPeerGroupTemplate struct { + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + Role *openapi_types.UUID `json:"role"` + Url *string `json:"url,omitempty"` +} + +// NestedPeerGroupTemplateRequest Nested/brief serializer for PeerGroup. +type NestedPeerGroupTemplateRequest struct { + Enabled *bool `json:"enabled,omitempty"` + Name *string `json:"name,omitempty"` + Role *openapi_types.UUID `json:"role"` +} + +// NestedPeering Nested/brief serializer for Peering. +type NestedPeering struct { + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Status *openapi_types.UUID `json:"status"` + Url *string `json:"url,omitempty"` +} + +// NestedPeeringRequest Nested/brief serializer for Peering. +type NestedPeeringRequest struct { + Status *openapi_types.UUID `json:"status"` +} + +// NestedPlatform Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedPlatform struct { DeviceCount *int `json:"device_count,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7305,10 +23564,17 @@ type NestedPlatform struct { VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedPlatformRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedPlatformRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedPowerPanel Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedPowerPanel struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7316,38 +23582,71 @@ type NestedPowerPanel struct { Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedPowerPanelRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedPowerPanelRequest struct { + Name *string `json:"name,omitempty"` +} + +// NestedPowerPort Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedPowerPort struct { Cable *openapi_types.UUID `json:"cable"` - Device *struct { - // Embedded struct due to allOf(#/components/schemas/NestedDevice) - NestedDevice `yaml:",inline"` - } `json:"device,omitempty"` + Device *NestedDevice `json:"device,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedPowerPortRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedPowerPortRequest struct { + Cable *openapi_types.UUID `json:"cable"` + Name *string `json:"name,omitempty"` +} + +// NestedPowerPortTemplate Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedPowerPortTemplate struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedPowerPortTemplateRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedPowerPortTemplateRequest struct { + Name *string `json:"name,omitempty"` +} + +// NestedPrefix Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedPrefix struct { + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Family *int `json:"family,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Prefix string `json:"prefix"` + Url *string `json:"url,omitempty"` +} + +// NestedPrefixRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedPrefixRequest struct { + Prefix *string `json:"prefix,omitempty"` +} + +// NestedProvider Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedProvider struct { CircuitCount *int `json:"circuit_count,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7355,12 +23654,12 @@ type NestedProvider struct { Url *string `json:"url,omitempty"` } -// Nested serializer for the provider class. +// NestedProviderLCM Nested serializer for the provider class. type NestedProviderLCM struct { Comments *string `json:"comments,omitempty"` Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Email *openapi_types.Email `json:"email,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` @@ -7369,10 +23668,20 @@ type NestedProviderLCM struct { PhysicalAddress *string `json:"physical_address,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedProviderLCMRequest Nested serializer for the provider class. +type NestedProviderLCMRequest struct { + Comments *string `json:"comments,omitempty"` + Description *string `json:"description,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + Name *string `json:"name,omitempty"` + Phone *string `json:"phone,omitempty"` + PhysicalAddress *string `json:"physical_address,omitempty"` +} + +// NestedProviderNetwork Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedProviderNetwork struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7380,12 +23689,26 @@ type NestedProviderNetwork struct { Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedProviderNetworkRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedProviderNetworkRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedProviderRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedProviderRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedRIR Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedRIR struct { AggregateCount *int `json:"aggregate_count,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7393,24 +23716,31 @@ type NestedRIR struct { Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedRIRRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedRIRRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedRack Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedRack struct { DeviceCount *int `json:"device_count,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedRackGroup Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedRackGroup struct { Depth *int `json:"_depth,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7419,10 +23749,23 @@ type NestedRackGroup struct { Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedRackGroupRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedRackGroupRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedRackRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedRackRequest struct { + Name *string `json:"name,omitempty"` +} + +// NestedRackRole Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedRackRole struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7431,22 +23774,35 @@ type NestedRackRole struct { Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedRackRoleRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedRackRoleRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedRearPortTemplate Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedRearPortTemplate struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedRearPortTemplateRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedRearPortTemplateRequest struct { + Name *string `json:"name,omitempty"` +} + +// NestedRegion Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedRegion struct { Depth *int `json:"_depth,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7455,23 +23811,42 @@ type NestedRegion struct { Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedRegionRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedRegionRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedRelationship Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedRelationship struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Internal relationship name - Name string `json:"name"` + // Name Name of the relationship as displayed to users + Name string `json:"name"` + + // Slug Internal relationship name. Please use underscores rather than dashes in this slug. Slug *string `json:"slug,omitempty"` Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedRelationshipRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedRelationshipRequest struct { + // Name Name of the relationship as displayed to users + Name *string `json:"name,omitempty"` + + // Slug Internal relationship name. Please use underscores rather than dashes in this slug. + Slug *string `json:"slug,omitempty"` +} + +// NestedRole Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedRole struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7481,17 +23856,60 @@ type NestedRole struct { VlanCount *int `json:"vlan_count,omitempty"` } -// NestedScheduledJob defines model for NestedScheduledJob. -type NestedScheduledJob struct { - Interval IntervalEnum `json:"interval"` - Name *string `json:"name,omitempty"` - StartTime *time.Time `json:"start_time,omitempty"` +// NestedRoleRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedRoleRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedRoutingInstance Nested/brief serializer for PeerEndpoint. +type NestedRoutingInstance struct { + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` +} + +// NestedScheduledJob This base serializer implements common fields and logic for all ModelSerializers. +// +// Namely, it: +// +// - defines the `display` field which exposes a human friendly value for the given object. +// - ensures that `id` field is always present on the serializer as well +// - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. +type NestedScheduledJob struct { + // Crontab Cronjob syntax string for custom scheduling + Crontab *string `json:"crontab,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Interval JobExecutionTypeIntervalChoices `json:"interval"` + Name *string `json:"name,omitempty"` + StartTime *time.Time `json:"start_time,omitempty"` + Url *string `json:"url,omitempty"` +} + +// NestedScheduledJobRequest This base serializer implements common fields and logic for all ModelSerializers. +// +// Namely, it: +// +// - defines the `display` field which exposes a human friendly value for the given object. +// - ensures that `id` field is always present on the serializer as well +// - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. +type NestedScheduledJobRequest struct { + // Crontab Cronjob syntax string for custom scheduling + Crontab *string `json:"crontab,omitempty"` + Interval JobExecutionTypeIntervalChoices `json:"interval"` + Name *string `json:"name,omitempty"` + StartTime *time.Time `json:"start_time,omitempty"` +} + +// NestedSecret Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedSecret struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7499,10 +23917,17 @@ type NestedSecret struct { Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedSecretRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedSecretRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedSecretsGroup Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedSecretsGroup struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7510,26 +23935,33 @@ type NestedSecretsGroup struct { Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedSecretsGroupAssociation Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedSecretsGroupAssociation struct { AccessType AccessTypeEnum `json:"access_type"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Secret Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Secret NestedSecret `json:"secret"` SecretType SecretTypeEnum `json:"secret_type"` Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedSecretsGroupRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedSecretsGroupRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedSite Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedSite struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7537,11 +23969,18 @@ type NestedSite struct { Url *string `json:"url,omitempty"` } -// Nested/brief serializer for SoftwareLCM. +// NestedSiteRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedSiteRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedSoftwareLCM Nested/brief serializer for SoftwareLCM. type NestedSoftwareLCM struct { DevicePlatform *openapi_types.UUID `json:"device_platform,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` EndOfSupport *openapi_types.Date `json:"end_of_support"` Id *openapi_types.UUID `json:"id,omitempty"` @@ -7549,10 +23988,16 @@ type NestedSoftwareLCM struct { Version string `json:"version"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedSoftwareLCMRequest Nested/brief serializer for SoftwareLCM. +type NestedSoftwareLCMRequest struct { + EndOfSupport *openapi_types.Date `json:"end_of_support"` + Version *string `json:"version,omitempty"` +} + +// NestedTenant Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedTenant struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7560,12 +24005,12 @@ type NestedTenant struct { Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedTenantGroup Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedTenantGroup struct { Depth *int `json:"_depth,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7574,22 +24019,43 @@ type NestedTenantGroup struct { Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedTenantGroupRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedTenantGroupRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedTenantRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedTenantRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedUser Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedUser struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Url *string `json:"url,omitempty"` - // Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. + // Username Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. Username string `json:"username"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedUserRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedUserRequest struct { + // Username Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. + Username *string `json:"username,omitempty"` +} + +// NestedVLAN Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedVLAN struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7597,10 +24063,10 @@ type NestedVLAN struct { Vid int `json:"vid"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedVLANGroup Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedVLANGroup struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -7609,28 +24075,68 @@ type NestedVLANGroup struct { VlanCount *int `json:"vlan_count,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedVLANGroupRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedVLANGroupRequest struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// NestedVLANRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedVLANRequest struct { + Name *string `json:"name,omitempty"` + Vid *int `json:"vid,omitempty"` +} + +// NestedVMInterface Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedVMInterface struct { + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name string `json:"name"` + Url *string `json:"url,omitempty"` + VirtualMachine *NestedVirtualMachine `json:"virtual_machine,omitempty"` +} + +// NestedVMInterfaceRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedVMInterfaceRequest struct { + Name *string `json:"name,omitempty"` +} + +// NestedVRF Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedVRF struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` PrefixCount *int `json:"prefix_count,omitempty"` - // Unique route distinguisher (as defined in RFC 4364) + // Rd Unique route distinguisher (as defined in RFC 4364) Rd *string `json:"rd"` Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedVRFRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedVRFRequest struct { + Name *string `json:"name,omitempty"` + + // Rd Unique route distinguisher (as defined in RFC 4364) + Rd *string `json:"rd"` +} + +// NestedVirtualChassis Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedVirtualChassis struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Master Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Master NestedDevice `json:"master"` MemberCount *int `json:"member_count,omitempty"` @@ -7638,31 +24144,81 @@ type NestedVirtualChassis struct { Url *string `json:"url,omitempty"` } -// Returns a nested representation of an object on read, but accepts either the nested representation or the +// NestedVirtualChassisRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedVirtualChassisRequest struct { + // Master Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Master *NestedDeviceRequest `json:"master,omitempty"` + Name *string `json:"name,omitempty"` +} + +// NestedVirtualMachine Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. type NestedVirtualMachine struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` Url *string `json:"url,omitempty"` } -// Serializer for API. -type Note struct { - Comment string `json:"comment"` - Id *openapi_types.UUID `json:"id,omitempty"` - Maintenance *openapi_types.UUID `json:"maintenance,omitempty"` - Title string `json:"title"` +// NestedVirtualMachineRequest Returns a nested representation of an object on read, but accepts either the nested representation or the +// primary key value on write operations. +type NestedVirtualMachineRequest struct { + Name *string `json:"name,omitempty"` } -// Serializer for NotificationSource records. +// Note This base serializer implements common fields and logic for all ModelSerializers. +// +// Namely, it: +// +// - defines the `display` field which exposes a human friendly value for the given object. +// - ensures that `id` field is always present on the serializer as well +// - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. +type Note struct { + AssignedObject *map[string]interface{} `json:"assigned_object"` + AssignedObjectId openapi_types.UUID `json:"assigned_object_id"` + AssignedObjectType string `json:"assigned_object_type"` + Created *openapi_types.Date `json:"created"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Note string `json:"note"` + Slug *string `json:"slug,omitempty"` + Url *string `json:"url,omitempty"` + User *NestedUser `json:"user,omitempty"` + UserName *string `json:"user_name,omitempty"` +} + +// NoteInputRequest defines model for NoteInputRequest. +type NoteInputRequest struct { + Note string `json:"note"` +} + +// NoteRequest This base serializer implements common fields and logic for all ModelSerializers. +// +// Namely, it: +// +// - defines the `display` field which exposes a human friendly value for the given object. +// - ensures that `id` field is always present on the serializer as well +// - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. +type NoteRequest struct { + AssignedObjectId openapi_types.UUID `json:"assigned_object_id"` + AssignedObjectType string `json:"assigned_object_type"` + Note string `json:"note"` + Slug *string `json:"slug,omitempty"` +} + +// NotificationSource Serializer for NotificationSource records. type NotificationSource struct { - // Attach all the Providers to this Notification Source + // AttachAllProviders Attach all the Providers to this Notification Source AttachAllProviders *bool `json:"attach_all_providers,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Notification Source Name as defined in configuration file. + // Name Notification Source Name as defined in configuration file. Name string `json:"name"` Providers []NestedProvider `json:"providers"` Slug string `json:"slug"` @@ -7670,27 +24226,33 @@ type NotificationSource struct { } // NullEnum defines model for NullEnum. -type NullEnum interface{} +type NullEnum = interface{} -// ObjectChange defines model for ObjectChange. +// ObjectChange This base serializer implements common fields and logic for all ModelSerializers. +// +// Namely, it: +// +// - defines the `display` field which exposes a human friendly value for the given object. +// - ensures that `id` field is always present on the serializer as well +// - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. type ObjectChange struct { Action *struct { Label *ObjectChangeActionLabel `json:"label,omitempty"` Value *ObjectChangeActionValue `json:"value,omitempty"` } `json:"action,omitempty"` - ChangedObject *ObjectChange_ChangedObject `json:"changed_object"` - ChangedObjectId openapi_types.UUID `json:"changed_object_id"` - ChangedObjectType *string `json:"changed_object_type,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - ObjectData *ObjectChange_ObjectData `json:"object_data,omitempty"` - RequestId *openapi_types.UUID `json:"request_id,omitempty"` - Time *time.Time `json:"time,omitempty"` - Url *string `json:"url,omitempty"` - User *struct { - // Embedded struct due to allOf(#/components/schemas/NestedUser) - NestedUser `yaml:",inline"` - } `json:"user,omitempty"` - UserName *string `json:"user_name,omitempty"` + ChangedObject *map[string]interface{} `json:"changed_object"` + ChangedObjectId openapi_types.UUID `json:"changed_object_id"` + ChangedObjectType *string `json:"changed_object_type,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + ObjectData *map[string]interface{} `json:"object_data,omitempty"` + RequestId *openapi_types.UUID `json:"request_id,omitempty"` + Time *time.Time `json:"time,omitempty"` + Url *string `json:"url,omitempty"` + User *NestedUser `json:"user,omitempty"` + UserName *string `json:"user_name,omitempty"` } // ObjectChangeActionLabel defines model for ObjectChange.Action.Label. @@ -7699,31 +24261,21 @@ type ObjectChangeActionLabel string // ObjectChangeActionValue defines model for ObjectChange.Action.Value. type ObjectChangeActionValue string -// ObjectChange_ChangedObject defines model for ObjectChange.ChangedObject. -type ObjectChange_ChangedObject struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// ObjectChange_ObjectData defines model for ObjectChange.ObjectData. -type ObjectChange_ObjectData struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// ObjectPermission Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) type ObjectPermission struct { - // The list of actions granted by this permission - Actions ObjectPermission_Actions `json:"actions"` + // Actions The list of actions granted by this permission + Actions map[string]interface{} `json:"actions"` - // Queryset filter matching the applicable objects of the selected type(s) - Constraints *ObjectPermission_Constraints `json:"constraints"` - Description *string `json:"description,omitempty"` + // Constraints Queryset filter matching the applicable objects of the selected type(s) + Constraints *map[string]interface{} `json:"constraints"` + Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Enabled *bool `json:"enabled,omitempty"` Groups *[]struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *int `json:"id,omitempty"` Name string `json:"name"` @@ -7734,72 +24286,89 @@ type ObjectPermission struct { ObjectTypes []string `json:"object_types"` Url *string `json:"url,omitempty"` Users *[]struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Url *string `json:"url,omitempty"` - // Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. + // Username Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. Username string `json:"username"` } `json:"users,omitempty"` } -// The list of actions granted by this permission -type ObjectPermission_Actions struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Queryset filter matching the applicable objects of the selected type(s) -type ObjectPermission_Constraints struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Serializer for the OnboardingTask model. +// OnboardingTask Serializer for the OnboardingTask model. type OnboardingTask struct { - // Created device name + // CreatedDevice Created device name CreatedDevice *string `json:"created_device,omitempty"` - // Nautobot device type 'slug' value + // DeviceType Nautobot device type 'slug' value DeviceType *string `json:"device_type,omitempty"` - // Failure reason + // FailedReason Failure reason FailedReason *string `json:"failed_reason,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // IP Address to reach device + // IpAddress IP Address to reach device IpAddress string `json:"ip_address"` - // Status message + // Message Status message Message *string `json:"message,omitempty"` - // Device password - Password *string `json:"password,omitempty"` - - // Nautobot Platform 'slug' value + // Platform Nautobot Platform 'slug' value Platform *string `json:"platform,omitempty"` - // Device PORT to check for online + // Port Device PORT to check for online Port *int `json:"port,omitempty"` - // Nautobot device role 'slug' value + // Role Nautobot device role 'slug' value Role *string `json:"role,omitempty"` - // Device secret password - Secret *string `json:"secret,omitempty"` - - // Nautobot site 'slug' value + // Site Nautobot site 'slug' value Site string `json:"site"` - // Onboarding Status + // Status Onboarding Status Status *string `json:"status,omitempty"` - // Timeout (sec) for device connect + // Timeout Timeout (sec) for device connect + Timeout *int `json:"timeout,omitempty"` +} + +// OnboardingTaskRequest Serializer for the OnboardingTask model. +type OnboardingTaskRequest struct { + // DeviceType Nautobot device type 'slug' value + DeviceType *string `json:"device_type,omitempty"` + + // IpAddress IP Address to reach device + IpAddress string `json:"ip_address"` + + // Password Device password + Password *string `json:"password,omitempty"` + + // Platform Nautobot Platform 'slug' value + Platform *string `json:"platform,omitempty"` + + // Port Device PORT to check for online + Port *int `json:"port,omitempty"` + + // Role Nautobot device role 'slug' value + Role *string `json:"role,omitempty"` + + // Secret Device secret password + Secret *string `json:"secret,omitempty"` + + // Site Nautobot site 'slug' value + Site string `json:"site"` + + // Timeout Timeout (sec) for device connect Timeout *int `json:"timeout,omitempty"` - // Device username + // Username Device username Username *string `json:"username,omitempty"` } +// OperatorEnum defines model for OperatorEnum. +type OperatorEnum string + // OuterUnitEnum defines model for OuterUnitEnum. type OuterUnitEnum string @@ -7811,6 +24380,30 @@ type PaginatedAccessGrantList struct { Results *[]AccessGrant `json:"results,omitempty"` } +// PaginatedAddressFamilyList defines model for PaginatedAddressFamilyList. +type PaginatedAddressFamilyList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]AddressFamily `json:"results,omitempty"` +} + +// PaginatedAddressObjectGroupList defines model for PaginatedAddressObjectGroupList. +type PaginatedAddressObjectGroupList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]AddressObjectGroup `json:"results,omitempty"` +} + +// PaginatedAddressObjectList defines model for PaginatedAddressObjectList. +type PaginatedAddressObjectList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]AddressObject `json:"results,omitempty"` +} + // PaginatedAggregateList defines model for PaginatedAggregateList. type PaginatedAggregateList struct { Count *int `json:"count,omitempty"` @@ -7819,6 +24412,14 @@ type PaginatedAggregateList struct { Results *[]Aggregate `json:"results,omitempty"` } +// PaginatedAutonomousSystemList defines model for PaginatedAutonomousSystemList. +type PaginatedAutonomousSystemList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]AutonomousSystem `json:"results,omitempty"` +} + // PaginatedAvailableIPList defines model for PaginatedAvailableIPList. type PaginatedAvailableIPList struct { Count *int `json:"count,omitempty"` @@ -7835,6 +24436,14 @@ type PaginatedAvailablePrefixList struct { Results *[]AvailablePrefix `json:"results,omitempty"` } +// PaginatedBGPRoutingInstanceList defines model for PaginatedBGPRoutingInstanceList. +type PaginatedBGPRoutingInstanceList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]BGPRoutingInstance `json:"results,omitempty"` +} + // PaginatedCVELCMList defines model for PaginatedCVELCMList. type PaginatedCVELCMList struct { Count *int `json:"count,omitempty"` @@ -7851,6 +24460,14 @@ type PaginatedCableList struct { Results *[]Cable `json:"results,omitempty"` } +// PaginatedCapircaPolicyList defines model for PaginatedCapircaPolicyList. +type PaginatedCapircaPolicyList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]CapircaPolicy `json:"results,omitempty"` +} + // PaginatedCircuitList defines model for PaginatedCircuitList. type PaginatedCircuitList struct { Count *int `json:"count,omitempty"` @@ -8051,12 +24668,12 @@ type PaginatedCustomFieldChoiceList struct { Results *[]CustomFieldChoice `json:"results,omitempty"` } -// PaginatedCustomFieldList defines model for PaginatedCustomFieldList. -type PaginatedCustomFieldList struct { - Count *int `json:"count,omitempty"` - Next *string `json:"next"` - Previous *string `json:"previous"` - Results *[]CustomField `json:"results,omitempty"` +// PaginatedCustomFieldSerializerVersion12List defines model for PaginatedCustomFieldSerializerVersion12List. +type PaginatedCustomFieldSerializerVersion12List struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]CustomFieldSerializerVersion12 `json:"results,omitempty"` } // PaginatedCustomLinkList defines model for PaginatedCustomLinkList. @@ -8083,6 +24700,14 @@ type PaginatedDeviceBayTemplateList struct { Results *[]DeviceBayTemplate `json:"results,omitempty"` } +// PaginatedDeviceRedundancyGroupList defines model for PaginatedDeviceRedundancyGroupList. +type PaginatedDeviceRedundancyGroupList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]DeviceRedundancyGroup `json:"results,omitempty"` +} + // PaginatedDeviceRoleList defines model for PaginatedDeviceRoleList. type PaginatedDeviceRoleList struct { Count *int `json:"count,omitempty"` @@ -8115,6 +24740,14 @@ type PaginatedDynamicGroupList struct { Results *[]DynamicGroup `json:"results,omitempty"` } +// PaginatedDynamicGroupMembershipList defines model for PaginatedDynamicGroupMembershipList. +type PaginatedDynamicGroupMembershipList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]DynamicGroupMembership `json:"results,omitempty"` +} + // PaginatedExportTemplateList defines model for PaginatedExportTemplateList. type PaginatedExportTemplateList struct { Count *int `json:"count,omitempty"` @@ -8123,6 +24756,14 @@ type PaginatedExportTemplateList struct { Results *[]ExportTemplate `json:"results,omitempty"` } +// PaginatedFQDNList defines model for PaginatedFQDNList. +type PaginatedFQDNList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]FQDN `json:"results,omitempty"` +} + // PaginatedFrontPortList defines model for PaginatedFrontPortList. type PaginatedFrontPortList struct { Count *int `json:"count,omitempty"` @@ -8195,6 +24836,14 @@ type PaginatedIPAddressList struct { Results *[]IPAddress `json:"results,omitempty"` } +// PaginatedIPRangeList defines model for PaginatedIPRangeList. +type PaginatedIPRangeList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]IPRange `json:"results,omitempty"` +} + // PaginatedImageAttachmentList defines model for PaginatedImageAttachmentList. type PaginatedImageAttachmentList struct { Count *int `json:"count,omitempty"` @@ -8211,12 +24860,12 @@ type PaginatedInterfaceConnectionList struct { Results *[]InterfaceConnection `json:"results,omitempty"` } -// PaginatedInterfaceList defines model for PaginatedInterfaceList. -type PaginatedInterfaceList struct { - Count *int `json:"count,omitempty"` - Next *string `json:"next"` - Previous *string `json:"previous"` - Results *[]Interface `json:"results,omitempty"` +// PaginatedInterfaceSerializerVersion12List defines model for PaginatedInterfaceSerializerVersion12List. +type PaginatedInterfaceSerializerVersion12List struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]InterfaceSerializerVersion12 `json:"results,omitempty"` } // PaginatedInterfaceTemplateList defines model for PaginatedInterfaceTemplateList. @@ -8235,6 +24884,14 @@ type PaginatedInventoryItemList struct { Results *[]InventoryItem `json:"results,omitempty"` } +// PaginatedJobHookList defines model for PaginatedJobHookList. +type PaginatedJobHookList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]JobHook `json:"results,omitempty"` +} + // PaginatedJobList defines model for PaginatedJobList. type PaginatedJobList struct { Count *int `json:"count,omitempty"` @@ -8267,6 +24924,22 @@ type PaginatedJobVariableList struct { Results *[]JobVariable `json:"results,omitempty"` } +// PaginatedLocationList defines model for PaginatedLocationList. +type PaginatedLocationList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Location `json:"results,omitempty"` +} + +// PaginatedLocationTypeList defines model for PaginatedLocationTypeList. +type PaginatedLocationTypeList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]LocationType `json:"results,omitempty"` +} + // PaginatedManufacturerList defines model for PaginatedManufacturerList. type PaginatedManufacturerList struct { Count *int `json:"count,omitempty"` @@ -8283,6 +24956,22 @@ type PaginatedMinMaxValidationRuleList struct { Results *[]MinMaxValidationRule `json:"results,omitempty"` } +// PaginatedNATPolicyList defines model for PaginatedNATPolicyList. +type PaginatedNATPolicyList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]NATPolicy `json:"results,omitempty"` +} + +// PaginatedNATPolicyRuleList defines model for PaginatedNATPolicyRuleList. +type PaginatedNATPolicyRuleList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]NATPolicyRule `json:"results,omitempty"` +} + // PaginatedNoteList defines model for PaginatedNoteList. type PaginatedNoteList struct { Count *int `json:"count,omitempty"` @@ -8323,6 +25012,46 @@ type PaginatedOnboardingTaskList struct { Results *[]OnboardingTask `json:"results,omitempty"` } +// PaginatedPeerEndpointList defines model for PaginatedPeerEndpointList. +type PaginatedPeerEndpointList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]PeerEndpoint `json:"results,omitempty"` +} + +// PaginatedPeerGroupList defines model for PaginatedPeerGroupList. +type PaginatedPeerGroupList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]PeerGroup `json:"results,omitempty"` +} + +// PaginatedPeerGroupTemplateList defines model for PaginatedPeerGroupTemplateList. +type PaginatedPeerGroupTemplateList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]PeerGroupTemplate `json:"results,omitempty"` +} + +// PaginatedPeeringList defines model for PaginatedPeeringList. +type PaginatedPeeringList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Peering `json:"results,omitempty"` +} + +// PaginatedPeeringRoleList defines model for PaginatedPeeringRoleList. +type PaginatedPeeringRoleList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]PeeringRole `json:"results,omitempty"` +} + // PaginatedPlatformList defines model for PaginatedPlatformList. type PaginatedPlatformList struct { Count *int `json:"count,omitempty"` @@ -8331,6 +25060,22 @@ type PaginatedPlatformList struct { Results *[]Platform `json:"results,omitempty"` } +// PaginatedPolicyList defines model for PaginatedPolicyList. +type PaginatedPolicyList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Policy `json:"results,omitempty"` +} + +// PaginatedPolicyRuleList defines model for PaginatedPolicyRuleList. +type PaginatedPolicyRuleList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]PolicyRule `json:"results,omitempty"` +} + // PaginatedPowerFeedList defines model for PaginatedPowerFeedList. type PaginatedPowerFeedList struct { Count *int `json:"count,omitempty"` @@ -8563,6 +25308,22 @@ type PaginatedServiceList struct { Results *[]Service `json:"results,omitempty"` } +// PaginatedServiceObjectGroupList defines model for PaginatedServiceObjectGroupList. +type PaginatedServiceObjectGroupList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ServiceObjectGroup `json:"results,omitempty"` +} + +// PaginatedServiceObjectList defines model for PaginatedServiceObjectList. +type PaginatedServiceObjectList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]ServiceObject `json:"results,omitempty"` +} + // PaginatedSiteList defines model for PaginatedSiteList. type PaginatedSiteList struct { Count *int `json:"count,omitempty"` @@ -8635,6 +25396,22 @@ type PaginatedUserList struct { Results *[]User `json:"results,omitempty"` } +// PaginatedUserObjectGroupList defines model for PaginatedUserObjectGroupList. +type PaginatedUserObjectGroupList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]UserObjectGroup `json:"results,omitempty"` +} + +// PaginatedUserObjectList defines model for PaginatedUserObjectList. +type PaginatedUserObjectList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]UserObject `json:"results,omitempty"` +} + // PaginatedVLANGroupList defines model for PaginatedVLANGroupList. type PaginatedVLANGroupList struct { Count *int `json:"count,omitempty"` @@ -8651,12 +25428,12 @@ type PaginatedVLANList struct { Results *[]VLAN `json:"results,omitempty"` } -// PaginatedVMInterfaceList defines model for PaginatedVMInterfaceList. -type PaginatedVMInterfaceList struct { - Count *int `json:"count,omitempty"` - Next *string `json:"next"` - Previous *string `json:"previous"` - Results *[]VMInterface `json:"results,omitempty"` +// PaginatedVMInterfaceSerializerVersion12List defines model for PaginatedVMInterfaceSerializerVersion12List. +type PaginatedVMInterfaceSerializerVersion12List struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]VMInterfaceSerializerVersion12 `json:"results,omitempty"` } // PaginatedVRFList defines model for PaginatedVRFList. @@ -8707,3429 +25484,15956 @@ type PaginatedWebhookList struct { Results *[]Webhook `json:"results,omitempty"` } -// API serializer for interacting with AccessGrant objects. -type PatchedAccessGrant struct { - // Enter * to grant access to all commands - Command *string `json:"command,omitempty"` +// PaginatedZoneList defines model for PaginatedZoneList. +type PaginatedZoneList struct { + Count *int `json:"count,omitempty"` + Next *string `json:"next"` + Previous *string `json:"previous"` + Results *[]Zone `json:"results,omitempty"` +} - // Human friendly display value - Display *string `json:"display,omitempty"` - GrantType *GrantTypeEnum `json:"grant_type,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` +// PatchedAccessGrantRequest API serializer for interacting with AccessGrant objects. +type PatchedAccessGrantRequest struct { + // Command Enter * to grant access to all commands + Command *string `json:"command,omitempty"` + GrantType *GrantTypeEnum `json:"grant_type,omitempty"` - // Organization name, channel name, or user name + // Name Organization name, channel name, or user name Name *string `json:"name,omitempty"` - // Enter * to grant access to all subcommands of the given command + // Subcommand Enter * to grant access to all subcommands of the given command Subcommand *string `json:"subcommand,omitempty"` - // Corresponding ID value to grant access to.
Enter * to grant access to all organizations, channels, or users + // Value Corresponding ID value to grant access to.
Enter * to grant access to all organizations, channels, or users Value *string `json:"value,omitempty"` } -// REST API serializer for CVELCM records. -type PatchedCVELCM struct { - Comments *string `json:"comments,omitempty"` - CustomFields *PatchedCVELCM_CustomFields `json:"custom_fields,omitempty"` - Cvss *float64 `json:"cvss"` - CvssV2 *float64 `json:"cvss_v2"` - CvssV3 *float64 `json:"cvss_v3"` - Description *string `json:"description"` +// PatchedBulkWritableAccessGrantRequest API serializer for interacting with AccessGrant objects. +type PatchedBulkWritableAccessGrantRequest struct { + // Command Enter * to grant access to all commands + Command *string `json:"command,omitempty"` + GrantType *GrantTypeEnum `json:"grant_type,omitempty"` + Id openapi_types.UUID `json:"id"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Fix *string `json:"fix"` - Id *openapi_types.UUID `json:"id,omitempty"` - Link *string `json:"link,omitempty"` - Name *string `json:"name,omitempty"` - PublishedDate *openapi_types.Date `json:"published_date,omitempty"` - Severity *string `json:"severity,omitempty"` - Status *Status4f5Enum `json:"status,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` + // Name Organization name, channel name, or user name + Name *string `json:"name,omitempty"` + + // Subcommand Enter * to grant access to all subcommands of the given command + Subcommand *string `json:"subcommand,omitempty"` + + // Value Corresponding ID value to grant access to.
Enter * to grant access to all organizations, channels, or users + Value *string `json:"value,omitempty"` } -// PatchedCVELCM_CustomFields defines model for PatchedCVELCM.CustomFields. -type PatchedCVELCM_CustomFields struct { +// PatchedBulkWritableAddressFamilyRequest REST API serializer for AddressFamily records. +type PatchedBulkWritableAddressFamilyRequest struct { + AfiSafi *AfiSafiEnum `json:"afi_safi,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + ExportPolicy *string `json:"export_policy,omitempty"` + Id openapi_types.UUID `json:"id"` + ImportPolicy *string `json:"import_policy,omitempty"` + Vrf *NestedVRFRequest `json:"vrf"` +} + +// PatchedBulkWritableAddressObjectGroupRequest AddressObjectGroup Serializer. +type PatchedBulkWritableAddressObjectGroupRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AddressObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableAddressObjectGroupRequestAddressObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"address_objects,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Name Name descriptor for a group address objects. + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableAddressObjectGroupRequest.AddressObjects.Relationships.Destination.Objects.Item. +type PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Serializer for API. -type PatchedCircuitMaintenance struct { - Ack *bool `json:"ack"` - Description *string `json:"description"` - EndTime *time.Time `json:"end_time,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - StartTime *time.Time `json:"start_time,omitempty"` - Status *interface{} `json:"status"` -} - -// Serializer for API. -type PatchedCircuitMaintenanceCircuitImpact struct { - Circuit *openapi_types.UUID `json:"circuit,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Impact *interface{} `json:"impact"` - Maintenance *openapi_types.UUID `json:"maintenance,omitempty"` -} - -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedCircuitType struct { - CircuitCount *int `json:"circuit_count,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedCircuitType_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedCircuitType_CustomFields defines model for PatchedCircuitType.CustomFields. -type PatchedCircuitType_CustomFields struct { +// PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableAddressObjectGroupRequest.AddressObjects.Relationships.Peer.Objects.Item. +type PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedClusterGroup struct { - ClusterCount *int `json:"cluster_count,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedClusterGroup_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedClusterGroup_CustomFields defines model for PatchedClusterGroup.CustomFields. -type PatchedClusterGroup_CustomFields struct { +// PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item defines model for PatchedBulkWritableAddressObjectGroupRequest.AddressObjects.Relationships.Source.Objects.Item. +type PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedClusterType struct { - ClusterCount *int `json:"cluster_count,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedClusterType_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` +// PatchedBulkWritableAddressObjectGroupRequestAddressObjectsStatus defines model for PatchedBulkWritableAddressObjectGroupRequest.AddressObjects.Status. +type PatchedBulkWritableAddressObjectGroupRequestAddressObjectsStatus string - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedClusterType_CustomFields defines model for PatchedClusterType.CustomFields. -type PatchedClusterType_CustomFields struct { +// PatchedBulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableAddressObjectGroupRequest.relationships.destination.objects.Item. +type PatchedBulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// API serializer for interacting with CommandToken objects. -type PatchedCommandToken struct { - // Optional: Enter description of token - Comment *string `json:"comment,omitempty"` +// PatchedBulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableAddressObjectGroupRequest.relationships.peer.objects.Item. +type PatchedBulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Platform *PlatformEnum `json:"platform,omitempty"` +// PatchedBulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableAddressObjectGroupRequest.relationships.source.objects.Item. +type PatchedBulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Token given by chat platform for signing or command validation +// PatchedBulkWritableAddressObjectRequest AddressObject Serializer. +type PatchedBulkWritableAddressObjectRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + Id openapi_types.UUID `json:"id"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name *string `json:"name,omitempty"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableAddressObjectRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableAddressObjectRequest.relationships.destination.objects.Item. +type PatchedBulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableAddressObjectRequest.relationships.peer.objects.Item. +type PatchedBulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableAddressObjectRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableAddressObjectRequest.relationships.source.objects.Item. +type PatchedBulkWritableAddressObjectRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableAggregateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableAggregateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DateAdded *openapi_types.Date `json:"date_added"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Prefix *string `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableAggregateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableAggregateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableAggregateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // Rir Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Rir *NestedRIRRequest `json:"rir,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` +} + +// PatchedBulkWritableAggregateRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableAggregateRequest.relationships.destination.objects.Item. +type PatchedBulkWritableAggregateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableAggregateRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableAggregateRequest.relationships.peer.objects.Item. +type PatchedBulkWritableAggregateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableAggregateRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableAggregateRequest.relationships.source.objects.Item. +type PatchedBulkWritableAggregateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableAutonomousSystemRequest REST API serializer for AutonomousSystem records. +type PatchedBulkWritableAutonomousSystemRequest struct { + // Asn 32-bit autonomous system number + Asn *int64 `json:"asn,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Provider *NestedProviderRequest `json:"provider"` + Status *Status2a0Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritableBGPRoutingInstanceRequest REST API serializer for Peering records. +type PatchedBulkWritableBGPRoutingInstanceRequest struct { + AutonomousSystem *NestedAutonomousSystemRequest `json:"autonomous_system"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device *NestedDeviceRequest `json:"device,omitempty"` + Id openapi_types.UUID `json:"id"` + RouterId *NestedIPAddressRequest `json:"router_id"` +} + +// PatchedBulkWritableCVELCMRequest REST API serializer for CVELCM records. +type PatchedBulkWritableCVELCMRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Cvss *float64 `json:"cvss"` + CvssV2 *float64 `json:"cvss_v2"` + CvssV3 *float64 `json:"cvss_v3"` + Description *string `json:"description"` + Fix *string `json:"fix"` + Id openapi_types.UUID `json:"id"` + Link *string `json:"link,omitempty"` + Name *string `json:"name,omitempty"` + PublishedDate *openapi_types.Date `json:"published_date,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableCVELCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableCVELCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableCVELCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Severity *SeverityEnum `json:"severity,omitempty"` + Status *Status4f5Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritableCVELCMRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableCVELCMRequest.relationships.destination.objects.Item. +type PatchedBulkWritableCVELCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableCVELCMRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableCVELCMRequest.relationships.peer.objects.Item. +type PatchedBulkWritableCVELCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableCVELCMRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableCVELCMRequest.relationships.source.objects.Item. +type PatchedBulkWritableCVELCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableCableRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableCableRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Id openapi_types.UUID `json:"id"` + Label *string `json:"label,omitempty"` + Length *int `json:"length"` + LengthUnit *LengthUnitEnum `json:"length_unit,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableCableRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableCableRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableCableRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *CableStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + TerminationAId *openapi_types.UUID `json:"termination_a_id,omitempty"` + TerminationAType *string `json:"termination_a_type,omitempty"` + TerminationBId *openapi_types.UUID `json:"termination_b_id,omitempty"` + TerminationBType *string `json:"termination_b_type,omitempty"` + Type *PatchedBulkWritableCableRequest_Type `json:"type,omitempty"` +} + +// PatchedBulkWritableCableRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableCableRequest.relationships.destination.objects.Item. +type PatchedBulkWritableCableRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableCableRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableCableRequest.relationships.peer.objects.Item. +type PatchedBulkWritableCableRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableCableRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableCableRequest.relationships.source.objects.Item. +type PatchedBulkWritableCableRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableCableRequest_Type defines model for PatchedBulkWritableCableRequest.Type. +type PatchedBulkWritableCableRequest_Type struct { + union json.RawMessage +} + +// PatchedBulkWritableCapircaPolicyRequest CapircaPolicy Serializer. +type PatchedBulkWritableCapircaPolicyRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Cfg *string `json:"cfg"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Device *openapi_types.UUID `json:"device"` + Id openapi_types.UUID `json:"id"` + Net *string `json:"net"` + Pol *string `json:"pol"` + Svc *string `json:"svc"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest Serializer for API. +type PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest struct { + Circuit *openapi_types.UUID `json:"circuit,omitempty"` + Id openapi_types.UUID `json:"id"` + Impact *PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact `json:"impact"` + Maintenance *openapi_types.UUID `json:"maintenance,omitempty"` +} + +// PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact defines model for PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest.Impact. +type PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact struct { + union json.RawMessage +} + +// PatchedBulkWritableCircuitMaintenanceRequest Serializer for API. +type PatchedBulkWritableCircuitMaintenanceRequest struct { + Ack *bool `json:"ack"` + Description *string `json:"description"` + EndTime *time.Time `json:"end_time,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + StartTime *time.Time `json:"start_time,omitempty"` + Status *PatchedBulkWritableCircuitMaintenanceRequest_Status `json:"status"` +} + +// PatchedBulkWritableCircuitMaintenanceRequest_Status defines model for PatchedBulkWritableCircuitMaintenanceRequest.Status. +type PatchedBulkWritableCircuitMaintenanceRequest_Status struct { + union json.RawMessage +} + +// PatchedBulkWritableCircuitRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableCircuitRequest struct { + Cid *string `json:"cid,omitempty"` + Comments *string `json:"comments,omitempty"` + CommitRate *int `json:"commit_rate"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + InstallDate *openapi_types.Date `json:"install_date"` + + // Provider Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Provider *NestedProviderRequest `json:"provider,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableCircuitRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableCircuitRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableCircuitRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *CircuitStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + + // Type Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Type *NestedCircuitTypeRequest `json:"type,omitempty"` +} + +// PatchedBulkWritableCircuitRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableCircuitRequest.relationships.destination.objects.Item. +type PatchedBulkWritableCircuitRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableCircuitRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableCircuitRequest.relationships.peer.objects.Item. +type PatchedBulkWritableCircuitRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableCircuitRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableCircuitRequest.relationships.source.objects.Item. +type PatchedBulkWritableCircuitRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableCircuitTerminationRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableCircuitTerminationRequest struct { + // Circuit Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Circuit *NestedCircuitRequest `json:"circuit,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Location *NestedLocationRequest `json:"location"` + PortSpeed *int `json:"port_speed"` + PpInfo *string `json:"pp_info,omitempty"` + ProviderNetwork *NestedProviderNetworkRequest `json:"provider_network"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Site *NestedSiteRequest `json:"site"` + TermSide *TermSideEnum `json:"term_side,omitempty"` + + // UpstreamSpeed Upstream speed, if different from port speed + UpstreamSpeed *int `json:"upstream_speed"` + XconnectId *string `json:"xconnect_id,omitempty"` +} + +// PatchedBulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableCircuitTerminationRequest.relationships.destination.objects.Item. +type PatchedBulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableCircuitTerminationRequest.relationships.peer.objects.Item. +type PatchedBulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableCircuitTerminationRequest.relationships.source.objects.Item. +type PatchedBulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableCircuitTypeRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableCircuitTypeRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedBulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableCircuitTypeRequest.relationships.destination.objects.Item. +type PatchedBulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableCircuitTypeRequest.relationships.peer.objects.Item. +type PatchedBulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableCircuitTypeRequest.relationships.source.objects.Item. +type PatchedBulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableClusterGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableClusterGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableClusterGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedBulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableClusterGroupRequest.relationships.destination.objects.Item. +type PatchedBulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableClusterGroupRequest.relationships.peer.objects.Item. +type PatchedBulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableClusterGroupRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableClusterGroupRequest.relationships.source.objects.Item. +type PatchedBulkWritableClusterGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableClusterRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableClusterRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Group *NestedClusterGroupRequest `json:"group"` + Id openapi_types.UUID `json:"id"` + Location *NestedLocationRequest `json:"location"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableClusterRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableClusterRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableClusterRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Site *NestedSiteRequest `json:"site"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + + // Type Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Type *NestedClusterTypeRequest `json:"type,omitempty"` +} + +// PatchedBulkWritableClusterRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableClusterRequest.relationships.destination.objects.Item. +type PatchedBulkWritableClusterRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableClusterRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableClusterRequest.relationships.peer.objects.Item. +type PatchedBulkWritableClusterRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableClusterRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableClusterRequest.relationships.source.objects.Item. +type PatchedBulkWritableClusterRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableClusterTypeRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableClusterTypeRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableClusterTypeRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedBulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableClusterTypeRequest.relationships.destination.objects.Item. +type PatchedBulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableClusterTypeRequest.relationships.peer.objects.Item. +type PatchedBulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableClusterTypeRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableClusterTypeRequest.relationships.source.objects.Item. +type PatchedBulkWritableClusterTypeRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableCommandTokenRequest API serializer for interacting with CommandToken objects. +type PatchedBulkWritableCommandTokenRequest struct { + // Comment Optional: Enter description of token + Comment *string `json:"comment,omitempty"` + Id openapi_types.UUID `json:"id"` + Platform *PlatformEnum `json:"platform,omitempty"` + + // Token Token given by chat platform for signing or command validation Token *string `json:"token,omitempty"` } -// Serializer for ComplianceFeature object. -type PatchedComplianceFeature struct { - CustomFieldData *PatchedComplianceFeature_CustomFieldData `json:"_custom_field_data,omitempty"` - ComputedFields *PatchedComplianceFeature_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedComplianceFeature_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - Slug *string `json:"slug,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` +// PatchedBulkWritableComplianceFeatureRequest Serializer for ComplianceFeature object. +type PatchedBulkWritableComplianceFeatureRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// PatchedComplianceFeature_CustomFieldData defines model for PatchedComplianceFeature.CustomFieldData. -type PatchedComplianceFeature_CustomFieldData struct { - AdditionalProperties map[string]interface{} `json:"-"` -} +// PatchedBulkWritableComplianceRuleRequest Serializer for ComplianceRule object. +type PatchedBulkWritableComplianceRuleRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` -// PatchedComplianceFeature_ComputedFields defines model for PatchedComplianceFeature.ComputedFields. -type PatchedComplianceFeature_ComputedFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// PatchedComplianceFeature_CustomFields defines model for PatchedComplianceFeature.CustomFields. -type PatchedComplianceFeature_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Serializer for ComplianceRule object. -type PatchedComplianceRule struct { - CustomFieldData *PatchedComplianceRule_CustomFieldData `json:"_custom_field_data,omitempty"` - ComputedFields *PatchedComplianceRule_ComputedFields `json:"computed_fields,omitempty"` - - // Whether or not the configuration order matters, such as in ACLs. + // ConfigOrdered Whether or not the configuration order matters, such as in ACLs. ConfigOrdered *bool `json:"config_ordered,omitempty"` - // Whether the config is in cli or json/structured format. - ConfigType *struct { - // Embedded struct due to allOf(#/components/schemas/ConfigTypeEnum) - ConfigTypeEnum `yaml:",inline"` - } `json:"config_type,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedComplianceRule_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + // ConfigType Whether the config is in cli or json/structured format. + ConfigType *ConfigTypeEnum `json:"config_type,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Feature *openapi_types.UUID `json:"feature,omitempty"` + Id openapi_types.UUID `json:"id"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Feature *openapi_types.UUID `json:"feature,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - - // The config to match that is matched based on the parent most configuration. e.g. `router bgp` or `ntp`. - MatchConfig *string `json:"match_config"` - Platform *openapi_types.UUID `json:"platform,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` + // MatchConfig The config to match that is matched based on the parent most configuration. e.g. `router bgp` or `ntp`. + MatchConfig *string `json:"match_config"` + Platform *openapi_types.UUID `json:"platform,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// PatchedComplianceRule_CustomFieldData defines model for PatchedComplianceRule.CustomFieldData. -type PatchedComplianceRule_CustomFieldData struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// PatchedComplianceRule_ComputedFields defines model for PatchedComplianceRule.ComputedFields. -type PatchedComplianceRule_ComputedFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// PatchedComplianceRule_CustomFields defines model for PatchedComplianceRule.CustomFields. -type PatchedComplianceRule_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// PatchedBulkWritableComputedFieldRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type PatchedComputedField struct { +type PatchedBulkWritableComputedFieldRequest struct { ContentType *string `json:"content_type,omitempty"` Description *string `json:"description,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` + // FallbackValue Fallback value (if any) to be output for the field in the case of a template rendering error. + FallbackValue *string `json:"fallback_value,omitempty"` + Id openapi_types.UUID `json:"id"` - // Fallback value (if any) to be output for the field in the case of a template rendering error. - FallbackValue *string `json:"fallback_value,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Name of the field as displayed to users + // Label Name of the field as displayed to users Label *string `json:"label,omitempty"` - // Internal field name + // Slug Internal field name. Please use underscores rather than dashes in this slug. Slug *string `json:"slug,omitempty"` - // Jinja2 template code for field value + // Template Jinja2 template code for field value Template *string `json:"template,omitempty"` - Url *string `json:"url,omitempty"` Weight *int `json:"weight,omitempty"` } -// Serializer for ConfigCompliance object. -type PatchedConfigCompliance struct { - CustomFieldData *PatchedConfigCompliance_CustomFieldData `json:"_custom_field_data,omitempty"` +// PatchedBulkWritableConfigComplianceRequest Serializer for ConfigCompliance object. +type PatchedBulkWritableConfigComplianceRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` - // Actual Configuration for feature - Actual *PatchedConfigCompliance_Actual `json:"actual,omitempty"` - Compliance *bool `json:"compliance"` - ComplianceInt *int `json:"compliance_int"` - ComputedFields *PatchedConfigCompliance_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedConfigCompliance_CustomFields `json:"custom_fields,omitempty"` + // Actual Actual Configuration for feature + Actual *map[string]interface{} `json:"actual,omitempty"` + Compliance *bool `json:"compliance"` + ComplianceInt *int `json:"compliance_int"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - // The device + // Device The device Device *openapi_types.UUID `json:"device,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` + // Extra Configuration that should not be on the device. + Extra *map[string]interface{} `json:"extra,omitempty"` + Id openapi_types.UUID `json:"id"` - // Configuration that should not be on the device. - Extra *PatchedConfigCompliance_Extra `json:"extra,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` + // Intended Intended Configuration for feature + Intended *map[string]interface{} `json:"intended,omitempty"` - // Intended Configuration for feature - Intended *PatchedConfigCompliance_Intended `json:"intended,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - - // Configuration that should be on the device. - Missing *PatchedConfigCompliance_Missing `json:"missing,omitempty"` - Ordered *bool `json:"ordered,omitempty"` - Rule *openapi_types.UUID `json:"rule,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` + // Missing Configuration that should be on the device. + Missing *map[string]interface{} `json:"missing,omitempty"` + Ordered *bool `json:"ordered,omitempty"` + Rule *openapi_types.UUID `json:"rule,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// PatchedConfigCompliance_CustomFieldData defines model for PatchedConfigCompliance.CustomFieldData. -type PatchedConfigCompliance_CustomFieldData struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Actual Configuration for feature -type PatchedConfigCompliance_Actual struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// PatchedConfigCompliance_ComputedFields defines model for PatchedConfigCompliance.ComputedFields. -type PatchedConfigCompliance_ComputedFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// PatchedConfigCompliance_CustomFields defines model for PatchedConfigCompliance.CustomFields. -type PatchedConfigCompliance_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Configuration that should not be on the device. -type PatchedConfigCompliance_Extra struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Intended Configuration for feature -type PatchedConfigCompliance_Intended struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Configuration that should be on the device. -type PatchedConfigCompliance_Missing struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// PatchedBulkWritableConfigContextRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type PatchedConfigContextSchema struct { - Created *openapi_types.Date `json:"created,omitempty"` - - // A JSON Schema document which is used to validate a config context object. - DataSchema *PatchedConfigContextSchema_DataSchema `json:"data_schema,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - Owner *PatchedConfigContextSchema_Owner `json:"owner"` - OwnerContentType *string `json:"owner_content_type"` - OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` +type PatchedBulkWritableConfigContextRequest struct { + ClusterGroups *[]struct { + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + } `json:"cluster_groups,omitempty"` + Clusters *[]struct { + Name string `json:"name"` + } `json:"clusters,omitempty"` + Data *map[string]interface{} `json:"data,omitempty"` + Description *string `json:"description,omitempty"` + DeviceTypes *[]struct { + Model string `json:"model"` + Slug string `json:"slug"` + } `json:"device_types,omitempty"` + Id openapi_types.UUID `json:"id"` + IsActive *bool `json:"is_active,omitempty"` + Locations *[]struct { + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + } `json:"locations,omitempty"` + Name *string `json:"name,omitempty"` + OwnerContentType *string `json:"owner_content_type"` + OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` + Platforms *[]struct { + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + } `json:"platforms,omitempty"` + Regions *[]struct { + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + } `json:"regions,omitempty"` + Roles *[]struct { + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + } `json:"roles,omitempty"` + Schema *NestedConfigContextSchemaRequest `json:"schema"` + Sites *[]struct { + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + } `json:"sites,omitempty"` + Tags *[]string `json:"tags,omitempty"` + TenantGroups *[]struct { + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + } `json:"tenant_groups,omitempty"` + Tenants *[]struct { + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + } `json:"tenants,omitempty"` + Weight *int `json:"weight,omitempty"` } -// A JSON Schema document which is used to validate a config context object. -type PatchedConfigContextSchema_DataSchema struct { +// PatchedBulkWritableConfigContextSchemaRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableConfigContextSchemaRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // DataSchema A JSON Schema document which is used to validate a config context object. + DataSchema *map[string]interface{} `json:"data_schema,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + OwnerContentType *string `json:"owner_content_type"` + OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedBulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableConfigContextSchemaRequest.relationships.destination.objects.Item. +type PatchedBulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedConfigContextSchema_Owner defines model for PatchedConfigContextSchema.Owner. -type PatchedConfigContextSchema_Owner struct { +// PatchedBulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableConfigContextSchemaRequest.relationships.peer.objects.Item. +type PatchedBulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Serializer for ConfigRemove object. -type PatchedConfigRemove struct { - CustomFieldData *PatchedConfigRemove_CustomFieldData `json:"_custom_field_data,omitempty"` - ComputedFields *PatchedConfigRemove_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedConfigRemove_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - Platform *openapi_types.UUID `json:"platform,omitempty"` - - // Regex pattern used to remove a line from the backup configuration. - Regex *string `json:"regex,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedConfigRemove_CustomFieldData defines model for PatchedConfigRemove.CustomFieldData. -type PatchedConfigRemove_CustomFieldData struct { +// PatchedBulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableConfigContextSchemaRequest.relationships.source.objects.Item. +type PatchedBulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedConfigRemove_ComputedFields defines model for PatchedConfigRemove.ComputedFields. -type PatchedConfigRemove_ComputedFields struct { - AdditionalProperties map[string]interface{} `json:"-"` +// PatchedBulkWritableConfigRemoveRequest Serializer for ConfigRemove object. +type PatchedBulkWritableConfigRemoveRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Platform *openapi_types.UUID `json:"platform,omitempty"` + + // Regex Regex pattern used to remove a line from the backup configuration. + Regex *string `json:"regex,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// PatchedConfigRemove_CustomFields defines model for PatchedConfigRemove.CustomFields. -type PatchedConfigRemove_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} +// PatchedBulkWritableConfigReplaceRequest Serializer for ConfigReplace object. +type PatchedBulkWritableConfigReplaceRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Platform *openapi_types.UUID `json:"platform,omitempty"` -// Serializer for ConfigReplace object. -type PatchedConfigReplace struct { - CustomFieldData *PatchedConfigReplace_CustomFieldData `json:"_custom_field_data,omitempty"` - ComputedFields *PatchedConfigReplace_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedConfigReplace_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - Platform *openapi_types.UUID `json:"platform,omitempty"` - - // Regex pattern that will be found and replaced with 'replaced text'. + // Regex Regex pattern that will be found and replaced with 'replaced text'. Regex *string `json:"regex,omitempty"` - // Text that will be inserted in place of Regex pattern match. - Replace *string `json:"replace,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` + // Replace Text that will be inserted in place of Regex pattern match. + Replace *string `json:"replace,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// PatchedConfigReplace_CustomFieldData defines model for PatchedConfigReplace.CustomFieldData. -type PatchedConfigReplace_CustomFieldData struct { +// PatchedBulkWritableConsolePortRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableConsolePortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device *NestedDeviceRequest `json:"device,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableConsolePortRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableConsolePortRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableConsolePortRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type *ConsolePortTypeChoices `json:"type,omitempty"` +} + +// PatchedBulkWritableConsolePortRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableConsolePortRequest.relationships.destination.objects.Item. +type PatchedBulkWritableConsolePortRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedConfigReplace_ComputedFields defines model for PatchedConfigReplace.ComputedFields. -type PatchedConfigReplace_ComputedFields struct { +// PatchedBulkWritableConsolePortRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableConsolePortRequest.relationships.peer.objects.Item. +type PatchedBulkWritableConsolePortRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedConfigReplace_CustomFields defines model for PatchedConfigReplace.CustomFields. -type PatchedConfigReplace_CustomFields struct { +// PatchedBulkWritableConsolePortRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableConsolePortRequest.relationships.source.objects.Item. +type PatchedBulkWritableConsolePortRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// PatchedBulkWritableConsolePortTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableConsolePortTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceType *NestedDeviceTypeRequest `json:"device_type,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *ConsolePortTypeChoices `json:"type,omitempty"` +} + +// PatchedBulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableConsolePortTemplateRequest.relationships.destination.objects.Item. +type PatchedBulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableConsolePortTemplateRequest.relationships.peer.objects.Item. +type PatchedBulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableConsolePortTemplateRequest.relationships.source.objects.Item. +type PatchedBulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableConsoleServerPortRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableConsoleServerPortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device *NestedDeviceRequest `json:"device,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type *ConsolePortTypeChoices `json:"type,omitempty"` +} + +// PatchedBulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableConsoleServerPortRequest.relationships.destination.objects.Item. +type PatchedBulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableConsoleServerPortRequest.relationships.peer.objects.Item. +type PatchedBulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableConsoleServerPortRequest.relationships.source.objects.Item. +type PatchedBulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableConsoleServerPortTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableConsoleServerPortTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceType *NestedDeviceTypeRequest `json:"device_type,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *ConsolePortTypeChoices `json:"type,omitempty"` +} + +// PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableConsoleServerPortTemplateRequest.relationships.destination.objects.Item. +type PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableConsoleServerPortTemplateRequest.relationships.peer.objects.Item. +type PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableConsoleServerPortTemplateRequest.relationships.source.objects.Item. +type PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableContactLCMRequest API serializer. +type PatchedBulkWritableContactLCMRequest struct { + Address *string `json:"address,omitempty"` + Comments *string `json:"comments,omitempty"` + + // Contract Associated Contract + Contract *NestedContractLCMRequest `json:"contract,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name"` + Phone *string `json:"phone,omitempty"` + Priority *int `json:"priority,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableContactLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableContactLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableContactLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritableContactLCMRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableContactLCMRequest.relationships.destination.objects.Item. +type PatchedBulkWritableContactLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableContactLCMRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableContactLCMRequest.relationships.peer.objects.Item. +type PatchedBulkWritableContactLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableContactLCMRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableContactLCMRequest.relationships.source.objects.Item. +type PatchedBulkWritableContactLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableContractLCMRequest API serializer. +type PatchedBulkWritableContractLCMRequest struct { + ContractType *string `json:"contract_type"` + Cost *string `json:"cost"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + End *openapi_types.Date `json:"end"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + + // Provider Vendor + Provider *NestedProviderLCMRequest `json:"provider,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableContractLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableContractLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableContractLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Start *openapi_types.Date `json:"start"` + SupportLevel *string `json:"support_level"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritableContractLCMRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableContractLCMRequest.relationships.destination.objects.Item. +type PatchedBulkWritableContractLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableContractLCMRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableContractLCMRequest.relationships.peer.objects.Item. +type PatchedBulkWritableContractLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableContractLCMRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableContractLCMRequest.relationships.source.objects.Item. +type PatchedBulkWritableContractLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableCustomFieldChoiceRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type PatchedCustomLink struct { - // The class of the first link in a group will be used for the dropdown button - ButtonClass *struct { - // Embedded struct due to allOf(#/components/schemas/ButtonClassEnum) - ButtonClassEnum `yaml:",inline"` - } `json:"button_class,omitempty"` - ContentType *string `json:"content_type,omitempty"` +type PatchedBulkWritableCustomFieldChoiceRequest struct { + // Field Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Field *NestedCustomFieldRequest `json:"field,omitempty"` + Id openapi_types.UUID `json:"id"` + Value *string `json:"value,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` + // Weight Higher weights appear later in the list + Weight *int `json:"weight,omitempty"` +} - // Links with the same group will appear as a dropdown menu - GroupName *string `json:"group_name,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Name *string `json:"name,omitempty"` +// PatchedBulkWritableCustomLinkRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedBulkWritableCustomLinkRequest struct { + // ButtonClass The class of the first link in a group will be used for the dropdown button + ButtonClass *ButtonClassEnum `json:"button_class,omitempty"` + ContentType *string `json:"content_type,omitempty"` - // Force link to open in a new window + // GroupName Links with the same group will appear as a dropdown menu + GroupName *string `json:"group_name,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + + // NewWindow Force link to open in a new window NewWindow *bool `json:"new_window,omitempty"` - // Jinja2 template code for link URL. Reference the object as {{ obj }} such as {{ obj.platform.slug }}. + // TargetUrl Jinja2 template code for link URL. Reference the object as {{ obj }} such as {{ obj.platform.slug }}. TargetUrl *string `json:"target_url,omitempty"` - // Jinja2 template code for link text. Reference the object as {{ obj }} such as {{ obj.platform.slug }}. Links which render as empty text will not be displayed. + // Text Jinja2 template code for link text. Reference the object as {{ obj }} such as {{ obj.platform.slug }}. Links which render as empty text will not be displayed. Text *string `json:"text,omitempty"` - Url *string `json:"url,omitempty"` Weight *int `json:"weight,omitempty"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedDeviceRole struct { - Color *string `json:"color,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedDeviceRole_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceCount *int `json:"device_count,omitempty"` +// PatchedBulkWritableDeviceBayRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableDeviceBayRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` - VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device *NestedDeviceRequest `json:"device,omitempty"` + Id openapi_types.UUID `json:"id"` + InstalledDevice *NestedDeviceRequest `json:"installed_device"` - // Virtual machines may be assigned to this role + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableDeviceBayRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableDeviceBayRequest.relationships.destination.objects.Item. +type PatchedBulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableDeviceBayRequest.relationships.peer.objects.Item. +type PatchedBulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableDeviceBayRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableDeviceBayRequest.relationships.source.objects.Item. +type PatchedBulkWritableDeviceBayRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableDeviceBayTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableDeviceBayTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceType *NestedDeviceTypeRequest `json:"device_type,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` +} + +// PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableDeviceBayTemplateRequest.relationships.destination.objects.Item. +type PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableDeviceBayTemplateRequest.relationships.peer.objects.Item. +type PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableDeviceBayTemplateRequest.relationships.source.objects.Item. +type PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableDeviceRedundancyGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableDeviceRedundancyGroupRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + FailoverStrategy *FailoverStrategyEnum `json:"failover_strategy,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + SecretsGroup *openapi_types.UUID `json:"secrets_group"` + Slug *string `json:"slug,omitempty"` + Status *LocationStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableDeviceRedundancyGroupRequest.relationships.destination.objects.Item. +type PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableDeviceRedundancyGroupRequest.relationships.peer.objects.Item. +type PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableDeviceRedundancyGroupRequest.relationships.source.objects.Item. +type PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableDeviceRoleRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableDeviceRoleRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + + // VmRole Virtual machines may be assigned to this role VmRole *bool `json:"vm_role,omitempty"` } -// PatchedDeviceRole_CustomFields defines model for PatchedDeviceRole.CustomFields. -type PatchedDeviceRole_CustomFields struct { +// PatchedBulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableDeviceRoleRequest.relationships.destination.objects.Item. +type PatchedBulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// PatchedBulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableDeviceRoleRequest.relationships.peer.objects.Item. +type PatchedBulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableDeviceRoleRequest.relationships.source.objects.Item. +type PatchedBulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableDeviceTypeRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableDeviceTypeRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + FrontImage *openapi_types.File `json:"front_image,omitempty"` + Id openapi_types.UUID `json:"id"` + + // IsFullDepth Device consumes both front and rear rack faces + IsFullDepth *bool `json:"is_full_depth,omitempty"` + + // Manufacturer Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Manufacturer *NestedManufacturerRequest `json:"manufacturer,omitempty"` + Model *string `json:"model,omitempty"` + + // PartNumber Discrete part number (optional) + PartNumber *string `json:"part_number,omitempty"` + RearImage *openapi_types.File `json:"rear_image,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + SubdeviceRole *SubdeviceRoleEnum `json:"subdevice_role,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + UHeight *int `json:"u_height,omitempty"` +} + +// PatchedBulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableDeviceTypeRequest.relationships.destination.objects.Item. +type PatchedBulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableDeviceTypeRequest.relationships.peer.objects.Item. +type PatchedBulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableDeviceTypeRequest.relationships.source.objects.Item. +type PatchedBulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableDeviceWithConfigContextRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableDeviceWithConfigContextRequest struct { + // AssetTag A unique tag used to identify this device + AssetTag *string `json:"asset_tag"` + Cluster *NestedClusterRequest `json:"cluster"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DeviceRedundancyGroup *NestedDeviceRedundancyGroupRequest `json:"device_redundancy_group"` + + // DeviceRedundancyGroupPriority The priority the device has in the device redundancy group. + DeviceRedundancyGroupPriority *int `json:"device_redundancy_group_priority"` + + // DeviceRole Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceRole *NestedDeviceRoleRequest `json:"device_role,omitempty"` + + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceType *NestedDeviceTypeRequest `json:"device_type,omitempty"` + Face *FaceEnum `json:"face,omitempty"` + Id openapi_types.UUID `json:"id"` + LocalContextData *map[string]interface{} `json:"local_context_data"` + LocalContextSchema *NestedConfigContextSchemaRequest `json:"local_context_schema"` + Location *NestedLocationRequest `json:"location"` + Name *string `json:"name"` + Platform *NestedPlatformRequest `json:"platform"` + + // Position The lowest-numbered unit occupied by the device + Position *int `json:"position"` + PrimaryIp4 *NestedIPAddressRequest `json:"primary_ip4"` + PrimaryIp6 *NestedIPAddressRequest `json:"primary_ip6"` + Rack *NestedRackRequest `json:"rack"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + SecretsGroup *NestedSecretsGroupRequest `json:"secrets_group"` + Serial *string `json:"serial,omitempty"` + + // Site Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Site *NestedSiteRequest `json:"site,omitempty"` + Status *DeviceStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + VcPosition *int `json:"vc_position"` + VcPriority *int `json:"vc_priority"` + VirtualChassis *NestedVirtualChassisRequest `json:"virtual_chassis"` +} + +// PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableDeviceWithConfigContextRequest.relationships.destination.objects.Item. +type PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableDeviceWithConfigContextRequest.relationships.peer.objects.Item. +type PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableDeviceWithConfigContextRequest.relationships.source.objects.Item. +type PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableDynamicGroupMembershipRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type PatchedDynamicGroup struct { - ContentType *string `json:"content_type,omitempty"` - Description *string `json:"description,omitempty"` +type PatchedBulkWritableDynamicGroupMembershipRequest struct { + // Group Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Group *NestedDynamicGroupRequest `json:"group,omitempty"` + Id openapi_types.UUID `json:"id"` + Operator *OperatorEnum `json:"operator,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` + // ParentGroup Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + ParentGroup *NestedDynamicGroupRequest `json:"parent_group,omitempty"` + Weight *int `json:"weight,omitempty"` +} - // A JSON-encoded dictionary of filter parameters for group membership - Filter *PatchedDynamicGroup_Filter `json:"filter,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` +// PatchedBulkWritableDynamicGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableDynamicGroupRequest struct { + ContentType *string `json:"content_type,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Dynamic Group name - Name *string `json:"name,omitempty"` + // Filter A JSON-encoded dictionary of filter parameters for group membership + Filter *map[string]interface{} `json:"filter,omitempty"` + Id openapi_types.UUID `json:"id"` - // Unique slug + // Name Dynamic Group name + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // Slug Unique slug Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` } -// A JSON-encoded dictionary of filter parameters for group membership -type PatchedDynamicGroup_Filter struct { +// PatchedBulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableDynamicGroupRequest.relationships.destination.objects.Item. +type PatchedBulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during -// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type PatchedExportTemplate struct { +// PatchedBulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableDynamicGroupRequest.relationships.peer.objects.Item. +type PatchedBulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableDynamicGroupRequest.relationships.source.objects.Item. +type PatchedBulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableExportTemplateRequest Extend ValidatedModelSerializer with a `relationships` field. +type PatchedBulkWritableExportTemplateRequest struct { ContentType *string `json:"content_type,omitempty"` Description *string `json:"description,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` + // FileExtension Extension to append to the rendered filename + FileExtension *string `json:"file_extension,omitempty"` + Id openapi_types.UUID `json:"id"` - // Extension to append to the rendered filename - FileExtension *string `json:"file_extension,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` + // MimeType Defaults to text/plain + MimeType *string `json:"mime_type,omitempty"` + Name *string `json:"name,omitempty"` + OwnerContentType *string `json:"owner_content_type"` + OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableExportTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` - // Defaults to text/plain - MimeType *string `json:"mime_type,omitempty"` - Name *string `json:"name,omitempty"` - Owner *PatchedExportTemplate_Owner `json:"owner"` - OwnerContentType *string `json:"owner_content_type"` - OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` - - // The list of objects being exported is passed as a context variable named queryset. + // TemplateCode The list of objects being exported is passed as a context variable named queryset. TemplateCode *string `json:"template_code,omitempty"` - Url *string `json:"url,omitempty"` } -// PatchedExportTemplate_Owner defines model for PatchedExportTemplate.Owner. -type PatchedExportTemplate_Owner struct { +// PatchedBulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableExportTemplateRequest.relationships.destination.objects.Item. +type PatchedBulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Serializer for GoldenConfig object. -type PatchedGoldenConfig struct { - CustomFieldData *PatchedGoldenConfig_CustomFieldData `json:"_custom_field_data,omitempty"` +// PatchedBulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableExportTemplateRequest.relationships.peer.objects.Item. +type PatchedBulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Full backup config for device. +// PatchedBulkWritableExportTemplateRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableExportTemplateRequest.relationships.source.objects.Item. +type PatchedBulkWritableExportTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableFQDNRequest FQDN Serializer. +type PatchedBulkWritableFQDNRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + IpAddresses *[]struct { + Address string `json:"address"` + } `json:"ip_addresses,omitempty"` + + // Name Resolvable fully qualified domain name (e.g. networktocode.com) + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableFQDNRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableFQDNRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableFQDNRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritableFQDNRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableFQDNRequest.relationships.destination.objects.Item. +type PatchedBulkWritableFQDNRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableFQDNRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableFQDNRequest.relationships.peer.objects.Item. +type PatchedBulkWritableFQDNRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableFQDNRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableFQDNRequest.relationships.source.objects.Item. +type PatchedBulkWritableFQDNRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableFrontPortRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableFrontPortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device *NestedDeviceRequest `json:"device,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + + // RearPort NestedRearPortSerializer but with parent device omitted (since front and rear ports must belong to same device) + RearPort *FrontPortRearPortRequest `json:"rear_port,omitempty"` + RearPortPosition *int `json:"rear_port_position,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableFrontPortRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableFrontPortRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableFrontPortRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type *PortTypeChoices `json:"type,omitempty"` +} + +// PatchedBulkWritableFrontPortRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableFrontPortRequest.relationships.destination.objects.Item. +type PatchedBulkWritableFrontPortRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableFrontPortRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableFrontPortRequest.relationships.peer.objects.Item. +type PatchedBulkWritableFrontPortRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableFrontPortRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableFrontPortRequest.relationships.source.objects.Item. +type PatchedBulkWritableFrontPortRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableFrontPortTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableFrontPortTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceType *NestedDeviceTypeRequest `json:"device_type,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + + // RearPort Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + RearPort *NestedRearPortTemplateRequest `json:"rear_port,omitempty"` + RearPortPosition *int `json:"rear_port_position,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *PortTypeChoices `json:"type,omitempty"` +} + +// PatchedBulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableFrontPortTemplateRequest.relationships.destination.objects.Item. +type PatchedBulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableFrontPortTemplateRequest.relationships.peer.objects.Item. +type PatchedBulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableFrontPortTemplateRequest.relationships.source.objects.Item. +type PatchedBulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableGitRepositoryRequest Git repositories defined as a data source. +type PatchedBulkWritableGitRepositoryRequest struct { + Branch *string `json:"branch,omitempty"` + + // CurrentHead Commit hash of the most recent fetch from the selected branch. Used for syncing between workers. + CurrentHead *string `json:"current_head,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + ProvidedContents *[]PatchedBulkWritableGitRepositoryRequest_ProvidedContents_Item `json:"provided_contents,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // RemoteUrl Only HTTP and HTTPS URLs are presently supported + RemoteUrl *string `json:"remote_url,omitempty"` + SecretsGroup *NestedSecretsGroupRequest `json:"secrets_group"` + Slug *string `json:"slug,omitempty"` + Token *string `json:"token,omitempty"` + Username *string `json:"username,omitempty"` +} + +// PatchedBulkWritableGitRepositoryRequest_ProvidedContents_Item defines model for PatchedBulkWritableGitRepositoryRequest.provided_contents.Item. +type PatchedBulkWritableGitRepositoryRequest_ProvidedContents_Item struct { + union json.RawMessage +} + +// PatchedBulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableGitRepositoryRequest.relationships.destination.objects.Item. +type PatchedBulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableGitRepositoryRequest.relationships.peer.objects.Item. +type PatchedBulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableGitRepositoryRequest.relationships.source.objects.Item. +type PatchedBulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableGoldenConfigRequest Serializer for GoldenConfig object. +type PatchedBulkWritableGoldenConfigRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + + // BackupConfig Full backup config for device. BackupConfig *string `json:"backup_config,omitempty"` BackupLastAttemptDate *time.Time `json:"backup_last_attempt_date"` BackupLastSuccessDate *time.Time `json:"backup_last_success_date"` - // Full config diff for device. - ComplianceConfig *string `json:"compliance_config,omitempty"` - ComplianceLastAttemptDate *time.Time `json:"compliance_last_attempt_date"` - ComplianceLastSuccessDate *time.Time `json:"compliance_last_success_date"` - ComputedFields *PatchedGoldenConfig_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedGoldenConfig_CustomFields `json:"custom_fields,omitempty"` + // ComplianceConfig Full config diff for device. + ComplianceConfig *string `json:"compliance_config,omitempty"` + ComplianceLastAttemptDate *time.Time `json:"compliance_last_attempt_date"` + ComplianceLastSuccessDate *time.Time `json:"compliance_last_success_date"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - // device + // Device device Device *openapi_types.UUID `json:"device,omitempty"` + Id openapi_types.UUID `json:"id"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Intended config for the device. - IntendedConfig *string `json:"intended_config,omitempty"` - IntendedLastAttemptDate *time.Time `json:"intended_last_attempt_date"` - IntendedLastSuccessDate *time.Time `json:"intended_last_success_date"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` + // IntendedConfig Intended config for the device. + IntendedConfig *string `json:"intended_config,omitempty"` + IntendedLastAttemptDate *time.Time `json:"intended_last_attempt_date"` + IntendedLastSuccessDate *time.Time `json:"intended_last_success_date"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// PatchedGoldenConfig_CustomFieldData defines model for PatchedGoldenConfig.CustomFieldData. -type PatchedGoldenConfig_CustomFieldData struct { - AdditionalProperties map[string]interface{} `json:"-"` -} +// PatchedBulkWritableGoldenConfigSettingRequest Serializer for GoldenConfigSetting object. +type PatchedBulkWritableGoldenConfigSettingRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` -// PatchedGoldenConfig_ComputedFields defines model for PatchedGoldenConfig.ComputedFields. -type PatchedGoldenConfig_ComputedFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// PatchedGoldenConfig_CustomFields defines model for PatchedGoldenConfig.CustomFields. -type PatchedGoldenConfig_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Serializer for GoldenConfigSetting object. -type PatchedGoldenConfigSetting struct { - CustomFieldData *PatchedGoldenConfigSetting_CustomFieldData `json:"_custom_field_data,omitempty"` - - // The Jinja path representation of where the backup file will be found. The variable `obj` is available as the device instance object of a given device, as is the case for all Jinja templates. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + // BackupPathTemplate The Jinja path representation of where the backup file will be found. The variable `obj` is available as the device instance object of a given device, as is the case for all Jinja templates. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` BackupPathTemplate *string `json:"backup_path_template,omitempty"` BackupRepository *openapi_types.UUID `json:"backup_repository"` - // Whether or not to pretest the connectivity of the device by verifying there is a resolvable IP that can connect to port 22. - BackupTestConnectivity *bool `json:"backup_test_connectivity,omitempty"` - ComputedFields *PatchedGoldenConfigSetting_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedGoldenConfigSetting_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + // BackupTestConnectivity Whether or not to pretest the connectivity of the device by verifying there is a resolvable IP that can connect to port 22. + BackupTestConnectivity *bool `json:"backup_test_connectivity,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` + // DynamicGroup Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DynamicGroup *NestedDynamicGroupRequest `json:"dynamic_group,omitempty"` + Id openapi_types.UUID `json:"id"` - // The Jinja path representation of where the generated file will be places. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + // IntendedPathTemplate The Jinja path representation of where the generated file will be places. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` IntendedPathTemplate *string `json:"intended_path_template,omitempty"` IntendedRepository *openapi_types.UUID `json:"intended_repository"` - // The Jinja path representation of where the Jinja template can be found. e.g. `{{obj.platform.slug}}.j2` - JinjaPathTemplate *string `json:"jinja_path_template,omitempty"` - JinjaRepository *openapi_types.UUID `json:"jinja_repository"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - - // API filter in JSON format matching the list of devices for the scope of devices to be considered. - Scope *PatchedGoldenConfigSetting_Scope `json:"scope"` - Slug *string `json:"slug,omitempty"` - SotAggQuery *openapi_types.UUID `json:"sot_agg_query"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` - Weight *int `json:"weight,omitempty"` + // JinjaPathTemplate The Jinja path representation of where the Jinja template can be found. e.g. `{{obj.platform.slug}}.j2` + JinjaPathTemplate *string `json:"jinja_path_template,omitempty"` + JinjaRepository *openapi_types.UUID `json:"jinja_repository"` + Name *string `json:"name,omitempty"` + Scope *map[string]interface{} `json:"scope,omitempty"` + Slug *string `json:"slug,omitempty"` + SotAggQuery *openapi_types.UUID `json:"sot_agg_query"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Weight *int `json:"weight,omitempty"` } -// PatchedGoldenConfigSetting_CustomFieldData defines model for PatchedGoldenConfigSetting.CustomFieldData. -type PatchedGoldenConfigSetting_CustomFieldData struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// PatchedGoldenConfigSetting_ComputedFields defines model for PatchedGoldenConfigSetting.ComputedFields. -type PatchedGoldenConfigSetting_ComputedFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// PatchedGoldenConfigSetting_CustomFields defines model for PatchedGoldenConfigSetting.CustomFields. -type PatchedGoldenConfigSetting_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// API filter in JSON format matching the list of devices for the scope of devices to be considered. -type PatchedGoldenConfigSetting_Scope struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// PatchedBulkWritableGraphQLQueryRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type PatchedGraphQLQuery struct { - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - Query *string `json:"query,omitempty"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` - Variables *PatchedGraphQLQuery_Variables `json:"variables"` +type PatchedBulkWritableGraphQLQueryRequest struct { + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Query *string `json:"query,omitempty"` + Slug *string `json:"slug,omitempty"` + Variables *map[string]interface{} `json:"variables"` } -// PatchedGraphQLQuery_Variables defines model for PatchedGraphQLQuery.Variables. -type PatchedGraphQLQuery_Variables struct { +// PatchedBulkWritableGroupRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedBulkWritableGroupRequest struct { + Id int `json:"id"` + Name *string `json:"name,omitempty"` +} + +// PatchedBulkWritableHardwareLCMRequest API serializer. +type PatchedBulkWritableHardwareLCMRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // DeviceType Device Type to attach the Hardware LCM to + DeviceType *NestedDeviceTypeRequest `json:"device_type,omitempty"` + DocumentationUrl *string `json:"documentation_url,omitempty"` + EndOfSale *openapi_types.Date `json:"end_of_sale"` + EndOfSecurityPatches *openapi_types.Date `json:"end_of_security_patches"` + EndOfSupport *openapi_types.Date `json:"end_of_support"` + EndOfSwReleases *openapi_types.Date `json:"end_of_sw_releases"` + Id openapi_types.UUID `json:"id"` + InventoryItem *string `json:"inventory_item"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ReleaseDate *openapi_types.Date `json:"release_date"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableHardwareLCMRequest.relationships.destination.objects.Item. +type PatchedBulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during -// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type PatchedGroup struct { - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *int `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - Url *string `json:"url,omitempty"` - UserCount *int `json:"user_count,omitempty"` -} - -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during -// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type PatchedImageAttachment struct { - ContentType *string `json:"content_type,omitempty"` - Created *time.Time `json:"created,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Image *string `json:"image,omitempty"` - ImageHeight *int `json:"image_height,omitempty"` - ImageWidth *int `json:"image_width,omitempty"` - Name *string `json:"name,omitempty"` - ObjectId *openapi_types.UUID `json:"object_id,omitempty"` - Parent *PatchedImageAttachment_Parent `json:"parent,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedImageAttachment_Parent defines model for PatchedImageAttachment.Parent. -type PatchedImageAttachment_Parent struct { +// PatchedBulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableHardwareLCMRequest.relationships.peer.objects.Item. +type PatchedBulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedJob struct { - // Whether the job requires approval from another user before running +// PatchedBulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableHardwareLCMRequest.relationships.source.objects.Item. +type PatchedBulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableIPAddressRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableIPAddressRequest struct { + Address *string `json:"address,omitempty"` + AssignedObjectId *openapi_types.UUID `json:"assigned_object_id"` + AssignedObjectType *string `json:"assigned_object_type"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DnsName Hostname or FQDN (not case-sensitive) + DnsName *string `json:"dns_name,omitempty"` + Id openapi_types.UUID `json:"id"` + NatInside *NestedIPAddressRequest `json:"nat_inside"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableIPAddressRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableIPAddressRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableIPAddressRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Role *RoleEnum `json:"role,omitempty"` + Status *IPAddressStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + Vrf *NestedVRFRequest `json:"vrf"` +} + +// PatchedBulkWritableIPAddressRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableIPAddressRequest.relationships.destination.objects.Item. +type PatchedBulkWritableIPAddressRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableIPAddressRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableIPAddressRequest.relationships.peer.objects.Item. +type PatchedBulkWritableIPAddressRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableIPAddressRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableIPAddressRequest.relationships.source.objects.Item. +type PatchedBulkWritableIPAddressRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableIPRangeRequest IPRange Serializer. +type PatchedBulkWritableIPRangeRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + EndAddress *string `json:"end_address,omitempty"` + Id openapi_types.UUID `json:"id"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableIPRangeRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableIPRangeRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableIPRangeRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + StartAddress *string `json:"start_address,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Vrf *openapi_types.UUID `json:"vrf"` +} + +// PatchedBulkWritableIPRangeRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableIPRangeRequest.relationships.destination.objects.Item. +type PatchedBulkWritableIPRangeRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableIPRangeRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableIPRangeRequest.relationships.peer.objects.Item. +type PatchedBulkWritableIPRangeRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableIPRangeRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableIPRangeRequest.relationships.source.objects.Item. +type PatchedBulkWritableIPRangeRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableImageAttachmentRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedBulkWritableImageAttachmentRequest struct { + ContentType *string `json:"content_type,omitempty"` + Id openapi_types.UUID `json:"id"` + Image *openapi_types.File `json:"image,omitempty"` + ImageHeight *int `json:"image_height,omitempty"` + ImageWidth *int `json:"image_width,omitempty"` + Name *string `json:"name,omitempty"` + ObjectId *openapi_types.UUID `json:"object_id,omitempty"` +} + +// PatchedBulkWritableInterfaceRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableInterfaceRequest struct { + Bridge *NestedInterfaceRequest `json:"bridge"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device *NestedDeviceRequest `json:"device,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Lag *NestedInterfaceRequest `json:"lag"` + MacAddress *string `json:"mac_address"` + + // MgmtOnly This interface is used only for out-of-band management + MgmtOnly *bool `json:"mgmt_only,omitempty"` + Mode *ModeEnum `json:"mode,omitempty"` + Mtu *int `json:"mtu"` + Name *string `json:"name,omitempty"` + ParentInterface *NestedInterfaceRequest `json:"parent_interface"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableInterfaceRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableInterfaceRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableInterfaceRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *InterfaceStatusChoices `json:"status,omitempty"` + TaggedVlans *[]struct { + Name string `json:"name"` + Vid int `json:"vid"` + } `json:"tagged_vlans,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type *InterfaceTypeChoices `json:"type,omitempty"` + UntaggedVlan *NestedVLANRequest `json:"untagged_vlan"` +} + +// PatchedBulkWritableInterfaceRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableInterfaceRequest.relationships.destination.objects.Item. +type PatchedBulkWritableInterfaceRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableInterfaceRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableInterfaceRequest.relationships.peer.objects.Item. +type PatchedBulkWritableInterfaceRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableInterfaceRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableInterfaceRequest.relationships.source.objects.Item. +type PatchedBulkWritableInterfaceRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableInterfaceTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableInterfaceTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceType *NestedDeviceTypeRequest `json:"device_type,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + MgmtOnly *bool `json:"mgmt_only,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *InterfaceTypeChoices `json:"type,omitempty"` +} + +// PatchedBulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableInterfaceTemplateRequest.relationships.destination.objects.Item. +type PatchedBulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableInterfaceTemplateRequest.relationships.peer.objects.Item. +type PatchedBulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableInterfaceTemplateRequest.relationships.source.objects.Item. +type PatchedBulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableInventoryItemRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableInventoryItemRequest struct { + // AssetTag A unique tag used to identify this item + AssetTag *string `json:"asset_tag"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device *NestedDeviceRequest `json:"device,omitempty"` + + // Discovered This item was automatically discovered + Discovered *bool `json:"discovered,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Manufacturer *NestedManufacturerRequest `json:"manufacturer"` + Name *string `json:"name,omitempty"` + Parent *openapi_types.UUID `json:"parent"` + + // PartId Manufacturer-assigned part identifier + PartId *string `json:"part_id,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableInventoryItemRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Serial *string `json:"serial,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableInventoryItemRequest.relationships.destination.objects.Item. +type PatchedBulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableInventoryItemRequest.relationships.peer.objects.Item. +type PatchedBulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableInventoryItemRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableInventoryItemRequest.relationships.source.objects.Item. +type PatchedBulkWritableInventoryItemRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableJobHookRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableJobHookRequest struct { + ContentTypes *[]string `json:"content_types,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Job The job that this job hook will initiate + Job *openapi_types.UUID `json:"job,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableJobHookRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableJobHookRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableJobHookRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // TypeCreate Call this job hook when a matching object is created. + TypeCreate *bool `json:"type_create,omitempty"` + + // TypeDelete Call this job hook when a matching object is deleted. + TypeDelete *bool `json:"type_delete,omitempty"` + + // TypeUpdate Call this job hook when a matching object is updated. + TypeUpdate *bool `json:"type_update,omitempty"` +} + +// PatchedBulkWritableJobHookRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableJobHookRequest.relationships.destination.objects.Item. +type PatchedBulkWritableJobHookRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableJobHookRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableJobHookRequest.relationships.peer.objects.Item. +type PatchedBulkWritableJobHookRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableJobHookRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableJobHookRequest.relationships.source.objects.Item. +type PatchedBulkWritableJobHookRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableJobRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableJobRequest struct { + // ApprovalRequired Whether the job requires approval from another user before running ApprovalRequired *bool `json:"approval_required,omitempty"` - // If set, the configured value will remain even if the underlying Job source code changes + // ApprovalRequiredOverride If set, the configured value will remain even if the underlying Job source code changes ApprovalRequiredOverride *bool `json:"approval_required_override,omitempty"` - // Whether the job defaults to committing changes when run, or defaults to a dry-run + // CommitDefault Whether the job defaults to committing changes when run, or defaults to a dry-run CommitDefault *bool `json:"commit_default,omitempty"` - // If set, the configured value will remain even if the underlying Job source code changes - CommitDefaultOverride *bool `json:"commit_default_override,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedJob_CustomFields `json:"custom_fields,omitempty"` + // CommitDefaultOverride If set, the configured value will remain even if the underlying Job source code changes + CommitDefaultOverride *bool `json:"commit_default_override,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - // Markdown formatting is supported + // Description Markdown formatting is supported Description *string `json:"description,omitempty"` - // If set, the configured description will remain even if the underlying Job source code changes + // DescriptionOverride If set, the configured description will remain even if the underlying Job source code changes DescriptionOverride *bool `json:"description_override,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - - // Whether this job can be executed by users + // Enabled Whether this job can be executed by users Enabled *bool `json:"enabled,omitempty"` - // Human-readable grouping that this job belongs to + // Grouping Human-readable grouping that this job belongs to Grouping *string `json:"grouping,omitempty"` - // If set, the configured grouping will remain even if the underlying Job source code changes + // GroupingOverride If set, the configured grouping will remain even if the underlying Job source code changes GroupingOverride *bool `json:"grouping_override,omitempty"` - // Whether the job defaults to not being shown in the UI + // HasSensitiveVariables Whether this job contains sensitive variables + HasSensitiveVariables *bool `json:"has_sensitive_variables,omitempty"` + + // HasSensitiveVariablesOverride If set, the configured value will remain even if the underlying Job source code changes + HasSensitiveVariablesOverride *bool `json:"has_sensitive_variables_override,omitempty"` + + // Hidden Whether the job defaults to not being shown in the UI Hidden *bool `json:"hidden,omitempty"` - // If set, the configured value will remain even if the underlying Job source code changes - HiddenOverride *bool `json:"hidden_override,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` + // HiddenOverride If set, the configured value will remain even if the underlying Job source code changes + HiddenOverride *bool `json:"hidden_override,omitempty"` + Id openapi_types.UUID `json:"id"` - // Whether the Python module and class providing this job are presently installed and loadable - Installed *bool `json:"installed,omitempty"` - - // Name of the Python class providing this job - JobClassName *string `json:"job_class_name,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - - // Dotted name of the Python module providing this job - ModuleName *string `json:"module_name,omitempty"` - - // Human-readable name of this job + // Name Human-readable name of this job Name *string `json:"name,omitempty"` - // If set, the configured name will remain even if the underlying Job source code changes + // NameOverride If set, the configured name will remain even if the underlying Job source code changes NameOverride *bool `json:"name_override,omitempty"` - // Whether the job is prevented from making lasting changes to the database + // ReadOnly Whether the job is prevented from making lasting changes to the database ReadOnly *bool `json:"read_only,omitempty"` - // If set, the configured value will remain even if the underlying Job source code changes - ReadOnlyOverride *bool `json:"read_only_override,omitempty"` - Slug *string `json:"slug,omitempty"` + // ReadOnlyOverride If set, the configured value will remain even if the underlying Job source code changes + ReadOnlyOverride *bool `json:"read_only_override,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableJobRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableJobRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableJobRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` - // Maximum runtime in seconds before the job will receive a SoftTimeLimitExceeded exception.
Set to 0 to use Nautobot system default + // SoftTimeLimit Maximum runtime in seconds before the job will receive a SoftTimeLimitExceeded exception.
Set to 0 to use Nautobot system default SoftTimeLimit *float64 `json:"soft_time_limit,omitempty"` - // If set, the configured value will remain even if the underlying Job source code changes - SoftTimeLimitOverride *bool `json:"soft_time_limit_override,omitempty"` + // SoftTimeLimitOverride If set, the configured value will remain even if the underlying Job source code changes + SoftTimeLimitOverride *bool `json:"soft_time_limit_override,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` - // Source of the Python code for this job - local, Git repository, or plugins - Source *string `json:"source,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` + // TaskQueues Comma separated list of task queues that this job can run on. A blank list will use the default queue + TaskQueues *map[string]interface{} `json:"task_queues,omitempty"` - // Maximum runtime in seconds before the job will be forcibly terminated.
Set to 0 to use Nautobot system default + // TaskQueuesOverride If set, the configured value will remain even if the underlying Job source code changes + TaskQueuesOverride *bool `json:"task_queues_override,omitempty"` + + // TimeLimit Maximum runtime in seconds before the job will be forcibly terminated.
Set to 0 to use Nautobot system default TimeLimit *float64 `json:"time_limit,omitempty"` - // If set, the configured value will remain even if the underlying Job source code changes - TimeLimitOverride *bool `json:"time_limit_override,omitempty"` - Url *string `json:"url,omitempty"` + // TimeLimitOverride If set, the configured value will remain even if the underlying Job source code changes + TimeLimitOverride *bool `json:"time_limit_override,omitempty"` } -// PatchedJob_CustomFields defines model for PatchedJob.CustomFields. -type PatchedJob_CustomFields struct { +// PatchedBulkWritableJobRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableJobRequest.relationships.destination.objects.Item. +type PatchedBulkWritableJobRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedJobResult defines model for PatchedJobResult. -type PatchedJobResult struct { - Completed *time.Time `json:"completed"` - Created *time.Time `json:"created,omitempty"` - Data *PatchedJobResult_Data `json:"data"` - Id *openapi_types.UUID `json:"id,omitempty"` - JobId *openapi_types.UUID `json:"job_id,omitempty"` - JobModel *struct { - // Embedded struct due to allOf(#/components/schemas/NestedJob) - NestedJob `yaml:",inline"` - } `json:"job_model,omitempty"` - Name *string `json:"name,omitempty"` - ObjType *string `json:"obj_type,omitempty"` - Schedule *struct { - // Embedded struct due to allOf(#/components/schemas/NestedScheduledJob) - NestedScheduledJob `yaml:",inline"` - } `json:"schedule,omitempty"` - Status *struct { - // Embedded struct due to allOf(#/components/schemas/JobResultStatusEnum) - JobResultStatusEnum `yaml:",inline"` - } `json:"status,omitempty"` - Url *string `json:"url,omitempty"` - User *struct { - // Embedded struct due to allOf(#/components/schemas/NestedUser) - NestedUser `yaml:",inline"` - } `json:"user,omitempty"` -} - -// PatchedJobResult_Data defines model for PatchedJobResult.Data. -type PatchedJobResult_Data struct { +// PatchedBulkWritableJobRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableJobRequest.relationships.peer.objects.Item. +type PatchedBulkWritableJobRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedManufacturer struct { - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedManufacturer_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DevicetypeCount *int `json:"devicetype_count,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - InventoryitemCount *int `json:"inventoryitem_count,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - PlatformCount *int `json:"platform_count,omitempty"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedManufacturer_CustomFields defines model for PatchedManufacturer.CustomFields. -type PatchedManufacturer_CustomFields struct { +// PatchedBulkWritableJobRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableJobRequest.relationships.source.objects.Item. +type PatchedBulkWritableJobRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Serializer for `MinMaxValidationRule` objects. -type PatchedMinMaxValidationRule struct { - ContentType *string `json:"content_type,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` +// PatchedBulkWritableLocationRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableLocationRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Enabled *bool `json:"enabled,omitempty"` + // LocationType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + LocationType *NestedLocationTypeRequest `json:"location_type,omitempty"` + Name *string `json:"name,omitempty"` + Parent *NestedLocationRequest `json:"parent"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableLocationRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableLocationRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableLocationRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Site *NestedSiteRequest `json:"site"` + Slug *string `json:"slug,omitempty"` + Status *LocationStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` +} - // Optional error message to display when validation fails. - ErrorMessage *string `json:"error_message"` - Field *string `json:"field,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` +// PatchedBulkWritableLocationRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableLocationRequest.relationships.destination.objects.Item. +type PatchedBulkWritableLocationRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // When set, apply a maximum value contraint to the value of the model field. +// PatchedBulkWritableLocationRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableLocationRequest.relationships.peer.objects.Item. +type PatchedBulkWritableLocationRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableLocationRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableLocationRequest.relationships.source.objects.Item. +type PatchedBulkWritableLocationRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableLocationTypeRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableLocationTypeRequest struct { + ContentTypes *[]string `json:"content_types,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + + // Nestable Allow Locations of this type to be parents/children of other Locations of this same type + Nestable *bool `json:"nestable,omitempty"` + Parent *NestedLocationTypeRequest `json:"parent"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableLocationTypeRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedBulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableLocationTypeRequest.relationships.destination.objects.Item. +type PatchedBulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableLocationTypeRequest.relationships.peer.objects.Item. +type PatchedBulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableLocationTypeRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableLocationTypeRequest.relationships.source.objects.Item. +type PatchedBulkWritableLocationTypeRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableManufacturerRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableManufacturerRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableManufacturerRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableManufacturerRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableManufacturerRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedBulkWritableManufacturerRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableManufacturerRequest.relationships.destination.objects.Item. +type PatchedBulkWritableManufacturerRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableManufacturerRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableManufacturerRequest.relationships.peer.objects.Item. +type PatchedBulkWritableManufacturerRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableManufacturerRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableManufacturerRequest.relationships.source.objects.Item. +type PatchedBulkWritableManufacturerRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableMinMaxValidationRuleRequest Serializer for `MinMaxValidationRule` objects. +type PatchedBulkWritableMinMaxValidationRuleRequest struct { + ContentType *string `json:"content_type,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + + // ErrorMessage Optional error message to display when validation fails. + ErrorMessage *string `json:"error_message"` + Field *string `json:"field,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Max When set, apply a maximum value contraint to the value of the model field. Max *float64 `json:"max"` - // When set, apply a minimum value contraint to the value of the model field. + // Min When set, apply a minimum value contraint to the value of the model field. Min *float64 `json:"min"` Name *string `json:"name,omitempty"` Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` } -// Serializer for API. -type PatchedNote struct { - Comment *string `json:"comment,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Maintenance *openapi_types.UUID `json:"maintenance,omitempty"` - Title *string `json:"title,omitempty"` +// PatchedBulkWritableNATPolicyRequest NATPolicy Serializer. +type PatchedBulkWritableNATPolicyRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AssignedDevices *[]NATPolicyDeviceM2MNestedRequest `json:"assigned_devices,omitempty"` + AssignedDynamicGroups *[]NATPolicyDynamicGroupM2MNestedRequest `json:"assigned_dynamic_groups,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedProvider struct { +// PatchedBulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRequest.relationships.destination.objects.Item. +type PatchedBulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRequest.relationships.peer.objects.Item. +type PatchedBulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRequest.relationships.source.objects.Item. +type PatchedBulkWritableNATPolicyRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest PolicyRule Serializer. +type PatchedBulkWritableNATPolicyRuleRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description"` + + // DestinationZone Zone Serializer. + DestinationZone *ZoneRequest `json:"destination_zone,omitempty"` + Id openapi_types.UUID `json:"id"` + Index *int `json:"index"` + Log *bool `json:"log,omitempty"` + Name *string `json:"name,omitempty"` + OriginalDestinationAddressGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AddressObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsAddressObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"address_objects,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Name descriptor for a group address objects. + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"original_destination_address_groups,omitempty"` + OriginalDestinationAddresses *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"original_destination_addresses,omitempty"` + OriginalDestinationServiceGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ServiceObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"service_objects,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"original_destination_service_groups,omitempty"` + OriginalDestinationServices *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"original_destination_services,omitempty"` + OriginalSourceAddressGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AddressObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsAddressObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"address_objects,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Name descriptor for a group address objects. + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"original_source_address_groups,omitempty"` + OriginalSourceAddresses *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"original_source_addresses,omitempty"` + OriginalSourceServiceGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ServiceObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"service_objects,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"original_source_service_groups,omitempty"` + OriginalSourceServices *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"original_source_services,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Remark *bool `json:"remark,omitempty"` + RequestId *string `json:"request_id"` + + // SourceZone Zone Serializer. + SourceZone *ZoneRequest `json:"source_zone,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + TranslatedDestinationAddressGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AddressObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsAddressObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"address_objects,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Name descriptor for a group address objects. + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"translated_destination_address_groups,omitempty"` + TranslatedDestinationAddresses *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"translated_destination_addresses,omitempty"` + TranslatedDestinationServiceGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ServiceObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"service_objects,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"translated_destination_service_groups,omitempty"` + TranslatedDestinationServices *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"translated_destination_services,omitempty"` + TranslatedSourceAddressGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AddressObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsAddressObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"address_objects,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Name descriptor for a group address objects. + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"translated_source_address_groups,omitempty"` + TranslatedSourceAddresses *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"translated_source_addresses,omitempty"` + TranslatedSourceServiceGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ServiceObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"service_objects,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"translated_source_service_groups,omitempty"` + TranslatedSourceServices *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"translated_source_services,omitempty"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationAddressGroups.AddressObjects.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationAddressGroups.AddressObjects.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationAddressGroups.AddressObjects.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsAddressObjectsStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationAddressGroups.AddressObjects.Status. +type PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsAddressObjectsStatus string + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationAddressGroups.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationAddressGroups.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationAddressGroups.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationAddressGroups.Status. +type PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressGroupsStatus string + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationAddresses.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationAddresses.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationAddresses.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressesStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationAddresses.Status. +type PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationAddressesStatus string + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationServiceGroups.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationServiceGroups.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationServiceGroups.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsIpProtocol string + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationServiceGroups.ServiceObjects.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationServiceGroups.ServiceObjects.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationServiceGroups.ServiceObjects.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationServiceGroups.ServiceObjects.Status. +type PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsServiceObjectsStatus string + +// PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationServiceGroups.Status. +type PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServiceGroupsStatus string + +// PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesIpProtocol string + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationServices.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationServices.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationServices.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalDestinationServices.Status. +type PatchedBulkWritableNATPolicyRuleRequestOriginalDestinationServicesStatus string + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceAddressGroups.AddressObjects.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceAddressGroups.AddressObjects.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceAddressGroups.AddressObjects.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsAddressObjectsStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceAddressGroups.AddressObjects.Status. +type PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsAddressObjectsStatus string + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceAddressGroups.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceAddressGroups.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceAddressGroups.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceAddressGroups.Status. +type PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressGroupsStatus string + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceAddresses.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceAddresses.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceAddresses.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressesStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceAddresses.Status. +type PatchedBulkWritableNATPolicyRuleRequestOriginalSourceAddressesStatus string + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceServiceGroups.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceServiceGroups.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceServiceGroups.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsIpProtocol string + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceServiceGroups.ServiceObjects.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceServiceGroups.ServiceObjects.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceServiceGroups.ServiceObjects.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceServiceGroups.ServiceObjects.Status. +type PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsServiceObjectsStatus string + +// PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceServiceGroups.Status. +type PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServiceGroupsStatus string + +// PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesIpProtocol string + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceServices.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceServices.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceServices.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.OriginalSourceServices.Status. +type PatchedBulkWritableNATPolicyRuleRequestOriginalSourceServicesStatus string + +// PatchedBulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.relationships.destination.objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.relationships.peer.objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.relationships.source.objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationAddressGroups.AddressObjects.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationAddressGroups.AddressObjects.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationAddressGroups.AddressObjects.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsAddressObjectsStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationAddressGroups.AddressObjects.Status. +type PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsAddressObjectsStatus string + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationAddressGroups.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationAddressGroups.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationAddressGroups.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationAddressGroups.Status. +type PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressGroupsStatus string + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationAddresses.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationAddresses.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationAddresses.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressesStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationAddresses.Status. +type PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationAddressesStatus string + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationServiceGroups.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationServiceGroups.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationServiceGroups.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsIpProtocol string + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationServiceGroups.ServiceObjects.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationServiceGroups.ServiceObjects.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationServiceGroups.ServiceObjects.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationServiceGroups.ServiceObjects.Status. +type PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsServiceObjectsStatus string + +// PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationServiceGroups.Status. +type PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServiceGroupsStatus string + +// PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesIpProtocol string + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationServices.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationServices.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationServices.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedDestinationServices.Status. +type PatchedBulkWritableNATPolicyRuleRequestTranslatedDestinationServicesStatus string + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceAddressGroups.AddressObjects.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceAddressGroups.AddressObjects.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceAddressGroups.AddressObjects.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsAddressObjectsStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceAddressGroups.AddressObjects.Status. +type PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsAddressObjectsStatus string + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceAddressGroups.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceAddressGroups.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceAddressGroups.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceAddressGroups.Status. +type PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressGroupsStatus string + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceAddresses.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceAddresses.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceAddresses.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressesStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceAddresses.Status. +type PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceAddressesStatus string + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceServiceGroups.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceServiceGroups.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceServiceGroups.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsIpProtocol string + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceServiceGroups.ServiceObjects.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceServiceGroups.ServiceObjects.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceServiceGroups.ServiceObjects.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceServiceGroups.ServiceObjects.Status. +type PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsServiceObjectsStatus string + +// PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceServiceGroups.Status. +type PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServiceGroupsStatus string + +// PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesIpProtocol string + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceServices.Relationships.Destination.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceServices.Relationships.Peer.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceServices.Relationships.Source.Objects.Item. +type PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesStatus defines model for PatchedBulkWritableNATPolicyRuleRequest.TranslatedSourceServices.Status. +type PatchedBulkWritableNATPolicyRuleRequestTranslatedSourceServicesStatus string + +// PatchedBulkWritableNoteRequest This base serializer implements common fields and logic for all ModelSerializers. +// +// Namely, it: +// +// - defines the `display` field which exposes a human friendly value for the given object. +// - ensures that `id` field is always present on the serializer as well +// - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. +type PatchedBulkWritableNoteRequest struct { + AssignedObjectId *openapi_types.UUID `json:"assigned_object_id,omitempty"` + AssignedObjectType *string `json:"assigned_object_type,omitempty"` + Id openapi_types.UUID `json:"id"` + Note *string `json:"note,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedBulkWritableObjectPermissionRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedBulkWritableObjectPermissionRequest struct { + // Actions The list of actions granted by this permission + Actions *map[string]interface{} `json:"actions,omitempty"` + + // Constraints Queryset filter matching the applicable objects of the selected type(s) + Constraints *map[string]interface{} `json:"constraints"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Groups *[]struct { + Name string `json:"name"` + } `json:"groups,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + ObjectTypes *[]string `json:"object_types,omitempty"` + Users *[]struct { + // Username Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. + Username string `json:"username"` + } `json:"users,omitempty"` +} + +// PatchedBulkWritablePeerEndpointRequest REST API serializer for PeerEndpoint records. +type PatchedBulkWritablePeerEndpointRequest struct { + AutonomousSystem *NestedAutonomousSystemRequest `json:"autonomous_system"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + ExportPolicy *string `json:"export_policy,omitempty"` + Id openapi_types.UUID `json:"id"` + ImportPolicy *string `json:"import_policy,omitempty"` + PeerGroup *NestedPeerGroupRequest `json:"peer_group"` + Peering *NestedPeeringRequest `json:"peering"` + Secret *NestedSecretRequest `json:"secret"` + SourceInterface *NestedInterfaceRequest `json:"source_interface"` + SourceIp *NestedIPAddressRequest `json:"source_ip"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritablePeerGroupRequest REST API serializer for PeerGroup records. +type PatchedBulkWritablePeerGroupRequest struct { + AutonomousSystem *NestedAutonomousSystemRequest `json:"autonomous_system"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + ExportPolicy *string `json:"export_policy,omitempty"` + Id openapi_types.UUID `json:"id"` + ImportPolicy *string `json:"import_policy,omitempty"` + Name *string `json:"name,omitempty"` + Role *openapi_types.UUID `json:"role"` + Secret *NestedSecretRequest `json:"secret"` + SourceInterface *NestedInterfaceRequest `json:"source_interface"` + SourceIp *NestedIPAddressRequest `json:"source_ip"` + Template *NestedPeerGroupTemplateRequest `json:"template"` +} + +// PatchedBulkWritablePeerGroupTemplateRequest REST API serializer for PeerGroup records. +type PatchedBulkWritablePeerGroupTemplateRequest struct { + AutonomousSystem *NestedAutonomousSystemRequest `json:"autonomous_system"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + ExportPolicy *string `json:"export_policy,omitempty"` + Id openapi_types.UUID `json:"id"` + ImportPolicy *string `json:"import_policy,omitempty"` + Name *string `json:"name,omitempty"` + Role *openapi_types.UUID `json:"role"` + Secret *NestedSecretRequest `json:"secret"` +} + +// PatchedBulkWritablePeeringRequest REST API serializer for Peering records. +type PatchedBulkWritablePeeringRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Id openapi_types.UUID `json:"id"` + Status *CircuitStatusChoices `json:"status,omitempty"` +} + +// PatchedBulkWritablePeeringRoleRequest REST API serializer for PeeringRole records. +type PatchedBulkWritablePeeringRoleRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedBulkWritablePlatformRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritablePlatformRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Manufacturer *NestedManufacturerRequest `json:"manufacturer"` + Name *string `json:"name,omitempty"` + + // NapalmArgs Additional arguments to pass when initiating the NAPALM driver (JSON format) + NapalmArgs *map[string]interface{} `json:"napalm_args"` + + // NapalmDriver The name of the NAPALM driver to use when interacting with devices + NapalmDriver *string `json:"napalm_driver,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePlatformRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePlatformRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePlatformRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedBulkWritablePlatformRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePlatformRequest.relationships.destination.objects.Item. +type PatchedBulkWritablePlatformRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePlatformRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePlatformRequest.relationships.peer.objects.Item. +type PatchedBulkWritablePlatformRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePlatformRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePlatformRequest.relationships.source.objects.Item. +type PatchedBulkWritablePlatformRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRequest Policy Serializer. +type PatchedBulkWritablePolicyRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AssignedDevices *[]PolicyDeviceM2MNestedRequest `json:"assigned_devices,omitempty"` + AssignedDynamicGroups *[]PolicyDynamicGroupM2MNestedRequest `json:"assigned_dynamic_groups,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` +} + +// PatchedBulkWritablePolicyRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePolicyRequest.relationships.destination.objects.Item. +type PatchedBulkWritablePolicyRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePolicyRequest.relationships.peer.objects.Item. +type PatchedBulkWritablePolicyRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePolicyRequest.relationships.source.objects.Item. +type PatchedBulkWritablePolicyRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest PolicyRule Serializer. +type PatchedBulkWritablePolicyRuleRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Action *ActionEnum `json:"action,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description"` + DestinationAddressGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AddressObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritablePolicyRuleRequestDestinationAddressGroupsAddressObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"address_objects,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Name descriptor for a group address objects. + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritablePolicyRuleRequestDestinationAddressGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"destination_address_groups,omitempty"` + DestinationAddresses *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritablePolicyRuleRequestDestinationAddressesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"destination_addresses,omitempty"` + DestinationServiceGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ServiceObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"service_objects,omitempty"` + Status *PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"destination_service_groups,omitempty"` + DestinationServices *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritablePolicyRuleRequestDestinationServicesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"destination_services,omitempty"` + + // DestinationZone Zone Serializer. + DestinationZone *ZoneRequest `json:"destination_zone,omitempty"` + Id openapi_types.UUID `json:"id"` + Index *int `json:"index"` + Log *bool `json:"log,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + RequestId *string `json:"request_id"` + SourceAddressGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AddressObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritablePolicyRuleRequestSourceAddressGroupsAddressObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"address_objects,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Name descriptor for a group address objects. + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritablePolicyRuleRequestSourceAddressGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"source_address_groups,omitempty"` + SourceAddresses *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDNRequest `json:"fqdn,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddressRequest `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRangeRequest `json:"ip_range,omitempty"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefixRequest `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritablePolicyRuleRequestSourceAddressesStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"source_addresses,omitempty"` + SourceUserGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritablePolicyRuleRequestSourceUserGroupsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + UserObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Name Signifies the name of the user, commonly first & last name (e.g. John Smith) + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritablePolicyRuleRequestSourceUserGroupsUserObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + + // Username Signifies the username in identify provider (e.g. john.smith) + Username string `json:"username"` + } `json:"user_objects,omitempty"` + } `json:"source_user_groups,omitempty"` + SourceUsers *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Name Signifies the name of the user, commonly first & last name (e.g. John Smith) + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritablePolicyRuleRequestSourceUsersStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + + // Username Signifies the username in identify provider (e.g. john.smith) + Username string `json:"username"` + } `json:"source_users,omitempty"` + + // SourceZone Zone Serializer. + SourceZone *ZoneRequest `json:"source_zone,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.DestinationAddressGroups.AddressObjects.Relationships.Destination.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.DestinationAddressGroups.AddressObjects.Relationships.Peer.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.DestinationAddressGroups.AddressObjects.Relationships.Source.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequestDestinationAddressGroupsAddressObjectsStatus defines model for PatchedBulkWritablePolicyRuleRequest.DestinationAddressGroups.AddressObjects.Status. +type PatchedBulkWritablePolicyRuleRequestDestinationAddressGroupsAddressObjectsStatus string + +// PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.DestinationAddressGroups.Relationships.Destination.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.DestinationAddressGroups.Relationships.Peer.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.DestinationAddressGroups.Relationships.Source.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequestDestinationAddressGroupsStatus defines model for PatchedBulkWritablePolicyRuleRequest.DestinationAddressGroups.Status. +type PatchedBulkWritablePolicyRuleRequestDestinationAddressGroupsStatus string + +// PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.DestinationAddresses.Relationships.Destination.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.DestinationAddresses.Relationships.Peer.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.DestinationAddresses.Relationships.Source.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequestDestinationAddressesStatus defines model for PatchedBulkWritablePolicyRuleRequest.DestinationAddresses.Status. +type PatchedBulkWritablePolicyRuleRequestDestinationAddressesStatus string + +// PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.DestinationServiceGroups.Relationships.Destination.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.DestinationServiceGroups.Relationships.Peer.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.DestinationServiceGroups.Relationships.Source.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsIpProtocol string + +// PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.DestinationServiceGroups.ServiceObjects.Relationships.Destination.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.DestinationServiceGroups.ServiceObjects.Relationships.Peer.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.DestinationServiceGroups.ServiceObjects.Relationships.Source.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsStatus defines model for PatchedBulkWritablePolicyRuleRequest.DestinationServiceGroups.ServiceObjects.Status. +type PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsServiceObjectsStatus string + +// PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsStatus defines model for PatchedBulkWritablePolicyRuleRequest.DestinationServiceGroups.Status. +type PatchedBulkWritablePolicyRuleRequestDestinationServiceGroupsStatus string + +// PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type PatchedBulkWritablePolicyRuleRequestDestinationServicesIpProtocol string + +// PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.DestinationServices.Relationships.Destination.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.DestinationServices.Relationships.Peer.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.DestinationServices.Relationships.Source.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequestDestinationServicesStatus defines model for PatchedBulkWritablePolicyRuleRequest.DestinationServices.Status. +type PatchedBulkWritablePolicyRuleRequestDestinationServicesStatus string + +// PatchedBulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.relationships.destination.objects.Item. +type PatchedBulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.relationships.peer.objects.Item. +type PatchedBulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.relationships.source.objects.Item. +type PatchedBulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.SourceAddressGroups.AddressObjects.Relationships.Destination.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.SourceAddressGroups.AddressObjects.Relationships.Peer.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.SourceAddressGroups.AddressObjects.Relationships.Source.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequestSourceAddressGroupsAddressObjectsStatus defines model for PatchedBulkWritablePolicyRuleRequest.SourceAddressGroups.AddressObjects.Status. +type PatchedBulkWritablePolicyRuleRequestSourceAddressGroupsAddressObjectsStatus string + +// PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.SourceAddressGroups.Relationships.Destination.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.SourceAddressGroups.Relationships.Peer.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.SourceAddressGroups.Relationships.Source.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequestSourceAddressGroupsStatus defines model for PatchedBulkWritablePolicyRuleRequest.SourceAddressGroups.Status. +type PatchedBulkWritablePolicyRuleRequestSourceAddressGroupsStatus string + +// PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.SourceAddresses.Relationships.Destination.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.SourceAddresses.Relationships.Peer.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.SourceAddresses.Relationships.Source.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequestSourceAddressesStatus defines model for PatchedBulkWritablePolicyRuleRequest.SourceAddresses.Status. +type PatchedBulkWritablePolicyRuleRequestSourceAddressesStatus string + +// PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.SourceUserGroups.Relationships.Destination.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.SourceUserGroups.Relationships.Peer.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.SourceUserGroups.Relationships.Source.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequestSourceUserGroupsStatus defines model for PatchedBulkWritablePolicyRuleRequest.SourceUserGroups.Status. +type PatchedBulkWritablePolicyRuleRequestSourceUserGroupsStatus string + +// PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.SourceUserGroups.UserObjects.Relationships.Destination.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.SourceUserGroups.UserObjects.Relationships.Peer.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.SourceUserGroups.UserObjects.Relationships.Source.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequestSourceUserGroupsUserObjectsStatus defines model for PatchedBulkWritablePolicyRuleRequest.SourceUserGroups.UserObjects.Status. +type PatchedBulkWritablePolicyRuleRequestSourceUserGroupsUserObjectsStatus string + +// PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.SourceUsers.Relationships.Destination.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.SourceUsers.Relationships.Peer.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePolicyRuleRequest.SourceUsers.Relationships.Source.Objects.Item. +type PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePolicyRuleRequestSourceUsersStatus defines model for PatchedBulkWritablePolicyRuleRequest.SourceUsers.Status. +type PatchedBulkWritablePolicyRuleRequestSourceUsersStatus string + +// PatchedBulkWritablePowerFeedRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritablePowerFeedRequest struct { + Amperage *int `json:"amperage,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Id openapi_types.UUID `json:"id"` + + // MaxUtilization Maximum permissible draw (percentage) + MaxUtilization *int `json:"max_utilization,omitempty"` + Name *string `json:"name,omitempty"` + Phase *PhaseEnum `json:"phase,omitempty"` + + // PowerPanel Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + PowerPanel *NestedPowerPanelRequest `json:"power_panel,omitempty"` + Rack *NestedRackRequest `json:"rack"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePowerFeedRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PowerFeedStatusChoices `json:"status,omitempty"` + Supply *SupplyEnum `json:"supply,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type *PowerFeedTypeChoices `json:"type,omitempty"` + Voltage *int `json:"voltage,omitempty"` +} + +// PatchedBulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePowerFeedRequest.relationships.destination.objects.Item. +type PatchedBulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePowerFeedRequest.relationships.peer.objects.Item. +type PatchedBulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePowerFeedRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePowerFeedRequest.relationships.source.objects.Item. +type PatchedBulkWritablePowerFeedRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePowerOutletRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritablePowerOutletRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device *NestedDeviceRequest `json:"device,omitempty"` + FeedLeg *FeedLegEnum `json:"feed_leg,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + + // PowerPort Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + PowerPort *NestedPowerPortRequest `json:"power_port,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePowerOutletRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type *PowerOutletTypeChoices `json:"type,omitempty"` +} + +// PatchedBulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePowerOutletRequest.relationships.destination.objects.Item. +type PatchedBulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePowerOutletRequest.relationships.peer.objects.Item. +type PatchedBulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePowerOutletRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePowerOutletRequest.relationships.source.objects.Item. +type PatchedBulkWritablePowerOutletRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePowerOutletTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritablePowerOutletTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceType *NestedDeviceTypeRequest `json:"device_type,omitempty"` + FeedLeg *FeedLegEnum `json:"feed_leg,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + + // PowerPort Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + PowerPort *NestedPowerPortTemplateRequest `json:"power_port,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *PowerOutletTypeChoices `json:"type,omitempty"` +} + +// PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePowerOutletTemplateRequest.relationships.destination.objects.Item. +type PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePowerOutletTemplateRequest.relationships.peer.objects.Item. +type PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePowerOutletTemplateRequest.relationships.source.objects.Item. +type PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePowerPanelRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritablePowerPanelRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Id openapi_types.UUID `json:"id"` + Location *NestedLocationRequest `json:"location"` + Name *string `json:"name,omitempty"` + RackGroup *NestedRackGroupRequest `json:"rack_group"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePowerPanelRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // Site Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Site *NestedSiteRequest `json:"site,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePowerPanelRequest.relationships.destination.objects.Item. +type PatchedBulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePowerPanelRequest.relationships.peer.objects.Item. +type PatchedBulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePowerPanelRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePowerPanelRequest.relationships.source.objects.Item. +type PatchedBulkWritablePowerPanelRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePowerPortRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritablePowerPortRequest struct { + // AllocatedDraw Allocated power draw (watts) + AllocatedDraw *int `json:"allocated_draw"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device *NestedDeviceRequest `json:"device,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MaximumDraw Maximum power draw (watts) + MaximumDraw *int `json:"maximum_draw"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePowerPortRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePowerPortRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePowerPortRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type *PowerPortTypeChoices `json:"type,omitempty"` +} + +// PatchedBulkWritablePowerPortRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePowerPortRequest.relationships.destination.objects.Item. +type PatchedBulkWritablePowerPortRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePowerPortRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePowerPortRequest.relationships.peer.objects.Item. +type PatchedBulkWritablePowerPortRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePowerPortRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePowerPortRequest.relationships.source.objects.Item. +type PatchedBulkWritablePowerPortRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePowerPortTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritablePowerPortTemplateRequest struct { + // AllocatedDraw Allocated power draw (watts) + AllocatedDraw *int `json:"allocated_draw"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceType *NestedDeviceTypeRequest `json:"device_type,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + + // MaximumDraw Maximum power draw (watts) + MaximumDraw *int `json:"maximum_draw"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *PowerPortTypeChoices `json:"type,omitempty"` +} + +// PatchedBulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePowerPortTemplateRequest.relationships.destination.objects.Item. +type PatchedBulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePowerPortTemplateRequest.relationships.peer.objects.Item. +type PatchedBulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePowerPortTemplateRequest.relationships.source.objects.Item. +type PatchedBulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePrefixRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritablePrefixRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + + // IsPool All IP addresses within this prefix are considered usable + IsPool *bool `json:"is_pool,omitempty"` + Location *NestedLocationRequest `json:"location"` + Prefix *string `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePrefixRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePrefixRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritablePrefixRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Role *NestedRoleRequest `json:"role"` + Site *NestedSiteRequest `json:"site"` + Status *PrefixStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + Vlan *NestedVLANRequest `json:"vlan"` + Vrf *NestedVRFRequest `json:"vrf"` +} + +// PatchedBulkWritablePrefixRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritablePrefixRequest.relationships.destination.objects.Item. +type PatchedBulkWritablePrefixRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePrefixRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritablePrefixRequest.relationships.peer.objects.Item. +type PatchedBulkWritablePrefixRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritablePrefixRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritablePrefixRequest.relationships.source.objects.Item. +type PatchedBulkWritablePrefixRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableProviderLCMRequest API serializer. +type PatchedBulkWritableProviderLCMRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Phone *string `json:"phone,omitempty"` + PhysicalAddress *string `json:"physical_address,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableProviderLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableProviderLCMRequest.relationships.destination.objects.Item. +type PatchedBulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableProviderLCMRequest.relationships.peer.objects.Item. +type PatchedBulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableProviderLCMRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableProviderLCMRequest.relationships.source.objects.Item. +type PatchedBulkWritableProviderLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableProviderNetworkRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableProviderNetworkRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + + // Provider Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Provider *NestedProviderRequest `json:"provider,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableProviderNetworkRequest.relationships.destination.objects.Item. +type PatchedBulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableProviderNetworkRequest.relationships.peer.objects.Item. +type PatchedBulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableProviderNetworkRequest.relationships.source.objects.Item. +type PatchedBulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableProviderRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableProviderRequest struct { Account *string `json:"account,omitempty"` AdminContact *string `json:"admin_contact,omitempty"` - // 32-bit autonomous system number - Asn *int64 `json:"asn"` - CircuitCount *int `json:"circuit_count,omitempty"` - Comments *string `json:"comments,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedProvider_CustomFields `json:"custom_fields,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - NocContact *string `json:"noc_contact,omitempty"` - PortalUrl *string `json:"portal_url,omitempty"` - Slug *string `json:"slug,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` + // Asn 32-bit autonomous system number + Asn *int64 `json:"asn"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + NocContact *string `json:"noc_contact,omitempty"` + PortalUrl *string `json:"portal_url,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableProviderRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableProviderRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableProviderRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// PatchedProvider_CustomFields defines model for PatchedProvider.CustomFields. -type PatchedProvider_CustomFields struct { +// PatchedBulkWritableProviderRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableProviderRequest.relationships.destination.objects.Item. +type PatchedBulkWritableProviderRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// API serializer. -type PatchedProviderLCM struct { - Comments *string `json:"comments,omitempty"` - CustomFields *PatchedProviderLCM_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Email *openapi_types.Email `json:"email,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - Phone *string `json:"phone,omitempty"` - PhysicalAddress *string `json:"physical_address,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` -} - -// PatchedProviderLCM_CustomFields defines model for PatchedProviderLCM.CustomFields. -type PatchedProviderLCM_CustomFields struct { +// PatchedBulkWritableProviderRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableProviderRequest.relationships.peer.objects.Item. +type PatchedBulkWritableProviderRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedRIR struct { - AggregateCount *int `json:"aggregate_count,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedRIR_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // IP space managed by this RIR is considered private - IsPrivate *bool `json:"is_private,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedRIR_CustomFields defines model for PatchedRIR.CustomFields. -type PatchedRIR_CustomFields struct { +// PatchedBulkWritableProviderRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableProviderRequest.relationships.source.objects.Item. +type PatchedBulkWritableProviderRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedRackRole struct { - Color *string `json:"color,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedRackRole_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` +// PatchedBulkWritableRIRRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableRIRRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - RackCount *int `json:"rack_count,omitempty"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` + // IsPrivate IP space managed by this RIR is considered private + IsPrivate *bool `json:"is_private,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRIRRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRIRRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRIRRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` } -// PatchedRackRole_CustomFields defines model for PatchedRackRole.CustomFields. -type PatchedRackRole_CustomFields struct { +// PatchedBulkWritableRIRRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableRIRRequest.relationships.destination.objects.Item. +type PatchedBulkWritableRIRRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Serializer for `RegularExpressionValidationRule` objects. -type PatchedRegularExpressionValidationRule struct { - ContentType *string `json:"content_type,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - - // Optional error message to display when validation fails. - ErrorMessage *string `json:"error_message"` - Field *string `json:"field,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - RegularExpression *string `json:"regular_expression,omitempty"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` +// PatchedBulkWritableRIRRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableRIRRequest.relationships.peer.objects.Item. +type PatchedBulkWritableRIRRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedRelationship defines model for PatchedRelationship. -type PatchedRelationship struct { +// PatchedBulkWritableRIRRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableRIRRequest.relationships.source.objects.Item. +type PatchedBulkWritableRIRRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRackGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableRackGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Location *NestedLocationRequest `json:"location"` + Name *string `json:"name,omitempty"` + Parent *NestedRackGroupRequest `json:"parent"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRackGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRackGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRackGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // Site Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Site *NestedSiteRequest `json:"site,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedBulkWritableRackGroupRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableRackGroupRequest.relationships.destination.objects.Item. +type PatchedBulkWritableRackGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRackGroupRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableRackGroupRequest.relationships.peer.objects.Item. +type PatchedBulkWritableRackGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRackGroupRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableRackGroupRequest.relationships.source.objects.Item. +type PatchedBulkWritableRackGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRackRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableRackRequest struct { + // AssetTag A unique tag used to identify this rack + AssetTag *string `json:"asset_tag"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // DescUnits Units are numbered top-to-bottom + DescUnits *bool `json:"desc_units,omitempty"` + + // FacilityId Locally-assigned identifier + FacilityId *string `json:"facility_id"` + Group *NestedRackGroupRequest `json:"group"` + Id openapi_types.UUID `json:"id"` + Location *NestedLocationRequest `json:"location"` + Name *string `json:"name,omitempty"` + + // OuterDepth Outer dimension of rack (depth) + OuterDepth *int `json:"outer_depth"` + OuterUnit *OuterUnitEnum `json:"outer_unit,omitempty"` + + // OuterWidth Outer dimension of rack (width) + OuterWidth *int `json:"outer_width"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRackRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRackRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRackRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Role *NestedRackRoleRequest `json:"role"` + Serial *string `json:"serial,omitempty"` + + // Site Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Site *NestedSiteRequest `json:"site,omitempty"` + Status *RackStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + Type *RackTypeChoices `json:"type,omitempty"` + + // UHeight Height in rack units + UHeight *int `json:"u_height,omitempty"` + Width *WidthEnum `json:"width,omitempty"` +} + +// PatchedBulkWritableRackRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableRackRequest.relationships.destination.objects.Item. +type PatchedBulkWritableRackRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRackRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableRackRequest.relationships.peer.objects.Item. +type PatchedBulkWritableRackRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRackRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableRackRequest.relationships.source.objects.Item. +type PatchedBulkWritableRackRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRackReservationRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableRackReservationRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Rack Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Rack *NestedRackRequest `json:"rack,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRackReservationRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRackReservationRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRackReservationRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + Units *map[string]interface{} `json:"units,omitempty"` + + // User Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + User *NestedUserRequest `json:"user,omitempty"` +} + +// PatchedBulkWritableRackReservationRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableRackReservationRequest.relationships.destination.objects.Item. +type PatchedBulkWritableRackReservationRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRackReservationRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableRackReservationRequest.relationships.peer.objects.Item. +type PatchedBulkWritableRackReservationRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRackReservationRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableRackReservationRequest.relationships.source.objects.Item. +type PatchedBulkWritableRackReservationRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRackRoleRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableRackRoleRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRackRoleRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRackRoleRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRackRoleRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedBulkWritableRackRoleRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableRackRoleRequest.relationships.destination.objects.Item. +type PatchedBulkWritableRackRoleRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRackRoleRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableRackRoleRequest.relationships.peer.objects.Item. +type PatchedBulkWritableRackRoleRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRackRoleRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableRackRoleRequest.relationships.source.objects.Item. +type PatchedBulkWritableRackRoleRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRearPortRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableRearPortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Device *NestedDeviceRequest `json:"device,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + Positions *int `json:"positions,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRearPortRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRearPortRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRearPortRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type *PortTypeChoices `json:"type,omitempty"` +} + +// PatchedBulkWritableRearPortRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableRearPortRequest.relationships.destination.objects.Item. +type PatchedBulkWritableRearPortRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRearPortRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableRearPortRequest.relationships.peer.objects.Item. +type PatchedBulkWritableRearPortRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRearPortRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableRearPortRequest.relationships.source.objects.Item. +type PatchedBulkWritableRearPortRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRearPortTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableRearPortTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DeviceType *NestedDeviceTypeRequest `json:"device_type,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + Positions *int `json:"positions,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *PortTypeChoices `json:"type,omitempty"` +} + +// PatchedBulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableRearPortTemplateRequest.relationships.destination.objects.Item. +type PatchedBulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableRearPortTemplateRequest.relationships.peer.objects.Item. +type PatchedBulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableRearPortTemplateRequest.relationships.source.objects.Item. +type PatchedBulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRegionRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableRegionRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Parent *NestedRegionRequest `json:"parent"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRegionRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRegionRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRegionRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedBulkWritableRegionRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableRegionRequest.relationships.destination.objects.Item. +type PatchedBulkWritableRegionRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRegionRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableRegionRequest.relationships.peer.objects.Item. +type PatchedBulkWritableRegionRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRegionRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableRegionRequest.relationships.source.objects.Item. +type PatchedBulkWritableRegionRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableRegularExpressionValidationRuleRequest Serializer for `RegularExpressionValidationRule` objects. +type PatchedBulkWritableRegularExpressionValidationRuleRequest struct { + ContentType *string `json:"content_type,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + + // ErrorMessage Optional error message to display when validation fails. + ErrorMessage *string `json:"error_message"` + Field *string `json:"field,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + RegularExpression *string `json:"regular_expression,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedBulkWritableRelationshipAssociationRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedBulkWritableRelationshipAssociationRequest struct { + DestinationId *openapi_types.UUID `json:"destination_id,omitempty"` + DestinationType *string `json:"destination_type,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Relationship Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Relationship *NestedRelationshipRequest `json:"relationship,omitempty"` + SourceId *openapi_types.UUID `json:"source_id,omitempty"` + SourceType *string `json:"source_type,omitempty"` +} + +// PatchedBulkWritableRelationshipRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedBulkWritableRelationshipRequest struct { Description *string `json:"description,omitempty"` - // Queryset filter matching the applicable destination objects of the selected type - DestinationFilter *PatchedRelationship_DestinationFilter `json:"destination_filter"` + // DestinationFilter Filterset filter matching the applicable destination objects of the selected type + DestinationFilter *map[string]interface{} `json:"destination_filter"` - // Hide this relationship on the destination object. + // DestinationHidden Hide this relationship on the destination object. DestinationHidden *bool `json:"destination_hidden,omitempty"` - // Label for related source objects, as displayed on the destination object. - DestinationLabel *string `json:"destination_label,omitempty"` - DestinationType *string `json:"destination_type,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` + // DestinationLabel Label for related source objects, as displayed on the destination object. + DestinationLabel *string `json:"destination_label,omitempty"` + DestinationType *string `json:"destination_type,omitempty"` + Id openapi_types.UUID `json:"id"` - // Internal relationship name + // Name Name of the relationship as displayed to users Name *string `json:"name,omitempty"` + + // RequiredOn Objects on the specified side MUST implement this relationship. Not permitted for symmetric relationships. + RequiredOn *PatchedBulkWritableRelationshipRequest_RequiredOn `json:"required_on,omitempty"` + + // Slug Internal relationship name. Please use underscores rather than dashes in this slug. Slug *string `json:"slug,omitempty"` - // Queryset filter matching the applicable source objects of the selected type - SourceFilter *PatchedRelationship_SourceFilter `json:"source_filter"` + // SourceFilter Filterset filter matching the applicable source objects of the selected type + SourceFilter *map[string]interface{} `json:"source_filter"` - // Hide this relationship on the source object. + // SourceHidden Hide this relationship on the source object. SourceHidden *bool `json:"source_hidden,omitempty"` - // Label for related destination objects, as displayed on the source object. + // SourceLabel Label for related destination objects, as displayed on the source object. SourceLabel *string `json:"source_label,omitempty"` SourceType *string `json:"source_type,omitempty"` - // Cardinality of this relationship - Type *struct { - // Embedded struct due to allOf(#/components/schemas/RelationshipTypeChoices) - RelationshipTypeChoices `yaml:",inline"` - } `json:"type,omitempty"` - Url *string `json:"url,omitempty"` + // Type Cardinality of this relationship + Type *RelationshipTypeChoices `json:"type,omitempty"` } -// Queryset filter matching the applicable destination objects of the selected type -type PatchedRelationship_DestinationFilter struct { +// PatchedBulkWritableRelationshipRequest_RequiredOn Objects on the specified side MUST implement this relationship. Not permitted for symmetric relationships. +type PatchedBulkWritableRelationshipRequest_RequiredOn struct { + union json.RawMessage +} + +// PatchedBulkWritableRoleRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableRoleRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRoleRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRoleRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRoleRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// PatchedBulkWritableRoleRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableRoleRequest.relationships.destination.objects.Item. +type PatchedBulkWritableRoleRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Queryset filter matching the applicable source objects of the selected type -type PatchedRelationship_SourceFilter struct { +// PatchedBulkWritableRoleRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableRoleRequest.relationships.peer.objects.Item. +type PatchedBulkWritableRoleRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedRole struct { - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedRole_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - PrefixCount *int `json:"prefix_count,omitempty"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` - VlanCount *int `json:"vlan_count,omitempty"` - Weight *int `json:"weight,omitempty"` -} - -// PatchedRole_CustomFields defines model for PatchedRole.CustomFields. -type PatchedRole_CustomFields struct { +// PatchedBulkWritableRoleRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableRoleRequest.relationships.source.objects.Item. +type PatchedBulkWritableRoleRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Serializer for `Secret` objects. -type PatchedSecret struct { - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedSecret_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` +// PatchedBulkWritableRouteTargetRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableRouteTargetRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - Parameters *PatchedSecret_Parameters `json:"parameters,omitempty"` - Provider *string `json:"provider,omitempty"` - Slug *string `json:"slug,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` + // Name Route target value (formatted in accordance with RFC 4360) + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableRouteTargetRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` } -// PatchedSecret_CustomFields defines model for PatchedSecret.CustomFields. -type PatchedSecret_CustomFields struct { +// PatchedBulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableRouteTargetRequest.relationships.destination.objects.Item. +type PatchedBulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedSecret_Parameters defines model for PatchedSecret.Parameters. -type PatchedSecret_Parameters struct { +// PatchedBulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableRouteTargetRequest.relationships.peer.objects.Item. +type PatchedBulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Serializer for `SecretsGroup` objects. -type PatchedSecretsGroup struct { - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedSecretsGroup_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - Secrets *[]NestedSecretsGroupAssociation `json:"secrets,omitempty"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedSecretsGroup_CustomFields defines model for PatchedSecretsGroup.CustomFields. -type PatchedSecretsGroup_CustomFields struct { +// PatchedBulkWritableRouteTargetRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableRouteTargetRequest.relationships.source.objects.Item. +type PatchedBulkWritableRouteTargetRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Serializer for `Status` objects. -type PatchedStatus struct { - Color *string `json:"color,omitempty"` - ContentTypes *[]string `json:"content_types,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedStatus_CustomFields `json:"custom_fields,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` +// PatchedBulkWritableSecretRequest Serializer for `Secret` objects. +type PatchedBulkWritableSecretRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Parameters *map[string]interface{} `json:"parameters,omitempty"` + Provider *string `json:"provider,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableSecretRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableSecretRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableSecretRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// PatchedStatus_CustomFields defines model for PatchedStatus.CustomFields. -type PatchedStatus_CustomFields struct { +// PatchedBulkWritableSecretRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableSecretRequest.relationships.destination.objects.Item. +type PatchedBulkWritableSecretRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedTagSerializerVersion13 struct { - Color *string `json:"color,omitempty"` - ContentTypes *[]string `json:"content_types,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedTagSerializerVersion13_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - Slug *string `json:"slug,omitempty"` - TaggedItems *int `json:"tagged_items,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedTagSerializerVersion13_CustomFields defines model for PatchedTagSerializerVersion13.CustomFields. -type PatchedTagSerializerVersion13_CustomFields struct { +// PatchedBulkWritableSecretRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableSecretRequest.relationships.peer.objects.Item. +type PatchedBulkWritableSecretRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// PatchedBulkWritableSecretRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableSecretRequest.relationships.source.objects.Item. +type PatchedBulkWritableSecretRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableSecretsGroupAssociationRequest Serializer for `SecretsGroupAssociation` objects. +type PatchedBulkWritableSecretsGroupAssociationRequest struct { + AccessType *AccessTypeEnum `json:"access_type,omitempty"` + + // Group Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Group *NestedSecretsGroupRequest `json:"group,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Secret Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Secret *NestedSecretRequest `json:"secret,omitempty"` + SecretType *SecretTypeEnum `json:"secret_type,omitempty"` +} + +// PatchedBulkWritableSecretsGroupRequest Serializer for `SecretsGroup` objects. +type PatchedBulkWritableSecretsGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedBulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableSecretsGroupRequest.relationships.destination.objects.Item. +type PatchedBulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableSecretsGroupRequest.relationships.peer.objects.Item. +type PatchedBulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableSecretsGroupRequest.relationships.source.objects.Item. +type PatchedBulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableServiceObjectGroupRequest ServiceObjectGroup Serializer. +type PatchedBulkWritableServiceObjectGroupRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ServiceObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableServiceObjectGroupRequestServiceObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + } `json:"service_objects,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableServiceObjectGroupRequest.relationships.destination.objects.Item. +type PatchedBulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableServiceObjectGroupRequest.relationships.peer.objects.Item. +type PatchedBulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableServiceObjectGroupRequest.relationships.source.objects.Item. +type PatchedBulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type PatchedBulkWritableServiceObjectGroupRequestServiceObjectsIpProtocol string + +// PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableServiceObjectGroupRequest.ServiceObjects.Relationships.Destination.Objects.Item. +type PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableServiceObjectGroupRequest.ServiceObjects.Relationships.Peer.Objects.Item. +type PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item defines model for PatchedBulkWritableServiceObjectGroupRequest.ServiceObjects.Relationships.Source.Objects.Item. +type PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableServiceObjectGroupRequestServiceObjectsStatus defines model for PatchedBulkWritableServiceObjectGroupRequest.ServiceObjects.Status. +type PatchedBulkWritableServiceObjectGroupRequestServiceObjectsStatus string + +// PatchedBulkWritableServiceObjectRequest ServiceObject Serializer. +type PatchedBulkWritableServiceObjectRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol *IpProtocolEnum `json:"ip_protocol,omitempty"` + + // Name Name of the service (e.g. HTTP) + Name *string `json:"name,omitempty"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableServiceObjectRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableServiceObjectRequest.relationships.destination.objects.Item. +type PatchedBulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableServiceObjectRequest.relationships.peer.objects.Item. +type PatchedBulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableServiceObjectRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableServiceObjectRequest.relationships.source.objects.Item. +type PatchedBulkWritableServiceObjectRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableServiceRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableServiceRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *NestedDeviceRequest `json:"device"` + Id openapi_types.UUID `json:"id"` + Ipaddresses *[]struct { + Address string `json:"address"` + } `json:"ipaddresses,omitempty"` + Name *string `json:"name,omitempty"` + Ports *[]int `json:"ports,omitempty"` + Protocol *ProtocolEnum `json:"protocol,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableServiceRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableServiceRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableServiceRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + VirtualMachine *NestedVirtualMachineRequest `json:"virtual_machine"` +} + +// PatchedBulkWritableServiceRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableServiceRequest.relationships.destination.objects.Item. +type PatchedBulkWritableServiceRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableServiceRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableServiceRequest.relationships.peer.objects.Item. +type PatchedBulkWritableServiceRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableServiceRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableServiceRequest.relationships.source.objects.Item. +type PatchedBulkWritableServiceRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableSiteRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableSiteRequest struct { + // Asn 32-bit autonomous system number + Asn *int64 `json:"asn"` + Comments *string `json:"comments,omitempty"` + ContactEmail *openapi_types.Email `json:"contact_email,omitempty"` + ContactName *string `json:"contact_name,omitempty"` + ContactPhone *string `json:"contact_phone,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Facility Local facility ID or description + Facility *string `json:"facility,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Latitude GPS coordinate (latitude) + Latitude *string `json:"latitude"` + + // Longitude GPS coordinate (longitude) + Longitude *string `json:"longitude"` + Name *string `json:"name,omitempty"` + PhysicalAddress *string `json:"physical_address,omitempty"` + Region *NestedRegionRequest `json:"region"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableSiteRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableSiteRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableSiteRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ShippingAddress *string `json:"shipping_address,omitempty"` + Slug *string `json:"slug,omitempty"` + Status *LocationStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + TimeZone *string `json:"time_zone"` +} + +// PatchedBulkWritableSiteRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableSiteRequest.relationships.destination.objects.Item. +type PatchedBulkWritableSiteRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableSiteRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableSiteRequest.relationships.peer.objects.Item. +type PatchedBulkWritableSiteRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableSiteRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableSiteRequest.relationships.source.objects.Item. +type PatchedBulkWritableSiteRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableSoftwareImageLCMRequest REST API serializer for SoftwareImageLCM records. +type PatchedBulkWritableSoftwareImageLCMRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DefaultImage *bool `json:"default_image,omitempty"` + DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` + DownloadUrl *string `json:"download_url,omitempty"` + Id openapi_types.UUID `json:"id"` + ImageFileChecksum *string `json:"image_file_checksum,omitempty"` + ImageFileName *string `json:"image_file_name,omitempty"` + InventoryItems *[]openapi_types.UUID `json:"inventory_items,omitempty"` + ObjectTags *[]openapi_types.UUID `json:"object_tags,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // Software Nested/brief serializer for SoftwareLCM. + Software *NestedSoftwareLCMRequest `json:"software,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableSoftwareImageLCMRequest.relationships.destination.objects.Item. +type PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableSoftwareImageLCMRequest.relationships.peer.objects.Item. +type PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableSoftwareImageLCMRequest.relationships.source.objects.Item. +type PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableSoftwareLCMRequest REST API serializer for SoftwareLCM records. +type PatchedBulkWritableSoftwareLCMRequest struct { + Alias *string `json:"alias"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // DevicePlatform Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + DevicePlatform *NestedPlatformRequest `json:"device_platform,omitempty"` + DocumentationUrl *string `json:"documentation_url,omitempty"` + EndOfSupport *openapi_types.Date `json:"end_of_support"` + Id openapi_types.UUID `json:"id"` + LongTermSupport *bool `json:"long_term_support,omitempty"` + PreRelease *bool `json:"pre_release,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ReleaseDate *openapi_types.Date `json:"release_date"` + SoftwareImages *[]struct { + DefaultImage *bool `json:"default_image,omitempty"` + DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` + DownloadUrl *string `json:"download_url,omitempty"` + ImageFileChecksum *string `json:"image_file_checksum,omitempty"` + ImageFileName string `json:"image_file_name"` + InventoryItems *[]openapi_types.UUID `json:"inventory_items,omitempty"` + ObjectTags *[]openapi_types.UUID `json:"object_tags,omitempty"` + } `json:"software_images,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Version *string `json:"version,omitempty"` +} + +// PatchedBulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableSoftwareLCMRequest.relationships.destination.objects.Item. +type PatchedBulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableSoftwareLCMRequest.relationships.peer.objects.Item. +type PatchedBulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableSoftwareLCMRequest.relationships.source.objects.Item. +type PatchedBulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableStatusRequest Serializer for `Status` objects. +type PatchedBulkWritableStatusRequest struct { + Color *string `json:"color,omitempty"` + ContentTypes *[]string `json:"content_types,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableStatusRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableStatusRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableStatusRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedBulkWritableStatusRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableStatusRequest.relationships.destination.objects.Item. +type PatchedBulkWritableStatusRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableStatusRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableStatusRequest.relationships.peer.objects.Item. +type PatchedBulkWritableStatusRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableStatusRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableStatusRequest.relationships.source.objects.Item. +type PatchedBulkWritableStatusRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableTagSerializerVersion13Request Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableTagSerializerVersion13Request struct { + Color *string `json:"color,omitempty"` + ContentTypes *[]string `json:"content_types,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedBulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableTagSerializerVersion13Request.relationships.destination.objects.Item. +type PatchedBulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableTagSerializerVersion13Request.relationships.peer.objects.Item. +type PatchedBulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item defines model for PatchedBulkWritableTagSerializerVersion13Request.relationships.source.objects.Item. +type PatchedBulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableTenantGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableTenantGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Parent *NestedTenantGroupRequest `json:"parent"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableTenantGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedBulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableTenantGroupRequest.relationships.destination.objects.Item. +type PatchedBulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableTenantGroupRequest.relationships.peer.objects.Item. +type PatchedBulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableTenantGroupRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableTenantGroupRequest.relationships.source.objects.Item. +type PatchedBulkWritableTenantGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableTenantRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableTenantRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Group Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Group *NestedTenantGroupRequest `json:"group,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableTenantRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableTenantRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableTenantRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritableTenantRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableTenantRequest.relationships.destination.objects.Item. +type PatchedBulkWritableTenantRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableTenantRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableTenantRequest.relationships.peer.objects.Item. +type PatchedBulkWritableTenantRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableTenantRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableTenantRequest.relationships.source.objects.Item. +type PatchedBulkWritableTenantRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableTokenRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type PatchedToken struct { - Created *time.Time `json:"created,omitempty"` - Description *string `json:"description,omitempty"` +type PatchedBulkWritableTokenRequest struct { + Description *string `json:"description,omitempty"` + Expires *time.Time `json:"expires"` + Id openapi_types.UUID `json:"id"` + Key *string `json:"key,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Expires *time.Time `json:"expires"` - Id *openapi_types.UUID `json:"id,omitempty"` - Key *string `json:"key,omitempty"` - Url *string `json:"url,omitempty"` - - // Permit create/update/delete operations using this key + // WriteEnabled Permit create/update/delete operations using this key WriteEnabled *bool `json:"write_enabled,omitempty"` } -// REST API serializer for VulnerabilityLCM records. -type PatchedVulnerabilityLCM struct { - CustomFields *PatchedVulnerabilityLCM_CustomFields `json:"custom_fields,omitempty"` - Cve *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCVELCM) - NestedCVELCM `yaml:",inline"` - } `json:"cve,omitempty"` - Device *struct { - // Embedded struct due to allOf(#/components/schemas/NestedDevice) - NestedDevice `yaml:",inline"` - } `json:"device,omitempty"` +// PatchedBulkWritableUserObjectGroupRequest UserObjectGroup Serializer. +type PatchedBulkWritableUserObjectGroupRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + UserObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - InventoryItem *struct { - // Embedded struct due to allOf(#/components/schemas/NestedInventoryItem) - NestedInventoryItem `yaml:",inline"` - } `json:"inventory_item,omitempty"` - Software *struct { - // Embedded struct due to allOf(#/components/schemas/NestedSoftwareLCM) - NestedSoftwareLCM `yaml:",inline"` - } `json:"software,omitempty"` - Status *Status4f5Enum `json:"status,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` + // Name Signifies the name of the user, commonly first & last name (e.g. John Smith) + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PatchedBulkWritableUserObjectGroupRequestUserObjectsStatus `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + + // Username Signifies the username in identify provider (e.g. john.smith) + Username string `json:"username"` + } `json:"user_objects,omitempty"` } -// PatchedVulnerabilityLCM_CustomFields defines model for PatchedVulnerabilityLCM.CustomFields. -type PatchedVulnerabilityLCM_CustomFields struct { +// PatchedBulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableUserObjectGroupRequest.relationships.destination.objects.Item. +type PatchedBulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// PatchedBulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableUserObjectGroupRequest.relationships.peer.objects.Item. +type PatchedBulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableUserObjectGroupRequest.relationships.source.objects.Item. +type PatchedBulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableUserObjectGroupRequest.UserObjects.Relationships.Destination.Objects.Item. +type PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableUserObjectGroupRequest.UserObjects.Relationships.Peer.Objects.Item. +type PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item defines model for PatchedBulkWritableUserObjectGroupRequest.UserObjects.Relationships.Source.Objects.Item. +type PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableUserObjectGroupRequestUserObjectsStatus defines model for PatchedBulkWritableUserObjectGroupRequest.UserObjects.Status. +type PatchedBulkWritableUserObjectGroupRequestUserObjectsStatus string + +// PatchedBulkWritableUserObjectRequest UserObject Serializer. +type PatchedBulkWritableUserObjectRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Id openapi_types.UUID `json:"id"` + + // Name Signifies the name of the user, commonly first & last name (e.g. John Smith) + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableUserObjectRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableUserObjectRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableUserObjectRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + + // Username Signifies the username in identify provider (e.g. john.smith) + Username *string `json:"username,omitempty"` +} + +// PatchedBulkWritableUserObjectRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableUserObjectRequest.relationships.destination.objects.Item. +type PatchedBulkWritableUserObjectRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableUserObjectRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableUserObjectRequest.relationships.peer.objects.Item. +type PatchedBulkWritableUserObjectRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableUserObjectRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableUserObjectRequest.relationships.source.objects.Item. +type PatchedBulkWritableUserObjectRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableUserRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type PatchedWebhook struct { - // User-supplied HTTP headers to be sent with the request in addition to the HTTP content type. Headers should be defined in the format Name: Value. Jinja2 template processing is support with the same context as the request body (below). +type PatchedBulkWritableUserRequest struct { + DateJoined *time.Time `json:"date_joined,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + FirstName *string `json:"first_name,omitempty"` + Groups *[]struct { + Name string `json:"name"` + } `json:"groups,omitempty"` + Id openapi_types.UUID `json:"id"` + + // IsActive Designates whether this user should be treated as active. Unselect this instead of deleting accounts. + IsActive *bool `json:"is_active,omitempty"` + + // IsStaff Designates whether the user can log into this admin site. + IsStaff *bool `json:"is_staff,omitempty"` + LastName *string `json:"last_name,omitempty"` + Password *string `json:"password,omitempty"` + + // Username Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. + Username *string `json:"username,omitempty"` +} + +// PatchedBulkWritableVLANGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableVLANGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Location *NestedLocationRequest `json:"location"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableVLANGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Site *NestedSiteRequest `json:"site"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedBulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableVLANGroupRequest.relationships.destination.objects.Item. +type PatchedBulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableVLANGroupRequest.relationships.peer.objects.Item. +type PatchedBulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableVLANGroupRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableVLANGroupRequest.relationships.source.objects.Item. +type PatchedBulkWritableVLANGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableVLANRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableVLANRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Group *NestedVLANGroupRequest `json:"group"` + Id openapi_types.UUID `json:"id"` + Location *NestedLocationRequest `json:"location"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableVLANRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableVLANRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableVLANRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Role *NestedRoleRequest `json:"role"` + Site *NestedSiteRequest `json:"site"` + Status *VLANStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + Vid *int `json:"vid,omitempty"` +} + +// PatchedBulkWritableVLANRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableVLANRequest.relationships.destination.objects.Item. +type PatchedBulkWritableVLANRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableVLANRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableVLANRequest.relationships.peer.objects.Item. +type PatchedBulkWritableVLANRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableVLANRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableVLANRequest.relationships.source.objects.Item. +type PatchedBulkWritableVLANRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableVMInterfaceRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableVMInterfaceRequest struct { + Bridge *NestedVMInterfaceRequest `json:"bridge"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Id openapi_types.UUID `json:"id"` + MacAddress *string `json:"mac_address"` + Mode *ModeEnum `json:"mode,omitempty"` + Mtu *int `json:"mtu"` + Name *string `json:"name,omitempty"` + ParentInterface *NestedVMInterfaceRequest `json:"parent_interface"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *InterfaceStatusChoices `json:"status,omitempty"` + TaggedVlans *[]struct { + Name string `json:"name"` + Vid int `json:"vid"` + } `json:"tagged_vlans,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + UntaggedVlan *NestedVLANRequest `json:"untagged_vlan"` + + // VirtualMachine Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + VirtualMachine *NestedVirtualMachineRequest `json:"virtual_machine,omitempty"` +} + +// PatchedBulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableVMInterfaceRequest.relationships.destination.objects.Item. +type PatchedBulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableVMInterfaceRequest.relationships.peer.objects.Item. +type PatchedBulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableVMInterfaceRequest.relationships.source.objects.Item. +type PatchedBulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableVRFRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableVRFRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // EnforceUnique Prevent duplicate prefixes/IP addresses within this VRF + EnforceUnique *bool `json:"enforce_unique,omitempty"` + ExportTargets *[]struct { + // Name Route target value (formatted in accordance with RFC 4360) + Name string `json:"name"` + } `json:"export_targets,omitempty"` + Id openapi_types.UUID `json:"id"` + ImportTargets *[]struct { + // Name Route target value (formatted in accordance with RFC 4360) + Name string `json:"name"` + } `json:"import_targets,omitempty"` + Name *string `json:"name,omitempty"` + + // Rd Unique route distinguisher (as defined in RFC 4364) + Rd *string `json:"rd"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableVRFRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableVRFRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableVRFRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` +} + +// PatchedBulkWritableVRFRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableVRFRequest.relationships.destination.objects.Item. +type PatchedBulkWritableVRFRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableVRFRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableVRFRequest.relationships.peer.objects.Item. +type PatchedBulkWritableVRFRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableVRFRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableVRFRequest.relationships.source.objects.Item. +type PatchedBulkWritableVRFRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableValidatedSoftwareLCMRequest REST API serializer for ValidatedSoftwareLCM records. +type PatchedBulkWritableValidatedSoftwareLCMRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DeviceRoles *[]openapi_types.UUID `json:"device_roles,omitempty"` + DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` + Devices *[]openapi_types.UUID `json:"devices,omitempty"` + End *openapi_types.Date `json:"end"` + Id openapi_types.UUID `json:"id"` + InventoryItems *[]openapi_types.UUID `json:"inventory_items,omitempty"` + ObjectTags *[]openapi_types.UUID `json:"object_tags,omitempty"` + Preferred *bool `json:"preferred,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // Software Nested/brief serializer for SoftwareLCM. + Software *NestedSoftwareLCMRequest `json:"software,omitempty"` + Start *openapi_types.Date `json:"start,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableValidatedSoftwareLCMRequest.relationships.destination.objects.Item. +type PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableValidatedSoftwareLCMRequest.relationships.peer.objects.Item. +type PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableValidatedSoftwareLCMRequest.relationships.source.objects.Item. +type PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableVirtualChassisRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableVirtualChassisRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Domain *string `json:"domain,omitempty"` + Id openapi_types.UUID `json:"id"` + Master *NestedDeviceRequest `json:"master"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableVirtualChassisRequest.relationships.destination.objects.Item. +type PatchedBulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableVirtualChassisRequest.relationships.peer.objects.Item. +type PatchedBulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableVirtualChassisRequest.relationships.source.objects.Item. +type PatchedBulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableVirtualMachineWithConfigContextRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedBulkWritableVirtualMachineWithConfigContextRequest struct { + // Cluster Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Cluster *NestedClusterRequest `json:"cluster,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Disk *int `json:"disk"` + Id openapi_types.UUID `json:"id"` + LocalContextData *map[string]interface{} `json:"local_context_data"` + LocalContextSchema *NestedConfigContextSchemaRequest `json:"local_context_schema"` + Memory *int `json:"memory"` + Name *string `json:"name,omitempty"` + Platform *NestedPlatformRequest `json:"platform"` + PrimaryIp4 *NestedIPAddressRequest `json:"primary_ip4"` + PrimaryIp6 *NestedIPAddressRequest `json:"primary_ip6"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Role *NestedDeviceRoleRequest `json:"role"` + Status *VirtualMachineStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *NestedTenantRequest `json:"tenant"` + Vcpus *int `json:"vcpus"` +} + +// PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableVirtualMachineWithConfigContextRequest.relationships.destination.objects.Item. +type PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableVirtualMachineWithConfigContextRequest.relationships.peer.objects.Item. +type PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableVirtualMachineWithConfigContextRequest.relationships.source.objects.Item. +type PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableVulnerabilityLCMRequest REST API serializer for VulnerabilityLCM records. +type PatchedBulkWritableVulnerabilityLCMRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Id openapi_types.UUID `json:"id"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status4f5Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableVulnerabilityLCMRequest.relationships.destination.objects.Item. +type PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableVulnerabilityLCMRequest.relationships.peer.objects.Item. +type PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableVulnerabilityLCMRequest.relationships.source.objects.Item. +type PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedBulkWritableWebhookRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedBulkWritableWebhookRequest struct { + // AdditionalHeaders User-supplied HTTP headers to be sent with the request in addition to the HTTP content type. Headers should be defined in the format Name: Value. Jinja2 template processing is support with the same context as the request body (below). AdditionalHeaders *string `json:"additional_headers,omitempty"` - // Jinja2 template for a custom request body. If blank, a JSON object representing the change will be included. Available context data includes: event, model, timestamp, username, request_id, and data. + // BodyTemplate Jinja2 template for a custom request body. If blank, a JSON object representing the change will be included. Available context data includes: event, model, timestamp, username, request_id, and data. BodyTemplate *string `json:"body_template,omitempty"` - // The specific CA certificate file to use for SSL verification. Leave blank to use the system defaults. + // CaFilePath The specific CA certificate file to use for SSL verification. Leave blank to use the system defaults. CaFilePath *string `json:"ca_file_path"` ContentTypes *[]string `json:"content_types,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` + // HttpContentType The complete list of official content types is available here. + HttpContentType *string `json:"http_content_type,omitempty"` + HttpMethod *HttpMethodEnum `json:"http_method,omitempty"` + Id openapi_types.UUID `json:"id"` + Name *string `json:"name,omitempty"` - // The complete list of official content types is available here. - HttpContentType *string `json:"http_content_type,omitempty"` - HttpMethod *HttpMethodEnum `json:"http_method,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - - // A POST will be sent to this URL when the webhook is called. + // PayloadUrl A POST will be sent to this URL when the webhook is called. PayloadUrl *string `json:"payload_url,omitempty"` - // When provided, the request will include a 'X-Hook-Signature' header containing a HMAC hex digest of the payload body using the secret as the key. The secret is not transmitted in the request. + // Secret When provided, the request will include a 'X-Hook-Signature' header containing a HMAC hex digest of the payload body using the secret as the key. The secret is not transmitted in the request. Secret *string `json:"secret,omitempty"` - // Enable SSL certificate verification. Disable with caution! + // SslVerification Enable SSL certificate verification. Disable with caution! SslVerification *bool `json:"ssl_verification,omitempty"` - // Call this webhook when a matching object is created. + // TypeCreate Call this webhook when a matching object is created. TypeCreate *bool `json:"type_create,omitempty"` - // Call this webhook when a matching object is deleted. + // TypeDelete Call this webhook when a matching object is deleted. TypeDelete *bool `json:"type_delete,omitempty"` - // Call this webhook when a matching object is updated. - TypeUpdate *bool `json:"type_update,omitempty"` - Url *string `json:"url,omitempty"` + // TypeUpdate Call this webhook when a matching object is updated. + TypeUpdate *bool `json:"type_update,omitempty"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableAggregate struct { - ComputedFields *PatchedWritableAggregate_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritableAggregate_CustomFields `json:"custom_fields,omitempty"` - DateAdded *openapi_types.Date `json:"date_added"` - Description *string `json:"description,omitempty"` +// PatchedBulkWritableZoneRequest Zone Serializer. +type PatchedBulkWritableZoneRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Id openapi_types.UUID `json:"id"` + Interfaces *[]NestedInterfaceRequest `json:"interfaces,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Family *struct { - // Embedded struct due to allOf(#/components/schemas/FamilyEnum) - FamilyEnum `yaml:",inline"` - } `json:"family,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Prefix *string `json:"prefix,omitempty"` - Rir *openapi_types.UUID `json:"rir,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Url *string `json:"url,omitempty"` + // Name Name of the zone (e.g. trust) + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableZoneRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableZoneRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedBulkWritableZoneRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// PatchedWritableAggregate_ComputedFields defines model for PatchedWritableAggregate.ComputedFields. -type PatchedWritableAggregate_ComputedFields struct { +// PatchedBulkWritableZoneRequest_Relationships_Destination_Objects_Item defines model for PatchedBulkWritableZoneRequest.relationships.destination.objects.Item. +type PatchedBulkWritableZoneRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableAggregate_CustomFields defines model for PatchedWritableAggregate.CustomFields. -type PatchedWritableAggregate_CustomFields struct { +// PatchedBulkWritableZoneRequest_Relationships_Peer_Objects_Item defines model for PatchedBulkWritableZoneRequest.relationships.peer.objects.Item. +type PatchedBulkWritableZoneRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Mixin to add `status` choice field to model serializers. -type PatchedWritableCable struct { - Color *string `json:"color,omitempty"` - ComputedFields *PatchedWritableCable_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *PatchedWritableCable_CustomFields `json:"custom_fields,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Label *string `json:"label,omitempty"` - Length *int `json:"length"` - LengthUnit *interface{} `json:"length_unit,omitempty"` - Status *WritableCableStatusEnum `json:"status,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - TerminationA *PatchedWritableCable_TerminationA `json:"termination_a"` - TerminationAId *openapi_types.UUID `json:"termination_a_id,omitempty"` - TerminationAType *string `json:"termination_a_type,omitempty"` - TerminationB *PatchedWritableCable_TerminationB `json:"termination_b"` - TerminationBId *openapi_types.UUID `json:"termination_b_id,omitempty"` - TerminationBType *string `json:"termination_b_type,omitempty"` - Type *interface{} `json:"type,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedWritableCable_ComputedFields defines model for PatchedWritableCable.ComputedFields. -type PatchedWritableCable_ComputedFields struct { +// PatchedBulkWritableZoneRequest_Relationships_Source_Objects_Item defines model for PatchedBulkWritableZoneRequest.relationships.source.objects.Item. +type PatchedBulkWritableZoneRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableCable_CustomFields defines model for PatchedWritableCable.CustomFields. -type PatchedWritableCable_CustomFields struct { +// PatchedCapircaPolicyRequest CapircaPolicy Serializer. +type PatchedCapircaPolicyRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Cfg *string `json:"cfg"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Device *openapi_types.UUID `json:"device"` + Net *string `json:"net"` + Pol *string `json:"pol"` + Svc *string `json:"svc"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedCircuitMaintenanceCircuitImpactRequest Serializer for API. +type PatchedCircuitMaintenanceCircuitImpactRequest struct { + Circuit *openapi_types.UUID `json:"circuit,omitempty"` + Impact *PatchedCircuitMaintenanceCircuitImpactRequest_Impact `json:"impact"` + Maintenance *openapi_types.UUID `json:"maintenance,omitempty"` +} + +// PatchedCircuitMaintenanceCircuitImpactRequest_Impact defines model for PatchedCircuitMaintenanceCircuitImpactRequest.Impact. +type PatchedCircuitMaintenanceCircuitImpactRequest_Impact struct { + union json.RawMessage +} + +// PatchedCircuitMaintenanceRequest Serializer for API. +type PatchedCircuitMaintenanceRequest struct { + Ack *bool `json:"ack"` + Description *string `json:"description"` + EndTime *time.Time `json:"end_time,omitempty"` + Name *string `json:"name,omitempty"` + StartTime *time.Time `json:"start_time,omitempty"` + Status *PatchedCircuitMaintenanceRequest_Status `json:"status"` +} + +// PatchedCircuitMaintenanceRequest_Status defines model for PatchedCircuitMaintenanceRequest.Status. +type PatchedCircuitMaintenanceRequest_Status struct { + union json.RawMessage +} + +// PatchedCircuitTypeRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedCircuitTypeRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedCircuitTypeRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedCircuitTypeRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedCircuitTypeRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedCircuitTypeRequest_Relationships_Destination_Objects_Item defines model for PatchedCircuitTypeRequest.relationships.destination.objects.Item. +type PatchedCircuitTypeRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableCable_TerminationA defines model for PatchedWritableCable.TerminationA. -type PatchedWritableCable_TerminationA struct { +// PatchedCircuitTypeRequest_Relationships_Peer_Objects_Item defines model for PatchedCircuitTypeRequest.relationships.peer.objects.Item. +type PatchedCircuitTypeRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableCable_TerminationB defines model for PatchedWritableCable.TerminationB. -type PatchedWritableCable_TerminationB struct { +// PatchedCircuitTypeRequest_Relationships_Source_Objects_Item defines model for PatchedCircuitTypeRequest.relationships.source.objects.Item. +type PatchedCircuitTypeRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Mixin to add `status` choice field to model serializers. -type PatchedWritableCircuit struct { - Cid *string `json:"cid,omitempty"` - Comments *string `json:"comments,omitempty"` - CommitRate *int `json:"commit_rate"` - ComputedFields *PatchedWritableCircuit_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritableCircuit_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - InstallDate *openapi_types.Date `json:"install_date"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Provider *openapi_types.UUID `json:"provider,omitempty"` - Status *WritableCircuitStatusEnum `json:"status,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - TerminationA *struct { - // Embedded struct due to allOf(#/components/schemas/CircuitCircuitTermination) - CircuitCircuitTermination `yaml:",inline"` - } `json:"termination_a,omitempty"` - TerminationZ *struct { - // Embedded struct due to allOf(#/components/schemas/CircuitCircuitTermination) - CircuitCircuitTermination `yaml:",inline"` - } `json:"termination_z,omitempty"` - Type *openapi_types.UUID `json:"type,omitempty"` - Url *string `json:"url,omitempty"` +// PatchedClusterGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedClusterGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedClusterGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedClusterGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedClusterGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` } -// PatchedWritableCircuit_ComputedFields defines model for PatchedWritableCircuit.ComputedFields. -type PatchedWritableCircuit_ComputedFields struct { +// PatchedClusterGroupRequest_Relationships_Destination_Objects_Item defines model for PatchedClusterGroupRequest.relationships.destination.objects.Item. +type PatchedClusterGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableCircuit_CustomFields defines model for PatchedWritableCircuit.CustomFields. -type PatchedWritableCircuit_CustomFields struct { +// PatchedClusterGroupRequest_Relationships_Peer_Objects_Item defines model for PatchedClusterGroupRequest.relationships.peer.objects.Item. +type PatchedClusterGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// PatchedClusterGroupRequest_Relationships_Source_Objects_Item defines model for PatchedClusterGroupRequest.relationships.source.objects.Item. +type PatchedClusterGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedClusterTypeRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedClusterTypeRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedClusterTypeRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedClusterTypeRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedClusterTypeRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedClusterTypeRequest_Relationships_Destination_Objects_Item defines model for PatchedClusterTypeRequest.relationships.destination.objects.Item. +type PatchedClusterTypeRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedClusterTypeRequest_Relationships_Peer_Objects_Item defines model for PatchedClusterTypeRequest.relationships.peer.objects.Item. +type PatchedClusterTypeRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedClusterTypeRequest_Relationships_Source_Objects_Item defines model for PatchedClusterTypeRequest.relationships.source.objects.Item. +type PatchedClusterTypeRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedCommandTokenRequest API serializer for interacting with CommandToken objects. +type PatchedCommandTokenRequest struct { + // Comment Optional: Enter description of token + Comment *string `json:"comment,omitempty"` + Platform *PlatformEnum `json:"platform,omitempty"` + + // Token Token given by chat platform for signing or command validation + Token *string `json:"token,omitempty"` +} + +// PatchedComplianceFeatureRequest Serializer for ComplianceFeature object. +type PatchedComplianceFeatureRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedComplianceRuleRequest Serializer for ComplianceRule object. +type PatchedComplianceRuleRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + + // ConfigOrdered Whether or not the configuration order matters, such as in ACLs. + ConfigOrdered *bool `json:"config_ordered,omitempty"` + + // ConfigType Whether the config is in cli or json/structured format. + ConfigType *ConfigTypeEnum `json:"config_type,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Feature *openapi_types.UUID `json:"feature,omitempty"` + + // MatchConfig The config to match that is matched based on the parent most configuration. e.g. `router bgp` or `ntp`. + MatchConfig *string `json:"match_config"` + Platform *openapi_types.UUID `json:"platform,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedComputedFieldRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type PatchedWritableCircuitTermination struct { - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *PatchedWritableCircuitTermination_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - Circuit *openapi_types.UUID `json:"circuit,omitempty"` - ConnectedEndpoint *PatchedWritableCircuitTermination_ConnectedEndpoint `json:"connected_endpoint"` - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` - ConnectedEndpointType *string `json:"connected_endpoint_type"` - Description *string `json:"description,omitempty"` +type PatchedComputedFieldRequest struct { + ContentType *string `json:"content_type,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - PortSpeed *int `json:"port_speed"` - PpInfo *string `json:"pp_info,omitempty"` - ProviderNetwork *openapi_types.UUID `json:"provider_network"` - Site *openapi_types.UUID `json:"site"` - TermSide *struct { - // Embedded struct due to allOf(#/components/schemas/TermSideEnum) - TermSideEnum `yaml:",inline"` - } `json:"term_side,omitempty"` + // FallbackValue Fallback value (if any) to be output for the field in the case of a template rendering error. + FallbackValue *string `json:"fallback_value,omitempty"` - // Upstream speed, if different from port speed + // Label Name of the field as displayed to users + Label *string `json:"label,omitempty"` + + // Slug Internal field name. Please use underscores rather than dashes in this slug. + Slug *string `json:"slug,omitempty"` + + // Template Jinja2 template code for field value + Template *string `json:"template,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// PatchedConfigComplianceRequest Serializer for ConfigCompliance object. +type PatchedConfigComplianceRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + + // Actual Actual Configuration for feature + Actual *map[string]interface{} `json:"actual,omitempty"` + Compliance *bool `json:"compliance"` + ComplianceInt *int `json:"compliance_int"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Device The device + Device *openapi_types.UUID `json:"device,omitempty"` + + // Extra Configuration that should not be on the device. + Extra *map[string]interface{} `json:"extra,omitempty"` + + // Intended Intended Configuration for feature + Intended *map[string]interface{} `json:"intended,omitempty"` + + // Missing Configuration that should be on the device. + Missing *map[string]interface{} `json:"missing,omitempty"` + Ordered *bool `json:"ordered,omitempty"` + Rule *openapi_types.UUID `json:"rule,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedConfigContextSchemaRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedConfigContextSchemaRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // DataSchema A JSON Schema document which is used to validate a config context object. + DataSchema *map[string]interface{} `json:"data_schema,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + OwnerContentType *string `json:"owner_content_type"` + OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedConfigContextSchemaRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedConfigContextSchemaRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedConfigContextSchemaRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedConfigContextSchemaRequest_Relationships_Destination_Objects_Item defines model for PatchedConfigContextSchemaRequest.relationships.destination.objects.Item. +type PatchedConfigContextSchemaRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedConfigContextSchemaRequest_Relationships_Peer_Objects_Item defines model for PatchedConfigContextSchemaRequest.relationships.peer.objects.Item. +type PatchedConfigContextSchemaRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedConfigContextSchemaRequest_Relationships_Source_Objects_Item defines model for PatchedConfigContextSchemaRequest.relationships.source.objects.Item. +type PatchedConfigContextSchemaRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedConfigRemoveRequest Serializer for ConfigRemove object. +type PatchedConfigRemoveRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Platform *openapi_types.UUID `json:"platform,omitempty"` + + // Regex Regex pattern used to remove a line from the backup configuration. + Regex *string `json:"regex,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedConfigReplaceRequest Serializer for ConfigReplace object. +type PatchedConfigReplaceRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Platform *openapi_types.UUID `json:"platform,omitempty"` + + // Regex Regex pattern that will be found and replaced with 'replaced text'. + Regex *string `json:"regex,omitempty"` + + // Replace Text that will be inserted in place of Regex pattern match. + Replace *string `json:"replace,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedCustomFieldSerializerVersion12Request Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedCustomFieldSerializerVersion12Request struct { + ContentTypes *[]string `json:"content_types,omitempty"` + + // Default Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo"). + Default *map[string]interface{} `json:"default"` + + // Description A helpful description for this field. + Description *string `json:"description,omitempty"` + FilterLogic *FilterLogicEnum `json:"filter_logic,omitempty"` + Label *string `json:"label,omitempty"` + + // Name Human-readable unique name of this field. + Name *string `json:"name,omitempty"` + + // Required If true, this field is required when creating new objects or editing an existing object. + Required *bool `json:"required,omitempty"` + Slug *string `json:"slug,omitempty"` + Type *CustomFieldTypeChoices `json:"type,omitempty"` + + // ValidationMaximum Maximum allowed value (for numeric fields). + ValidationMaximum *int64 `json:"validation_maximum"` + + // ValidationMinimum Minimum allowed value (for numeric fields). + ValidationMinimum *int64 `json:"validation_minimum"` + + // ValidationRegex Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters. Regular expression on select and multi-select will be applied at Custom Field Choices definition. + ValidationRegex *string `json:"validation_regex,omitempty"` + + // Weight Fields with higher weights appear lower in a form. + Weight *int `json:"weight,omitempty"` +} + +// PatchedCustomLinkRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedCustomLinkRequest struct { + // ButtonClass The class of the first link in a group will be used for the dropdown button + ButtonClass *ButtonClassEnum `json:"button_class,omitempty"` + ContentType *string `json:"content_type,omitempty"` + + // GroupName Links with the same group will appear as a dropdown menu + GroupName *string `json:"group_name,omitempty"` + Name *string `json:"name,omitempty"` + + // NewWindow Force link to open in a new window + NewWindow *bool `json:"new_window,omitempty"` + + // TargetUrl Jinja2 template code for link URL. Reference the object as {{ obj }} such as {{ obj.platform.slug }}. + TargetUrl *string `json:"target_url,omitempty"` + + // Text Jinja2 template code for link text. Reference the object as {{ obj }} such as {{ obj.platform.slug }}. Links which render as empty text will not be displayed. + Text *string `json:"text,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// PatchedDeviceRoleRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedDeviceRoleRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedDeviceRoleRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedDeviceRoleRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedDeviceRoleRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + + // VmRole Virtual machines may be assigned to this role + VmRole *bool `json:"vm_role,omitempty"` +} + +// PatchedDeviceRoleRequest_Relationships_Destination_Objects_Item defines model for PatchedDeviceRoleRequest.relationships.destination.objects.Item. +type PatchedDeviceRoleRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedDeviceRoleRequest_Relationships_Peer_Objects_Item defines model for PatchedDeviceRoleRequest.relationships.peer.objects.Item. +type PatchedDeviceRoleRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedDeviceRoleRequest_Relationships_Source_Objects_Item defines model for PatchedDeviceRoleRequest.relationships.source.objects.Item. +type PatchedDeviceRoleRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedDynamicGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedDynamicGroupRequest struct { + ContentType *string `json:"content_type,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Filter A JSON-encoded dictionary of filter parameters for group membership + Filter *map[string]interface{} `json:"filter,omitempty"` + + // Name Dynamic Group name + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedDynamicGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedDynamicGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedDynamicGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // Slug Unique slug + Slug *string `json:"slug,omitempty"` +} + +// PatchedDynamicGroupRequest_Relationships_Destination_Objects_Item defines model for PatchedDynamicGroupRequest.relationships.destination.objects.Item. +type PatchedDynamicGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedDynamicGroupRequest_Relationships_Peer_Objects_Item defines model for PatchedDynamicGroupRequest.relationships.peer.objects.Item. +type PatchedDynamicGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedDynamicGroupRequest_Relationships_Source_Objects_Item defines model for PatchedDynamicGroupRequest.relationships.source.objects.Item. +type PatchedDynamicGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedExportTemplateRequest Extend ValidatedModelSerializer with a `relationships` field. +type PatchedExportTemplateRequest struct { + ContentType *string `json:"content_type,omitempty"` + Description *string `json:"description,omitempty"` + + // FileExtension Extension to append to the rendered filename + FileExtension *string `json:"file_extension,omitempty"` + + // MimeType Defaults to text/plain + MimeType *string `json:"mime_type,omitempty"` + Name *string `json:"name,omitempty"` + OwnerContentType *string `json:"owner_content_type"` + OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedExportTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedExportTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedExportTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // TemplateCode The list of objects being exported is passed as a context variable named queryset. + TemplateCode *string `json:"template_code,omitempty"` +} + +// PatchedExportTemplateRequest_Relationships_Destination_Objects_Item defines model for PatchedExportTemplateRequest.relationships.destination.objects.Item. +type PatchedExportTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedExportTemplateRequest_Relationships_Peer_Objects_Item defines model for PatchedExportTemplateRequest.relationships.peer.objects.Item. +type PatchedExportTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedExportTemplateRequest_Relationships_Source_Objects_Item defines model for PatchedExportTemplateRequest.relationships.source.objects.Item. +type PatchedExportTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedGoldenConfigRequest Serializer for GoldenConfig object. +type PatchedGoldenConfigRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + + // BackupConfig Full backup config for device. + BackupConfig *string `json:"backup_config,omitempty"` + BackupLastAttemptDate *time.Time `json:"backup_last_attempt_date"` + BackupLastSuccessDate *time.Time `json:"backup_last_success_date"` + + // ComplianceConfig Full config diff for device. + ComplianceConfig *string `json:"compliance_config,omitempty"` + ComplianceLastAttemptDate *time.Time `json:"compliance_last_attempt_date"` + ComplianceLastSuccessDate *time.Time `json:"compliance_last_success_date"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Device device + Device *openapi_types.UUID `json:"device,omitempty"` + + // IntendedConfig Intended config for the device. + IntendedConfig *string `json:"intended_config,omitempty"` + IntendedLastAttemptDate *time.Time `json:"intended_last_attempt_date"` + IntendedLastSuccessDate *time.Time `json:"intended_last_success_date"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedGraphQLQueryRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedGraphQLQueryRequest struct { + Name *string `json:"name,omitempty"` + Query *string `json:"query,omitempty"` + Slug *string `json:"slug,omitempty"` + Variables *map[string]interface{} `json:"variables"` +} + +// PatchedGroupRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedGroupRequest struct { + Name *string `json:"name,omitempty"` +} + +// PatchedIPRangeRequest IPRange Serializer. +type PatchedIPRangeRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + EndAddress *string `json:"end_address,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedIPRangeRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedIPRangeRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedIPRangeRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + StartAddress *string `json:"start_address,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Vrf *openapi_types.UUID `json:"vrf"` +} + +// PatchedIPRangeRequest_Relationships_Destination_Objects_Item defines model for PatchedIPRangeRequest.relationships.destination.objects.Item. +type PatchedIPRangeRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedIPRangeRequest_Relationships_Peer_Objects_Item defines model for PatchedIPRangeRequest.relationships.peer.objects.Item. +type PatchedIPRangeRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedIPRangeRequest_Relationships_Source_Objects_Item defines model for PatchedIPRangeRequest.relationships.source.objects.Item. +type PatchedIPRangeRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedImageAttachmentRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedImageAttachmentRequest struct { + ContentType *string `json:"content_type,omitempty"` + Image *openapi_types.File `json:"image,omitempty"` + ImageHeight *int `json:"image_height,omitempty"` + ImageWidth *int `json:"image_width,omitempty"` + Name *string `json:"name,omitempty"` + ObjectId *openapi_types.UUID `json:"object_id,omitempty"` +} + +// PatchedJobHookRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedJobHookRequest struct { + ContentTypes *[]string `json:"content_types,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + + // Job The job that this job hook will initiate + Job *openapi_types.UUID `json:"job,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedJobHookRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedJobHookRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedJobHookRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // TypeCreate Call this job hook when a matching object is created. + TypeCreate *bool `json:"type_create,omitempty"` + + // TypeDelete Call this job hook when a matching object is deleted. + TypeDelete *bool `json:"type_delete,omitempty"` + + // TypeUpdate Call this job hook when a matching object is updated. + TypeUpdate *bool `json:"type_update,omitempty"` +} + +// PatchedJobHookRequest_Relationships_Destination_Objects_Item defines model for PatchedJobHookRequest.relationships.destination.objects.Item. +type PatchedJobHookRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedJobHookRequest_Relationships_Peer_Objects_Item defines model for PatchedJobHookRequest.relationships.peer.objects.Item. +type PatchedJobHookRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedJobHookRequest_Relationships_Source_Objects_Item defines model for PatchedJobHookRequest.relationships.source.objects.Item. +type PatchedJobHookRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedJobRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedJobRequest struct { + // ApprovalRequired Whether the job requires approval from another user before running + ApprovalRequired *bool `json:"approval_required,omitempty"` + + // ApprovalRequiredOverride If set, the configured value will remain even if the underlying Job source code changes + ApprovalRequiredOverride *bool `json:"approval_required_override,omitempty"` + + // CommitDefault Whether the job defaults to committing changes when run, or defaults to a dry-run + CommitDefault *bool `json:"commit_default,omitempty"` + + // CommitDefaultOverride If set, the configured value will remain even if the underlying Job source code changes + CommitDefaultOverride *bool `json:"commit_default_override,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Description Markdown formatting is supported + Description *string `json:"description,omitempty"` + + // DescriptionOverride If set, the configured description will remain even if the underlying Job source code changes + DescriptionOverride *bool `json:"description_override,omitempty"` + + // Enabled Whether this job can be executed by users + Enabled *bool `json:"enabled,omitempty"` + + // Grouping Human-readable grouping that this job belongs to + Grouping *string `json:"grouping,omitempty"` + + // GroupingOverride If set, the configured grouping will remain even if the underlying Job source code changes + GroupingOverride *bool `json:"grouping_override,omitempty"` + + // HasSensitiveVariables Whether this job contains sensitive variables + HasSensitiveVariables *bool `json:"has_sensitive_variables,omitempty"` + + // HasSensitiveVariablesOverride If set, the configured value will remain even if the underlying Job source code changes + HasSensitiveVariablesOverride *bool `json:"has_sensitive_variables_override,omitempty"` + + // Hidden Whether the job defaults to not being shown in the UI + Hidden *bool `json:"hidden,omitempty"` + + // HiddenOverride If set, the configured value will remain even if the underlying Job source code changes + HiddenOverride *bool `json:"hidden_override,omitempty"` + + // Name Human-readable name of this job + Name *string `json:"name,omitempty"` + + // NameOverride If set, the configured name will remain even if the underlying Job source code changes + NameOverride *bool `json:"name_override,omitempty"` + + // ReadOnly Whether the job is prevented from making lasting changes to the database + ReadOnly *bool `json:"read_only,omitempty"` + + // ReadOnlyOverride If set, the configured value will remain even if the underlying Job source code changes + ReadOnlyOverride *bool `json:"read_only_override,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedJobRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedJobRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedJobRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + + // SoftTimeLimit Maximum runtime in seconds before the job will receive a SoftTimeLimitExceeded exception.
Set to 0 to use Nautobot system default + SoftTimeLimit *float64 `json:"soft_time_limit,omitempty"` + + // SoftTimeLimitOverride If set, the configured value will remain even if the underlying Job source code changes + SoftTimeLimitOverride *bool `json:"soft_time_limit_override,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + + // TaskQueues Comma separated list of task queues that this job can run on. A blank list will use the default queue + TaskQueues *map[string]interface{} `json:"task_queues,omitempty"` + + // TaskQueuesOverride If set, the configured value will remain even if the underlying Job source code changes + TaskQueuesOverride *bool `json:"task_queues_override,omitempty"` + + // TimeLimit Maximum runtime in seconds before the job will be forcibly terminated.
Set to 0 to use Nautobot system default + TimeLimit *float64 `json:"time_limit,omitempty"` + + // TimeLimitOverride If set, the configured value will remain even if the underlying Job source code changes + TimeLimitOverride *bool `json:"time_limit_override,omitempty"` +} + +// PatchedJobRequest_Relationships_Destination_Objects_Item defines model for PatchedJobRequest.relationships.destination.objects.Item. +type PatchedJobRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedJobRequest_Relationships_Peer_Objects_Item defines model for PatchedJobRequest.relationships.peer.objects.Item. +type PatchedJobRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedJobRequest_Relationships_Source_Objects_Item defines model for PatchedJobRequest.relationships.source.objects.Item. +type PatchedJobRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedManufacturerRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedManufacturerRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedManufacturerRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedManufacturerRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedManufacturerRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedManufacturerRequest_Relationships_Destination_Objects_Item defines model for PatchedManufacturerRequest.relationships.destination.objects.Item. +type PatchedManufacturerRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedManufacturerRequest_Relationships_Peer_Objects_Item defines model for PatchedManufacturerRequest.relationships.peer.objects.Item. +type PatchedManufacturerRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedManufacturerRequest_Relationships_Source_Objects_Item defines model for PatchedManufacturerRequest.relationships.source.objects.Item. +type PatchedManufacturerRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedMinMaxValidationRuleRequest Serializer for `MinMaxValidationRule` objects. +type PatchedMinMaxValidationRuleRequest struct { + ContentType *string `json:"content_type,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + + // ErrorMessage Optional error message to display when validation fails. + ErrorMessage *string `json:"error_message"` + Field *string `json:"field,omitempty"` + + // Max When set, apply a maximum value contraint to the value of the model field. + Max *float64 `json:"max"` + + // Min When set, apply a minimum value contraint to the value of the model field. + Min *float64 `json:"min"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedNATPolicyRequest NATPolicy Serializer. +type PatchedNATPolicyRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AssignedDevices *[]NATPolicyDeviceM2MNestedRequest `json:"assigned_devices,omitempty"` + AssignedDynamicGroups *[]NATPolicyDynamicGroupM2MNestedRequest `json:"assigned_dynamic_groups,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedNATPolicyRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedNATPolicyRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedNATPolicyRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` +} + +// PatchedNATPolicyRequest_Relationships_Destination_Objects_Item defines model for PatchedNATPolicyRequest.relationships.destination.objects.Item. +type PatchedNATPolicyRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedNATPolicyRequest_Relationships_Peer_Objects_Item defines model for PatchedNATPolicyRequest.relationships.peer.objects.Item. +type PatchedNATPolicyRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedNATPolicyRequest_Relationships_Source_Objects_Item defines model for PatchedNATPolicyRequest.relationships.source.objects.Item. +type PatchedNATPolicyRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedNoteRequest This base serializer implements common fields and logic for all ModelSerializers. +// +// Namely, it: +// +// - defines the `display` field which exposes a human friendly value for the given object. +// - ensures that `id` field is always present on the serializer as well +// - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. +type PatchedNoteRequest struct { + AssignedObjectId *openapi_types.UUID `json:"assigned_object_id,omitempty"` + AssignedObjectType *string `json:"assigned_object_type,omitempty"` + Note *string `json:"note,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedPeeringRequest REST API serializer for Peering records. +type PatchedPeeringRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Status *CircuitStatusChoices `json:"status,omitempty"` +} + +// PatchedPeeringRoleRequest REST API serializer for PeeringRole records. +type PatchedPeeringRoleRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedPolicyRequest Policy Serializer. +type PatchedPolicyRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AssignedDevices *[]PolicyDeviceM2MNestedRequest `json:"assigned_devices,omitempty"` + AssignedDynamicGroups *[]PolicyDynamicGroupM2MNestedRequest `json:"assigned_dynamic_groups,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedPolicyRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedPolicyRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedPolicyRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` +} + +// PatchedPolicyRequest_Relationships_Destination_Objects_Item defines model for PatchedPolicyRequest.relationships.destination.objects.Item. +type PatchedPolicyRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedPolicyRequest_Relationships_Peer_Objects_Item defines model for PatchedPolicyRequest.relationships.peer.objects.Item. +type PatchedPolicyRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedPolicyRequest_Relationships_Source_Objects_Item defines model for PatchedPolicyRequest.relationships.source.objects.Item. +type PatchedPolicyRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedProviderLCMRequest API serializer. +type PatchedProviderLCMRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + Name *string `json:"name,omitempty"` + Phone *string `json:"phone,omitempty"` + PhysicalAddress *string `json:"physical_address,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedProviderLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedProviderLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedProviderLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedProviderLCMRequest_Relationships_Destination_Objects_Item defines model for PatchedProviderLCMRequest.relationships.destination.objects.Item. +type PatchedProviderLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedProviderLCMRequest_Relationships_Peer_Objects_Item defines model for PatchedProviderLCMRequest.relationships.peer.objects.Item. +type PatchedProviderLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedProviderLCMRequest_Relationships_Source_Objects_Item defines model for PatchedProviderLCMRequest.relationships.source.objects.Item. +type PatchedProviderLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedProviderRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedProviderRequest struct { + Account *string `json:"account,omitempty"` + AdminContact *string `json:"admin_contact,omitempty"` + + // Asn 32-bit autonomous system number + Asn *int64 `json:"asn"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Name *string `json:"name,omitempty"` + NocContact *string `json:"noc_contact,omitempty"` + PortalUrl *string `json:"portal_url,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedProviderRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedProviderRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedProviderRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedProviderRequest_Relationships_Destination_Objects_Item defines model for PatchedProviderRequest.relationships.destination.objects.Item. +type PatchedProviderRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedProviderRequest_Relationships_Peer_Objects_Item defines model for PatchedProviderRequest.relationships.peer.objects.Item. +type PatchedProviderRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedProviderRequest_Relationships_Source_Objects_Item defines model for PatchedProviderRequest.relationships.source.objects.Item. +type PatchedProviderRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedRIRRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedRIRRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IsPrivate IP space managed by this RIR is considered private + IsPrivate *bool `json:"is_private,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedRIRRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedRIRRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedRIRRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedRIRRequest_Relationships_Destination_Objects_Item defines model for PatchedRIRRequest.relationships.destination.objects.Item. +type PatchedRIRRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedRIRRequest_Relationships_Peer_Objects_Item defines model for PatchedRIRRequest.relationships.peer.objects.Item. +type PatchedRIRRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedRIRRequest_Relationships_Source_Objects_Item defines model for PatchedRIRRequest.relationships.source.objects.Item. +type PatchedRIRRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedRackRoleRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedRackRoleRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedRackRoleRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedRackRoleRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedRackRoleRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedRackRoleRequest_Relationships_Destination_Objects_Item defines model for PatchedRackRoleRequest.relationships.destination.objects.Item. +type PatchedRackRoleRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedRackRoleRequest_Relationships_Peer_Objects_Item defines model for PatchedRackRoleRequest.relationships.peer.objects.Item. +type PatchedRackRoleRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedRackRoleRequest_Relationships_Source_Objects_Item defines model for PatchedRackRoleRequest.relationships.source.objects.Item. +type PatchedRackRoleRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedRegularExpressionValidationRuleRequest Serializer for `RegularExpressionValidationRule` objects. +type PatchedRegularExpressionValidationRuleRequest struct { + ContentType *string `json:"content_type,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + + // ErrorMessage Optional error message to display when validation fails. + ErrorMessage *string `json:"error_message"` + Field *string `json:"field,omitempty"` + Name *string `json:"name,omitempty"` + RegularExpression *string `json:"regular_expression,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedRelationshipRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedRelationshipRequest struct { + Description *string `json:"description,omitempty"` + + // DestinationFilter Filterset filter matching the applicable destination objects of the selected type + DestinationFilter *map[string]interface{} `json:"destination_filter"` + + // DestinationHidden Hide this relationship on the destination object. + DestinationHidden *bool `json:"destination_hidden,omitempty"` + + // DestinationLabel Label for related source objects, as displayed on the destination object. + DestinationLabel *string `json:"destination_label,omitempty"` + DestinationType *string `json:"destination_type,omitempty"` + + // Name Name of the relationship as displayed to users + Name *string `json:"name,omitempty"` + + // RequiredOn Objects on the specified side MUST implement this relationship. Not permitted for symmetric relationships. + RequiredOn *PatchedRelationshipRequest_RequiredOn `json:"required_on,omitempty"` + + // Slug Internal relationship name. Please use underscores rather than dashes in this slug. + Slug *string `json:"slug,omitempty"` + + // SourceFilter Filterset filter matching the applicable source objects of the selected type + SourceFilter *map[string]interface{} `json:"source_filter"` + + // SourceHidden Hide this relationship on the source object. + SourceHidden *bool `json:"source_hidden,omitempty"` + + // SourceLabel Label for related destination objects, as displayed on the source object. + SourceLabel *string `json:"source_label,omitempty"` + SourceType *string `json:"source_type,omitempty"` + + // Type Cardinality of this relationship + Type *RelationshipTypeChoices `json:"type,omitempty"` +} + +// PatchedRelationshipRequest_RequiredOn Objects on the specified side MUST implement this relationship. Not permitted for symmetric relationships. +type PatchedRelationshipRequest_RequiredOn struct { + union json.RawMessage +} + +// PatchedRoleRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedRoleRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedRoleRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedRoleRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedRoleRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// PatchedRoleRequest_Relationships_Destination_Objects_Item defines model for PatchedRoleRequest.relationships.destination.objects.Item. +type PatchedRoleRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedRoleRequest_Relationships_Peer_Objects_Item defines model for PatchedRoleRequest.relationships.peer.objects.Item. +type PatchedRoleRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedRoleRequest_Relationships_Source_Objects_Item defines model for PatchedRoleRequest.relationships.source.objects.Item. +type PatchedRoleRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedSecretRequest Serializer for `Secret` objects. +type PatchedSecretRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Parameters *map[string]interface{} `json:"parameters,omitempty"` + Provider *string `json:"provider,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedSecretRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedSecretRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedSecretRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedSecretRequest_Relationships_Destination_Objects_Item defines model for PatchedSecretRequest.relationships.destination.objects.Item. +type PatchedSecretRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedSecretRequest_Relationships_Peer_Objects_Item defines model for PatchedSecretRequest.relationships.peer.objects.Item. +type PatchedSecretRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedSecretRequest_Relationships_Source_Objects_Item defines model for PatchedSecretRequest.relationships.source.objects.Item. +type PatchedSecretRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedSecretsGroupRequest Serializer for `SecretsGroup` objects. +type PatchedSecretsGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedSecretsGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedSecretsGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedSecretsGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedSecretsGroupRequest_Relationships_Destination_Objects_Item defines model for PatchedSecretsGroupRequest.relationships.destination.objects.Item. +type PatchedSecretsGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedSecretsGroupRequest_Relationships_Peer_Objects_Item defines model for PatchedSecretsGroupRequest.relationships.peer.objects.Item. +type PatchedSecretsGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedSecretsGroupRequest_Relationships_Source_Objects_Item defines model for PatchedSecretsGroupRequest.relationships.source.objects.Item. +type PatchedSecretsGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedServiceObjectRequest ServiceObject Serializer. +type PatchedServiceObjectRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol *IpProtocolEnum `json:"ip_protocol,omitempty"` + + // Name Name of the service (e.g. HTTP) + Name *string `json:"name,omitempty"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedServiceObjectRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedServiceObjectRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedServiceObjectRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedServiceObjectRequest_Relationships_Destination_Objects_Item defines model for PatchedServiceObjectRequest.relationships.destination.objects.Item. +type PatchedServiceObjectRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedServiceObjectRequest_Relationships_Peer_Objects_Item defines model for PatchedServiceObjectRequest.relationships.peer.objects.Item. +type PatchedServiceObjectRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedServiceObjectRequest_Relationships_Source_Objects_Item defines model for PatchedServiceObjectRequest.relationships.source.objects.Item. +type PatchedServiceObjectRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedStatusRequest Serializer for `Status` objects. +type PatchedStatusRequest struct { + Color *string `json:"color,omitempty"` + ContentTypes *[]string `json:"content_types,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedStatusRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedStatusRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedStatusRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedStatusRequest_Relationships_Destination_Objects_Item defines model for PatchedStatusRequest.relationships.destination.objects.Item. +type PatchedStatusRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedStatusRequest_Relationships_Peer_Objects_Item defines model for PatchedStatusRequest.relationships.peer.objects.Item. +type PatchedStatusRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedStatusRequest_Relationships_Source_Objects_Item defines model for PatchedStatusRequest.relationships.source.objects.Item. +type PatchedStatusRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedTagSerializerVersion13Request Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedTagSerializerVersion13Request struct { + Color *string `json:"color,omitempty"` + ContentTypes *[]string `json:"content_types,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedTagSerializerVersion13Request_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedTagSerializerVersion13Request_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedTagSerializerVersion13Request_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedTagSerializerVersion13Request_Relationships_Destination_Objects_Item defines model for PatchedTagSerializerVersion13Request.relationships.destination.objects.Item. +type PatchedTagSerializerVersion13Request_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedTagSerializerVersion13Request_Relationships_Peer_Objects_Item defines model for PatchedTagSerializerVersion13Request.relationships.peer.objects.Item. +type PatchedTagSerializerVersion13Request_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedTagSerializerVersion13Request_Relationships_Source_Objects_Item defines model for PatchedTagSerializerVersion13Request.relationships.source.objects.Item. +type PatchedTagSerializerVersion13Request_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedTokenRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedTokenRequest struct { + Description *string `json:"description,omitempty"` + Expires *time.Time `json:"expires"` + Key *string `json:"key,omitempty"` + + // WriteEnabled Permit create/update/delete operations using this key + WriteEnabled *bool `json:"write_enabled,omitempty"` +} + +// PatchedUserObjectRequest UserObject Serializer. +type PatchedUserObjectRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Name Signifies the name of the user, commonly first & last name (e.g. John Smith) + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedUserObjectRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedUserObjectRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedUserObjectRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + + // Username Signifies the username in identify provider (e.g. john.smith) + Username *string `json:"username,omitempty"` +} + +// PatchedUserObjectRequest_Relationships_Destination_Objects_Item defines model for PatchedUserObjectRequest.relationships.destination.objects.Item. +type PatchedUserObjectRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedUserObjectRequest_Relationships_Peer_Objects_Item defines model for PatchedUserObjectRequest.relationships.peer.objects.Item. +type PatchedUserObjectRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedUserObjectRequest_Relationships_Source_Objects_Item defines model for PatchedUserObjectRequest.relationships.source.objects.Item. +type PatchedUserObjectRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedVulnerabilityLCMRequest REST API serializer for VulnerabilityLCM records. +type PatchedVulnerabilityLCMRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedVulnerabilityLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedVulnerabilityLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedVulnerabilityLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status4f5Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedVulnerabilityLCMRequest_Relationships_Destination_Objects_Item defines model for PatchedVulnerabilityLCMRequest.relationships.destination.objects.Item. +type PatchedVulnerabilityLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedVulnerabilityLCMRequest_Relationships_Peer_Objects_Item defines model for PatchedVulnerabilityLCMRequest.relationships.peer.objects.Item. +type PatchedVulnerabilityLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedVulnerabilityLCMRequest_Relationships_Source_Objects_Item defines model for PatchedVulnerabilityLCMRequest.relationships.source.objects.Item. +type PatchedVulnerabilityLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWebhookRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedWebhookRequest struct { + // AdditionalHeaders User-supplied HTTP headers to be sent with the request in addition to the HTTP content type. Headers should be defined in the format Name: Value. Jinja2 template processing is support with the same context as the request body (below). + AdditionalHeaders *string `json:"additional_headers,omitempty"` + + // BodyTemplate Jinja2 template for a custom request body. If blank, a JSON object representing the change will be included. Available context data includes: event, model, timestamp, username, request_id, and data. + BodyTemplate *string `json:"body_template,omitempty"` + + // CaFilePath The specific CA certificate file to use for SSL verification. Leave blank to use the system defaults. + CaFilePath *string `json:"ca_file_path"` + ContentTypes *[]string `json:"content_types,omitempty"` + + // HttpContentType The complete list of official content types is available here. + HttpContentType *string `json:"http_content_type,omitempty"` + HttpMethod *HttpMethodEnum `json:"http_method,omitempty"` + Name *string `json:"name,omitempty"` + + // PayloadUrl A POST will be sent to this URL when the webhook is called. + PayloadUrl *string `json:"payload_url,omitempty"` + + // Secret When provided, the request will include a 'X-Hook-Signature' header containing a HMAC hex digest of the payload body using the secret as the key. The secret is not transmitted in the request. + Secret *string `json:"secret,omitempty"` + + // SslVerification Enable SSL certificate verification. Disable with caution! + SslVerification *bool `json:"ssl_verification,omitempty"` + + // TypeCreate Call this webhook when a matching object is created. + TypeCreate *bool `json:"type_create,omitempty"` + + // TypeDelete Call this webhook when a matching object is deleted. + TypeDelete *bool `json:"type_delete,omitempty"` + + // TypeUpdate Call this webhook when a matching object is updated. + TypeUpdate *bool `json:"type_update,omitempty"` +} + +// PatchedWritableAddressFamilyRequest REST API serializer for AddressFamily records. +type PatchedWritableAddressFamilyRequest struct { + AfiSafi *AfiSafiEnum `json:"afi_safi,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + ExportPolicy *string `json:"export_policy,omitempty"` + ImportPolicy *string `json:"import_policy,omitempty"` + RoutingInstance *openapi_types.UUID `json:"routing_instance,omitempty"` + Vrf *openapi_types.UUID `json:"vrf"` +} + +// PatchedWritableAddressObjectGroupRequest AddressObjectGroup Serializer. +type PatchedWritableAddressObjectGroupRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Name descriptor for a group address objects. + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableAddressObjectGroupRequest.relationships.destination.objects.Item. +type PatchedWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableAddressObjectGroupRequest.relationships.peer.objects.Item. +type PatchedWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item defines model for PatchedWritableAddressObjectGroupRequest.relationships.source.objects.Item. +type PatchedWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableAddressObjectRequest AddressObject Serializer. +type PatchedWritableAddressObjectRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Fqdn *openapi_types.UUID `json:"fqdn"` + IpAddress *openapi_types.UUID `json:"ip_address"` + IpRange *openapi_types.UUID `json:"ip_range"` + + // Name Name descriptor for an address object type. + Name *string `json:"name,omitempty"` + Prefix *openapi_types.UUID `json:"prefix"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableAddressObjectRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableAddressObjectRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableAddressObjectRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedWritableAddressObjectRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableAddressObjectRequest.relationships.destination.objects.Item. +type PatchedWritableAddressObjectRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableAddressObjectRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableAddressObjectRequest.relationships.peer.objects.Item. +type PatchedWritableAddressObjectRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableAddressObjectRequest_Relationships_Source_Objects_Item defines model for PatchedWritableAddressObjectRequest.relationships.source.objects.Item. +type PatchedWritableAddressObjectRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableAggregateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableAggregateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DateAdded *openapi_types.Date `json:"date_added"` + Description *string `json:"description,omitempty"` + Prefix *string `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableAggregateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableAggregateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableAggregateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Rir *openapi_types.UUID `json:"rir,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` +} + +// PatchedWritableAggregateRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableAggregateRequest.relationships.destination.objects.Item. +type PatchedWritableAggregateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableAggregateRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableAggregateRequest.relationships.peer.objects.Item. +type PatchedWritableAggregateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableAggregateRequest_Relationships_Source_Objects_Item defines model for PatchedWritableAggregateRequest.relationships.source.objects.Item. +type PatchedWritableAggregateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableAutonomousSystemRequest REST API serializer for AutonomousSystem records. +type PatchedWritableAutonomousSystemRequest struct { + // Asn 32-bit autonomous system number + Asn *int64 `json:"asn,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Provider *openapi_types.UUID `json:"provider"` + Status *Status2a0Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedWritableBGPRoutingInstanceRequest REST API serializer for Peering records. +type PatchedWritableBGPRoutingInstanceRequest struct { + AutonomousSystem *openapi_types.UUID `json:"autonomous_system,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *openapi_types.UUID `json:"device,omitempty"` + RouterId *openapi_types.UUID `json:"router_id"` +} + +// PatchedWritableCVELCMRequest REST API serializer for CVELCM records. +type PatchedWritableCVELCMRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Cvss *float64 `json:"cvss"` + CvssV2 *float64 `json:"cvss_v2"` + CvssV3 *float64 `json:"cvss_v3"` + Description *string `json:"description"` + Fix *string `json:"fix"` + Link *string `json:"link,omitempty"` + Name *string `json:"name,omitempty"` + PublishedDate *openapi_types.Date `json:"published_date,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableCVELCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableCVELCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableCVELCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Severity *SeverityEnum `json:"severity,omitempty"` + Status *Status4f5Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedWritableCVELCMRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableCVELCMRequest.relationships.destination.objects.Item. +type PatchedWritableCVELCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableCVELCMRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableCVELCMRequest.relationships.peer.objects.Item. +type PatchedWritableCVELCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableCVELCMRequest_Relationships_Source_Objects_Item defines model for PatchedWritableCVELCMRequest.relationships.source.objects.Item. +type PatchedWritableCVELCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableCableRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableCableRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Label *string `json:"label,omitempty"` + Length *int `json:"length"` + LengthUnit *PatchedWritableCableRequest_LengthUnit `json:"length_unit,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableCableRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableCableRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableCableRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *CableStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + TerminationAId *openapi_types.UUID `json:"termination_a_id,omitempty"` + TerminationAType *string `json:"termination_a_type,omitempty"` + TerminationBId *openapi_types.UUID `json:"termination_b_id,omitempty"` + TerminationBType *string `json:"termination_b_type,omitempty"` + Type *PatchedWritableCableRequest_Type `json:"type,omitempty"` +} + +// PatchedWritableCableRequest_LengthUnit defines model for PatchedWritableCableRequest.LengthUnit. +type PatchedWritableCableRequest_LengthUnit struct { + union json.RawMessage +} + +// PatchedWritableCableRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableCableRequest.relationships.destination.objects.Item. +type PatchedWritableCableRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableCableRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableCableRequest.relationships.peer.objects.Item. +type PatchedWritableCableRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableCableRequest_Relationships_Source_Objects_Item defines model for PatchedWritableCableRequest.relationships.source.objects.Item. +type PatchedWritableCableRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableCableRequest_Type defines model for PatchedWritableCableRequest.Type. +type PatchedWritableCableRequest_Type struct { + union json.RawMessage +} + +// PatchedWritableCircuitRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableCircuitRequest struct { + Cid *string `json:"cid,omitempty"` + Comments *string `json:"comments,omitempty"` + CommitRate *int `json:"commit_rate"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + InstallDate *openapi_types.Date `json:"install_date"` + Provider *openapi_types.UUID `json:"provider,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableCircuitRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableCircuitRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableCircuitRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *CircuitStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + Type *openapi_types.UUID `json:"type,omitempty"` +} + +// PatchedWritableCircuitRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableCircuitRequest.relationships.destination.objects.Item. +type PatchedWritableCircuitRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableCircuitRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableCircuitRequest.relationships.peer.objects.Item. +type PatchedWritableCircuitRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableCircuitRequest_Relationships_Source_Objects_Item defines model for PatchedWritableCircuitRequest.relationships.source.objects.Item. +type PatchedWritableCircuitRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableCircuitTerminationRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableCircuitTerminationRequest struct { + Circuit *openapi_types.UUID `json:"circuit,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Location *openapi_types.UUID `json:"location"` + PortSpeed *int `json:"port_speed"` + PpInfo *string `json:"pp_info,omitempty"` + ProviderNetwork *openapi_types.UUID `json:"provider_network"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableCircuitTerminationRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Site *openapi_types.UUID `json:"site"` + TermSide *TermSideEnum `json:"term_side,omitempty"` + + // UpstreamSpeed Upstream speed, if different from port speed UpstreamSpeed *int `json:"upstream_speed"` - Url *string `json:"url,omitempty"` XconnectId *string `json:"xconnect_id,omitempty"` } -// PatchedWritableCircuitTermination_CablePeer defines model for PatchedWritableCircuitTermination.CablePeer. -type PatchedWritableCircuitTermination_CablePeer struct { +// PatchedWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableCircuitTerminationRequest.relationships.destination.objects.Item. +type PatchedWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableCircuitTermination_ConnectedEndpoint defines model for PatchedWritableCircuitTermination.ConnectedEndpoint. -type PatchedWritableCircuitTermination_ConnectedEndpoint struct { +// PatchedWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableCircuitTerminationRequest.relationships.peer.objects.Item. +type PatchedWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableCluster struct { - Comments *string `json:"comments,omitempty"` - ComputedFields *PatchedWritableCluster_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritableCluster_CustomFields `json:"custom_fields,omitempty"` - DeviceCount *int `json:"device_count,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Group *openapi_types.UUID `json:"group"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - Site *openapi_types.UUID `json:"site"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Type *openapi_types.UUID `json:"type,omitempty"` - Url *string `json:"url,omitempty"` - VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` -} - -// PatchedWritableCluster_ComputedFields defines model for PatchedWritableCluster.ComputedFields. -type PatchedWritableCluster_ComputedFields struct { +// PatchedWritableCircuitTerminationRequest_Relationships_Source_Objects_Item defines model for PatchedWritableCircuitTerminationRequest.relationships.source.objects.Item. +type PatchedWritableCircuitTerminationRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableCluster_CustomFields defines model for PatchedWritableCluster.CustomFields. -type PatchedWritableCluster_CustomFields struct { +// PatchedWritableClusterRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableClusterRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Group *openapi_types.UUID `json:"group"` + Location *openapi_types.UUID `json:"location"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableClusterRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableClusterRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableClusterRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Site *openapi_types.UUID `json:"site"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + Type *openapi_types.UUID `json:"type,omitempty"` +} + +// PatchedWritableClusterRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableClusterRequest.relationships.destination.objects.Item. +type PatchedWritableClusterRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// PatchedWritableClusterRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableClusterRequest.relationships.peer.objects.Item. +type PatchedWritableClusterRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableClusterRequest_Relationships_Source_Objects_Item defines model for PatchedWritableClusterRequest.relationships.source.objects.Item. +type PatchedWritableClusterRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableConfigContextRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type PatchedWritableConfigContext struct { - ClusterGroups *[]openapi_types.UUID `json:"cluster_groups,omitempty"` - Clusters *[]openapi_types.UUID `json:"clusters,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - Data *PatchedWritableConfigContext_Data `json:"data,omitempty"` - Description *string `json:"description,omitempty"` - DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` +type PatchedWritableConfigContextRequest struct { + ClusterGroups *[]openapi_types.UUID `json:"cluster_groups,omitempty"` + Clusters *[]openapi_types.UUID `json:"clusters,omitempty"` + Data *map[string]interface{} `json:"data,omitempty"` + Description *string `json:"description,omitempty"` + DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` + IsActive *bool `json:"is_active,omitempty"` + Locations *[]openapi_types.UUID `json:"locations,omitempty"` + Name *string `json:"name,omitempty"` + OwnerContentType *string `json:"owner_content_type"` + OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` + Platforms *[]openapi_types.UUID `json:"platforms,omitempty"` + Regions *[]openapi_types.UUID `json:"regions,omitempty"` + Roles *[]openapi_types.UUID `json:"roles,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - IsActive *bool `json:"is_active,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - Owner *PatchedWritableConfigContext_Owner `json:"owner"` - OwnerContentType *string `json:"owner_content_type"` - OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` - Platforms *[]openapi_types.UUID `json:"platforms,omitempty"` - Regions *[]openapi_types.UUID `json:"regions,omitempty"` - Roles *[]openapi_types.UUID `json:"roles,omitempty"` - - // Optional schema to validate the structure of the data + // Schema Optional schema to validate the structure of the data Schema *openapi_types.UUID `json:"schema"` Sites *[]openapi_types.UUID `json:"sites,omitempty"` Tags *[]string `json:"tags,omitempty"` TenantGroups *[]openapi_types.UUID `json:"tenant_groups,omitempty"` Tenants *[]openapi_types.UUID `json:"tenants,omitempty"` - Url *string `json:"url,omitempty"` Weight *int `json:"weight,omitempty"` } -// PatchedWritableConfigContext_Data defines model for PatchedWritableConfigContext.Data. -type PatchedWritableConfigContext_Data struct { +// PatchedWritableConsolePortRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableConsolePortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *openapi_types.UUID `json:"device,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableConsolePortRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableConsolePortRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableConsolePortRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + + // Type Physical port type + Type *PatchedWritableConsolePortRequest_Type `json:"type,omitempty"` +} + +// PatchedWritableConsolePortRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableConsolePortRequest.relationships.destination.objects.Item. +type PatchedWritableConsolePortRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableConfigContext_Owner defines model for PatchedWritableConfigContext.Owner. -type PatchedWritableConfigContext_Owner struct { +// PatchedWritableConsolePortRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableConsolePortRequest.relationships.peer.objects.Item. +type PatchedWritableConsolePortRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableConsolePort struct { - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *PatchedWritableConsolePort_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - ComputedFields *PatchedWritableConsolePort_ComputedFields `json:"computed_fields,omitempty"` - ConnectedEndpoint *PatchedWritableConsolePort_ConnectedEndpoint `json:"connected_endpoint"` - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` - ConnectedEndpointType *string `json:"connected_endpoint_type"` - CustomFields *PatchedWritableConsolePort_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Device *openapi_types.UUID `json:"device,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - Name *string `json:"name,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - - // Physical port type - Type *interface{} `json:"type,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedWritableConsolePort_CablePeer defines model for PatchedWritableConsolePort.CablePeer. -type PatchedWritableConsolePort_CablePeer struct { +// PatchedWritableConsolePortRequest_Relationships_Source_Objects_Item defines model for PatchedWritableConsolePortRequest.relationships.source.objects.Item. +type PatchedWritableConsolePortRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableConsolePort_ComputedFields defines model for PatchedWritableConsolePort.ComputedFields. -type PatchedWritableConsolePort_ComputedFields struct { +// PatchedWritableConsolePortRequest_Type Physical port type +type PatchedWritableConsolePortRequest_Type struct { + union json.RawMessage +} + +// PatchedWritableConsolePortTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableConsolePortTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType *openapi_types.UUID `json:"device_type,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *PatchedWritableConsolePortTemplateRequest_Type `json:"type,omitempty"` +} + +// PatchedWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableConsolePortTemplateRequest.relationships.destination.objects.Item. +type PatchedWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableConsolePort_ConnectedEndpoint defines model for PatchedWritableConsolePort.ConnectedEndpoint. -type PatchedWritableConsolePort_ConnectedEndpoint struct { +// PatchedWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableConsolePortTemplateRequest.relationships.peer.objects.Item. +type PatchedWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableConsolePort_CustomFields defines model for PatchedWritableConsolePort.CustomFields. -type PatchedWritableConsolePort_CustomFields struct { +// PatchedWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item defines model for PatchedWritableConsolePortTemplateRequest.relationships.source.objects.Item. +type PatchedWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableConsolePortTemplate struct { - ComputedFields *PatchedWritableConsolePortTemplate_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *PatchedWritableConsolePortTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceType *openapi_types.UUID `json:"device_type,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - Name *string `json:"name,omitempty"` - Type *interface{} `json:"type,omitempty"` - Url *string `json:"url,omitempty"` +// PatchedWritableConsolePortTemplateRequest_Type defines model for PatchedWritableConsolePortTemplateRequest.Type. +type PatchedWritableConsolePortTemplateRequest_Type struct { + union json.RawMessage } -// PatchedWritableConsolePortTemplate_ComputedFields defines model for PatchedWritableConsolePortTemplate.ComputedFields. -type PatchedWritableConsolePortTemplate_ComputedFields struct { +// PatchedWritableConsoleServerPortRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableConsoleServerPortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *openapi_types.UUID `json:"device,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableConsoleServerPortRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + + // Type Physical port type + Type *PatchedWritableConsoleServerPortRequest_Type `json:"type,omitempty"` +} + +// PatchedWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableConsoleServerPortRequest.relationships.destination.objects.Item. +type PatchedWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableConsolePortTemplate_CustomFields defines model for PatchedWritableConsolePortTemplate.CustomFields. -type PatchedWritableConsolePortTemplate_CustomFields struct { +// PatchedWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableConsoleServerPortRequest.relationships.peer.objects.Item. +type PatchedWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableConsoleServerPort struct { - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *PatchedWritableConsoleServerPort_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - ComputedFields *PatchedWritableConsoleServerPort_ComputedFields `json:"computed_fields,omitempty"` - ConnectedEndpoint *PatchedWritableConsoleServerPort_ConnectedEndpoint `json:"connected_endpoint"` - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` - ConnectedEndpointType *string `json:"connected_endpoint_type"` - CustomFields *PatchedWritableConsoleServerPort_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Device *openapi_types.UUID `json:"device,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - Name *string `json:"name,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - - // Physical port type - Type *interface{} `json:"type,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedWritableConsoleServerPort_CablePeer defines model for PatchedWritableConsoleServerPort.CablePeer. -type PatchedWritableConsoleServerPort_CablePeer struct { +// PatchedWritableConsoleServerPortRequest_Relationships_Source_Objects_Item defines model for PatchedWritableConsoleServerPortRequest.relationships.source.objects.Item. +type PatchedWritableConsoleServerPortRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableConsoleServerPort_ComputedFields defines model for PatchedWritableConsoleServerPort.ComputedFields. -type PatchedWritableConsoleServerPort_ComputedFields struct { +// PatchedWritableConsoleServerPortRequest_Type Physical port type +type PatchedWritableConsoleServerPortRequest_Type struct { + union json.RawMessage +} + +// PatchedWritableConsoleServerPortTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableConsoleServerPortTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType *openapi_types.UUID `json:"device_type,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *PatchedWritableConsoleServerPortTemplateRequest_Type `json:"type,omitempty"` +} + +// PatchedWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableConsoleServerPortTemplateRequest.relationships.destination.objects.Item. +type PatchedWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableConsoleServerPort_ConnectedEndpoint defines model for PatchedWritableConsoleServerPort.ConnectedEndpoint. -type PatchedWritableConsoleServerPort_ConnectedEndpoint struct { +// PatchedWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableConsoleServerPortTemplateRequest.relationships.peer.objects.Item. +type PatchedWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableConsoleServerPort_CustomFields defines model for PatchedWritableConsoleServerPort.CustomFields. -type PatchedWritableConsoleServerPort_CustomFields struct { +// PatchedWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item defines model for PatchedWritableConsoleServerPortTemplateRequest.relationships.source.objects.Item. +type PatchedWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableConsoleServerPortTemplate struct { - CustomFields *PatchedWritableConsoleServerPortTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceType *openapi_types.UUID `json:"device_type,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - Name *string `json:"name,omitempty"` - Type *interface{} `json:"type,omitempty"` - Url *string `json:"url,omitempty"` +// PatchedWritableConsoleServerPortTemplateRequest_Type defines model for PatchedWritableConsoleServerPortTemplateRequest.Type. +type PatchedWritableConsoleServerPortTemplateRequest_Type struct { + union json.RawMessage } -// PatchedWritableConsoleServerPortTemplate_CustomFields defines model for PatchedWritableConsoleServerPortTemplate.CustomFields. -type PatchedWritableConsoleServerPortTemplate_CustomFields struct { +// PatchedWritableContactLCMRequest API serializer. +type PatchedWritableContactLCMRequest struct { + Address *string `json:"address,omitempty"` + Comments *string `json:"comments,omitempty"` + Contract *openapi_types.UUID `json:"contract"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + Name *string `json:"name"` + Phone *string `json:"phone,omitempty"` + Priority *int `json:"priority,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableContactLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableContactLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableContactLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedWritableContactLCMRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableContactLCMRequest.relationships.destination.objects.Item. +type PatchedWritableContactLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// API serializer. -type PatchedWritableContactLCM struct { - Address *string `json:"address,omitempty"` - Comments *string `json:"comments,omitempty"` - Contract *openapi_types.UUID `json:"contract"` - CustomFields *PatchedWritableContactLCM_CustomFields `json:"custom_fields,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Email *openapi_types.Email `json:"email,omitempty"` - Name *string `json:"name"` - Phone *string `json:"phone,omitempty"` - Priority *int `json:"priority,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` -} - -// PatchedWritableContactLCM_CustomFields defines model for PatchedWritableContactLCM.CustomFields. -type PatchedWritableContactLCM_CustomFields struct { +// PatchedWritableContactLCMRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableContactLCMRequest.relationships.peer.objects.Item. +type PatchedWritableContactLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// API serializer. -type PatchedWritableContractLCM struct { - ContractType *string `json:"contract_type"` - Cost *string `json:"cost"` - CustomFields *PatchedWritableContractLCM_CustomFields `json:"custom_fields,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - End *openapi_types.Date `json:"end"` - Expired *string `json:"expired,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - Provider *openapi_types.UUID `json:"provider"` - Start *openapi_types.Date `json:"start"` - SupportLevel *string `json:"support_level"` - Tags *[]TagSerializerField `json:"tags,omitempty"` -} - -// PatchedWritableContractLCM_CustomFields defines model for PatchedWritableContractLCM.CustomFields. -type PatchedWritableContractLCM_CustomFields struct { +// PatchedWritableContactLCMRequest_Relationships_Source_Objects_Item defines model for PatchedWritableContactLCMRequest.relationships.source.objects.Item. +type PatchedWritableContactLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// PatchedWritableContractLCMRequest API serializer. +type PatchedWritableContractLCMRequest struct { + ContractType *string `json:"contract_type"` + Cost *string `json:"cost"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + End *openapi_types.Date `json:"end"` + Name *string `json:"name,omitempty"` + Provider *openapi_types.UUID `json:"provider"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableContractLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableContractLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableContractLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Start *openapi_types.Date `json:"start"` + SupportLevel *string `json:"support_level"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedWritableContractLCMRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableContractLCMRequest.relationships.destination.objects.Item. +type PatchedWritableContractLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableContractLCMRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableContractLCMRequest.relationships.peer.objects.Item. +type PatchedWritableContractLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableContractLCMRequest_Relationships_Source_Objects_Item defines model for PatchedWritableContractLCMRequest.relationships.source.objects.Item. +type PatchedWritableContractLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableCustomFieldChoiceRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type PatchedWritableCustomField struct { - ContentTypes *[]string `json:"content_types,omitempty"` +type PatchedWritableCustomFieldChoiceRequest struct { + Field *openapi_types.UUID `json:"field,omitempty"` + Value *string `json:"value,omitempty"` - // Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo"). - Default *PatchedWritableCustomField_Default `json:"default"` - - // A helpful description for this field. - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - - // Loose matches any instance of a given string; Exact matches the entire field. - FilterLogic *struct { - // Embedded struct due to allOf(#/components/schemas/FilterLogicEnum) - FilterLogicEnum `yaml:",inline"` - } `json:"filter_logic,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Name of the field as displayed to users (if not provided, the field's slug will be used.) - Label *string `json:"label,omitempty"` - - // URL-friendly unique shorthand. - Name *string `json:"name,omitempty"` - - // If true, this field is required when creating new objects or editing an existing object. - Required *bool `json:"required,omitempty"` - - // The type of value(s) allowed for this field. - Type *struct { - // Embedded struct due to allOf(#/components/schemas/CustomFieldTypeChoices) - CustomFieldTypeChoices `yaml:",inline"` - } `json:"type,omitempty"` - Url *string `json:"url,omitempty"` - - // Maximum allowed value (for numeric fields). - ValidationMaximum *int64 `json:"validation_maximum"` - - // Minimum allowed value (for numeric fields). - ValidationMinimum *int64 `json:"validation_minimum"` - - // Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters. Regular expression on select and multi-select will be applied at Custom Field Choices definition. - ValidationRegex *string `json:"validation_regex,omitempty"` - - // Fields with higher weights appear lower in a form. + // Weight Higher weights appear later in the list Weight *int `json:"weight,omitempty"` } -// Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo"). -type PatchedWritableCustomField_Default struct { +// PatchedWritableDeviceBayRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableDeviceBayRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *openapi_types.UUID `json:"device,omitempty"` + InstalledDevice *openapi_types.UUID `json:"installed_device"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableDeviceBayRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableDeviceBayRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableDeviceBayRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedWritableDeviceBayRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableDeviceBayRequest.relationships.destination.objects.Item. +type PatchedWritableDeviceBayRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during -// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type PatchedWritableCustomFieldChoice struct { - // Human friendly display value - Display *string `json:"display,omitempty"` - Field *openapi_types.UUID `json:"field,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Url *string `json:"url,omitempty"` - Value *string `json:"value,omitempty"` - - // Higher weights appear later in the list - Weight *int `json:"weight,omitempty"` -} - -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableDeviceBay struct { - ComputedFields *PatchedWritableDeviceBay_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *PatchedWritableDeviceBay_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Device *openapi_types.UUID `json:"device,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - InstalledDevice *openapi_types.UUID `json:"installed_device"` - - // Physical label - Label *string `json:"label,omitempty"` - Name *string `json:"name,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedWritableDeviceBay_ComputedFields defines model for PatchedWritableDeviceBay.ComputedFields. -type PatchedWritableDeviceBay_ComputedFields struct { +// PatchedWritableDeviceBayRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableDeviceBayRequest.relationships.peer.objects.Item. +type PatchedWritableDeviceBayRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableDeviceBay_CustomFields defines model for PatchedWritableDeviceBay.CustomFields. -type PatchedWritableDeviceBay_CustomFields struct { +// PatchedWritableDeviceBayRequest_Relationships_Source_Objects_Item defines model for PatchedWritableDeviceBayRequest.relationships.source.objects.Item. +type PatchedWritableDeviceBayRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableDeviceBayTemplate struct { - ComputedFields *PatchedWritableDeviceBayTemplate_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *PatchedWritableDeviceBayTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceType *openapi_types.UUID `json:"device_type,omitempty"` +// PatchedWritableDeviceBayTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableDeviceBayTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType *openapi_types.UUID `json:"device_type,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - Name *string `json:"name,omitempty"` - Url *string `json:"url,omitempty"` + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` } -// PatchedWritableDeviceBayTemplate_ComputedFields defines model for PatchedWritableDeviceBayTemplate.ComputedFields. -type PatchedWritableDeviceBayTemplate_ComputedFields struct { +// PatchedWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableDeviceBayTemplateRequest.relationships.destination.objects.Item. +type PatchedWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableDeviceBayTemplate_CustomFields defines model for PatchedWritableDeviceBayTemplate.CustomFields. -type PatchedWritableDeviceBayTemplate_CustomFields struct { +// PatchedWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableDeviceBayTemplateRequest.relationships.peer.objects.Item. +type PatchedWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableDeviceType struct { - Comments *string `json:"comments,omitempty"` - ComputedFields *PatchedWritableDeviceType_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritableDeviceType_CustomFields `json:"custom_fields,omitempty"` - DeviceCount *int `json:"device_count,omitempty"` +// PatchedWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item defines model for PatchedWritableDeviceBayTemplateRequest.relationships.source.objects.Item. +type PatchedWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Human friendly display value - Display *string `json:"display,omitempty"` - FrontImage *string `json:"front_image,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` +// PatchedWritableDeviceRedundancyGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableDeviceRedundancyGroupRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + FailoverStrategy *PatchedWritableDeviceRedundancyGroupRequest_FailoverStrategy `json:"failover_strategy,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + SecretsGroup *openapi_types.UUID `json:"secrets_group"` + Slug *string `json:"slug,omitempty"` + Status *LocationStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} - // Device consumes both front and rear rack faces +// PatchedWritableDeviceRedundancyGroupRequest_FailoverStrategy defines model for PatchedWritableDeviceRedundancyGroupRequest.FailoverStrategy. +type PatchedWritableDeviceRedundancyGroupRequest_FailoverStrategy struct { + union json.RawMessage +} + +// PatchedWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableDeviceRedundancyGroupRequest.relationships.destination.objects.Item. +type PatchedWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableDeviceRedundancyGroupRequest.relationships.peer.objects.Item. +type PatchedWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item defines model for PatchedWritableDeviceRedundancyGroupRequest.relationships.source.objects.Item. +type PatchedWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableDeviceTypeRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableDeviceTypeRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + FrontImage *openapi_types.File `json:"front_image,omitempty"` + + // IsFullDepth Device consumes both front and rear rack faces IsFullDepth *bool `json:"is_full_depth,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` Manufacturer *openapi_types.UUID `json:"manufacturer,omitempty"` Model *string `json:"model,omitempty"` - // Discrete part number (optional) - PartNumber *string `json:"part_number,omitempty"` - RearImage *string `json:"rear_image,omitempty"` - Slug *string `json:"slug,omitempty"` + // PartNumber Discrete part number (optional) + PartNumber *string `json:"part_number,omitempty"` + RearImage *openapi_types.File `json:"rear_image,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableDeviceTypeRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableDeviceTypeRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableDeviceTypeRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` - // Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. - SubdeviceRole *interface{} `json:"subdevice_role,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - UHeight *int `json:"u_height,omitempty"` - Url *string `json:"url,omitempty"` + // SubdeviceRole Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. + SubdeviceRole *PatchedWritableDeviceTypeRequest_SubdeviceRole `json:"subdevice_role,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + UHeight *int `json:"u_height,omitempty"` } -// PatchedWritableDeviceType_ComputedFields defines model for PatchedWritableDeviceType.ComputedFields. -type PatchedWritableDeviceType_ComputedFields struct { +// PatchedWritableDeviceTypeRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableDeviceTypeRequest.relationships.destination.objects.Item. +type PatchedWritableDeviceTypeRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableDeviceType_CustomFields defines model for PatchedWritableDeviceType.CustomFields. -type PatchedWritableDeviceType_CustomFields struct { +// PatchedWritableDeviceTypeRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableDeviceTypeRequest.relationships.peer.objects.Item. +type PatchedWritableDeviceTypeRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Mixin to add `status` choice field to model serializers. -type PatchedWritableDeviceWithConfigContext struct { - // A unique tag used to identify this device - AssetTag *string `json:"asset_tag"` - Cluster *openapi_types.UUID `json:"cluster"` - Comments *string `json:"comments,omitempty"` - ComputedFields *PatchedWritableDeviceWithConfigContext_ComputedFields `json:"computed_fields,omitempty"` - ConfigContext *PatchedWritableDeviceWithConfigContext_ConfigContext `json:"config_context,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritableDeviceWithConfigContext_CustomFields `json:"custom_fields,omitempty"` - DeviceRole *openapi_types.UUID `json:"device_role,omitempty"` - DeviceType *openapi_types.UUID `json:"device_type,omitempty"` +// PatchedWritableDeviceTypeRequest_Relationships_Source_Objects_Item defines model for PatchedWritableDeviceTypeRequest.relationships.source.objects.Item. +type PatchedWritableDeviceTypeRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Human friendly display value - Display *string `json:"display,omitempty"` - Face *interface{} `json:"face,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LocalContextData *PatchedWritableDeviceWithConfigContext_LocalContextData `json:"local_context_data"` +// PatchedWritableDeviceTypeRequest_SubdeviceRole Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. +type PatchedWritableDeviceTypeRequest_SubdeviceRole struct { + union json.RawMessage +} - // Optional schema to validate the structure of the data +// PatchedWritableDeviceWithConfigContextRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableDeviceWithConfigContextRequest struct { + // AssetTag A unique tag used to identify this device + AssetTag *string `json:"asset_tag"` + Cluster *openapi_types.UUID `json:"cluster"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DeviceRedundancyGroup *openapi_types.UUID `json:"device_redundancy_group"` + + // DeviceRedundancyGroupPriority The priority the device has in the device redundancy group. + DeviceRedundancyGroupPriority *int `json:"device_redundancy_group_priority"` + DeviceRole *openapi_types.UUID `json:"device_role,omitempty"` + DeviceType *openapi_types.UUID `json:"device_type,omitempty"` + Face *PatchedWritableDeviceWithConfigContextRequest_Face `json:"face,omitempty"` + LocalContextData *map[string]interface{} `json:"local_context_data"` + + // LocalContextSchema Optional schema to validate the structure of the data LocalContextSchema *openapi_types.UUID `json:"local_context_schema"` + Location *openapi_types.UUID `json:"location"` Name *string `json:"name"` - ParentDevice *struct { - // Embedded struct due to allOf(#/components/schemas/NestedDevice) - NestedDevice `yaml:",inline"` - } `json:"parent_device,omitempty"` - Platform *openapi_types.UUID `json:"platform"` + Platform *openapi_types.UUID `json:"platform"` - // The lowest-numbered unit occupied by the device - Position *int `json:"position"` - PrimaryIp *struct { - // Embedded struct due to allOf(#/components/schemas/NestedIPAddress) - NestedIPAddress `yaml:",inline"` - } `json:"primary_ip,omitempty"` - PrimaryIp4 *openapi_types.UUID `json:"primary_ip4"` - PrimaryIp6 *openapi_types.UUID `json:"primary_ip6"` - Rack *openapi_types.UUID `json:"rack"` - SecretsGroup *openapi_types.UUID `json:"secrets_group"` - Serial *string `json:"serial,omitempty"` - Site *openapi_types.UUID `json:"site,omitempty"` - Status *WritableDeviceWithConfigContextStatusEnum `json:"status,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Url *string `json:"url,omitempty"` - VcPosition *int `json:"vc_position"` - VcPriority *int `json:"vc_priority"` - VirtualChassis *openapi_types.UUID `json:"virtual_chassis"` + // Position The lowest-numbered unit occupied by the device + Position *int `json:"position"` + PrimaryIp4 *openapi_types.UUID `json:"primary_ip4"` + PrimaryIp6 *openapi_types.UUID `json:"primary_ip6"` + Rack *openapi_types.UUID `json:"rack"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + SecretsGroup *openapi_types.UUID `json:"secrets_group"` + Serial *string `json:"serial,omitempty"` + Site *openapi_types.UUID `json:"site,omitempty"` + Status *DeviceStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + VcPosition *int `json:"vc_position"` + VcPriority *int `json:"vc_priority"` + VirtualChassis *openapi_types.UUID `json:"virtual_chassis"` } -// PatchedWritableDeviceWithConfigContext_ComputedFields defines model for PatchedWritableDeviceWithConfigContext.ComputedFields. -type PatchedWritableDeviceWithConfigContext_ComputedFields struct { +// PatchedWritableDeviceWithConfigContextRequest_Face defines model for PatchedWritableDeviceWithConfigContextRequest.Face. +type PatchedWritableDeviceWithConfigContextRequest_Face struct { + union json.RawMessage +} + +// PatchedWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableDeviceWithConfigContextRequest.relationships.destination.objects.Item. +type PatchedWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableDeviceWithConfigContext_ConfigContext defines model for PatchedWritableDeviceWithConfigContext.ConfigContext. -type PatchedWritableDeviceWithConfigContext_ConfigContext struct { +// PatchedWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableDeviceWithConfigContextRequest.relationships.peer.objects.Item. +type PatchedWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableDeviceWithConfigContext_CustomFields defines model for PatchedWritableDeviceWithConfigContext.CustomFields. -type PatchedWritableDeviceWithConfigContext_CustomFields struct { +// PatchedWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item defines model for PatchedWritableDeviceWithConfigContextRequest.relationships.source.objects.Item. +type PatchedWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableDeviceWithConfigContext_LocalContextData defines model for PatchedWritableDeviceWithConfigContext.LocalContextData. -type PatchedWritableDeviceWithConfigContext_LocalContextData struct { +// PatchedWritableDynamicGroupMembershipRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedWritableDynamicGroupMembershipRequest struct { + Group *openapi_types.UUID `json:"group,omitempty"` + Operator *OperatorEnum `json:"operator,omitempty"` + ParentGroup *openapi_types.UUID `json:"parent_group,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// PatchedWritableFQDNRequest FQDN Serializer. +type PatchedWritableFQDNRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Resolvable fully qualified domain name (e.g. networktocode.com) + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableFQDNRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableFQDNRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableFQDNRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedWritableFQDNRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableFQDNRequest.relationships.destination.objects.Item. +type PatchedWritableFQDNRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableFrontPort struct { - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *PatchedWritableFrontPort_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - ComputedFields *PatchedWritableFrontPort_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *PatchedWritableFrontPort_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Device *openapi_types.UUID `json:"device,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - Name *string `json:"name,omitempty"` - RearPort *openapi_types.UUID `json:"rear_port,omitempty"` - RearPortPosition *int `json:"rear_port_position,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Type *PortTypeChoices `json:"type,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedWritableFrontPort_CablePeer defines model for PatchedWritableFrontPort.CablePeer. -type PatchedWritableFrontPort_CablePeer struct { +// PatchedWritableFQDNRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableFQDNRequest.relationships.peer.objects.Item. +type PatchedWritableFQDNRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableFrontPort_ComputedFields defines model for PatchedWritableFrontPort.ComputedFields. -type PatchedWritableFrontPort_ComputedFields struct { +// PatchedWritableFQDNRequest_Relationships_Source_Objects_Item defines model for PatchedWritableFQDNRequest.relationships.source.objects.Item. +type PatchedWritableFQDNRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableFrontPort_CustomFields defines model for PatchedWritableFrontPort.CustomFields. -type PatchedWritableFrontPort_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} +// PatchedWritableFrontPortRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableFrontPortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *openapi_types.UUID `json:"device,omitempty"` -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableFrontPortTemplate struct { - ComputedFields *PatchedWritableFrontPortTemplate_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *PatchedWritableFrontPortTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceType *openapi_types.UUID `json:"device_type,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label + // Label Physical label Label *string `json:"label,omitempty"` Name *string `json:"name,omitempty"` RearPort *openapi_types.UUID `json:"rear_port,omitempty"` RearPortPosition *int `json:"rear_port_position,omitempty"` - Type *PortTypeChoices `json:"type,omitempty"` - Url *string `json:"url,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableFrontPortRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableFrontPortRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableFrontPortRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type *PortTypeChoices `json:"type,omitempty"` } -// PatchedWritableFrontPortTemplate_ComputedFields defines model for PatchedWritableFrontPortTemplate.ComputedFields. -type PatchedWritableFrontPortTemplate_ComputedFields struct { +// PatchedWritableFrontPortRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableFrontPortRequest.relationships.destination.objects.Item. +type PatchedWritableFrontPortRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableFrontPortTemplate_CustomFields defines model for PatchedWritableFrontPortTemplate.CustomFields. -type PatchedWritableFrontPortTemplate_CustomFields struct { +// PatchedWritableFrontPortRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableFrontPortRequest.relationships.peer.objects.Item. +type PatchedWritableFrontPortRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Git repositories defined as a data source. -type PatchedWritableGitRepository struct { - Branch *string `json:"branch,omitempty"` - ComputedFields *PatchedWritableGitRepository_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` +// PatchedWritableFrontPortRequest_Relationships_Source_Objects_Item defines model for PatchedWritableFrontPortRequest.relationships.source.objects.Item. +type PatchedWritableFrontPortRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Commit hash of the most recent fetch from the selected branch. Used for syncing between workers. - CurrentHead *string `json:"current_head,omitempty"` - CustomFields *PatchedWritableGitRepository_CustomFields `json:"custom_fields,omitempty"` +// PatchedWritableFrontPortTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableFrontPortTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType *openapi_types.UUID `json:"device_type,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + // Label Physical label + Label *string `json:"label,omitempty"` Name *string `json:"name,omitempty"` - ProvidedContents *[]interface{} `json:"provided_contents,omitempty"` + RearPort *openapi_types.UUID `json:"rear_port,omitempty"` + RearPortPosition *int `json:"rear_port_position,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *PortTypeChoices `json:"type,omitempty"` +} - // Only HTTP and HTTPS URLs are presently supported +// PatchedWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableFrontPortTemplateRequest.relationships.destination.objects.Item. +type PatchedWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableFrontPortTemplateRequest.relationships.peer.objects.Item. +type PatchedWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item defines model for PatchedWritableFrontPortTemplateRequest.relationships.source.objects.Item. +type PatchedWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableGitRepositoryRequest Git repositories defined as a data source. +type PatchedWritableGitRepositoryRequest struct { + Branch *string `json:"branch,omitempty"` + + // CurrentHead Commit hash of the most recent fetch from the selected branch. Used for syncing between workers. + CurrentHead *string `json:"current_head,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Name *string `json:"name,omitempty"` + ProvidedContents *[]PatchedWritableGitRepositoryRequest_ProvidedContents_Item `json:"provided_contents,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableGitRepositoryRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableGitRepositoryRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableGitRepositoryRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // RemoteUrl Only HTTP and HTTPS URLs are presently supported RemoteUrl *string `json:"remote_url,omitempty"` SecretsGroup *openapi_types.UUID `json:"secrets_group"` Slug *string `json:"slug,omitempty"` Token *string `json:"token,omitempty"` - Url *string `json:"url,omitempty"` Username *string `json:"username,omitempty"` } -// PatchedWritableGitRepository_ComputedFields defines model for PatchedWritableGitRepository.ComputedFields. -type PatchedWritableGitRepository_ComputedFields struct { +// PatchedWritableGitRepositoryRequest_ProvidedContents_Item defines model for PatchedWritableGitRepositoryRequest.provided_contents.Item. +type PatchedWritableGitRepositoryRequest_ProvidedContents_Item struct { + union json.RawMessage +} + +// PatchedWritableGitRepositoryRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableGitRepositoryRequest.relationships.destination.objects.Item. +type PatchedWritableGitRepositoryRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableGitRepository_CustomFields defines model for PatchedWritableGitRepository.CustomFields. -type PatchedWritableGitRepository_CustomFields struct { +// PatchedWritableGitRepositoryRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableGitRepositoryRequest.relationships.peer.objects.Item. +type PatchedWritableGitRepositoryRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// API serializer. -type PatchedWritableHardwareLCM struct { - CustomFields *PatchedWritableHardwareLCM_CustomFields `json:"custom_fields,omitempty"` - DeviceType *openapi_types.UUID `json:"device_type"` - - // Devices tied to Device Type - Devices *[]NestedDevice `json:"devices,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - DocumentationUrl *string `json:"documentation_url,omitempty"` - EndOfSale *openapi_types.Date `json:"end_of_sale"` - EndOfSecurityPatches *openapi_types.Date `json:"end_of_security_patches"` - EndOfSupport *openapi_types.Date `json:"end_of_support"` - EndOfSwReleases *openapi_types.Date `json:"end_of_sw_releases"` - Expired *string `json:"expired,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - InventoryItem *string `json:"inventory_item"` - ReleaseDate *openapi_types.Date `json:"release_date"` - Tags *[]TagSerializerField `json:"tags,omitempty"` -} - -// PatchedWritableHardwareLCM_CustomFields defines model for PatchedWritableHardwareLCM.CustomFields. -type PatchedWritableHardwareLCM_CustomFields struct { +// PatchedWritableGitRepositoryRequest_Relationships_Source_Objects_Item defines model for PatchedWritableGitRepositoryRequest.relationships.source.objects.Item. +type PatchedWritableGitRepositoryRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Mixin to add `status` choice field to model serializers. -type PatchedWritableIPAddress struct { - Address *string `json:"address,omitempty"` - AssignedObject *PatchedWritableIPAddress_AssignedObject `json:"assigned_object"` - AssignedObjectId *openapi_types.UUID `json:"assigned_object_id"` - AssignedObjectType *string `json:"assigned_object_type"` - ComputedFields *PatchedWritableIPAddress_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritableIPAddress_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` +// PatchedWritableGoldenConfigSettingRequest Serializer for GoldenConfigSetting object. +type PatchedWritableGoldenConfigSettingRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` + // BackupPathTemplate The Jinja path representation of where the backup file will be found. The variable `obj` is available as the device instance object of a given device, as is the case for all Jinja templates. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + BackupPathTemplate *string `json:"backup_path_template,omitempty"` + BackupRepository *openapi_types.UUID `json:"backup_repository"` - // Hostname or FQDN (not case-sensitive) + // BackupTestConnectivity Whether or not to pretest the connectivity of the device by verifying there is a resolvable IP that can connect to port 22. + BackupTestConnectivity *bool `json:"backup_test_connectivity,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DynamicGroup *openapi_types.UUID `json:"dynamic_group,omitempty"` + + // IntendedPathTemplate The Jinja path representation of where the generated file will be places. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + IntendedPathTemplate *string `json:"intended_path_template,omitempty"` + IntendedRepository *openapi_types.UUID `json:"intended_repository"` + + // JinjaPathTemplate The Jinja path representation of where the Jinja template can be found. e.g. `{{obj.platform.slug}}.j2` + JinjaPathTemplate *string `json:"jinja_path_template,omitempty"` + JinjaRepository *openapi_types.UUID `json:"jinja_repository"` + Name *string `json:"name,omitempty"` + Scope *map[string]interface{} `json:"scope,omitempty"` + Slug *string `json:"slug,omitempty"` + SotAggQuery *openapi_types.UUID `json:"sot_agg_query"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// PatchedWritableHardwareLCMRequest API serializer. +type PatchedWritableHardwareLCMRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DeviceType *openapi_types.UUID `json:"device_type"` + DocumentationUrl *string `json:"documentation_url,omitempty"` + EndOfSale *openapi_types.Date `json:"end_of_sale"` + EndOfSecurityPatches *openapi_types.Date `json:"end_of_security_patches"` + EndOfSupport *openapi_types.Date `json:"end_of_support"` + EndOfSwReleases *openapi_types.Date `json:"end_of_sw_releases"` + InventoryItem *string `json:"inventory_item"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableHardwareLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableHardwareLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableHardwareLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ReleaseDate *openapi_types.Date `json:"release_date"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedWritableHardwareLCMRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableHardwareLCMRequest.relationships.destination.objects.Item. +type PatchedWritableHardwareLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableHardwareLCMRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableHardwareLCMRequest.relationships.peer.objects.Item. +type PatchedWritableHardwareLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableHardwareLCMRequest_Relationships_Source_Objects_Item defines model for PatchedWritableHardwareLCMRequest.relationships.source.objects.Item. +type PatchedWritableHardwareLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableIPAddressRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableIPAddressRequest struct { + Address *string `json:"address,omitempty"` + AssignedObjectId *openapi_types.UUID `json:"assigned_object_id"` + AssignedObjectType *string `json:"assigned_object_type"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DnsName Hostname or FQDN (not case-sensitive) DnsName *string `json:"dns_name,omitempty"` - Family *struct { - // Embedded struct due to allOf(#/components/schemas/FamilyEnum) - FamilyEnum `yaml:",inline"` - } `json:"family,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - // The IP Addresses for which this address is the "outside" IP - NatInside *openapi_types.UUID `json:"nat_inside"` - NatOutside *[]NestedIPAddress `json:"nat_outside,omitempty"` + // NatInside The IP Addresses for which this address is the "outside" IP + NatInside *openapi_types.UUID `json:"nat_inside"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableIPAddressRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableIPAddressRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableIPAddressRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` - // The functional role of this IP - Role *interface{} `json:"role,omitempty"` - Status *WritableIPAddressStatusEnum `json:"status,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Url *string `json:"url,omitempty"` - Vrf *openapi_types.UUID `json:"vrf"` + // Role The functional role of this IP + Role *PatchedWritableIPAddressRequest_Role `json:"role,omitempty"` + Status *IPAddressStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + Vrf *openapi_types.UUID `json:"vrf"` } -// PatchedWritableIPAddress_AssignedObject defines model for PatchedWritableIPAddress.AssignedObject. -type PatchedWritableIPAddress_AssignedObject struct { +// PatchedWritableIPAddressRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableIPAddressRequest.relationships.destination.objects.Item. +type PatchedWritableIPAddressRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableIPAddress_ComputedFields defines model for PatchedWritableIPAddress.ComputedFields. -type PatchedWritableIPAddress_ComputedFields struct { +// PatchedWritableIPAddressRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableIPAddressRequest.relationships.peer.objects.Item. +type PatchedWritableIPAddressRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableIPAddress_CustomFields defines model for PatchedWritableIPAddress.CustomFields. -type PatchedWritableIPAddress_CustomFields struct { +// PatchedWritableIPAddressRequest_Relationships_Source_Objects_Item defines model for PatchedWritableIPAddressRequest.relationships.source.objects.Item. +type PatchedWritableIPAddressRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableInterface struct { - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *PatchedWritableInterface_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - ComputedFields *PatchedWritableInterface_ComputedFields `json:"computed_fields,omitempty"` - ConnectedEndpoint *PatchedWritableInterface_ConnectedEndpoint `json:"connected_endpoint"` - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` - ConnectedEndpointType *string `json:"connected_endpoint_type"` - CountIpaddresses *int `json:"count_ipaddresses,omitempty"` - CustomFields *PatchedWritableInterface_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Device *openapi_types.UUID `json:"device,omitempty"` +// PatchedWritableIPAddressRequest_Role The functional role of this IP +type PatchedWritableIPAddressRequest_Role struct { + union json.RawMessage +} - // Human friendly display value - Display *string `json:"display,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` +// PatchedWritableInterfaceRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableInterfaceRequest struct { + // Bridge Assigned bridge interface + Bridge *openapi_types.UUID `json:"bridge"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *openapi_types.UUID `json:"device,omitempty"` + Enabled *bool `json:"enabled,omitempty"` - // Physical label - Label *string `json:"label,omitempty"` + // Label Physical label + Label *string `json:"label,omitempty"` + + // Lag Assigned LAG interface Lag *openapi_types.UUID `json:"lag"` MacAddress *string `json:"mac_address"` - // This interface is used only for out-of-band management - MgmtOnly *bool `json:"mgmt_only,omitempty"` - Mode *interface{} `json:"mode,omitempty"` - Mtu *int `json:"mtu"` - Name *string `json:"name,omitempty"` - TaggedVlans *[]openapi_types.UUID `json:"tagged_vlans,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Type *InterfaceTypeChoices `json:"type,omitempty"` - UntaggedVlan *openapi_types.UUID `json:"untagged_vlan"` - Url *string `json:"url,omitempty"` + // MgmtOnly This interface is used only for out-of-band management + MgmtOnly *bool `json:"mgmt_only,omitempty"` + Mode *PatchedWritableInterfaceRequest_Mode `json:"mode,omitempty"` + Mtu *int `json:"mtu"` + Name *string `json:"name,omitempty"` + + // ParentInterface Assigned parent interface + ParentInterface *openapi_types.UUID `json:"parent_interface"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableInterfaceRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableInterfaceRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableInterfaceRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *InterfaceStatusChoices `json:"status,omitempty"` + TaggedVlans *[]openapi_types.UUID `json:"tagged_vlans,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type *InterfaceTypeChoices `json:"type,omitempty"` + UntaggedVlan *openapi_types.UUID `json:"untagged_vlan"` } -// PatchedWritableInterface_CablePeer defines model for PatchedWritableInterface.CablePeer. -type PatchedWritableInterface_CablePeer struct { +// PatchedWritableInterfaceRequest_Mode defines model for PatchedWritableInterfaceRequest.Mode. +type PatchedWritableInterfaceRequest_Mode struct { + union json.RawMessage +} + +// PatchedWritableInterfaceRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableInterfaceRequest.relationships.destination.objects.Item. +type PatchedWritableInterfaceRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableInterface_ComputedFields defines model for PatchedWritableInterface.ComputedFields. -type PatchedWritableInterface_ComputedFields struct { +// PatchedWritableInterfaceRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableInterfaceRequest.relationships.peer.objects.Item. +type PatchedWritableInterfaceRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableInterface_ConnectedEndpoint defines model for PatchedWritableInterface.ConnectedEndpoint. -type PatchedWritableInterface_ConnectedEndpoint struct { +// PatchedWritableInterfaceRequest_Relationships_Source_Objects_Item defines model for PatchedWritableInterfaceRequest.relationships.source.objects.Item. +type PatchedWritableInterfaceRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableInterface_CustomFields defines model for PatchedWritableInterface.CustomFields. -type PatchedWritableInterface_CustomFields struct { +// PatchedWritableInterfaceTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableInterfaceTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType *openapi_types.UUID `json:"device_type,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + MgmtOnly *bool `json:"mgmt_only,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *InterfaceTypeChoices `json:"type,omitempty"` +} + +// PatchedWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableInterfaceTemplateRequest.relationships.destination.objects.Item. +type PatchedWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableInterfaceTemplate struct { - ComputedFields *PatchedWritableInterfaceTemplate_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *PatchedWritableInterfaceTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceType *openapi_types.UUID `json:"device_type,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - MgmtOnly *bool `json:"mgmt_only,omitempty"` - Name *string `json:"name,omitempty"` - Type *InterfaceTypeChoices `json:"type,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedWritableInterfaceTemplate_ComputedFields defines model for PatchedWritableInterfaceTemplate.ComputedFields. -type PatchedWritableInterfaceTemplate_ComputedFields struct { +// PatchedWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableInterfaceTemplateRequest.relationships.peer.objects.Item. +type PatchedWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableInterfaceTemplate_CustomFields defines model for PatchedWritableInterfaceTemplate.CustomFields. -type PatchedWritableInterfaceTemplate_CustomFields struct { +// PatchedWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item defines model for PatchedWritableInterfaceTemplateRequest.relationships.source.objects.Item. +type PatchedWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableInventoryItem struct { - Depth *int `json:"_depth,omitempty"` +// PatchedWritableInventoryItemRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableInventoryItemRequest struct { + // AssetTag A unique tag used to identify this item + AssetTag *string `json:"asset_tag"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *openapi_types.UUID `json:"device,omitempty"` - // A unique tag used to identify this item - AssetTag *string `json:"asset_tag"` - ComputedFields *PatchedWritableInventoryItem_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *PatchedWritableInventoryItem_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Device *openapi_types.UUID `json:"device,omitempty"` - - // This item was automatically discovered + // Discovered This item was automatically discovered Discovered *bool `json:"discovered,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label + // Label Physical label Label *string `json:"label,omitempty"` Manufacturer *openapi_types.UUID `json:"manufacturer"` Name *string `json:"name,omitempty"` Parent *openapi_types.UUID `json:"parent"` - // Manufacturer-assigned part identifier - PartId *string `json:"part_id,omitempty"` - Serial *string `json:"serial,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` + // PartId Manufacturer-assigned part identifier + PartId *string `json:"part_id,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableInventoryItemRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableInventoryItemRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableInventoryItemRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Serial *string `json:"serial,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// PatchedWritableInventoryItem_ComputedFields defines model for PatchedWritableInventoryItem.ComputedFields. -type PatchedWritableInventoryItem_ComputedFields struct { +// PatchedWritableInventoryItemRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableInventoryItemRequest.relationships.destination.objects.Item. +type PatchedWritableInventoryItemRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableInventoryItem_CustomFields defines model for PatchedWritableInventoryItem.CustomFields. -type PatchedWritableInventoryItem_CustomFields struct { +// PatchedWritableInventoryItemRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableInventoryItemRequest.relationships.peer.objects.Item. +type PatchedWritableInventoryItemRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// PatchedWritableInventoryItemRequest_Relationships_Source_Objects_Item defines model for PatchedWritableInventoryItemRequest.relationships.source.objects.Item. +type PatchedWritableInventoryItemRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableLocationRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableLocationRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + LocationType *openapi_types.UUID `json:"location_type,omitempty"` + Name *string `json:"name,omitempty"` + Parent *openapi_types.UUID `json:"parent"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableLocationRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableLocationRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableLocationRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Site *openapi_types.UUID `json:"site"` + Slug *string `json:"slug,omitempty"` + Status *LocationStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` +} + +// PatchedWritableLocationRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableLocationRequest.relationships.destination.objects.Item. +type PatchedWritableLocationRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableLocationRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableLocationRequest.relationships.peer.objects.Item. +type PatchedWritableLocationRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableLocationRequest_Relationships_Source_Objects_Item defines model for PatchedWritableLocationRequest.relationships.source.objects.Item. +type PatchedWritableLocationRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableLocationTypeRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableLocationTypeRequest struct { + ContentTypes *[]string `json:"content_types,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + + // Nestable Allow Locations of this type to be parents/children of other Locations of this same type + Nestable *bool `json:"nestable,omitempty"` + Parent *openapi_types.UUID `json:"parent"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableLocationTypeRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableLocationTypeRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableLocationTypeRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedWritableLocationTypeRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableLocationTypeRequest.relationships.destination.objects.Item. +type PatchedWritableLocationTypeRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableLocationTypeRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableLocationTypeRequest.relationships.peer.objects.Item. +type PatchedWritableLocationTypeRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableLocationTypeRequest_Relationships_Source_Objects_Item defines model for PatchedWritableLocationTypeRequest.relationships.source.objects.Item. +type PatchedWritableLocationTypeRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableNATPolicyRuleRequest PolicyRule Serializer. +type PatchedWritableNATPolicyRuleRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description"` + + // DestinationZone Zone Serializer. + DestinationZone *ZoneRequest `json:"destination_zone,omitempty"` + Index *int `json:"index"` + Log *bool `json:"log,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Remark *bool `json:"remark,omitempty"` + RequestId *string `json:"request_id"` + + // SourceZone Zone Serializer. + SourceZone *ZoneRequest `json:"source_zone,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableNATPolicyRuleRequest.relationships.destination.objects.Item. +type PatchedWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableNATPolicyRuleRequest.relationships.peer.objects.Item. +type PatchedWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item defines model for PatchedWritableNATPolicyRuleRequest.relationships.source.objects.Item. +type PatchedWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableObjectPermissionRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type PatchedWritableObjectPermission struct { - // The list of actions granted by this permission - Actions *PatchedWritableObjectPermission_Actions `json:"actions,omitempty"` +type PatchedWritableObjectPermissionRequest struct { + // Actions The list of actions granted by this permission + Actions *map[string]interface{} `json:"actions,omitempty"` - // Queryset filter matching the applicable objects of the selected type(s) - Constraints *PatchedWritableObjectPermission_Constraints `json:"constraints"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - Groups *[]int `json:"groups,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - ObjectTypes *[]string `json:"object_types,omitempty"` - Url *string `json:"url,omitempty"` - Users *[]openapi_types.UUID `json:"users,omitempty"` + // Constraints Queryset filter matching the applicable objects of the selected type(s) + Constraints *map[string]interface{} `json:"constraints"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Groups *[]int `json:"groups,omitempty"` + Name *string `json:"name,omitempty"` + ObjectTypes *[]string `json:"object_types,omitempty"` + Users *[]openapi_types.UUID `json:"users,omitempty"` } -// The list of actions granted by this permission -type PatchedWritableObjectPermission_Actions struct { - AdditionalProperties map[string]interface{} `json:"-"` +// PatchedWritablePeerEndpointRequest REST API serializer for PeerEndpoint records. +type PatchedWritablePeerEndpointRequest struct { + AutonomousSystem *openapi_types.UUID `json:"autonomous_system"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + ExportPolicy *string `json:"export_policy,omitempty"` + ImportPolicy *string `json:"import_policy,omitempty"` + Peer *openapi_types.UUID `json:"peer"` + PeerGroup *openapi_types.UUID `json:"peer_group"` + Peering *openapi_types.UUID `json:"peering,omitempty"` + RoutingInstance *openapi_types.UUID `json:"routing_instance"` + Secret *openapi_types.UUID `json:"secret"` + SourceInterface *openapi_types.UUID `json:"source_interface"` + SourceIp *openapi_types.UUID `json:"source_ip"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// Queryset filter matching the applicable objects of the selected type(s) -type PatchedWritableObjectPermission_Constraints struct { - AdditionalProperties map[string]interface{} `json:"-"` +// PatchedWritablePeerGroupRequest REST API serializer for PeerGroup records. +type PatchedWritablePeerGroupRequest struct { + AutonomousSystem *openapi_types.UUID `json:"autonomous_system"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + ExportPolicy *string `json:"export_policy,omitempty"` + ImportPolicy *string `json:"import_policy,omitempty"` + Name *string `json:"name,omitempty"` + Role *openapi_types.UUID `json:"role"` + RoutingInstance *openapi_types.UUID `json:"routing_instance,omitempty"` + Secret *openapi_types.UUID `json:"secret"` + SourceInterface *openapi_types.UUID `json:"source_interface"` + SourceIp *openapi_types.UUID `json:"source_ip"` + Template *openapi_types.UUID `json:"template"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritablePlatform struct { - ComputedFields *PatchedWritablePlatform_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritablePlatform_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceCount *int `json:"device_count,omitempty"` +// PatchedWritablePeerGroupTemplateRequest REST API serializer for PeerGroup records. +type PatchedWritablePeerGroupTemplateRequest struct { + AutonomousSystem *openapi_types.UUID `json:"autonomous_system"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + ExportPolicy *string `json:"export_policy,omitempty"` + ImportPolicy *string `json:"import_policy,omitempty"` + Name *string `json:"name,omitempty"` + Role *openapi_types.UUID `json:"role"` + Secret *openapi_types.UUID `json:"secret"` +} - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` +// PatchedWritablePlatformRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritablePlatformRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Optionally limit this platform to devices of a certain manufacturer + // Manufacturer Optionally limit this platform to devices of a certain manufacturer Manufacturer *openapi_types.UUID `json:"manufacturer"` Name *string `json:"name,omitempty"` - // Additional arguments to pass when initiating the NAPALM driver (JSON format) - NapalmArgs *PatchedWritablePlatform_NapalmArgs `json:"napalm_args"` + // NapalmArgs Additional arguments to pass when initiating the NAPALM driver (JSON format) + NapalmArgs *map[string]interface{} `json:"napalm_args"` - // The name of the NAPALM driver to use when interacting with devices - NapalmDriver *string `json:"napalm_driver,omitempty"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` - VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` + // NapalmDriver The name of the NAPALM driver to use when interacting with devices + NapalmDriver *string `json:"napalm_driver,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePlatformRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePlatformRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePlatformRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` } -// PatchedWritablePlatform_ComputedFields defines model for PatchedWritablePlatform.ComputedFields. -type PatchedWritablePlatform_ComputedFields struct { +// PatchedWritablePlatformRequest_Relationships_Destination_Objects_Item defines model for PatchedWritablePlatformRequest.relationships.destination.objects.Item. +type PatchedWritablePlatformRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritablePlatform_CustomFields defines model for PatchedWritablePlatform.CustomFields. -type PatchedWritablePlatform_CustomFields struct { +// PatchedWritablePlatformRequest_Relationships_Peer_Objects_Item defines model for PatchedWritablePlatformRequest.relationships.peer.objects.Item. +type PatchedWritablePlatformRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Additional arguments to pass when initiating the NAPALM driver (JSON format) -type PatchedWritablePlatform_NapalmArgs struct { +// PatchedWritablePlatformRequest_Relationships_Source_Objects_Item defines model for PatchedWritablePlatformRequest.relationships.source.objects.Item. +type PatchedWritablePlatformRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Mixin to add `status` choice field to model serializers. -type PatchedWritablePowerFeed struct { - Amperage *int `json:"amperage,omitempty"` - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *PatchedWritablePowerFeed_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - Comments *string `json:"comments,omitempty"` - ComputedFields *PatchedWritablePowerFeed_ComputedFields `json:"computed_fields,omitempty"` - ConnectedEndpoint *PatchedWritablePowerFeed_ConnectedEndpoint `json:"connected_endpoint"` - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` - ConnectedEndpointType *string `json:"connected_endpoint_type"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritablePowerFeed_CustomFields `json:"custom_fields,omitempty"` +// PatchedWritablePolicyRuleRequest PolicyRule Serializer. +type PatchedWritablePolicyRuleRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Action *ActionEnum `json:"action,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + // DestinationZone Zone Serializer. + DestinationZone *ZoneRequest `json:"destination_zone,omitempty"` + Index *int `json:"index"` + Log *bool `json:"log,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePolicyRuleRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePolicyRuleRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePolicyRuleRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + RequestId *string `json:"request_id"` - // Maximum permissible draw (percentage) - MaxUtilization *int `json:"max_utilization,omitempty"` - Name *string `json:"name,omitempty"` - Phase *PhaseEnum `json:"phase,omitempty"` - PowerPanel *openapi_types.UUID `json:"power_panel,omitempty"` - Rack *openapi_types.UUID `json:"rack"` - Status *WritablePowerFeedStatusEnum `json:"status,omitempty"` - Supply *SupplyEnum `json:"supply,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Type *PowerFeedTypeChoices `json:"type,omitempty"` - Url *string `json:"url,omitempty"` - Voltage *int `json:"voltage,omitempty"` + // SourceZone Zone Serializer. + SourceZone *ZoneRequest `json:"source_zone,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// PatchedWritablePowerFeed_CablePeer defines model for PatchedWritablePowerFeed.CablePeer. -type PatchedWritablePowerFeed_CablePeer struct { +// PatchedWritablePolicyRuleRequest_Relationships_Destination_Objects_Item defines model for PatchedWritablePolicyRuleRequest.relationships.destination.objects.Item. +type PatchedWritablePolicyRuleRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritablePowerFeed_ComputedFields defines model for PatchedWritablePowerFeed.ComputedFields. -type PatchedWritablePowerFeed_ComputedFields struct { +// PatchedWritablePolicyRuleRequest_Relationships_Peer_Objects_Item defines model for PatchedWritablePolicyRuleRequest.relationships.peer.objects.Item. +type PatchedWritablePolicyRuleRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritablePowerFeed_ConnectedEndpoint defines model for PatchedWritablePowerFeed.ConnectedEndpoint. -type PatchedWritablePowerFeed_ConnectedEndpoint struct { +// PatchedWritablePolicyRuleRequest_Relationships_Source_Objects_Item defines model for PatchedWritablePolicyRuleRequest.relationships.source.objects.Item. +type PatchedWritablePolicyRuleRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritablePowerFeed_CustomFields defines model for PatchedWritablePowerFeed.CustomFields. -type PatchedWritablePowerFeed_CustomFields struct { +// PatchedWritablePowerFeedRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritablePowerFeedRequest struct { + Amperage *int `json:"amperage,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // MaxUtilization Maximum permissible draw (percentage) + MaxUtilization *int `json:"max_utilization,omitempty"` + Name *string `json:"name,omitempty"` + Phase *PhaseEnum `json:"phase,omitempty"` + PowerPanel *openapi_types.UUID `json:"power_panel,omitempty"` + Rack *openapi_types.UUID `json:"rack"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePowerFeedRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePowerFeedRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePowerFeedRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *PowerFeedStatusChoices `json:"status,omitempty"` + Supply *SupplyEnum `json:"supply,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type *PowerFeedTypeChoices `json:"type,omitempty"` + Voltage *int `json:"voltage,omitempty"` +} + +// PatchedWritablePowerFeedRequest_Relationships_Destination_Objects_Item defines model for PatchedWritablePowerFeedRequest.relationships.destination.objects.Item. +type PatchedWritablePowerFeedRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritablePowerOutlet struct { - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *PatchedWritablePowerOutlet_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - ComputedFields *PatchedWritablePowerOutlet_ComputedFields `json:"computed_fields,omitempty"` - ConnectedEndpoint *PatchedWritablePowerOutlet_ConnectedEndpoint `json:"connected_endpoint"` - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` - ConnectedEndpointType *string `json:"connected_endpoint_type"` - CustomFields *PatchedWritablePowerOutlet_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Device *openapi_types.UUID `json:"device,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - - // Phase (for three-phase feeds) - FeedLeg *interface{} `json:"feed_leg,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - Name *string `json:"name,omitempty"` - PowerPort *openapi_types.UUID `json:"power_port"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - - // Physical port type - Type *interface{} `json:"type,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedWritablePowerOutlet_CablePeer defines model for PatchedWritablePowerOutlet.CablePeer. -type PatchedWritablePowerOutlet_CablePeer struct { +// PatchedWritablePowerFeedRequest_Relationships_Peer_Objects_Item defines model for PatchedWritablePowerFeedRequest.relationships.peer.objects.Item. +type PatchedWritablePowerFeedRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritablePowerOutlet_ComputedFields defines model for PatchedWritablePowerOutlet.ComputedFields. -type PatchedWritablePowerOutlet_ComputedFields struct { +// PatchedWritablePowerFeedRequest_Relationships_Source_Objects_Item defines model for PatchedWritablePowerFeedRequest.relationships.source.objects.Item. +type PatchedWritablePowerFeedRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritablePowerOutlet_ConnectedEndpoint defines model for PatchedWritablePowerOutlet.ConnectedEndpoint. -type PatchedWritablePowerOutlet_ConnectedEndpoint struct { +// PatchedWritablePowerOutletRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritablePowerOutletRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *openapi_types.UUID `json:"device,omitempty"` + + // FeedLeg Phase (for three-phase feeds) + FeedLeg *PatchedWritablePowerOutletRequest_FeedLeg `json:"feed_leg,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + PowerPort *openapi_types.UUID `json:"power_port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePowerOutletRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePowerOutletRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePowerOutletRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + + // Type Physical port type + Type *PatchedWritablePowerOutletRequest_Type `json:"type,omitempty"` +} + +// PatchedWritablePowerOutletRequest_FeedLeg Phase (for three-phase feeds) +type PatchedWritablePowerOutletRequest_FeedLeg struct { + union json.RawMessage +} + +// PatchedWritablePowerOutletRequest_Relationships_Destination_Objects_Item defines model for PatchedWritablePowerOutletRequest.relationships.destination.objects.Item. +type PatchedWritablePowerOutletRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritablePowerOutlet_CustomFields defines model for PatchedWritablePowerOutlet.CustomFields. -type PatchedWritablePowerOutlet_CustomFields struct { +// PatchedWritablePowerOutletRequest_Relationships_Peer_Objects_Item defines model for PatchedWritablePowerOutletRequest.relationships.peer.objects.Item. +type PatchedWritablePowerOutletRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritablePowerOutletTemplate struct { - ComputedFields *PatchedWritablePowerOutletTemplate_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *PatchedWritablePowerOutletTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceType *openapi_types.UUID `json:"device_type,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - - // Phase (for three-phase feeds) - FeedLeg *interface{} `json:"feed_leg,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - Name *string `json:"name,omitempty"` - PowerPort *openapi_types.UUID `json:"power_port"` - Type *interface{} `json:"type,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedWritablePowerOutletTemplate_ComputedFields defines model for PatchedWritablePowerOutletTemplate.ComputedFields. -type PatchedWritablePowerOutletTemplate_ComputedFields struct { +// PatchedWritablePowerOutletRequest_Relationships_Source_Objects_Item defines model for PatchedWritablePowerOutletRequest.relationships.source.objects.Item. +type PatchedWritablePowerOutletRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritablePowerOutletTemplate_CustomFields defines model for PatchedWritablePowerOutletTemplate.CustomFields. -type PatchedWritablePowerOutletTemplate_CustomFields struct { +// PatchedWritablePowerOutletRequest_Type Physical port type +type PatchedWritablePowerOutletRequest_Type struct { + union json.RawMessage +} + +// PatchedWritablePowerOutletTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritablePowerOutletTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType *openapi_types.UUID `json:"device_type,omitempty"` + + // FeedLeg Phase (for three-phase feeds) + FeedLeg *PatchedWritablePowerOutletTemplateRequest_FeedLeg `json:"feed_leg,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + PowerPort *openapi_types.UUID `json:"power_port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *PatchedWritablePowerOutletTemplateRequest_Type `json:"type,omitempty"` +} + +// PatchedWritablePowerOutletTemplateRequest_FeedLeg Phase (for three-phase feeds) +type PatchedWritablePowerOutletTemplateRequest_FeedLeg struct { + union json.RawMessage +} + +// PatchedWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item defines model for PatchedWritablePowerOutletTemplateRequest.relationships.destination.objects.Item. +type PatchedWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritablePowerPanel struct { - ComputedFields *PatchedWritablePowerPanel_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *PatchedWritablePowerPanel_CustomFields `json:"custom_fields,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Name *string `json:"name,omitempty"` - PowerfeedCount *int `json:"powerfeed_count,omitempty"` - RackGroup *openapi_types.UUID `json:"rack_group"` - Site *openapi_types.UUID `json:"site,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedWritablePowerPanel_ComputedFields defines model for PatchedWritablePowerPanel.ComputedFields. -type PatchedWritablePowerPanel_ComputedFields struct { +// PatchedWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item defines model for PatchedWritablePowerOutletTemplateRequest.relationships.peer.objects.Item. +type PatchedWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritablePowerPanel_CustomFields defines model for PatchedWritablePowerPanel.CustomFields. -type PatchedWritablePowerPanel_CustomFields struct { +// PatchedWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item defines model for PatchedWritablePowerOutletTemplateRequest.relationships.source.objects.Item. +type PatchedWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritablePowerPort struct { - // Allocated power draw (watts) - AllocatedDraw *int `json:"allocated_draw"` - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *PatchedWritablePowerPort_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - ComputedFields *PatchedWritablePowerPort_ComputedFields `json:"computed_fields,omitempty"` - ConnectedEndpoint *PatchedWritablePowerPort_ConnectedEndpoint `json:"connected_endpoint"` - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` - ConnectedEndpointType *string `json:"connected_endpoint_type"` - CustomFields *PatchedWritablePowerPort_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Device *openapi_types.UUID `json:"device,omitempty"` +// PatchedWritablePowerOutletTemplateRequest_Type defines model for PatchedWritablePowerOutletTemplateRequest.Type. +type PatchedWritablePowerOutletTemplateRequest_Type struct { + union json.RawMessage +} - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` +// PatchedWritablePowerPanelRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritablePowerPanelRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Location *openapi_types.UUID `json:"location"` + Name *string `json:"name,omitempty"` + RackGroup *openapi_types.UUID `json:"rack_group"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePowerPanelRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePowerPanelRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePowerPanelRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Site *openapi_types.UUID `json:"site,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} - // Physical label +// PatchedWritablePowerPanelRequest_Relationships_Destination_Objects_Item defines model for PatchedWritablePowerPanelRequest.relationships.destination.objects.Item. +type PatchedWritablePowerPanelRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritablePowerPanelRequest_Relationships_Peer_Objects_Item defines model for PatchedWritablePowerPanelRequest.relationships.peer.objects.Item. +type PatchedWritablePowerPanelRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritablePowerPanelRequest_Relationships_Source_Objects_Item defines model for PatchedWritablePowerPanelRequest.relationships.source.objects.Item. +type PatchedWritablePowerPanelRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritablePowerPortRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritablePowerPortRequest struct { + // AllocatedDraw Allocated power draw (watts) + AllocatedDraw *int `json:"allocated_draw"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *openapi_types.UUID `json:"device,omitempty"` + + // Label Physical label Label *string `json:"label,omitempty"` - // Maximum power draw (watts) - MaximumDraw *int `json:"maximum_draw"` - Name *string `json:"name,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` + // MaximumDraw Maximum power draw (watts) + MaximumDraw *int `json:"maximum_draw"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePowerPortRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePowerPortRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePowerPortRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` - // Physical port type - Type *interface{} `json:"type,omitempty"` - Url *string `json:"url,omitempty"` + // Type Physical port type + Type *PatchedWritablePowerPortRequest_Type `json:"type,omitempty"` } -// PatchedWritablePowerPort_CablePeer defines model for PatchedWritablePowerPort.CablePeer. -type PatchedWritablePowerPort_CablePeer struct { +// PatchedWritablePowerPortRequest_Relationships_Destination_Objects_Item defines model for PatchedWritablePowerPortRequest.relationships.destination.objects.Item. +type PatchedWritablePowerPortRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritablePowerPort_ComputedFields defines model for PatchedWritablePowerPort.ComputedFields. -type PatchedWritablePowerPort_ComputedFields struct { +// PatchedWritablePowerPortRequest_Relationships_Peer_Objects_Item defines model for PatchedWritablePowerPortRequest.relationships.peer.objects.Item. +type PatchedWritablePowerPortRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritablePowerPort_ConnectedEndpoint defines model for PatchedWritablePowerPort.ConnectedEndpoint. -type PatchedWritablePowerPort_ConnectedEndpoint struct { +// PatchedWritablePowerPortRequest_Relationships_Source_Objects_Item defines model for PatchedWritablePowerPortRequest.relationships.source.objects.Item. +type PatchedWritablePowerPortRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritablePowerPort_CustomFields defines model for PatchedWritablePowerPort.CustomFields. -type PatchedWritablePowerPort_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` +// PatchedWritablePowerPortRequest_Type Physical port type +type PatchedWritablePowerPortRequest_Type struct { + union json.RawMessage } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritablePowerPortTemplate struct { - // Allocated power draw (watts) - AllocatedDraw *int `json:"allocated_draw"` - ComputedFields *PatchedWritablePowerPortTemplate_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *PatchedWritablePowerPortTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceType *openapi_types.UUID `json:"device_type,omitempty"` +// PatchedWritablePowerPortTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritablePowerPortTemplateRequest struct { + // AllocatedDraw Allocated power draw (watts) + AllocatedDraw *int `json:"allocated_draw"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType *openapi_types.UUID `json:"device_type,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label + // Label Physical label Label *string `json:"label,omitempty"` - // Maximum power draw (watts) - MaximumDraw *int `json:"maximum_draw"` - Name *string `json:"name,omitempty"` - Type *interface{} `json:"type,omitempty"` - Url *string `json:"url,omitempty"` + // MaximumDraw Maximum power draw (watts) + MaximumDraw *int `json:"maximum_draw"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *PatchedWritablePowerPortTemplateRequest_Type `json:"type,omitempty"` } -// PatchedWritablePowerPortTemplate_ComputedFields defines model for PatchedWritablePowerPortTemplate.ComputedFields. -type PatchedWritablePowerPortTemplate_ComputedFields struct { +// PatchedWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item defines model for PatchedWritablePowerPortTemplateRequest.relationships.destination.objects.Item. +type PatchedWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritablePowerPortTemplate_CustomFields defines model for PatchedWritablePowerPortTemplate.CustomFields. -type PatchedWritablePowerPortTemplate_CustomFields struct { +// PatchedWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item defines model for PatchedWritablePowerPortTemplateRequest.relationships.peer.objects.Item. +type PatchedWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Mixin to add `status` choice field to model serializers. -type PatchedWritablePrefix struct { - ComputedFields *PatchedWritablePrefix_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritablePrefix_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Family *struct { - // Embedded struct due to allOf(#/components/schemas/FamilyEnum) - FamilyEnum `yaml:",inline"` - } `json:"family,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // All IP addresses within this prefix are considered usable - IsPool *bool `json:"is_pool,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Prefix *string `json:"prefix,omitempty"` - - // The primary function of this prefix - Role *openapi_types.UUID `json:"role"` - Site *openapi_types.UUID `json:"site"` - Status *WritablePrefixStatusEnum `json:"status,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Url *string `json:"url,omitempty"` - Vlan *openapi_types.UUID `json:"vlan"` - Vrf *openapi_types.UUID `json:"vrf"` -} - -// PatchedWritablePrefix_ComputedFields defines model for PatchedWritablePrefix.ComputedFields. -type PatchedWritablePrefix_ComputedFields struct { +// PatchedWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item defines model for PatchedWritablePowerPortTemplateRequest.relationships.source.objects.Item. +type PatchedWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritablePrefix_CustomFields defines model for PatchedWritablePrefix.CustomFields. -type PatchedWritablePrefix_CustomFields struct { +// PatchedWritablePowerPortTemplateRequest_Type defines model for PatchedWritablePowerPortTemplateRequest.Type. +type PatchedWritablePowerPortTemplateRequest_Type struct { + union json.RawMessage +} + +// PatchedWritablePrefixRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritablePrefixRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IsPool All IP addresses within this prefix are considered usable + IsPool *bool `json:"is_pool,omitempty"` + Location *openapi_types.UUID `json:"location"` + Prefix *string `json:"prefix,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePrefixRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePrefixRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritablePrefixRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // Role The primary function of this prefix + Role *openapi_types.UUID `json:"role"` + Site *openapi_types.UUID `json:"site"` + Status *PrefixStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + Vlan *openapi_types.UUID `json:"vlan"` + Vrf *openapi_types.UUID `json:"vrf"` +} + +// PatchedWritablePrefixRequest_Relationships_Destination_Objects_Item defines model for PatchedWritablePrefixRequest.relationships.destination.objects.Item. +type PatchedWritablePrefixRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableProviderNetwork struct { - Comments *string `json:"comments,omitempty"` - ComputedFields *PatchedWritableProviderNetwork_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritableProviderNetwork_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - Provider *openapi_types.UUID `json:"provider,omitempty"` - Slug *string `json:"slug,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedWritableProviderNetwork_ComputedFields defines model for PatchedWritableProviderNetwork.ComputedFields. -type PatchedWritableProviderNetwork_ComputedFields struct { +// PatchedWritablePrefixRequest_Relationships_Peer_Objects_Item defines model for PatchedWritablePrefixRequest.relationships.peer.objects.Item. +type PatchedWritablePrefixRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableProviderNetwork_CustomFields defines model for PatchedWritableProviderNetwork.CustomFields. -type PatchedWritableProviderNetwork_CustomFields struct { +// PatchedWritablePrefixRequest_Relationships_Source_Objects_Item defines model for PatchedWritablePrefixRequest.relationships.source.objects.Item. +type PatchedWritablePrefixRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Mixin to add `status` choice field to model serializers. -type PatchedWritableRack struct { - // A unique tag used to identify this rack - AssetTag *string `json:"asset_tag"` - Comments *string `json:"comments,omitempty"` - ComputedFields *PatchedWritableRack_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritableRack_CustomFields `json:"custom_fields,omitempty"` +// PatchedWritableProviderNetworkRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableProviderNetworkRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Provider *openapi_types.UUID `json:"provider,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableProviderNetworkRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableProviderNetworkRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableProviderNetworkRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} - // Units are numbered top-to-bottom - DescUnits *bool `json:"desc_units,omitempty"` - DeviceCount *int `json:"device_count,omitempty"` +// PatchedWritableProviderNetworkRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableProviderNetworkRequest.relationships.destination.objects.Item. +type PatchedWritableProviderNetworkRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Human friendly display value - Display *string `json:"display,omitempty"` +// PatchedWritableProviderNetworkRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableProviderNetworkRequest.relationships.peer.objects.Item. +type PatchedWritableProviderNetworkRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Locally-assigned identifier +// PatchedWritableProviderNetworkRequest_Relationships_Source_Objects_Item defines model for PatchedWritableProviderNetworkRequest.relationships.source.objects.Item. +type PatchedWritableProviderNetworkRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableRackGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableRackGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Location *openapi_types.UUID `json:"location"` + Name *string `json:"name,omitempty"` + Parent *openapi_types.UUID `json:"parent"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableRackGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableRackGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableRackGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Site *openapi_types.UUID `json:"site,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedWritableRackGroupRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableRackGroupRequest.relationships.destination.objects.Item. +type PatchedWritableRackGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableRackGroupRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableRackGroupRequest.relationships.peer.objects.Item. +type PatchedWritableRackGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableRackGroupRequest_Relationships_Source_Objects_Item defines model for PatchedWritableRackGroupRequest.relationships.source.objects.Item. +type PatchedWritableRackGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableRackRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableRackRequest struct { + // AssetTag A unique tag used to identify this rack + AssetTag *string `json:"asset_tag"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // DescUnits Units are numbered top-to-bottom + DescUnits *bool `json:"desc_units,omitempty"` + + // FacilityId Locally-assigned identifier FacilityId *string `json:"facility_id"` - // Assigned group - Group *openapi_types.UUID `json:"group"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` + // Group Assigned group + Group *openapi_types.UUID `json:"group"` + Location *openapi_types.UUID `json:"location"` + Name *string `json:"name,omitempty"` - // Outer dimension of rack (depth) - OuterDepth *int `json:"outer_depth"` - OuterUnit *interface{} `json:"outer_unit,omitempty"` + // OuterDepth Outer dimension of rack (depth) + OuterDepth *int `json:"outer_depth"` + OuterUnit *PatchedWritableRackRequest_OuterUnit `json:"outer_unit,omitempty"` - // Outer dimension of rack (width) - OuterWidth *int `json:"outer_width"` - PowerfeedCount *int `json:"powerfeed_count,omitempty"` + // OuterWidth Outer dimension of rack (width) + OuterWidth *int `json:"outer_width"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableRackRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableRackRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableRackRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` - // Functional role - Role *openapi_types.UUID `json:"role"` - Serial *string `json:"serial,omitempty"` - Site *openapi_types.UUID `json:"site,omitempty"` - Status *WritableRackStatusEnum `json:"status,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Type *interface{} `json:"type,omitempty"` + // Role Functional role + Role *openapi_types.UUID `json:"role"` + Serial *string `json:"serial,omitempty"` + Site *openapi_types.UUID `json:"site,omitempty"` + Status *RackStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + Type *PatchedWritableRackRequest_Type `json:"type,omitempty"` - // Height in rack units - UHeight *int `json:"u_height,omitempty"` - Url *string `json:"url,omitempty"` + // UHeight Height in rack units + UHeight *int `json:"u_height,omitempty"` - // Rail-to-rail width - Width *struct { - // Embedded struct due to allOf(#/components/schemas/WidthEnum) - WidthEnum `yaml:",inline"` - } `json:"width,omitempty"` + // Width Rail-to-rail width + Width *WidthEnum `json:"width,omitempty"` } -// PatchedWritableRack_ComputedFields defines model for PatchedWritableRack.ComputedFields. -type PatchedWritableRack_ComputedFields struct { +// PatchedWritableRackRequest_OuterUnit defines model for PatchedWritableRackRequest.OuterUnit. +type PatchedWritableRackRequest_OuterUnit struct { + union json.RawMessage +} + +// PatchedWritableRackRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableRackRequest.relationships.destination.objects.Item. +type PatchedWritableRackRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableRack_CustomFields defines model for PatchedWritableRack.CustomFields. -type PatchedWritableRack_CustomFields struct { +// PatchedWritableRackRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableRackRequest.relationships.peer.objects.Item. +type PatchedWritableRackRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableRackGroup struct { - Depth *int `json:"_depth,omitempty"` - ComputedFields *PatchedWritableRackGroup_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritableRackGroup_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - Parent *openapi_types.UUID `json:"parent"` - RackCount *int `json:"rack_count,omitempty"` - Site *openapi_types.UUID `json:"site,omitempty"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedWritableRackGroup_ComputedFields defines model for PatchedWritableRackGroup.ComputedFields. -type PatchedWritableRackGroup_ComputedFields struct { +// PatchedWritableRackRequest_Relationships_Source_Objects_Item defines model for PatchedWritableRackRequest.relationships.source.objects.Item. +type PatchedWritableRackRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableRackGroup_CustomFields defines model for PatchedWritableRackGroup.CustomFields. -type PatchedWritableRackGroup_CustomFields struct { +// PatchedWritableRackRequest_Type defines model for PatchedWritableRackRequest.Type. +type PatchedWritableRackRequest_Type struct { + union json.RawMessage +} + +// PatchedWritableRackReservationRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableRackReservationRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Rack *openapi_types.UUID `json:"rack,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableRackReservationRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableRackReservationRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableRackReservationRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + Units *map[string]interface{} `json:"units,omitempty"` + User *openapi_types.UUID `json:"user,omitempty"` +} + +// PatchedWritableRackReservationRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableRackReservationRequest.relationships.destination.objects.Item. +type PatchedWritableRackReservationRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableRackReservation struct { - ComputedFields *PatchedWritableRackReservation_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritableRackReservation_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Rack *openapi_types.UUID `json:"rack,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Units *PatchedWritableRackReservation_Units `json:"units,omitempty"` - Url *string `json:"url,omitempty"` - User *openapi_types.UUID `json:"user,omitempty"` -} - -// PatchedWritableRackReservation_ComputedFields defines model for PatchedWritableRackReservation.ComputedFields. -type PatchedWritableRackReservation_ComputedFields struct { +// PatchedWritableRackReservationRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableRackReservationRequest.relationships.peer.objects.Item. +type PatchedWritableRackReservationRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableRackReservation_CustomFields defines model for PatchedWritableRackReservation.CustomFields. -type PatchedWritableRackReservation_CustomFields struct { +// PatchedWritableRackReservationRequest_Relationships_Source_Objects_Item defines model for PatchedWritableRackReservationRequest.relationships.source.objects.Item. +type PatchedWritableRackReservationRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableRackReservation_Units defines model for PatchedWritableRackReservation.Units. -type PatchedWritableRackReservation_Units struct { +// PatchedWritableRearPortRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableRearPortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *openapi_types.UUID `json:"device,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + Positions *int `json:"positions,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableRearPortRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableRearPortRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableRearPortRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type *PortTypeChoices `json:"type,omitempty"` +} + +// PatchedWritableRearPortRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableRearPortRequest.relationships.destination.objects.Item. +type PatchedWritableRearPortRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableRearPort struct { - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *PatchedWritableRearPort_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - ComputedFields *PatchedWritableRearPort_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *PatchedWritableRearPort_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Device *openapi_types.UUID `json:"device,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - Name *string `json:"name,omitempty"` - Positions *int `json:"positions,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Type *PortTypeChoices `json:"type,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedWritableRearPort_CablePeer defines model for PatchedWritableRearPort.CablePeer. -type PatchedWritableRearPort_CablePeer struct { +// PatchedWritableRearPortRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableRearPortRequest.relationships.peer.objects.Item. +type PatchedWritableRearPortRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableRearPort_ComputedFields defines model for PatchedWritableRearPort.ComputedFields. -type PatchedWritableRearPort_ComputedFields struct { +// PatchedWritableRearPortRequest_Relationships_Source_Objects_Item defines model for PatchedWritableRearPortRequest.relationships.source.objects.Item. +type PatchedWritableRearPortRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableRearPort_CustomFields defines model for PatchedWritableRearPort.CustomFields. -type PatchedWritableRearPort_CustomFields struct { +// PatchedWritableRearPortTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableRearPortTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType *openapi_types.UUID `json:"device_type,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name *string `json:"name,omitempty"` + Positions *int `json:"positions,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableRearPortTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *PortTypeChoices `json:"type,omitempty"` +} + +// PatchedWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableRearPortTemplateRequest.relationships.destination.objects.Item. +type PatchedWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableRearPortTemplate struct { - CustomFields *PatchedWritableRearPortTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceType *openapi_types.UUID `json:"device_type,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - Name *string `json:"name,omitempty"` - Positions *int `json:"positions,omitempty"` - Type *PortTypeChoices `json:"type,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedWritableRearPortTemplate_CustomFields defines model for PatchedWritableRearPortTemplate.CustomFields. -type PatchedWritableRearPortTemplate_CustomFields struct { +// PatchedWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableRearPortTemplateRequest.relationships.peer.objects.Item. +type PatchedWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableRegion struct { - Depth *int `json:"_depth,omitempty"` - ComputedFields *PatchedWritableRegion_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritableRegion_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - Parent *openapi_types.UUID `json:"parent"` - SiteCount *int `json:"site_count,omitempty"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedWritableRegion_ComputedFields defines model for PatchedWritableRegion.ComputedFields. -type PatchedWritableRegion_ComputedFields struct { +// PatchedWritableRearPortTemplateRequest_Relationships_Source_Objects_Item defines model for PatchedWritableRearPortTemplateRequest.relationships.source.objects.Item. +type PatchedWritableRearPortTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableRegion_CustomFields defines model for PatchedWritableRegion.CustomFields. -type PatchedWritableRegion_CustomFields struct { +// PatchedWritableRegionRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableRegionRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Parent *openapi_types.UUID `json:"parent"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableRegionRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableRegionRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableRegionRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedWritableRegionRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableRegionRequest.relationships.destination.objects.Item. +type PatchedWritableRegionRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableRelationshipAssociation defines model for PatchedWritableRelationshipAssociation. -type PatchedWritableRelationshipAssociation struct { +// PatchedWritableRegionRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableRegionRequest.relationships.peer.objects.Item. +type PatchedWritableRegionRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableRegionRequest_Relationships_Source_Objects_Item defines model for PatchedWritableRegionRequest.relationships.source.objects.Item. +type PatchedWritableRegionRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableRelationshipAssociationRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type PatchedWritableRelationshipAssociationRequest struct { DestinationId *openapi_types.UUID `json:"destination_id,omitempty"` DestinationType *string `json:"destination_type,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` Relationship *openapi_types.UUID `json:"relationship,omitempty"` SourceId *openapi_types.UUID `json:"source_id,omitempty"` SourceType *string `json:"source_type,omitempty"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableRouteTarget struct { - ComputedFields *PatchedWritableRouteTarget_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritableRouteTarget_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` +// PatchedWritableRouteTargetRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableRouteTargetRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - - // Route target value (formatted in accordance with RFC 4360) - Name *string `json:"name,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Url *string `json:"url,omitempty"` + // Name Route target value (formatted in accordance with RFC 4360) + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableRouteTargetRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableRouteTargetRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableRouteTargetRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` } -// PatchedWritableRouteTarget_ComputedFields defines model for PatchedWritableRouteTarget.ComputedFields. -type PatchedWritableRouteTarget_ComputedFields struct { +// PatchedWritableRouteTargetRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableRouteTargetRequest.relationships.destination.objects.Item. +type PatchedWritableRouteTargetRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableRouteTarget_CustomFields defines model for PatchedWritableRouteTarget.CustomFields. -type PatchedWritableRouteTarget_CustomFields struct { +// PatchedWritableRouteTargetRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableRouteTargetRequest.relationships.peer.objects.Item. +type PatchedWritableRouteTargetRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Serializer for `SecretsGroupAssociation` objects. -type PatchedWritableSecretsGroupAssociation struct { - AccessType *AccessTypeEnum `json:"access_type,omitempty"` +// PatchedWritableRouteTargetRequest_Relationships_Source_Objects_Item defines model for PatchedWritableRouteTargetRequest.relationships.source.objects.Item. +type PatchedWritableRouteTargetRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Human friendly display value - Display *string `json:"display,omitempty"` +// PatchedWritableSecretsGroupAssociationRequest Serializer for `SecretsGroupAssociation` objects. +type PatchedWritableSecretsGroupAssociationRequest struct { + AccessType *AccessTypeEnum `json:"access_type,omitempty"` Group *openapi_types.UUID `json:"group,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` Secret *openapi_types.UUID `json:"secret,omitempty"` SecretType *SecretTypeEnum `json:"secret_type,omitempty"` - Url *string `json:"url,omitempty"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableService struct { - ComputedFields *PatchedWritableService_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritableService_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Device *openapi_types.UUID `json:"device"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Ipaddresses *[]openapi_types.UUID `json:"ipaddresses,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - Ports *[]int `json:"ports,omitempty"` - Protocol *ProtocolEnum `json:"protocol,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` - VirtualMachine *openapi_types.UUID `json:"virtual_machine"` +// PatchedWritableServiceObjectGroupRequest ServiceObjectGroup Serializer. +type PatchedWritableServiceObjectGroupRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// PatchedWritableService_ComputedFields defines model for PatchedWritableService.ComputedFields. -type PatchedWritableService_ComputedFields struct { +// PatchedWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableServiceObjectGroupRequest.relationships.destination.objects.Item. +type PatchedWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableService_CustomFields defines model for PatchedWritableService.CustomFields. -type PatchedWritableService_CustomFields struct { +// PatchedWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableServiceObjectGroupRequest.relationships.peer.objects.Item. +type PatchedWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Mixin to add `status` choice field to model serializers. -type PatchedWritableSite struct { - // 32-bit autonomous system number - Asn *int64 `json:"asn"` - CircuitCount *int `json:"circuit_count,omitempty"` - Comments *string `json:"comments,omitempty"` - ComputedFields *PatchedWritableSite_ComputedFields `json:"computed_fields,omitempty"` - ContactEmail *openapi_types.Email `json:"contact_email,omitempty"` - ContactName *string `json:"contact_name,omitempty"` - ContactPhone *string `json:"contact_phone,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritableSite_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceCount *int `json:"device_count,omitempty"` +// PatchedWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item defines model for PatchedWritableServiceObjectGroupRequest.relationships.source.objects.Item. +type PatchedWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Human friendly display value - Display *string `json:"display,omitempty"` +// PatchedWritableServiceRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableServiceRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *openapi_types.UUID `json:"device"` + Ipaddresses *[]openapi_types.UUID `json:"ipaddresses,omitempty"` + Name *string `json:"name,omitempty"` + Ports *[]int `json:"ports,omitempty"` + Protocol *ProtocolEnum `json:"protocol,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableServiceRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableServiceRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableServiceRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + VirtualMachine *openapi_types.UUID `json:"virtual_machine"` +} - // Local facility ID or description - Facility *string `json:"facility,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` +// PatchedWritableServiceRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableServiceRequest.relationships.destination.objects.Item. +type PatchedWritableServiceRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // GPS coordinate (latitude) +// PatchedWritableServiceRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableServiceRequest.relationships.peer.objects.Item. +type PatchedWritableServiceRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableServiceRequest_Relationships_Source_Objects_Item defines model for PatchedWritableServiceRequest.relationships.source.objects.Item. +type PatchedWritableServiceRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableSiteRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableSiteRequest struct { + // Asn 32-bit autonomous system number + Asn *int64 `json:"asn"` + Comments *string `json:"comments,omitempty"` + ContactEmail *openapi_types.Email `json:"contact_email,omitempty"` + ContactName *string `json:"contact_name,omitempty"` + ContactPhone *string `json:"contact_phone,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Facility Local facility ID or description + Facility *string `json:"facility,omitempty"` + + // Latitude GPS coordinate (latitude) Latitude *string `json:"latitude"` - // GPS coordinate (longitude) - Longitude *string `json:"longitude"` - Name *string `json:"name,omitempty"` - PhysicalAddress *string `json:"physical_address,omitempty"` - PrefixCount *int `json:"prefix_count,omitempty"` - RackCount *int `json:"rack_count,omitempty"` - Region *openapi_types.UUID `json:"region"` - ShippingAddress *string `json:"shipping_address,omitempty"` - Slug *string `json:"slug,omitempty"` - Status *WritableSiteStatusEnum `json:"status,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - TimeZone *string `json:"time_zone"` - Url *string `json:"url,omitempty"` - VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` - VlanCount *int `json:"vlan_count,omitempty"` + // Longitude GPS coordinate (longitude) + Longitude *string `json:"longitude"` + Name *string `json:"name,omitempty"` + PhysicalAddress *string `json:"physical_address,omitempty"` + Region *openapi_types.UUID `json:"region"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableSiteRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableSiteRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableSiteRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ShippingAddress *string `json:"shipping_address,omitempty"` + Slug *string `json:"slug,omitempty"` + Status *LocationStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + TimeZone *string `json:"time_zone"` } -// PatchedWritableSite_ComputedFields defines model for PatchedWritableSite.ComputedFields. -type PatchedWritableSite_ComputedFields struct { +// PatchedWritableSiteRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableSiteRequest.relationships.destination.objects.Item. +type PatchedWritableSiteRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableSite_CustomFields defines model for PatchedWritableSite.CustomFields. -type PatchedWritableSite_CustomFields struct { +// PatchedWritableSiteRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableSiteRequest.relationships.peer.objects.Item. +type PatchedWritableSiteRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// REST API serializer for SoftwareImageLCM records. -type PatchedWritableSoftwareImageLCM struct { - CustomFields *PatchedWritableSoftwareImageLCM_CustomFields `json:"custom_fields,omitempty"` - DefaultImage *bool `json:"default_image,omitempty"` - DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - DownloadUrl *string `json:"download_url,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - ImageFileChecksum *string `json:"image_file_checksum,omitempty"` - ImageFileName *string `json:"image_file_name,omitempty"` - InventoryItems *[]openapi_types.UUID `json:"inventory_items,omitempty"` - ObjectTags *[]openapi_types.UUID `json:"object_tags,omitempty"` - Software *openapi_types.UUID `json:"software,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedWritableSoftwareImageLCM_CustomFields defines model for PatchedWritableSoftwareImageLCM.CustomFields. -type PatchedWritableSoftwareImageLCM_CustomFields struct { +// PatchedWritableSiteRequest_Relationships_Source_Objects_Item defines model for PatchedWritableSiteRequest.relationships.source.objects.Item. +type PatchedWritableSiteRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// REST API serializer for SoftwareLCM records. -type PatchedWritableSoftwareLCM struct { - Alias *string `json:"alias"` - CustomFields *PatchedWritableSoftwareLCM_CustomFields `json:"custom_fields,omitempty"` - DevicePlatform *openapi_types.UUID `json:"device_platform,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - DocumentationUrl *string `json:"documentation_url,omitempty"` - EndOfSupport *openapi_types.Date `json:"end_of_support"` - Id *openapi_types.UUID `json:"id,omitempty"` - LongTermSupport *bool `json:"long_term_support,omitempty"` - PreRelease *bool `json:"pre_release,omitempty"` - ReleaseDate *openapi_types.Date `json:"release_date"` - SoftwareImages *[]openapi_types.UUID `json:"software_images,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` - Version *string `json:"version,omitempty"` +// PatchedWritableSoftwareImageLCMRequest REST API serializer for SoftwareImageLCM records. +type PatchedWritableSoftwareImageLCMRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DefaultImage *bool `json:"default_image,omitempty"` + DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` + DownloadUrl *string `json:"download_url,omitempty"` + ImageFileChecksum *string `json:"image_file_checksum,omitempty"` + ImageFileName *string `json:"image_file_name,omitempty"` + InventoryItems *[]openapi_types.UUID `json:"inventory_items,omitempty"` + ObjectTags *[]openapi_types.UUID `json:"object_tags,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Software *openapi_types.UUID `json:"software,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// PatchedWritableSoftwareLCM_CustomFields defines model for PatchedWritableSoftwareLCM.CustomFields. -type PatchedWritableSoftwareLCM_CustomFields struct { +// PatchedWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableSoftwareImageLCMRequest.relationships.destination.objects.Item. +type PatchedWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableTenant struct { - CircuitCount *int `json:"circuit_count,omitempty"` - ClusterCount *int `json:"cluster_count,omitempty"` - Comments *string `json:"comments,omitempty"` - ComputedFields *PatchedWritableTenant_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritableTenant_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceCount *int `json:"device_count,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Group *openapi_types.UUID `json:"group"` - Id *openapi_types.UUID `json:"id,omitempty"` - IpaddressCount *int `json:"ipaddress_count,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - PrefixCount *int `json:"prefix_count,omitempty"` - RackCount *int `json:"rack_count,omitempty"` - SiteCount *int `json:"site_count,omitempty"` - Slug *string `json:"slug,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` - VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` - VlanCount *int `json:"vlan_count,omitempty"` - VrfCount *int `json:"vrf_count,omitempty"` -} - -// PatchedWritableTenant_ComputedFields defines model for PatchedWritableTenant.ComputedFields. -type PatchedWritableTenant_ComputedFields struct { +// PatchedWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableSoftwareImageLCMRequest.relationships.peer.objects.Item. +type PatchedWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableTenant_CustomFields defines model for PatchedWritableTenant.CustomFields. -type PatchedWritableTenant_CustomFields struct { +// PatchedWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item defines model for PatchedWritableSoftwareImageLCMRequest.relationships.source.objects.Item. +type PatchedWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableTenantGroup struct { - Depth *int `json:"_depth,omitempty"` - ComputedFields *PatchedWritableTenantGroup_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritableTenantGroup_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - Parent *openapi_types.UUID `json:"parent"` - Slug *string `json:"slug,omitempty"` - TenantCount *int `json:"tenant_count,omitempty"` - Url *string `json:"url,omitempty"` +// PatchedWritableSoftwareLCMRequest REST API serializer for SoftwareLCM records. +type PatchedWritableSoftwareLCMRequest struct { + Alias *string `json:"alias"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DevicePlatform *openapi_types.UUID `json:"device_platform,omitempty"` + DocumentationUrl *string `json:"documentation_url,omitempty"` + EndOfSupport *openapi_types.Date `json:"end_of_support"` + LongTermSupport *bool `json:"long_term_support,omitempty"` + PreRelease *bool `json:"pre_release,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableSoftwareLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ReleaseDate *openapi_types.Date `json:"release_date"` + SoftwareImages *[]openapi_types.UUID `json:"software_images,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Version *string `json:"version,omitempty"` } -// PatchedWritableTenantGroup_ComputedFields defines model for PatchedWritableTenantGroup.ComputedFields. -type PatchedWritableTenantGroup_ComputedFields struct { +// PatchedWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableSoftwareLCMRequest.relationships.destination.objects.Item. +type PatchedWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableTenantGroup_CustomFields defines model for PatchedWritableTenantGroup.CustomFields. -type PatchedWritableTenantGroup_CustomFields struct { +// PatchedWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableSoftwareLCMRequest.relationships.peer.objects.Item. +type PatchedWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// PatchedWritableSoftwareLCMRequest_Relationships_Source_Objects_Item defines model for PatchedWritableSoftwareLCMRequest.relationships.source.objects.Item. +type PatchedWritableSoftwareLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableTenantGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableTenantGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Parent *openapi_types.UUID `json:"parent"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableTenantGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableTenantGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableTenantGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// PatchedWritableTenantGroupRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableTenantGroupRequest.relationships.destination.objects.Item. +type PatchedWritableTenantGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableTenantGroupRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableTenantGroupRequest.relationships.peer.objects.Item. +type PatchedWritableTenantGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableTenantGroupRequest_Relationships_Source_Objects_Item defines model for PatchedWritableTenantGroupRequest.relationships.source.objects.Item. +type PatchedWritableTenantGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableTenantRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableTenantRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Group *openapi_types.UUID `json:"group"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableTenantRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableTenantRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableTenantRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedWritableTenantRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableTenantRequest.relationships.destination.objects.Item. +type PatchedWritableTenantRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableTenantRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableTenantRequest.relationships.peer.objects.Item. +type PatchedWritableTenantRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableTenantRequest_Relationships_Source_Objects_Item defines model for PatchedWritableTenantRequest.relationships.source.objects.Item. +type PatchedWritableTenantRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableUserObjectGroupRequest UserObjectGroup Serializer. +type PatchedWritableUserObjectGroupRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableUserObjectGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableUserObjectGroupRequest.relationships.destination.objects.Item. +type PatchedWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableUserObjectGroupRequest.relationships.peer.objects.Item. +type PatchedWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableUserObjectGroupRequest_Relationships_Source_Objects_Item defines model for PatchedWritableUserObjectGroupRequest.relationships.source.objects.Item. +type PatchedWritableUserObjectGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableUserRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type PatchedWritableUser struct { - DateJoined *time.Time `json:"date_joined,omitempty"` +type PatchedWritableUserRequest struct { + DateJoined *time.Time `json:"date_joined,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + FirstName *string `json:"first_name,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Email *openapi_types.Email `json:"email,omitempty"` - FirstName *string `json:"first_name,omitempty"` + // Groups The groups this user belongs to. A user will get all permissions granted to each of their groups. + Groups *[]int `json:"groups,omitempty"` - // The groups this user belongs to. A user will get all permissions granted to each of their groups. - Groups *[]int `json:"groups,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Designates whether this user should be treated as active. Unselect this instead of deleting accounts. + // IsActive Designates whether this user should be treated as active. Unselect this instead of deleting accounts. IsActive *bool `json:"is_active,omitempty"` - // Designates whether the user can log into this admin site. + // IsStaff Designates whether the user can log into this admin site. IsStaff *bool `json:"is_staff,omitempty"` LastName *string `json:"last_name,omitempty"` Password *string `json:"password,omitempty"` - Url *string `json:"url,omitempty"` - // Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. + // Username Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. Username *string `json:"username,omitempty"` } -// Mixin to add `status` choice field to model serializers. -type PatchedWritableVLAN struct { - ComputedFields *PatchedWritableVLAN_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritableVLAN_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Group *openapi_types.UUID `json:"group"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - PrefixCount *int `json:"prefix_count,omitempty"` - Role *openapi_types.UUID `json:"role"` - Site *openapi_types.UUID `json:"site"` - Status *WritableVLANStatusEnum `json:"status,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Url *string `json:"url,omitempty"` - Vid *int `json:"vid,omitempty"` +// PatchedWritableVLANGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableVLANGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Location *openapi_types.UUID `json:"location"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableVLANGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableVLANGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableVLANGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Site *openapi_types.UUID `json:"site"` + Slug *string `json:"slug,omitempty"` } -// PatchedWritableVLAN_ComputedFields defines model for PatchedWritableVLAN.ComputedFields. -type PatchedWritableVLAN_ComputedFields struct { +// PatchedWritableVLANGroupRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableVLANGroupRequest.relationships.destination.objects.Item. +type PatchedWritableVLANGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableVLAN_CustomFields defines model for PatchedWritableVLAN.CustomFields. -type PatchedWritableVLAN_CustomFields struct { +// PatchedWritableVLANGroupRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableVLANGroupRequest.relationships.peer.objects.Item. +type PatchedWritableVLANGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableVLANGroup struct { - ComputedFields *PatchedWritableVLANGroup_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritableVLANGroup_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - Site *openapi_types.UUID `json:"site"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` - VlanCount *int `json:"vlan_count,omitempty"` -} - -// PatchedWritableVLANGroup_ComputedFields defines model for PatchedWritableVLANGroup.ComputedFields. -type PatchedWritableVLANGroup_ComputedFields struct { +// PatchedWritableVLANGroupRequest_Relationships_Source_Objects_Item defines model for PatchedWritableVLANGroupRequest.relationships.source.objects.Item. +type PatchedWritableVLANGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableVLANGroup_CustomFields defines model for PatchedWritableVLANGroup.CustomFields. -type PatchedWritableVLANGroup_CustomFields struct { +// PatchedWritableVLANRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableVLANRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Group *openapi_types.UUID `json:"group"` + Location *openapi_types.UUID `json:"location"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableVLANRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableVLANRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableVLANRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Role *openapi_types.UUID `json:"role"` + Site *openapi_types.UUID `json:"site"` + Status *VLANStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + Vid *int `json:"vid,omitempty"` +} + +// PatchedWritableVLANRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableVLANRequest.relationships.destination.objects.Item. +type PatchedWritableVLANRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during -// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type PatchedWritableVMInterface struct { - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - MacAddress *string `json:"mac_address"` - Mode *interface{} `json:"mode,omitempty"` - Mtu *int `json:"mtu"` - Name *string `json:"name,omitempty"` - TaggedVlans *[]openapi_types.UUID `json:"tagged_vlans,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - UntaggedVlan *openapi_types.UUID `json:"untagged_vlan"` - Url *string `json:"url,omitempty"` - VirtualMachine *openapi_types.UUID `json:"virtual_machine,omitempty"` -} - -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableVRF struct { - ComputedFields *PatchedWritableVRF_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritableVRF_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - - // Prevent duplicate prefixes/IP addresses within this VRF - EnforceUnique *bool `json:"enforce_unique,omitempty"` - ExportTargets *[]openapi_types.UUID `json:"export_targets,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - ImportTargets *[]openapi_types.UUID `json:"import_targets,omitempty"` - IpaddressCount *int `json:"ipaddress_count,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name *string `json:"name,omitempty"` - PrefixCount *int `json:"prefix_count,omitempty"` - - // Unique route distinguisher (as defined in RFC 4364) - Rd *string `json:"rd"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Url *string `json:"url,omitempty"` -} - -// PatchedWritableVRF_ComputedFields defines model for PatchedWritableVRF.ComputedFields. -type PatchedWritableVRF_ComputedFields struct { +// PatchedWritableVLANRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableVLANRequest.relationships.peer.objects.Item. +type PatchedWritableVLANRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableVRF_CustomFields defines model for PatchedWritableVRF.CustomFields. -type PatchedWritableVRF_CustomFields struct { +// PatchedWritableVLANRequest_Relationships_Source_Objects_Item defines model for PatchedWritableVLANRequest.relationships.source.objects.Item. +type PatchedWritableVLANRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// REST API serializer for ValidatedSoftwareLCM records. -type PatchedWritableValidatedSoftwareLCM struct { - CustomFields *PatchedWritableValidatedSoftwareLCM_CustomFields `json:"custom_fields,omitempty"` - DeviceRoles *[]openapi_types.UUID `json:"device_roles,omitempty"` - DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` - Devices *[]openapi_types.UUID `json:"devices,omitempty"` +// PatchedWritableVMInterfaceRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableVMInterfaceRequest struct { + // Bridge Assigned bridge interface + Bridge *openapi_types.UUID `json:"bridge"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + MacAddress *string `json:"mac_address"` + Mode *PatchedWritableVMInterfaceRequest_Mode `json:"mode,omitempty"` + Mtu *int `json:"mtu"` + Name *string `json:"name,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - End *openapi_types.Date `json:"end"` - Id *openapi_types.UUID `json:"id,omitempty"` - InventoryItems *[]openapi_types.UUID `json:"inventory_items,omitempty"` - ObjectTags *[]openapi_types.UUID `json:"object_tags,omitempty"` - Preferred *bool `json:"preferred,omitempty"` - Software *openapi_types.UUID `json:"software,omitempty"` - Start *openapi_types.Date `json:"start,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` - Valid *string `json:"valid,omitempty"` + // ParentInterface Assigned parent interface + ParentInterface *openapi_types.UUID `json:"parent_interface"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableVMInterfaceRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableVMInterfaceRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableVMInterfaceRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *InterfaceStatusChoices `json:"status,omitempty"` + TaggedVlans *[]openapi_types.UUID `json:"tagged_vlans,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + UntaggedVlan *openapi_types.UUID `json:"untagged_vlan"` + VirtualMachine *openapi_types.UUID `json:"virtual_machine,omitempty"` } -// PatchedWritableValidatedSoftwareLCM_CustomFields defines model for PatchedWritableValidatedSoftwareLCM.CustomFields. -type PatchedWritableValidatedSoftwareLCM_CustomFields struct { +// PatchedWritableVMInterfaceRequest_Mode defines model for PatchedWritableVMInterfaceRequest.Mode. +type PatchedWritableVMInterfaceRequest_Mode struct { + union json.RawMessage +} + +// PatchedWritableVMInterfaceRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableVMInterfaceRequest.relationships.destination.objects.Item. +type PatchedWritableVMInterfaceRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type PatchedWritableVirtualChassis struct { - ComputedFields *PatchedWritableVirtualChassis_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *PatchedWritableVirtualChassis_CustomFields `json:"custom_fields,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Domain *string `json:"domain,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Master *openapi_types.UUID `json:"master"` - MemberCount *int `json:"member_count,omitempty"` - Name *string `json:"name,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` -} - -// PatchedWritableVirtualChassis_ComputedFields defines model for PatchedWritableVirtualChassis.ComputedFields. -type PatchedWritableVirtualChassis_ComputedFields struct { +// PatchedWritableVMInterfaceRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableVMInterfaceRequest.relationships.peer.objects.Item. +type PatchedWritableVMInterfaceRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableVirtualChassis_CustomFields defines model for PatchedWritableVirtualChassis.CustomFields. -type PatchedWritableVirtualChassis_CustomFields struct { +// PatchedWritableVMInterfaceRequest_Relationships_Source_Objects_Item defines model for PatchedWritableVMInterfaceRequest.relationships.source.objects.Item. +type PatchedWritableVMInterfaceRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Mixin to add `status` choice field to model serializers. -type PatchedWritableVirtualMachineWithConfigContext struct { - Cluster *openapi_types.UUID `json:"cluster,omitempty"` - Comments *string `json:"comments,omitempty"` - ConfigContext *PatchedWritableVirtualMachineWithConfigContext_ConfigContext `json:"config_context,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PatchedWritableVirtualMachineWithConfigContext_CustomFields `json:"custom_fields,omitempty"` - Disk *int `json:"disk"` +// PatchedWritableVRFRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableVRFRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LocalContextData *PatchedWritableVirtualMachineWithConfigContext_LocalContextData `json:"local_context_data"` + // EnforceUnique Prevent duplicate prefixes/IP addresses within this VRF + EnforceUnique *bool `json:"enforce_unique,omitempty"` + ExportTargets *[]openapi_types.UUID `json:"export_targets,omitempty"` + ImportTargets *[]openapi_types.UUID `json:"import_targets,omitempty"` + Name *string `json:"name,omitempty"` - // Optional schema to validate the structure of the data + // Rd Unique route distinguisher (as defined in RFC 4364) + Rd *string `json:"rd"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableVRFRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableVRFRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableVRFRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` +} + +// PatchedWritableVRFRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableVRFRequest.relationships.destination.objects.Item. +type PatchedWritableVRFRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableVRFRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableVRFRequest.relationships.peer.objects.Item. +type PatchedWritableVRFRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableVRFRequest_Relationships_Source_Objects_Item defines model for PatchedWritableVRFRequest.relationships.source.objects.Item. +type PatchedWritableVRFRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableValidatedSoftwareLCMRequest REST API serializer for ValidatedSoftwareLCM records. +type PatchedWritableValidatedSoftwareLCMRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DeviceRoles *[]openapi_types.UUID `json:"device_roles,omitempty"` + DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` + Devices *[]openapi_types.UUID `json:"devices,omitempty"` + End *openapi_types.Date `json:"end"` + InventoryItems *[]openapi_types.UUID `json:"inventory_items,omitempty"` + ObjectTags *[]openapi_types.UUID `json:"object_tags,omitempty"` + Preferred *bool `json:"preferred,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Software *openapi_types.UUID `json:"software,omitempty"` + Start *openapi_types.Date `json:"start,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableValidatedSoftwareLCMRequest.relationships.destination.objects.Item. +type PatchedWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableValidatedSoftwareLCMRequest.relationships.peer.objects.Item. +type PatchedWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item defines model for PatchedWritableValidatedSoftwareLCMRequest.relationships.source.objects.Item. +type PatchedWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableVirtualChassisRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableVirtualChassisRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Domain *string `json:"domain,omitempty"` + Master *openapi_types.UUID `json:"master"` + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableVirtualChassisRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableVirtualChassisRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableVirtualChassisRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedWritableVirtualChassisRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableVirtualChassisRequest.relationships.destination.objects.Item. +type PatchedWritableVirtualChassisRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableVirtualChassisRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableVirtualChassisRequest.relationships.peer.objects.Item. +type PatchedWritableVirtualChassisRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableVirtualChassisRequest_Relationships_Source_Objects_Item defines model for PatchedWritableVirtualChassisRequest.relationships.source.objects.Item. +type PatchedWritableVirtualChassisRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedWritableVirtualMachineWithConfigContextRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type PatchedWritableVirtualMachineWithConfigContextRequest struct { + Cluster *openapi_types.UUID `json:"cluster,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Disk *int `json:"disk"` + LocalContextData *map[string]interface{} `json:"local_context_data"` + + // LocalContextSchema Optional schema to validate the structure of the data LocalContextSchema *openapi_types.UUID `json:"local_context_schema"` Memory *int `json:"memory"` Name *string `json:"name,omitempty"` Platform *openapi_types.UUID `json:"platform"` - PrimaryIp *struct { - // Embedded struct due to allOf(#/components/schemas/NestedIPAddress) - NestedIPAddress `yaml:",inline"` - } `json:"primary_ip,omitempty"` - PrimaryIp4 *openapi_types.UUID `json:"primary_ip4"` - PrimaryIp6 *openapi_types.UUID `json:"primary_ip6"` - Role *openapi_types.UUID `json:"role"` - Site *struct { - // Embedded struct due to allOf(#/components/schemas/NestedSite) - NestedSite `yaml:",inline"` - } `json:"site,omitempty"` - Status *WritableVirtualMachineWithConfigContextStatusEnum `json:"status,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Url *string `json:"url,omitempty"` - Vcpus *int `json:"vcpus"` + PrimaryIp4 *openapi_types.UUID `json:"primary_ip4"` + PrimaryIp6 *openapi_types.UUID `json:"primary_ip6"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Role *openapi_types.UUID `json:"role"` + Status *VirtualMachineStatusChoices `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + Vcpus *int `json:"vcpus"` } -// PatchedWritableVirtualMachineWithConfigContext_ConfigContext defines model for PatchedWritableVirtualMachineWithConfigContext.ConfigContext. -type PatchedWritableVirtualMachineWithConfigContext_ConfigContext struct { +// PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item defines model for PatchedWritableVirtualMachineWithConfigContextRequest.relationships.destination.objects.Item. +type PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableVirtualMachineWithConfigContext_CustomFields defines model for PatchedWritableVirtualMachineWithConfigContext.CustomFields. -type PatchedWritableVirtualMachineWithConfigContext_CustomFields struct { +// PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item defines model for PatchedWritableVirtualMachineWithConfigContextRequest.relationships.peer.objects.Item. +type PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// PatchedWritableVirtualMachineWithConfigContext_LocalContextData defines model for PatchedWritableVirtualMachineWithConfigContext.LocalContextData. -type PatchedWritableVirtualMachineWithConfigContext_LocalContextData struct { +// PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item defines model for PatchedWritableVirtualMachineWithConfigContextRequest.relationships.source.objects.Item. +type PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } +// PatchedZoneRequest Zone Serializer. +type PatchedZoneRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Interfaces *[]NestedInterfaceRequest `json:"interfaces,omitempty"` + + // Name Name of the zone (e.g. trust) + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedZoneRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedZoneRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PatchedZoneRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// PatchedZoneRequest_Relationships_Destination_Objects_Item defines model for PatchedZoneRequest.relationships.destination.objects.Item. +type PatchedZoneRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedZoneRequest_Relationships_Peer_Objects_Item defines model for PatchedZoneRequest.relationships.peer.objects.Item. +type PatchedZoneRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PatchedZoneRequest_Relationships_Source_Objects_Item defines model for PatchedZoneRequest.relationships.source.objects.Item. +type PatchedZoneRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PeerEndpoint REST API serializer for PeerEndpoint records. +type PeerEndpoint struct { + AutonomousSystem *NestedAutonomousSystem `json:"autonomous_system"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + ExportPolicy *string `json:"export_policy,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + ImportPolicy *string `json:"import_policy,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Peer *NestedPeerEndpoint `json:"peer"` + PeerGroup *NestedPeerGroup `json:"peer_group"` + Peering *NestedPeering `json:"peering"` + RoutingInstance *NestedRoutingInstance `json:"routing_instance"` + Secret *NestedSecret `json:"secret"` + SourceInterface *NestedInterface `json:"source_interface"` + SourceIp *NestedIPAddress `json:"source_ip"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// PeerGroup REST API serializer for PeerGroup records. +type PeerGroup struct { + AutonomousSystem *NestedAutonomousSystem `json:"autonomous_system"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + ExportPolicy *string `json:"export_policy,omitempty"` + ExtraAttributes *string `json:"extra_attributes,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + ImportPolicy *string `json:"import_policy,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Role *openapi_types.UUID `json:"role"` + + // RoutingInstance Nested/brief serializer for PeerEndpoint. + RoutingInstance NestedRoutingInstance `json:"routing_instance"` + Secret *NestedSecret `json:"secret"` + SourceInterface *NestedInterface `json:"source_interface"` + SourceIp *NestedIPAddress `json:"source_ip"` + Template *NestedPeerGroupTemplate `json:"template"` + Url *string `json:"url,omitempty"` +} + +// PeerGroupTemplate REST API serializer for PeerGroup records. +type PeerGroupTemplate struct { + AutonomousSystem *NestedAutonomousSystem `json:"autonomous_system"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + ExportPolicy *string `json:"export_policy,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + ImportPolicy *string `json:"import_policy,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Role *openapi_types.UUID `json:"role"` + Secret *NestedSecret `json:"secret"` + Url *string `json:"url,omitempty"` +} + +// Peering REST API serializer for Peering records. +type Peering struct { + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Endpoints *[]NestedPeerEndpoint `json:"endpoints,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Status struct { + Label *PeeringStatusLabel `json:"label,omitempty"` + Value *PeeringStatusValue `json:"value,omitempty"` + } `json:"status"` + Url *string `json:"url,omitempty"` +} + +// PeeringStatusLabel defines model for Peering.Status.Label. +type PeeringStatusLabel string + +// PeeringStatusValue defines model for Peering.Status.Value. +type PeeringStatusValue string + +// PeeringRequest REST API serializer for Peering records. +type PeeringRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Status CircuitStatusChoices `json:"status"` +} + +// PeeringRole REST API serializer for PeeringRole records. +type PeeringRole struct { + Color *string `json:"color,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + Url *string `json:"url,omitempty"` +} + +// PeeringRoleRequest REST API serializer for PeeringRole records. +type PeeringRoleRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` +} + // PhaseEnum defines model for PhaseEnum. type PhaseEnum string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// Platform Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type Platform struct { - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *Platform_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceCount *int `json:"device_count,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceCount *int `json:"device_count,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Manufacturer *struct { - // Embedded struct due to allOf(#/components/schemas/NestedManufacturer) - NestedManufacturer `yaml:",inline"` - } `json:"manufacturer"` - Name string `json:"name"` + LastUpdated *time.Time `json:"last_updated"` + Manufacturer *NestedManufacturer `json:"manufacturer"` + Name string `json:"name"` - // Additional arguments to pass when initiating the NAPALM driver (JSON format) - NapalmArgs *Platform_NapalmArgs `json:"napalm_args"` + // NapalmArgs Additional arguments to pass when initiating the NAPALM driver (JSON format) + NapalmArgs *map[string]interface{} `json:"napalm_args"` - // The name of the NAPALM driver to use when interacting with devices + // NapalmDriver The name of the NAPALM driver to use when interacting with devices NapalmDriver *string `json:"napalm_driver,omitempty"` + NotesUrl *string `json:"notes_url,omitempty"` Slug *string `json:"slug,omitempty"` Url *string `json:"url,omitempty"` VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` } -// Platform_CustomFields defines model for Platform.CustomFields. -type Platform_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Additional arguments to pass when initiating the NAPALM driver (JSON format) -type Platform_NapalmArgs struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // PlatformEnum defines model for PlatformEnum. type PlatformEnum string +// Policy Policy Serializer. +type Policy struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AssignedDevices *[]PolicyDeviceM2MNested `json:"assigned_devices,omitempty"` + AssignedDynamicGroups *[]PolicyDynamicGroupM2MNested `json:"assigned_dynamic_groups,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + PolicyRules *[]openapi_types.UUID `json:"policy_rules,omitempty"` + Status *struct { + Label *PolicyStatusLabel `json:"label,omitempty"` + Value *PolicyStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + Url *string `json:"url,omitempty"` +} + +// PolicyStatusLabel defines model for Policy.Status.Label. +type PolicyStatusLabel string + +// PolicyStatusValue defines model for Policy.Status.Value. +type PolicyStatusValue string + +// PolicyDeviceM2MNested PolicyDeviceM2M NestedSerializer. +type PolicyDeviceM2MNested struct { + Device openapi_types.UUID `json:"device"` + Weight *int `json:"weight,omitempty"` +} + +// PolicyDeviceM2MNestedRequest PolicyDeviceM2M NestedSerializer. +type PolicyDeviceM2MNestedRequest struct { + Device *openapi_types.UUID `json:"device,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// PolicyDynamicGroupM2MNested PolicyDynamicGroupM2M NestedSerializer. +type PolicyDynamicGroupM2MNested struct { + DynamicGroup openapi_types.UUID `json:"dynamic_group"` + Weight *int `json:"weight,omitempty"` +} + +// PolicyDynamicGroupM2MNestedRequest PolicyDynamicGroupM2M NestedSerializer. +type PolicyDynamicGroupM2MNestedRequest struct { + DynamicGroup *openapi_types.UUID `json:"dynamic_group,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// PolicyRequest Policy Serializer. +type PolicyRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AssignedDevices *[]PolicyDeviceM2MNestedRequest `json:"assigned_devices,omitempty"` + AssignedDynamicGroups *[]PolicyDynamicGroupM2MNestedRequest `json:"assigned_dynamic_groups,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PolicyRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PolicyRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]PolicyRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` +} + +// PolicyRequest_Relationships_Destination_Objects_Item defines model for PolicyRequest.relationships.destination.objects.Item. +type PolicyRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PolicyRequest_Relationships_Peer_Objects_Item defines model for PolicyRequest.relationships.peer.objects.Item. +type PolicyRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PolicyRequest_Relationships_Source_Objects_Item defines model for PolicyRequest.relationships.source.objects.Item. +type PolicyRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// PolicyRule PolicyRule Serializer. +type PolicyRule struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Action ActionEnum `json:"action"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description"` + DestinationAddressGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AddressObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDN `json:"fqdn,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddress `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRange `json:"ip_range,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefix `json:"prefix,omitempty"` + Status *struct { + Label *PolicyRuleDestinationAddressGroupsAddressObjectsStatusLabel `json:"label,omitempty"` + Value *PolicyRuleDestinationAddressGroupsAddressObjectsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"address_objects,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name descriptor for a group address objects. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Status *struct { + Label *PolicyRuleDestinationAddressGroupsStatusLabel `json:"label,omitempty"` + Value *PolicyRuleDestinationAddressGroupsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"destination_address_groups,omitempty"` + DestinationAddresses *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDN `json:"fqdn,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddress `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRange `json:"ip_range,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefix `json:"prefix,omitempty"` + Status *struct { + Label *PolicyRuleDestinationAddressesStatusLabel `json:"label,omitempty"` + Value *PolicyRuleDestinationAddressesStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"destination_addresses,omitempty"` + DestinationServiceGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + ServiceObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol `json:"ip_protocol"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Status *struct { + Label *PolicyRuleDestinationServiceGroupsServiceObjectsStatusLabel `json:"label,omitempty"` + Value *PolicyRuleDestinationServiceGroupsServiceObjectsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"service_objects,omitempty"` + Status *struct { + Label *PolicyRuleDestinationServiceGroupsStatusLabel `json:"label,omitempty"` + Value *PolicyRuleDestinationServiceGroupsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"destination_service_groups,omitempty"` + DestinationServices *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol PolicyRuleDestinationServicesIpProtocol `json:"ip_protocol"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Status *struct { + Label *PolicyRuleDestinationServicesStatusLabel `json:"label,omitempty"` + Value *PolicyRuleDestinationServicesStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"destination_services,omitempty"` + + // DestinationZone Zone Serializer. + DestinationZone *Zone `json:"destination_zone,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Index *int `json:"index"` + LastUpdated *time.Time `json:"last_updated"` + Log *bool `json:"log,omitempty"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + RequestId *string `json:"request_id"` + SourceAddressGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + AddressObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDN `json:"fqdn,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddress `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRange `json:"ip_range,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefix `json:"prefix,omitempty"` + Status *struct { + Label *PolicyRuleSourceAddressGroupsAddressObjectsStatusLabel `json:"label,omitempty"` + Value *PolicyRuleSourceAddressGroupsAddressObjectsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"address_objects,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name descriptor for a group address objects. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Status *struct { + Label *PolicyRuleSourceAddressGroupsStatusLabel `json:"label,omitempty"` + Value *PolicyRuleSourceAddressGroupsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"source_address_groups,omitempty"` + SourceAddresses *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + + // Fqdn Nested serializer for FQDN. + Fqdn *NestedFQDN `json:"fqdn,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpAddress Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + IpAddress *NestedIPAddress `json:"ip_address,omitempty"` + + // IpRange Nested serializer for IPRange. + IpRange *NestedIPRange `json:"ip_range,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Prefix Returns a nested representation of an object on read, but accepts either the nested representation or the + // primary key value on write operations. + Prefix *NestedPrefix `json:"prefix,omitempty"` + Status *struct { + Label *PolicyRuleSourceAddressesStatusLabel `json:"label,omitempty"` + Value *PolicyRuleSourceAddressesStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"source_addresses,omitempty"` + SourceServiceGroups *[]openapi_types.UUID `json:"source_service_groups,omitempty"` + SourceServices *[]openapi_types.UUID `json:"source_services,omitempty"` + SourceUserGroups *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Status *struct { + Label *PolicyRuleSourceUserGroupsStatusLabel `json:"label,omitempty"` + Value *PolicyRuleSourceUserGroupsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + UserObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Signifies the name of the user, commonly first & last name (e.g. John Smith) + Name *string `json:"name,omitempty"` + NotesUrl *string `json:"notes_url,omitempty"` + Status *struct { + Label *PolicyRuleSourceUserGroupsUserObjectsStatusLabel `json:"label,omitempty"` + Value *PolicyRuleSourceUserGroupsUserObjectsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + + // Username Signifies the username in identify provider (e.g. john.smith) + Username string `json:"username"` + } `json:"user_objects,omitempty"` + } `json:"source_user_groups,omitempty"` + SourceUsers *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Signifies the name of the user, commonly first & last name (e.g. John Smith) + Name *string `json:"name,omitempty"` + NotesUrl *string `json:"notes_url,omitempty"` + Status *struct { + Label *PolicyRuleSourceUsersStatusLabel `json:"label,omitempty"` + Value *PolicyRuleSourceUsersStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + + // Username Signifies the username in identify provider (e.g. john.smith) + Username string `json:"username"` + } `json:"source_users,omitempty"` + + // SourceZone Zone Serializer. + SourceZone *Zone `json:"source_zone,omitempty"` + Status *struct { + Label *PolicyRuleStatusLabel `json:"label,omitempty"` + Value *PolicyRuleStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// PolicyRuleDestinationAddressGroupsAddressObjectsStatusLabel defines model for PolicyRule.DestinationAddressGroups.AddressObjects.Status.Label. +type PolicyRuleDestinationAddressGroupsAddressObjectsStatusLabel string + +// PolicyRuleDestinationAddressGroupsAddressObjectsStatusValue defines model for PolicyRule.DestinationAddressGroups.AddressObjects.Status.Value. +type PolicyRuleDestinationAddressGroupsAddressObjectsStatusValue string + +// PolicyRuleDestinationAddressGroupsStatusLabel defines model for PolicyRule.DestinationAddressGroups.Status.Label. +type PolicyRuleDestinationAddressGroupsStatusLabel string + +// PolicyRuleDestinationAddressGroupsStatusValue defines model for PolicyRule.DestinationAddressGroups.Status.Value. +type PolicyRuleDestinationAddressGroupsStatusValue string + +// PolicyRuleDestinationAddressesStatusLabel defines model for PolicyRule.DestinationAddresses.Status.Label. +type PolicyRuleDestinationAddressesStatusLabel string + +// PolicyRuleDestinationAddressesStatusValue defines model for PolicyRule.DestinationAddresses.Status.Value. +type PolicyRuleDestinationAddressesStatusValue string + +// PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type PolicyRuleDestinationServiceGroupsServiceObjectsIpProtocol string + +// PolicyRuleDestinationServiceGroupsServiceObjectsStatusLabel defines model for PolicyRule.DestinationServiceGroups.ServiceObjects.Status.Label. +type PolicyRuleDestinationServiceGroupsServiceObjectsStatusLabel string + +// PolicyRuleDestinationServiceGroupsServiceObjectsStatusValue defines model for PolicyRule.DestinationServiceGroups.ServiceObjects.Status.Value. +type PolicyRuleDestinationServiceGroupsServiceObjectsStatusValue string + +// PolicyRuleDestinationServiceGroupsStatusLabel defines model for PolicyRule.DestinationServiceGroups.Status.Label. +type PolicyRuleDestinationServiceGroupsStatusLabel string + +// PolicyRuleDestinationServiceGroupsStatusValue defines model for PolicyRule.DestinationServiceGroups.Status.Value. +type PolicyRuleDestinationServiceGroupsStatusValue string + +// PolicyRuleDestinationServicesIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type PolicyRuleDestinationServicesIpProtocol string + +// PolicyRuleDestinationServicesStatusLabel defines model for PolicyRule.DestinationServices.Status.Label. +type PolicyRuleDestinationServicesStatusLabel string + +// PolicyRuleDestinationServicesStatusValue defines model for PolicyRule.DestinationServices.Status.Value. +type PolicyRuleDestinationServicesStatusValue string + +// PolicyRuleSourceAddressGroupsAddressObjectsStatusLabel defines model for PolicyRule.SourceAddressGroups.AddressObjects.Status.Label. +type PolicyRuleSourceAddressGroupsAddressObjectsStatusLabel string + +// PolicyRuleSourceAddressGroupsAddressObjectsStatusValue defines model for PolicyRule.SourceAddressGroups.AddressObjects.Status.Value. +type PolicyRuleSourceAddressGroupsAddressObjectsStatusValue string + +// PolicyRuleSourceAddressGroupsStatusLabel defines model for PolicyRule.SourceAddressGroups.Status.Label. +type PolicyRuleSourceAddressGroupsStatusLabel string + +// PolicyRuleSourceAddressGroupsStatusValue defines model for PolicyRule.SourceAddressGroups.Status.Value. +type PolicyRuleSourceAddressGroupsStatusValue string + +// PolicyRuleSourceAddressesStatusLabel defines model for PolicyRule.SourceAddresses.Status.Label. +type PolicyRuleSourceAddressesStatusLabel string + +// PolicyRuleSourceAddressesStatusValue defines model for PolicyRule.SourceAddresses.Status.Value. +type PolicyRuleSourceAddressesStatusValue string + +// PolicyRuleSourceUserGroupsStatusLabel defines model for PolicyRule.SourceUserGroups.Status.Label. +type PolicyRuleSourceUserGroupsStatusLabel string + +// PolicyRuleSourceUserGroupsStatusValue defines model for PolicyRule.SourceUserGroups.Status.Value. +type PolicyRuleSourceUserGroupsStatusValue string + +// PolicyRuleSourceUserGroupsUserObjectsStatusLabel defines model for PolicyRule.SourceUserGroups.UserObjects.Status.Label. +type PolicyRuleSourceUserGroupsUserObjectsStatusLabel string + +// PolicyRuleSourceUserGroupsUserObjectsStatusValue defines model for PolicyRule.SourceUserGroups.UserObjects.Status.Value. +type PolicyRuleSourceUserGroupsUserObjectsStatusValue string + +// PolicyRuleSourceUsersStatusLabel defines model for PolicyRule.SourceUsers.Status.Label. +type PolicyRuleSourceUsersStatusLabel string + +// PolicyRuleSourceUsersStatusValue defines model for PolicyRule.SourceUsers.Status.Value. +type PolicyRuleSourceUsersStatusValue string + +// PolicyRuleStatusLabel defines model for PolicyRule.Status.Label. +type PolicyRuleStatusLabel string + +// PolicyRuleStatusValue defines model for PolicyRule.Status.Value. +type PolicyRuleStatusValue string + // PortTypeChoices defines model for PortTypeChoices. type PortTypeChoices string -// Mixin to add `status` choice field to model serializers. +// PowerFeed Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type PowerFeed struct { - Amperage *int `json:"amperage,omitempty"` - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *PowerFeed_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - Comments *string `json:"comments,omitempty"` - ConnectedEndpoint *PowerFeed_ConnectedEndpoint `json:"connected_endpoint"` - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` - ConnectedEndpointType *string `json:"connected_endpoint_type"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *PowerFeed_CustomFields `json:"custom_fields,omitempty"` + Amperage *int `json:"amperage,omitempty"` + Cable *NestedCable `json:"cable,omitempty"` + CablePeer *map[string]interface{} `json:"cable_peer"` + CablePeerType *string `json:"cable_peer_type"` + Comments *string `json:"comments,omitempty"` + ConnectedEndpoint *map[string]interface{} `json:"connected_endpoint"` + ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` + ConnectedEndpointType *string `json:"connected_endpoint_type"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` - // Maximum permissible draw (percentage) - MaxUtilization *int `json:"max_utilization,omitempty"` - Name string `json:"name"` + // MaxUtilization Maximum permissible draw (percentage) + MaxUtilization *int `json:"max_utilization,omitempty"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` Phase *struct { Label *PowerFeedPhaseLabel `json:"label,omitempty"` Value *PowerFeedPhaseValue `json:"value,omitempty"` } `json:"phase,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // PowerPanel Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. PowerPanel NestedPowerPanel `json:"power_panel"` - Rack *struct { - // Embedded struct due to allOf(#/components/schemas/NestedRack) - NestedRack `yaml:",inline"` - } `json:"rack"` - Status struct { + Rack *NestedRack `json:"rack"` + Status struct { Label *PowerFeedStatusLabel `json:"label,omitempty"` Value *PowerFeedStatusValue `json:"value,omitempty"` } `json:"status"` @@ -12146,21 +41450,6 @@ type PowerFeed struct { Voltage *int `json:"voltage,omitempty"` } -// PowerFeed_CablePeer defines model for PowerFeed.CablePeer. -type PowerFeed_CablePeer struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// PowerFeed_ConnectedEndpoint defines model for PowerFeed.ConnectedEndpoint. -type PowerFeed_ConnectedEndpoint struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// PowerFeed_CustomFields defines model for PowerFeed.CustomFields. -type PowerFeed_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // PowerFeedPhaseLabel defines model for PowerFeed.Phase.Label. type PowerFeedPhaseLabel string @@ -12185,28 +41474,31 @@ type PowerFeedTypeLabel string // PowerFeedTypeValue defines model for PowerFeed.Type.Value. type PowerFeedTypeValue string +// PowerFeedStatusChoices defines model for PowerFeedStatusChoices. +type PowerFeedStatusChoices string + // PowerFeedTypeChoices defines model for PowerFeedTypeChoices. type PowerFeedTypeChoices string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// PowerOutlet Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type PowerOutlet struct { - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *PowerOutlet_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - ConnectedEndpoint *PowerOutlet_ConnectedEndpoint `json:"connected_endpoint"` - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` - ConnectedEndpointType *string `json:"connected_endpoint_type"` - CustomFields *PowerOutlet_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + Cable *NestedCable `json:"cable,omitempty"` + CablePeer *map[string]interface{} `json:"cable_peer"` + CablePeerType *string `json:"cable_peer_type"` + ConnectedEndpoint *map[string]interface{} `json:"connected_endpoint"` + ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` + ConnectedEndpointType *string `json:"connected_endpoint_type"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Device NestedDevice `json:"device"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` FeedLeg *struct { Label *PowerOutletFeedLegLabel `json:"label,omitempty"` @@ -12214,11 +41506,13 @@ type PowerOutlet struct { } `json:"feed_leg,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // PowerPort Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. PowerPort *NestedPowerPort `json:"power_port,omitempty"` Tags *[]TagSerializerField `json:"tags,omitempty"` @@ -12229,21 +41523,6 @@ type PowerOutlet struct { Url *string `json:"url,omitempty"` } -// PowerOutlet_CablePeer defines model for PowerOutlet.CablePeer. -type PowerOutlet_CablePeer struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// PowerOutlet_ConnectedEndpoint defines model for PowerOutlet.ConnectedEndpoint. -type PowerOutlet_ConnectedEndpoint struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// PowerOutlet_CustomFields defines model for PowerOutlet.CustomFields. -type PowerOutlet_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // PowerOutletFeedLegLabel defines model for PowerOutlet.FeedLeg.Label. type PowerOutletFeedLegLabel string @@ -12256,16 +41535,19 @@ type PowerOutletTypeLabel string // PowerOutletTypeValue defines model for PowerOutlet.Type.Value. type PowerOutletTypeValue string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// PowerOutletTemplate Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type PowerOutletTemplate struct { - CustomFields *PowerOutletTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. DeviceType NestedDeviceType `json:"device_type"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` FeedLeg *struct { Label *PowerOutletTemplateFeedLegLabel `json:"label,omitempty"` @@ -12273,11 +41555,12 @@ type PowerOutletTemplate struct { } `json:"feed_leg,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // PowerPort Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. PowerPort *NestedPowerPortTemplate `json:"power_port,omitempty"` Type *struct { @@ -12287,11 +41570,6 @@ type PowerOutletTemplate struct { Url *string `json:"url,omitempty"` } -// PowerOutletTemplate_CustomFields defines model for PowerOutletTemplate.CustomFields. -type PowerOutletTemplate_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // PowerOutletTemplateFeedLegLabel defines model for PowerOutletTemplate.FeedLeg.Label. type PowerOutletTemplateFeedLegLabel string @@ -12307,63 +41585,62 @@ type PowerOutletTemplateTypeValue string // PowerOutletTypeChoices defines model for PowerOutletTypeChoices. type PowerOutletTypeChoices string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// PowerPanel Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type PowerPanel struct { - CustomFields *PowerPanel_CustomFields `json:"custom_fields,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Location *NestedLocation `json:"location"` Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` PowerfeedCount *int `json:"powerfeed_count,omitempty"` - RackGroup *struct { - // Embedded struct due to allOf(#/components/schemas/NestedRackGroup) - NestedRackGroup `yaml:",inline"` - } `json:"rack_group"` + RackGroup *NestedRackGroup `json:"rack_group"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Site Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Site NestedSite `json:"site"` Tags *[]TagSerializerField `json:"tags,omitempty"` Url *string `json:"url,omitempty"` } -// PowerPanel_CustomFields defines model for PowerPanel.CustomFields. -type PowerPanel_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// PowerPort Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type PowerPort struct { - // Allocated power draw (watts) - AllocatedDraw *int `json:"allocated_draw"` - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *PowerPort_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - ComputedFields *PowerPort_ComputedFields `json:"computed_fields,omitempty"` - ConnectedEndpoint *PowerPort_ConnectedEndpoint `json:"connected_endpoint"` - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` - ConnectedEndpointType *string `json:"connected_endpoint_type"` - CustomFields *PowerPort_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + // AllocatedDraw Allocated power draw (watts) + AllocatedDraw *int `json:"allocated_draw"` + Cable *NestedCable `json:"cable,omitempty"` + CablePeer *map[string]interface{} `json:"cable_peer"` + CablePeerType *string `json:"cable_peer_type"` + ConnectedEndpoint *map[string]interface{} `json:"connected_endpoint"` + ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` + ConnectedEndpointType *string `json:"connected_endpoint_type"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Device NestedDevice `json:"device"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Physical label - Label *string `json:"label,omitempty"` + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` - // Maximum power draw (watts) + // MaximumDraw Maximum power draw (watts) MaximumDraw *int `json:"maximum_draw"` Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` Tags *[]TagSerializerField `json:"tags,omitempty"` Type *struct { Label *PowerPortTypeLabel `json:"label,omitempty"` @@ -12372,51 +41649,35 @@ type PowerPort struct { Url *string `json:"url,omitempty"` } -// PowerPort_CablePeer defines model for PowerPort.CablePeer. -type PowerPort_CablePeer struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// PowerPort_ComputedFields defines model for PowerPort.ComputedFields. -type PowerPort_ComputedFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// PowerPort_ConnectedEndpoint defines model for PowerPort.ConnectedEndpoint. -type PowerPort_ConnectedEndpoint struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// PowerPort_CustomFields defines model for PowerPort.CustomFields. -type PowerPort_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // PowerPortTypeLabel defines model for PowerPort.Type.Label. type PowerPortTypeLabel string // PowerPortTypeValue defines model for PowerPort.Type.Value. type PowerPortTypeValue string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// PowerPortTemplate Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type PowerPortTemplate struct { - // Allocated power draw (watts) - AllocatedDraw *int `json:"allocated_draw"` - CustomFields *PowerPortTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + // AllocatedDraw Allocated power draw (watts) + AllocatedDraw *int `json:"allocated_draw"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. DeviceType NestedDeviceType `json:"device_type"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Physical label - Label *string `json:"label,omitempty"` + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` - // Maximum power draw (watts) + // MaximumDraw Maximum power draw (watts) MaximumDraw *int `json:"maximum_draw"` Name string `json:"name"` Type *struct { @@ -12426,11 +41687,6 @@ type PowerPortTemplate struct { Url *string `json:"url,omitempty"` } -// PowerPortTemplate_CustomFields defines model for PowerPortTemplate.CustomFields. -type PowerPortTemplate_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // PowerPortTemplateTypeLabel defines model for PowerPortTemplate.Type.Label. type PowerPortTemplateTypeLabel string @@ -12440,13 +41696,15 @@ type PowerPortTemplateTypeValue string // PowerPortTypeChoices defines model for PowerPortTypeChoices. type PowerPortTypeChoices string -// Mixin to add `status` choice field to model serializers. +// Prefix Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type Prefix struct { - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *Prefix_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Family *struct { Label *PrefixFamilyLabel `json:"label,omitempty"` @@ -12454,41 +41712,23 @@ type Prefix struct { } `json:"family,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // All IP addresses within this prefix are considered usable - IsPool *bool `json:"is_pool,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Prefix string `json:"prefix"` - Role *struct { - // Embedded struct due to allOf(#/components/schemas/NestedRole) - NestedRole `yaml:",inline"` - } `json:"role"` - Site *struct { - // Embedded struct due to allOf(#/components/schemas/NestedSite) - NestedSite `yaml:",inline"` - } `json:"site"` - Status struct { + // IsPool All IP addresses within this prefix are considered usable + IsPool *bool `json:"is_pool,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Location *NestedLocation `json:"location"` + NotesUrl *string `json:"notes_url,omitempty"` + Prefix string `json:"prefix"` + Role *NestedRole `json:"role"` + Site *NestedSite `json:"site"` + Status struct { Label *PrefixStatusLabel `json:"label,omitempty"` Value *PrefixStatusValue `json:"value,omitempty"` } `json:"status"` Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *struct { - // Embedded struct due to allOf(#/components/schemas/NestedTenant) - NestedTenant `yaml:",inline"` - } `json:"tenant"` - Url *string `json:"url,omitempty"` - Vlan *struct { - // Embedded struct due to allOf(#/components/schemas/NestedVLAN) - NestedVLAN `yaml:",inline"` - } `json:"vlan"` - Vrf *struct { - // Embedded struct due to allOf(#/components/schemas/NestedVRF) - NestedVRF `yaml:",inline"` - } `json:"vrf"` -} - -// Prefix_CustomFields defines model for Prefix.CustomFields. -type Prefix_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` + Vlan *NestedVLAN `json:"vlan"` + Vrf *NestedVRF `json:"vrf"` } // PrefixFamilyLabel defines model for Prefix.Family.Label. @@ -12503,81 +41743,140 @@ type PrefixStatusLabel string // PrefixStatusValue defines model for Prefix.Status.Value. type PrefixStatusValue string -// PrefixLength defines model for PrefixLength. -type PrefixLength struct { +// PrefixLengthRequest defines model for PrefixLengthRequest. +type PrefixLengthRequest struct { PrefixLength int `json:"prefix_length"` } +// PrefixStatusChoices defines model for PrefixStatusChoices. +type PrefixStatusChoices string + // ProtocolEnum defines model for ProtocolEnum. type ProtocolEnum string // ProvidedContentsEnum defines model for ProvidedContentsEnum. type ProvidedContentsEnum string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// Provider Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type Provider struct { Account *string `json:"account,omitempty"` AdminContact *string `json:"admin_contact,omitempty"` - // 32-bit autonomous system number - Asn *int64 `json:"asn"` - CircuitCount *int `json:"circuit_count,omitempty"` - Comments *string `json:"comments,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *Provider_CustomFields `json:"custom_fields,omitempty"` + // Asn 32-bit autonomous system number + Asn *int64 `json:"asn"` + CircuitCount *int `json:"circuit_count,omitempty"` + Comments *string `json:"comments,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` NocContact *string `json:"noc_contact,omitempty"` + NotesUrl *string `json:"notes_url,omitempty"` PortalUrl *string `json:"portal_url,omitempty"` Slug *string `json:"slug,omitempty"` Tags *[]TagSerializerField `json:"tags,omitempty"` Url *string `json:"url,omitempty"` } -// Provider_CustomFields defines model for Provider.CustomFields. -type Provider_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// API serializer. +// ProviderLCM API serializer. type ProviderLCM struct { - Comments *string `json:"comments,omitempty"` - CustomFields *ProviderLCM_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + Comments *string `json:"comments,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Email *openapi_types.Email `json:"email,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` Phone *string `json:"phone,omitempty"` PhysicalAddress *string `json:"physical_address,omitempty"` Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` } -// ProviderLCM_CustomFields defines model for ProviderLCM.CustomFields. -type ProviderLCM_CustomFields struct { +// ProviderLCMRequest API serializer. +type ProviderLCMRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + Name string `json:"name"` + Phone *string `json:"phone,omitempty"` + PhysicalAddress *string `json:"physical_address,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ProviderLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ProviderLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ProviderLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// ProviderLCMRequest_Relationships_Destination_Objects_Item defines model for ProviderLCMRequest.relationships.destination.objects.Item. +type ProviderLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type ProviderNetwork struct { - Comments *string `json:"comments,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *ProviderNetwork_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` +// ProviderLCMRequest_Relationships_Peer_Objects_Item defines model for ProviderLCMRequest.relationships.peer.objects.Item. +type ProviderLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Human friendly display value +// ProviderLCMRequest_Relationships_Source_Objects_Item defines model for ProviderLCMRequest.relationships.source.objects.Item. +type ProviderLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// ProviderNetwork Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type ProviderNetwork struct { + Comments *string `json:"comments,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Provider Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Provider NestedProvider `json:"provider"` Slug *string `json:"slug,omitempty"` @@ -12585,77 +41884,189 @@ type ProviderNetwork struct { Url *string `json:"url,omitempty"` } -// ProviderNetwork_CustomFields defines model for ProviderNetwork.CustomFields. -type ProviderNetwork_CustomFields struct { +// ProviderRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type ProviderRequest struct { + Account *string `json:"account,omitempty"` + AdminContact *string `json:"admin_contact,omitempty"` + + // Asn 32-bit autonomous system number + Asn *int64 `json:"asn"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Name string `json:"name"` + NocContact *string `json:"noc_contact,omitempty"` + PortalUrl *string `json:"portal_url,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ProviderRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ProviderRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ProviderRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// ProviderRequest_Relationships_Destination_Objects_Item defines model for ProviderRequest.relationships.destination.objects.Item. +type ProviderRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type RIR struct { - AggregateCount *int `json:"aggregate_count,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *RIR_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` +// ProviderRequest_Relationships_Peer_Objects_Item defines model for ProviderRequest.relationships.peer.objects.Item. +type ProviderRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Human friendly display value +// ProviderRequest_Relationships_Source_Objects_Item defines model for ProviderRequest.relationships.source.objects.Item. +type ProviderRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// RIR Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type RIR struct { + AggregateCount *int `json:"aggregate_count,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // IP space managed by this RIR is considered private + // IsPrivate IP space managed by this RIR is considered private IsPrivate *bool `json:"is_private,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` Slug *string `json:"slug,omitempty"` Url *string `json:"url,omitempty"` } -// RIR_CustomFields defines model for RIR.CustomFields. -type RIR_CustomFields struct { +// RIRRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type RIRRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IsPrivate IP space managed by this RIR is considered private + IsPrivate *bool `json:"is_private,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]RIRRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]RIRRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]RIRRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// RIRRequest_Relationships_Destination_Objects_Item defines model for RIRRequest.relationships.destination.objects.Item. +type RIRRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Mixin to add `status` choice field to model serializers. -type Rack struct { - // A unique tag used to identify this rack - AssetTag *string `json:"asset_tag"` - Comments *string `json:"comments,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *Rack_CustomFields `json:"custom_fields,omitempty"` +// RIRRequest_Relationships_Peer_Objects_Item defines model for RIRRequest.relationships.peer.objects.Item. +type RIRRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Units are numbered top-to-bottom +// RIRRequest_Relationships_Source_Objects_Item defines model for RIRRequest.relationships.source.objects.Item. +type RIRRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// Rack Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type Rack struct { + // AssetTag A unique tag used to identify this rack + AssetTag *string `json:"asset_tag"` + Comments *string `json:"comments,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // DescUnits Units are numbered top-to-bottom DescUnits *bool `json:"desc_units,omitempty"` DeviceCount *int `json:"device_count,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` - // Locally-assigned identifier - FacilityId *string `json:"facility_id"` - Group *struct { - // Embedded struct due to allOf(#/components/schemas/NestedRackGroup) - NestedRackGroup `yaml:",inline"` - } `json:"group"` + // FacilityId Locally-assigned identifier + FacilityId *string `json:"facility_id"` + Group *NestedRackGroup `json:"group"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Location *NestedLocation `json:"location"` Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` - // Outer dimension of rack (depth) + // OuterDepth Outer dimension of rack (depth) OuterDepth *int `json:"outer_depth"` OuterUnit *struct { Label *RackOuterUnitLabel `json:"label,omitempty"` Value *RackOuterUnitValue `json:"value,omitempty"` } `json:"outer_unit,omitempty"` - // Outer dimension of rack (width) - OuterWidth *int `json:"outer_width"` - PowerfeedCount *int `json:"powerfeed_count,omitempty"` - Role *struct { - // Embedded struct due to allOf(#/components/schemas/NestedRackRole) - NestedRackRole `yaml:",inline"` - } `json:"role"` - Serial *string `json:"serial,omitempty"` + // OuterWidth Outer dimension of rack (width) + OuterWidth *int `json:"outer_width"` + PowerfeedCount *int `json:"powerfeed_count,omitempty"` + Role *NestedRackRole `json:"role"` + Serial *string `json:"serial,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Site Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Site NestedSite `json:"site"` Status struct { @@ -12663,16 +42074,13 @@ type Rack struct { Value *RackStatusValue `json:"value,omitempty"` } `json:"status"` Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *struct { - // Embedded struct due to allOf(#/components/schemas/NestedTenant) - NestedTenant `yaml:",inline"` - } `json:"tenant"` - Type *struct { + Tenant *NestedTenant `json:"tenant"` + Type *struct { Label *RackTypeLabel `json:"label,omitempty"` Value *RackTypeValue `json:"value,omitempty"` } `json:"type,omitempty"` - // Height in rack units + // UHeight Height in rack units UHeight *int `json:"u_height,omitempty"` Url *string `json:"url,omitempty"` Width *struct { @@ -12681,11 +42089,6 @@ type Rack struct { } `json:"width,omitempty"` } -// Rack_CustomFields defines model for Rack.CustomFields. -type Rack_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // RackOuterUnitLabel defines model for Rack.OuterUnit.Label. type RackOuterUnitLabel string @@ -12710,104 +42113,145 @@ type RackWidthLabel string // RackWidthValue defines model for Rack.Width.Value. type RackWidthValue int -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// RackGroup Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type RackGroup struct { Depth *int `json:"_depth,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *RackGroup_CustomFields `json:"custom_fields,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Location *NestedLocation `json:"location"` Name string `json:"name"` - Parent *struct { - // Embedded struct due to allOf(#/components/schemas/NestedRackGroup) - NestedRackGroup `yaml:",inline"` - } `json:"parent"` - RackCount *int `json:"rack_count,omitempty"` + NotesUrl *string `json:"notes_url,omitempty"` + Parent *NestedRackGroup `json:"parent"` + RackCount *int `json:"rack_count,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Site Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Site NestedSite `json:"site"` Slug *string `json:"slug,omitempty"` Url *string `json:"url,omitempty"` } -// RackGroup_CustomFields defines model for RackGroup.CustomFields. -type RackGroup_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// RackReservation Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type RackReservation struct { - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *RackReservation_CustomFields `json:"custom_fields,omitempty"` - Description string `json:"description"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description string `json:"description"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + NotesUrl *string `json:"notes_url,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Rack Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. - Rack NestedRack `json:"rack"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *struct { - // Embedded struct due to allOf(#/components/schemas/NestedTenant) - NestedTenant `yaml:",inline"` - } `json:"tenant"` - Units RackReservation_Units `json:"units"` - Url *string `json:"url,omitempty"` + Rack NestedRack `json:"rack"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Units map[string]interface{} `json:"units"` + Url *string `json:"url,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // User Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. User NestedUser `json:"user"` } -// RackReservation_CustomFields defines model for RackReservation.CustomFields. -type RackReservation_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// RackReservation_Units defines model for RackReservation.Units. -type RackReservation_Units struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// RackRole Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type RackRole struct { - Color *string `json:"color,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *RackRole_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + Color *string `json:"color,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` RackCount *int `json:"rack_count,omitempty"` Slug *string `json:"slug,omitempty"` Url *string `json:"url,omitempty"` } -// RackRole_CustomFields defines model for RackRole.CustomFields. -type RackRole_CustomFields struct { +// RackRoleRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type RackRoleRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]RackRoleRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]RackRoleRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]RackRoleRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// RackRoleRequest_Relationships_Destination_Objects_Item defines model for RackRoleRequest.relationships.destination.objects.Item. +type RackRoleRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } +// RackRoleRequest_Relationships_Peer_Objects_Item defines model for RackRoleRequest.relationships.peer.objects.Item. +type RackRoleRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// RackRoleRequest_Relationships_Source_Objects_Item defines model for RackRoleRequest.relationships.source.objects.Item. +type RackRoleRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// RackStatusChoices defines model for RackStatusChoices. +type RackStatusChoices string + // RackTypeChoices defines model for RackTypeChoices. type RackTypeChoices string -// A rack unit is an abstraction formed by the set (rack, position, face); it does not exist as a row in the database. +// RackUnit A rack unit is an abstraction formed by the set (rack, position, face); it does not exist as a row in the database. type RackUnit struct { - Device *struct { - // Embedded struct due to allOf(#/components/schemas/NestedDevice) - NestedDevice `yaml:",inline"` - } `json:"device,omitempty"` - Face *struct { + Device *NestedDevice `json:"device,omitempty"` + Face *struct { Label *RackUnitFaceLabel `json:"label,omitempty"` Value *RackUnitFaceValue `json:"value,omitempty"` } `json:"face,omitempty"` @@ -12822,208 +42266,265 @@ type RackUnitFaceLabel string // RackUnitFaceValue defines model for RackUnit.Face.Value. type RackUnitFaceValue string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// RearPort Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type RearPort struct { - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *RearPort_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - CustomFields *RearPort_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + Cable *NestedCable `json:"cable,omitempty"` + CablePeer *map[string]interface{} `json:"cable_peer"` + CablePeerType *string `json:"cable_peer_type"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Device Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Device NestedDevice `json:"device"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` - Positions *int `json:"positions,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Type struct { + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Positions *int `json:"positions,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Type struct { Label *RearPortTypeLabel `json:"label,omitempty"` Value *RearPortTypeValue `json:"value,omitempty"` } `json:"type"` Url *string `json:"url,omitempty"` } -// RearPort_CablePeer defines model for RearPort.CablePeer. -type RearPort_CablePeer struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// RearPort_CustomFields defines model for RearPort.CustomFields. -type RearPort_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // RearPortTypeLabel defines model for RearPort.Type.Label. type RearPortTypeLabel string // RearPortTypeValue defines model for RearPort.Type.Value. type RearPortTypeValue string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// RearPortTemplate Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type RearPortTemplate struct { - CustomFields *RearPortTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // DeviceType Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. DeviceType NestedDeviceType `json:"device_type"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` - Positions *int `json:"positions,omitempty"` - Type struct { + // Label Physical label + Label *string `json:"label,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + Positions *int `json:"positions,omitempty"` + Type struct { Label *RearPortTemplateTypeLabel `json:"label,omitempty"` Value *RearPortTemplateTypeValue `json:"value,omitempty"` } `json:"type"` Url *string `json:"url,omitempty"` } -// RearPortTemplate_CustomFields defines model for RearPortTemplate.CustomFields. -type RearPortTemplate_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // RearPortTemplateTypeLabel defines model for RearPortTemplate.Type.Label. type RearPortTemplateTypeLabel string // RearPortTemplateTypeValue defines model for RearPortTemplate.Type.Value. type RearPortTemplateTypeValue string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// Region Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type Region struct { - Depth *int `json:"_depth,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *Region_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + Depth *int `json:"_depth,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` - Parent *struct { - // Embedded struct due to allOf(#/components/schemas/NestedRegion) - NestedRegion `yaml:",inline"` - } `json:"parent"` - SiteCount *int `json:"site_count,omitempty"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` + NotesUrl *string `json:"notes_url,omitempty"` + Parent *NestedRegion `json:"parent"` + SiteCount *int `json:"site_count,omitempty"` + Slug *string `json:"slug,omitempty"` + Url *string `json:"url,omitempty"` } -// Region_CustomFields defines model for Region.CustomFields. -type Region_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Serializer for `RegularExpressionValidationRule` objects. +// RegularExpressionValidationRule Serializer for `RegularExpressionValidationRule` objects. type RegularExpressionValidationRule struct { ContentType string `json:"content_type"` - Created *openapi_types.Date `json:"created,omitempty"` + Created *openapi_types.Date `json:"created"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Enabled *bool `json:"enabled,omitempty"` - // Optional error message to display when validation fails. + // ErrorMessage Optional error message to display when validation fails. ErrorMessage *string `json:"error_message"` Field string `json:"field"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` RegularExpression string `json:"regular_expression"` Slug string `json:"slug"` Url *string `json:"url,omitempty"` } -// Relationship defines model for Relationship. +// RegularExpressionValidationRuleRequest Serializer for `RegularExpressionValidationRule` objects. +type RegularExpressionValidationRuleRequest struct { + ContentType string `json:"content_type"` + Enabled *bool `json:"enabled,omitempty"` + + // ErrorMessage Optional error message to display when validation fails. + ErrorMessage *string `json:"error_message"` + Field string `json:"field"` + Name string `json:"name"` + RegularExpression string `json:"regular_expression"` + Slug string `json:"slug"` +} + +// Relationship Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) type Relationship struct { - Description *string `json:"description,omitempty"` + Created *openapi_types.Date `json:"created"` + Description *string `json:"description,omitempty"` - // Queryset filter matching the applicable destination objects of the selected type - DestinationFilter *Relationship_DestinationFilter `json:"destination_filter"` + // DestinationFilter Filterset filter matching the applicable destination objects of the selected type + DestinationFilter *map[string]interface{} `json:"destination_filter"` - // Hide this relationship on the destination object. + // DestinationHidden Hide this relationship on the destination object. DestinationHidden *bool `json:"destination_hidden,omitempty"` - // Label for related source objects, as displayed on the destination object. - DestinationLabel *string `json:"destination_label,omitempty"` - DestinationType string `json:"destination_type"` - Id *openapi_types.UUID `json:"id,omitempty"` + // DestinationLabel Label for related source objects, as displayed on the destination object. + DestinationLabel *string `json:"destination_label,omitempty"` + DestinationType string `json:"destination_type"` - // Internal relationship name - Name string `json:"name"` + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name of the relationship as displayed to users + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // RequiredOn Objects on the specified side MUST implement this relationship. Not permitted for symmetric relationships. + RequiredOn *Relationship_RequiredOn `json:"required_on,omitempty"` + + // Slug Internal relationship name. Please use underscores rather than dashes in this slug. Slug *string `json:"slug,omitempty"` - // Queryset filter matching the applicable source objects of the selected type - SourceFilter *Relationship_SourceFilter `json:"source_filter"` + // SourceFilter Filterset filter matching the applicable source objects of the selected type + SourceFilter *map[string]interface{} `json:"source_filter"` - // Hide this relationship on the source object. + // SourceHidden Hide this relationship on the source object. SourceHidden *bool `json:"source_hidden,omitempty"` - // Label for related destination objects, as displayed on the source object. + // SourceLabel Label for related destination objects, as displayed on the source object. SourceLabel *string `json:"source_label,omitempty"` SourceType string `json:"source_type"` - // Cardinality of this relationship - Type *struct { - // Embedded struct due to allOf(#/components/schemas/RelationshipTypeChoices) - RelationshipTypeChoices `yaml:",inline"` - } `json:"type,omitempty"` - Url *string `json:"url,omitempty"` + // Type Cardinality of this relationship + Type *RelationshipTypeChoices `json:"type,omitempty"` + Url *string `json:"url,omitempty"` } -// Queryset filter matching the applicable destination objects of the selected type -type Relationship_DestinationFilter struct { - AdditionalProperties map[string]interface{} `json:"-"` +// Relationship_RequiredOn Objects on the specified side MUST implement this relationship. Not permitted for symmetric relationships. +type Relationship_RequiredOn struct { + union json.RawMessage } -// Queryset filter matching the applicable source objects of the selected type -type Relationship_SourceFilter struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// RelationshipAssociation defines model for RelationshipAssociation. +// RelationshipAssociation Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) type RelationshipAssociation struct { - DestinationId openapi_types.UUID `json:"destination_id"` - DestinationType string `json:"destination_type"` - Id *openapi_types.UUID `json:"id,omitempty"` + DestinationId openapi_types.UUID `json:"destination_id"` + DestinationType string `json:"destination_type"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // Relationship Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Relationship NestedRelationship `json:"relationship"` SourceId openapi_types.UUID `json:"source_id"` SourceType string `json:"source_type"` + Url *string `json:"url,omitempty"` +} + +// RelationshipRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type RelationshipRequest struct { + Description *string `json:"description,omitempty"` + + // DestinationFilter Filterset filter matching the applicable destination objects of the selected type + DestinationFilter *map[string]interface{} `json:"destination_filter"` + + // DestinationHidden Hide this relationship on the destination object. + DestinationHidden *bool `json:"destination_hidden,omitempty"` + + // DestinationLabel Label for related source objects, as displayed on the destination object. + DestinationLabel *string `json:"destination_label,omitempty"` + DestinationType string `json:"destination_type"` + + // Name Name of the relationship as displayed to users + Name string `json:"name"` + + // RequiredOn Objects on the specified side MUST implement this relationship. Not permitted for symmetric relationships. + RequiredOn *RelationshipRequest_RequiredOn `json:"required_on,omitempty"` + + // Slug Internal relationship name. Please use underscores rather than dashes in this slug. + Slug *string `json:"slug,omitempty"` + + // SourceFilter Filterset filter matching the applicable source objects of the selected type + SourceFilter *map[string]interface{} `json:"source_filter"` + + // SourceHidden Hide this relationship on the source object. + SourceHidden *bool `json:"source_hidden,omitempty"` + + // SourceLabel Label for related destination objects, as displayed on the source object. + SourceLabel *string `json:"source_label,omitempty"` + SourceType string `json:"source_type"` + + // Type Cardinality of this relationship + Type *RelationshipTypeChoices `json:"type,omitempty"` +} + +// RelationshipRequest_RequiredOn Objects on the specified side MUST implement this relationship. Not permitted for symmetric relationships. +type RelationshipRequest_RequiredOn struct { + union json.RawMessage } // RelationshipTypeChoices defines model for RelationshipTypeChoices. type RelationshipTypeChoices string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type Role struct { - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *Role_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` +// RequiredOnEnum defines model for RequiredOnEnum. +type RequiredOnEnum string - // Human friendly display value +// Role Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type Role struct { + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` PrefixCount *int `json:"prefix_count,omitempty"` Slug *string `json:"slug,omitempty"` Url *string `json:"url,omitempty"` @@ -13031,182 +42532,327 @@ type Role struct { Weight *int `json:"weight,omitempty"` } -// Role_CustomFields defines model for Role.CustomFields. -type Role_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - // RoleEnum defines model for RoleEnum. type RoleEnum string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type RouteTarget struct { - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *RouteTarget_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - - // Route target value (formatted in accordance with RFC 4360) - Name string `json:"name"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *struct { - // Embedded struct due to allOf(#/components/schemas/NestedTenant) - NestedTenant `yaml:",inline"` - } `json:"tenant"` - Url *string `json:"url,omitempty"` +// RoleRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type RoleRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]RoleRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]RoleRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]RoleRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + Weight *int `json:"weight,omitempty"` } -// RouteTarget_CustomFields defines model for RouteTarget.CustomFields. -type RouteTarget_CustomFields struct { +// RoleRequest_Relationships_Destination_Objects_Item defines model for RoleRequest.relationships.destination.objects.Item. +type RoleRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// ScheduledJob defines model for ScheduledJob. +// RoleRequest_Relationships_Peer_Objects_Item defines model for RoleRequest.relationships.peer.objects.Item. +type RoleRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// RoleRequest_Relationships_Source_Objects_Item defines model for RoleRequest.relationships.source.objects.Item. +type RoleRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// RouteTarget Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type RouteTarget struct { + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Route target value (formatted in accordance with RFC 4360) + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` +} + +// ScheduledJob This base serializer implements common fields and logic for all ModelSerializers. +// +// Namely, it: +// +// - defines the `display` field which exposes a human friendly value for the given object. +// - ensures that `id` field is always present on the serializer as well +// - ensures that `created` and `last_updated` fields are always present if applicable to this model and serializer. type ScheduledJob struct { ApprovalRequired *bool `json:"approval_required,omitempty"` - // Datetime that the schedule was approved - ApprovedAt *time.Time `json:"approved_at,omitempty"` - ApprovedByUser *struct { - // Embedded struct due to allOf(#/components/schemas/NestedUser) - NestedUser `yaml:",inline"` - } `json:"approved_by_user,omitempty"` + // ApprovedAt Datetime that the schedule was approved + ApprovedAt *time.Time `json:"approved_at"` + ApprovedByUser *NestedUser `json:"approved_by_user,omitempty"` - // Datetime that this scheduled job was last modified + // Crontab Cronjob syntax string for custom scheduling + Crontab *string `json:"crontab,omitempty"` + + // DateChanged Datetime that this scheduled job was last modified DateChanged *time.Time `json:"date_changed,omitempty"` - // Detailed description about the details of this scheduled job - Description *string `json:"description,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Interval IntervalEnum `json:"interval"` + // Description Detailed description about the details of this scheduled job + Description *string `json:"description,omitempty"` - // Name of the fully qualified Nautobot Job class path - JobClass string `json:"job_class"` - JobModel *struct { - // Embedded struct due to allOf(#/components/schemas/NestedJob) - NestedJob `yaml:",inline"` - } `json:"job_model,omitempty"` + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Interval JobExecutionTypeIntervalChoices `json:"interval"` - // Datetime that the schedule last triggered the task to run. Reset to None if enabled is set to False. - LastRunAt *time.Time `json:"last_run_at,omitempty"` + // JobClass Name of the fully qualified Nautobot Job class path + JobClass string `json:"job_class"` + JobModel *NestedJob `json:"job_model,omitempty"` - // Short Description For This Task + // LastRunAt Datetime that the schedule last triggered the task to run. Reset to None if enabled is set to False. + LastRunAt *time.Time `json:"last_run_at"` + + // Name Short Description For This Task Name string `json:"name"` - // Queue defined in CELERY_TASK_QUEUES. Leave None for default queuing. + // Queue Queue defined in CELERY_TASK_QUEUES. Leave None for default queuing. Queue *string `json:"queue"` - // The name of the Celery task that should be run. (Example: "proj.tasks.import_contacts") + // Task The name of the Celery task that should be run. (Example: "proj.tasks.import_contacts") Task string `json:"task"` - // Running count of how many times the schedule has triggered the task - TotalRunCount *int `json:"total_run_count,omitempty"` - Url *string `json:"url,omitempty"` - User *struct { - // Embedded struct due to allOf(#/components/schemas/NestedUser) - NestedUser `yaml:",inline"` - } `json:"user,omitempty"` + // TotalRunCount Running count of how many times the schedule has triggered the task + TotalRunCount *int `json:"total_run_count,omitempty"` + Url *string `json:"url,omitempty"` + User *NestedUser `json:"user,omitempty"` } -// Serializer for `Secret` objects. +// Secret Serializer for `Secret` objects. type Secret struct { - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *Secret_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name string `json:"name"` - Parameters *Secret_Parameters `json:"parameters,omitempty"` - Provider string `json:"provider"` - Slug *string `json:"slug,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Parameters *map[string]interface{} `json:"parameters,omitempty"` + Provider string `json:"provider"` + Slug *string `json:"slug,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` } -// Secret_CustomFields defines model for Secret.CustomFields. -type Secret_CustomFields struct { +// SecretRequest Serializer for `Secret` objects. +type SecretRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Parameters *map[string]interface{} `json:"parameters,omitempty"` + Provider string `json:"provider"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]SecretRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]SecretRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]SecretRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// SecretRequest_Relationships_Destination_Objects_Item defines model for SecretRequest.relationships.destination.objects.Item. +type SecretRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Secret_Parameters defines model for Secret.Parameters. -type Secret_Parameters struct { +// SecretRequest_Relationships_Peer_Objects_Item defines model for SecretRequest.relationships.peer.objects.Item. +type SecretRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// SecretRequest_Relationships_Source_Objects_Item defines model for SecretRequest.relationships.source.objects.Item. +type SecretRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } // SecretTypeEnum defines model for SecretTypeEnum. type SecretTypeEnum string -// Serializer for `SecretsGroup` objects. +// SecretsGroup Serializer for `SecretsGroup` objects. type SecretsGroup struct { - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *SecretsGroup_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` Secrets *[]NestedSecretsGroupAssociation `json:"secrets,omitempty"` Slug *string `json:"slug,omitempty"` Url *string `json:"url,omitempty"` } -// SecretsGroup_CustomFields defines model for SecretsGroup.CustomFields. -type SecretsGroup_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Serializer for `SecretsGroupAssociation` objects. +// SecretsGroupAssociation Serializer for `SecretsGroupAssociation` objects. type SecretsGroupAssociation struct { AccessType AccessTypeEnum `json:"access_type"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Group Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Group NestedSecretsGroup `json:"group"` Id *openapi_types.UUID `json:"id,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Secret Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Secret NestedSecret `json:"secret"` SecretType SecretTypeEnum `json:"secret_type"` Url *string `json:"url,omitempty"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type Service struct { - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *Service_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Device *struct { - // Embedded struct due to allOf(#/components/schemas/NestedDevice) - NestedDevice `yaml:",inline"` - } `json:"device"` +// SecretsGroupRequest Serializer for `SecretsGroup` objects. +type SecretsGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]SecretsGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]SecretsGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]SecretsGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} - // Human friendly display value +// SecretsGroupRequest_Relationships_Destination_Objects_Item defines model for SecretsGroupRequest.relationships.destination.objects.Item. +type SecretsGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// SecretsGroupRequest_Relationships_Peer_Objects_Item defines model for SecretsGroupRequest.relationships.peer.objects.Item. +type SecretsGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// SecretsGroupRequest_Relationships_Source_Objects_Item defines model for SecretsGroupRequest.relationships.source.objects.Item. +type SecretsGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// Service Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type Service struct { + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *NestedDevice `json:"device"` + + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Ipaddresses *[]struct { Address string `json:"address"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Family *int `json:"family,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Url *string `json:"url,omitempty"` } `json:"ipaddresses,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` Ports []int `json:"ports"` Protocol *struct { Label *ServiceProtocolLabel `json:"label,omitempty"` @@ -13214,15 +42860,7 @@ type Service struct { } `json:"protocol,omitempty"` Tags *[]TagSerializerField `json:"tags,omitempty"` Url *string `json:"url,omitempty"` - VirtualMachine *struct { - // Embedded struct due to allOf(#/components/schemas/NestedVirtualMachine) - NestedVirtualMachine `yaml:",inline"` - } `json:"virtual_machine"` -} - -// Service_CustomFields defines model for Service.CustomFields. -type Service_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` + VirtualMachine *NestedVirtualMachine `json:"virtual_machine"` } // ServiceProtocolLabel defines model for Service.Protocol.Label. @@ -13231,61 +42869,217 @@ type ServiceProtocolLabel string // ServiceProtocolValue defines model for Service.Protocol.Value. type ServiceProtocolValue string -// Mixin to add `status` choice field to model serializers. -type Site struct { - // 32-bit autonomous system number - Asn *int64 `json:"asn"` - CircuitCount *int `json:"circuit_count,omitempty"` - Comments *string `json:"comments,omitempty"` - ContactEmail *openapi_types.Email `json:"contact_email,omitempty"` - ContactName *string `json:"contact_name,omitempty"` - ContactPhone *string `json:"contact_phone,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *Site_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceCount *int `json:"device_count,omitempty"` +// ServiceObject ServiceObject Serializer. +type ServiceObject struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol IpProtocolEnum `json:"ip_protocol"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Status *struct { + Label *ServiceObjectStatusLabel `json:"label,omitempty"` + Value *ServiceObjectStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ServiceObjectStatusLabel defines model for ServiceObject.Status.Label. +type ServiceObjectStatusLabel string + +// ServiceObjectStatusValue defines model for ServiceObject.Status.Value. +type ServiceObjectStatusValue string + +// ServiceObjectGroup ServiceObjectGroup Serializer. +type ServiceObjectGroup struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + ServiceObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol ServiceObjectGroupServiceObjectsIpProtocol `json:"ip_protocol"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Status *struct { + Label *ServiceObjectGroupServiceObjectsStatusLabel `json:"label,omitempty"` + Value *ServiceObjectGroupServiceObjectsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"service_objects,omitempty"` + Status *struct { + Label *ServiceObjectGroupStatusLabel `json:"label,omitempty"` + Value *ServiceObjectGroupStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` +} + +// ServiceObjectGroupServiceObjectsIpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) +type ServiceObjectGroupServiceObjectsIpProtocol string + +// ServiceObjectGroupServiceObjectsStatusLabel defines model for ServiceObjectGroup.ServiceObjects.Status.Label. +type ServiceObjectGroupServiceObjectsStatusLabel string + +// ServiceObjectGroupServiceObjectsStatusValue defines model for ServiceObjectGroup.ServiceObjects.Status.Value. +type ServiceObjectGroupServiceObjectsStatusValue string + +// ServiceObjectGroupStatusLabel defines model for ServiceObjectGroup.Status.Label. +type ServiceObjectGroupStatusLabel string + +// ServiceObjectGroupStatusValue defines model for ServiceObjectGroup.Status.Value. +type ServiceObjectGroupStatusValue string + +// ServiceObjectRequest ServiceObject Serializer. +type ServiceObjectRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol IpProtocolEnum `json:"ip_protocol"` + + // Name Name of the service (e.g. HTTP) + Name string `json:"name"` + + // Port The port or port range to tie to a service (e.g. HTTP would be port 80) + Port *string `json:"port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ServiceObjectRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ServiceObjectRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ServiceObjectRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// ServiceObjectRequest_Relationships_Destination_Objects_Item defines model for ServiceObjectRequest.relationships.destination.objects.Item. +type ServiceObjectRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// ServiceObjectRequest_Relationships_Peer_Objects_Item defines model for ServiceObjectRequest.relationships.peer.objects.Item. +type ServiceObjectRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// ServiceObjectRequest_Relationships_Source_Objects_Item defines model for ServiceObjectRequest.relationships.source.objects.Item. +type ServiceObjectRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// SeverityEnum defines model for SeverityEnum. +type SeverityEnum string + +// Site Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type Site struct { + // Asn 32-bit autonomous system number + Asn *int64 `json:"asn"` + CircuitCount *int `json:"circuit_count,omitempty"` + Comments *string `json:"comments,omitempty"` + ContactEmail *openapi_types.Email `json:"contact_email,omitempty"` + ContactName *string `json:"contact_name,omitempty"` + ContactPhone *string `json:"contact_phone,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceCount *int `json:"device_count,omitempty"` + + // Display Human friendly display value Display *string `json:"display,omitempty"` - // Local facility ID or description + // Facility Local facility ID or description Facility *string `json:"facility,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` - // GPS coordinate (latitude) + // Latitude GPS coordinate (latitude) Latitude *string `json:"latitude"` - // GPS coordinate (longitude) - Longitude *string `json:"longitude"` - Name string `json:"name"` - PhysicalAddress *string `json:"physical_address,omitempty"` - PrefixCount *int `json:"prefix_count,omitempty"` - RackCount *int `json:"rack_count,omitempty"` - Region *struct { - // Embedded struct due to allOf(#/components/schemas/NestedRegion) - NestedRegion `yaml:",inline"` - } `json:"region"` - ShippingAddress *string `json:"shipping_address,omitempty"` - Slug *string `json:"slug,omitempty"` + // Longitude GPS coordinate (longitude) + Longitude *string `json:"longitude"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + PhysicalAddress *string `json:"physical_address,omitempty"` + PrefixCount *int `json:"prefix_count,omitempty"` + RackCount *int `json:"rack_count,omitempty"` + Region *NestedRegion `json:"region"` + ShippingAddress *string `json:"shipping_address,omitempty"` + Slug *string `json:"slug,omitempty"` Status struct { Label *SiteStatusLabel `json:"label,omitempty"` Value *SiteStatusValue `json:"value,omitempty"` } `json:"status"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *struct { - // Embedded struct due to allOf(#/components/schemas/NestedTenant) - NestedTenant `yaml:",inline"` - } `json:"tenant"` - TimeZone *string `json:"time_zone"` - Url *string `json:"url,omitempty"` - VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` - VlanCount *int `json:"vlan_count,omitempty"` -} - -// Site_CustomFields defines model for Site.CustomFields. -type Site_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Tenant *NestedTenant `json:"tenant"` + TimeZone *string `json:"time_zone"` + Url *string `json:"url,omitempty"` + VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` + VlanCount *int `json:"vlan_count,omitempty"` } // SiteStatusLabel defines model for Site.Status.Label. @@ -13294,46 +43088,45 @@ type SiteStatusLabel string // SiteStatusValue defines model for Site.Status.Value. type SiteStatusValue string -// REST API serializer for SoftwareImageLCM records. +// SoftwareImageLCM REST API serializer for SoftwareImageLCM records. type SoftwareImageLCM struct { - CustomFields *SoftwareImageLCM_CustomFields `json:"custom_fields,omitempty"` - DefaultImage *bool `json:"default_image,omitempty"` - DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DefaultImage *bool `json:"default_image,omitempty"` + DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` DownloadUrl *string `json:"download_url,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` ImageFileChecksum *string `json:"image_file_checksum,omitempty"` ImageFileName string `json:"image_file_name"` InventoryItems *[]openapi_types.UUID `json:"inventory_items,omitempty"` + LastUpdated *time.Time `json:"last_updated"` ObjectTags *[]openapi_types.UUID `json:"object_tags,omitempty"` - // Nested/brief serializer for SoftwareLCM. + // Software Nested/brief serializer for SoftwareLCM. Software NestedSoftwareLCM `json:"software"` Tags *[]TagSerializerField `json:"tags,omitempty"` Url *string `json:"url,omitempty"` } -// SoftwareImageLCM_CustomFields defines model for SoftwareImageLCM.CustomFields. -type SoftwareImageLCM_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// REST API serializer for SoftwareLCM records. +// SoftwareLCM REST API serializer for SoftwareLCM records. type SoftwareLCM struct { - Alias *string `json:"alias"` - CustomFields *SoftwareLCM_CustomFields `json:"custom_fields,omitempty"` + Alias *string `json:"alias"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // DevicePlatform Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. DevicePlatform NestedPlatform `json:"device_platform"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` DocumentationUrl *string `json:"documentation_url,omitempty"` EndOfSupport *openapi_types.Date `json:"end_of_support"` Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` LongTermSupport *bool `json:"long_term_support,omitempty"` PreRelease *bool `json:"pre_release,omitempty"` ReleaseDate *openapi_types.Date `json:"release_date"` @@ -13341,7 +43134,7 @@ type SoftwareLCM struct { DefaultImage *bool `json:"default_image,omitempty"` DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` DownloadUrl *string `json:"download_url,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` @@ -13356,34 +43149,88 @@ type SoftwareLCM struct { Version string `json:"version"` } -// SoftwareLCM_CustomFields defines model for SoftwareLCM.CustomFields. -type SoftwareLCM_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Serializer for `Status` objects. +// Status Serializer for `Status` objects. type Status struct { - Color *string `json:"color,omitempty"` - ContentTypes []string `json:"content_types"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *Status_CustomFields `json:"custom_fields,omitempty"` + Color *string `json:"color,omitempty"` + ContentTypes []string `json:"content_types"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` Slug *string `json:"slug,omitempty"` Url *string `json:"url,omitempty"` } -// Status_CustomFields defines model for Status.CustomFields. -type Status_CustomFields struct { +// Status2a0Enum defines model for Status2a0Enum. +type Status2a0Enum string + +// Status4f5Enum defines model for Status4f5Enum. +type Status4f5Enum = string + +// Status8f7Enum defines model for Status8f7Enum. +type Status8f7Enum string + +// StatusD95Enum defines model for StatusD95Enum. +type StatusD95Enum string + +// StatusRequest Serializer for `Status` objects. +type StatusRequest struct { + Color *string `json:"color,omitempty"` + ContentTypes []string `json:"content_types"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]StatusRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]StatusRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]StatusRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// StatusRequest_Relationships_Destination_Objects_Item defines model for StatusRequest.relationships.destination.objects.Item. +type StatusRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Status4f5Enum defines model for Status4f5Enum. -type Status4f5Enum string +// StatusRequest_Relationships_Peer_Objects_Item defines model for StatusRequest.relationships.peer.objects.Item. +type StatusRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// StatusRequest_Relationships_Source_Objects_Item defines model for StatusRequest.relationships.source.objects.Item. +type StatusRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} // SubdeviceRoleEnum defines model for SubdeviceRoleEnum. type SubdeviceRoleEnum string @@ -13391,61 +43238,128 @@ type SubdeviceRoleEnum string // SupplyEnum defines model for SupplyEnum. type SupplyEnum string -// NestedSerializer field for `Tag` object fields. +// TagSerializerField NestedSerializer field for `Tag` object fields. type TagSerializerField struct { - Color *string `json:"color,omitempty"` + Color *string `json:"color,omitempty"` + Created *openapi_types.Date `json:"created"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Name string `json:"name"` - Slug string `json:"slug"` - Url *string `json:"url,omitempty"` -} - -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type TagSerializerVersion13 struct { - Color *string `json:"color,omitempty"` - ContentTypes []string `json:"content_types"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *TagSerializerVersion13_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` Slug string `json:"slug"` + Url *string `json:"url,omitempty"` +} + +// TagSerializerFieldRequest NestedSerializer field for `Tag` object fields. +type TagSerializerFieldRequest struct { + Color *string `json:"color,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// TagSerializerVersion13 Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type TagSerializerVersion13 struct { + Color *string `json:"color,omitempty"` + ContentTypes []string `json:"content_types"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Slug string `json:"slug"` TaggedItems *int `json:"tagged_items,omitempty"` Url *string `json:"url,omitempty"` } -// TagSerializerVersion13_CustomFields defines model for TagSerializerVersion13.CustomFields. -type TagSerializerVersion13_CustomFields struct { +// TagSerializerVersion13Request Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type TagSerializerVersion13Request struct { + Color *string `json:"color,omitempty"` + ContentTypes []string `json:"content_types"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]TagSerializerVersion13Request_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]TagSerializerVersion13Request_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]TagSerializerVersion13Request_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug string `json:"slug"` +} + +// TagSerializerVersion13Request_Relationships_Destination_Objects_Item defines model for TagSerializerVersion13Request.relationships.destination.objects.Item. +type TagSerializerVersion13Request_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type Tenant struct { - CircuitCount *int `json:"circuit_count,omitempty"` - ClusterCount *int `json:"cluster_count,omitempty"` - Comments *string `json:"comments,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *Tenant_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceCount *int `json:"device_count,omitempty"` +// TagSerializerVersion13Request_Relationships_Peer_Objects_Item defines model for TagSerializerVersion13Request.relationships.peer.objects.Item. +type TagSerializerVersion13Request_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Human friendly display value +// TagSerializerVersion13Request_Relationships_Source_Objects_Item defines model for TagSerializerVersion13Request.relationships.source.objects.Item. +type TagSerializerVersion13Request_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// Tenant Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type Tenant struct { + CircuitCount *int `json:"circuit_count,omitempty"` + ClusterCount *int `json:"cluster_count,omitempty"` + Comments *string `json:"comments,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceCount *int `json:"device_count,omitempty"` + + // Display Human friendly display value Display *string `json:"display,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Group Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. Group *NestedTenantGroup `json:"group,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` IpaddressCount *int `json:"ipaddress_count,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` PrefixCount *int `json:"prefix_count,omitempty"` RackCount *int `json:"rack_count,omitempty"` SiteCount *int `json:"site_count,omitempty"` @@ -13457,68 +43371,69 @@ type Tenant struct { VrfCount *int `json:"vrf_count,omitempty"` } -// Tenant_CustomFields defines model for Tenant.CustomFields. -type Tenant_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// TenantGroup Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type TenantGroup struct { - Depth *int `json:"_depth,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *TenantGroup_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + Depth *int `json:"_depth,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` - Parent *struct { - // Embedded struct due to allOf(#/components/schemas/NestedTenantGroup) - NestedTenantGroup `yaml:",inline"` - } `json:"parent"` - Slug *string `json:"slug,omitempty"` - TenantCount *int `json:"tenant_count,omitempty"` - Url *string `json:"url,omitempty"` -} - -// TenantGroup_CustomFields defines model for TenantGroup.CustomFields. -type TenantGroup_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` + NotesUrl *string `json:"notes_url,omitempty"` + Parent *NestedTenantGroup `json:"parent"` + Slug *string `json:"slug,omitempty"` + TenantCount *int `json:"tenant_count,omitempty"` + Url *string `json:"url,omitempty"` } // TermSideEnum defines model for TermSideEnum. type TermSideEnum string -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// Token Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) type Token struct { Created *time.Time `json:"created,omitempty"` Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Expires *time.Time `json:"expires"` Id *openapi_types.UUID `json:"id,omitempty"` Key *string `json:"key,omitempty"` Url *string `json:"url,omitempty"` - // Permit create/update/delete operations using this key + // WriteEnabled Permit create/update/delete operations using this key WriteEnabled *bool `json:"write_enabled,omitempty"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// TokenRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type TokenRequest struct { + Description *string `json:"description,omitempty"` + Expires *time.Time `json:"expires"` + Key *string `json:"key,omitempty"` + + // WriteEnabled Permit create/update/delete operations using this key + WriteEnabled *bool `json:"write_enabled,omitempty"` +} + +// User Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) type User struct { DateJoined *time.Time `json:"date_joined,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Email *openapi_types.Email `json:"email,omitempty"` FirstName *string `json:"first_name,omitempty"` Groups *[]struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *int `json:"id,omitempty"` Name string `json:"name"` @@ -13526,59 +43441,191 @@ type User struct { } `json:"groups,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Designates whether this user should be treated as active. Unselect this instead of deleting accounts. + // IsActive Designates whether this user should be treated as active. Unselect this instead of deleting accounts. IsActive *bool `json:"is_active,omitempty"` - // Designates whether the user can log into this admin site. + // IsStaff Designates whether the user can log into this admin site. IsStaff *bool `json:"is_staff,omitempty"` LastName *string `json:"last_name,omitempty"` - Password *string `json:"password,omitempty"` Url *string `json:"url,omitempty"` - // Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. + // Username Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. Username string `json:"username"` } -// Mixin to add `status` choice field to model serializers. -type VLAN struct { - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *VLAN_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` +// UserObject UserObject Serializer. +type UserObject struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Group *struct { - // Embedded struct due to allOf(#/components/schemas/NestedVLANGroup) - NestedVLANGroup `yaml:",inline"` - } `json:"group"` + // Display Human friendly display value + Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Signifies the name of the user, commonly first & last name (e.g. John Smith) + Name *string `json:"name,omitempty"` + NotesUrl *string `json:"notes_url,omitempty"` + Status *struct { + Label *UserObjectStatusLabel `json:"label,omitempty"` + Value *UserObjectStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + + // Username Signifies the username in identify provider (e.g. john.smith) + Username string `json:"username"` +} + +// UserObjectStatusLabel defines model for UserObject.Status.Label. +type UserObjectStatusLabel string + +// UserObjectStatusValue defines model for UserObject.Status.Value. +type UserObjectStatusValue string + +// UserObjectGroup UserObjectGroup Serializer. +type UserObjectGroup struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Status *struct { + Label *UserObjectGroupStatusLabel `json:"label,omitempty"` + Value *UserObjectGroupStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + UserObjects *[]struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Signifies the name of the user, commonly first & last name (e.g. John Smith) + Name *string `json:"name,omitempty"` + NotesUrl *string `json:"notes_url,omitempty"` + Status *struct { + Label *UserObjectGroupUserObjectsStatusLabel `json:"label,omitempty"` + Value *UserObjectGroupUserObjectsStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + + // Username Signifies the username in identify provider (e.g. john.smith) + Username string `json:"username"` + } `json:"user_objects,omitempty"` +} + +// UserObjectGroupStatusLabel defines model for UserObjectGroup.Status.Label. +type UserObjectGroupStatusLabel string + +// UserObjectGroupStatusValue defines model for UserObjectGroup.Status.Value. +type UserObjectGroupStatusValue string + +// UserObjectGroupUserObjectsStatusLabel defines model for UserObjectGroup.UserObjects.Status.Label. +type UserObjectGroupUserObjectsStatusLabel string + +// UserObjectGroupUserObjectsStatusValue defines model for UserObjectGroup.UserObjects.Status.Value. +type UserObjectGroupUserObjectsStatusValue string + +// UserObjectRequest UserObject Serializer. +type UserObjectRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // Name Signifies the name of the user, commonly first & last name (e.g. John Smith) + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]UserObjectRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]UserObjectRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]UserObjectRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + + // Username Signifies the username in identify provider (e.g. john.smith) + Username string `json:"username"` +} + +// UserObjectRequest_Relationships_Destination_Objects_Item defines model for UserObjectRequest.relationships.destination.objects.Item. +type UserObjectRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// UserObjectRequest_Relationships_Peer_Objects_Item defines model for UserObjectRequest.relationships.peer.objects.Item. +type UserObjectRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// UserObjectRequest_Relationships_Source_Objects_Item defines model for UserObjectRequest.relationships.source.objects.Item. +type UserObjectRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// VLAN Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type VLAN struct { + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Group *NestedVLANGroup `json:"group"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Location *NestedLocation `json:"location"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` PrefixCount *int `json:"prefix_count,omitempty"` - Role *struct { - // Embedded struct due to allOf(#/components/schemas/NestedRole) - NestedRole `yaml:",inline"` - } `json:"role"` - Site *struct { - // Embedded struct due to allOf(#/components/schemas/NestedSite) - NestedSite `yaml:",inline"` - } `json:"site"` - Status struct { + Role *NestedRole `json:"role"` + Site *NestedSite `json:"site"` + Status struct { Label *VLANStatusLabel `json:"label,omitempty"` Value *VLANStatusValue `json:"value,omitempty"` } `json:"status"` Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *struct { - // Embedded struct due to allOf(#/components/schemas/NestedTenant) - NestedTenant `yaml:",inline"` - } `json:"tenant"` - Url *string `json:"url,omitempty"` - Vid int `json:"vid"` -} - -// VLAN_CustomFields defines model for VLAN.CustomFields. -type VLAN_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` + Vid int `json:"vid"` } // VLANStatusLabel defines model for VLAN.Status.Label. @@ -13587,49 +43634,53 @@ type VLANStatusLabel string // VLANStatusValue defines model for VLAN.Status.Value. type VLANStatusValue string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// VLANGroup Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type VLANGroup struct { - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *VLANGroup_CustomFields `json:"custom_fields,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Location *NestedLocation `json:"location"` Name string `json:"name"` - Site *struct { - // Embedded struct due to allOf(#/components/schemas/NestedSite) - NestedSite `yaml:",inline"` - } `json:"site"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` - VlanCount *int `json:"vlan_count,omitempty"` + NotesUrl *string `json:"notes_url,omitempty"` + Site *NestedSite `json:"site"` + Slug *string `json:"slug,omitempty"` + Url *string `json:"url,omitempty"` + VlanCount *int `json:"vlan_count,omitempty"` } -// VLANGroup_CustomFields defines model for VLANGroup.CustomFields. -type VLANGroup_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} +// VLANStatusChoices defines model for VLANStatusChoices. +type VLANStatusChoices string -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during -// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type VMInterface struct { - Description *string `json:"description,omitempty"` +// VMInterfaceSerializerVersion12 Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type VMInterfaceSerializerVersion12 struct { + Bridge *NestedVMInterface `json:"bridge"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Enabled *bool `json:"enabled,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` MacAddress *string `json:"mac_address"` Mode *struct { - Label *VMInterfaceModeLabel `json:"label,omitempty"` - Value *VMInterfaceModeValue `json:"value,omitempty"` + Label *VMInterfaceSerializerVersion12ModeLabel `json:"label,omitempty"` + Value *VMInterfaceSerializerVersion12ModeValue `json:"value,omitempty"` } `json:"mode,omitempty"` - Mtu *int `json:"mtu"` - Name string `json:"name"` - TaggedVlans *[]struct { - // Human friendly display value + Mtu *int `json:"mtu"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + ParentInterface *NestedVMInterface `json:"parent_interface"` + TaggedVlans *[]struct { + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` Name string `json:"name"` @@ -13637,89 +43688,83 @@ type VMInterface struct { Vid int `json:"vid"` } `json:"tagged_vlans,omitempty"` Tags *[]TagSerializerField `json:"tags,omitempty"` - UntaggedVlan *struct { - // Embedded struct due to allOf(#/components/schemas/NestedVLAN) - NestedVLAN `yaml:",inline"` - } `json:"untagged_vlan"` - Url *string `json:"url,omitempty"` + UntaggedVlan *NestedVLAN `json:"untagged_vlan"` + Url *string `json:"url,omitempty"` - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // VirtualMachine Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. VirtualMachine NestedVirtualMachine `json:"virtual_machine"` } -// VMInterfaceModeLabel defines model for VMInterface.Mode.Label. -type VMInterfaceModeLabel string +// VMInterfaceSerializerVersion12ModeLabel defines model for VMInterfaceSerializerVersion12.Mode.Label. +type VMInterfaceSerializerVersion12ModeLabel string -// VMInterfaceModeValue defines model for VMInterface.Mode.Value. -type VMInterfaceModeValue string +// VMInterfaceSerializerVersion12ModeValue defines model for VMInterfaceSerializerVersion12.Mode.Value. +type VMInterfaceSerializerVersion12ModeValue string -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// VRF Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type VRF struct { - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *VRF_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` - // Prevent duplicate prefixes/IP addresses within this VRF + // EnforceUnique Prevent duplicate prefixes/IP addresses within this VRF EnforceUnique *bool `json:"enforce_unique,omitempty"` ExportTargets *[]struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Route target value (formatted in accordance with RFC 4360) + // Name Route target value (formatted in accordance with RFC 4360) Name string `json:"name"` Url *string `json:"url,omitempty"` } `json:"export_targets,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` ImportTargets *[]struct { - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` - // Route target value (formatted in accordance with RFC 4360) + // Name Route target value (formatted in accordance with RFC 4360) Name string `json:"name"` Url *string `json:"url,omitempty"` } `json:"import_targets,omitempty"` IpaddressCount *int `json:"ipaddress_count,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` PrefixCount *int `json:"prefix_count,omitempty"` - // Unique route distinguisher (as defined in RFC 4364) + // Rd Unique route distinguisher (as defined in RFC 4364) Rd *string `json:"rd"` Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *struct { - // Embedded struct due to allOf(#/components/schemas/NestedTenant) - NestedTenant `yaml:",inline"` - } `json:"tenant"` - Url *string `json:"url,omitempty"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` } -// VRF_CustomFields defines model for VRF.CustomFields. -type VRF_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// REST API serializer for ValidatedSoftwareLCM records. +// ValidatedSoftwareLCM REST API serializer for ValidatedSoftwareLCM records. type ValidatedSoftwareLCM struct { - CustomFields *ValidatedSoftwareLCM_CustomFields `json:"custom_fields,omitempty"` - DeviceRoles *[]openapi_types.UUID `json:"device_roles,omitempty"` - DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` - Devices *[]openapi_types.UUID `json:"devices,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DeviceRoles *[]openapi_types.UUID `json:"device_roles,omitempty"` + DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` + Devices *[]openapi_types.UUID `json:"devices,omitempty"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` End *openapi_types.Date `json:"end"` Id *openapi_types.UUID `json:"id,omitempty"` InventoryItems *[]openapi_types.UUID `json:"inventory_items,omitempty"` + LastUpdated *time.Time `json:"last_updated"` ObjectTags *[]openapi_types.UUID `json:"object_tags,omitempty"` Preferred *bool `json:"preferred,omitempty"` - // Nested/brief serializer for SoftwareLCM. + // Software Nested/brief serializer for SoftwareLCM. Software NestedSoftwareLCM `json:"software"` Start openapi_types.Date `json:"start"` Tags *[]TagSerializerField `json:"tags,omitempty"` @@ -13727,106 +43772,66 @@ type ValidatedSoftwareLCM struct { Valid *string `json:"valid,omitempty"` } -// ValidatedSoftwareLCM_CustomFields defines model for ValidatedSoftwareLCM.CustomFields. -type ValidatedSoftwareLCM_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// Extends ModelSerializer to render any CustomFields and their values associated with an object. +// VirtualChassis Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type VirtualChassis struct { - CustomFields *VirtualChassis_CustomFields `json:"custom_fields,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Domain *string `json:"domain,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Master *struct { - // Embedded struct due to allOf(#/components/schemas/NestedDevice) - NestedDevice `yaml:",inline"` - } `json:"master"` + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Domain *string `json:"domain,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Master *NestedDevice `json:"master"` MemberCount *int `json:"member_count,omitempty"` Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` Tags *[]TagSerializerField `json:"tags,omitempty"` Url *string `json:"url,omitempty"` } -// VirtualChassis_CustomFields defines model for VirtualChassis.CustomFields. -type VirtualChassis_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} +// VirtualMachineStatusChoices defines model for VirtualMachineStatusChoices. +type VirtualMachineStatusChoices string -// Mixin to add `status` choice field to model serializers. +// VirtualMachineWithConfigContext Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. type VirtualMachineWithConfigContext struct { - // Returns a nested representation of an object on read, but accepts either the nested representation or the + // Cluster Returns a nested representation of an object on read, but accepts either the nested representation or the // primary key value on write operations. - Cluster NestedCluster `json:"cluster"` - Comments *string `json:"comments,omitempty"` - ConfigContext *VirtualMachineWithConfigContext_ConfigContext `json:"config_context,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *VirtualMachineWithConfigContext_CustomFields `json:"custom_fields,omitempty"` - Disk *int `json:"disk"` + Cluster NestedCluster `json:"cluster"` + Comments *string `json:"comments,omitempty"` + ConfigContext *map[string]interface{} `json:"config_context,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Disk *int `json:"disk"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LocalContextData *VirtualMachineWithConfigContext_LocalContextData `json:"local_context_data"` - LocalContextSchema *struct { - // Embedded struct due to allOf(#/components/schemas/NestedConfigContextSchema) - NestedConfigContextSchema `yaml:",inline"` - } `json:"local_context_schema"` - Memory *int `json:"memory"` - Name string `json:"name"` - Platform *struct { - // Embedded struct due to allOf(#/components/schemas/NestedPlatform) - NestedPlatform `yaml:",inline"` - } `json:"platform"` - PrimaryIp *struct { - // Embedded struct due to allOf(#/components/schemas/NestedIPAddress) - NestedIPAddress `yaml:",inline"` - } `json:"primary_ip,omitempty"` - PrimaryIp4 *struct { - // Embedded struct due to allOf(#/components/schemas/NestedIPAddress) - NestedIPAddress `yaml:",inline"` - } `json:"primary_ip4"` - PrimaryIp6 *struct { - // Embedded struct due to allOf(#/components/schemas/NestedIPAddress) - NestedIPAddress `yaml:",inline"` - } `json:"primary_ip6"` - Role *struct { - // Embedded struct due to allOf(#/components/schemas/NestedDeviceRole) - NestedDeviceRole `yaml:",inline"` - } `json:"role"` - Site *struct { - // Embedded struct due to allOf(#/components/schemas/NestedSite) - NestedSite `yaml:",inline"` - } `json:"site,omitempty"` - Status struct { + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + LocalContextData *map[string]interface{} `json:"local_context_data"` + LocalContextSchema *NestedConfigContextSchema `json:"local_context_schema"` + Location *NestedLocation `json:"location"` + Memory *int `json:"memory"` + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Platform *NestedPlatform `json:"platform"` + PrimaryIp *NestedIPAddress `json:"primary_ip,omitempty"` + PrimaryIp4 *NestedIPAddress `json:"primary_ip4"` + PrimaryIp6 *NestedIPAddress `json:"primary_ip6"` + Role *NestedDeviceRole `json:"role"` + Site *NestedSite `json:"site,omitempty"` + Status struct { Label *VirtualMachineWithConfigContextStatusLabel `json:"label,omitempty"` Value *VirtualMachineWithConfigContextStatusValue `json:"value,omitempty"` } `json:"status"` Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *struct { - // Embedded struct due to allOf(#/components/schemas/NestedTenant) - NestedTenant `yaml:",inline"` - } `json:"tenant"` - Url *string `json:"url,omitempty"` - Vcpus *int `json:"vcpus"` -} - -// VirtualMachineWithConfigContext_ConfigContext defines model for VirtualMachineWithConfigContext.ConfigContext. -type VirtualMachineWithConfigContext_ConfigContext struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// VirtualMachineWithConfigContext_CustomFields defines model for VirtualMachineWithConfigContext.CustomFields. -type VirtualMachineWithConfigContext_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} - -// VirtualMachineWithConfigContext_LocalContextData defines model for VirtualMachineWithConfigContext.LocalContextData. -type VirtualMachineWithConfigContext_LocalContextData struct { - AdditionalProperties map[string]interface{} `json:"-"` + Tenant *NestedTenant `json:"tenant"` + Url *string `json:"url,omitempty"` + Vcpus *int `json:"vcpus"` } // VirtualMachineWithConfigContextStatusLabel defines model for VirtualMachineWithConfigContext.Status.Label. @@ -13835,30 +43840,20 @@ type VirtualMachineWithConfigContextStatusLabel string // VirtualMachineWithConfigContextStatusValue defines model for VirtualMachineWithConfigContext.Status.Value. type VirtualMachineWithConfigContextStatusValue string -// REST API serializer for VulnerabilityLCM records. +// VulnerabilityLCM REST API serializer for VulnerabilityLCM records. type VulnerabilityLCM struct { - CustomFields *VulnerabilityLCM_CustomFields `json:"custom_fields,omitempty"` - Cve *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCVELCM) - NestedCVELCM `yaml:",inline"` - } `json:"cve,omitempty"` - Device *struct { - // Embedded struct due to allOf(#/components/schemas/NestedDevice) - NestedDevice `yaml:",inline"` - } `json:"device,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Cve *NestedCVELCM `json:"cve,omitempty"` + Device *NestedDevice `json:"device,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - InventoryItem *struct { - // Embedded struct due to allOf(#/components/schemas/NestedInventoryItem) - NestedInventoryItem `yaml:",inline"` - } `json:"inventory_item,omitempty"` - Software *struct { - // Embedded struct due to allOf(#/components/schemas/NestedSoftwareLCM) - NestedSoftwareLCM `yaml:",inline"` - } `json:"software,omitempty"` - Status struct { + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + InventoryItem *NestedInventoryItem `json:"inventory_item,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + Software *NestedSoftwareLCM `json:"software,omitempty"` + Status struct { Label *string `json:"label,omitempty"` Value *string `json:"value,omitempty"` } `json:"status"` @@ -13866,6090 +43861,10824 @@ type VulnerabilityLCM struct { Url *string `json:"url,omitempty"` } -// VulnerabilityLCM_CustomFields defines model for VulnerabilityLCM.CustomFields. -type VulnerabilityLCM_CustomFields struct { +// VulnerabilityLCMRequest REST API serializer for VulnerabilityLCM records. +type VulnerabilityLCMRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]VulnerabilityLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]VulnerabilityLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]VulnerabilityLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status Status4f5Enum `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// VulnerabilityLCMRequest_Relationships_Destination_Objects_Item defines model for VulnerabilityLCMRequest.relationships.destination.objects.Item. +type VulnerabilityLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// VulnerabilityLCMRequest_Relationships_Peer_Objects_Item defines model for VulnerabilityLCMRequest.relationships.peer.objects.Item. +type VulnerabilityLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// VulnerabilityLCMRequest_Relationships_Source_Objects_Item defines model for VulnerabilityLCMRequest.relationships.source.objects.Item. +type VulnerabilityLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// Webhook Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) type Webhook struct { - // User-supplied HTTP headers to be sent with the request in addition to the HTTP content type. Headers should be defined in the format Name: Value. Jinja2 template processing is support with the same context as the request body (below). + // AdditionalHeaders User-supplied HTTP headers to be sent with the request in addition to the HTTP content type. Headers should be defined in the format Name: Value. Jinja2 template processing is support with the same context as the request body (below). AdditionalHeaders *string `json:"additional_headers,omitempty"` - // Jinja2 template for a custom request body. If blank, a JSON object representing the change will be included. Available context data includes: event, model, timestamp, username, request_id, and data. + // BodyTemplate Jinja2 template for a custom request body. If blank, a JSON object representing the change will be included. Available context data includes: event, model, timestamp, username, request_id, and data. BodyTemplate *string `json:"body_template,omitempty"` - // The specific CA certificate file to use for SSL verification. Leave blank to use the system defaults. - CaFilePath *string `json:"ca_file_path"` - ContentTypes []string `json:"content_types"` + // CaFilePath The specific CA certificate file to use for SSL verification. Leave blank to use the system defaults. + CaFilePath *string `json:"ca_file_path"` + ContentTypes []string `json:"content_types"` + Created *openapi_types.Date `json:"created"` - // Human friendly display value + // Display Human friendly display value Display *string `json:"display,omitempty"` - // The complete list of official content types is available here. + // HttpContentType The complete list of official content types is available here. HttpContentType *string `json:"http_content_type,omitempty"` HttpMethod *HttpMethodEnum `json:"http_method,omitempty"` Id *openapi_types.UUID `json:"id,omitempty"` + LastUpdated *time.Time `json:"last_updated"` Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` - // A POST will be sent to this URL when the webhook is called. + // PayloadUrl A POST will be sent to this URL when the webhook is called. PayloadUrl string `json:"payload_url"` - // When provided, the request will include a 'X-Hook-Signature' header containing a HMAC hex digest of the payload body using the secret as the key. The secret is not transmitted in the request. + // Secret When provided, the request will include a 'X-Hook-Signature' header containing a HMAC hex digest of the payload body using the secret as the key. The secret is not transmitted in the request. Secret *string `json:"secret,omitempty"` - // Enable SSL certificate verification. Disable with caution! + // SslVerification Enable SSL certificate verification. Disable with caution! SslVerification *bool `json:"ssl_verification,omitempty"` - // Call this webhook when a matching object is created. + // TypeCreate Call this webhook when a matching object is created. TypeCreate *bool `json:"type_create,omitempty"` - // Call this webhook when a matching object is deleted. + // TypeDelete Call this webhook when a matching object is deleted. TypeDelete *bool `json:"type_delete,omitempty"` - // Call this webhook when a matching object is updated. + // TypeUpdate Call this webhook when a matching object is updated. TypeUpdate *bool `json:"type_update,omitempty"` Url *string `json:"url,omitempty"` } +// WebhookRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type WebhookRequest struct { + // AdditionalHeaders User-supplied HTTP headers to be sent with the request in addition to the HTTP content type. Headers should be defined in the format Name: Value. Jinja2 template processing is support with the same context as the request body (below). + AdditionalHeaders *string `json:"additional_headers,omitempty"` + + // BodyTemplate Jinja2 template for a custom request body. If blank, a JSON object representing the change will be included. Available context data includes: event, model, timestamp, username, request_id, and data. + BodyTemplate *string `json:"body_template,omitempty"` + + // CaFilePath The specific CA certificate file to use for SSL verification. Leave blank to use the system defaults. + CaFilePath *string `json:"ca_file_path"` + ContentTypes []string `json:"content_types"` + + // HttpContentType The complete list of official content types is available here. + HttpContentType *string `json:"http_content_type,omitempty"` + HttpMethod *HttpMethodEnum `json:"http_method,omitempty"` + Name string `json:"name"` + + // PayloadUrl A POST will be sent to this URL when the webhook is called. + PayloadUrl string `json:"payload_url"` + + // Secret When provided, the request will include a 'X-Hook-Signature' header containing a HMAC hex digest of the payload body using the secret as the key. The secret is not transmitted in the request. + Secret *string `json:"secret,omitempty"` + + // SslVerification Enable SSL certificate verification. Disable with caution! + SslVerification *bool `json:"ssl_verification,omitempty"` + + // TypeCreate Call this webhook when a matching object is created. + TypeCreate *bool `json:"type_create,omitempty"` + + // TypeDelete Call this webhook when a matching object is deleted. + TypeDelete *bool `json:"type_delete,omitempty"` + + // TypeUpdate Call this webhook when a matching object is updated. + TypeUpdate *bool `json:"type_update,omitempty"` +} + // WidthEnum defines model for WidthEnum. type WidthEnum int -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableAggregate struct { - ComputedFields *WritableAggregate_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritableAggregate_CustomFields `json:"custom_fields,omitempty"` - DateAdded *openapi_types.Date `json:"date_added"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Family *struct { - // Embedded struct due to allOf(#/components/schemas/FamilyEnum) - FamilyEnum `yaml:",inline"` - } `json:"family,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Prefix string `json:"prefix"` - Rir openapi_types.UUID `json:"rir"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Url *string `json:"url,omitempty"` +// WritableAddressFamilyRequest REST API serializer for AddressFamily records. +type WritableAddressFamilyRequest struct { + AfiSafi AfiSafiEnum `json:"afi_safi"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + ExportPolicy *string `json:"export_policy,omitempty"` + ImportPolicy *string `json:"import_policy,omitempty"` + RoutingInstance openapi_types.UUID `json:"routing_instance"` + Vrf *openapi_types.UUID `json:"vrf"` } -// WritableAggregate_ComputedFields defines model for WritableAggregate.ComputedFields. -type WritableAggregate_ComputedFields struct { +// WritableAddressObjectGroupRequest AddressObjectGroup Serializer. +type WritableAddressObjectGroupRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Name descriptor for a group address objects. + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableAddressObjectGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// WritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item defines model for WritableAddressObjectGroupRequest.relationships.destination.objects.Item. +type WritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableAggregate_CustomFields defines model for WritableAggregate.CustomFields. -type WritableAggregate_CustomFields struct { +// WritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item defines model for WritableAddressObjectGroupRequest.relationships.peer.objects.Item. +type WritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Mixin to add `status` choice field to model serializers. -type WritableCable struct { - Color *string `json:"color,omitempty"` - ComputedFields *WritableCable_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *WritableCable_CustomFields `json:"custom_fields,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Label *string `json:"label,omitempty"` - Length *int `json:"length"` - LengthUnit *interface{} `json:"length_unit,omitempty"` - Status WritableCableStatusEnum `json:"status"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - TerminationA *WritableCable_TerminationA `json:"termination_a"` - TerminationAId openapi_types.UUID `json:"termination_a_id"` - TerminationAType string `json:"termination_a_type"` - TerminationB *WritableCable_TerminationB `json:"termination_b"` - TerminationBId openapi_types.UUID `json:"termination_b_id"` - TerminationBType string `json:"termination_b_type"` - Type *interface{} `json:"type,omitempty"` - Url *string `json:"url,omitempty"` -} - -// WritableCable_ComputedFields defines model for WritableCable.ComputedFields. -type WritableCable_ComputedFields struct { +// WritableAddressObjectGroupRequest_Relationships_Source_Objects_Item defines model for WritableAddressObjectGroupRequest.relationships.source.objects.Item. +type WritableAddressObjectGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableCable_CustomFields defines model for WritableCable.CustomFields. -type WritableCable_CustomFields struct { +// WritableAddressObjectRequest AddressObject Serializer. +type WritableAddressObjectRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Fqdn *openapi_types.UUID `json:"fqdn"` + IpAddress *openapi_types.UUID `json:"ip_address"` + IpRange *openapi_types.UUID `json:"ip_range"` + + // Name Name descriptor for an address object type. + Name string `json:"name"` + Prefix *openapi_types.UUID `json:"prefix"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableAddressObjectRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableAddressObjectRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableAddressObjectRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// WritableAddressObjectRequest_Relationships_Destination_Objects_Item defines model for WritableAddressObjectRequest.relationships.destination.objects.Item. +type WritableAddressObjectRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableCable_TerminationA defines model for WritableCable.TerminationA. -type WritableCable_TerminationA struct { +// WritableAddressObjectRequest_Relationships_Peer_Objects_Item defines model for WritableAddressObjectRequest.relationships.peer.objects.Item. +type WritableAddressObjectRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableCable_TerminationB defines model for WritableCable.TerminationB. -type WritableCable_TerminationB struct { +// WritableAddressObjectRequest_Relationships_Source_Objects_Item defines model for WritableAddressObjectRequest.relationships.source.objects.Item. +type WritableAddressObjectRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableCableStatusEnum defines model for WritableCableStatusEnum. -type WritableCableStatusEnum string - -// Mixin to add `status` choice field to model serializers. -type WritableCircuit struct { - Cid string `json:"cid"` - Comments *string `json:"comments,omitempty"` - CommitRate *int `json:"commit_rate"` - ComputedFields *WritableCircuit_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritableCircuit_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - InstallDate *openapi_types.Date `json:"install_date"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Provider openapi_types.UUID `json:"provider"` - Status WritableCircuitStatusEnum `json:"status"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - TerminationA *struct { - // Embedded struct due to allOf(#/components/schemas/CircuitCircuitTermination) - CircuitCircuitTermination `yaml:",inline"` - } `json:"termination_a,omitempty"` - TerminationZ *struct { - // Embedded struct due to allOf(#/components/schemas/CircuitCircuitTermination) - CircuitCircuitTermination `yaml:",inline"` - } `json:"termination_z,omitempty"` - Type openapi_types.UUID `json:"type"` - Url *string `json:"url,omitempty"` +// WritableAggregateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableAggregateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DateAdded *openapi_types.Date `json:"date_added"` + Description *string `json:"description,omitempty"` + Prefix string `json:"prefix"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableAggregateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableAggregateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableAggregateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Rir openapi_types.UUID `json:"rir"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` } -// WritableCircuit_ComputedFields defines model for WritableCircuit.ComputedFields. -type WritableCircuit_ComputedFields struct { +// WritableAggregateRequest_Relationships_Destination_Objects_Item defines model for WritableAggregateRequest.relationships.destination.objects.Item. +type WritableAggregateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableCircuit_CustomFields defines model for WritableCircuit.CustomFields. -type WritableCircuit_CustomFields struct { +// WritableAggregateRequest_Relationships_Peer_Objects_Item defines model for WritableAggregateRequest.relationships.peer.objects.Item. +type WritableAggregateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableCircuitStatusEnum defines model for WritableCircuitStatusEnum. -type WritableCircuitStatusEnum string +// WritableAggregateRequest_Relationships_Source_Objects_Item defines model for WritableAggregateRequest.relationships.source.objects.Item. +type WritableAggregateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during -// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type WritableCircuitTermination struct { - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *WritableCircuitTermination_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - Circuit openapi_types.UUID `json:"circuit"` - ConnectedEndpoint *WritableCircuitTermination_ConnectedEndpoint `json:"connected_endpoint"` - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` - ConnectedEndpointType *string `json:"connected_endpoint_type"` - Description *string `json:"description,omitempty"` +// WritableAutonomousSystemRequest REST API serializer for AutonomousSystem records. +type WritableAutonomousSystemRequest struct { + // Asn 32-bit autonomous system number + Asn int64 `json:"asn"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Provider *openapi_types.UUID `json:"provider"` + Status Status2a0Enum `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - PortSpeed *int `json:"port_speed"` - PpInfo *string `json:"pp_info,omitempty"` - ProviderNetwork *openapi_types.UUID `json:"provider_network"` - Site *openapi_types.UUID `json:"site"` - TermSide struct { - // Embedded struct due to allOf(#/components/schemas/TermSideEnum) - TermSideEnum `yaml:",inline"` - } `json:"term_side"` +// WritableBGPRoutingInstanceRequest REST API serializer for Peering records. +type WritableBGPRoutingInstanceRequest struct { + AutonomousSystem openapi_types.UUID `json:"autonomous_system"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device openapi_types.UUID `json:"device"` + RouterId *openapi_types.UUID `json:"router_id"` +} - // Upstream speed, if different from port speed +// WritableCVELCMRequest REST API serializer for CVELCM records. +type WritableCVELCMRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Cvss *float64 `json:"cvss"` + CvssV2 *float64 `json:"cvss_v2"` + CvssV3 *float64 `json:"cvss_v3"` + Description *string `json:"description"` + Fix *string `json:"fix"` + Link string `json:"link"` + Name string `json:"name"` + PublishedDate openapi_types.Date `json:"published_date"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableCVELCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableCVELCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableCVELCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Severity *SeverityEnum `json:"severity,omitempty"` + Status *Status4f5Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// WritableCVELCMRequest_Relationships_Destination_Objects_Item defines model for WritableCVELCMRequest.relationships.destination.objects.Item. +type WritableCVELCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableCVELCMRequest_Relationships_Peer_Objects_Item defines model for WritableCVELCMRequest.relationships.peer.objects.Item. +type WritableCVELCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableCVELCMRequest_Relationships_Source_Objects_Item defines model for WritableCVELCMRequest.relationships.source.objects.Item. +type WritableCVELCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableCableRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableCableRequest struct { + Color *string `json:"color,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Label *string `json:"label,omitempty"` + Length *int `json:"length"` + LengthUnit *WritableCableRequest_LengthUnit `json:"length_unit,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableCableRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableCableRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableCableRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status CableStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + TerminationAId openapi_types.UUID `json:"termination_a_id"` + TerminationAType string `json:"termination_a_type"` + TerminationBId openapi_types.UUID `json:"termination_b_id"` + TerminationBType string `json:"termination_b_type"` + Type *WritableCableRequest_Type `json:"type,omitempty"` +} + +// WritableCableRequest_LengthUnit defines model for WritableCableRequest.LengthUnit. +type WritableCableRequest_LengthUnit struct { + union json.RawMessage +} + +// WritableCableRequest_Relationships_Destination_Objects_Item defines model for WritableCableRequest.relationships.destination.objects.Item. +type WritableCableRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableCableRequest_Relationships_Peer_Objects_Item defines model for WritableCableRequest.relationships.peer.objects.Item. +type WritableCableRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableCableRequest_Relationships_Source_Objects_Item defines model for WritableCableRequest.relationships.source.objects.Item. +type WritableCableRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableCableRequest_Type defines model for WritableCableRequest.Type. +type WritableCableRequest_Type struct { + union json.RawMessage +} + +// WritableCircuitRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableCircuitRequest struct { + Cid string `json:"cid"` + Comments *string `json:"comments,omitempty"` + CommitRate *int `json:"commit_rate"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + InstallDate *openapi_types.Date `json:"install_date"` + Provider openapi_types.UUID `json:"provider"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableCircuitRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableCircuitRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableCircuitRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status CircuitStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + Type openapi_types.UUID `json:"type"` +} + +// WritableCircuitRequest_Relationships_Destination_Objects_Item defines model for WritableCircuitRequest.relationships.destination.objects.Item. +type WritableCircuitRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableCircuitRequest_Relationships_Peer_Objects_Item defines model for WritableCircuitRequest.relationships.peer.objects.Item. +type WritableCircuitRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableCircuitRequest_Relationships_Source_Objects_Item defines model for WritableCircuitRequest.relationships.source.objects.Item. +type WritableCircuitRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableCircuitTerminationRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableCircuitTerminationRequest struct { + Circuit openapi_types.UUID `json:"circuit"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Location *openapi_types.UUID `json:"location"` + PortSpeed *int `json:"port_speed"` + PpInfo *string `json:"pp_info,omitempty"` + ProviderNetwork *openapi_types.UUID `json:"provider_network"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableCircuitTerminationRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableCircuitTerminationRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableCircuitTerminationRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Site *openapi_types.UUID `json:"site"` + TermSide TermSideEnum `json:"term_side"` + + // UpstreamSpeed Upstream speed, if different from port speed UpstreamSpeed *int `json:"upstream_speed"` - Url *string `json:"url,omitempty"` XconnectId *string `json:"xconnect_id,omitempty"` } -// WritableCircuitTermination_CablePeer defines model for WritableCircuitTermination.CablePeer. -type WritableCircuitTermination_CablePeer struct { +// WritableCircuitTerminationRequest_Relationships_Destination_Objects_Item defines model for WritableCircuitTerminationRequest.relationships.destination.objects.Item. +type WritableCircuitTerminationRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableCircuitTermination_ConnectedEndpoint defines model for WritableCircuitTermination.ConnectedEndpoint. -type WritableCircuitTermination_ConnectedEndpoint struct { +// WritableCircuitTerminationRequest_Relationships_Peer_Objects_Item defines model for WritableCircuitTerminationRequest.relationships.peer.objects.Item. +type WritableCircuitTerminationRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableCluster struct { - Comments *string `json:"comments,omitempty"` - ComputedFields *WritableCluster_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritableCluster_CustomFields `json:"custom_fields,omitempty"` - DeviceCount *int `json:"device_count,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Group *openapi_types.UUID `json:"group"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name string `json:"name"` - Site *openapi_types.UUID `json:"site"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Type openapi_types.UUID `json:"type"` - Url *string `json:"url,omitempty"` - VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` -} - -// WritableCluster_ComputedFields defines model for WritableCluster.ComputedFields. -type WritableCluster_ComputedFields struct { +// WritableCircuitTerminationRequest_Relationships_Source_Objects_Item defines model for WritableCircuitTerminationRequest.relationships.source.objects.Item. +type WritableCircuitTerminationRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableCluster_CustomFields defines model for WritableCluster.CustomFields. -type WritableCluster_CustomFields struct { +// WritableClusterRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableClusterRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Group *openapi_types.UUID `json:"group"` + Location *openapi_types.UUID `json:"location"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableClusterRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableClusterRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableClusterRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Site *openapi_types.UUID `json:"site"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + Type openapi_types.UUID `json:"type"` +} + +// WritableClusterRequest_Relationships_Destination_Objects_Item defines model for WritableClusterRequest.relationships.destination.objects.Item. +type WritableClusterRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// WritableClusterRequest_Relationships_Peer_Objects_Item defines model for WritableClusterRequest.relationships.peer.objects.Item. +type WritableClusterRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableClusterRequest_Relationships_Source_Objects_Item defines model for WritableClusterRequest.relationships.source.objects.Item. +type WritableClusterRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableConfigContextRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type WritableConfigContext struct { - ClusterGroups *[]openapi_types.UUID `json:"cluster_groups,omitempty"` - Clusters *[]openapi_types.UUID `json:"clusters,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - Data WritableConfigContext_Data `json:"data"` - Description *string `json:"description,omitempty"` - DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` +type WritableConfigContextRequest struct { + ClusterGroups *[]openapi_types.UUID `json:"cluster_groups,omitempty"` + Clusters *[]openapi_types.UUID `json:"clusters,omitempty"` + Data map[string]interface{} `json:"data"` + Description *string `json:"description,omitempty"` + DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` + IsActive *bool `json:"is_active,omitempty"` + Locations *[]openapi_types.UUID `json:"locations,omitempty"` + Name string `json:"name"` + OwnerContentType *string `json:"owner_content_type"` + OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` + Platforms *[]openapi_types.UUID `json:"platforms,omitempty"` + Regions *[]openapi_types.UUID `json:"regions,omitempty"` + Roles *[]openapi_types.UUID `json:"roles,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - IsActive *bool `json:"is_active,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name string `json:"name"` - Owner *WritableConfigContext_Owner `json:"owner"` - OwnerContentType *string `json:"owner_content_type"` - OwnerObjectId *openapi_types.UUID `json:"owner_object_id"` - Platforms *[]openapi_types.UUID `json:"platforms,omitempty"` - Regions *[]openapi_types.UUID `json:"regions,omitempty"` - Roles *[]openapi_types.UUID `json:"roles,omitempty"` - - // Optional schema to validate the structure of the data + // Schema Optional schema to validate the structure of the data Schema *openapi_types.UUID `json:"schema"` Sites *[]openapi_types.UUID `json:"sites,omitempty"` Tags *[]string `json:"tags,omitempty"` TenantGroups *[]openapi_types.UUID `json:"tenant_groups,omitempty"` Tenants *[]openapi_types.UUID `json:"tenants,omitempty"` - Url *string `json:"url,omitempty"` Weight *int `json:"weight,omitempty"` } -// WritableConfigContext_Data defines model for WritableConfigContext.Data. -type WritableConfigContext_Data struct { +// WritableConsolePortRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableConsolePortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device openapi_types.UUID `json:"device"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableConsolePortRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableConsolePortRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableConsolePortRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + + // Type Physical port type + Type *WritableConsolePortRequest_Type `json:"type,omitempty"` +} + +// WritableConsolePortRequest_Relationships_Destination_Objects_Item defines model for WritableConsolePortRequest.relationships.destination.objects.Item. +type WritableConsolePortRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableConfigContext_Owner defines model for WritableConfigContext.Owner. -type WritableConfigContext_Owner struct { +// WritableConsolePortRequest_Relationships_Peer_Objects_Item defines model for WritableConsolePortRequest.relationships.peer.objects.Item. +type WritableConsolePortRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableConsolePort struct { - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *WritableConsolePort_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - ComputedFields *WritableConsolePort_ComputedFields `json:"computed_fields,omitempty"` - ConnectedEndpoint *WritableConsolePort_ConnectedEndpoint `json:"connected_endpoint"` - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` - ConnectedEndpointType *string `json:"connected_endpoint_type"` - CustomFields *WritableConsolePort_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Device openapi_types.UUID `json:"device"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - - // Physical port type - Type *interface{} `json:"type,omitempty"` - Url *string `json:"url,omitempty"` -} - -// WritableConsolePort_CablePeer defines model for WritableConsolePort.CablePeer. -type WritableConsolePort_CablePeer struct { +// WritableConsolePortRequest_Relationships_Source_Objects_Item defines model for WritableConsolePortRequest.relationships.source.objects.Item. +type WritableConsolePortRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableConsolePort_ComputedFields defines model for WritableConsolePort.ComputedFields. -type WritableConsolePort_ComputedFields struct { +// WritableConsolePortRequest_Type Physical port type +type WritableConsolePortRequest_Type struct { + union json.RawMessage +} + +// WritableConsolePortTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableConsolePortTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType openapi_types.UUID `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableConsolePortTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *WritableConsolePortTemplateRequest_Type `json:"type,omitempty"` +} + +// WritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item defines model for WritableConsolePortTemplateRequest.relationships.destination.objects.Item. +type WritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableConsolePort_ConnectedEndpoint defines model for WritableConsolePort.ConnectedEndpoint. -type WritableConsolePort_ConnectedEndpoint struct { +// WritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item defines model for WritableConsolePortTemplateRequest.relationships.peer.objects.Item. +type WritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableConsolePort_CustomFields defines model for WritableConsolePort.CustomFields. -type WritableConsolePort_CustomFields struct { +// WritableConsolePortTemplateRequest_Relationships_Source_Objects_Item defines model for WritableConsolePortTemplateRequest.relationships.source.objects.Item. +type WritableConsolePortTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableConsolePortTemplate struct { - ComputedFields *WritableConsolePortTemplate_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *WritableConsolePortTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceType openapi_types.UUID `json:"device_type"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` - Type *interface{} `json:"type,omitempty"` - Url *string `json:"url,omitempty"` +// WritableConsolePortTemplateRequest_Type defines model for WritableConsolePortTemplateRequest.Type. +type WritableConsolePortTemplateRequest_Type struct { + union json.RawMessage } -// WritableConsolePortTemplate_ComputedFields defines model for WritableConsolePortTemplate.ComputedFields. -type WritableConsolePortTemplate_ComputedFields struct { +// WritableConsoleServerPortRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableConsoleServerPortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device openapi_types.UUID `json:"device"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableConsoleServerPortRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableConsoleServerPortRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableConsoleServerPortRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + + // Type Physical port type + Type *WritableConsoleServerPortRequest_Type `json:"type,omitempty"` +} + +// WritableConsoleServerPortRequest_Relationships_Destination_Objects_Item defines model for WritableConsoleServerPortRequest.relationships.destination.objects.Item. +type WritableConsoleServerPortRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableConsolePortTemplate_CustomFields defines model for WritableConsolePortTemplate.CustomFields. -type WritableConsolePortTemplate_CustomFields struct { +// WritableConsoleServerPortRequest_Relationships_Peer_Objects_Item defines model for WritableConsoleServerPortRequest.relationships.peer.objects.Item. +type WritableConsoleServerPortRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableConsoleServerPort struct { - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *WritableConsoleServerPort_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - ComputedFields *WritableConsoleServerPort_ComputedFields `json:"computed_fields,omitempty"` - ConnectedEndpoint *WritableConsoleServerPort_ConnectedEndpoint `json:"connected_endpoint"` - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` - ConnectedEndpointType *string `json:"connected_endpoint_type"` - CustomFields *WritableConsoleServerPort_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Device openapi_types.UUID `json:"device"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - - // Physical port type - Type *interface{} `json:"type,omitempty"` - Url *string `json:"url,omitempty"` -} - -// WritableConsoleServerPort_CablePeer defines model for WritableConsoleServerPort.CablePeer. -type WritableConsoleServerPort_CablePeer struct { +// WritableConsoleServerPortRequest_Relationships_Source_Objects_Item defines model for WritableConsoleServerPortRequest.relationships.source.objects.Item. +type WritableConsoleServerPortRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableConsoleServerPort_ComputedFields defines model for WritableConsoleServerPort.ComputedFields. -type WritableConsoleServerPort_ComputedFields struct { +// WritableConsoleServerPortRequest_Type Physical port type +type WritableConsoleServerPortRequest_Type struct { + union json.RawMessage +} + +// WritableConsoleServerPortTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableConsoleServerPortTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType openapi_types.UUID `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *WritableConsoleServerPortTemplateRequest_Type `json:"type,omitempty"` +} + +// WritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item defines model for WritableConsoleServerPortTemplateRequest.relationships.destination.objects.Item. +type WritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableConsoleServerPort_ConnectedEndpoint defines model for WritableConsoleServerPort.ConnectedEndpoint. -type WritableConsoleServerPort_ConnectedEndpoint struct { +// WritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item defines model for WritableConsoleServerPortTemplateRequest.relationships.peer.objects.Item. +type WritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableConsoleServerPort_CustomFields defines model for WritableConsoleServerPort.CustomFields. -type WritableConsoleServerPort_CustomFields struct { +// WritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item defines model for WritableConsoleServerPortTemplateRequest.relationships.source.objects.Item. +type WritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableConsoleServerPortTemplate struct { - CustomFields *WritableConsoleServerPortTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceType openapi_types.UUID `json:"device_type"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` - Type *interface{} `json:"type,omitempty"` - Url *string `json:"url,omitempty"` +// WritableConsoleServerPortTemplateRequest_Type defines model for WritableConsoleServerPortTemplateRequest.Type. +type WritableConsoleServerPortTemplateRequest_Type struct { + union json.RawMessage } -// WritableConsoleServerPortTemplate_CustomFields defines model for WritableConsoleServerPortTemplate.CustomFields. -type WritableConsoleServerPortTemplate_CustomFields struct { +// WritableContactLCMRequest API serializer. +type WritableContactLCMRequest struct { + Address *string `json:"address,omitempty"` + Comments *string `json:"comments,omitempty"` + Contract *openapi_types.UUID `json:"contract"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + Name *string `json:"name"` + Phone *string `json:"phone,omitempty"` + Priority *int `json:"priority,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableContactLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableContactLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableContactLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// WritableContactLCMRequest_Relationships_Destination_Objects_Item defines model for WritableContactLCMRequest.relationships.destination.objects.Item. +type WritableContactLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// API serializer. -type WritableContactLCM struct { - Address *string `json:"address,omitempty"` - Comments *string `json:"comments,omitempty"` - Contract *openapi_types.UUID `json:"contract"` - CustomFields *WritableContactLCM_CustomFields `json:"custom_fields,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Email *openapi_types.Email `json:"email,omitempty"` - Name *string `json:"name"` - Phone *string `json:"phone,omitempty"` - Priority *int `json:"priority,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` -} - -// WritableContactLCM_CustomFields defines model for WritableContactLCM.CustomFields. -type WritableContactLCM_CustomFields struct { +// WritableContactLCMRequest_Relationships_Peer_Objects_Item defines model for WritableContactLCMRequest.relationships.peer.objects.Item. +type WritableContactLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// API serializer. -type WritableContractLCM struct { - ContractType *string `json:"contract_type"` - Cost *string `json:"cost"` - CustomFields *WritableContractLCM_CustomFields `json:"custom_fields,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - End *openapi_types.Date `json:"end"` - Expired *string `json:"expired,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Name string `json:"name"` - Provider *openapi_types.UUID `json:"provider"` - Start *openapi_types.Date `json:"start"` - SupportLevel *string `json:"support_level"` - Tags *[]TagSerializerField `json:"tags,omitempty"` -} - -// WritableContractLCM_CustomFields defines model for WritableContractLCM.CustomFields. -type WritableContractLCM_CustomFields struct { +// WritableContactLCMRequest_Relationships_Source_Objects_Item defines model for WritableContactLCMRequest.relationships.source.objects.Item. +type WritableContactLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// WritableContractLCMRequest API serializer. +type WritableContractLCMRequest struct { + ContractType *string `json:"contract_type"` + Cost *string `json:"cost"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + End *openapi_types.Date `json:"end"` + Name string `json:"name"` + Provider *openapi_types.UUID `json:"provider"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableContractLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableContractLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableContractLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Start *openapi_types.Date `json:"start"` + SupportLevel *string `json:"support_level"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// WritableContractLCMRequest_Relationships_Destination_Objects_Item defines model for WritableContractLCMRequest.relationships.destination.objects.Item. +type WritableContractLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableContractLCMRequest_Relationships_Peer_Objects_Item defines model for WritableContractLCMRequest.relationships.peer.objects.Item. +type WritableContractLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableContractLCMRequest_Relationships_Source_Objects_Item defines model for WritableContractLCMRequest.relationships.source.objects.Item. +type WritableContractLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableCustomFieldChoiceRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type WritableCustomField struct { - ContentTypes []string `json:"content_types"` +type WritableCustomFieldChoiceRequest struct { + Field openapi_types.UUID `json:"field"` + Value string `json:"value"` - // Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo"). - Default *WritableCustomField_Default `json:"default"` - - // A helpful description for this field. - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - - // Loose matches any instance of a given string; Exact matches the entire field. - FilterLogic *struct { - // Embedded struct due to allOf(#/components/schemas/FilterLogicEnum) - FilterLogicEnum `yaml:",inline"` - } `json:"filter_logic,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Name of the field as displayed to users (if not provided, the field's slug will be used.) - Label *string `json:"label,omitempty"` - - // URL-friendly unique shorthand. - Name string `json:"name"` - - // If true, this field is required when creating new objects or editing an existing object. - Required *bool `json:"required,omitempty"` - - // The type of value(s) allowed for this field. - Type *struct { - // Embedded struct due to allOf(#/components/schemas/CustomFieldTypeChoices) - CustomFieldTypeChoices `yaml:",inline"` - } `json:"type,omitempty"` - Url *string `json:"url,omitempty"` - - // Maximum allowed value (for numeric fields). - ValidationMaximum *int64 `json:"validation_maximum"` - - // Minimum allowed value (for numeric fields). - ValidationMinimum *int64 `json:"validation_minimum"` - - // Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters. Regular expression on select and multi-select will be applied at Custom Field Choices definition. - ValidationRegex *string `json:"validation_regex,omitempty"` - - // Fields with higher weights appear lower in a form. + // Weight Higher weights appear later in the list Weight *int `json:"weight,omitempty"` } -// Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. "Foo"). -type WritableCustomField_Default struct { +// WritableDeviceBayRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableDeviceBayRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device openapi_types.UUID `json:"device"` + InstalledDevice *openapi_types.UUID `json:"installed_device"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableDeviceBayRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableDeviceBayRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableDeviceBayRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// WritableDeviceBayRequest_Relationships_Destination_Objects_Item defines model for WritableDeviceBayRequest.relationships.destination.objects.Item. +type WritableDeviceBayRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during -// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type WritableCustomFieldChoice struct { - // Human friendly display value - Display *string `json:"display,omitempty"` - Field openapi_types.UUID `json:"field"` - Id *openapi_types.UUID `json:"id,omitempty"` - Url *string `json:"url,omitempty"` - Value string `json:"value"` - - // Higher weights appear later in the list - Weight *int `json:"weight,omitempty"` -} - -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableDeviceBay struct { - ComputedFields *WritableDeviceBay_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *WritableDeviceBay_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Device openapi_types.UUID `json:"device"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - InstalledDevice *openapi_types.UUID `json:"installed_device"` - - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` -} - -// WritableDeviceBay_ComputedFields defines model for WritableDeviceBay.ComputedFields. -type WritableDeviceBay_ComputedFields struct { +// WritableDeviceBayRequest_Relationships_Peer_Objects_Item defines model for WritableDeviceBayRequest.relationships.peer.objects.Item. +type WritableDeviceBayRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableDeviceBay_CustomFields defines model for WritableDeviceBay.CustomFields. -type WritableDeviceBay_CustomFields struct { +// WritableDeviceBayRequest_Relationships_Source_Objects_Item defines model for WritableDeviceBayRequest.relationships.source.objects.Item. +type WritableDeviceBayRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableDeviceBayTemplate struct { - ComputedFields *WritableDeviceBayTemplate_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *WritableDeviceBayTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceType openapi_types.UUID `json:"device_type"` +// WritableDeviceBayTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableDeviceBayTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType openapi_types.UUID `json:"device_type"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` - Url *string `json:"url,omitempty"` + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` } -// WritableDeviceBayTemplate_ComputedFields defines model for WritableDeviceBayTemplate.ComputedFields. -type WritableDeviceBayTemplate_ComputedFields struct { +// WritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item defines model for WritableDeviceBayTemplateRequest.relationships.destination.objects.Item. +type WritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableDeviceBayTemplate_CustomFields defines model for WritableDeviceBayTemplate.CustomFields. -type WritableDeviceBayTemplate_CustomFields struct { +// WritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item defines model for WritableDeviceBayTemplateRequest.relationships.peer.objects.Item. +type WritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableDeviceType struct { - Comments *string `json:"comments,omitempty"` - ComputedFields *WritableDeviceType_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritableDeviceType_CustomFields `json:"custom_fields,omitempty"` - DeviceCount *int `json:"device_count,omitempty"` +// WritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item defines model for WritableDeviceBayTemplateRequest.relationships.source.objects.Item. +type WritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Human friendly display value - Display *string `json:"display,omitempty"` - FrontImage *string `json:"front_image,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` +// WritableDeviceRedundancyGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableDeviceRedundancyGroupRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + FailoverStrategy *WritableDeviceRedundancyGroupRequest_FailoverStrategy `json:"failover_strategy,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + SecretsGroup *openapi_types.UUID `json:"secrets_group"` + Slug *string `json:"slug,omitempty"` + Status LocationStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} - // Device consumes both front and rear rack faces +// WritableDeviceRedundancyGroupRequest_FailoverStrategy defines model for WritableDeviceRedundancyGroupRequest.FailoverStrategy. +type WritableDeviceRedundancyGroupRequest_FailoverStrategy struct { + union json.RawMessage +} + +// WritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item defines model for WritableDeviceRedundancyGroupRequest.relationships.destination.objects.Item. +type WritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item defines model for WritableDeviceRedundancyGroupRequest.relationships.peer.objects.Item. +type WritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item defines model for WritableDeviceRedundancyGroupRequest.relationships.source.objects.Item. +type WritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableDeviceTypeRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableDeviceTypeRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + FrontImage *openapi_types.File `json:"front_image,omitempty"` + + // IsFullDepth Device consumes both front and rear rack faces IsFullDepth *bool `json:"is_full_depth,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` Manufacturer openapi_types.UUID `json:"manufacturer"` Model string `json:"model"` - // Discrete part number (optional) - PartNumber *string `json:"part_number,omitempty"` - RearImage *string `json:"rear_image,omitempty"` - Slug *string `json:"slug,omitempty"` + // PartNumber Discrete part number (optional) + PartNumber *string `json:"part_number,omitempty"` + RearImage *openapi_types.File `json:"rear_image,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableDeviceTypeRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableDeviceTypeRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableDeviceTypeRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` - // Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. - SubdeviceRole *interface{} `json:"subdevice_role,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - UHeight *int `json:"u_height,omitempty"` - Url *string `json:"url,omitempty"` + // SubdeviceRole Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. + SubdeviceRole *WritableDeviceTypeRequest_SubdeviceRole `json:"subdevice_role,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + UHeight *int `json:"u_height,omitempty"` } -// WritableDeviceType_ComputedFields defines model for WritableDeviceType.ComputedFields. -type WritableDeviceType_ComputedFields struct { +// WritableDeviceTypeRequest_Relationships_Destination_Objects_Item defines model for WritableDeviceTypeRequest.relationships.destination.objects.Item. +type WritableDeviceTypeRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableDeviceType_CustomFields defines model for WritableDeviceType.CustomFields. -type WritableDeviceType_CustomFields struct { +// WritableDeviceTypeRequest_Relationships_Peer_Objects_Item defines model for WritableDeviceTypeRequest.relationships.peer.objects.Item. +type WritableDeviceTypeRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Mixin to add `status` choice field to model serializers. -type WritableDeviceWithConfigContext struct { - // A unique tag used to identify this device - AssetTag *string `json:"asset_tag"` - Cluster *openapi_types.UUID `json:"cluster"` - Comments *string `json:"comments,omitempty"` - ComputedFields *WritableDeviceWithConfigContext_ComputedFields `json:"computed_fields,omitempty"` - ConfigContext *WritableDeviceWithConfigContext_ConfigContext `json:"config_context,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritableDeviceWithConfigContext_CustomFields `json:"custom_fields,omitempty"` - DeviceRole openapi_types.UUID `json:"device_role"` - DeviceType openapi_types.UUID `json:"device_type"` +// WritableDeviceTypeRequest_Relationships_Source_Objects_Item defines model for WritableDeviceTypeRequest.relationships.source.objects.Item. +type WritableDeviceTypeRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Human friendly display value - Display *string `json:"display,omitempty"` - Face *interface{} `json:"face,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LocalContextData *WritableDeviceWithConfigContext_LocalContextData `json:"local_context_data"` +// WritableDeviceTypeRequest_SubdeviceRole Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. +type WritableDeviceTypeRequest_SubdeviceRole struct { + union json.RawMessage +} - // Optional schema to validate the structure of the data +// WritableDeviceWithConfigContextRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableDeviceWithConfigContextRequest struct { + // AssetTag A unique tag used to identify this device + AssetTag *string `json:"asset_tag"` + Cluster *openapi_types.UUID `json:"cluster"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DeviceRedundancyGroup *openapi_types.UUID `json:"device_redundancy_group"` + + // DeviceRedundancyGroupPriority The priority the device has in the device redundancy group. + DeviceRedundancyGroupPriority *int `json:"device_redundancy_group_priority"` + DeviceRole openapi_types.UUID `json:"device_role"` + DeviceType openapi_types.UUID `json:"device_type"` + Face *WritableDeviceWithConfigContextRequest_Face `json:"face,omitempty"` + LocalContextData *map[string]interface{} `json:"local_context_data"` + + // LocalContextSchema Optional schema to validate the structure of the data LocalContextSchema *openapi_types.UUID `json:"local_context_schema"` + Location *openapi_types.UUID `json:"location"` Name *string `json:"name"` - ParentDevice *struct { - // Embedded struct due to allOf(#/components/schemas/NestedDevice) - NestedDevice `yaml:",inline"` - } `json:"parent_device,omitempty"` - Platform *openapi_types.UUID `json:"platform"` + Platform *openapi_types.UUID `json:"platform"` - // The lowest-numbered unit occupied by the device - Position *int `json:"position"` - PrimaryIp *struct { - // Embedded struct due to allOf(#/components/schemas/NestedIPAddress) - NestedIPAddress `yaml:",inline"` - } `json:"primary_ip,omitempty"` - PrimaryIp4 *openapi_types.UUID `json:"primary_ip4"` - PrimaryIp6 *openapi_types.UUID `json:"primary_ip6"` - Rack *openapi_types.UUID `json:"rack"` - SecretsGroup *openapi_types.UUID `json:"secrets_group"` - Serial *string `json:"serial,omitempty"` - Site openapi_types.UUID `json:"site"` - Status WritableDeviceWithConfigContextStatusEnum `json:"status"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Url *string `json:"url,omitempty"` - VcPosition *int `json:"vc_position"` - VcPriority *int `json:"vc_priority"` - VirtualChassis *openapi_types.UUID `json:"virtual_chassis"` + // Position The lowest-numbered unit occupied by the device + Position *int `json:"position"` + PrimaryIp4 *openapi_types.UUID `json:"primary_ip4"` + PrimaryIp6 *openapi_types.UUID `json:"primary_ip6"` + Rack *openapi_types.UUID `json:"rack"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + SecretsGroup *openapi_types.UUID `json:"secrets_group"` + Serial *string `json:"serial,omitempty"` + Site openapi_types.UUID `json:"site"` + Status DeviceStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + VcPosition *int `json:"vc_position"` + VcPriority *int `json:"vc_priority"` + VirtualChassis *openapi_types.UUID `json:"virtual_chassis"` } -// WritableDeviceWithConfigContext_ComputedFields defines model for WritableDeviceWithConfigContext.ComputedFields. -type WritableDeviceWithConfigContext_ComputedFields struct { +// WritableDeviceWithConfigContextRequest_Face defines model for WritableDeviceWithConfigContextRequest.Face. +type WritableDeviceWithConfigContextRequest_Face struct { + union json.RawMessage +} + +// WritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item defines model for WritableDeviceWithConfigContextRequest.relationships.destination.objects.Item. +type WritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableDeviceWithConfigContext_ConfigContext defines model for WritableDeviceWithConfigContext.ConfigContext. -type WritableDeviceWithConfigContext_ConfigContext struct { +// WritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item defines model for WritableDeviceWithConfigContextRequest.relationships.peer.objects.Item. +type WritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableDeviceWithConfigContext_CustomFields defines model for WritableDeviceWithConfigContext.CustomFields. -type WritableDeviceWithConfigContext_CustomFields struct { +// WritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item defines model for WritableDeviceWithConfigContextRequest.relationships.source.objects.Item. +type WritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableDeviceWithConfigContext_LocalContextData defines model for WritableDeviceWithConfigContext.LocalContextData. -type WritableDeviceWithConfigContext_LocalContextData struct { +// WritableDynamicGroupMembershipRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type WritableDynamicGroupMembershipRequest struct { + Group openapi_types.UUID `json:"group"` + Operator OperatorEnum `json:"operator"` + ParentGroup openapi_types.UUID `json:"parent_group"` + Weight int `json:"weight"` +} + +// WritableFQDNRequest FQDN Serializer. +type WritableFQDNRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Name Resolvable fully qualified domain name (e.g. networktocode.com) + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableFQDNRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableFQDNRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableFQDNRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// WritableFQDNRequest_Relationships_Destination_Objects_Item defines model for WritableFQDNRequest.relationships.destination.objects.Item. +type WritableFQDNRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableDeviceWithConfigContextStatusEnum defines model for WritableDeviceWithConfigContextStatusEnum. -type WritableDeviceWithConfigContextStatusEnum string - -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableFrontPort struct { - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *WritableFrontPort_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - ComputedFields *WritableFrontPort_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *WritableFrontPort_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Device openapi_types.UUID `json:"device"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` - RearPort openapi_types.UUID `json:"rear_port"` - RearPortPosition *int `json:"rear_port_position,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Type PortTypeChoices `json:"type"` - Url *string `json:"url,omitempty"` -} - -// WritableFrontPort_CablePeer defines model for WritableFrontPort.CablePeer. -type WritableFrontPort_CablePeer struct { +// WritableFQDNRequest_Relationships_Peer_Objects_Item defines model for WritableFQDNRequest.relationships.peer.objects.Item. +type WritableFQDNRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableFrontPort_ComputedFields defines model for WritableFrontPort.ComputedFields. -type WritableFrontPort_ComputedFields struct { +// WritableFQDNRequest_Relationships_Source_Objects_Item defines model for WritableFQDNRequest.relationships.source.objects.Item. +type WritableFQDNRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableFrontPort_CustomFields defines model for WritableFrontPort.CustomFields. -type WritableFrontPort_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` -} +// WritableFrontPortRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableFrontPortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device openapi_types.UUID `json:"device"` -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableFrontPortTemplate struct { - ComputedFields *WritableFrontPortTemplate_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *WritableFrontPortTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceType openapi_types.UUID `json:"device_type"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label + // Label Physical label Label *string `json:"label,omitempty"` Name string `json:"name"` RearPort openapi_types.UUID `json:"rear_port"` RearPortPosition *int `json:"rear_port_position,omitempty"` - Type PortTypeChoices `json:"type"` - Url *string `json:"url,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableFrontPortRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableFrontPortRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableFrontPortRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type PortTypeChoices `json:"type"` } -// WritableFrontPortTemplate_ComputedFields defines model for WritableFrontPortTemplate.ComputedFields. -type WritableFrontPortTemplate_ComputedFields struct { +// WritableFrontPortRequest_Relationships_Destination_Objects_Item defines model for WritableFrontPortRequest.relationships.destination.objects.Item. +type WritableFrontPortRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableFrontPortTemplate_CustomFields defines model for WritableFrontPortTemplate.CustomFields. -type WritableFrontPortTemplate_CustomFields struct { +// WritableFrontPortRequest_Relationships_Peer_Objects_Item defines model for WritableFrontPortRequest.relationships.peer.objects.Item. +type WritableFrontPortRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Git repositories defined as a data source. -type WritableGitRepository struct { - Branch *string `json:"branch,omitempty"` - ComputedFields *WritableGitRepository_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` +// WritableFrontPortRequest_Relationships_Source_Objects_Item defines model for WritableFrontPortRequest.relationships.source.objects.Item. +type WritableFrontPortRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Commit hash of the most recent fetch from the selected branch. Used for syncing between workers. - CurrentHead *string `json:"current_head,omitempty"` - CustomFields *WritableGitRepository_CustomFields `json:"custom_fields,omitempty"` +// WritableFrontPortTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableFrontPortTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType openapi_types.UUID `json:"device_type"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name string `json:"name"` - ProvidedContents *[]interface{} `json:"provided_contents,omitempty"` + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + RearPort openapi_types.UUID `json:"rear_port"` + RearPortPosition *int `json:"rear_port_position,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableFrontPortTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type PortTypeChoices `json:"type"` +} - // Only HTTP and HTTPS URLs are presently supported +// WritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item defines model for WritableFrontPortTemplateRequest.relationships.destination.objects.Item. +type WritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item defines model for WritableFrontPortTemplateRequest.relationships.peer.objects.Item. +type WritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableFrontPortTemplateRequest_Relationships_Source_Objects_Item defines model for WritableFrontPortTemplateRequest.relationships.source.objects.Item. +type WritableFrontPortTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableGitRepositoryRequest Git repositories defined as a data source. +type WritableGitRepositoryRequest struct { + Branch *string `json:"branch,omitempty"` + + // CurrentHead Commit hash of the most recent fetch from the selected branch. Used for syncing between workers. + CurrentHead *string `json:"current_head,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Name string `json:"name"` + ProvidedContents *[]WritableGitRepositoryRequest_ProvidedContents_Item `json:"provided_contents,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableGitRepositoryRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableGitRepositoryRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableGitRepositoryRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // RemoteUrl Only HTTP and HTTPS URLs are presently supported RemoteUrl string `json:"remote_url"` SecretsGroup *openapi_types.UUID `json:"secrets_group"` Slug *string `json:"slug,omitempty"` Token *string `json:"token,omitempty"` - Url *string `json:"url,omitempty"` Username *string `json:"username,omitempty"` } -// WritableGitRepository_ComputedFields defines model for WritableGitRepository.ComputedFields. -type WritableGitRepository_ComputedFields struct { +// WritableGitRepositoryRequest_ProvidedContents_Item defines model for WritableGitRepositoryRequest.provided_contents.Item. +type WritableGitRepositoryRequest_ProvidedContents_Item struct { + union json.RawMessage +} + +// WritableGitRepositoryRequest_Relationships_Destination_Objects_Item defines model for WritableGitRepositoryRequest.relationships.destination.objects.Item. +type WritableGitRepositoryRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableGitRepository_CustomFields defines model for WritableGitRepository.CustomFields. -type WritableGitRepository_CustomFields struct { +// WritableGitRepositoryRequest_Relationships_Peer_Objects_Item defines model for WritableGitRepositoryRequest.relationships.peer.objects.Item. +type WritableGitRepositoryRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// API serializer. -type WritableHardwareLCM struct { - CustomFields *WritableHardwareLCM_CustomFields `json:"custom_fields,omitempty"` - DeviceType *openapi_types.UUID `json:"device_type"` - - // Devices tied to Device Type - Devices *[]NestedDevice `json:"devices,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - DocumentationUrl *string `json:"documentation_url,omitempty"` - EndOfSale *openapi_types.Date `json:"end_of_sale"` - EndOfSecurityPatches *openapi_types.Date `json:"end_of_security_patches"` - EndOfSupport *openapi_types.Date `json:"end_of_support"` - EndOfSwReleases *openapi_types.Date `json:"end_of_sw_releases"` - Expired *string `json:"expired,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - InventoryItem *string `json:"inventory_item"` - ReleaseDate *openapi_types.Date `json:"release_date"` - Tags *[]TagSerializerField `json:"tags,omitempty"` -} - -// WritableHardwareLCM_CustomFields defines model for WritableHardwareLCM.CustomFields. -type WritableHardwareLCM_CustomFields struct { +// WritableGitRepositoryRequest_Relationships_Source_Objects_Item defines model for WritableGitRepositoryRequest.relationships.source.objects.Item. +type WritableGitRepositoryRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Mixin to add `status` choice field to model serializers. -type WritableIPAddress struct { - Address string `json:"address"` - AssignedObject *WritableIPAddress_AssignedObject `json:"assigned_object"` - AssignedObjectId *openapi_types.UUID `json:"assigned_object_id"` - AssignedObjectType *string `json:"assigned_object_type"` - ComputedFields *WritableIPAddress_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritableIPAddress_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` +// WritableGoldenConfigSettingRequest Serializer for GoldenConfigSetting object. +type WritableGoldenConfigSettingRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` + // BackupPathTemplate The Jinja path representation of where the backup file will be found. The variable `obj` is available as the device instance object of a given device, as is the case for all Jinja templates. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + BackupPathTemplate *string `json:"backup_path_template,omitempty"` + BackupRepository *openapi_types.UUID `json:"backup_repository"` - // Hostname or FQDN (not case-sensitive) + // BackupTestConnectivity Whether or not to pretest the connectivity of the device by verifying there is a resolvable IP that can connect to port 22. + BackupTestConnectivity *bool `json:"backup_test_connectivity,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DynamicGroup openapi_types.UUID `json:"dynamic_group"` + + // IntendedPathTemplate The Jinja path representation of where the generated file will be places. e.g. `{{obj.site.slug}}/{{obj.name}}.cfg` + IntendedPathTemplate *string `json:"intended_path_template,omitempty"` + IntendedRepository *openapi_types.UUID `json:"intended_repository"` + + // JinjaPathTemplate The Jinja path representation of where the Jinja template can be found. e.g. `{{obj.platform.slug}}.j2` + JinjaPathTemplate *string `json:"jinja_path_template,omitempty"` + JinjaRepository *openapi_types.UUID `json:"jinja_repository"` + Name string `json:"name"` + Scope *map[string]interface{} `json:"scope,omitempty"` + Slug string `json:"slug"` + SotAggQuery *openapi_types.UUID `json:"sot_agg_query"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Weight *int `json:"weight,omitempty"` +} + +// WritableHardwareLCMRequest API serializer. +type WritableHardwareLCMRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DeviceType *openapi_types.UUID `json:"device_type"` + DocumentationUrl *string `json:"documentation_url,omitempty"` + EndOfSale *openapi_types.Date `json:"end_of_sale"` + EndOfSecurityPatches *openapi_types.Date `json:"end_of_security_patches"` + EndOfSupport *openapi_types.Date `json:"end_of_support"` + EndOfSwReleases *openapi_types.Date `json:"end_of_sw_releases"` + InventoryItem *string `json:"inventory_item"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableHardwareLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableHardwareLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableHardwareLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ReleaseDate *openapi_types.Date `json:"release_date"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// WritableHardwareLCMRequest_Relationships_Destination_Objects_Item defines model for WritableHardwareLCMRequest.relationships.destination.objects.Item. +type WritableHardwareLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableHardwareLCMRequest_Relationships_Peer_Objects_Item defines model for WritableHardwareLCMRequest.relationships.peer.objects.Item. +type WritableHardwareLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableHardwareLCMRequest_Relationships_Source_Objects_Item defines model for WritableHardwareLCMRequest.relationships.source.objects.Item. +type WritableHardwareLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableIPAddressRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableIPAddressRequest struct { + Address string `json:"address"` + AssignedObjectId *openapi_types.UUID `json:"assigned_object_id"` + AssignedObjectType *string `json:"assigned_object_type"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // DnsName Hostname or FQDN (not case-sensitive) DnsName *string `json:"dns_name,omitempty"` - Family *struct { - // Embedded struct due to allOf(#/components/schemas/FamilyEnum) - FamilyEnum `yaml:",inline"` - } `json:"family,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - // The IP Addresses for which this address is the "outside" IP - NatInside *openapi_types.UUID `json:"nat_inside"` - NatOutside *[]NestedIPAddress `json:"nat_outside,omitempty"` + // NatInside The IP Addresses for which this address is the "outside" IP + NatInside *openapi_types.UUID `json:"nat_inside"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableIPAddressRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableIPAddressRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableIPAddressRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` - // The functional role of this IP - Role *interface{} `json:"role,omitempty"` - Status WritableIPAddressStatusEnum `json:"status"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Url *string `json:"url,omitempty"` - Vrf *openapi_types.UUID `json:"vrf"` + // Role The functional role of this IP + Role *WritableIPAddressRequest_Role `json:"role,omitempty"` + Status IPAddressStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + Vrf *openapi_types.UUID `json:"vrf"` } -// WritableIPAddress_AssignedObject defines model for WritableIPAddress.AssignedObject. -type WritableIPAddress_AssignedObject struct { +// WritableIPAddressRequest_Relationships_Destination_Objects_Item defines model for WritableIPAddressRequest.relationships.destination.objects.Item. +type WritableIPAddressRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableIPAddress_ComputedFields defines model for WritableIPAddress.ComputedFields. -type WritableIPAddress_ComputedFields struct { +// WritableIPAddressRequest_Relationships_Peer_Objects_Item defines model for WritableIPAddressRequest.relationships.peer.objects.Item. +type WritableIPAddressRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableIPAddress_CustomFields defines model for WritableIPAddress.CustomFields. -type WritableIPAddress_CustomFields struct { +// WritableIPAddressRequest_Relationships_Source_Objects_Item defines model for WritableIPAddressRequest.relationships.source.objects.Item. +type WritableIPAddressRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableIPAddressStatusEnum defines model for WritableIPAddressStatusEnum. -type WritableIPAddressStatusEnum string +// WritableIPAddressRequest_Role The functional role of this IP +type WritableIPAddressRequest_Role struct { + union json.RawMessage +} -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableInterface struct { - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *WritableInterface_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - ComputedFields *WritableInterface_ComputedFields `json:"computed_fields,omitempty"` - ConnectedEndpoint *WritableInterface_ConnectedEndpoint `json:"connected_endpoint"` - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` - ConnectedEndpointType *string `json:"connected_endpoint_type"` - CountIpaddresses *int `json:"count_ipaddresses,omitempty"` - CustomFields *WritableInterface_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Device openapi_types.UUID `json:"device"` +// WritableInterfaceRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableInterfaceRequest struct { + // Bridge Assigned bridge interface + Bridge *openapi_types.UUID `json:"bridge"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device openapi_types.UUID `json:"device"` + Enabled *bool `json:"enabled,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` + // Label Physical label + Label *string `json:"label,omitempty"` - // Physical label - Label *string `json:"label,omitempty"` + // Lag Assigned LAG interface Lag *openapi_types.UUID `json:"lag"` MacAddress *string `json:"mac_address"` - // This interface is used only for out-of-band management - MgmtOnly *bool `json:"mgmt_only,omitempty"` - Mode *interface{} `json:"mode,omitempty"` - Mtu *int `json:"mtu"` - Name string `json:"name"` - TaggedVlans *[]openapi_types.UUID `json:"tagged_vlans,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Type InterfaceTypeChoices `json:"type"` - UntaggedVlan *openapi_types.UUID `json:"untagged_vlan"` - Url *string `json:"url,omitempty"` + // MgmtOnly This interface is used only for out-of-band management + MgmtOnly *bool `json:"mgmt_only,omitempty"` + Mode *WritableInterfaceRequest_Mode `json:"mode,omitempty"` + Mtu *int `json:"mtu"` + Name string `json:"name"` + + // ParentInterface Assigned parent interface + ParentInterface *openapi_types.UUID `json:"parent_interface"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableInterfaceRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableInterfaceRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableInterfaceRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status InterfaceStatusChoices `json:"status"` + TaggedVlans *[]openapi_types.UUID `json:"tagged_vlans,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type InterfaceTypeChoices `json:"type"` + UntaggedVlan *openapi_types.UUID `json:"untagged_vlan"` } -// WritableInterface_CablePeer defines model for WritableInterface.CablePeer. -type WritableInterface_CablePeer struct { +// WritableInterfaceRequest_Mode defines model for WritableInterfaceRequest.Mode. +type WritableInterfaceRequest_Mode struct { + union json.RawMessage +} + +// WritableInterfaceRequest_Relationships_Destination_Objects_Item defines model for WritableInterfaceRequest.relationships.destination.objects.Item. +type WritableInterfaceRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableInterface_ComputedFields defines model for WritableInterface.ComputedFields. -type WritableInterface_ComputedFields struct { +// WritableInterfaceRequest_Relationships_Peer_Objects_Item defines model for WritableInterfaceRequest.relationships.peer.objects.Item. +type WritableInterfaceRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableInterface_ConnectedEndpoint defines model for WritableInterface.ConnectedEndpoint. -type WritableInterface_ConnectedEndpoint struct { +// WritableInterfaceRequest_Relationships_Source_Objects_Item defines model for WritableInterfaceRequest.relationships.source.objects.Item. +type WritableInterfaceRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableInterface_CustomFields defines model for WritableInterface.CustomFields. -type WritableInterface_CustomFields struct { +// WritableInterfaceTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableInterfaceTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType openapi_types.UUID `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + MgmtOnly *bool `json:"mgmt_only,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableInterfaceTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type InterfaceTypeChoices `json:"type"` +} + +// WritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item defines model for WritableInterfaceTemplateRequest.relationships.destination.objects.Item. +type WritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableInterfaceTemplate struct { - ComputedFields *WritableInterfaceTemplate_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *WritableInterfaceTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceType openapi_types.UUID `json:"device_type"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - MgmtOnly *bool `json:"mgmt_only,omitempty"` - Name string `json:"name"` - Type InterfaceTypeChoices `json:"type"` - Url *string `json:"url,omitempty"` -} - -// WritableInterfaceTemplate_ComputedFields defines model for WritableInterfaceTemplate.ComputedFields. -type WritableInterfaceTemplate_ComputedFields struct { +// WritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item defines model for WritableInterfaceTemplateRequest.relationships.peer.objects.Item. +type WritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableInterfaceTemplate_CustomFields defines model for WritableInterfaceTemplate.CustomFields. -type WritableInterfaceTemplate_CustomFields struct { +// WritableInterfaceTemplateRequest_Relationships_Source_Objects_Item defines model for WritableInterfaceTemplateRequest.relationships.source.objects.Item. +type WritableInterfaceTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableInventoryItem struct { - Depth *int `json:"_depth,omitempty"` +// WritableInventoryItemRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableInventoryItemRequest struct { + // AssetTag A unique tag used to identify this item + AssetTag *string `json:"asset_tag"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device openapi_types.UUID `json:"device"` - // A unique tag used to identify this item - AssetTag *string `json:"asset_tag"` - ComputedFields *WritableInventoryItem_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *WritableInventoryItem_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Device openapi_types.UUID `json:"device"` - - // This item was automatically discovered + // Discovered This item was automatically discovered Discovered *bool `json:"discovered,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label + // Label Physical label Label *string `json:"label,omitempty"` Manufacturer *openapi_types.UUID `json:"manufacturer"` Name string `json:"name"` Parent *openapi_types.UUID `json:"parent"` - // Manufacturer-assigned part identifier - PartId *string `json:"part_id,omitempty"` - Serial *string `json:"serial,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` + // PartId Manufacturer-assigned part identifier + PartId *string `json:"part_id,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableInventoryItemRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableInventoryItemRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableInventoryItemRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Serial *string `json:"serial,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// WritableInventoryItem_ComputedFields defines model for WritableInventoryItem.ComputedFields. -type WritableInventoryItem_ComputedFields struct { +// WritableInventoryItemRequest_Relationships_Destination_Objects_Item defines model for WritableInventoryItemRequest.relationships.destination.objects.Item. +type WritableInventoryItemRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableInventoryItem_CustomFields defines model for WritableInventoryItem.CustomFields. -type WritableInventoryItem_CustomFields struct { +// WritableInventoryItemRequest_Relationships_Peer_Objects_Item defines model for WritableInventoryItemRequest.relationships.peer.objects.Item. +type WritableInventoryItemRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// WritableInventoryItemRequest_Relationships_Source_Objects_Item defines model for WritableInventoryItemRequest.relationships.source.objects.Item. +type WritableInventoryItemRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableLocationRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableLocationRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + LocationType openapi_types.UUID `json:"location_type"` + Name string `json:"name"` + Parent *openapi_types.UUID `json:"parent"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableLocationRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableLocationRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableLocationRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Site *openapi_types.UUID `json:"site"` + Slug *string `json:"slug,omitempty"` + Status LocationStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` +} + +// WritableLocationRequest_Relationships_Destination_Objects_Item defines model for WritableLocationRequest.relationships.destination.objects.Item. +type WritableLocationRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableLocationRequest_Relationships_Peer_Objects_Item defines model for WritableLocationRequest.relationships.peer.objects.Item. +type WritableLocationRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableLocationRequest_Relationships_Source_Objects_Item defines model for WritableLocationRequest.relationships.source.objects.Item. +type WritableLocationRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableLocationTypeRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableLocationTypeRequest struct { + ContentTypes *[]string `json:"content_types,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + + // Nestable Allow Locations of this type to be parents/children of other Locations of this same type + Nestable *bool `json:"nestable,omitempty"` + Parent *openapi_types.UUID `json:"parent"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableLocationTypeRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableLocationTypeRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableLocationTypeRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// WritableLocationTypeRequest_Relationships_Destination_Objects_Item defines model for WritableLocationTypeRequest.relationships.destination.objects.Item. +type WritableLocationTypeRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableLocationTypeRequest_Relationships_Peer_Objects_Item defines model for WritableLocationTypeRequest.relationships.peer.objects.Item. +type WritableLocationTypeRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableLocationTypeRequest_Relationships_Source_Objects_Item defines model for WritableLocationTypeRequest.relationships.source.objects.Item. +type WritableLocationTypeRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableNATPolicyRuleRequest PolicyRule Serializer. +type WritableNATPolicyRuleRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description"` + + // DestinationZone Zone Serializer. + DestinationZone *ZoneRequest `json:"destination_zone,omitempty"` + Index *int `json:"index"` + Log *bool `json:"log,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableNATPolicyRuleRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Remark *bool `json:"remark,omitempty"` + RequestId *string `json:"request_id"` + + // SourceZone Zone Serializer. + SourceZone *ZoneRequest `json:"source_zone,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// WritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item defines model for WritableNATPolicyRuleRequest.relationships.destination.objects.Item. +type WritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item defines model for WritableNATPolicyRuleRequest.relationships.peer.objects.Item. +type WritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableNATPolicyRuleRequest_Relationships_Source_Objects_Item defines model for WritableNATPolicyRuleRequest.relationships.source.objects.Item. +type WritableNATPolicyRuleRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableObjectPermissionRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type WritableObjectPermission struct { - // The list of actions granted by this permission - Actions WritableObjectPermission_Actions `json:"actions"` +type WritableObjectPermissionRequest struct { + // Actions The list of actions granted by this permission + Actions map[string]interface{} `json:"actions"` - // Queryset filter matching the applicable objects of the selected type(s) - Constraints *WritableObjectPermission_Constraints `json:"constraints"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - Groups *[]int `json:"groups,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Name string `json:"name"` - ObjectTypes []string `json:"object_types"` - Url *string `json:"url,omitempty"` - Users *[]openapi_types.UUID `json:"users,omitempty"` + // Constraints Queryset filter matching the applicable objects of the selected type(s) + Constraints *map[string]interface{} `json:"constraints"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Groups *[]int `json:"groups,omitempty"` + Name string `json:"name"` + ObjectTypes []string `json:"object_types"` + Users *[]openapi_types.UUID `json:"users,omitempty"` } -// The list of actions granted by this permission -type WritableObjectPermission_Actions struct { - AdditionalProperties map[string]interface{} `json:"-"` +// WritablePeerEndpointRequest REST API serializer for PeerEndpoint records. +type WritablePeerEndpointRequest struct { + AutonomousSystem *openapi_types.UUID `json:"autonomous_system"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + ExportPolicy *string `json:"export_policy,omitempty"` + ImportPolicy *string `json:"import_policy,omitempty"` + Peer *openapi_types.UUID `json:"peer"` + PeerGroup *openapi_types.UUID `json:"peer_group"` + Peering openapi_types.UUID `json:"peering"` + RoutingInstance *openapi_types.UUID `json:"routing_instance"` + Secret *openapi_types.UUID `json:"secret"` + SourceInterface *openapi_types.UUID `json:"source_interface"` + SourceIp *openapi_types.UUID `json:"source_ip"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// Queryset filter matching the applicable objects of the selected type(s) -type WritableObjectPermission_Constraints struct { - AdditionalProperties map[string]interface{} `json:"-"` +// WritablePeerGroupRequest REST API serializer for PeerGroup records. +type WritablePeerGroupRequest struct { + AutonomousSystem *openapi_types.UUID `json:"autonomous_system"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + ExportPolicy *string `json:"export_policy,omitempty"` + ImportPolicy *string `json:"import_policy,omitempty"` + Name string `json:"name"` + Role *openapi_types.UUID `json:"role"` + RoutingInstance openapi_types.UUID `json:"routing_instance"` + Secret *openapi_types.UUID `json:"secret"` + SourceInterface *openapi_types.UUID `json:"source_interface"` + SourceIp *openapi_types.UUID `json:"source_ip"` + Template *openapi_types.UUID `json:"template"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritablePlatform struct { - ComputedFields *WritablePlatform_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritablePlatform_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceCount *int `json:"device_count,omitempty"` +// WritablePeerGroupTemplateRequest REST API serializer for PeerGroup records. +type WritablePeerGroupTemplateRequest struct { + AutonomousSystem *openapi_types.UUID `json:"autonomous_system"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + ExportPolicy *string `json:"export_policy,omitempty"` + ImportPolicy *string `json:"import_policy,omitempty"` + Name string `json:"name"` + Role *openapi_types.UUID `json:"role"` + Secret *openapi_types.UUID `json:"secret"` +} - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` +// WritablePlatformRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritablePlatformRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Optionally limit this platform to devices of a certain manufacturer + // Manufacturer Optionally limit this platform to devices of a certain manufacturer Manufacturer *openapi_types.UUID `json:"manufacturer"` Name string `json:"name"` - // Additional arguments to pass when initiating the NAPALM driver (JSON format) - NapalmArgs *WritablePlatform_NapalmArgs `json:"napalm_args"` + // NapalmArgs Additional arguments to pass when initiating the NAPALM driver (JSON format) + NapalmArgs *map[string]interface{} `json:"napalm_args"` - // The name of the NAPALM driver to use when interacting with devices - NapalmDriver *string `json:"napalm_driver,omitempty"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` - VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` + // NapalmDriver The name of the NAPALM driver to use when interacting with devices + NapalmDriver *string `json:"napalm_driver,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePlatformRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePlatformRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePlatformRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` } -// WritablePlatform_ComputedFields defines model for WritablePlatform.ComputedFields. -type WritablePlatform_ComputedFields struct { +// WritablePlatformRequest_Relationships_Destination_Objects_Item defines model for WritablePlatformRequest.relationships.destination.objects.Item. +type WritablePlatformRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritablePlatform_CustomFields defines model for WritablePlatform.CustomFields. -type WritablePlatform_CustomFields struct { +// WritablePlatformRequest_Relationships_Peer_Objects_Item defines model for WritablePlatformRequest.relationships.peer.objects.Item. +type WritablePlatformRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Additional arguments to pass when initiating the NAPALM driver (JSON format) -type WritablePlatform_NapalmArgs struct { +// WritablePlatformRequest_Relationships_Source_Objects_Item defines model for WritablePlatformRequest.relationships.source.objects.Item. +type WritablePlatformRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Mixin to add `status` choice field to model serializers. -type WritablePowerFeed struct { - Amperage *int `json:"amperage,omitempty"` - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *WritablePowerFeed_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - Comments *string `json:"comments,omitempty"` - ComputedFields *WritablePowerFeed_ComputedFields `json:"computed_fields,omitempty"` - ConnectedEndpoint *WritablePowerFeed_ConnectedEndpoint `json:"connected_endpoint"` - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` - ConnectedEndpointType *string `json:"connected_endpoint_type"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritablePowerFeed_CustomFields `json:"custom_fields,omitempty"` +// WritablePolicyRuleRequest PolicyRule Serializer. +type WritablePolicyRuleRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Action ActionEnum `json:"action"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + // DestinationZone Zone Serializer. + DestinationZone *ZoneRequest `json:"destination_zone,omitempty"` + Index *int `json:"index"` + Log *bool `json:"log,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePolicyRuleRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePolicyRuleRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePolicyRuleRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + RequestId *string `json:"request_id"` - // Maximum permissible draw (percentage) - MaxUtilization *int `json:"max_utilization,omitempty"` - Name string `json:"name"` - Phase *PhaseEnum `json:"phase,omitempty"` - PowerPanel openapi_types.UUID `json:"power_panel"` - Rack *openapi_types.UUID `json:"rack"` - Status WritablePowerFeedStatusEnum `json:"status"` - Supply *SupplyEnum `json:"supply,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Type *PowerFeedTypeChoices `json:"type,omitempty"` - Url *string `json:"url,omitempty"` - Voltage *int `json:"voltage,omitempty"` + // SourceZone Zone Serializer. + SourceZone *ZoneRequest `json:"source_zone,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// WritablePowerFeed_CablePeer defines model for WritablePowerFeed.CablePeer. -type WritablePowerFeed_CablePeer struct { +// WritablePolicyRuleRequest_Relationships_Destination_Objects_Item defines model for WritablePolicyRuleRequest.relationships.destination.objects.Item. +type WritablePolicyRuleRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritablePowerFeed_ComputedFields defines model for WritablePowerFeed.ComputedFields. -type WritablePowerFeed_ComputedFields struct { +// WritablePolicyRuleRequest_Relationships_Peer_Objects_Item defines model for WritablePolicyRuleRequest.relationships.peer.objects.Item. +type WritablePolicyRuleRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritablePowerFeed_ConnectedEndpoint defines model for WritablePowerFeed.ConnectedEndpoint. -type WritablePowerFeed_ConnectedEndpoint struct { +// WritablePolicyRuleRequest_Relationships_Source_Objects_Item defines model for WritablePolicyRuleRequest.relationships.source.objects.Item. +type WritablePolicyRuleRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritablePowerFeed_CustomFields defines model for WritablePowerFeed.CustomFields. -type WritablePowerFeed_CustomFields struct { +// WritablePowerFeedRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritablePowerFeedRequest struct { + Amperage *int `json:"amperage,omitempty"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // MaxUtilization Maximum permissible draw (percentage) + MaxUtilization *int `json:"max_utilization,omitempty"` + Name string `json:"name"` + Phase *PhaseEnum `json:"phase,omitempty"` + PowerPanel openapi_types.UUID `json:"power_panel"` + Rack *openapi_types.UUID `json:"rack"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePowerFeedRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePowerFeedRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePowerFeedRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status PowerFeedStatusChoices `json:"status"` + Supply *SupplyEnum `json:"supply,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type *PowerFeedTypeChoices `json:"type,omitempty"` + Voltage *int `json:"voltage,omitempty"` +} + +// WritablePowerFeedRequest_Relationships_Destination_Objects_Item defines model for WritablePowerFeedRequest.relationships.destination.objects.Item. +type WritablePowerFeedRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritablePowerFeedStatusEnum defines model for WritablePowerFeedStatusEnum. -type WritablePowerFeedStatusEnum string - -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritablePowerOutlet struct { - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *WritablePowerOutlet_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - ComputedFields *WritablePowerOutlet_ComputedFields `json:"computed_fields,omitempty"` - ConnectedEndpoint *WritablePowerOutlet_ConnectedEndpoint `json:"connected_endpoint"` - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` - ConnectedEndpointType *string `json:"connected_endpoint_type"` - CustomFields *WritablePowerOutlet_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Device openapi_types.UUID `json:"device"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - - // Phase (for three-phase feeds) - FeedLeg *interface{} `json:"feed_leg,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` - PowerPort *openapi_types.UUID `json:"power_port"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - - // Physical port type - Type *interface{} `json:"type,omitempty"` - Url *string `json:"url,omitempty"` -} - -// WritablePowerOutlet_CablePeer defines model for WritablePowerOutlet.CablePeer. -type WritablePowerOutlet_CablePeer struct { +// WritablePowerFeedRequest_Relationships_Peer_Objects_Item defines model for WritablePowerFeedRequest.relationships.peer.objects.Item. +type WritablePowerFeedRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritablePowerOutlet_ComputedFields defines model for WritablePowerOutlet.ComputedFields. -type WritablePowerOutlet_ComputedFields struct { +// WritablePowerFeedRequest_Relationships_Source_Objects_Item defines model for WritablePowerFeedRequest.relationships.source.objects.Item. +type WritablePowerFeedRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritablePowerOutlet_ConnectedEndpoint defines model for WritablePowerOutlet.ConnectedEndpoint. -type WritablePowerOutlet_ConnectedEndpoint struct { +// WritablePowerOutletRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritablePowerOutletRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device openapi_types.UUID `json:"device"` + + // FeedLeg Phase (for three-phase feeds) + FeedLeg *WritablePowerOutletRequest_FeedLeg `json:"feed_leg,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + PowerPort *openapi_types.UUID `json:"power_port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePowerOutletRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePowerOutletRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePowerOutletRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + + // Type Physical port type + Type *WritablePowerOutletRequest_Type `json:"type,omitempty"` +} + +// WritablePowerOutletRequest_FeedLeg Phase (for three-phase feeds) +type WritablePowerOutletRequest_FeedLeg struct { + union json.RawMessage +} + +// WritablePowerOutletRequest_Relationships_Destination_Objects_Item defines model for WritablePowerOutletRequest.relationships.destination.objects.Item. +type WritablePowerOutletRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritablePowerOutlet_CustomFields defines model for WritablePowerOutlet.CustomFields. -type WritablePowerOutlet_CustomFields struct { +// WritablePowerOutletRequest_Relationships_Peer_Objects_Item defines model for WritablePowerOutletRequest.relationships.peer.objects.Item. +type WritablePowerOutletRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritablePowerOutletTemplate struct { - ComputedFields *WritablePowerOutletTemplate_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *WritablePowerOutletTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceType openapi_types.UUID `json:"device_type"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - - // Phase (for three-phase feeds) - FeedLeg *interface{} `json:"feed_leg,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` - PowerPort *openapi_types.UUID `json:"power_port"` - Type *interface{} `json:"type,omitempty"` - Url *string `json:"url,omitempty"` -} - -// WritablePowerOutletTemplate_ComputedFields defines model for WritablePowerOutletTemplate.ComputedFields. -type WritablePowerOutletTemplate_ComputedFields struct { +// WritablePowerOutletRequest_Relationships_Source_Objects_Item defines model for WritablePowerOutletRequest.relationships.source.objects.Item. +type WritablePowerOutletRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritablePowerOutletTemplate_CustomFields defines model for WritablePowerOutletTemplate.CustomFields. -type WritablePowerOutletTemplate_CustomFields struct { +// WritablePowerOutletRequest_Type Physical port type +type WritablePowerOutletRequest_Type struct { + union json.RawMessage +} + +// WritablePowerOutletTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritablePowerOutletTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType openapi_types.UUID `json:"device_type"` + + // FeedLeg Phase (for three-phase feeds) + FeedLeg *WritablePowerOutletTemplateRequest_FeedLeg `json:"feed_leg,omitempty"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + PowerPort *openapi_types.UUID `json:"power_port"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *WritablePowerOutletTemplateRequest_Type `json:"type,omitempty"` +} + +// WritablePowerOutletTemplateRequest_FeedLeg Phase (for three-phase feeds) +type WritablePowerOutletTemplateRequest_FeedLeg struct { + union json.RawMessage +} + +// WritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item defines model for WritablePowerOutletTemplateRequest.relationships.destination.objects.Item. +type WritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritablePowerPanel struct { - ComputedFields *WritablePowerPanel_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *WritablePowerPanel_CustomFields `json:"custom_fields,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Name string `json:"name"` - PowerfeedCount *int `json:"powerfeed_count,omitempty"` - RackGroup *openapi_types.UUID `json:"rack_group"` - Site openapi_types.UUID `json:"site"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` -} - -// WritablePowerPanel_ComputedFields defines model for WritablePowerPanel.ComputedFields. -type WritablePowerPanel_ComputedFields struct { +// WritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item defines model for WritablePowerOutletTemplateRequest.relationships.peer.objects.Item. +type WritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritablePowerPanel_CustomFields defines model for WritablePowerPanel.CustomFields. -type WritablePowerPanel_CustomFields struct { +// WritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item defines model for WritablePowerOutletTemplateRequest.relationships.source.objects.Item. +type WritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritablePowerPort struct { - // Allocated power draw (watts) - AllocatedDraw *int `json:"allocated_draw"` - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *WritablePowerPort_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - ComputedFields *WritablePowerPort_ComputedFields `json:"computed_fields,omitempty"` - ConnectedEndpoint *WritablePowerPort_ConnectedEndpoint `json:"connected_endpoint"` - ConnectedEndpointReachable *bool `json:"connected_endpoint_reachable"` - ConnectedEndpointType *string `json:"connected_endpoint_type"` - CustomFields *WritablePowerPort_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Device openapi_types.UUID `json:"device"` +// WritablePowerOutletTemplateRequest_Type defines model for WritablePowerOutletTemplateRequest.Type. +type WritablePowerOutletTemplateRequest_Type struct { + union json.RawMessage +} - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` +// WritablePowerPanelRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritablePowerPanelRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Location *openapi_types.UUID `json:"location"` + Name string `json:"name"` + RackGroup *openapi_types.UUID `json:"rack_group"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePowerPanelRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePowerPanelRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePowerPanelRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Site openapi_types.UUID `json:"site"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} - // Physical label +// WritablePowerPanelRequest_Relationships_Destination_Objects_Item defines model for WritablePowerPanelRequest.relationships.destination.objects.Item. +type WritablePowerPanelRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritablePowerPanelRequest_Relationships_Peer_Objects_Item defines model for WritablePowerPanelRequest.relationships.peer.objects.Item. +type WritablePowerPanelRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritablePowerPanelRequest_Relationships_Source_Objects_Item defines model for WritablePowerPanelRequest.relationships.source.objects.Item. +type WritablePowerPanelRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritablePowerPortRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritablePowerPortRequest struct { + // AllocatedDraw Allocated power draw (watts) + AllocatedDraw *int `json:"allocated_draw"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device openapi_types.UUID `json:"device"` + + // Label Physical label Label *string `json:"label,omitempty"` - // Maximum power draw (watts) - MaximumDraw *int `json:"maximum_draw"` - Name string `json:"name"` - Tags *[]TagSerializerField `json:"tags,omitempty"` + // MaximumDraw Maximum power draw (watts) + MaximumDraw *int `json:"maximum_draw"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePowerPortRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePowerPortRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePowerPortRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` - // Physical port type - Type *interface{} `json:"type,omitempty"` - Url *string `json:"url,omitempty"` + // Type Physical port type + Type *WritablePowerPortRequest_Type `json:"type,omitempty"` } -// WritablePowerPort_CablePeer defines model for WritablePowerPort.CablePeer. -type WritablePowerPort_CablePeer struct { +// WritablePowerPortRequest_Relationships_Destination_Objects_Item defines model for WritablePowerPortRequest.relationships.destination.objects.Item. +type WritablePowerPortRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritablePowerPort_ComputedFields defines model for WritablePowerPort.ComputedFields. -type WritablePowerPort_ComputedFields struct { +// WritablePowerPortRequest_Relationships_Peer_Objects_Item defines model for WritablePowerPortRequest.relationships.peer.objects.Item. +type WritablePowerPortRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritablePowerPort_ConnectedEndpoint defines model for WritablePowerPort.ConnectedEndpoint. -type WritablePowerPort_ConnectedEndpoint struct { +// WritablePowerPortRequest_Relationships_Source_Objects_Item defines model for WritablePowerPortRequest.relationships.source.objects.Item. +type WritablePowerPortRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritablePowerPort_CustomFields defines model for WritablePowerPort.CustomFields. -type WritablePowerPort_CustomFields struct { - AdditionalProperties map[string]interface{} `json:"-"` +// WritablePowerPortRequest_Type Physical port type +type WritablePowerPortRequest_Type struct { + union json.RawMessage } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritablePowerPortTemplate struct { - // Allocated power draw (watts) - AllocatedDraw *int `json:"allocated_draw"` - ComputedFields *WritablePowerPortTemplate_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *WritablePowerPortTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceType openapi_types.UUID `json:"device_type"` +// WritablePowerPortTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritablePowerPortTemplateRequest struct { + // AllocatedDraw Allocated power draw (watts) + AllocatedDraw *int `json:"allocated_draw"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType openapi_types.UUID `json:"device_type"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label + // Label Physical label Label *string `json:"label,omitempty"` - // Maximum power draw (watts) - MaximumDraw *int `json:"maximum_draw"` - Name string `json:"name"` - Type *interface{} `json:"type,omitempty"` - Url *string `json:"url,omitempty"` + // MaximumDraw Maximum power draw (watts) + MaximumDraw *int `json:"maximum_draw"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePowerPortTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type *WritablePowerPortTemplateRequest_Type `json:"type,omitempty"` } -// WritablePowerPortTemplate_ComputedFields defines model for WritablePowerPortTemplate.ComputedFields. -type WritablePowerPortTemplate_ComputedFields struct { +// WritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item defines model for WritablePowerPortTemplateRequest.relationships.destination.objects.Item. +type WritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritablePowerPortTemplate_CustomFields defines model for WritablePowerPortTemplate.CustomFields. -type WritablePowerPortTemplate_CustomFields struct { +// WritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item defines model for WritablePowerPortTemplateRequest.relationships.peer.objects.Item. +type WritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Mixin to add `status` choice field to model serializers. -type WritablePrefix struct { - ComputedFields *WritablePrefix_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritablePrefix_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Family *struct { - // Embedded struct due to allOf(#/components/schemas/FamilyEnum) - FamilyEnum `yaml:",inline"` - } `json:"family,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // All IP addresses within this prefix are considered usable - IsPool *bool `json:"is_pool,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Prefix string `json:"prefix"` - - // The primary function of this prefix - Role *openapi_types.UUID `json:"role"` - Site *openapi_types.UUID `json:"site"` - Status WritablePrefixStatusEnum `json:"status"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Url *string `json:"url,omitempty"` - Vlan *openapi_types.UUID `json:"vlan"` - Vrf *openapi_types.UUID `json:"vrf"` -} - -// WritablePrefix_ComputedFields defines model for WritablePrefix.ComputedFields. -type WritablePrefix_ComputedFields struct { +// WritablePowerPortTemplateRequest_Relationships_Source_Objects_Item defines model for WritablePowerPortTemplateRequest.relationships.source.objects.Item. +type WritablePowerPortTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritablePrefix_CustomFields defines model for WritablePrefix.CustomFields. -type WritablePrefix_CustomFields struct { +// WritablePowerPortTemplateRequest_Type defines model for WritablePowerPortTemplateRequest.Type. +type WritablePowerPortTemplateRequest_Type struct { + union json.RawMessage +} + +// WritablePrefixRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritablePrefixRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // IsPool All IP addresses within this prefix are considered usable + IsPool *bool `json:"is_pool,omitempty"` + Location *openapi_types.UUID `json:"location"` + Prefix string `json:"prefix"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePrefixRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePrefixRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritablePrefixRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + + // Role The primary function of this prefix + Role *openapi_types.UUID `json:"role"` + Site *openapi_types.UUID `json:"site"` + Status PrefixStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + Vlan *openapi_types.UUID `json:"vlan"` + Vrf *openapi_types.UUID `json:"vrf"` +} + +// WritablePrefixRequest_Relationships_Destination_Objects_Item defines model for WritablePrefixRequest.relationships.destination.objects.Item. +type WritablePrefixRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritablePrefixStatusEnum defines model for WritablePrefixStatusEnum. -type WritablePrefixStatusEnum string - -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableProviderNetwork struct { - Comments *string `json:"comments,omitempty"` - ComputedFields *WritableProviderNetwork_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritableProviderNetwork_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name string `json:"name"` - Provider openapi_types.UUID `json:"provider"` - Slug *string `json:"slug,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` -} - -// WritableProviderNetwork_ComputedFields defines model for WritableProviderNetwork.ComputedFields. -type WritableProviderNetwork_ComputedFields struct { +// WritablePrefixRequest_Relationships_Peer_Objects_Item defines model for WritablePrefixRequest.relationships.peer.objects.Item. +type WritablePrefixRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableProviderNetwork_CustomFields defines model for WritableProviderNetwork.CustomFields. -type WritableProviderNetwork_CustomFields struct { +// WritablePrefixRequest_Relationships_Source_Objects_Item defines model for WritablePrefixRequest.relationships.source.objects.Item. +type WritablePrefixRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Mixin to add `status` choice field to model serializers. -type WritableRack struct { - // A unique tag used to identify this rack - AssetTag *string `json:"asset_tag"` - Comments *string `json:"comments,omitempty"` - ComputedFields *WritableRack_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritableRack_CustomFields `json:"custom_fields,omitempty"` +// WritableProviderNetworkRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableProviderNetworkRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Provider openapi_types.UUID `json:"provider"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableProviderNetworkRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableProviderNetworkRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableProviderNetworkRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} - // Units are numbered top-to-bottom - DescUnits *bool `json:"desc_units,omitempty"` - DeviceCount *int `json:"device_count,omitempty"` +// WritableProviderNetworkRequest_Relationships_Destination_Objects_Item defines model for WritableProviderNetworkRequest.relationships.destination.objects.Item. +type WritableProviderNetworkRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Human friendly display value - Display *string `json:"display,omitempty"` +// WritableProviderNetworkRequest_Relationships_Peer_Objects_Item defines model for WritableProviderNetworkRequest.relationships.peer.objects.Item. +type WritableProviderNetworkRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Locally-assigned identifier +// WritableProviderNetworkRequest_Relationships_Source_Objects_Item defines model for WritableProviderNetworkRequest.relationships.source.objects.Item. +type WritableProviderNetworkRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableRackGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableRackGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Location *openapi_types.UUID `json:"location"` + Name string `json:"name"` + Parent *openapi_types.UUID `json:"parent"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableRackGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableRackGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableRackGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Site openapi_types.UUID `json:"site"` + Slug *string `json:"slug,omitempty"` +} + +// WritableRackGroupRequest_Relationships_Destination_Objects_Item defines model for WritableRackGroupRequest.relationships.destination.objects.Item. +type WritableRackGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableRackGroupRequest_Relationships_Peer_Objects_Item defines model for WritableRackGroupRequest.relationships.peer.objects.Item. +type WritableRackGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableRackGroupRequest_Relationships_Source_Objects_Item defines model for WritableRackGroupRequest.relationships.source.objects.Item. +type WritableRackGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableRackRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableRackRequest struct { + // AssetTag A unique tag used to identify this rack + AssetTag *string `json:"asset_tag"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + + // DescUnits Units are numbered top-to-bottom + DescUnits *bool `json:"desc_units,omitempty"` + + // FacilityId Locally-assigned identifier FacilityId *string `json:"facility_id"` - // Assigned group - Group *openapi_types.UUID `json:"group"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name string `json:"name"` + // Group Assigned group + Group *openapi_types.UUID `json:"group"` + Location *openapi_types.UUID `json:"location"` + Name string `json:"name"` - // Outer dimension of rack (depth) - OuterDepth *int `json:"outer_depth"` - OuterUnit *interface{} `json:"outer_unit,omitempty"` + // OuterDepth Outer dimension of rack (depth) + OuterDepth *int `json:"outer_depth"` + OuterUnit *WritableRackRequest_OuterUnit `json:"outer_unit,omitempty"` - // Outer dimension of rack (width) - OuterWidth *int `json:"outer_width"` - PowerfeedCount *int `json:"powerfeed_count,omitempty"` + // OuterWidth Outer dimension of rack (width) + OuterWidth *int `json:"outer_width"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableRackRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableRackRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableRackRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` - // Functional role - Role *openapi_types.UUID `json:"role"` - Serial *string `json:"serial,omitempty"` - Site openapi_types.UUID `json:"site"` - Status WritableRackStatusEnum `json:"status"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Type *interface{} `json:"type,omitempty"` + // Role Functional role + Role *openapi_types.UUID `json:"role"` + Serial *string `json:"serial,omitempty"` + Site openapi_types.UUID `json:"site"` + Status RackStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + Type *WritableRackRequest_Type `json:"type,omitempty"` - // Height in rack units - UHeight *int `json:"u_height,omitempty"` - Url *string `json:"url,omitempty"` + // UHeight Height in rack units + UHeight *int `json:"u_height,omitempty"` - // Rail-to-rail width - Width *struct { - // Embedded struct due to allOf(#/components/schemas/WidthEnum) - WidthEnum `yaml:",inline"` - } `json:"width,omitempty"` + // Width Rail-to-rail width + Width *WidthEnum `json:"width,omitempty"` } -// WritableRack_ComputedFields defines model for WritableRack.ComputedFields. -type WritableRack_ComputedFields struct { +// WritableRackRequest_OuterUnit defines model for WritableRackRequest.OuterUnit. +type WritableRackRequest_OuterUnit struct { + union json.RawMessage +} + +// WritableRackRequest_Relationships_Destination_Objects_Item defines model for WritableRackRequest.relationships.destination.objects.Item. +type WritableRackRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableRack_CustomFields defines model for WritableRack.CustomFields. -type WritableRack_CustomFields struct { +// WritableRackRequest_Relationships_Peer_Objects_Item defines model for WritableRackRequest.relationships.peer.objects.Item. +type WritableRackRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableRackGroup struct { - Depth *int `json:"_depth,omitempty"` - ComputedFields *WritableRackGroup_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritableRackGroup_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name string `json:"name"` - Parent *openapi_types.UUID `json:"parent"` - RackCount *int `json:"rack_count,omitempty"` - Site openapi_types.UUID `json:"site"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` -} - -// WritableRackGroup_ComputedFields defines model for WritableRackGroup.ComputedFields. -type WritableRackGroup_ComputedFields struct { +// WritableRackRequest_Relationships_Source_Objects_Item defines model for WritableRackRequest.relationships.source.objects.Item. +type WritableRackRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableRackGroup_CustomFields defines model for WritableRackGroup.CustomFields. -type WritableRackGroup_CustomFields struct { +// WritableRackRequest_Type defines model for WritableRackRequest.Type. +type WritableRackRequest_Type struct { + union json.RawMessage +} + +// WritableRackReservationRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableRackReservationRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description string `json:"description"` + Rack openapi_types.UUID `json:"rack"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableRackReservationRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableRackReservationRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableRackReservationRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + Units map[string]interface{} `json:"units"` + User openapi_types.UUID `json:"user"` +} + +// WritableRackReservationRequest_Relationships_Destination_Objects_Item defines model for WritableRackReservationRequest.relationships.destination.objects.Item. +type WritableRackReservationRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableRackReservation struct { - ComputedFields *WritableRackReservation_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritableRackReservation_CustomFields `json:"custom_fields,omitempty"` - Description string `json:"description"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Rack openapi_types.UUID `json:"rack"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Units WritableRackReservation_Units `json:"units"` - Url *string `json:"url,omitempty"` - User openapi_types.UUID `json:"user"` -} - -// WritableRackReservation_ComputedFields defines model for WritableRackReservation.ComputedFields. -type WritableRackReservation_ComputedFields struct { +// WritableRackReservationRequest_Relationships_Peer_Objects_Item defines model for WritableRackReservationRequest.relationships.peer.objects.Item. +type WritableRackReservationRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableRackReservation_CustomFields defines model for WritableRackReservation.CustomFields. -type WritableRackReservation_CustomFields struct { +// WritableRackReservationRequest_Relationships_Source_Objects_Item defines model for WritableRackReservationRequest.relationships.source.objects.Item. +type WritableRackReservationRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableRackReservation_Units defines model for WritableRackReservation.Units. -type WritableRackReservation_Units struct { +// WritableRearPortRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableRearPortRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device openapi_types.UUID `json:"device"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + Positions *int `json:"positions,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableRearPortRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableRearPortRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableRearPortRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Type PortTypeChoices `json:"type"` +} + +// WritableRearPortRequest_Relationships_Destination_Objects_Item defines model for WritableRearPortRequest.relationships.destination.objects.Item. +type WritableRearPortRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableRackStatusEnum defines model for WritableRackStatusEnum. -type WritableRackStatusEnum string - -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableRearPort struct { - Cable *struct { - // Embedded struct due to allOf(#/components/schemas/NestedCable) - NestedCable `yaml:",inline"` - } `json:"cable,omitempty"` - CablePeer *WritableRearPort_CablePeer `json:"cable_peer"` - CablePeerType *string `json:"cable_peer_type"` - ComputedFields *WritableRearPort_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *WritableRearPort_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Device openapi_types.UUID `json:"device"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` - Positions *int `json:"positions,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Type PortTypeChoices `json:"type"` - Url *string `json:"url,omitempty"` -} - -// WritableRearPort_CablePeer defines model for WritableRearPort.CablePeer. -type WritableRearPort_CablePeer struct { +// WritableRearPortRequest_Relationships_Peer_Objects_Item defines model for WritableRearPortRequest.relationships.peer.objects.Item. +type WritableRearPortRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableRearPort_ComputedFields defines model for WritableRearPort.ComputedFields. -type WritableRearPort_ComputedFields struct { +// WritableRearPortRequest_Relationships_Source_Objects_Item defines model for WritableRearPortRequest.relationships.source.objects.Item. +type WritableRearPortRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableRearPort_CustomFields defines model for WritableRearPort.CustomFields. -type WritableRearPort_CustomFields struct { +// WritableRearPortTemplateRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableRearPortTemplateRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + DeviceType openapi_types.UUID `json:"device_type"` + + // Label Physical label + Label *string `json:"label,omitempty"` + Name string `json:"name"` + Positions *int `json:"positions,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableRearPortTemplateRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableRearPortTemplateRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableRearPortTemplateRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Type PortTypeChoices `json:"type"` +} + +// WritableRearPortTemplateRequest_Relationships_Destination_Objects_Item defines model for WritableRearPortTemplateRequest.relationships.destination.objects.Item. +type WritableRearPortTemplateRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableRearPortTemplate struct { - CustomFields *WritableRearPortTemplate_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceType openapi_types.UUID `json:"device_type"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Physical label - Label *string `json:"label,omitempty"` - Name string `json:"name"` - Positions *int `json:"positions,omitempty"` - Type PortTypeChoices `json:"type"` - Url *string `json:"url,omitempty"` -} - -// WritableRearPortTemplate_CustomFields defines model for WritableRearPortTemplate.CustomFields. -type WritableRearPortTemplate_CustomFields struct { +// WritableRearPortTemplateRequest_Relationships_Peer_Objects_Item defines model for WritableRearPortTemplateRequest.relationships.peer.objects.Item. +type WritableRearPortTemplateRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableRegion struct { - Depth *int `json:"_depth,omitempty"` - ComputedFields *WritableRegion_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritableRegion_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name string `json:"name"` - Parent *openapi_types.UUID `json:"parent"` - SiteCount *int `json:"site_count,omitempty"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` -} - -// WritableRegion_ComputedFields defines model for WritableRegion.ComputedFields. -type WritableRegion_ComputedFields struct { +// WritableRearPortTemplateRequest_Relationships_Source_Objects_Item defines model for WritableRearPortTemplateRequest.relationships.source.objects.Item. +type WritableRearPortTemplateRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableRegion_CustomFields defines model for WritableRegion.CustomFields. -type WritableRegion_CustomFields struct { +// WritableRegionRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableRegionRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Parent *openapi_types.UUID `json:"parent"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableRegionRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableRegionRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableRegionRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// WritableRegionRequest_Relationships_Destination_Objects_Item defines model for WritableRegionRequest.relationships.destination.objects.Item. +type WritableRegionRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableRelationshipAssociation defines model for WritableRelationshipAssociation. -type WritableRelationshipAssociation struct { - DestinationId openapi_types.UUID `json:"destination_id"` - DestinationType string `json:"destination_type"` - Id *openapi_types.UUID `json:"id,omitempty"` - Relationship openapi_types.UUID `json:"relationship"` - SourceId openapi_types.UUID `json:"source_id"` - SourceType string `json:"source_type"` -} - -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableRouteTarget struct { - ComputedFields *WritableRouteTarget_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritableRouteTarget_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - - // Route target value (formatted in accordance with RFC 4360) - Name string `json:"name"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Url *string `json:"url,omitempty"` -} - -// WritableRouteTarget_ComputedFields defines model for WritableRouteTarget.ComputedFields. -type WritableRouteTarget_ComputedFields struct { +// WritableRegionRequest_Relationships_Peer_Objects_Item defines model for WritableRegionRequest.relationships.peer.objects.Item. +type WritableRegionRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableRouteTarget_CustomFields defines model for WritableRouteTarget.CustomFields. -type WritableRouteTarget_CustomFields struct { +// WritableRegionRequest_Relationships_Source_Objects_Item defines model for WritableRegionRequest.relationships.source.objects.Item. +type WritableRegionRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Serializer for `SecretsGroupAssociation` objects. -type WritableSecretsGroupAssociation struct { - AccessType AccessTypeEnum `json:"access_type"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Group openapi_types.UUID `json:"group"` - Id *openapi_types.UUID `json:"id,omitempty"` - Secret openapi_types.UUID `json:"secret"` - SecretType SecretTypeEnum `json:"secret_type"` - Url *string `json:"url,omitempty"` +// WritableRelationshipAssociationRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) +type WritableRelationshipAssociationRequest struct { + DestinationId openapi_types.UUID `json:"destination_id"` + DestinationType string `json:"destination_type"` + Relationship openapi_types.UUID `json:"relationship"` + SourceId openapi_types.UUID `json:"source_id"` + SourceType string `json:"source_type"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableService struct { - ComputedFields *WritableService_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritableService_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - Device *openapi_types.UUID `json:"device"` +// WritableRouteTargetRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableRouteTargetRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Ipaddresses *[]openapi_types.UUID `json:"ipaddresses,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name string `json:"name"` - Ports []int `json:"ports"` - Protocol ProtocolEnum `json:"protocol"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` - VirtualMachine *openapi_types.UUID `json:"virtual_machine"` + // Name Route target value (formatted in accordance with RFC 4360) + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableRouteTargetRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableRouteTargetRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableRouteTargetRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` } -// WritableService_ComputedFields defines model for WritableService.ComputedFields. -type WritableService_ComputedFields struct { +// WritableRouteTargetRequest_Relationships_Destination_Objects_Item defines model for WritableRouteTargetRequest.relationships.destination.objects.Item. +type WritableRouteTargetRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableService_CustomFields defines model for WritableService.CustomFields. -type WritableService_CustomFields struct { +// WritableRouteTargetRequest_Relationships_Peer_Objects_Item defines model for WritableRouteTargetRequest.relationships.peer.objects.Item. +type WritableRouteTargetRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Mixin to add `status` choice field to model serializers. -type WritableSite struct { - // 32-bit autonomous system number - Asn *int64 `json:"asn"` - CircuitCount *int `json:"circuit_count,omitempty"` - Comments *string `json:"comments,omitempty"` - ComputedFields *WritableSite_ComputedFields `json:"computed_fields,omitempty"` - ContactEmail *openapi_types.Email `json:"contact_email,omitempty"` - ContactName *string `json:"contact_name,omitempty"` - ContactPhone *string `json:"contact_phone,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritableSite_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceCount *int `json:"device_count,omitempty"` +// WritableRouteTargetRequest_Relationships_Source_Objects_Item defines model for WritableRouteTargetRequest.relationships.source.objects.Item. +type WritableRouteTargetRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} - // Human friendly display value - Display *string `json:"display,omitempty"` +// WritableSecretsGroupAssociationRequest Serializer for `SecretsGroupAssociation` objects. +type WritableSecretsGroupAssociationRequest struct { + AccessType AccessTypeEnum `json:"access_type"` + Group openapi_types.UUID `json:"group"` + Secret openapi_types.UUID `json:"secret"` + SecretType SecretTypeEnum `json:"secret_type"` +} - // Local facility ID or description - Facility *string `json:"facility,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` +// WritableServiceObjectGroupRequest ServiceObjectGroup Serializer. +type WritableServiceObjectGroupRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableServiceObjectGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} - // GPS coordinate (latitude) +// WritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item defines model for WritableServiceObjectGroupRequest.relationships.destination.objects.Item. +type WritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item defines model for WritableServiceObjectGroupRequest.relationships.peer.objects.Item. +type WritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableServiceObjectGroupRequest_Relationships_Source_Objects_Item defines model for WritableServiceObjectGroupRequest.relationships.source.objects.Item. +type WritableServiceObjectGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableServiceRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableServiceRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Device *openapi_types.UUID `json:"device"` + Ipaddresses *[]openapi_types.UUID `json:"ipaddresses,omitempty"` + Name string `json:"name"` + Ports []int `json:"ports"` + Protocol ProtocolEnum `json:"protocol"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableServiceRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableServiceRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableServiceRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + VirtualMachine *openapi_types.UUID `json:"virtual_machine"` +} + +// WritableServiceRequest_Relationships_Destination_Objects_Item defines model for WritableServiceRequest.relationships.destination.objects.Item. +type WritableServiceRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableServiceRequest_Relationships_Peer_Objects_Item defines model for WritableServiceRequest.relationships.peer.objects.Item. +type WritableServiceRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableServiceRequest_Relationships_Source_Objects_Item defines model for WritableServiceRequest.relationships.source.objects.Item. +type WritableServiceRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableSiteRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableSiteRequest struct { + // Asn 32-bit autonomous system number + Asn *int64 `json:"asn"` + Comments *string `json:"comments,omitempty"` + ContactEmail *openapi_types.Email `json:"contact_email,omitempty"` + ContactName *string `json:"contact_name,omitempty"` + ContactPhone *string `json:"contact_phone,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Facility Local facility ID or description + Facility *string `json:"facility,omitempty"` + + // Latitude GPS coordinate (latitude) Latitude *string `json:"latitude"` - // GPS coordinate (longitude) - Longitude *string `json:"longitude"` - Name string `json:"name"` - PhysicalAddress *string `json:"physical_address,omitempty"` - PrefixCount *int `json:"prefix_count,omitempty"` - RackCount *int `json:"rack_count,omitempty"` - Region *openapi_types.UUID `json:"region"` - ShippingAddress *string `json:"shipping_address,omitempty"` - Slug *string `json:"slug,omitempty"` - Status WritableSiteStatusEnum `json:"status"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - TimeZone *string `json:"time_zone"` - Url *string `json:"url,omitempty"` - VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` - VlanCount *int `json:"vlan_count,omitempty"` + // Longitude GPS coordinate (longitude) + Longitude *string `json:"longitude"` + Name string `json:"name"` + PhysicalAddress *string `json:"physical_address,omitempty"` + Region *openapi_types.UUID `json:"region"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableSiteRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableSiteRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableSiteRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ShippingAddress *string `json:"shipping_address,omitempty"` + Slug *string `json:"slug,omitempty"` + Status LocationStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + TimeZone *string `json:"time_zone"` } -// WritableSite_ComputedFields defines model for WritableSite.ComputedFields. -type WritableSite_ComputedFields struct { +// WritableSiteRequest_Relationships_Destination_Objects_Item defines model for WritableSiteRequest.relationships.destination.objects.Item. +type WritableSiteRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableSite_CustomFields defines model for WritableSite.CustomFields. -type WritableSite_CustomFields struct { +// WritableSiteRequest_Relationships_Peer_Objects_Item defines model for WritableSiteRequest.relationships.peer.objects.Item. +type WritableSiteRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableSiteStatusEnum defines model for WritableSiteStatusEnum. -type WritableSiteStatusEnum string - -// REST API serializer for SoftwareImageLCM records. -type WritableSoftwareImageLCM struct { - CustomFields *WritableSoftwareImageLCM_CustomFields `json:"custom_fields,omitempty"` - DefaultImage *bool `json:"default_image,omitempty"` - DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - DownloadUrl *string `json:"download_url,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - ImageFileChecksum *string `json:"image_file_checksum,omitempty"` - ImageFileName string `json:"image_file_name"` - InventoryItems *[]openapi_types.UUID `json:"inventory_items,omitempty"` - ObjectTags *[]openapi_types.UUID `json:"object_tags,omitempty"` - Software openapi_types.UUID `json:"software"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` -} - -// WritableSoftwareImageLCM_CustomFields defines model for WritableSoftwareImageLCM.CustomFields. -type WritableSoftwareImageLCM_CustomFields struct { +// WritableSiteRequest_Relationships_Source_Objects_Item defines model for WritableSiteRequest.relationships.source.objects.Item. +type WritableSiteRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// REST API serializer for SoftwareLCM records. -type WritableSoftwareLCM struct { - Alias *string `json:"alias"` - CustomFields *WritableSoftwareLCM_CustomFields `json:"custom_fields,omitempty"` - DevicePlatform openapi_types.UUID `json:"device_platform"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - DocumentationUrl *string `json:"documentation_url,omitempty"` - EndOfSupport *openapi_types.Date `json:"end_of_support"` - Id *openapi_types.UUID `json:"id,omitempty"` - LongTermSupport *bool `json:"long_term_support,omitempty"` - PreRelease *bool `json:"pre_release,omitempty"` - ReleaseDate *openapi_types.Date `json:"release_date"` - SoftwareImages []openapi_types.UUID `json:"software_images"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` - Version string `json:"version"` +// WritableSoftwareImageLCMRequest REST API serializer for SoftwareImageLCM records. +type WritableSoftwareImageLCMRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DefaultImage *bool `json:"default_image,omitempty"` + DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` + DownloadUrl *string `json:"download_url,omitempty"` + ImageFileChecksum *string `json:"image_file_checksum,omitempty"` + ImageFileName string `json:"image_file_name"` + InventoryItems *[]openapi_types.UUID `json:"inventory_items,omitempty"` + ObjectTags *[]openapi_types.UUID `json:"object_tags,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Software openapi_types.UUID `json:"software"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` } -// WritableSoftwareLCM_CustomFields defines model for WritableSoftwareLCM.CustomFields. -type WritableSoftwareLCM_CustomFields struct { +// WritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item defines model for WritableSoftwareImageLCMRequest.relationships.destination.objects.Item. +type WritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableTenant struct { - CircuitCount *int `json:"circuit_count,omitempty"` - ClusterCount *int `json:"cluster_count,omitempty"` - Comments *string `json:"comments,omitempty"` - ComputedFields *WritableTenant_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritableTenant_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - DeviceCount *int `json:"device_count,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Group *openapi_types.UUID `json:"group"` - Id *openapi_types.UUID `json:"id,omitempty"` - IpaddressCount *int `json:"ipaddress_count,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name string `json:"name"` - PrefixCount *int `json:"prefix_count,omitempty"` - RackCount *int `json:"rack_count,omitempty"` - SiteCount *int `json:"site_count,omitempty"` - Slug *string `json:"slug,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` - VirtualmachineCount *int `json:"virtualmachine_count,omitempty"` - VlanCount *int `json:"vlan_count,omitempty"` - VrfCount *int `json:"vrf_count,omitempty"` -} - -// WritableTenant_ComputedFields defines model for WritableTenant.ComputedFields. -type WritableTenant_ComputedFields struct { +// WritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item defines model for WritableSoftwareImageLCMRequest.relationships.peer.objects.Item. +type WritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableTenant_CustomFields defines model for WritableTenant.CustomFields. -type WritableTenant_CustomFields struct { +// WritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item defines model for WritableSoftwareImageLCMRequest.relationships.source.objects.Item. +type WritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableTenantGroup struct { - Depth *int `json:"_depth,omitempty"` - ComputedFields *WritableTenantGroup_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritableTenantGroup_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name string `json:"name"` - Parent *openapi_types.UUID `json:"parent"` - Slug *string `json:"slug,omitempty"` - TenantCount *int `json:"tenant_count,omitempty"` - Url *string `json:"url,omitempty"` +// WritableSoftwareLCMRequest REST API serializer for SoftwareLCM records. +type WritableSoftwareLCMRequest struct { + Alias *string `json:"alias"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DevicePlatform openapi_types.UUID `json:"device_platform"` + DocumentationUrl *string `json:"documentation_url,omitempty"` + EndOfSupport *openapi_types.Date `json:"end_of_support"` + LongTermSupport *bool `json:"long_term_support,omitempty"` + PreRelease *bool `json:"pre_release,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableSoftwareLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableSoftwareLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableSoftwareLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + ReleaseDate *openapi_types.Date `json:"release_date"` + SoftwareImages []openapi_types.UUID `json:"software_images"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Version string `json:"version"` } -// WritableTenantGroup_ComputedFields defines model for WritableTenantGroup.ComputedFields. -type WritableTenantGroup_ComputedFields struct { +// WritableSoftwareLCMRequest_Relationships_Destination_Objects_Item defines model for WritableSoftwareLCMRequest.relationships.destination.objects.Item. +type WritableSoftwareLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableTenantGroup_CustomFields defines model for WritableTenantGroup.CustomFields. -type WritableTenantGroup_CustomFields struct { +// WritableSoftwareLCMRequest_Relationships_Peer_Objects_Item defines model for WritableSoftwareLCMRequest.relationships.peer.objects.Item. +type WritableSoftwareLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during +// WritableSoftwareLCMRequest_Relationships_Source_Objects_Item defines model for WritableSoftwareLCMRequest.relationships.source.objects.Item. +type WritableSoftwareLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableTenantGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableTenantGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Parent *openapi_types.UUID `json:"parent"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableTenantGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableTenantGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableTenantGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` +} + +// WritableTenantGroupRequest_Relationships_Destination_Objects_Item defines model for WritableTenantGroupRequest.relationships.destination.objects.Item. +type WritableTenantGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableTenantGroupRequest_Relationships_Peer_Objects_Item defines model for WritableTenantGroupRequest.relationships.peer.objects.Item. +type WritableTenantGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableTenantGroupRequest_Relationships_Source_Objects_Item defines model for WritableTenantGroupRequest.relationships.source.objects.Item. +type WritableTenantGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableTenantRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableTenantRequest struct { + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Group *openapi_types.UUID `json:"group"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableTenantRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableTenantRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableTenantRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Slug *string `json:"slug,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// WritableTenantRequest_Relationships_Destination_Objects_Item defines model for WritableTenantRequest.relationships.destination.objects.Item. +type WritableTenantRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableTenantRequest_Relationships_Peer_Objects_Item defines model for WritableTenantRequest.relationships.peer.objects.Item. +type WritableTenantRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableTenantRequest_Relationships_Source_Objects_Item defines model for WritableTenantRequest.relationships.source.objects.Item. +type WritableTenantRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableUserObjectGroupRequest UserObjectGroup Serializer. +type WritableUserObjectGroupRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableUserObjectGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableUserObjectGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableUserObjectGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// WritableUserObjectGroupRequest_Relationships_Destination_Objects_Item defines model for WritableUserObjectGroupRequest.relationships.destination.objects.Item. +type WritableUserObjectGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableUserObjectGroupRequest_Relationships_Peer_Objects_Item defines model for WritableUserObjectGroupRequest.relationships.peer.objects.Item. +type WritableUserObjectGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableUserObjectGroupRequest_Relationships_Source_Objects_Item defines model for WritableUserObjectGroupRequest.relationships.source.objects.Item. +type WritableUserObjectGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableUserRequest Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during // validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type WritableUser struct { - DateJoined *time.Time `json:"date_joined,omitempty"` +type WritableUserRequest struct { + DateJoined *time.Time `json:"date_joined,omitempty"` + Email *openapi_types.Email `json:"email,omitempty"` + FirstName *string `json:"first_name,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Email *openapi_types.Email `json:"email,omitempty"` - FirstName *string `json:"first_name,omitempty"` + // Groups The groups this user belongs to. A user will get all permissions granted to each of their groups. + Groups *[]int `json:"groups,omitempty"` - // The groups this user belongs to. A user will get all permissions granted to each of their groups. - Groups *[]int `json:"groups,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - - // Designates whether this user should be treated as active. Unselect this instead of deleting accounts. + // IsActive Designates whether this user should be treated as active. Unselect this instead of deleting accounts. IsActive *bool `json:"is_active,omitempty"` - // Designates whether the user can log into this admin site. + // IsStaff Designates whether the user can log into this admin site. IsStaff *bool `json:"is_staff,omitempty"` LastName *string `json:"last_name,omitempty"` Password *string `json:"password,omitempty"` - Url *string `json:"url,omitempty"` - // Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. + // Username Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. Username string `json:"username"` } -// Mixin to add `status` choice field to model serializers. -type WritableVLAN struct { - ComputedFields *WritableVLAN_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritableVLAN_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Group *openapi_types.UUID `json:"group"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name string `json:"name"` - PrefixCount *int `json:"prefix_count,omitempty"` - Role *openapi_types.UUID `json:"role"` - Site *openapi_types.UUID `json:"site"` - Status WritableVLANStatusEnum `json:"status"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Url *string `json:"url,omitempty"` - Vid int `json:"vid"` +// WritableVLANGroupRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableVLANGroupRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Location *openapi_types.UUID `json:"location"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableVLANGroupRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableVLANGroupRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableVLANGroupRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Site *openapi_types.UUID `json:"site"` + Slug *string `json:"slug,omitempty"` } -// WritableVLAN_ComputedFields defines model for WritableVLAN.ComputedFields. -type WritableVLAN_ComputedFields struct { +// WritableVLANGroupRequest_Relationships_Destination_Objects_Item defines model for WritableVLANGroupRequest.relationships.destination.objects.Item. +type WritableVLANGroupRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableVLAN_CustomFields defines model for WritableVLAN.CustomFields. -type WritableVLAN_CustomFields struct { +// WritableVLANGroupRequest_Relationships_Peer_Objects_Item defines model for WritableVLANGroupRequest.relationships.peer.objects.Item. +type WritableVLANGroupRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableVLANGroup struct { - ComputedFields *WritableVLANGroup_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritableVLANGroup_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name string `json:"name"` - Site *openapi_types.UUID `json:"site"` - Slug *string `json:"slug,omitempty"` - Url *string `json:"url,omitempty"` - VlanCount *int `json:"vlan_count,omitempty"` -} - -// WritableVLANGroup_ComputedFields defines model for WritableVLANGroup.ComputedFields. -type WritableVLANGroup_ComputedFields struct { +// WritableVLANGroupRequest_Relationships_Source_Objects_Item defines model for WritableVLANGroupRequest.relationships.source.objects.Item. +type WritableVLANGroupRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableVLANGroup_CustomFields defines model for WritableVLANGroup.CustomFields. -type WritableVLANGroup_CustomFields struct { +// WritableVLANRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableVLANRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Group *openapi_types.UUID `json:"group"` + Location *openapi_types.UUID `json:"location"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableVLANRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableVLANRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableVLANRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Role *openapi_types.UUID `json:"role"` + Site *openapi_types.UUID `json:"site"` + Status VLANStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + Vid int `json:"vid"` +} + +// WritableVLANRequest_Relationships_Destination_Objects_Item defines model for WritableVLANRequest.relationships.destination.objects.Item. +type WritableVLANRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableVLANStatusEnum defines model for WritableVLANStatusEnum. -type WritableVLANStatusEnum string - -// Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during -// validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144) -type WritableVMInterface struct { - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - MacAddress *string `json:"mac_address"` - Mode *interface{} `json:"mode,omitempty"` - Mtu *int `json:"mtu"` - Name string `json:"name"` - TaggedVlans *[]openapi_types.UUID `json:"tagged_vlans,omitempty"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - UntaggedVlan *openapi_types.UUID `json:"untagged_vlan"` - Url *string `json:"url,omitempty"` - VirtualMachine openapi_types.UUID `json:"virtual_machine"` -} - -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableVRF struct { - ComputedFields *WritableVRF_ComputedFields `json:"computed_fields,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritableVRF_CustomFields `json:"custom_fields,omitempty"` - Description *string `json:"description,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - - // Prevent duplicate prefixes/IP addresses within this VRF - EnforceUnique *bool `json:"enforce_unique,omitempty"` - ExportTargets *[]openapi_types.UUID `json:"export_targets,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - ImportTargets *[]openapi_types.UUID `json:"import_targets,omitempty"` - IpaddressCount *int `json:"ipaddress_count,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - Name string `json:"name"` - PrefixCount *int `json:"prefix_count,omitempty"` - - // Unique route distinguisher (as defined in RFC 4364) - Rd *string `json:"rd"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Url *string `json:"url,omitempty"` -} - -// WritableVRF_ComputedFields defines model for WritableVRF.ComputedFields. -type WritableVRF_ComputedFields struct { +// WritableVLANRequest_Relationships_Peer_Objects_Item defines model for WritableVLANRequest.relationships.peer.objects.Item. +type WritableVLANRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableVRF_CustomFields defines model for WritableVRF.CustomFields. -type WritableVRF_CustomFields struct { +// WritableVLANRequest_Relationships_Source_Objects_Item defines model for WritableVLANRequest.relationships.source.objects.Item. +type WritableVLANRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// REST API serializer for ValidatedSoftwareLCM records. -type WritableValidatedSoftwareLCM struct { - CustomFields *WritableValidatedSoftwareLCM_CustomFields `json:"custom_fields,omitempty"` - DeviceRoles *[]openapi_types.UUID `json:"device_roles,omitempty"` - DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` - Devices *[]openapi_types.UUID `json:"devices,omitempty"` +// WritableVMInterfaceRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableVMInterfaceRequest struct { + // Bridge Assigned bridge interface + Bridge *openapi_types.UUID `json:"bridge"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + MacAddress *string `json:"mac_address"` + Mode *WritableVMInterfaceRequest_Mode `json:"mode,omitempty"` + Mtu *int `json:"mtu"` + Name string `json:"name"` - // Human friendly display value - Display *string `json:"display,omitempty"` - End *openapi_types.Date `json:"end"` - Id *openapi_types.UUID `json:"id,omitempty"` - InventoryItems *[]openapi_types.UUID `json:"inventory_items,omitempty"` - ObjectTags *[]openapi_types.UUID `json:"object_tags,omitempty"` - Preferred *bool `json:"preferred,omitempty"` - Software openapi_types.UUID `json:"software"` - Start openapi_types.Date `json:"start"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` - Valid *string `json:"valid,omitempty"` + // ParentInterface Assigned parent interface + ParentInterface *openapi_types.UUID `json:"parent_interface"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableVMInterfaceRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableVMInterfaceRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableVMInterfaceRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status InterfaceStatusChoices `json:"status"` + TaggedVlans *[]openapi_types.UUID `json:"tagged_vlans,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + UntaggedVlan *openapi_types.UUID `json:"untagged_vlan"` + VirtualMachine openapi_types.UUID `json:"virtual_machine"` } -// WritableValidatedSoftwareLCM_CustomFields defines model for WritableValidatedSoftwareLCM.CustomFields. -type WritableValidatedSoftwareLCM_CustomFields struct { +// WritableVMInterfaceRequest_Mode defines model for WritableVMInterfaceRequest.Mode. +type WritableVMInterfaceRequest_Mode struct { + union json.RawMessage +} + +// WritableVMInterfaceRequest_Relationships_Destination_Objects_Item defines model for WritableVMInterfaceRequest.relationships.destination.objects.Item. +type WritableVMInterfaceRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Extends ModelSerializer to render any CustomFields and their values associated with an object. -type WritableVirtualChassis struct { - ComputedFields *WritableVirtualChassis_ComputedFields `json:"computed_fields,omitempty"` - CustomFields *WritableVirtualChassis_CustomFields `json:"custom_fields,omitempty"` - - // Human friendly display value - Display *string `json:"display,omitempty"` - Domain *string `json:"domain,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - Master *openapi_types.UUID `json:"master"` - MemberCount *int `json:"member_count,omitempty"` - Name string `json:"name"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Url *string `json:"url,omitempty"` -} - -// WritableVirtualChassis_ComputedFields defines model for WritableVirtualChassis.ComputedFields. -type WritableVirtualChassis_ComputedFields struct { +// WritableVMInterfaceRequest_Relationships_Peer_Objects_Item defines model for WritableVMInterfaceRequest.relationships.peer.objects.Item. +type WritableVMInterfaceRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableVirtualChassis_CustomFields defines model for WritableVirtualChassis.CustomFields. -type WritableVirtualChassis_CustomFields struct { +// WritableVMInterfaceRequest_Relationships_Source_Objects_Item defines model for WritableVMInterfaceRequest.relationships.source.objects.Item. +type WritableVMInterfaceRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// Mixin to add `status` choice field to model serializers. -type WritableVirtualMachineWithConfigContext struct { - Cluster openapi_types.UUID `json:"cluster"` - Comments *string `json:"comments,omitempty"` - ConfigContext *WritableVirtualMachineWithConfigContext_ConfigContext `json:"config_context,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CustomFields *WritableVirtualMachineWithConfigContext_CustomFields `json:"custom_fields,omitempty"` - Disk *int `json:"disk"` +// WritableVRFRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableVRFRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` - // Human friendly display value - Display *string `json:"display,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LocalContextData *WritableVirtualMachineWithConfigContext_LocalContextData `json:"local_context_data"` + // EnforceUnique Prevent duplicate prefixes/IP addresses within this VRF + EnforceUnique *bool `json:"enforce_unique,omitempty"` + ExportTargets *[]openapi_types.UUID `json:"export_targets,omitempty"` + ImportTargets *[]openapi_types.UUID `json:"import_targets,omitempty"` + Name string `json:"name"` - // Optional schema to validate the structure of the data + // Rd Unique route distinguisher (as defined in RFC 4364) + Rd *string `json:"rd"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableVRFRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableVRFRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableVRFRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` +} + +// WritableVRFRequest_Relationships_Destination_Objects_Item defines model for WritableVRFRequest.relationships.destination.objects.Item. +type WritableVRFRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableVRFRequest_Relationships_Peer_Objects_Item defines model for WritableVRFRequest.relationships.peer.objects.Item. +type WritableVRFRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableVRFRequest_Relationships_Source_Objects_Item defines model for WritableVRFRequest.relationships.source.objects.Item. +type WritableVRFRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableValidatedSoftwareLCMRequest REST API serializer for ValidatedSoftwareLCM records. +type WritableValidatedSoftwareLCMRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + DeviceRoles *[]openapi_types.UUID `json:"device_roles,omitempty"` + DeviceTypes *[]openapi_types.UUID `json:"device_types,omitempty"` + Devices *[]openapi_types.UUID `json:"devices,omitempty"` + End *openapi_types.Date `json:"end"` + InventoryItems *[]openapi_types.UUID `json:"inventory_items,omitempty"` + ObjectTags *[]openapi_types.UUID `json:"object_tags,omitempty"` + Preferred *bool `json:"preferred,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Software openapi_types.UUID `json:"software"` + Start openapi_types.Date `json:"start"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// WritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item defines model for WritableValidatedSoftwareLCMRequest.relationships.destination.objects.Item. +type WritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item defines model for WritableValidatedSoftwareLCMRequest.relationships.peer.objects.Item. +type WritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item defines model for WritableValidatedSoftwareLCMRequest.relationships.source.objects.Item. +type WritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableVirtualChassisRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableVirtualChassisRequest struct { + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Domain *string `json:"domain,omitempty"` + Master *openapi_types.UUID `json:"master"` + Name string `json:"name"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableVirtualChassisRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableVirtualChassisRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableVirtualChassisRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// WritableVirtualChassisRequest_Relationships_Destination_Objects_Item defines model for WritableVirtualChassisRequest.relationships.destination.objects.Item. +type WritableVirtualChassisRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableVirtualChassisRequest_Relationships_Peer_Objects_Item defines model for WritableVirtualChassisRequest.relationships.peer.objects.Item. +type WritableVirtualChassisRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableVirtualChassisRequest_Relationships_Source_Objects_Item defines model for WritableVirtualChassisRequest.relationships.source.objects.Item. +type WritableVirtualChassisRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// WritableVirtualMachineWithConfigContextRequest Base class to use for serializers based on OrganizationalModel or PrimaryModel. +// +// Can also be used for models derived from BaseModel, so long as they support custom fields and relationships. +type WritableVirtualMachineWithConfigContextRequest struct { + Cluster openapi_types.UUID `json:"cluster"` + Comments *string `json:"comments,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Disk *int `json:"disk"` + LocalContextData *map[string]interface{} `json:"local_context_data"` + + // LocalContextSchema Optional schema to validate the structure of the data LocalContextSchema *openapi_types.UUID `json:"local_context_schema"` Memory *int `json:"memory"` Name string `json:"name"` Platform *openapi_types.UUID `json:"platform"` - PrimaryIp *struct { - // Embedded struct due to allOf(#/components/schemas/NestedIPAddress) - NestedIPAddress `yaml:",inline"` - } `json:"primary_ip,omitempty"` - PrimaryIp4 *openapi_types.UUID `json:"primary_ip4"` - PrimaryIp6 *openapi_types.UUID `json:"primary_ip6"` - Role *openapi_types.UUID `json:"role"` - Site *struct { - // Embedded struct due to allOf(#/components/schemas/NestedSite) - NestedSite `yaml:",inline"` - } `json:"site,omitempty"` - Status WritableVirtualMachineWithConfigContextStatusEnum `json:"status"` - Tags *[]TagSerializerField `json:"tags,omitempty"` - Tenant *openapi_types.UUID `json:"tenant"` - Url *string `json:"url,omitempty"` - Vcpus *int `json:"vcpus"` + PrimaryIp4 *openapi_types.UUID `json:"primary_ip4"` + PrimaryIp6 *openapi_types.UUID `json:"primary_ip6"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]WritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Role *openapi_types.UUID `json:"role"` + Status VirtualMachineStatusChoices `json:"status"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` + Tenant *openapi_types.UUID `json:"tenant"` + Vcpus *int `json:"vcpus"` } -// WritableVirtualMachineWithConfigContext_ConfigContext defines model for WritableVirtualMachineWithConfigContext.ConfigContext. -type WritableVirtualMachineWithConfigContext_ConfigContext struct { +// WritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item defines model for WritableVirtualMachineWithConfigContextRequest.relationships.destination.objects.Item. +type WritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableVirtualMachineWithConfigContext_CustomFields defines model for WritableVirtualMachineWithConfigContext.CustomFields. -type WritableVirtualMachineWithConfigContext_CustomFields struct { +// WritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item defines model for WritableVirtualMachineWithConfigContextRequest.relationships.peer.objects.Item. +type WritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableVirtualMachineWithConfigContext_LocalContextData defines model for WritableVirtualMachineWithConfigContext.LocalContextData. -type WritableVirtualMachineWithConfigContext_LocalContextData struct { +// WritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item defines model for WritableVirtualMachineWithConfigContextRequest.relationships.source.objects.Item. +type WritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } -// WritableVirtualMachineWithConfigContextStatusEnum defines model for WritableVirtualMachineWithConfigContextStatusEnum. -type WritableVirtualMachineWithConfigContextStatusEnum string +// Zone Zone Serializer. +type Zone struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + Created *openapi_types.Date `json:"created"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + + // Display Human friendly display value + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Interfaces *[]NestedInterface `json:"interfaces,omitempty"` + LastUpdated *time.Time `json:"last_updated"` + + // Name Name of the zone (e.g. trust) + Name string `json:"name"` + NotesUrl *string `json:"notes_url,omitempty"` + Status *struct { + Label *ZoneStatusLabel `json:"label,omitempty"` + Value *ZoneStatusValue `json:"value,omitempty"` + } `json:"status,omitempty"` + Tags *[]TagSerializerField `json:"tags,omitempty"` + Url *string `json:"url,omitempty"` + Vrfs *[]openapi_types.UUID `json:"vrfs,omitempty"` +} + +// ZoneStatusLabel defines model for Zone.Status.Label. +type ZoneStatusLabel string + +// ZoneStatusValue defines model for Zone.Status.Value. +type ZoneStatusValue string + +// ZoneRequest Zone Serializer. +type ZoneRequest struct { + CustomFieldData *map[string]interface{} `json:"_custom_field_data,omitempty"` + CustomFields *map[string]interface{} `json:"custom_fields,omitempty"` + Description *string `json:"description,omitempty"` + Interfaces *[]NestedInterfaceRequest `json:"interfaces,omitempty"` + + // Name Name of the zone (e.g. trust) + Name *string `json:"name,omitempty"` + Relationships *struct { + Destination *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ZoneRequest_Relationships_Destination_Objects_Item `json:"objects,omitempty"` + } `json:"destination,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Peer *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ZoneRequest_Relationships_Peer_Objects_Item `json:"objects,omitempty"` + } `json:"peer,omitempty"` + Source *struct { + Label *string `json:"label,omitempty"` + ObjectType *string `json:"object_type,omitempty"` + Objects *[]ZoneRequest_Relationships_Source_Objects_Item `json:"objects,omitempty"` + } `json:"source,omitempty"` + Type *string `json:"type,omitempty"` + Url *string `json:"url,omitempty"` + } `json:"relationships,omitempty"` + Status *Status8f7Enum `json:"status,omitempty"` + Tags *[]TagSerializerFieldRequest `json:"tags,omitempty"` +} + +// ZoneRequest_Relationships_Destination_Objects_Item defines model for ZoneRequest.relationships.destination.objects.Item. +type ZoneRequest_Relationships_Destination_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// ZoneRequest_Relationships_Peer_Objects_Item defines model for ZoneRequest.relationships.peer.objects.Item. +type ZoneRequest_Relationships_Peer_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// ZoneRequest_Relationships_Source_Objects_Item defines model for ZoneRequest.relationships.source.objects.Item. +type ZoneRequest_Relationships_Source_Objects_Item struct { + Display *string `json:"display,omitempty"` + Id *openapi_types.UUID `json:"id,omitempty"` + Url *string `json:"url,omitempty"` + AdditionalProperties map[string]interface{} `json:"-"` +} + +// CircuitsCircuitTerminationsBulkDestroyJSONBody defines parameters for CircuitsCircuitTerminationsBulkDestroy. +type CircuitsCircuitTerminationsBulkDestroyJSONBody = []BulkOperationRequest // CircuitsCircuitTerminationsListParams defines parameters for CircuitsCircuitTerminationsList. type CircuitsCircuitTerminationsListParams struct { - Cabled *bool `json:"cabled,omitempty"` + // Cable Cable + Cable *[]openapi_types.UUID `form:"cable,omitempty" json:"cable,omitempty"` - // Circuit - CircuitId *[]openapi_types.UUID `json:"circuit_id,omitempty"` + // CableN Cable + CableN *[]openapi_types.UUID `form:"cable__n,omitempty" json:"cable__n,omitempty"` + Cabled *bool `form:"cabled,omitempty" json:"cabled,omitempty"` - // Circuit - CircuitIdN *[]openapi_types.UUID `json:"circuit_id__n,omitempty"` + // CircuitId Circuit + CircuitId *[]openapi_types.UUID `form:"circuit_id,omitempty" json:"circuit_id,omitempty"` - // Connected status (bool) - Connected *bool `json:"connected,omitempty"` + // CircuitIdN Circuit + CircuitIdN *[]openapi_types.UUID `form:"circuit_id__n,omitempty" json:"circuit_id__n,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Connected Connected status (bool) + Connected *bool `form:"connected,omitempty" json:"connected,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` - PortSpeed *[]int `json:"port_speed,omitempty"` - PortSpeedGt *[]int `json:"port_speed__gt,omitempty"` - PortSpeedGte *[]int `json:"port_speed__gte,omitempty"` - PortSpeedLt *[]int `json:"port_speed__lt,omitempty"` - PortSpeedLte *[]int `json:"port_speed__lte,omitempty"` - PortSpeedN *[]int `json:"port_speed__n,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // Provider Network (ID) - ProviderNetworkId *[]openapi_types.UUID `json:"provider_network_id,omitempty"` + // Location Location (slug or ID) + Location *[]openapi_types.UUID `form:"location,omitempty" json:"location,omitempty"` - // Provider Network (ID) - ProviderNetworkIdN *[]openapi_types.UUID `json:"provider_network_id__n,omitempty"` + // LocationN Location (slug or ID) + LocationN *[]openapi_types.UUID `form:"location__n,omitempty" json:"location__n,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + PortSpeed *[]int `form:"port_speed,omitempty" json:"port_speed,omitempty"` + PortSpeedGt *[]int `form:"port_speed__gt,omitempty" json:"port_speed__gt,omitempty"` + PortSpeedGte *[]int `form:"port_speed__gte,omitempty" json:"port_speed__gte,omitempty"` + PortSpeedLt *[]int `form:"port_speed__lt,omitempty" json:"port_speed__lt,omitempty"` + PortSpeedLte *[]int `form:"port_speed__lte,omitempty" json:"port_speed__lte,omitempty"` + PortSpeedN *[]int `form:"port_speed__n,omitempty" json:"port_speed__n,omitempty"` - // Site (slug) - Site *[]string `json:"site,omitempty"` + // ProviderNetworkId Provider Network (ID) + ProviderNetworkId *[]openapi_types.UUID `form:"provider_network_id,omitempty" json:"provider_network_id,omitempty"` - // Site (slug) - SiteN *[]string `json:"site__n,omitempty"` + // ProviderNetworkIdN Provider Network (ID) + ProviderNetworkIdN *[]openapi_types.UUID `form:"provider_network_id__n,omitempty" json:"provider_network_id__n,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - TermSide *string `json:"term_side,omitempty"` - TermSideN *string `json:"term_side__n,omitempty"` - UpstreamSpeed *[]int `json:"upstream_speed,omitempty"` - UpstreamSpeedGt *[]int `json:"upstream_speed__gt,omitempty"` - UpstreamSpeedGte *[]int `json:"upstream_speed__gte,omitempty"` - UpstreamSpeedLt *[]int `json:"upstream_speed__lt,omitempty"` - UpstreamSpeedLte *[]int `json:"upstream_speed__lte,omitempty"` - UpstreamSpeedN *[]int `json:"upstream_speed__n,omitempty"` - XconnectId *[]string `json:"xconnect_id,omitempty"` - XconnectIdIc *[]string `json:"xconnect_id__ic,omitempty"` - XconnectIdIe *[]string `json:"xconnect_id__ie,omitempty"` - XconnectIdIew *[]string `json:"xconnect_id__iew,omitempty"` - XconnectIdIre *[]string `json:"xconnect_id__ire,omitempty"` - XconnectIdIsw *[]string `json:"xconnect_id__isw,omitempty"` - XconnectIdN *[]string `json:"xconnect_id__n,omitempty"` - XconnectIdNic *[]string `json:"xconnect_id__nic,omitempty"` - XconnectIdNie *[]string `json:"xconnect_id__nie,omitempty"` - XconnectIdNiew *[]string `json:"xconnect_id__niew,omitempty"` - XconnectIdNire *[]string `json:"xconnect_id__nire,omitempty"` - XconnectIdNisw *[]string `json:"xconnect_id__nisw,omitempty"` - XconnectIdNre *[]string `json:"xconnect_id__nre,omitempty"` - XconnectIdRe *[]string `json:"xconnect_id__re,omitempty"` + // Region Region (slug or ID) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug or ID) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) (deprecated, use "region" filter instead) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) (deprecated, use "region" filter instead) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Site Site (slug or ID) + Site *[]openapi_types.UUID `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site (slug or ID) + SiteN *[]openapi_types.UUID `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteId Site (ID) (deprecated, use "site" filter instead) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) (deprecated, use "site" filter instead) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + TermSide *string `form:"term_side,omitempty" json:"term_side,omitempty"` + TermSideN *string `form:"term_side__n,omitempty" json:"term_side__n,omitempty"` + UpstreamSpeed *[]int `form:"upstream_speed,omitempty" json:"upstream_speed,omitempty"` + UpstreamSpeedGt *[]int `form:"upstream_speed__gt,omitempty" json:"upstream_speed__gt,omitempty"` + UpstreamSpeedGte *[]int `form:"upstream_speed__gte,omitempty" json:"upstream_speed__gte,omitempty"` + UpstreamSpeedLt *[]int `form:"upstream_speed__lt,omitempty" json:"upstream_speed__lt,omitempty"` + UpstreamSpeedLte *[]int `form:"upstream_speed__lte,omitempty" json:"upstream_speed__lte,omitempty"` + UpstreamSpeedN *[]int `form:"upstream_speed__n,omitempty" json:"upstream_speed__n,omitempty"` + XconnectId *[]string `form:"xconnect_id,omitempty" json:"xconnect_id,omitempty"` + XconnectIdIc *[]string `form:"xconnect_id__ic,omitempty" json:"xconnect_id__ic,omitempty"` + XconnectIdIe *[]string `form:"xconnect_id__ie,omitempty" json:"xconnect_id__ie,omitempty"` + XconnectIdIew *[]string `form:"xconnect_id__iew,omitempty" json:"xconnect_id__iew,omitempty"` + XconnectIdIre *[]string `form:"xconnect_id__ire,omitempty" json:"xconnect_id__ire,omitempty"` + XconnectIdIsw *[]string `form:"xconnect_id__isw,omitempty" json:"xconnect_id__isw,omitempty"` + XconnectIdN *[]string `form:"xconnect_id__n,omitempty" json:"xconnect_id__n,omitempty"` + XconnectIdNic *[]string `form:"xconnect_id__nic,omitempty" json:"xconnect_id__nic,omitempty"` + XconnectIdNie *[]string `form:"xconnect_id__nie,omitempty" json:"xconnect_id__nie,omitempty"` + XconnectIdNiew *[]string `form:"xconnect_id__niew,omitempty" json:"xconnect_id__niew,omitempty"` + XconnectIdNire *[]string `form:"xconnect_id__nire,omitempty" json:"xconnect_id__nire,omitempty"` + XconnectIdNisw *[]string `form:"xconnect_id__nisw,omitempty" json:"xconnect_id__nisw,omitempty"` + XconnectIdNre *[]string `form:"xconnect_id__nre,omitempty" json:"xconnect_id__nre,omitempty"` + XconnectIdRe *[]string `form:"xconnect_id__re,omitempty" json:"xconnect_id__re,omitempty"` } // CircuitsCircuitTerminationsBulkPartialUpdateJSONBody defines parameters for CircuitsCircuitTerminationsBulkPartialUpdate. -type CircuitsCircuitTerminationsBulkPartialUpdateJSONBody PatchedWritableCircuitTermination - -// CircuitsCircuitTerminationsCreateJSONBody defines parameters for CircuitsCircuitTerminationsCreate. -type CircuitsCircuitTerminationsCreateJSONBody WritableCircuitTermination +type CircuitsCircuitTerminationsBulkPartialUpdateJSONBody = []PatchedBulkWritableCircuitTerminationRequest // CircuitsCircuitTerminationsBulkUpdateJSONBody defines parameters for CircuitsCircuitTerminationsBulkUpdate. -type CircuitsCircuitTerminationsBulkUpdateJSONBody WritableCircuitTermination +type CircuitsCircuitTerminationsBulkUpdateJSONBody = []BulkWritableCircuitTerminationRequest -// CircuitsCircuitTerminationsPartialUpdateJSONBody defines parameters for CircuitsCircuitTerminationsPartialUpdate. -type CircuitsCircuitTerminationsPartialUpdateJSONBody PatchedWritableCircuitTermination +// CircuitsCircuitTerminationsNotesListParams defines parameters for CircuitsCircuitTerminationsNotesList. +type CircuitsCircuitTerminationsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// CircuitsCircuitTerminationsUpdateJSONBody defines parameters for CircuitsCircuitTerminationsUpdate. -type CircuitsCircuitTerminationsUpdateJSONBody WritableCircuitTermination + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// CircuitsCircuitTypesBulkDestroyJSONBody defines parameters for CircuitsCircuitTypesBulkDestroy. +type CircuitsCircuitTypesBulkDestroyJSONBody = []BulkOperationRequest // CircuitsCircuitTypesListParams defines parameters for CircuitsCircuitTypesList. type CircuitsCircuitTypesListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` } // CircuitsCircuitTypesBulkPartialUpdateJSONBody defines parameters for CircuitsCircuitTypesBulkPartialUpdate. -type CircuitsCircuitTypesBulkPartialUpdateJSONBody PatchedCircuitType - -// CircuitsCircuitTypesCreateJSONBody defines parameters for CircuitsCircuitTypesCreate. -type CircuitsCircuitTypesCreateJSONBody CircuitType +type CircuitsCircuitTypesBulkPartialUpdateJSONBody = []PatchedBulkWritableCircuitTypeRequest // CircuitsCircuitTypesBulkUpdateJSONBody defines parameters for CircuitsCircuitTypesBulkUpdate. -type CircuitsCircuitTypesBulkUpdateJSONBody CircuitType +type CircuitsCircuitTypesBulkUpdateJSONBody = []BulkWritableCircuitTypeRequest -// CircuitsCircuitTypesPartialUpdateJSONBody defines parameters for CircuitsCircuitTypesPartialUpdate. -type CircuitsCircuitTypesPartialUpdateJSONBody PatchedCircuitType +// CircuitsCircuitTypesNotesListParams defines parameters for CircuitsCircuitTypesNotesList. +type CircuitsCircuitTypesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// CircuitsCircuitTypesUpdateJSONBody defines parameters for CircuitsCircuitTypesUpdate. -type CircuitsCircuitTypesUpdateJSONBody CircuitType + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// CircuitsCircuitsBulkDestroyJSONBody defines parameters for CircuitsCircuitsBulkDestroy. +type CircuitsCircuitsBulkDestroyJSONBody = []BulkOperationRequest // CircuitsCircuitsListParams defines parameters for CircuitsCircuitsList. type CircuitsCircuitsListParams struct { - Cid *[]string `json:"cid,omitempty"` - CidIc *[]string `json:"cid__ic,omitempty"` - CidIe *[]string `json:"cid__ie,omitempty"` - CidIew *[]string `json:"cid__iew,omitempty"` - CidIre *[]string `json:"cid__ire,omitempty"` - CidIsw *[]string `json:"cid__isw,omitempty"` - CidN *[]string `json:"cid__n,omitempty"` - CidNic *[]string `json:"cid__nic,omitempty"` - CidNie *[]string `json:"cid__nie,omitempty"` - CidNiew *[]string `json:"cid__niew,omitempty"` - CidNire *[]string `json:"cid__nire,omitempty"` - CidNisw *[]string `json:"cid__nisw,omitempty"` - CidNre *[]string `json:"cid__nre,omitempty"` - CidRe *[]string `json:"cid__re,omitempty"` - CommitRate *[]int `json:"commit_rate,omitempty"` - CommitRateGt *[]int `json:"commit_rate__gt,omitempty"` - CommitRateGte *[]int `json:"commit_rate__gte,omitempty"` - CommitRateLt *[]int `json:"commit_rate__lt,omitempty"` - CommitRateLte *[]int `json:"commit_rate__lte,omitempty"` - CommitRateN *[]int `json:"commit_rate__n,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - InstallDate *[]openapi_types.Date `json:"install_date,omitempty"` - InstallDateGt *[]openapi_types.Date `json:"install_date__gt,omitempty"` - InstallDateGte *[]openapi_types.Date `json:"install_date__gte,omitempty"` - InstallDateLt *[]openapi_types.Date `json:"install_date__lt,omitempty"` - InstallDateLte *[]openapi_types.Date `json:"install_date__lte,omitempty"` - InstallDateN *[]openapi_types.Date `json:"install_date__n,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + Cid *[]string `form:"cid,omitempty" json:"cid,omitempty"` + CidIc *[]string `form:"cid__ic,omitempty" json:"cid__ic,omitempty"` + CidIe *[]string `form:"cid__ie,omitempty" json:"cid__ie,omitempty"` + CidIew *[]string `form:"cid__iew,omitempty" json:"cid__iew,omitempty"` + CidIre *[]string `form:"cid__ire,omitempty" json:"cid__ire,omitempty"` + CidIsw *[]string `form:"cid__isw,omitempty" json:"cid__isw,omitempty"` + CidN *[]string `form:"cid__n,omitempty" json:"cid__n,omitempty"` + CidNic *[]string `form:"cid__nic,omitempty" json:"cid__nic,omitempty"` + CidNie *[]string `form:"cid__nie,omitempty" json:"cid__nie,omitempty"` + CidNiew *[]string `form:"cid__niew,omitempty" json:"cid__niew,omitempty"` + CidNire *[]string `form:"cid__nire,omitempty" json:"cid__nire,omitempty"` + CidNisw *[]string `form:"cid__nisw,omitempty" json:"cid__nisw,omitempty"` + CidNre *[]string `form:"cid__nre,omitempty" json:"cid__nre,omitempty"` + CidRe *[]string `form:"cid__re,omitempty" json:"cid__re,omitempty"` + CommitRate *[]int `form:"commit_rate,omitempty" json:"commit_rate,omitempty"` + CommitRateGt *[]int `form:"commit_rate__gt,omitempty" json:"commit_rate__gt,omitempty"` + CommitRateGte *[]int `form:"commit_rate__gte,omitempty" json:"commit_rate__gte,omitempty"` + CommitRateLt *[]int `form:"commit_rate__lt,omitempty" json:"commit_rate__lt,omitempty"` + CommitRateLte *[]int `form:"commit_rate__lte,omitempty" json:"commit_rate__lte,omitempty"` + CommitRateN *[]int `form:"commit_rate__n,omitempty" json:"commit_rate__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + InstallDate *[]openapi_types.Date `form:"install_date,omitempty" json:"install_date,omitempty"` + InstallDateGt *[]openapi_types.Date `form:"install_date__gt,omitempty" json:"install_date__gt,omitempty"` + InstallDateGte *[]openapi_types.Date `form:"install_date__gte,omitempty" json:"install_date__gte,omitempty"` + InstallDateLt *[]openapi_types.Date `form:"install_date__lt,omitempty" json:"install_date__lt,omitempty"` + InstallDateLte *[]openapi_types.Date `form:"install_date__lte,omitempty" json:"install_date__lte,omitempty"` + InstallDateN *[]openapi_types.Date `form:"install_date__n,omitempty" json:"install_date__n,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Location Location (slug or ID) + Location *[]string `form:"location,omitempty" json:"location,omitempty"` - // Provider (slug) - Provider *[]string `json:"provider,omitempty"` + // LocationN Location (slug or ID) + LocationN *[]string `form:"location__n,omitempty" json:"location__n,omitempty"` - // Provider (slug) - ProviderN *[]string `json:"provider__n,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Provider (ID) - ProviderId *[]openapi_types.UUID `json:"provider_id,omitempty"` + // Provider Provider (slug) + Provider *[]string `form:"provider,omitempty" json:"provider,omitempty"` - // Provider (ID) - ProviderIdN *[]openapi_types.UUID `json:"provider_id__n,omitempty"` + // ProviderN Provider (slug) + ProviderN *[]string `form:"provider__n,omitempty" json:"provider__n,omitempty"` - // Provider Network (ID) - ProviderNetworkId *[]openapi_types.UUID `json:"provider_network_id,omitempty"` + // ProviderId Provider (ID) + ProviderId *[]openapi_types.UUID `form:"provider_id,omitempty" json:"provider_id,omitempty"` - // Provider Network (ID) - ProviderNetworkIdN *[]openapi_types.UUID `json:"provider_network_id__n,omitempty"` + // ProviderIdN Provider (ID) + ProviderIdN *[]openapi_types.UUID `form:"provider_id__n,omitempty" json:"provider_id__n,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // ProviderNetworkId Provider Network (ID) + ProviderNetworkId *[]openapi_types.UUID `form:"provider_network_id,omitempty" json:"provider_network_id,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // ProviderNetworkIdN Provider Network (ID) + ProviderNetworkIdN *[]openapi_types.UUID `form:"provider_network_id__n,omitempty" json:"provider_network_id__n,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // Region Region (slug) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // RegionN Region (slug) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` - // Site (slug) - Site *[]string `json:"site,omitempty"` + // RegionId Region (ID) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` - // Site (slug) - SiteN *[]string `json:"site__n,omitempty"` + // RegionIdN Region (ID) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // Site Site (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Status *[]openapi_types.UUID `json:"status,omitempty"` - StatusN *[]openapi_types.UUID `json:"status__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // SiteN Site (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` - // Tenant (slug) - Tenant *[]string `json:"tenant,omitempty"` + // SiteId Site (ID) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` - // Tenant (slug) - TenantN *[]string `json:"tenant__n,omitempty"` + // SiteIdN Site (ID) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Status *[]openapi_types.UUID `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]openapi_types.UUID `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` - // Tenant Group (slug) - TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + // Tenant Tenant (slug or ID) + Tenant *[]openapi_types.UUID `form:"tenant,omitempty" json:"tenant,omitempty"` - // Tenant Group (slug) - TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + // TenantN Tenant (slug or ID) + TenantN *[]openapi_types.UUID `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` - // Tenant Group (ID) - TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + // TenantGroup Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` - // Tenant Group (ID) - TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` - // Tenant (ID) - TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` - // Tenant (ID) - TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` - // Circuit type (slug) - Type *[]string `json:"type,omitempty"` + // TenantId Tenant (ID) (deprecated, use "tenant" filter instead) + TenantId *[]openapi_types.UUID `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` - // Circuit type (slug) - TypeN *[]string `json:"type__n,omitempty"` + // TenantIdN Tenant (ID) (deprecated, use "tenant" filter instead) + TenantIdN *[]openapi_types.UUID `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` - // Circuit type (ID) - TypeId *[]openapi_types.UUID `json:"type_id,omitempty"` + // Type Circuit type (slug) + Type *[]string `form:"type,omitempty" json:"type,omitempty"` - // Circuit type (ID) - TypeIdN *[]openapi_types.UUID `json:"type_id__n,omitempty"` + // TypeN Circuit type (slug) + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + + // TypeId Circuit type (ID) + TypeId *[]openapi_types.UUID `form:"type_id,omitempty" json:"type_id,omitempty"` + + // TypeIdN Circuit type (ID) + TypeIdN *[]openapi_types.UUID `form:"type_id__n,omitempty" json:"type_id__n,omitempty"` } // CircuitsCircuitsBulkPartialUpdateJSONBody defines parameters for CircuitsCircuitsBulkPartialUpdate. -type CircuitsCircuitsBulkPartialUpdateJSONBody PatchedWritableCircuit - -// CircuitsCircuitsCreateJSONBody defines parameters for CircuitsCircuitsCreate. -type CircuitsCircuitsCreateJSONBody WritableCircuit +type CircuitsCircuitsBulkPartialUpdateJSONBody = []PatchedBulkWritableCircuitRequest // CircuitsCircuitsBulkUpdateJSONBody defines parameters for CircuitsCircuitsBulkUpdate. -type CircuitsCircuitsBulkUpdateJSONBody WritableCircuit +type CircuitsCircuitsBulkUpdateJSONBody = []BulkWritableCircuitRequest -// CircuitsCircuitsPartialUpdateJSONBody defines parameters for CircuitsCircuitsPartialUpdate. -type CircuitsCircuitsPartialUpdateJSONBody PatchedWritableCircuit +// CircuitsCircuitsNotesListParams defines parameters for CircuitsCircuitsNotesList. +type CircuitsCircuitsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// CircuitsCircuitsUpdateJSONBody defines parameters for CircuitsCircuitsUpdate. -type CircuitsCircuitsUpdateJSONBody WritableCircuit + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// CircuitsProviderNetworksBulkDestroyJSONBody defines parameters for CircuitsProviderNetworksBulkDestroy. +type CircuitsProviderNetworksBulkDestroyJSONBody = []BulkOperationRequest // CircuitsProviderNetworksListParams defines parameters for CircuitsProviderNetworksList. type CircuitsProviderNetworksListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Provider (slug) - Provider *[]string `json:"provider,omitempty"` + // Provider Provider (slug) + Provider *[]string `form:"provider,omitempty" json:"provider,omitempty"` - // Provider (slug) - ProviderN *[]string `json:"provider__n,omitempty"` + // ProviderN Provider (slug) + ProviderN *[]string `form:"provider__n,omitempty" json:"provider__n,omitempty"` - // Provider (ID) - ProviderId *[]openapi_types.UUID `json:"provider_id,omitempty"` + // ProviderId Provider (ID) + ProviderId *[]openapi_types.UUID `form:"provider_id,omitempty" json:"provider_id,omitempty"` - // Provider (ID) - ProviderIdN *[]openapi_types.UUID `json:"provider_id__n,omitempty"` + // ProviderIdN Provider (ID) + ProviderIdN *[]openapi_types.UUID `form:"provider_id__n,omitempty" json:"provider_id__n,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` } // CircuitsProviderNetworksBulkPartialUpdateJSONBody defines parameters for CircuitsProviderNetworksBulkPartialUpdate. -type CircuitsProviderNetworksBulkPartialUpdateJSONBody PatchedWritableProviderNetwork - -// CircuitsProviderNetworksCreateJSONBody defines parameters for CircuitsProviderNetworksCreate. -type CircuitsProviderNetworksCreateJSONBody WritableProviderNetwork +type CircuitsProviderNetworksBulkPartialUpdateJSONBody = []PatchedBulkWritableProviderNetworkRequest // CircuitsProviderNetworksBulkUpdateJSONBody defines parameters for CircuitsProviderNetworksBulkUpdate. -type CircuitsProviderNetworksBulkUpdateJSONBody WritableProviderNetwork +type CircuitsProviderNetworksBulkUpdateJSONBody = []BulkWritableProviderNetworkRequest -// CircuitsProviderNetworksPartialUpdateJSONBody defines parameters for CircuitsProviderNetworksPartialUpdate. -type CircuitsProviderNetworksPartialUpdateJSONBody PatchedWritableProviderNetwork +// CircuitsProviderNetworksNotesListParams defines parameters for CircuitsProviderNetworksNotesList. +type CircuitsProviderNetworksNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// CircuitsProviderNetworksUpdateJSONBody defines parameters for CircuitsProviderNetworksUpdate. -type CircuitsProviderNetworksUpdateJSONBody WritableProviderNetwork + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// CircuitsProvidersBulkDestroyJSONBody defines parameters for CircuitsProvidersBulkDestroy. +type CircuitsProvidersBulkDestroyJSONBody = []BulkOperationRequest // CircuitsProvidersListParams defines parameters for CircuitsProvidersList. type CircuitsProvidersListParams struct { - Account *[]string `json:"account,omitempty"` - AccountIc *[]string `json:"account__ic,omitempty"` - AccountIe *[]string `json:"account__ie,omitempty"` - AccountIew *[]string `json:"account__iew,omitempty"` - AccountIre *[]string `json:"account__ire,omitempty"` - AccountIsw *[]string `json:"account__isw,omitempty"` - AccountN *[]string `json:"account__n,omitempty"` - AccountNic *[]string `json:"account__nic,omitempty"` - AccountNie *[]string `json:"account__nie,omitempty"` - AccountNiew *[]string `json:"account__niew,omitempty"` - AccountNire *[]string `json:"account__nire,omitempty"` - AccountNisw *[]string `json:"account__nisw,omitempty"` - AccountNre *[]string `json:"account__nre,omitempty"` - AccountRe *[]string `json:"account__re,omitempty"` - Asn *[]int `json:"asn,omitempty"` - AsnGt *[]int `json:"asn__gt,omitempty"` - AsnGte *[]int `json:"asn__gte,omitempty"` - AsnLt *[]int `json:"asn__lt,omitempty"` - AsnLte *[]int `json:"asn__lte,omitempty"` - AsnN *[]int `json:"asn__n,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + Account *[]string `form:"account,omitempty" json:"account,omitempty"` + AccountIc *[]string `form:"account__ic,omitempty" json:"account__ic,omitempty"` + AccountIe *[]string `form:"account__ie,omitempty" json:"account__ie,omitempty"` + AccountIew *[]string `form:"account__iew,omitempty" json:"account__iew,omitempty"` + AccountIre *[]string `form:"account__ire,omitempty" json:"account__ire,omitempty"` + AccountIsw *[]string `form:"account__isw,omitempty" json:"account__isw,omitempty"` + AccountN *[]string `form:"account__n,omitempty" json:"account__n,omitempty"` + AccountNic *[]string `form:"account__nic,omitempty" json:"account__nic,omitempty"` + AccountNie *[]string `form:"account__nie,omitempty" json:"account__nie,omitempty"` + AccountNiew *[]string `form:"account__niew,omitempty" json:"account__niew,omitempty"` + AccountNire *[]string `form:"account__nire,omitempty" json:"account__nire,omitempty"` + AccountNisw *[]string `form:"account__nisw,omitempty" json:"account__nisw,omitempty"` + AccountNre *[]string `form:"account__nre,omitempty" json:"account__nre,omitempty"` + AccountRe *[]string `form:"account__re,omitempty" json:"account__re,omitempty"` + Asn *[]int `form:"asn,omitempty" json:"asn,omitempty"` + AsnGt *[]int `form:"asn__gt,omitempty" json:"asn__gt,omitempty"` + AsnGte *[]int `form:"asn__gte,omitempty" json:"asn__gte,omitempty"` + AsnLt *[]int `form:"asn__lt,omitempty" json:"asn__lt,omitempty"` + AsnLte *[]int `form:"asn__lte,omitempty" json:"asn__lte,omitempty"` + AsnN *[]int `form:"asn__n,omitempty" json:"asn__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Location Location (slug or ID) + Location *[]string `form:"location,omitempty" json:"location,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // LocationN Location (slug or ID) + LocationN *[]string `form:"location__n,omitempty" json:"location__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // Region Region (slug) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // RegionN Region (slug) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` - // Site (slug) - Site *[]string `json:"site,omitempty"` + // RegionId Region (ID) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` - // Site (slug) - SiteN *[]string `json:"site__n,omitempty"` + // RegionIdN Region (ID) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` - // Site - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // Site Site (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` - // Site - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // SiteN Site (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteId Site + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` } // CircuitsProvidersBulkPartialUpdateJSONBody defines parameters for CircuitsProvidersBulkPartialUpdate. -type CircuitsProvidersBulkPartialUpdateJSONBody PatchedProvider - -// CircuitsProvidersCreateJSONBody defines parameters for CircuitsProvidersCreate. -type CircuitsProvidersCreateJSONBody Provider +type CircuitsProvidersBulkPartialUpdateJSONBody = []PatchedBulkWritableProviderRequest // CircuitsProvidersBulkUpdateJSONBody defines parameters for CircuitsProvidersBulkUpdate. -type CircuitsProvidersBulkUpdateJSONBody Provider +type CircuitsProvidersBulkUpdateJSONBody = []BulkWritableProviderRequest -// CircuitsProvidersPartialUpdateJSONBody defines parameters for CircuitsProvidersPartialUpdate. -type CircuitsProvidersPartialUpdateJSONBody PatchedProvider +// CircuitsProvidersNotesListParams defines parameters for CircuitsProvidersNotesList. +type CircuitsProvidersNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// CircuitsProvidersUpdateJSONBody defines parameters for CircuitsProvidersUpdate. -type CircuitsProvidersUpdateJSONBody Provider + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimCablesBulkDestroyJSONBody defines parameters for DcimCablesBulkDestroy. +type DcimCablesBulkDestroyJSONBody = []BulkOperationRequest // DcimCablesListParams defines parameters for DcimCablesList. type DcimCablesListParams struct { - Color *[]string `json:"color,omitempty"` - ColorN *[]string `json:"color__n,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` + Color *[]string `form:"color,omitempty" json:"color,omitempty"` + ColorIc *[]string `form:"color__ic,omitempty" json:"color__ic,omitempty"` + ColorIe *[]string `form:"color__ie,omitempty" json:"color__ie,omitempty"` + ColorIew *[]string `form:"color__iew,omitempty" json:"color__iew,omitempty"` + ColorIre *[]string `form:"color__ire,omitempty" json:"color__ire,omitempty"` + ColorIsw *[]string `form:"color__isw,omitempty" json:"color__isw,omitempty"` + ColorN *[]string `form:"color__n,omitempty" json:"color__n,omitempty"` + ColorNic *[]string `form:"color__nic,omitempty" json:"color__nic,omitempty"` + ColorNie *[]string `form:"color__nie,omitempty" json:"color__nie,omitempty"` + ColorNiew *[]string `form:"color__niew,omitempty" json:"color__niew,omitempty"` + ColorNire *[]string `form:"color__nire,omitempty" json:"color__nire,omitempty"` + ColorNisw *[]string `form:"color__nisw,omitempty" json:"color__nisw,omitempty"` + ColorNre *[]string `form:"color__nre,omitempty" json:"color__nre,omitempty"` + ColorRe *[]string `form:"color__re,omitempty" json:"color__re,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` - // Device (name) - Device *[]string `json:"device,omitempty"` + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` - // Device (ID) - DeviceId *[]openapi_types.UUID `json:"device_id,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - Label *[]string `json:"label,omitempty"` - LabelIc *[]string `json:"label__ic,omitempty"` - LabelIe *[]string `json:"label__ie,omitempty"` - LabelIew *[]string `json:"label__iew,omitempty"` - LabelIre *[]string `json:"label__ire,omitempty"` - LabelIsw *[]string `json:"label__isw,omitempty"` - LabelN *[]string `json:"label__n,omitempty"` - LabelNic *[]string `json:"label__nic,omitempty"` - LabelNie *[]string `json:"label__nie,omitempty"` - LabelNiew *[]string `json:"label__niew,omitempty"` - LabelNire *[]string `json:"label__nire,omitempty"` - LabelNisw *[]string `json:"label__nisw,omitempty"` - LabelNre *[]string `json:"label__nre,omitempty"` - LabelRe *[]string `json:"label__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` - Length *[]int `json:"length,omitempty"` - LengthGt *[]int `json:"length__gt,omitempty"` - LengthGte *[]int `json:"length__gte,omitempty"` - LengthLt *[]int `json:"length__lt,omitempty"` - LengthLte *[]int `json:"length__lte,omitempty"` - LengthN *[]int `json:"length__n,omitempty"` - LengthUnit *string `json:"length_unit,omitempty"` - LengthUnitN *string `json:"length_unit__n,omitempty"` + // DeviceId Device (ID) + DeviceId *[]openapi_types.UUID `form:"device_id,omitempty" json:"device_id,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIre *[]string `form:"label__ire,omitempty" json:"label__ire,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNire *[]string `form:"label__nire,omitempty" json:"label__nire,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + LabelNre *[]string `form:"label__nre,omitempty" json:"label__nre,omitempty"` + LabelRe *[]string `form:"label__re,omitempty" json:"label__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + Length *[]int `form:"length,omitempty" json:"length,omitempty"` + LengthGt *[]int `form:"length__gt,omitempty" json:"length__gt,omitempty"` + LengthGte *[]int `form:"length__gte,omitempty" json:"length__gte,omitempty"` + LengthLt *[]int `form:"length__lt,omitempty" json:"length__lt,omitempty"` + LengthLte *[]int `form:"length__lte,omitempty" json:"length__lte,omitempty"` + LengthN *[]int `form:"length__n,omitempty" json:"length__n,omitempty"` + LengthUnit *string `form:"length_unit,omitempty" json:"length_unit,omitempty"` + LengthUnitN *string `form:"length_unit__n,omitempty" json:"length_unit__n,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Rack (name) - Rack *[]string `json:"rack,omitempty"` + // Rack Rack (name) + Rack *[]string `form:"rack,omitempty" json:"rack,omitempty"` - // Rack (ID) - RackId *[]openapi_types.UUID `json:"rack_id,omitempty"` + // RackId Rack (ID) + RackId *[]openapi_types.UUID `form:"rack_id,omitempty" json:"rack_id,omitempty"` - // Site (name) - Site *[]string `json:"site,omitempty"` + // Region Region (name) + Region *[]string `form:"region,omitempty" json:"region,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` - Status *[]openapi_types.UUID `json:"status,omitempty"` - StatusN *[]openapi_types.UUID `json:"status__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // RegionId Region (ID) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` - // Tenant (name) - Tenant *[]string `json:"tenant,omitempty"` + // Site Site (name) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` - // Tenant (ID) - TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` - Type *[]string `json:"type,omitempty"` - TypeN *[]string `json:"type__n,omitempty"` + // SiteId Site (ID) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` + Status *[]openapi_types.UUID `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]openapi_types.UUID `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (name) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]openapi_types.UUID `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + TerminationAId *[]openapi_types.UUID `form:"termination_a_id,omitempty" json:"termination_a_id,omitempty"` + TerminationAIdIc *[]openapi_types.UUID `form:"termination_a_id__ic,omitempty" json:"termination_a_id__ic,omitempty"` + TerminationAIdIe *[]openapi_types.UUID `form:"termination_a_id__ie,omitempty" json:"termination_a_id__ie,omitempty"` + TerminationAIdIew *[]openapi_types.UUID `form:"termination_a_id__iew,omitempty" json:"termination_a_id__iew,omitempty"` + TerminationAIdIre *[]openapi_types.UUID `form:"termination_a_id__ire,omitempty" json:"termination_a_id__ire,omitempty"` + TerminationAIdIsw *[]openapi_types.UUID `form:"termination_a_id__isw,omitempty" json:"termination_a_id__isw,omitempty"` + TerminationAIdN *[]openapi_types.UUID `form:"termination_a_id__n,omitempty" json:"termination_a_id__n,omitempty"` + TerminationAIdNic *[]openapi_types.UUID `form:"termination_a_id__nic,omitempty" json:"termination_a_id__nic,omitempty"` + TerminationAIdNie *[]openapi_types.UUID `form:"termination_a_id__nie,omitempty" json:"termination_a_id__nie,omitempty"` + TerminationAIdNiew *[]openapi_types.UUID `form:"termination_a_id__niew,omitempty" json:"termination_a_id__niew,omitempty"` + TerminationAIdNire *[]openapi_types.UUID `form:"termination_a_id__nire,omitempty" json:"termination_a_id__nire,omitempty"` + TerminationAIdNisw *[]openapi_types.UUID `form:"termination_a_id__nisw,omitempty" json:"termination_a_id__nisw,omitempty"` + TerminationAIdNre *[]openapi_types.UUID `form:"termination_a_id__nre,omitempty" json:"termination_a_id__nre,omitempty"` + TerminationAIdRe *[]openapi_types.UUID `form:"termination_a_id__re,omitempty" json:"termination_a_id__re,omitempty"` + TerminationAType *[]int `form:"termination_a_type,omitempty" json:"termination_a_type,omitempty"` + TerminationATypeN *[]int `form:"termination_a_type__n,omitempty" json:"termination_a_type__n,omitempty"` + TerminationBId *[]openapi_types.UUID `form:"termination_b_id,omitempty" json:"termination_b_id,omitempty"` + TerminationBIdIc *[]openapi_types.UUID `form:"termination_b_id__ic,omitempty" json:"termination_b_id__ic,omitempty"` + TerminationBIdIe *[]openapi_types.UUID `form:"termination_b_id__ie,omitempty" json:"termination_b_id__ie,omitempty"` + TerminationBIdIew *[]openapi_types.UUID `form:"termination_b_id__iew,omitempty" json:"termination_b_id__iew,omitempty"` + TerminationBIdIre *[]openapi_types.UUID `form:"termination_b_id__ire,omitempty" json:"termination_b_id__ire,omitempty"` + TerminationBIdIsw *[]openapi_types.UUID `form:"termination_b_id__isw,omitempty" json:"termination_b_id__isw,omitempty"` + TerminationBIdN *[]openapi_types.UUID `form:"termination_b_id__n,omitempty" json:"termination_b_id__n,omitempty"` + TerminationBIdNic *[]openapi_types.UUID `form:"termination_b_id__nic,omitempty" json:"termination_b_id__nic,omitempty"` + TerminationBIdNie *[]openapi_types.UUID `form:"termination_b_id__nie,omitempty" json:"termination_b_id__nie,omitempty"` + TerminationBIdNiew *[]openapi_types.UUID `form:"termination_b_id__niew,omitempty" json:"termination_b_id__niew,omitempty"` + TerminationBIdNire *[]openapi_types.UUID `form:"termination_b_id__nire,omitempty" json:"termination_b_id__nire,omitempty"` + TerminationBIdNisw *[]openapi_types.UUID `form:"termination_b_id__nisw,omitempty" json:"termination_b_id__nisw,omitempty"` + TerminationBIdNre *[]openapi_types.UUID `form:"termination_b_id__nre,omitempty" json:"termination_b_id__nre,omitempty"` + TerminationBIdRe *[]openapi_types.UUID `form:"termination_b_id__re,omitempty" json:"termination_b_id__re,omitempty"` + TerminationBType *[]int `form:"termination_b_type,omitempty" json:"termination_b_type,omitempty"` + TerminationBTypeN *[]int `form:"termination_b_type__n,omitempty" json:"termination_b_type__n,omitempty"` + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` } // DcimCablesBulkPartialUpdateJSONBody defines parameters for DcimCablesBulkPartialUpdate. -type DcimCablesBulkPartialUpdateJSONBody PatchedWritableCable - -// DcimCablesCreateJSONBody defines parameters for DcimCablesCreate. -type DcimCablesCreateJSONBody WritableCable +type DcimCablesBulkPartialUpdateJSONBody = []PatchedBulkWritableCableRequest // DcimCablesBulkUpdateJSONBody defines parameters for DcimCablesBulkUpdate. -type DcimCablesBulkUpdateJSONBody WritableCable +type DcimCablesBulkUpdateJSONBody = []BulkWritableCableRequest -// DcimCablesPartialUpdateJSONBody defines parameters for DcimCablesPartialUpdate. -type DcimCablesPartialUpdateJSONBody PatchedWritableCable +// DcimCablesNotesListParams defines parameters for DcimCablesNotesList. +type DcimCablesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimCablesUpdateJSONBody defines parameters for DcimCablesUpdate. -type DcimCablesUpdateJSONBody WritableCable + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} // DcimConnectedDeviceListParams defines parameters for DcimConnectedDeviceList. type DcimConnectedDeviceListParams struct { - // The name of the peer device - PeerDevice string `json:"peer_device"` + // PeerDevice The name of the peer device + PeerDevice string `form:"peer_device" json:"peer_device"` - // The name of the peer interface - PeerInterface string `json:"peer_interface"` + // PeerInterface The name of the peer interface + PeerInterface string `form:"peer_interface" json:"peer_interface"` } // DcimConsoleConnectionsListParams defines parameters for DcimConsoleConnectionsList. type DcimConsoleConnectionsListParams struct { - // Device (name) - Device *[]string `json:"device,omitempty"` + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` - // Device (ID) - DeviceId *[]openapi_types.UUID `json:"device_id,omitempty"` + // DeviceId Device (ID) + DeviceId *[]openapi_types.UUID `form:"device_id,omitempty" json:"device_id,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Site (slug) - Site *string `json:"site,omitempty"` + // Site Site (slug) + Site *string `form:"site,omitempty" json:"site,omitempty"` } +// DcimConsolePortTemplatesBulkDestroyJSONBody defines parameters for DcimConsolePortTemplatesBulkDestroy. +type DcimConsolePortTemplatesBulkDestroyJSONBody = []BulkOperationRequest + // DcimConsolePortTemplatesListParams defines parameters for DcimConsolePortTemplatesList. type DcimConsolePortTemplatesListParams struct { - // Device type (ID) - DevicetypeId *[]openapi_types.UUID `json:"devicetype_id,omitempty"` + // Description Description + Description *[]string `form:"description,omitempty" json:"description,omitempty"` - // Device type (ID) - DevicetypeIdN *[]openapi_types.UUID `json:"devicetype_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // DescriptionIc Description + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // DescriptionIe Description + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // DescriptionIew Description + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Type *string `json:"type,omitempty"` - TypeN *string `json:"type__n,omitempty"` + // DescriptionIre Description + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + + // DescriptionIsw Description + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + + // DescriptionN Description + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + + // DescriptionNic Description + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + + // DescriptionNie Description + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + + // DescriptionNiew Description + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + + // DescriptionNire Description + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + + // DescriptionNisw Description + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // DescriptionNre Description + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + + // DescriptionRe Description + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + + // DeviceType Device type (slug or ID) + DeviceType *[]openapi_types.UUID `form:"device_type,omitempty" json:"device_type,omitempty"` + + // DeviceTypeN Device type (slug or ID) + DeviceTypeN *[]openapi_types.UUID `form:"device_type__n,omitempty" json:"device_type__n,omitempty"` + + // DevicetypeId Device type (ID) + DevicetypeId *[]openapi_types.UUID `form:"devicetype_id,omitempty" json:"devicetype_id,omitempty"` + + // DevicetypeIdN Device type (ID) + DevicetypeIdN *[]openapi_types.UUID `form:"devicetype_id__n,omitempty" json:"devicetype_id__n,omitempty"` + + // Id ID + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + + // IdIc ID + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + + // IdIe ID + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + + // IdIew ID + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + + // IdIre ID + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + + // IdIsw ID + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + + // IdN ID + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + + // IdNic ID + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + + // IdNie ID + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + + // IdNiew ID + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + + // IdNire ID + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + + // IdNisw ID + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + + // IdNre ID + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + + // IdRe ID + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + + // Label Label + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + + // LabelIc Label + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + + // LabelIe Label + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + + // LabelIew Label + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + + // LabelIre Label + LabelIre *[]string `form:"label__ire,omitempty" json:"label__ire,omitempty"` + + // LabelIsw Label + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + + // LabelN Label + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + + // LabelNic Label + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + + // LabelNie Label + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + + // LabelNiew Label + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + + // LabelNire Label + LabelNire *[]string `form:"label__nire,omitempty" json:"label__nire,omitempty"` + + // LabelNisw Label + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + + // LabelNre Label + LabelNre *[]string `form:"label__nre,omitempty" json:"label__nre,omitempty"` + + // LabelRe Label + LabelRe *[]string `form:"label__re,omitempty" json:"label__re,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Name Name + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + + // NameIc Name + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + + // NameIe Name + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + + // NameIew Name + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + + // NameIre Name + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + + // NameIsw Name + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + + // NameN Name + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + + // NameNic Name + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + + // NameNie Name + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + + // NameNiew Name + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + + // NameNire Name + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + + // NameNisw Name + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // NameNre Name + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + + // NameRe Name + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Type *string `form:"type,omitempty" json:"type,omitempty"` + TypeN *string `form:"type__n,omitempty" json:"type__n,omitempty"` } // DcimConsolePortTemplatesBulkPartialUpdateJSONBody defines parameters for DcimConsolePortTemplatesBulkPartialUpdate. -type DcimConsolePortTemplatesBulkPartialUpdateJSONBody PatchedWritableConsolePortTemplate - -// DcimConsolePortTemplatesCreateJSONBody defines parameters for DcimConsolePortTemplatesCreate. -type DcimConsolePortTemplatesCreateJSONBody WritableConsolePortTemplate +type DcimConsolePortTemplatesBulkPartialUpdateJSONBody = []PatchedBulkWritableConsolePortTemplateRequest // DcimConsolePortTemplatesBulkUpdateJSONBody defines parameters for DcimConsolePortTemplatesBulkUpdate. -type DcimConsolePortTemplatesBulkUpdateJSONBody WritableConsolePortTemplate +type DcimConsolePortTemplatesBulkUpdateJSONBody = []BulkWritableConsolePortTemplateRequest -// DcimConsolePortTemplatesPartialUpdateJSONBody defines parameters for DcimConsolePortTemplatesPartialUpdate. -type DcimConsolePortTemplatesPartialUpdateJSONBody PatchedWritableConsolePortTemplate +// DcimConsolePortTemplatesNotesListParams defines parameters for DcimConsolePortTemplatesNotesList. +type DcimConsolePortTemplatesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimConsolePortTemplatesUpdateJSONBody defines parameters for DcimConsolePortTemplatesUpdate. -type DcimConsolePortTemplatesUpdateJSONBody WritableConsolePortTemplate + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimConsolePortsBulkDestroyJSONBody defines parameters for DcimConsolePortsBulkDestroy. +type DcimConsolePortsBulkDestroyJSONBody = []BulkOperationRequest // DcimConsolePortsListParams defines parameters for DcimConsolePortsList. type DcimConsolePortsListParams struct { - Cabled *bool `json:"cabled,omitempty"` + // Cable Cable + Cable *[]openapi_types.UUID `form:"cable,omitempty" json:"cable,omitempty"` - // Connected status (bool) - Connected *bool `json:"connected,omitempty"` - Description *[]string `json:"description,omitempty"` - DescriptionIc *[]string `json:"description__ic,omitempty"` - DescriptionIe *[]string `json:"description__ie,omitempty"` - DescriptionIew *[]string `json:"description__iew,omitempty"` - DescriptionIre *[]string `json:"description__ire,omitempty"` - DescriptionIsw *[]string `json:"description__isw,omitempty"` - DescriptionN *[]string `json:"description__n,omitempty"` - DescriptionNic *[]string `json:"description__nic,omitempty"` - DescriptionNie *[]string `json:"description__nie,omitempty"` - DescriptionNiew *[]string `json:"description__niew,omitempty"` - DescriptionNire *[]string `json:"description__nire,omitempty"` - DescriptionNisw *[]string `json:"description__nisw,omitempty"` - DescriptionNre *[]string `json:"description__nre,omitempty"` - DescriptionRe *[]string `json:"description__re,omitempty"` + // CableN Cable + CableN *[]openapi_types.UUID `form:"cable__n,omitempty" json:"cable__n,omitempty"` + Cabled *bool `form:"cabled,omitempty" json:"cabled,omitempty"` - // Device (name) - Device *[]string `json:"device,omitempty"` + // Connected Connected status (bool) + Connected *bool `form:"connected,omitempty" json:"connected,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` - // Device (name) - DeviceN *[]string `json:"device__n,omitempty"` + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` - // Device (ID) - DeviceId *[]openapi_types.UUID `json:"device_id,omitempty"` + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` - // Device (ID) - DeviceIdN *[]openapi_types.UUID `json:"device_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // DeviceId Device (ID) + DeviceId *[]openapi_types.UUID `form:"device_id,omitempty" json:"device_id,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // DeviceIdN Device (ID) + DeviceIdN *[]openapi_types.UUID `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIre *[]string `form:"label__ire,omitempty" json:"label__ire,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNire *[]string `form:"label__nire,omitempty" json:"label__nire,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + LabelNre *[]string `form:"label__nre,omitempty" json:"label__nre,omitempty"` + LabelRe *[]string `form:"label__re,omitempty" json:"label__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // Region Region (slug) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // RegionN Region (slug) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // RegionId Region (ID) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` - // Site name (slug) - Site *[]string `json:"site,omitempty"` + // RegionIdN Region (ID) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` - // Site name (slug) - SiteN *[]string `json:"site__n,omitempty"` + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // SiteId Site (ID) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` - // Physical port type - Type *[]string `json:"type,omitempty"` + // SiteIdN Site (ID) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` - // Physical port type - TypeN *[]string `json:"type__n,omitempty"` + // Type Physical port type + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + + // TypeN Physical port type + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` } // DcimConsolePortsBulkPartialUpdateJSONBody defines parameters for DcimConsolePortsBulkPartialUpdate. -type DcimConsolePortsBulkPartialUpdateJSONBody PatchedWritableConsolePort - -// DcimConsolePortsCreateJSONBody defines parameters for DcimConsolePortsCreate. -type DcimConsolePortsCreateJSONBody WritableConsolePort +type DcimConsolePortsBulkPartialUpdateJSONBody = []PatchedBulkWritableConsolePortRequest // DcimConsolePortsBulkUpdateJSONBody defines parameters for DcimConsolePortsBulkUpdate. -type DcimConsolePortsBulkUpdateJSONBody WritableConsolePort +type DcimConsolePortsBulkUpdateJSONBody = []BulkWritableConsolePortRequest -// DcimConsolePortsPartialUpdateJSONBody defines parameters for DcimConsolePortsPartialUpdate. -type DcimConsolePortsPartialUpdateJSONBody PatchedWritableConsolePort +// DcimConsolePortsNotesListParams defines parameters for DcimConsolePortsNotesList. +type DcimConsolePortsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimConsolePortsUpdateJSONBody defines parameters for DcimConsolePortsUpdate. -type DcimConsolePortsUpdateJSONBody WritableConsolePort + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimConsoleServerPortTemplatesBulkDestroyJSONBody defines parameters for DcimConsoleServerPortTemplatesBulkDestroy. +type DcimConsoleServerPortTemplatesBulkDestroyJSONBody = []BulkOperationRequest // DcimConsoleServerPortTemplatesListParams defines parameters for DcimConsoleServerPortTemplatesList. type DcimConsoleServerPortTemplatesListParams struct { - // Device type (ID) - DevicetypeId *[]openapi_types.UUID `json:"devicetype_id,omitempty"` + // Description Description + Description *[]string `form:"description,omitempty" json:"description,omitempty"` - // Device type (ID) - DevicetypeIdN *[]openapi_types.UUID `json:"devicetype_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // DescriptionIc Description + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // DescriptionIe Description + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // DescriptionIew Description + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Type *string `json:"type,omitempty"` - TypeN *string `json:"type__n,omitempty"` + // DescriptionIre Description + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + + // DescriptionIsw Description + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + + // DescriptionN Description + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + + // DescriptionNic Description + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + + // DescriptionNie Description + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + + // DescriptionNiew Description + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + + // DescriptionNire Description + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + + // DescriptionNisw Description + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // DescriptionNre Description + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + + // DescriptionRe Description + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + + // DeviceType Device type (slug or ID) + DeviceType *[]openapi_types.UUID `form:"device_type,omitempty" json:"device_type,omitempty"` + + // DeviceTypeN Device type (slug or ID) + DeviceTypeN *[]openapi_types.UUID `form:"device_type__n,omitempty" json:"device_type__n,omitempty"` + + // DevicetypeId Device type (ID) + DevicetypeId *[]openapi_types.UUID `form:"devicetype_id,omitempty" json:"devicetype_id,omitempty"` + + // DevicetypeIdN Device type (ID) + DevicetypeIdN *[]openapi_types.UUID `form:"devicetype_id__n,omitempty" json:"devicetype_id__n,omitempty"` + + // Id ID + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + + // IdIc ID + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + + // IdIe ID + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + + // IdIew ID + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + + // IdIre ID + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + + // IdIsw ID + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + + // IdN ID + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + + // IdNic ID + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + + // IdNie ID + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + + // IdNiew ID + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + + // IdNire ID + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + + // IdNisw ID + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + + // IdNre ID + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + + // IdRe ID + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + + // Label Label + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + + // LabelIc Label + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + + // LabelIe Label + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + + // LabelIew Label + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + + // LabelIre Label + LabelIre *[]string `form:"label__ire,omitempty" json:"label__ire,omitempty"` + + // LabelIsw Label + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + + // LabelN Label + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + + // LabelNic Label + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + + // LabelNie Label + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + + // LabelNiew Label + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + + // LabelNire Label + LabelNire *[]string `form:"label__nire,omitempty" json:"label__nire,omitempty"` + + // LabelNisw Label + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + + // LabelNre Label + LabelNre *[]string `form:"label__nre,omitempty" json:"label__nre,omitempty"` + + // LabelRe Label + LabelRe *[]string `form:"label__re,omitempty" json:"label__re,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Name Name + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + + // NameIc Name + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + + // NameIe Name + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + + // NameIew Name + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + + // NameIre Name + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + + // NameIsw Name + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + + // NameN Name + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + + // NameNic Name + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + + // NameNie Name + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + + // NameNiew Name + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + + // NameNire Name + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + + // NameNisw Name + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // NameNre Name + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + + // NameRe Name + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Type *string `form:"type,omitempty" json:"type,omitempty"` + TypeN *string `form:"type__n,omitempty" json:"type__n,omitempty"` } // DcimConsoleServerPortTemplatesBulkPartialUpdateJSONBody defines parameters for DcimConsoleServerPortTemplatesBulkPartialUpdate. -type DcimConsoleServerPortTemplatesBulkPartialUpdateJSONBody PatchedWritableConsoleServerPortTemplate - -// DcimConsoleServerPortTemplatesCreateJSONBody defines parameters for DcimConsoleServerPortTemplatesCreate. -type DcimConsoleServerPortTemplatesCreateJSONBody WritableConsoleServerPortTemplate +type DcimConsoleServerPortTemplatesBulkPartialUpdateJSONBody = []PatchedBulkWritableConsoleServerPortTemplateRequest // DcimConsoleServerPortTemplatesBulkUpdateJSONBody defines parameters for DcimConsoleServerPortTemplatesBulkUpdate. -type DcimConsoleServerPortTemplatesBulkUpdateJSONBody WritableConsoleServerPortTemplate +type DcimConsoleServerPortTemplatesBulkUpdateJSONBody = []BulkWritableConsoleServerPortTemplateRequest -// DcimConsoleServerPortTemplatesPartialUpdateJSONBody defines parameters for DcimConsoleServerPortTemplatesPartialUpdate. -type DcimConsoleServerPortTemplatesPartialUpdateJSONBody PatchedWritableConsoleServerPortTemplate +// DcimConsoleServerPortTemplatesNotesListParams defines parameters for DcimConsoleServerPortTemplatesNotesList. +type DcimConsoleServerPortTemplatesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimConsoleServerPortTemplatesUpdateJSONBody defines parameters for DcimConsoleServerPortTemplatesUpdate. -type DcimConsoleServerPortTemplatesUpdateJSONBody WritableConsoleServerPortTemplate + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimConsoleServerPortsBulkDestroyJSONBody defines parameters for DcimConsoleServerPortsBulkDestroy. +type DcimConsoleServerPortsBulkDestroyJSONBody = []BulkOperationRequest // DcimConsoleServerPortsListParams defines parameters for DcimConsoleServerPortsList. type DcimConsoleServerPortsListParams struct { - Cabled *bool `json:"cabled,omitempty"` + // Cable Cable + Cable *[]openapi_types.UUID `form:"cable,omitempty" json:"cable,omitempty"` - // Connected status (bool) - Connected *bool `json:"connected,omitempty"` - Description *[]string `json:"description,omitempty"` - DescriptionIc *[]string `json:"description__ic,omitempty"` - DescriptionIe *[]string `json:"description__ie,omitempty"` - DescriptionIew *[]string `json:"description__iew,omitempty"` - DescriptionIre *[]string `json:"description__ire,omitempty"` - DescriptionIsw *[]string `json:"description__isw,omitempty"` - DescriptionN *[]string `json:"description__n,omitempty"` - DescriptionNic *[]string `json:"description__nic,omitempty"` - DescriptionNie *[]string `json:"description__nie,omitempty"` - DescriptionNiew *[]string `json:"description__niew,omitempty"` - DescriptionNire *[]string `json:"description__nire,omitempty"` - DescriptionNisw *[]string `json:"description__nisw,omitempty"` - DescriptionNre *[]string `json:"description__nre,omitempty"` - DescriptionRe *[]string `json:"description__re,omitempty"` + // CableN Cable + CableN *[]openapi_types.UUID `form:"cable__n,omitempty" json:"cable__n,omitempty"` + Cabled *bool `form:"cabled,omitempty" json:"cabled,omitempty"` - // Device (name) - Device *[]string `json:"device,omitempty"` + // Connected Connected status (bool) + Connected *bool `form:"connected,omitempty" json:"connected,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` - // Device (name) - DeviceN *[]string `json:"device__n,omitempty"` + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` - // Device (ID) - DeviceId *[]openapi_types.UUID `json:"device_id,omitempty"` + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` - // Device (ID) - DeviceIdN *[]openapi_types.UUID `json:"device_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // DeviceId Device (ID) + DeviceId *[]openapi_types.UUID `form:"device_id,omitempty" json:"device_id,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // DeviceIdN Device (ID) + DeviceIdN *[]openapi_types.UUID `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIre *[]string `form:"label__ire,omitempty" json:"label__ire,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNire *[]string `form:"label__nire,omitempty" json:"label__nire,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + LabelNre *[]string `form:"label__nre,omitempty" json:"label__nre,omitempty"` + LabelRe *[]string `form:"label__re,omitempty" json:"label__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // Region Region (slug) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // RegionN Region (slug) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // RegionId Region (ID) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` - // Site name (slug) - Site *[]string `json:"site,omitempty"` + // RegionIdN Region (ID) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` - // Site name (slug) - SiteN *[]string `json:"site__n,omitempty"` + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // SiteId Site (ID) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` - // Physical port type - Type *[]string `json:"type,omitempty"` + // SiteIdN Site (ID) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` - // Physical port type - TypeN *[]string `json:"type__n,omitempty"` + // Type Physical port type + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + + // TypeN Physical port type + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` } // DcimConsoleServerPortsBulkPartialUpdateJSONBody defines parameters for DcimConsoleServerPortsBulkPartialUpdate. -type DcimConsoleServerPortsBulkPartialUpdateJSONBody PatchedWritableConsoleServerPort - -// DcimConsoleServerPortsCreateJSONBody defines parameters for DcimConsoleServerPortsCreate. -type DcimConsoleServerPortsCreateJSONBody WritableConsoleServerPort +type DcimConsoleServerPortsBulkPartialUpdateJSONBody = []PatchedBulkWritableConsoleServerPortRequest // DcimConsoleServerPortsBulkUpdateJSONBody defines parameters for DcimConsoleServerPortsBulkUpdate. -type DcimConsoleServerPortsBulkUpdateJSONBody WritableConsoleServerPort +type DcimConsoleServerPortsBulkUpdateJSONBody = []BulkWritableConsoleServerPortRequest -// DcimConsoleServerPortsPartialUpdateJSONBody defines parameters for DcimConsoleServerPortsPartialUpdate. -type DcimConsoleServerPortsPartialUpdateJSONBody PatchedWritableConsoleServerPort +// DcimConsoleServerPortsNotesListParams defines parameters for DcimConsoleServerPortsNotesList. +type DcimConsoleServerPortsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimConsoleServerPortsUpdateJSONBody defines parameters for DcimConsoleServerPortsUpdate. -type DcimConsoleServerPortsUpdateJSONBody WritableConsoleServerPort + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimDeviceBayTemplatesBulkDestroyJSONBody defines parameters for DcimDeviceBayTemplatesBulkDestroy. +type DcimDeviceBayTemplatesBulkDestroyJSONBody = []BulkOperationRequest // DcimDeviceBayTemplatesListParams defines parameters for DcimDeviceBayTemplatesList. type DcimDeviceBayTemplatesListParams struct { - // Device type (ID) - DevicetypeId *[]openapi_types.UUID `json:"devicetype_id,omitempty"` + // Description Description + Description *[]string `form:"description,omitempty" json:"description,omitempty"` - // Device type (ID) - DevicetypeIdN *[]openapi_types.UUID `json:"devicetype_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // DescriptionIc Description + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // DescriptionIe Description + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // DescriptionIew Description + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // DescriptionIre Description + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + + // DescriptionIsw Description + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + + // DescriptionN Description + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + + // DescriptionNic Description + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + + // DescriptionNie Description + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + + // DescriptionNiew Description + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + + // DescriptionNire Description + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + + // DescriptionNisw Description + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // DescriptionNre Description + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + + // DescriptionRe Description + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + + // DeviceType Device type (slug or ID) + DeviceType *[]openapi_types.UUID `form:"device_type,omitempty" json:"device_type,omitempty"` + + // DeviceTypeN Device type (slug or ID) + DeviceTypeN *[]openapi_types.UUID `form:"device_type__n,omitempty" json:"device_type__n,omitempty"` + + // DevicetypeId Device type (ID) + DevicetypeId *[]openapi_types.UUID `form:"devicetype_id,omitempty" json:"devicetype_id,omitempty"` + + // DevicetypeIdN Device type (ID) + DevicetypeIdN *[]openapi_types.UUID `form:"devicetype_id__n,omitempty" json:"devicetype_id__n,omitempty"` + + // Id ID + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + + // IdIc ID + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + + // IdIe ID + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + + // IdIew ID + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + + // IdIre ID + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + + // IdIsw ID + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + + // IdN ID + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + + // IdNic ID + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + + // IdNie ID + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + + // IdNiew ID + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + + // IdNire ID + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + + // IdNisw ID + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + + // IdNre ID + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + + // IdRe ID + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + + // Label Label + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + + // LabelIc Label + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + + // LabelIe Label + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + + // LabelIew Label + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + + // LabelIre Label + LabelIre *[]string `form:"label__ire,omitempty" json:"label__ire,omitempty"` + + // LabelIsw Label + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + + // LabelN Label + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + + // LabelNic Label + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + + // LabelNie Label + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + + // LabelNiew Label + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + + // LabelNire Label + LabelNire *[]string `form:"label__nire,omitempty" json:"label__nire,omitempty"` + + // LabelNisw Label + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + + // LabelNre Label + LabelNre *[]string `form:"label__nre,omitempty" json:"label__nre,omitempty"` + + // LabelRe Label + LabelRe *[]string `form:"label__re,omitempty" json:"label__re,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Name Name + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + + // NameIc Name + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + + // NameIe Name + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + + // NameIew Name + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + + // NameIre Name + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + + // NameIsw Name + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + + // NameN Name + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + + // NameNic Name + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + + // NameNie Name + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + + // NameNiew Name + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + + // NameNire Name + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + + // NameNisw Name + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // NameNre Name + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + + // NameRe Name + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` } // DcimDeviceBayTemplatesBulkPartialUpdateJSONBody defines parameters for DcimDeviceBayTemplatesBulkPartialUpdate. -type DcimDeviceBayTemplatesBulkPartialUpdateJSONBody PatchedWritableDeviceBayTemplate - -// DcimDeviceBayTemplatesCreateJSONBody defines parameters for DcimDeviceBayTemplatesCreate. -type DcimDeviceBayTemplatesCreateJSONBody WritableDeviceBayTemplate +type DcimDeviceBayTemplatesBulkPartialUpdateJSONBody = []PatchedBulkWritableDeviceBayTemplateRequest // DcimDeviceBayTemplatesBulkUpdateJSONBody defines parameters for DcimDeviceBayTemplatesBulkUpdate. -type DcimDeviceBayTemplatesBulkUpdateJSONBody WritableDeviceBayTemplate +type DcimDeviceBayTemplatesBulkUpdateJSONBody = []BulkWritableDeviceBayTemplateRequest -// DcimDeviceBayTemplatesPartialUpdateJSONBody defines parameters for DcimDeviceBayTemplatesPartialUpdate. -type DcimDeviceBayTemplatesPartialUpdateJSONBody PatchedWritableDeviceBayTemplate +// DcimDeviceBayTemplatesNotesListParams defines parameters for DcimDeviceBayTemplatesNotesList. +type DcimDeviceBayTemplatesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimDeviceBayTemplatesUpdateJSONBody defines parameters for DcimDeviceBayTemplatesUpdate. -type DcimDeviceBayTemplatesUpdateJSONBody WritableDeviceBayTemplate + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimDeviceBaysBulkDestroyJSONBody defines parameters for DcimDeviceBaysBulkDestroy. +type DcimDeviceBaysBulkDestroyJSONBody = []BulkOperationRequest // DcimDeviceBaysListParams defines parameters for DcimDeviceBaysList. type DcimDeviceBaysListParams struct { - Description *[]string `json:"description,omitempty"` - DescriptionIc *[]string `json:"description__ic,omitempty"` - DescriptionIe *[]string `json:"description__ie,omitempty"` - DescriptionIew *[]string `json:"description__iew,omitempty"` - DescriptionIre *[]string `json:"description__ire,omitempty"` - DescriptionIsw *[]string `json:"description__isw,omitempty"` - DescriptionN *[]string `json:"description__n,omitempty"` - DescriptionNic *[]string `json:"description__nic,omitempty"` - DescriptionNie *[]string `json:"description__nie,omitempty"` - DescriptionNiew *[]string `json:"description__niew,omitempty"` - DescriptionNire *[]string `json:"description__nire,omitempty"` - DescriptionNisw *[]string `json:"description__nisw,omitempty"` - DescriptionNre *[]string `json:"description__nre,omitempty"` - DescriptionRe *[]string `json:"description__re,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` - // Device (name) - Device *[]string `json:"device,omitempty"` + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` - // Device (name) - DeviceN *[]string `json:"device__n,omitempty"` + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` - // Device (ID) - DeviceId *[]openapi_types.UUID `json:"device_id,omitempty"` + // DeviceId Device (ID) + DeviceId *[]openapi_types.UUID `form:"device_id,omitempty" json:"device_id,omitempty"` - // Device (ID) - DeviceIdN *[]openapi_types.UUID `json:"device_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // DeviceIdN Device (ID) + DeviceIdN *[]openapi_types.UUID `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // InstalledDevice Installed device (name or ID) + InstalledDevice *[]openapi_types.UUID `form:"installed_device,omitempty" json:"installed_device,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // InstalledDeviceN Installed device (name or ID) + InstalledDeviceN *[]openapi_types.UUID `form:"installed_device__n,omitempty" json:"installed_device__n,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIre *[]string `form:"label__ire,omitempty" json:"label__ire,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNire *[]string `form:"label__nire,omitempty" json:"label__nire,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + LabelNre *[]string `form:"label__nre,omitempty" json:"label__nre,omitempty"` + LabelRe *[]string `form:"label__re,omitempty" json:"label__re,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // Region Region (slug) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // RegionN Region (slug) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` - // Site name (slug) - Site *[]string `json:"site,omitempty"` + // RegionId Region (ID) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` - // Site name (slug) - SiteN *[]string `json:"site__n,omitempty"` + // RegionIdN Region (ID) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` } // DcimDeviceBaysBulkPartialUpdateJSONBody defines parameters for DcimDeviceBaysBulkPartialUpdate. -type DcimDeviceBaysBulkPartialUpdateJSONBody PatchedWritableDeviceBay - -// DcimDeviceBaysCreateJSONBody defines parameters for DcimDeviceBaysCreate. -type DcimDeviceBaysCreateJSONBody WritableDeviceBay +type DcimDeviceBaysBulkPartialUpdateJSONBody = []PatchedBulkWritableDeviceBayRequest // DcimDeviceBaysBulkUpdateJSONBody defines parameters for DcimDeviceBaysBulkUpdate. -type DcimDeviceBaysBulkUpdateJSONBody WritableDeviceBay +type DcimDeviceBaysBulkUpdateJSONBody = []BulkWritableDeviceBayRequest -// DcimDeviceBaysPartialUpdateJSONBody defines parameters for DcimDeviceBaysPartialUpdate. -type DcimDeviceBaysPartialUpdateJSONBody PatchedWritableDeviceBay +// DcimDeviceBaysNotesListParams defines parameters for DcimDeviceBaysNotesList. +type DcimDeviceBaysNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimDeviceBaysUpdateJSONBody defines parameters for DcimDeviceBaysUpdate. -type DcimDeviceBaysUpdateJSONBody WritableDeviceBay + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimDeviceRedundancyGroupsBulkDestroyJSONBody defines parameters for DcimDeviceRedundancyGroupsBulkDestroy. +type DcimDeviceRedundancyGroupsBulkDestroyJSONBody = []BulkOperationRequest + +// DcimDeviceRedundancyGroupsListParams defines parameters for DcimDeviceRedundancyGroupsList. +type DcimDeviceRedundancyGroupsListParams struct { + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + FailoverStrategy *string `form:"failover_strategy,omitempty" json:"failover_strategy,omitempty"` + FailoverStrategyN *string `form:"failover_strategy__n,omitempty" json:"failover_strategy__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // SecretsGroup Secrets group + SecretsGroup *[]openapi_types.UUID `form:"secrets_group,omitempty" json:"secrets_group,omitempty"` + + // SecretsGroupN Secrets group + SecretsGroupN *[]openapi_types.UUID `form:"secrets_group__n,omitempty" json:"secrets_group__n,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` + Status *[]openapi_types.UUID `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]openapi_types.UUID `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` +} + +// DcimDeviceRedundancyGroupsBulkPartialUpdateJSONBody defines parameters for DcimDeviceRedundancyGroupsBulkPartialUpdate. +type DcimDeviceRedundancyGroupsBulkPartialUpdateJSONBody = []PatchedBulkWritableDeviceRedundancyGroupRequest + +// DcimDeviceRedundancyGroupsBulkUpdateJSONBody defines parameters for DcimDeviceRedundancyGroupsBulkUpdate. +type DcimDeviceRedundancyGroupsBulkUpdateJSONBody = []BulkWritableDeviceRedundancyGroupRequest + +// DcimDeviceRedundancyGroupsNotesListParams defines parameters for DcimDeviceRedundancyGroupsNotesList. +type DcimDeviceRedundancyGroupsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimDeviceRolesBulkDestroyJSONBody defines parameters for DcimDeviceRolesBulkDestroy. +type DcimDeviceRolesBulkDestroyJSONBody = []BulkOperationRequest // DcimDeviceRolesListParams defines parameters for DcimDeviceRolesList. type DcimDeviceRolesListParams struct { - Color *[]string `json:"color,omitempty"` - ColorIc *[]string `json:"color__ic,omitempty"` - ColorIe *[]string `json:"color__ie,omitempty"` - ColorIew *[]string `json:"color__iew,omitempty"` - ColorIre *[]string `json:"color__ire,omitempty"` - ColorIsw *[]string `json:"color__isw,omitempty"` - ColorN *[]string `json:"color__n,omitempty"` - ColorNic *[]string `json:"color__nic,omitempty"` - ColorNie *[]string `json:"color__nie,omitempty"` - ColorNiew *[]string `json:"color__niew,omitempty"` - ColorNire *[]string `json:"color__nire,omitempty"` - ColorNisw *[]string `json:"color__nisw,omitempty"` - ColorNre *[]string `json:"color__nre,omitempty"` - ColorRe *[]string `json:"color__re,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + Color *[]string `form:"color,omitempty" json:"color,omitempty"` + ColorIc *[]string `form:"color__ic,omitempty" json:"color__ic,omitempty"` + ColorIe *[]string `form:"color__ie,omitempty" json:"color__ie,omitempty"` + ColorIew *[]string `form:"color__iew,omitempty" json:"color__iew,omitempty"` + ColorIre *[]string `form:"color__ire,omitempty" json:"color__ire,omitempty"` + ColorIsw *[]string `form:"color__isw,omitempty" json:"color__isw,omitempty"` + ColorN *[]string `form:"color__n,omitempty" json:"color__n,omitempty"` + ColorNic *[]string `form:"color__nic,omitempty" json:"color__nic,omitempty"` + ColorNie *[]string `form:"color__nie,omitempty" json:"color__nie,omitempty"` + ColorNiew *[]string `form:"color__niew,omitempty" json:"color__niew,omitempty"` + ColorNire *[]string `form:"color__nire,omitempty" json:"color__nire,omitempty"` + ColorNisw *[]string `form:"color__nisw,omitempty" json:"color__nisw,omitempty"` + ColorNre *[]string `form:"color__nre,omitempty" json:"color__nre,omitempty"` + ColorRe *[]string `form:"color__re,omitempty" json:"color__re,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Devices *[]openapi_types.UUID `form:"devices,omitempty" json:"devices,omitempty"` + DevicesN *[]openapi_types.UUID `form:"devices__n,omitempty" json:"devices__n,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // HasDevices Has devices + HasDevices *bool `form:"has_devices,omitempty" json:"has_devices,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // HasVirtualMachines Has virtual machines + HasVirtualMachines *bool `form:"has_virtual_machines,omitempty" json:"has_virtual_machines,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` - VmRole *bool `json:"vm_role,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` + VirtualMachines *[]openapi_types.UUID `form:"virtual_machines,omitempty" json:"virtual_machines,omitempty"` + VirtualMachinesN *[]openapi_types.UUID `form:"virtual_machines__n,omitempty" json:"virtual_machines__n,omitempty"` + VmRole *bool `form:"vm_role,omitempty" json:"vm_role,omitempty"` } // DcimDeviceRolesBulkPartialUpdateJSONBody defines parameters for DcimDeviceRolesBulkPartialUpdate. -type DcimDeviceRolesBulkPartialUpdateJSONBody PatchedDeviceRole - -// DcimDeviceRolesCreateJSONBody defines parameters for DcimDeviceRolesCreate. -type DcimDeviceRolesCreateJSONBody DeviceRole +type DcimDeviceRolesBulkPartialUpdateJSONBody = []PatchedBulkWritableDeviceRoleRequest // DcimDeviceRolesBulkUpdateJSONBody defines parameters for DcimDeviceRolesBulkUpdate. -type DcimDeviceRolesBulkUpdateJSONBody DeviceRole +type DcimDeviceRolesBulkUpdateJSONBody = []BulkWritableDeviceRoleRequest -// DcimDeviceRolesPartialUpdateJSONBody defines parameters for DcimDeviceRolesPartialUpdate. -type DcimDeviceRolesPartialUpdateJSONBody PatchedDeviceRole +// DcimDeviceRolesNotesListParams defines parameters for DcimDeviceRolesNotesList. +type DcimDeviceRolesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimDeviceRolesUpdateJSONBody defines parameters for DcimDeviceRolesUpdate. -type DcimDeviceRolesUpdateJSONBody DeviceRole + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimDeviceTypesBulkDestroyJSONBody defines parameters for DcimDeviceTypesBulkDestroy. +type DcimDeviceTypesBulkDestroyJSONBody = []BulkOperationRequest // DcimDeviceTypesListParams defines parameters for DcimDeviceTypesList. type DcimDeviceTypesListParams struct { - // Has console ports - ConsolePorts *bool `json:"console_ports,omitempty"` + Comments *[]string `form:"comments,omitempty" json:"comments,omitempty"` + CommentsIc *[]string `form:"comments__ic,omitempty" json:"comments__ic,omitempty"` + CommentsIe *[]string `form:"comments__ie,omitempty" json:"comments__ie,omitempty"` + CommentsIew *[]string `form:"comments__iew,omitempty" json:"comments__iew,omitempty"` + CommentsIre *[]string `form:"comments__ire,omitempty" json:"comments__ire,omitempty"` + CommentsIsw *[]string `form:"comments__isw,omitempty" json:"comments__isw,omitempty"` + CommentsN *[]string `form:"comments__n,omitempty" json:"comments__n,omitempty"` + CommentsNic *[]string `form:"comments__nic,omitempty" json:"comments__nic,omitempty"` + CommentsNie *[]string `form:"comments__nie,omitempty" json:"comments__nie,omitempty"` + CommentsNiew *[]string `form:"comments__niew,omitempty" json:"comments__niew,omitempty"` + CommentsNire *[]string `form:"comments__nire,omitempty" json:"comments__nire,omitempty"` + CommentsNisw *[]string `form:"comments__nisw,omitempty" json:"comments__nisw,omitempty"` + CommentsNre *[]string `form:"comments__nre,omitempty" json:"comments__nre,omitempty"` + CommentsRe *[]string `form:"comments__re,omitempty" json:"comments__re,omitempty"` - // Has console server ports - ConsoleServerPorts *bool `json:"console_server_ports,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` + // ConsolePortTemplates Console port templates (name or ID) + ConsolePortTemplates *[]openapi_types.UUID `form:"console_port_templates,omitempty" json:"console_port_templates,omitempty"` - // Has device bays - DeviceBays *bool `json:"device_bays,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // ConsolePortTemplatesN Console port templates (name or ID) + ConsolePortTemplatesN *[]openapi_types.UUID `form:"console_port_templates__n,omitempty" json:"console_port_templates__n,omitempty"` - // Has interfaces - Interfaces *bool `json:"interfaces,omitempty"` - IsFullDepth *bool `json:"is_full_depth,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + // ConsolePorts Has console ports + ConsolePorts *bool `form:"console_ports,omitempty" json:"console_ports,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // ConsoleServerPortTemplates Console server port templates (name or ID) + ConsoleServerPortTemplates *[]openapi_types.UUID `form:"console_server_port_templates,omitempty" json:"console_server_port_templates,omitempty"` - // Manufacturer (slug) - Manufacturer *[]string `json:"manufacturer,omitempty"` + // ConsoleServerPortTemplatesN Console server port templates (name or ID) + ConsoleServerPortTemplatesN *[]openapi_types.UUID `form:"console_server_port_templates__n,omitempty" json:"console_server_port_templates__n,omitempty"` - // Manufacturer (slug) - ManufacturerN *[]string `json:"manufacturer__n,omitempty"` + // ConsoleServerPorts Has console server ports + ConsoleServerPorts *bool `form:"console_server_ports,omitempty" json:"console_server_ports,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` - // Manufacturer (ID) - ManufacturerId *[]openapi_types.UUID `json:"manufacturer_id,omitempty"` + // DeviceBayTemplates Device bay templates + DeviceBayTemplates *[]openapi_types.UUID `form:"device_bay_templates,omitempty" json:"device_bay_templates,omitempty"` - // Manufacturer (ID) - ManufacturerIdN *[]openapi_types.UUID `json:"manufacturer_id__n,omitempty"` - Model *[]string `json:"model,omitempty"` - ModelIc *[]string `json:"model__ic,omitempty"` - ModelIe *[]string `json:"model__ie,omitempty"` - ModelIew *[]string `json:"model__iew,omitempty"` - ModelIre *[]string `json:"model__ire,omitempty"` - ModelIsw *[]string `json:"model__isw,omitempty"` - ModelN *[]string `json:"model__n,omitempty"` - ModelNic *[]string `json:"model__nic,omitempty"` - ModelNie *[]string `json:"model__nie,omitempty"` - ModelNiew *[]string `json:"model__niew,omitempty"` - ModelNire *[]string `json:"model__nire,omitempty"` - ModelNisw *[]string `json:"model__nisw,omitempty"` - ModelNre *[]string `json:"model__nre,omitempty"` - ModelRe *[]string `json:"model__re,omitempty"` + // DeviceBayTemplatesN Device bay templates + DeviceBayTemplatesN *[]openapi_types.UUID `form:"device_bay_templates__n,omitempty" json:"device_bay_templates__n,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` - PartNumber *[]string `json:"part_number,omitempty"` - PartNumberIc *[]string `json:"part_number__ic,omitempty"` - PartNumberIe *[]string `json:"part_number__ie,omitempty"` - PartNumberIew *[]string `json:"part_number__iew,omitempty"` - PartNumberIre *[]string `json:"part_number__ire,omitempty"` - PartNumberIsw *[]string `json:"part_number__isw,omitempty"` - PartNumberN *[]string `json:"part_number__n,omitempty"` - PartNumberNic *[]string `json:"part_number__nic,omitempty"` - PartNumberNie *[]string `json:"part_number__nie,omitempty"` - PartNumberNiew *[]string `json:"part_number__niew,omitempty"` - PartNumberNire *[]string `json:"part_number__nire,omitempty"` - PartNumberNisw *[]string `json:"part_number__nisw,omitempty"` - PartNumberNre *[]string `json:"part_number__nre,omitempty"` - PartNumberRe *[]string `json:"part_number__re,omitempty"` + // DeviceBays Has device bays + DeviceBays *bool `form:"device_bays,omitempty" json:"device_bays,omitempty"` - // Has pass-through ports - PassThroughPorts *bool `json:"pass_through_ports,omitempty"` + // FrontPortTemplates Front port templates (name or ID) + FrontPortTemplates *[]openapi_types.UUID `form:"front_port_templates,omitempty" json:"front_port_templates,omitempty"` - // Has power outlets - PowerOutlets *bool `json:"power_outlets,omitempty"` + // FrontPortTemplatesN Front port templates (name or ID) + FrontPortTemplatesN *[]openapi_types.UUID `form:"front_port_templates__n,omitempty" json:"front_port_templates__n,omitempty"` - // Has power ports - PowerPorts *bool `json:"power_ports,omitempty"` + // HasConsolePortTemplates Has console port templates + HasConsolePortTemplates *bool `form:"has_console_port_templates,omitempty" json:"has_console_port_templates,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // HasConsoleServerPortTemplates Has console server port templates + HasConsoleServerPortTemplates *bool `form:"has_console_server_port_templates,omitempty" json:"has_console_server_port_templates,omitempty"` - // Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. - SubdeviceRole *string `json:"subdevice_role,omitempty"` + // HasDeviceBayTemplates Has device bay templates + HasDeviceBayTemplates *bool `form:"has_device_bay_templates,omitempty" json:"has_device_bay_templates,omitempty"` - // Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. - SubdeviceRoleN *string `json:"subdevice_role__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` - UHeight *[]int `json:"u_height,omitempty"` - UHeightGt *[]int `json:"u_height__gt,omitempty"` - UHeightGte *[]int `json:"u_height__gte,omitempty"` - UHeightLt *[]int `json:"u_height__lt,omitempty"` - UHeightLte *[]int `json:"u_height__lte,omitempty"` - UHeightN *[]int `json:"u_height__n,omitempty"` + // HasFrontPortTemplates Has front port templates + HasFrontPortTemplates *bool `form:"has_front_port_templates,omitempty" json:"has_front_port_templates,omitempty"` + + // HasInstances Has instances + HasInstances *bool `form:"has_instances,omitempty" json:"has_instances,omitempty"` + + // HasInterfaceTemplates Has interface templates + HasInterfaceTemplates *bool `form:"has_interface_templates,omitempty" json:"has_interface_templates,omitempty"` + + // HasPowerOutletTemplates Has power outlet templates + HasPowerOutletTemplates *bool `form:"has_power_outlet_templates,omitempty" json:"has_power_outlet_templates,omitempty"` + + // HasPowerPortTemplates Has power port templates + HasPowerPortTemplates *bool `form:"has_power_port_templates,omitempty" json:"has_power_port_templates,omitempty"` + + // HasRearPortTemplates Has rear port templates + HasRearPortTemplates *bool `form:"has_rear_port_templates,omitempty" json:"has_rear_port_templates,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + Instances *[]openapi_types.UUID `form:"instances,omitempty" json:"instances,omitempty"` + InstancesN *[]openapi_types.UUID `form:"instances__n,omitempty" json:"instances__n,omitempty"` + + // InterfaceTemplates Interface templates (name or ID) + InterfaceTemplates *[]openapi_types.UUID `form:"interface_templates,omitempty" json:"interface_templates,omitempty"` + + // InterfaceTemplatesN Interface templates (name or ID) + InterfaceTemplatesN *[]openapi_types.UUID `form:"interface_templates__n,omitempty" json:"interface_templates__n,omitempty"` + + // Interfaces Has interfaces + Interfaces *bool `form:"interfaces,omitempty" json:"interfaces,omitempty"` + IsFullDepth *bool `form:"is_full_depth,omitempty" json:"is_full_depth,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Manufacturer Manufacturer (slug) + Manufacturer *[]string `form:"manufacturer,omitempty" json:"manufacturer,omitempty"` + + // ManufacturerN Manufacturer (slug) + ManufacturerN *[]string `form:"manufacturer__n,omitempty" json:"manufacturer__n,omitempty"` + + // ManufacturerId Manufacturer (ID) + ManufacturerId *[]openapi_types.UUID `form:"manufacturer_id,omitempty" json:"manufacturer_id,omitempty"` + + // ManufacturerIdN Manufacturer (ID) + ManufacturerIdN *[]openapi_types.UUID `form:"manufacturer_id__n,omitempty" json:"manufacturer_id__n,omitempty"` + Model *[]string `form:"model,omitempty" json:"model,omitempty"` + ModelIc *[]string `form:"model__ic,omitempty" json:"model__ic,omitempty"` + ModelIe *[]string `form:"model__ie,omitempty" json:"model__ie,omitempty"` + ModelIew *[]string `form:"model__iew,omitempty" json:"model__iew,omitempty"` + ModelIre *[]string `form:"model__ire,omitempty" json:"model__ire,omitempty"` + ModelIsw *[]string `form:"model__isw,omitempty" json:"model__isw,omitempty"` + ModelN *[]string `form:"model__n,omitempty" json:"model__n,omitempty"` + ModelNic *[]string `form:"model__nic,omitempty" json:"model__nic,omitempty"` + ModelNie *[]string `form:"model__nie,omitempty" json:"model__nie,omitempty"` + ModelNiew *[]string `form:"model__niew,omitempty" json:"model__niew,omitempty"` + ModelNire *[]string `form:"model__nire,omitempty" json:"model__nire,omitempty"` + ModelNisw *[]string `form:"model__nisw,omitempty" json:"model__nisw,omitempty"` + ModelNre *[]string `form:"model__nre,omitempty" json:"model__nre,omitempty"` + ModelRe *[]string `form:"model__re,omitempty" json:"model__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + PartNumber *[]string `form:"part_number,omitempty" json:"part_number,omitempty"` + PartNumberIc *[]string `form:"part_number__ic,omitempty" json:"part_number__ic,omitempty"` + PartNumberIe *[]string `form:"part_number__ie,omitempty" json:"part_number__ie,omitempty"` + PartNumberIew *[]string `form:"part_number__iew,omitempty" json:"part_number__iew,omitempty"` + PartNumberIre *[]string `form:"part_number__ire,omitempty" json:"part_number__ire,omitempty"` + PartNumberIsw *[]string `form:"part_number__isw,omitempty" json:"part_number__isw,omitempty"` + PartNumberN *[]string `form:"part_number__n,omitempty" json:"part_number__n,omitempty"` + PartNumberNic *[]string `form:"part_number__nic,omitempty" json:"part_number__nic,omitempty"` + PartNumberNie *[]string `form:"part_number__nie,omitempty" json:"part_number__nie,omitempty"` + PartNumberNiew *[]string `form:"part_number__niew,omitempty" json:"part_number__niew,omitempty"` + PartNumberNire *[]string `form:"part_number__nire,omitempty" json:"part_number__nire,omitempty"` + PartNumberNisw *[]string `form:"part_number__nisw,omitempty" json:"part_number__nisw,omitempty"` + PartNumberNre *[]string `form:"part_number__nre,omitempty" json:"part_number__nre,omitempty"` + PartNumberRe *[]string `form:"part_number__re,omitempty" json:"part_number__re,omitempty"` + + // PassThroughPorts Has pass-through ports + PassThroughPorts *bool `form:"pass_through_ports,omitempty" json:"pass_through_ports,omitempty"` + + // PowerOutletTemplates Power outlet templates (name or ID) + PowerOutletTemplates *[]openapi_types.UUID `form:"power_outlet_templates,omitempty" json:"power_outlet_templates,omitempty"` + + // PowerOutletTemplatesN Power outlet templates (name or ID) + PowerOutletTemplatesN *[]openapi_types.UUID `form:"power_outlet_templates__n,omitempty" json:"power_outlet_templates__n,omitempty"` + + // PowerOutlets Has power outlets + PowerOutlets *bool `form:"power_outlets,omitempty" json:"power_outlets,omitempty"` + + // PowerPortTemplates Power port templates (name or ID) + PowerPortTemplates *[]openapi_types.UUID `form:"power_port_templates,omitempty" json:"power_port_templates,omitempty"` + + // PowerPortTemplatesN Power port templates (name or ID) + PowerPortTemplatesN *[]openapi_types.UUID `form:"power_port_templates__n,omitempty" json:"power_port_templates__n,omitempty"` + + // PowerPorts Has power ports + PowerPorts *bool `form:"power_ports,omitempty" json:"power_ports,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // RearPortTemplates Rear port templates (name or ID) + RearPortTemplates *[]openapi_types.UUID `form:"rear_port_templates,omitempty" json:"rear_port_templates,omitempty"` + + // RearPortTemplatesN Rear port templates (name or ID) + RearPortTemplatesN *[]openapi_types.UUID `form:"rear_port_templates__n,omitempty" json:"rear_port_templates__n,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` + + // SubdeviceRole Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. + SubdeviceRole *string `form:"subdevice_role,omitempty" json:"subdevice_role,omitempty"` + + // SubdeviceRoleN Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. + SubdeviceRoleN *string `form:"subdevice_role__n,omitempty" json:"subdevice_role__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + UHeight *[]int `form:"u_height,omitempty" json:"u_height,omitempty"` + UHeightGt *[]int `form:"u_height__gt,omitempty" json:"u_height__gt,omitempty"` + UHeightGte *[]int `form:"u_height__gte,omitempty" json:"u_height__gte,omitempty"` + UHeightLt *[]int `form:"u_height__lt,omitempty" json:"u_height__lt,omitempty"` + UHeightLte *[]int `form:"u_height__lte,omitempty" json:"u_height__lte,omitempty"` + UHeightN *[]int `form:"u_height__n,omitempty" json:"u_height__n,omitempty"` } // DcimDeviceTypesBulkPartialUpdateJSONBody defines parameters for DcimDeviceTypesBulkPartialUpdate. -type DcimDeviceTypesBulkPartialUpdateJSONBody PatchedWritableDeviceType - -// DcimDeviceTypesCreateJSONBody defines parameters for DcimDeviceTypesCreate. -type DcimDeviceTypesCreateJSONBody WritableDeviceType +type DcimDeviceTypesBulkPartialUpdateJSONBody = []PatchedBulkWritableDeviceTypeRequest // DcimDeviceTypesBulkUpdateJSONBody defines parameters for DcimDeviceTypesBulkUpdate. -type DcimDeviceTypesBulkUpdateJSONBody WritableDeviceType +type DcimDeviceTypesBulkUpdateJSONBody = []BulkWritableDeviceTypeRequest -// DcimDeviceTypesPartialUpdateJSONBody defines parameters for DcimDeviceTypesPartialUpdate. -type DcimDeviceTypesPartialUpdateJSONBody PatchedWritableDeviceType +// DcimDeviceTypesNotesListParams defines parameters for DcimDeviceTypesNotesList. +type DcimDeviceTypesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimDeviceTypesUpdateJSONBody defines parameters for DcimDeviceTypesUpdate. -type DcimDeviceTypesUpdateJSONBody WritableDeviceType + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimDevicesBulkDestroyJSONBody defines parameters for DcimDevicesBulkDestroy. +type DcimDevicesBulkDestroyJSONBody = []BulkOperationRequest // DcimDevicesListParams defines parameters for DcimDevicesList. type DcimDevicesListParams struct { - AssetTag *[]string `json:"asset_tag,omitempty"` - AssetTagIc *[]string `json:"asset_tag__ic,omitempty"` - AssetTagIe *[]string `json:"asset_tag__ie,omitempty"` - AssetTagIew *[]string `json:"asset_tag__iew,omitempty"` - AssetTagIre *[]string `json:"asset_tag__ire,omitempty"` - AssetTagIsw *[]string `json:"asset_tag__isw,omitempty"` - AssetTagN *[]string `json:"asset_tag__n,omitempty"` - AssetTagNic *[]string `json:"asset_tag__nic,omitempty"` - AssetTagNie *[]string `json:"asset_tag__nie,omitempty"` - AssetTagNiew *[]string `json:"asset_tag__niew,omitempty"` - AssetTagNire *[]string `json:"asset_tag__nire,omitempty"` - AssetTagNisw *[]string `json:"asset_tag__nisw,omitempty"` - AssetTagNre *[]string `json:"asset_tag__nre,omitempty"` - AssetTagRe *[]string `json:"asset_tag__re,omitempty"` - - // VM cluster (ID) - ClusterId *[]openapi_types.UUID `json:"cluster_id,omitempty"` - - // VM cluster (ID) - ClusterIdN *[]openapi_types.UUID `json:"cluster_id__n,omitempty"` - - // Has console ports - ConsolePorts *bool `json:"console_ports,omitempty"` - - // Has console server ports - ConsoleServerPorts *bool `json:"console_server_ports,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` + // AssetTag asset_tag + AssetTag *string `form:"asset_tag,omitempty" json:"asset_tag,omitempty"` - // Has device bays - DeviceBays *bool `json:"device_bays,omitempty"` + // AssetTagIc asset_tag__ic + AssetTagIc *string `form:"asset_tag__ic,omitempty" json:"asset_tag__ic,omitempty"` - // Device type (ID) - DeviceTypeId *[]openapi_types.UUID `json:"device_type_id,omitempty"` + // AssetTagIe asset_tag__ie + AssetTagIe *string `form:"asset_tag__ie,omitempty" json:"asset_tag__ie,omitempty"` - // Device type (ID) - DeviceTypeIdN *[]openapi_types.UUID `json:"device_type_id__n,omitempty"` - Face *string `json:"face,omitempty"` - FaceN *string `json:"face__n,omitempty"` + // AssetTagIew asset_tag__iew + AssetTagIew *string `form:"asset_tag__iew,omitempty" json:"asset_tag__iew,omitempty"` - // Has console ports - HasConsolePorts *bool `json:"has_console_ports,omitempty"` + // AssetTagIre asset_tag__ire + AssetTagIre *string `form:"asset_tag__ire,omitempty" json:"asset_tag__ire,omitempty"` - // Has console server ports - HasConsoleServerPorts *bool `json:"has_console_server_ports,omitempty"` + // AssetTagIsw asset_tag__isw + AssetTagIsw *string `form:"asset_tag__isw,omitempty" json:"asset_tag__isw,omitempty"` - // Has device bays - HasDeviceBays *bool `json:"has_device_bays,omitempty"` + // AssetTagN asset_tag__n + AssetTagN *string `form:"asset_tag__n,omitempty" json:"asset_tag__n,omitempty"` - // Has front ports - HasFrontPorts *bool `json:"has_front_ports,omitempty"` + // AssetTagNic asset_tag__nic + AssetTagNic *string `form:"asset_tag__nic,omitempty" json:"asset_tag__nic,omitempty"` - // Has interfaces - HasInterfaces *bool `json:"has_interfaces,omitempty"` + // AssetTagNie asset_tag__nie + AssetTagNie *string `form:"asset_tag__nie,omitempty" json:"asset_tag__nie,omitempty"` - // Has power outlets - HasPowerOutlets *bool `json:"has_power_outlets,omitempty"` + // AssetTagNiew asset_tag__niew + AssetTagNiew *string `form:"asset_tag__niew,omitempty" json:"asset_tag__niew,omitempty"` - // Has power ports - HasPowerPorts *bool `json:"has_power_ports,omitempty"` + // AssetTagNire asset_tag__nire + AssetTagNire *string `form:"asset_tag__nire,omitempty" json:"asset_tag__nire,omitempty"` - // Has a primary IP - HasPrimaryIp *bool `json:"has_primary_ip,omitempty"` + // AssetTagNisw asset_tag__nisw + AssetTagNisw *string `form:"asset_tag__nisw,omitempty" json:"asset_tag__nisw,omitempty"` - // Has rear ports - HasRearPorts *bool `json:"has_rear_ports,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // AssetTagNre asset_tag__nre + AssetTagNre *string `form:"asset_tag__nre,omitempty" json:"asset_tag__nre,omitempty"` - // Has interfaces - Interfaces *bool `json:"interfaces,omitempty"` - - // Is full depth - IsFullDepth *bool `json:"is_full_depth,omitempty"` - - // Is a virtual chassis member - IsVirtualChassisMember *bool `json:"is_virtual_chassis_member,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + // AssetTagRe asset_tag__re + AssetTagRe *string `form:"asset_tag__re,omitempty" json:"asset_tag__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // ClusterId VM cluster (ID) + ClusterId *string `form:"cluster_id,omitempty" json:"cluster_id,omitempty"` - // Has local config context data - LocalContextData *bool `json:"local_context_data,omitempty"` + // ClusterIdN VM cluster (ID) + ClusterIdN *string `form:"cluster_id__n,omitempty" json:"cluster_id__n,omitempty"` - // Schema (slug) - LocalContextSchema *[]string `json:"local_context_schema,omitempty"` + // ConsolePorts Has console ports + ConsolePorts *string `form:"console_ports,omitempty" json:"console_ports,omitempty"` - // Schema (slug) - LocalContextSchemaN *[]string `json:"local_context_schema__n,omitempty"` + // ConsoleServerPorts Has console server ports + ConsoleServerPorts *string `form:"console_server_ports,omitempty" json:"console_server_ports,omitempty"` - // Schema (ID) - LocalContextSchemaId *[]openapi_types.UUID `json:"local_context_schema_id,omitempty"` + // Created created + Created *string `form:"created,omitempty" json:"created,omitempty"` - // Schema (ID) - LocalContextSchemaIdN *[]openapi_types.UUID `json:"local_context_schema_id__n,omitempty"` + // CreatedGte created__gte + CreatedGte *string `form:"created__gte,omitempty" json:"created__gte,omitempty"` - // MAC address - MacAddress *[]string `json:"mac_address,omitempty"` + // CreatedLte created__lte + CreatedLte *string `form:"created__lte,omitempty" json:"created__lte,omitempty"` - // MAC address - MacAddressIc *[]string `json:"mac_address__ic,omitempty"` + // DeviceBays Has device bays + DeviceBays *string `form:"device_bays,omitempty" json:"device_bays,omitempty"` - // MAC address - MacAddressIe *[]string `json:"mac_address__ie,omitempty"` + // DeviceRedundancyGroup Device Redundancy Groups (slug or ID) + DeviceRedundancyGroup *string `form:"device_redundancy_group,omitempty" json:"device_redundancy_group,omitempty"` - // MAC address - MacAddressIew *[]string `json:"mac_address__iew,omitempty"` + // DeviceRedundancyGroupN Device Redundancy Groups (slug or ID) + DeviceRedundancyGroupN *string `form:"device_redundancy_group__n,omitempty" json:"device_redundancy_group__n,omitempty"` - // MAC address - MacAddressIre *[]string `json:"mac_address__ire,omitempty"` + // DeviceRedundancyGroupPriority device_redundancy_group_priority + DeviceRedundancyGroupPriority *string `form:"device_redundancy_group_priority,omitempty" json:"device_redundancy_group_priority,omitempty"` - // MAC address - MacAddressIsw *[]string `json:"mac_address__isw,omitempty"` + // DeviceRedundancyGroupPriorityGt device_redundancy_group_priority__gt + DeviceRedundancyGroupPriorityGt *string `form:"device_redundancy_group_priority__gt,omitempty" json:"device_redundancy_group_priority__gt,omitempty"` - // MAC address - MacAddressN *[]string `json:"mac_address__n,omitempty"` + // DeviceRedundancyGroupPriorityGte device_redundancy_group_priority__gte + DeviceRedundancyGroupPriorityGte *string `form:"device_redundancy_group_priority__gte,omitempty" json:"device_redundancy_group_priority__gte,omitempty"` - // MAC address - MacAddressNic *[]string `json:"mac_address__nic,omitempty"` + // DeviceRedundancyGroupPriorityLt device_redundancy_group_priority__lt + DeviceRedundancyGroupPriorityLt *string `form:"device_redundancy_group_priority__lt,omitempty" json:"device_redundancy_group_priority__lt,omitempty"` - // MAC address - MacAddressNie *[]string `json:"mac_address__nie,omitempty"` + // DeviceRedundancyGroupPriorityLte device_redundancy_group_priority__lte + DeviceRedundancyGroupPriorityLte *string `form:"device_redundancy_group_priority__lte,omitempty" json:"device_redundancy_group_priority__lte,omitempty"` - // MAC address - MacAddressNiew *[]string `json:"mac_address__niew,omitempty"` + // DeviceRedundancyGroupPriorityN device_redundancy_group_priority__n + DeviceRedundancyGroupPriorityN *string `form:"device_redundancy_group_priority__n,omitempty" json:"device_redundancy_group_priority__n,omitempty"` - // MAC address - MacAddressNire *[]string `json:"mac_address__nire,omitempty"` + // DeviceTypeId Device type (ID) + DeviceTypeId *string `form:"device_type_id,omitempty" json:"device_type_id,omitempty"` - // MAC address - MacAddressNisw *[]string `json:"mac_address__nisw,omitempty"` + // DeviceTypeIdN Device type (ID) + DeviceTypeIdN *string `form:"device_type_id__n,omitempty" json:"device_type_id__n,omitempty"` - // MAC address - MacAddressNre *[]string `json:"mac_address__nre,omitempty"` + // Face face + Face *DcimDevicesListParamsFace `form:"face,omitempty" json:"face,omitempty"` - // MAC address - MacAddressRe *[]string `json:"mac_address__re,omitempty"` + // FaceN face__n + FaceN *DcimDevicesListParamsFaceN `form:"face__n,omitempty" json:"face__n,omitempty"` - // Manufacturer (slug) - Manufacturer *[]string `json:"manufacturer,omitempty"` + // HasConsolePorts Has console ports + HasConsolePorts *string `form:"has_console_ports,omitempty" json:"has_console_ports,omitempty"` - // Manufacturer (slug) - ManufacturerN *[]string `json:"manufacturer__n,omitempty"` + // HasConsoleServerPorts Has console server ports + HasConsoleServerPorts *string `form:"has_console_server_ports,omitempty" json:"has_console_server_ports,omitempty"` - // Manufacturer (ID) - ManufacturerId *[]openapi_types.UUID `json:"manufacturer_id,omitempty"` + // HasDeviceBays Has device bays + HasDeviceBays *string `form:"has_device_bays,omitempty" json:"has_device_bays,omitempty"` - // Manufacturer (ID) - ManufacturerIdN *[]openapi_types.UUID `json:"manufacturer_id__n,omitempty"` + // HasFrontPorts Has front ports + HasFrontPorts *string `form:"has_front_ports,omitempty" json:"has_front_ports,omitempty"` - // Device model (slug) - Model *[]string `json:"model,omitempty"` + // HasInterfaces Has interfaces + HasInterfaces *string `form:"has_interfaces,omitempty" json:"has_interfaces,omitempty"` - // Device model (slug) - ModelN *[]string `json:"model__n,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // HasPowerOutlets Has power outlets + HasPowerOutlets *string `form:"has_power_outlets,omitempty" json:"has_power_outlets,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // HasPowerPorts Has power ports + HasPowerPorts *string `form:"has_power_ports,omitempty" json:"has_power_ports,omitempty"` - // Has pass-through ports - PassThroughPorts *bool `json:"pass_through_ports,omitempty"` + // HasPrimaryIp Has a primary IP + HasPrimaryIp *string `form:"has_primary_ip,omitempty" json:"has_primary_ip,omitempty"` - // Platform (slug) - Platform *[]string `json:"platform,omitempty"` + // HasRearPorts Has rear ports + HasRearPorts *string `form:"has_rear_ports,omitempty" json:"has_rear_ports,omitempty"` - // Platform (slug) - PlatformN *[]string `json:"platform__n,omitempty"` + // Id id + Id *string `form:"id,omitempty" json:"id,omitempty"` - // Platform (ID) - PlatformId *[]openapi_types.UUID `json:"platform_id,omitempty"` + // IdIc id__ic + IdIc *string `form:"id__ic,omitempty" json:"id__ic,omitempty"` - // Platform (ID) - PlatformIdN *[]openapi_types.UUID `json:"platform_id__n,omitempty"` - Position *[]int `json:"position,omitempty"` - PositionGt *[]int `json:"position__gt,omitempty"` - PositionGte *[]int `json:"position__gte,omitempty"` - PositionLt *[]int `json:"position__lt,omitempty"` - PositionLte *[]int `json:"position__lte,omitempty"` - PositionN *[]int `json:"position__n,omitempty"` + // IdIe id__ie + IdIe *string `form:"id__ie,omitempty" json:"id__ie,omitempty"` - // Has power outlets - PowerOutlets *bool `json:"power_outlets,omitempty"` + // IdIew id__iew + IdIew *string `form:"id__iew,omitempty" json:"id__iew,omitempty"` - // Has power ports - PowerPorts *bool `json:"power_ports,omitempty"` + // IdIre id__ire + IdIre *string `form:"id__ire,omitempty" json:"id__ire,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // IdIsw id__isw + IdIsw *string `form:"id__isw,omitempty" json:"id__isw,omitempty"` - // Rack group (ID) - RackGroupId *[]openapi_types.UUID `json:"rack_group_id,omitempty"` + // IdN id__n + IdN *string `form:"id__n,omitempty" json:"id__n,omitempty"` - // Rack group (ID) - RackGroupIdN *[]openapi_types.UUID `json:"rack_group_id__n,omitempty"` + // IdNic id__nic + IdNic *string `form:"id__nic,omitempty" json:"id__nic,omitempty"` - // Rack (ID) - RackId *[]openapi_types.UUID `json:"rack_id,omitempty"` + // IdNie id__nie + IdNie *string `form:"id__nie,omitempty" json:"id__nie,omitempty"` - // Rack (ID) - RackIdN *[]openapi_types.UUID `json:"rack_id__n,omitempty"` + // IdNiew id__niew + IdNiew *string `form:"id__niew,omitempty" json:"id__niew,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // IdNire id__nire + IdNire *string `form:"id__nire,omitempty" json:"id__nire,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // IdNisw id__nisw + IdNisw *string `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // IdNre id__nre + IdNre *string `form:"id__nre,omitempty" json:"id__nre,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // IdRe id__re + IdRe *string `form:"id__re,omitempty" json:"id__re,omitempty"` - // Role (slug) - Role *[]string `json:"role,omitempty"` + // Interfaces Has interfaces + Interfaces *string `form:"interfaces,omitempty" json:"interfaces,omitempty"` - // Role (slug) - RoleN *[]string `json:"role__n,omitempty"` + // IsFullDepth Is full depth + IsFullDepth *string `form:"is_full_depth,omitempty" json:"is_full_depth,omitempty"` - // Role (ID) - RoleId *[]openapi_types.UUID `json:"role_id,omitempty"` + // IsVirtualChassisMember Is a virtual chassis member + IsVirtualChassisMember *string `form:"is_virtual_chassis_member,omitempty" json:"is_virtual_chassis_member,omitempty"` - // Role (ID) - RoleIdN *[]openapi_types.UUID `json:"role_id__n,omitempty"` + // LastUpdated last_updated + LastUpdated *string `form:"last_updated,omitempty" json:"last_updated,omitempty"` - // Secrets group (slug) - SecretsGroup *[]string `json:"secrets_group,omitempty"` + // LastUpdatedGte last_updated__gte + LastUpdatedGte *string `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` - // Secrets group (slug) - SecretsGroupN *[]string `json:"secrets_group__n,omitempty"` + // LastUpdatedLte last_updated__lte + LastUpdatedLte *string `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Secrets group (ID) - SecretsGroupId *[]openapi_types.UUID `json:"secrets_group_id,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // Secrets group (ID) - SecretsGroupIdN *[]openapi_types.UUID `json:"secrets_group_id__n,omitempty"` - Serial *string `json:"serial,omitempty"` + // LocalContextData Has local config context data + LocalContextData *string `form:"local_context_data,omitempty" json:"local_context_data,omitempty"` - // Site name (slug) - Site *[]string `json:"site,omitempty"` + // LocalContextSchema Schema (slug) + LocalContextSchema *string `form:"local_context_schema,omitempty" json:"local_context_schema,omitempty"` - // Site name (slug) - SiteN *[]string `json:"site__n,omitempty"` + // LocalContextSchemaN Schema (slug) + LocalContextSchemaN *string `form:"local_context_schema__n,omitempty" json:"local_context_schema__n,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // LocalContextSchemaId Schema (ID) + LocalContextSchemaId *string `form:"local_context_schema_id,omitempty" json:"local_context_schema_id,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Status *[]openapi_types.UUID `json:"status,omitempty"` - StatusN *[]openapi_types.UUID `json:"status__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // LocalContextSchemaIdN Schema (ID) + LocalContextSchemaIdN *string `form:"local_context_schema_id__n,omitempty" json:"local_context_schema_id__n,omitempty"` - // Tenant (slug) - Tenant *[]string `json:"tenant,omitempty"` + // Location Location (slug or ID) + Location *string `form:"location,omitempty" json:"location,omitempty"` - // Tenant (slug) - TenantN *[]string `json:"tenant__n,omitempty"` + // LocationN Location (slug or ID) + LocationN *string `form:"location__n,omitempty" json:"location__n,omitempty"` - // Tenant Group (slug) - TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + // MacAddress MAC address + MacAddress *string `form:"mac_address,omitempty" json:"mac_address,omitempty"` - // Tenant Group (slug) - TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + // MacAddressIc MAC address + MacAddressIc *string `form:"mac_address__ic,omitempty" json:"mac_address__ic,omitempty"` - // Tenant Group (ID) - TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + // MacAddressIe MAC address + MacAddressIe *string `form:"mac_address__ie,omitempty" json:"mac_address__ie,omitempty"` - // Tenant Group (ID) - TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + // MacAddressIew MAC address + MacAddressIew *string `form:"mac_address__iew,omitempty" json:"mac_address__iew,omitempty"` - // Tenant (ID) - TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + // MacAddressIre MAC address + MacAddressIre *string `form:"mac_address__ire,omitempty" json:"mac_address__ire,omitempty"` - // Tenant (ID) - TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` - VcPosition *[]int `json:"vc_position,omitempty"` - VcPositionGt *[]int `json:"vc_position__gt,omitempty"` - VcPositionGte *[]int `json:"vc_position__gte,omitempty"` - VcPositionLt *[]int `json:"vc_position__lt,omitempty"` - VcPositionLte *[]int `json:"vc_position__lte,omitempty"` - VcPositionN *[]int `json:"vc_position__n,omitempty"` - VcPriority *[]int `json:"vc_priority,omitempty"` - VcPriorityGt *[]int `json:"vc_priority__gt,omitempty"` - VcPriorityGte *[]int `json:"vc_priority__gte,omitempty"` - VcPriorityLt *[]int `json:"vc_priority__lt,omitempty"` - VcPriorityLte *[]int `json:"vc_priority__lte,omitempty"` - VcPriorityN *[]int `json:"vc_priority__n,omitempty"` + // MacAddressIsw MAC address + MacAddressIsw *string `form:"mac_address__isw,omitempty" json:"mac_address__isw,omitempty"` - // Virtual chassis (ID) - VirtualChassisId *[]openapi_types.UUID `json:"virtual_chassis_id,omitempty"` + // MacAddressN MAC address + MacAddressN *string `form:"mac_address__n,omitempty" json:"mac_address__n,omitempty"` - // Virtual chassis (ID) - VirtualChassisIdN *[]openapi_types.UUID `json:"virtual_chassis_id__n,omitempty"` + // MacAddressNic MAC address + MacAddressNic *string `form:"mac_address__nic,omitempty" json:"mac_address__nic,omitempty"` - // Is a virtual chassis member - VirtualChassisMember *bool `json:"virtual_chassis_member,omitempty"` + // MacAddressNie MAC address + MacAddressNie *string `form:"mac_address__nie,omitempty" json:"mac_address__nie,omitempty"` + + // MacAddressNiew MAC address + MacAddressNiew *string `form:"mac_address__niew,omitempty" json:"mac_address__niew,omitempty"` + + // MacAddressNire MAC address + MacAddressNire *string `form:"mac_address__nire,omitempty" json:"mac_address__nire,omitempty"` + + // MacAddressNisw MAC address + MacAddressNisw *string `form:"mac_address__nisw,omitempty" json:"mac_address__nisw,omitempty"` + + // MacAddressNre MAC address + MacAddressNre *string `form:"mac_address__nre,omitempty" json:"mac_address__nre,omitempty"` + + // MacAddressRe MAC address + MacAddressRe *string `form:"mac_address__re,omitempty" json:"mac_address__re,omitempty"` + + // Manufacturer Manufacturer (slug) + Manufacturer *string `form:"manufacturer,omitempty" json:"manufacturer,omitempty"` + + // ManufacturerN Manufacturer (slug) + ManufacturerN *string `form:"manufacturer__n,omitempty" json:"manufacturer__n,omitempty"` + + // ManufacturerId Manufacturer (ID) + ManufacturerId *string `form:"manufacturer_id,omitempty" json:"manufacturer_id,omitempty"` + + // ManufacturerIdN Manufacturer (ID) + ManufacturerIdN *string `form:"manufacturer_id__n,omitempty" json:"manufacturer_id__n,omitempty"` + + // Model Device model (slug) + Model *string `form:"model,omitempty" json:"model,omitempty"` + + // ModelN Device model (slug) + ModelN *string `form:"model__n,omitempty" json:"model__n,omitempty"` + + // Name name + Name *string `form:"name,omitempty" json:"name,omitempty"` + + // NameIc name__ic + NameIc *string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + + // NameIe name__ie + NameIe *string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + + // NameIew name__iew + NameIew *string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + + // NameIre name__ire + NameIre *string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + + // NameIsw name__isw + NameIsw *string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + + // NameN name__n + NameN *string `form:"name__n,omitempty" json:"name__n,omitempty"` + + // NameNic name__nic + NameNic *string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + + // NameNie name__nie + NameNie *string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + + // NameNiew name__niew + NameNiew *string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + + // NameNire name__nire + NameNire *string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + + // NameNisw name__nisw + NameNisw *string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // NameNre name__nre + NameNre *string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + + // NameRe name__re + NameRe *string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // PassThroughPorts Has pass-through ports + PassThroughPorts *string `form:"pass_through_ports,omitempty" json:"pass_through_ports,omitempty"` + + // Platform Platform (slug) + Platform *string `form:"platform,omitempty" json:"platform,omitempty"` + + // PlatformN Platform (slug) + PlatformN *string `form:"platform__n,omitempty" json:"platform__n,omitempty"` + + // PlatformId Platform (ID) + PlatformId *string `form:"platform_id,omitempty" json:"platform_id,omitempty"` + + // PlatformIdN Platform (ID) + PlatformIdN *string `form:"platform_id__n,omitempty" json:"platform_id__n,omitempty"` + + // Position position + Position *string `form:"position,omitempty" json:"position,omitempty"` + + // PositionGt position__gt + PositionGt *string `form:"position__gt,omitempty" json:"position__gt,omitempty"` + + // PositionGte position__gte + PositionGte *string `form:"position__gte,omitempty" json:"position__gte,omitempty"` + + // PositionLt position__lt + PositionLt *string `form:"position__lt,omitempty" json:"position__lt,omitempty"` + + // PositionLte position__lte + PositionLte *string `form:"position__lte,omitempty" json:"position__lte,omitempty"` + + // PositionN position__n + PositionN *string `form:"position__n,omitempty" json:"position__n,omitempty"` + + // PowerOutlets Has power outlets + PowerOutlets *string `form:"power_outlets,omitempty" json:"power_outlets,omitempty"` + + // PowerPorts Has power ports + PowerPorts *string `form:"power_ports,omitempty" json:"power_ports,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // RackGroupId Rack group (ID) + RackGroupId *string `form:"rack_group_id,omitempty" json:"rack_group_id,omitempty"` + + // RackGroupIdN Rack group (ID) + RackGroupIdN *string `form:"rack_group_id__n,omitempty" json:"rack_group_id__n,omitempty"` + + // RackId Rack (ID) + RackId *string `form:"rack_id,omitempty" json:"rack_id,omitempty"` + + // RackIdN Rack (ID) + RackIdN *string `form:"rack_id__n,omitempty" json:"rack_id__n,omitempty"` + + // Region Region (slug or ID) + Region *string `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug or ID) + RegionN *string `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) (deprecated, use "region" filter instead) + RegionId *string `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) (deprecated, use "region" filter instead) + RegionIdN *string `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Role Role (slug) + Role *string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Role (slug) + RoleN *string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoleId Role (ID) + RoleId *string `form:"role_id,omitempty" json:"role_id,omitempty"` + + // RoleIdN Role (ID) + RoleIdN *string `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + + // SecretsGroup Secrets group (slug) + SecretsGroup *string `form:"secrets_group,omitempty" json:"secrets_group,omitempty"` + + // SecretsGroupN Secrets group (slug) + SecretsGroupN *string `form:"secrets_group__n,omitempty" json:"secrets_group__n,omitempty"` + + // SecretsGroupId Secrets group (ID) + SecretsGroupId *string `form:"secrets_group_id,omitempty" json:"secrets_group_id,omitempty"` + + // SecretsGroupIdN Secrets group (ID) + SecretsGroupIdN *string `form:"secrets_group_id__n,omitempty" json:"secrets_group_id__n,omitempty"` + + // Serial serial + Serial *string `form:"serial,omitempty" json:"serial,omitempty"` + + // Site Site (slug or ID) + Site *string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site (slug or ID) + SiteN *string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteId Site (ID) (deprecated, use "site" filter instead) + SiteId *string `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) (deprecated, use "site" filter instead) + SiteIdN *string `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + + // Status status + Status *string `form:"status,omitempty" json:"status,omitempty"` + + // StatusN status__n + StatusN *string `form:"status__n,omitempty" json:"status__n,omitempty"` + + // Tag tag + Tag *string `form:"tag,omitempty" json:"tag,omitempty"` + + // TagN tag__n + TagN *string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug or ID) + Tenant *string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug or ID) + TenantN *string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *string `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *string `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *string `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *string `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) (deprecated, use "tenant" filter instead) + TenantId *string `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) (deprecated, use "tenant" filter instead) + TenantIdN *string `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + + // VcPosition vc_position + VcPosition *string `form:"vc_position,omitempty" json:"vc_position,omitempty"` + + // VcPositionGt vc_position__gt + VcPositionGt *string `form:"vc_position__gt,omitempty" json:"vc_position__gt,omitempty"` + + // VcPositionGte vc_position__gte + VcPositionGte *string `form:"vc_position__gte,omitempty" json:"vc_position__gte,omitempty"` + + // VcPositionLt vc_position__lt + VcPositionLt *string `form:"vc_position__lt,omitempty" json:"vc_position__lt,omitempty"` + + // VcPositionLte vc_position__lte + VcPositionLte *string `form:"vc_position__lte,omitempty" json:"vc_position__lte,omitempty"` + + // VcPositionN vc_position__n + VcPositionN *string `form:"vc_position__n,omitempty" json:"vc_position__n,omitempty"` + + // VcPriority vc_priority + VcPriority *string `form:"vc_priority,omitempty" json:"vc_priority,omitempty"` + + // VcPriorityGt vc_priority__gt + VcPriorityGt *string `form:"vc_priority__gt,omitempty" json:"vc_priority__gt,omitempty"` + + // VcPriorityGte vc_priority__gte + VcPriorityGte *string `form:"vc_priority__gte,omitempty" json:"vc_priority__gte,omitempty"` + + // VcPriorityLt vc_priority__lt + VcPriorityLt *string `form:"vc_priority__lt,omitempty" json:"vc_priority__lt,omitempty"` + + // VcPriorityLte vc_priority__lte + VcPriorityLte *string `form:"vc_priority__lte,omitempty" json:"vc_priority__lte,omitempty"` + + // VcPriorityN vc_priority__n + VcPriorityN *string `form:"vc_priority__n,omitempty" json:"vc_priority__n,omitempty"` + + // VirtualChassisId Virtual chassis (ID) + VirtualChassisId *string `form:"virtual_chassis_id,omitempty" json:"virtual_chassis_id,omitempty"` + + // VirtualChassisIdN Virtual chassis (ID) + VirtualChassisIdN *string `form:"virtual_chassis_id__n,omitempty" json:"virtual_chassis_id__n,omitempty"` + + // VirtualChassisMember Is a virtual chassis member + VirtualChassisMember *string `form:"virtual_chassis_member,omitempty" json:"virtual_chassis_member,omitempty"` } -// DcimDevicesBulkPartialUpdateJSONBody defines parameters for DcimDevicesBulkPartialUpdate. -type DcimDevicesBulkPartialUpdateJSONBody PatchedWritableDeviceWithConfigContext +// DcimDevicesListParamsFace defines parameters for DcimDevicesList. +type DcimDevicesListParamsFace string -// DcimDevicesCreateJSONBody defines parameters for DcimDevicesCreate. -type DcimDevicesCreateJSONBody WritableDeviceWithConfigContext +// DcimDevicesListParamsFaceN defines parameters for DcimDevicesList. +type DcimDevicesListParamsFaceN string + +// DcimDevicesBulkPartialUpdateJSONBody defines parameters for DcimDevicesBulkPartialUpdate. +type DcimDevicesBulkPartialUpdateJSONBody = []PatchedBulkWritableDeviceWithConfigContextRequest // DcimDevicesBulkUpdateJSONBody defines parameters for DcimDevicesBulkUpdate. -type DcimDevicesBulkUpdateJSONBody WritableDeviceWithConfigContext - -// DcimDevicesPartialUpdateJSONBody defines parameters for DcimDevicesPartialUpdate. -type DcimDevicesPartialUpdateJSONBody PatchedWritableDeviceWithConfigContext - -// DcimDevicesUpdateJSONBody defines parameters for DcimDevicesUpdate. -type DcimDevicesUpdateJSONBody WritableDeviceWithConfigContext +type DcimDevicesBulkUpdateJSONBody = []BulkWritableDeviceWithConfigContextRequest // DcimDevicesNapalmRetrieveParams defines parameters for DcimDevicesNapalmRetrieve. type DcimDevicesNapalmRetrieveParams struct { - Method string `json:"method"` + Method string `form:"method" json:"method"` } +// DcimDevicesNotesListParams defines parameters for DcimDevicesNotesList. +type DcimDevicesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimFrontPortTemplatesBulkDestroyJSONBody defines parameters for DcimFrontPortTemplatesBulkDestroy. +type DcimFrontPortTemplatesBulkDestroyJSONBody = []BulkOperationRequest + // DcimFrontPortTemplatesListParams defines parameters for DcimFrontPortTemplatesList. type DcimFrontPortTemplatesListParams struct { - // Device type (ID) - DevicetypeId *[]openapi_types.UUID `json:"devicetype_id,omitempty"` + // Description Description + Description *[]string `form:"description,omitempty" json:"description,omitempty"` - // Device type (ID) - DevicetypeIdN *[]openapi_types.UUID `json:"devicetype_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // DescriptionIc Description + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // DescriptionIe Description + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // DescriptionIew Description + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Type *string `json:"type,omitempty"` - TypeN *string `json:"type__n,omitempty"` + // DescriptionIre Description + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + + // DescriptionIsw Description + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + + // DescriptionN Description + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + + // DescriptionNic Description + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + + // DescriptionNie Description + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + + // DescriptionNiew Description + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + + // DescriptionNire Description + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + + // DescriptionNisw Description + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // DescriptionNre Description + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + + // DescriptionRe Description + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + + // DeviceType Device type (slug or ID) + DeviceType *[]openapi_types.UUID `form:"device_type,omitempty" json:"device_type,omitempty"` + + // DeviceTypeN Device type (slug or ID) + DeviceTypeN *[]openapi_types.UUID `form:"device_type__n,omitempty" json:"device_type__n,omitempty"` + + // DevicetypeId Device type (ID) + DevicetypeId *[]openapi_types.UUID `form:"devicetype_id,omitempty" json:"devicetype_id,omitempty"` + + // DevicetypeIdN Device type (ID) + DevicetypeIdN *[]openapi_types.UUID `form:"devicetype_id__n,omitempty" json:"devicetype_id__n,omitempty"` + + // Id ID + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + + // IdIc ID + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + + // IdIe ID + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + + // IdIew ID + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + + // IdIre ID + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + + // IdIsw ID + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + + // IdN ID + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + + // IdNic ID + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + + // IdNie ID + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + + // IdNiew ID + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + + // IdNire ID + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + + // IdNisw ID + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + + // IdNre ID + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + + // IdRe ID + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + + // Label Label + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + + // LabelIc Label + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + + // LabelIe Label + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + + // LabelIew Label + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + + // LabelIre Label + LabelIre *[]string `form:"label__ire,omitempty" json:"label__ire,omitempty"` + + // LabelIsw Label + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + + // LabelN Label + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + + // LabelNic Label + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + + // LabelNie Label + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + + // LabelNiew Label + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + + // LabelNire Label + LabelNire *[]string `form:"label__nire,omitempty" json:"label__nire,omitempty"` + + // LabelNisw Label + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + + // LabelNre Label + LabelNre *[]string `form:"label__nre,omitempty" json:"label__nre,omitempty"` + + // LabelRe Label + LabelRe *[]string `form:"label__re,omitempty" json:"label__re,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Name Name + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + + // NameIc Name + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + + // NameIe Name + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + + // NameIew Name + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + + // NameIre Name + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + + // NameIsw Name + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + + // NameN Name + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + + // NameNic Name + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + + // NameNie Name + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + + // NameNiew Name + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + + // NameNire Name + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + + // NameNisw Name + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // NameNre Name + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + + // NameRe Name + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + RearPortPosition *[]int `form:"rear_port_position,omitempty" json:"rear_port_position,omitempty"` + RearPortPositionGt *[]int `form:"rear_port_position__gt,omitempty" json:"rear_port_position__gt,omitempty"` + RearPortPositionGte *[]int `form:"rear_port_position__gte,omitempty" json:"rear_port_position__gte,omitempty"` + RearPortPositionLt *[]int `form:"rear_port_position__lt,omitempty" json:"rear_port_position__lt,omitempty"` + RearPortPositionLte *[]int `form:"rear_port_position__lte,omitempty" json:"rear_port_position__lte,omitempty"` + RearPortPositionN *[]int `form:"rear_port_position__n,omitempty" json:"rear_port_position__n,omitempty"` + + // RearPortTemplate Rear port template + RearPortTemplate *[]openapi_types.UUID `form:"rear_port_template,omitempty" json:"rear_port_template,omitempty"` + + // RearPortTemplateN Rear port template + RearPortTemplateN *[]openapi_types.UUID `form:"rear_port_template__n,omitempty" json:"rear_port_template__n,omitempty"` + Type *string `form:"type,omitempty" json:"type,omitempty"` + TypeN *string `form:"type__n,omitempty" json:"type__n,omitempty"` } // DcimFrontPortTemplatesBulkPartialUpdateJSONBody defines parameters for DcimFrontPortTemplatesBulkPartialUpdate. -type DcimFrontPortTemplatesBulkPartialUpdateJSONBody PatchedWritableFrontPortTemplate - -// DcimFrontPortTemplatesCreateJSONBody defines parameters for DcimFrontPortTemplatesCreate. -type DcimFrontPortTemplatesCreateJSONBody WritableFrontPortTemplate +type DcimFrontPortTemplatesBulkPartialUpdateJSONBody = []PatchedBulkWritableFrontPortTemplateRequest // DcimFrontPortTemplatesBulkUpdateJSONBody defines parameters for DcimFrontPortTemplatesBulkUpdate. -type DcimFrontPortTemplatesBulkUpdateJSONBody WritableFrontPortTemplate +type DcimFrontPortTemplatesBulkUpdateJSONBody = []BulkWritableFrontPortTemplateRequest -// DcimFrontPortTemplatesPartialUpdateJSONBody defines parameters for DcimFrontPortTemplatesPartialUpdate. -type DcimFrontPortTemplatesPartialUpdateJSONBody PatchedWritableFrontPortTemplate +// DcimFrontPortTemplatesNotesListParams defines parameters for DcimFrontPortTemplatesNotesList. +type DcimFrontPortTemplatesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimFrontPortTemplatesUpdateJSONBody defines parameters for DcimFrontPortTemplatesUpdate. -type DcimFrontPortTemplatesUpdateJSONBody WritableFrontPortTemplate + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimFrontPortsBulkDestroyJSONBody defines parameters for DcimFrontPortsBulkDestroy. +type DcimFrontPortsBulkDestroyJSONBody = []BulkOperationRequest // DcimFrontPortsListParams defines parameters for DcimFrontPortsList. type DcimFrontPortsListParams struct { - Cabled *bool `json:"cabled,omitempty"` - Description *[]string `json:"description,omitempty"` - DescriptionIc *[]string `json:"description__ic,omitempty"` - DescriptionIe *[]string `json:"description__ie,omitempty"` - DescriptionIew *[]string `json:"description__iew,omitempty"` - DescriptionIre *[]string `json:"description__ire,omitempty"` - DescriptionIsw *[]string `json:"description__isw,omitempty"` - DescriptionN *[]string `json:"description__n,omitempty"` - DescriptionNic *[]string `json:"description__nic,omitempty"` - DescriptionNie *[]string `json:"description__nie,omitempty"` - DescriptionNiew *[]string `json:"description__niew,omitempty"` - DescriptionNire *[]string `json:"description__nire,omitempty"` - DescriptionNisw *[]string `json:"description__nisw,omitempty"` - DescriptionNre *[]string `json:"description__nre,omitempty"` - DescriptionRe *[]string `json:"description__re,omitempty"` + // Cable Cable + Cable *[]openapi_types.UUID `form:"cable,omitempty" json:"cable,omitempty"` - // Device (name) - Device *[]string `json:"device,omitempty"` + // CableN Cable + CableN *[]openapi_types.UUID `form:"cable__n,omitempty" json:"cable__n,omitempty"` + Cabled *bool `form:"cabled,omitempty" json:"cabled,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` - // Device (name) - DeviceN *[]string `json:"device__n,omitempty"` + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` - // Device (ID) - DeviceId *[]openapi_types.UUID `json:"device_id,omitempty"` + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` - // Device (ID) - DeviceIdN *[]openapi_types.UUID `json:"device_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // DeviceId Device (ID) + DeviceId *[]openapi_types.UUID `form:"device_id,omitempty" json:"device_id,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // DeviceIdN Device (ID) + DeviceIdN *[]openapi_types.UUID `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIre *[]string `form:"label__ire,omitempty" json:"label__ire,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNire *[]string `form:"label__nire,omitempty" json:"label__nire,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + LabelNre *[]string `form:"label__nre,omitempty" json:"label__nre,omitempty"` + LabelRe *[]string `form:"label__re,omitempty" json:"label__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // RearPort Rear port (name or ID) + RearPort *[]openapi_types.UUID `form:"rear_port,omitempty" json:"rear_port,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // RearPortN Rear port (name or ID) + RearPortN *[]openapi_types.UUID `form:"rear_port__n,omitempty" json:"rear_port__n,omitempty"` + RearPortPosition *[]int `form:"rear_port_position,omitempty" json:"rear_port_position,omitempty"` + RearPortPositionGt *[]int `form:"rear_port_position__gt,omitempty" json:"rear_port_position__gt,omitempty"` + RearPortPositionGte *[]int `form:"rear_port_position__gte,omitempty" json:"rear_port_position__gte,omitempty"` + RearPortPositionLt *[]int `form:"rear_port_position__lt,omitempty" json:"rear_port_position__lt,omitempty"` + RearPortPositionLte *[]int `form:"rear_port_position__lte,omitempty" json:"rear_port_position__lte,omitempty"` + RearPortPositionN *[]int `form:"rear_port_position__n,omitempty" json:"rear_port_position__n,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // Region Region (slug) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` - // Site name (slug) - Site *[]string `json:"site,omitempty"` + // RegionN Region (slug) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` - // Site name (slug) - SiteN *[]string `json:"site__n,omitempty"` + // RegionId Region (ID) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // RegionIdN Region (ID) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` - Type *string `json:"type,omitempty"` - TypeN *string `json:"type__n,omitempty"` + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + Type *string `form:"type,omitempty" json:"type,omitempty"` + TypeN *string `form:"type__n,omitempty" json:"type__n,omitempty"` } // DcimFrontPortsBulkPartialUpdateJSONBody defines parameters for DcimFrontPortsBulkPartialUpdate. -type DcimFrontPortsBulkPartialUpdateJSONBody PatchedWritableFrontPort - -// DcimFrontPortsCreateJSONBody defines parameters for DcimFrontPortsCreate. -type DcimFrontPortsCreateJSONBody WritableFrontPort +type DcimFrontPortsBulkPartialUpdateJSONBody = []PatchedBulkWritableFrontPortRequest // DcimFrontPortsBulkUpdateJSONBody defines parameters for DcimFrontPortsBulkUpdate. -type DcimFrontPortsBulkUpdateJSONBody WritableFrontPort +type DcimFrontPortsBulkUpdateJSONBody = []BulkWritableFrontPortRequest -// DcimFrontPortsPartialUpdateJSONBody defines parameters for DcimFrontPortsPartialUpdate. -type DcimFrontPortsPartialUpdateJSONBody PatchedWritableFrontPort +// DcimFrontPortsNotesListParams defines parameters for DcimFrontPortsNotesList. +type DcimFrontPortsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimFrontPortsUpdateJSONBody defines parameters for DcimFrontPortsUpdate. -type DcimFrontPortsUpdateJSONBody WritableFrontPort + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} // DcimInterfaceConnectionsListParams defines parameters for DcimInterfaceConnectionsList. type DcimInterfaceConnectionsListParams struct { - // Device (name) - Device *[]string `json:"device,omitempty"` + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` - // Device (ID) - DeviceId *[]openapi_types.UUID `json:"device_id,omitempty"` + // DeviceId Device (ID) + DeviceId *[]openapi_types.UUID `form:"device_id,omitempty" json:"device_id,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Site (slug) - Site *string `json:"site,omitempty"` + // Site Site (slug) + Site *string `form:"site,omitempty" json:"site,omitempty"` } +// DcimInterfaceTemplatesBulkDestroyJSONBody defines parameters for DcimInterfaceTemplatesBulkDestroy. +type DcimInterfaceTemplatesBulkDestroyJSONBody = []BulkOperationRequest + // DcimInterfaceTemplatesListParams defines parameters for DcimInterfaceTemplatesList. type DcimInterfaceTemplatesListParams struct { - // Device type (ID) - DevicetypeId *[]openapi_types.UUID `json:"devicetype_id,omitempty"` + // Description Description + Description *[]string `form:"description,omitempty" json:"description,omitempty"` - // Device type (ID) - DevicetypeIdN *[]openapi_types.UUID `json:"devicetype_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // DescriptionIc Description + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - MgmtOnly *bool `json:"mgmt_only,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // DescriptionIe Description + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // DescriptionIew Description + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Type *string `json:"type,omitempty"` - TypeN *string `json:"type__n,omitempty"` + // DescriptionIre Description + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + + // DescriptionIsw Description + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + + // DescriptionN Description + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + + // DescriptionNic Description + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + + // DescriptionNie Description + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + + // DescriptionNiew Description + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + + // DescriptionNire Description + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + + // DescriptionNisw Description + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // DescriptionNre Description + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + + // DescriptionRe Description + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + + // DeviceType Device type (slug or ID) + DeviceType *[]openapi_types.UUID `form:"device_type,omitempty" json:"device_type,omitempty"` + + // DeviceTypeN Device type (slug or ID) + DeviceTypeN *[]openapi_types.UUID `form:"device_type__n,omitempty" json:"device_type__n,omitempty"` + + // DevicetypeId Device type (ID) + DevicetypeId *[]openapi_types.UUID `form:"devicetype_id,omitempty" json:"devicetype_id,omitempty"` + + // DevicetypeIdN Device type (ID) + DevicetypeIdN *[]openapi_types.UUID `form:"devicetype_id__n,omitempty" json:"devicetype_id__n,omitempty"` + + // Id ID + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + + // IdIc ID + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + + // IdIe ID + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + + // IdIew ID + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + + // IdIre ID + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + + // IdIsw ID + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + + // IdN ID + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + + // IdNic ID + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + + // IdNie ID + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + + // IdNiew ID + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + + // IdNire ID + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + + // IdNisw ID + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + + // IdNre ID + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + + // IdRe ID + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + + // Label Label + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + + // LabelIc Label + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + + // LabelIe Label + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + + // LabelIew Label + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + + // LabelIre Label + LabelIre *[]string `form:"label__ire,omitempty" json:"label__ire,omitempty"` + + // LabelIsw Label + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + + // LabelN Label + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + + // LabelNic Label + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + + // LabelNie Label + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + + // LabelNiew Label + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + + // LabelNire Label + LabelNire *[]string `form:"label__nire,omitempty" json:"label__nire,omitempty"` + + // LabelNisw Label + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + + // LabelNre Label + LabelNre *[]string `form:"label__nre,omitempty" json:"label__nre,omitempty"` + + // LabelRe Label + LabelRe *[]string `form:"label__re,omitempty" json:"label__re,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + MgmtOnly *bool `form:"mgmt_only,omitempty" json:"mgmt_only,omitempty"` + + // Name Name + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + + // NameIc Name + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + + // NameIe Name + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + + // NameIew Name + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + + // NameIre Name + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + + // NameIsw Name + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + + // NameN Name + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + + // NameNic Name + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + + // NameNie Name + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + + // NameNiew Name + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + + // NameNire Name + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + + // NameNisw Name + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // NameNre Name + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + + // NameRe Name + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Type *string `form:"type,omitempty" json:"type,omitempty"` + TypeN *string `form:"type__n,omitempty" json:"type__n,omitempty"` } // DcimInterfaceTemplatesBulkPartialUpdateJSONBody defines parameters for DcimInterfaceTemplatesBulkPartialUpdate. -type DcimInterfaceTemplatesBulkPartialUpdateJSONBody PatchedWritableInterfaceTemplate - -// DcimInterfaceTemplatesCreateJSONBody defines parameters for DcimInterfaceTemplatesCreate. -type DcimInterfaceTemplatesCreateJSONBody WritableInterfaceTemplate +type DcimInterfaceTemplatesBulkPartialUpdateJSONBody = []PatchedBulkWritableInterfaceTemplateRequest // DcimInterfaceTemplatesBulkUpdateJSONBody defines parameters for DcimInterfaceTemplatesBulkUpdate. -type DcimInterfaceTemplatesBulkUpdateJSONBody WritableInterfaceTemplate +type DcimInterfaceTemplatesBulkUpdateJSONBody = []BulkWritableInterfaceTemplateRequest -// DcimInterfaceTemplatesPartialUpdateJSONBody defines parameters for DcimInterfaceTemplatesPartialUpdate. -type DcimInterfaceTemplatesPartialUpdateJSONBody PatchedWritableInterfaceTemplate +// DcimInterfaceTemplatesNotesListParams defines parameters for DcimInterfaceTemplatesNotesList. +type DcimInterfaceTemplatesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimInterfaceTemplatesUpdateJSONBody defines parameters for DcimInterfaceTemplatesUpdate. -type DcimInterfaceTemplatesUpdateJSONBody WritableInterfaceTemplate + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimInterfacesBulkDestroyJSONBody defines parameters for DcimInterfacesBulkDestroy. +type DcimInterfacesBulkDestroyJSONBody = []BulkOperationRequest // DcimInterfacesListParams defines parameters for DcimInterfacesList. type DcimInterfacesListParams struct { - Cabled *bool `json:"cabled,omitempty"` + // Bridge Bridge interface (name or ID) + Bridge *[]openapi_types.UUID `form:"bridge,omitempty" json:"bridge,omitempty"` - // Connected status (bool) - Connected *bool `json:"connected,omitempty"` - Description *[]string `json:"description,omitempty"` - DescriptionIc *[]string `json:"description__ic,omitempty"` - DescriptionIe *[]string `json:"description__ie,omitempty"` - DescriptionIew *[]string `json:"description__iew,omitempty"` - DescriptionIre *[]string `json:"description__ire,omitempty"` - DescriptionIsw *[]string `json:"description__isw,omitempty"` - DescriptionN *[]string `json:"description__n,omitempty"` - DescriptionNic *[]string `json:"description__nic,omitempty"` - DescriptionNie *[]string `json:"description__nie,omitempty"` - DescriptionNiew *[]string `json:"description__niew,omitempty"` - DescriptionNire *[]string `json:"description__nire,omitempty"` - DescriptionNisw *[]string `json:"description__nisw,omitempty"` - DescriptionNre *[]string `json:"description__nre,omitempty"` - DescriptionRe *[]string `json:"description__re,omitempty"` + // BridgeN Bridge interface (name or ID) + BridgeN *[]openapi_types.UUID `form:"bridge__n,omitempty" json:"bridge__n,omitempty"` - // Device (name) - Device *[]string `json:"device,omitempty"` + // BridgedInterfaces Bridged interfaces (name or ID) + BridgedInterfaces *[]openapi_types.UUID `form:"bridged_interfaces,omitempty" json:"bridged_interfaces,omitempty"` - // Device (ID) - DeviceId *[]openapi_types.UUID `json:"device_id,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // BridgedInterfacesN Bridged interfaces (name or ID) + BridgedInterfacesN *[]openapi_types.UUID `form:"bridged_interfaces__n,omitempty" json:"bridged_interfaces__n,omitempty"` - // Kind of interface - Kind *string `json:"kind,omitempty"` + // Cable Cable + Cable *[]openapi_types.UUID `form:"cable,omitempty" json:"cable,omitempty"` - // LAG interface (ID) - LagId *[]openapi_types.UUID `json:"lag_id,omitempty"` + // CableN Cable + CableN *[]openapi_types.UUID `form:"cable__n,omitempty" json:"cable__n,omitempty"` + Cabled *bool `form:"cabled,omitempty" json:"cabled,omitempty"` - // LAG interface (ID) - LagIdN *[]openapi_types.UUID `json:"lag_id__n,omitempty"` + // ChildInterfaces Child interfaces (name or ID) + ChildInterfaces *[]openapi_types.UUID `form:"child_interfaces,omitempty" json:"child_interfaces,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - MacAddress *[]string `json:"mac_address,omitempty"` - MacAddressIc *[]string `json:"mac_address__ic,omitempty"` - MacAddressIe *[]string `json:"mac_address__ie,omitempty"` - MacAddressIew *[]string `json:"mac_address__iew,omitempty"` - MacAddressIre *[]string `json:"mac_address__ire,omitempty"` - MacAddressIsw *[]string `json:"mac_address__isw,omitempty"` - MacAddressN *[]string `json:"mac_address__n,omitempty"` - MacAddressNic *[]string `json:"mac_address__nic,omitempty"` - MacAddressNie *[]string `json:"mac_address__nie,omitempty"` - MacAddressNiew *[]string `json:"mac_address__niew,omitempty"` - MacAddressNire *[]string `json:"mac_address__nire,omitempty"` - MacAddressNisw *[]string `json:"mac_address__nisw,omitempty"` - MacAddressNre *[]string `json:"mac_address__nre,omitempty"` - MacAddressRe *[]string `json:"mac_address__re,omitempty"` - MgmtOnly *bool `json:"mgmt_only,omitempty"` - Mode *string `json:"mode,omitempty"` - ModeN *string `json:"mode__n,omitempty"` - Mtu *[]int `json:"mtu,omitempty"` - MtuGt *[]int `json:"mtu__gt,omitempty"` - MtuGte *[]int `json:"mtu__gte,omitempty"` - MtuLt *[]int `json:"mtu__lt,omitempty"` - MtuLte *[]int `json:"mtu__lte,omitempty"` - MtuN *[]int `json:"mtu__n,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // ChildInterfacesN Child interfaces (name or ID) + ChildInterfacesN *[]openapi_types.UUID `form:"child_interfaces__n,omitempty" json:"child_interfaces__n,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Connected Connected status (bool) + Connected *bool `form:"connected,omitempty" json:"connected,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // DeviceId Device (ID) + DeviceId *[]openapi_types.UUID `form:"device_id,omitempty" json:"device_id,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // DeviceWithCommonVc Virtual Chassis member Device (ID) + DeviceWithCommonVc *openapi_types.UUID `form:"device_with_common_vc,omitempty" json:"device_with_common_vc,omitempty"` + Enabled *bool `form:"enabled,omitempty" json:"enabled,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // HasBridgedInterfaces Has bridged interfaces + HasBridgedInterfaces *bool `form:"has_bridged_interfaces,omitempty" json:"has_bridged_interfaces,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // HasChildInterfaces Has child interfaces + HasChildInterfaces *bool `form:"has_child_interfaces,omitempty" json:"has_child_interfaces,omitempty"` - // Site name (slug) - Site *[]string `json:"site,omitempty"` + // HasMemberInterfaces Has member interfaces + HasMemberInterfaces *bool `form:"has_member_interfaces,omitempty" json:"has_member_interfaces,omitempty"` - // Site name (slug) - SiteN *[]string `json:"site__n,omitempty"` + // HasTaggedVlans Has tagged VLANs + HasTaggedVlans *bool `form:"has_tagged_vlans,omitempty" json:"has_tagged_vlans,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // Kind Kind of interface + Kind *string `form:"kind,omitempty" json:"kind,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIre *[]string `form:"label__ire,omitempty" json:"label__ire,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNire *[]string `form:"label__nire,omitempty" json:"label__nire,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + LabelNre *[]string `form:"label__nre,omitempty" json:"label__nre,omitempty"` + LabelRe *[]string `form:"label__re,omitempty" json:"label__re,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` - Type *[]string `json:"type,omitempty"` - TypeN *[]string `json:"type__n,omitempty"` + // Lag LAG interface (name or ID) + Lag *[]openapi_types.UUID `form:"lag,omitempty" json:"lag,omitempty"` - // Assigned VID - Vlan *float32 `json:"vlan,omitempty"` + // LagN LAG interface (name or ID) + LagN *[]openapi_types.UUID `form:"lag__n,omitempty" json:"lag__n,omitempty"` - // Assigned VLAN - VlanId *string `json:"vlan_id,omitempty"` + // LagId LAG interface (ID) + LagId *[]openapi_types.UUID `form:"lag_id,omitempty" json:"lag_id,omitempty"` + + // LagIdN LAG interface (ID) + LagIdN *[]openapi_types.UUID `form:"lag_id__n,omitempty" json:"lag_id__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + MacAddress *[]string `form:"mac_address,omitempty" json:"mac_address,omitempty"` + MacAddressIc *[]string `form:"mac_address__ic,omitempty" json:"mac_address__ic,omitempty"` + MacAddressIe *[]string `form:"mac_address__ie,omitempty" json:"mac_address__ie,omitempty"` + MacAddressIew *[]string `form:"mac_address__iew,omitempty" json:"mac_address__iew,omitempty"` + MacAddressIre *[]string `form:"mac_address__ire,omitempty" json:"mac_address__ire,omitempty"` + MacAddressIsw *[]string `form:"mac_address__isw,omitempty" json:"mac_address__isw,omitempty"` + MacAddressN *[]string `form:"mac_address__n,omitempty" json:"mac_address__n,omitempty"` + MacAddressNic *[]string `form:"mac_address__nic,omitempty" json:"mac_address__nic,omitempty"` + MacAddressNie *[]string `form:"mac_address__nie,omitempty" json:"mac_address__nie,omitempty"` + MacAddressNiew *[]string `form:"mac_address__niew,omitempty" json:"mac_address__niew,omitempty"` + MacAddressNire *[]string `form:"mac_address__nire,omitempty" json:"mac_address__nire,omitempty"` + MacAddressNisw *[]string `form:"mac_address__nisw,omitempty" json:"mac_address__nisw,omitempty"` + MacAddressNre *[]string `form:"mac_address__nre,omitempty" json:"mac_address__nre,omitempty"` + MacAddressRe *[]string `form:"mac_address__re,omitempty" json:"mac_address__re,omitempty"` + + // MemberInterfaces Member interfaces (name or ID) + MemberInterfaces *[]openapi_types.UUID `form:"member_interfaces,omitempty" json:"member_interfaces,omitempty"` + + // MemberInterfacesN Member interfaces (name or ID) + MemberInterfacesN *[]openapi_types.UUID `form:"member_interfaces__n,omitempty" json:"member_interfaces__n,omitempty"` + MgmtOnly *bool `form:"mgmt_only,omitempty" json:"mgmt_only,omitempty"` + Mode *string `form:"mode,omitempty" json:"mode,omitempty"` + ModeN *string `form:"mode__n,omitempty" json:"mode__n,omitempty"` + Mtu *[]int `form:"mtu,omitempty" json:"mtu,omitempty"` + MtuGt *[]int `form:"mtu__gt,omitempty" json:"mtu__gt,omitempty"` + MtuGte *[]int `form:"mtu__gte,omitempty" json:"mtu__gte,omitempty"` + MtuLt *[]int `form:"mtu__lt,omitempty" json:"mtu__lt,omitempty"` + MtuLte *[]int `form:"mtu__lte,omitempty" json:"mtu__lte,omitempty"` + MtuN *[]int `form:"mtu__n,omitempty" json:"mtu__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // NautobotBgpModelsInterfacesBgpRoutingInstance Routing Instance UUID + NautobotBgpModelsInterfacesBgpRoutingInstance *[]string `form:"nautobot_bgp_models_interfaces_bgp_routing_instance,omitempty" json:"nautobot_bgp_models_interfaces_bgp_routing_instance,omitempty"` + NautobotBgpModelsInterfacesBgpRoutingInstanceIc *[]openapi_types.UUID `form:"nautobot_bgp_models_interfaces_bgp_routing_instance__ic,omitempty" json:"nautobot_bgp_models_interfaces_bgp_routing_instance__ic,omitempty"` + NautobotBgpModelsInterfacesBgpRoutingInstanceIe *[]openapi_types.UUID `form:"nautobot_bgp_models_interfaces_bgp_routing_instance__ie,omitempty" json:"nautobot_bgp_models_interfaces_bgp_routing_instance__ie,omitempty"` + NautobotBgpModelsInterfacesBgpRoutingInstanceIew *[]openapi_types.UUID `form:"nautobot_bgp_models_interfaces_bgp_routing_instance__iew,omitempty" json:"nautobot_bgp_models_interfaces_bgp_routing_instance__iew,omitempty"` + NautobotBgpModelsInterfacesBgpRoutingInstanceIre *[]openapi_types.UUID `form:"nautobot_bgp_models_interfaces_bgp_routing_instance__ire,omitempty" json:"nautobot_bgp_models_interfaces_bgp_routing_instance__ire,omitempty"` + NautobotBgpModelsInterfacesBgpRoutingInstanceIsw *[]openapi_types.UUID `form:"nautobot_bgp_models_interfaces_bgp_routing_instance__isw,omitempty" json:"nautobot_bgp_models_interfaces_bgp_routing_instance__isw,omitempty"` + NautobotBgpModelsInterfacesBgpRoutingInstanceN *[]openapi_types.UUID `form:"nautobot_bgp_models_interfaces_bgp_routing_instance__n,omitempty" json:"nautobot_bgp_models_interfaces_bgp_routing_instance__n,omitempty"` + NautobotBgpModelsInterfacesBgpRoutingInstanceNic *[]openapi_types.UUID `form:"nautobot_bgp_models_interfaces_bgp_routing_instance__nic,omitempty" json:"nautobot_bgp_models_interfaces_bgp_routing_instance__nic,omitempty"` + NautobotBgpModelsInterfacesBgpRoutingInstanceNie *[]openapi_types.UUID `form:"nautobot_bgp_models_interfaces_bgp_routing_instance__nie,omitempty" json:"nautobot_bgp_models_interfaces_bgp_routing_instance__nie,omitempty"` + NautobotBgpModelsInterfacesBgpRoutingInstanceNiew *[]openapi_types.UUID `form:"nautobot_bgp_models_interfaces_bgp_routing_instance__niew,omitempty" json:"nautobot_bgp_models_interfaces_bgp_routing_instance__niew,omitempty"` + NautobotBgpModelsInterfacesBgpRoutingInstanceNire *[]openapi_types.UUID `form:"nautobot_bgp_models_interfaces_bgp_routing_instance__nire,omitempty" json:"nautobot_bgp_models_interfaces_bgp_routing_instance__nire,omitempty"` + NautobotBgpModelsInterfacesBgpRoutingInstanceNisw *[]openapi_types.UUID `form:"nautobot_bgp_models_interfaces_bgp_routing_instance__nisw,omitempty" json:"nautobot_bgp_models_interfaces_bgp_routing_instance__nisw,omitempty"` + NautobotBgpModelsInterfacesBgpRoutingInstanceNre *[]openapi_types.UUID `form:"nautobot_bgp_models_interfaces_bgp_routing_instance__nre,omitempty" json:"nautobot_bgp_models_interfaces_bgp_routing_instance__nre,omitempty"` + NautobotBgpModelsInterfacesBgpRoutingInstanceRe *[]openapi_types.UUID `form:"nautobot_bgp_models_interfaces_bgp_routing_instance__re,omitempty" json:"nautobot_bgp_models_interfaces_bgp_routing_instance__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // ParentInterface Parent interface (name or ID) + ParentInterface *[]openapi_types.UUID `form:"parent_interface,omitempty" json:"parent_interface,omitempty"` + + // ParentInterfaceN Parent interface (name or ID) + ParentInterfaceN *[]openapi_types.UUID `form:"parent_interface__n,omitempty" json:"parent_interface__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Region Region (slug) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Status *[]openapi_types.UUID `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]openapi_types.UUID `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // TaggedVlans Tagged VLANs (VID or ID) + TaggedVlans *[]openapi_types.UUID `form:"tagged_vlans,omitempty" json:"tagged_vlans,omitempty"` + + // TaggedVlansN Tagged VLANs (VID or ID) + TaggedVlansN *[]openapi_types.UUID `form:"tagged_vlans__n,omitempty" json:"tagged_vlans__n,omitempty"` + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + + // UntaggedVlan Untagged VLAN (VID or ID) + UntaggedVlan *[]openapi_types.UUID `form:"untagged_vlan,omitempty" json:"untagged_vlan,omitempty"` + + // UntaggedVlanN Untagged VLAN (VID or ID) + UntaggedVlanN *[]openapi_types.UUID `form:"untagged_vlan__n,omitempty" json:"untagged_vlan__n,omitempty"` + + // Vlan Assigned VID + Vlan *float32 `form:"vlan,omitempty" json:"vlan,omitempty"` + + // VlanId Assigned VLAN + VlanId *string `form:"vlan_id,omitempty" json:"vlan_id,omitempty"` } // DcimInterfacesBulkPartialUpdateJSONBody defines parameters for DcimInterfacesBulkPartialUpdate. -type DcimInterfacesBulkPartialUpdateJSONBody PatchedWritableInterface - -// DcimInterfacesCreateJSONBody defines parameters for DcimInterfacesCreate. -type DcimInterfacesCreateJSONBody WritableInterface +type DcimInterfacesBulkPartialUpdateJSONBody = []PatchedBulkWritableInterfaceRequest // DcimInterfacesBulkUpdateJSONBody defines parameters for DcimInterfacesBulkUpdate. -type DcimInterfacesBulkUpdateJSONBody WritableInterface +type DcimInterfacesBulkUpdateJSONBody = []BulkWritableInterfaceRequest -// DcimInterfacesPartialUpdateJSONBody defines parameters for DcimInterfacesPartialUpdate. -type DcimInterfacesPartialUpdateJSONBody PatchedWritableInterface +// DcimInterfacesNotesListParams defines parameters for DcimInterfacesNotesList. +type DcimInterfacesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimInterfacesUpdateJSONBody defines parameters for DcimInterfacesUpdate. -type DcimInterfacesUpdateJSONBody WritableInterface + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimInventoryItemsBulkDestroyJSONBody defines parameters for DcimInventoryItemsBulkDestroy. +type DcimInventoryItemsBulkDestroyJSONBody = []BulkOperationRequest // DcimInventoryItemsListParams defines parameters for DcimInventoryItemsList. type DcimInventoryItemsListParams struct { - AssetTag *[]string `json:"asset_tag,omitempty"` - AssetTagIc *[]string `json:"asset_tag__ic,omitempty"` - AssetTagIe *[]string `json:"asset_tag__ie,omitempty"` - AssetTagIew *[]string `json:"asset_tag__iew,omitempty"` - AssetTagIre *[]string `json:"asset_tag__ire,omitempty"` - AssetTagIsw *[]string `json:"asset_tag__isw,omitempty"` - AssetTagN *[]string `json:"asset_tag__n,omitempty"` - AssetTagNic *[]string `json:"asset_tag__nic,omitempty"` - AssetTagNie *[]string `json:"asset_tag__nie,omitempty"` - AssetTagNiew *[]string `json:"asset_tag__niew,omitempty"` - AssetTagNire *[]string `json:"asset_tag__nire,omitempty"` - AssetTagNisw *[]string `json:"asset_tag__nisw,omitempty"` - AssetTagNre *[]string `json:"asset_tag__nre,omitempty"` - AssetTagRe *[]string `json:"asset_tag__re,omitempty"` + AssetTag *[]string `form:"asset_tag,omitempty" json:"asset_tag,omitempty"` + AssetTagIc *[]string `form:"asset_tag__ic,omitempty" json:"asset_tag__ic,omitempty"` + AssetTagIe *[]string `form:"asset_tag__ie,omitempty" json:"asset_tag__ie,omitempty"` + AssetTagIew *[]string `form:"asset_tag__iew,omitempty" json:"asset_tag__iew,omitempty"` + AssetTagIre *[]string `form:"asset_tag__ire,omitempty" json:"asset_tag__ire,omitempty"` + AssetTagIsw *[]string `form:"asset_tag__isw,omitempty" json:"asset_tag__isw,omitempty"` + AssetTagN *[]string `form:"asset_tag__n,omitempty" json:"asset_tag__n,omitempty"` + AssetTagNic *[]string `form:"asset_tag__nic,omitempty" json:"asset_tag__nic,omitempty"` + AssetTagNie *[]string `form:"asset_tag__nie,omitempty" json:"asset_tag__nie,omitempty"` + AssetTagNiew *[]string `form:"asset_tag__niew,omitempty" json:"asset_tag__niew,omitempty"` + AssetTagNire *[]string `form:"asset_tag__nire,omitempty" json:"asset_tag__nire,omitempty"` + AssetTagNisw *[]string `form:"asset_tag__nisw,omitempty" json:"asset_tag__nisw,omitempty"` + AssetTagNre *[]string `form:"asset_tag__nre,omitempty" json:"asset_tag__nre,omitempty"` + AssetTagRe *[]string `form:"asset_tag__re,omitempty" json:"asset_tag__re,omitempty"` - // Device (name) - Device *openapi_types.UUID `json:"device,omitempty"` + // ChildItems Child items (name or ID) + ChildItems *[]openapi_types.UUID `form:"child_items,omitempty" json:"child_items,omitempty"` - // Device (name) - DeviceN *openapi_types.UUID `json:"device__n,omitempty"` + // ChildItemsN Child items (name or ID) + ChildItemsN *[]openapi_types.UUID `form:"child_items__n,omitempty" json:"child_items__n,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` - // Device (ID) - DeviceId *openapi_types.UUID `json:"device_id,omitempty"` + // Device Device (name) + Device *openapi_types.UUID `form:"device,omitempty" json:"device,omitempty"` - // Device (ID) - DeviceIdN *openapi_types.UUID `json:"device_id__n,omitempty"` - Discovered *bool `json:"discovered,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // DeviceN Device (name) + DeviceN *openapi_types.UUID `form:"device__n,omitempty" json:"device__n,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // DeviceId Device (ID) + DeviceId *openapi_types.UUID `form:"device_id,omitempty" json:"device_id,omitempty"` - // Manufacturer (slug) - Manufacturer *[]string `json:"manufacturer,omitempty"` + // DeviceIdN Device (ID) + DeviceIdN *openapi_types.UUID `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + Discovered *bool `form:"discovered,omitempty" json:"discovered,omitempty"` - // Manufacturer (slug) - ManufacturerN *[]string `json:"manufacturer__n,omitempty"` + // HasChildItems Has child items + HasChildItems *bool `form:"has_child_items,omitempty" json:"has_child_items,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIre *[]string `form:"label__ire,omitempty" json:"label__ire,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNire *[]string `form:"label__nire,omitempty" json:"label__nire,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + LabelNre *[]string `form:"label__nre,omitempty" json:"label__nre,omitempty"` + LabelRe *[]string `form:"label__re,omitempty" json:"label__re,omitempty"` - // Manufacturer (ID) - ManufacturerId *[]openapi_types.UUID `json:"manufacturer_id,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // Manufacturer (ID) - ManufacturerIdN *[]openapi_types.UUID `json:"manufacturer_id__n,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Manufacturer Manufacturer (slug) + Manufacturer *[]string `form:"manufacturer,omitempty" json:"manufacturer,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // ManufacturerN Manufacturer (slug) + ManufacturerN *[]string `form:"manufacturer__n,omitempty" json:"manufacturer__n,omitempty"` - // Parent inventory item (ID) - ParentId *[]openapi_types.UUID `json:"parent_id,omitempty"` + // ManufacturerId Manufacturer (ID) + ManufacturerId *[]openapi_types.UUID `form:"manufacturer_id,omitempty" json:"manufacturer_id,omitempty"` - // Parent inventory item (ID) - ParentIdN *[]openapi_types.UUID `json:"parent_id__n,omitempty"` - PartId *[]string `json:"part_id,omitempty"` - PartIdIc *[]string `json:"part_id__ic,omitempty"` - PartIdIe *[]string `json:"part_id__ie,omitempty"` - PartIdIew *[]string `json:"part_id__iew,omitempty"` - PartIdIre *[]string `json:"part_id__ire,omitempty"` - PartIdIsw *[]string `json:"part_id__isw,omitempty"` - PartIdN *[]string `json:"part_id__n,omitempty"` - PartIdNic *[]string `json:"part_id__nic,omitempty"` - PartIdNie *[]string `json:"part_id__nie,omitempty"` - PartIdNiew *[]string `json:"part_id__niew,omitempty"` - PartIdNire *[]string `json:"part_id__nire,omitempty"` - PartIdNisw *[]string `json:"part_id__nisw,omitempty"` - PartIdNre *[]string `json:"part_id__nre,omitempty"` - PartIdRe *[]string `json:"part_id__re,omitempty"` + // ManufacturerIdN Manufacturer (ID) + ManufacturerIdN *[]openapi_types.UUID `form:"manufacturer_id__n,omitempty" json:"manufacturer_id__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // Parent Parent (name or ID) + Parent *[]openapi_types.UUID `form:"parent,omitempty" json:"parent,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // ParentN Parent (name or ID) + ParentN *[]openapi_types.UUID `form:"parent__n,omitempty" json:"parent__n,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // ParentId Parent inventory item (ID) + ParentId *[]openapi_types.UUID `form:"parent_id,omitempty" json:"parent_id,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` - Serial *string `json:"serial,omitempty"` + // ParentIdN Parent inventory item (ID) + ParentIdN *[]openapi_types.UUID `form:"parent_id__n,omitempty" json:"parent_id__n,omitempty"` + PartId *[]string `form:"part_id,omitempty" json:"part_id,omitempty"` + PartIdIc *[]string `form:"part_id__ic,omitempty" json:"part_id__ic,omitempty"` + PartIdIe *[]string `form:"part_id__ie,omitempty" json:"part_id__ie,omitempty"` + PartIdIew *[]string `form:"part_id__iew,omitempty" json:"part_id__iew,omitempty"` + PartIdIre *[]string `form:"part_id__ire,omitempty" json:"part_id__ire,omitempty"` + PartIdIsw *[]string `form:"part_id__isw,omitempty" json:"part_id__isw,omitempty"` + PartIdN *[]string `form:"part_id__n,omitempty" json:"part_id__n,omitempty"` + PartIdNic *[]string `form:"part_id__nic,omitempty" json:"part_id__nic,omitempty"` + PartIdNie *[]string `form:"part_id__nie,omitempty" json:"part_id__nie,omitempty"` + PartIdNiew *[]string `form:"part_id__niew,omitempty" json:"part_id__niew,omitempty"` + PartIdNire *[]string `form:"part_id__nire,omitempty" json:"part_id__nire,omitempty"` + PartIdNisw *[]string `form:"part_id__nisw,omitempty" json:"part_id__nisw,omitempty"` + PartIdNre *[]string `form:"part_id__nre,omitempty" json:"part_id__nre,omitempty"` + PartIdRe *[]string `form:"part_id__re,omitempty" json:"part_id__re,omitempty"` - // Site name (slug) - Site *[]string `json:"site,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Site name (slug) - SiteN *[]string `json:"site__n,omitempty"` + // Region Region (slug) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // RegionN Region (slug) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // RegionId Region (ID) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + Serial *string `form:"serial,omitempty" json:"serial,omitempty"` + + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` } // DcimInventoryItemsBulkPartialUpdateJSONBody defines parameters for DcimInventoryItemsBulkPartialUpdate. -type DcimInventoryItemsBulkPartialUpdateJSONBody PatchedWritableInventoryItem - -// DcimInventoryItemsCreateJSONBody defines parameters for DcimInventoryItemsCreate. -type DcimInventoryItemsCreateJSONBody WritableInventoryItem +type DcimInventoryItemsBulkPartialUpdateJSONBody = []PatchedBulkWritableInventoryItemRequest // DcimInventoryItemsBulkUpdateJSONBody defines parameters for DcimInventoryItemsBulkUpdate. -type DcimInventoryItemsBulkUpdateJSONBody WritableInventoryItem +type DcimInventoryItemsBulkUpdateJSONBody = []BulkWritableInventoryItemRequest -// DcimInventoryItemsPartialUpdateJSONBody defines parameters for DcimInventoryItemsPartialUpdate. -type DcimInventoryItemsPartialUpdateJSONBody PatchedWritableInventoryItem +// DcimInventoryItemsNotesListParams defines parameters for DcimInventoryItemsNotesList. +type DcimInventoryItemsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimInventoryItemsUpdateJSONBody defines parameters for DcimInventoryItemsUpdate. -type DcimInventoryItemsUpdateJSONBody WritableInventoryItem + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimLocationTypesBulkDestroyJSONBody defines parameters for DcimLocationTypesBulkDestroy. +type DcimLocationTypesBulkDestroyJSONBody = []BulkOperationRequest + +// DcimLocationTypesListParams defines parameters for DcimLocationTypesList. +type DcimLocationTypesListParams struct { + ContentTypes *[]int `form:"content_types,omitempty" json:"content_types,omitempty"` + ContentTypesN *[]int `form:"content_types__n,omitempty" json:"content_types__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + Nestable *bool `form:"nestable,omitempty" json:"nestable,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Parent Parent location type (slug or ID) + Parent *[]openapi_types.UUID `form:"parent,omitempty" json:"parent,omitempty"` + + // ParentN Parent location type (slug or ID) + ParentN *[]openapi_types.UUID `form:"parent__n,omitempty" json:"parent__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` +} + +// DcimLocationTypesBulkPartialUpdateJSONBody defines parameters for DcimLocationTypesBulkPartialUpdate. +type DcimLocationTypesBulkPartialUpdateJSONBody = []PatchedBulkWritableLocationTypeRequest + +// DcimLocationTypesBulkUpdateJSONBody defines parameters for DcimLocationTypesBulkUpdate. +type DcimLocationTypesBulkUpdateJSONBody = []BulkWritableLocationTypeRequest + +// DcimLocationTypesNotesListParams defines parameters for DcimLocationTypesNotesList. +type DcimLocationTypesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimLocationsBulkDestroyJSONBody defines parameters for DcimLocationsBulkDestroy. +type DcimLocationsBulkDestroyJSONBody = []BulkOperationRequest + +// DcimLocationsListParams defines parameters for DcimLocationsList. +type DcimLocationsListParams struct { + // BaseSite Base location's site (slug or ID) + BaseSite *[]string `form:"base_site,omitempty" json:"base_site,omitempty"` + + // ChildLocationType Child location type (slug or ID) + ChildLocationType *[]string `form:"child_location_type,omitempty" json:"child_location_type,omitempty"` + ContentType *[]int `form:"content_type,omitempty" json:"content_type,omitempty"` + ContentTypeN *[]int `form:"content_type__n,omitempty" json:"content_type__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // LocationType Location type (slug or ID) + LocationType *[]openapi_types.UUID `form:"location_type,omitempty" json:"location_type,omitempty"` + + // LocationTypeN Location type (slug or ID) + LocationTypeN *[]openapi_types.UUID `form:"location_type__n,omitempty" json:"location_type__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Parent Parent location (slug or ID) + Parent *[]openapi_types.UUID `form:"parent,omitempty" json:"parent,omitempty"` + + // ParentN Parent location (slug or ID) + ParentN *[]openapi_types.UUID `form:"parent__n,omitempty" json:"parent__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Site Site (slug or ID) + Site *[]openapi_types.UUID `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site (slug or ID) + SiteN *[]openapi_types.UUID `form:"site__n,omitempty" json:"site__n,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` + Status *[]openapi_types.UUID `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]openapi_types.UUID `form:"status__n,omitempty" json:"status__n,omitempty"` + + // Subtree Location(s) and descendants thereof (slug or ID) + Subtree *[]string `form:"subtree,omitempty" json:"subtree,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug or ID) + Tenant *[]openapi_types.UUID `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug or ID) + TenantN *[]openapi_types.UUID `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) (deprecated, use "tenant" filter instead) + TenantId *[]openapi_types.UUID `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) (deprecated, use "tenant" filter instead) + TenantIdN *[]openapi_types.UUID `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` +} + +// DcimLocationsBulkPartialUpdateJSONBody defines parameters for DcimLocationsBulkPartialUpdate. +type DcimLocationsBulkPartialUpdateJSONBody = []PatchedBulkWritableLocationRequest + +// DcimLocationsBulkUpdateJSONBody defines parameters for DcimLocationsBulkUpdate. +type DcimLocationsBulkUpdateJSONBody = []BulkWritableLocationRequest + +// DcimLocationsNotesListParams defines parameters for DcimLocationsNotesList. +type DcimLocationsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimManufacturersBulkDestroyJSONBody defines parameters for DcimManufacturersBulkDestroy. +type DcimManufacturersBulkDestroyJSONBody = []BulkOperationRequest // DcimManufacturersListParams defines parameters for DcimManufacturersList. type DcimManufacturersListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Description *[]string `json:"description,omitempty"` - DescriptionIc *[]string `json:"description__ic,omitempty"` - DescriptionIe *[]string `json:"description__ie,omitempty"` - DescriptionIew *[]string `json:"description__iew,omitempty"` - DescriptionIre *[]string `json:"description__ire,omitempty"` - DescriptionIsw *[]string `json:"description__isw,omitempty"` - DescriptionN *[]string `json:"description__n,omitempty"` - DescriptionNic *[]string `json:"description__nic,omitempty"` - DescriptionNie *[]string `json:"description__nie,omitempty"` - DescriptionNiew *[]string `json:"description__niew,omitempty"` - DescriptionNire *[]string `json:"description__nire,omitempty"` - DescriptionNisw *[]string `json:"description__nisw,omitempty"` - DescriptionNre *[]string `json:"description__nre,omitempty"` - DescriptionRe *[]string `json:"description__re,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // DeviceTypes Device types (slug or ID) + DeviceTypes *[]openapi_types.UUID `form:"device_types,omitempty" json:"device_types,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // DeviceTypesN Device types (slug or ID) + DeviceTypesN *[]openapi_types.UUID `form:"device_types__n,omitempty" json:"device_types__n,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // HasDeviceTypes Has device types + HasDeviceTypes *bool `form:"has_device_types,omitempty" json:"has_device_types,omitempty"` + + // HasInventoryItems Has inventory items + HasInventoryItems *bool `form:"has_inventory_items,omitempty" json:"has_inventory_items,omitempty"` + + // HasPlatforms Has platforms + HasPlatforms *bool `form:"has_platforms,omitempty" json:"has_platforms,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + + // InventoryItems Inventory items (name or ID) + InventoryItems *[]openapi_types.UUID `form:"inventory_items,omitempty" json:"inventory_items,omitempty"` + + // InventoryItemsN Inventory items (name or ID) + InventoryItemsN *[]openapi_types.UUID `form:"inventory_items__n,omitempty" json:"inventory_items__n,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Platforms Platforms (slug or ID) + Platforms *[]openapi_types.UUID `form:"platforms,omitempty" json:"platforms,omitempty"` + + // PlatformsN Platforms (slug or ID) + PlatformsN *[]openapi_types.UUID `form:"platforms__n,omitempty" json:"platforms__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` } // DcimManufacturersBulkPartialUpdateJSONBody defines parameters for DcimManufacturersBulkPartialUpdate. -type DcimManufacturersBulkPartialUpdateJSONBody PatchedManufacturer - -// DcimManufacturersCreateJSONBody defines parameters for DcimManufacturersCreate. -type DcimManufacturersCreateJSONBody Manufacturer +type DcimManufacturersBulkPartialUpdateJSONBody = []PatchedBulkWritableManufacturerRequest // DcimManufacturersBulkUpdateJSONBody defines parameters for DcimManufacturersBulkUpdate. -type DcimManufacturersBulkUpdateJSONBody Manufacturer +type DcimManufacturersBulkUpdateJSONBody = []BulkWritableManufacturerRequest -// DcimManufacturersPartialUpdateJSONBody defines parameters for DcimManufacturersPartialUpdate. -type DcimManufacturersPartialUpdateJSONBody PatchedManufacturer +// DcimManufacturersNotesListParams defines parameters for DcimManufacturersNotesList. +type DcimManufacturersNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimManufacturersUpdateJSONBody defines parameters for DcimManufacturersUpdate. -type DcimManufacturersUpdateJSONBody Manufacturer + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimPlatformsBulkDestroyJSONBody defines parameters for DcimPlatformsBulkDestroy. +type DcimPlatformsBulkDestroyJSONBody = []BulkOperationRequest // DcimPlatformsListParams defines parameters for DcimPlatformsList. type DcimPlatformsListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Description *[]string `json:"description,omitempty"` - DescriptionIc *[]string `json:"description__ic,omitempty"` - DescriptionIe *[]string `json:"description__ie,omitempty"` - DescriptionIew *[]string `json:"description__iew,omitempty"` - DescriptionIre *[]string `json:"description__ire,omitempty"` - DescriptionIsw *[]string `json:"description__isw,omitempty"` - DescriptionN *[]string `json:"description__n,omitempty"` - DescriptionNic *[]string `json:"description__nic,omitempty"` - DescriptionNie *[]string `json:"description__nie,omitempty"` - DescriptionNiew *[]string `json:"description__niew,omitempty"` - DescriptionNire *[]string `json:"description__nire,omitempty"` - DescriptionNisw *[]string `json:"description__nisw,omitempty"` - DescriptionNre *[]string `json:"description__nre,omitempty"` - DescriptionRe *[]string `json:"description__re,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Devices *[]openapi_types.UUID `form:"devices,omitempty" json:"devices,omitempty"` + DevicesN *[]openapi_types.UUID `form:"devices__n,omitempty" json:"devices__n,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // HasDevices Has devices + HasDevices *bool `form:"has_devices,omitempty" json:"has_devices,omitempty"` - // Manufacturer (slug) - Manufacturer *[]string `json:"manufacturer,omitempty"` + // HasVirtualMachines Has virtual machines + HasVirtualMachines *bool `form:"has_virtual_machines,omitempty" json:"has_virtual_machines,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Manufacturer (slug) - ManufacturerN *[]string `json:"manufacturer__n,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // Manufacturer (ID) - ManufacturerId *[]openapi_types.UUID `json:"manufacturer_id,omitempty"` + // Manufacturer Manufacturer (slug) + Manufacturer *[]string `form:"manufacturer,omitempty" json:"manufacturer,omitempty"` - // Manufacturer (ID) - ManufacturerIdN *[]openapi_types.UUID `json:"manufacturer_id__n,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` - NapalmDriver *[]string `json:"napalm_driver,omitempty"` - NapalmDriverIc *[]string `json:"napalm_driver__ic,omitempty"` - NapalmDriverIe *[]string `json:"napalm_driver__ie,omitempty"` - NapalmDriverIew *[]string `json:"napalm_driver__iew,omitempty"` - NapalmDriverIre *[]string `json:"napalm_driver__ire,omitempty"` - NapalmDriverIsw *[]string `json:"napalm_driver__isw,omitempty"` - NapalmDriverN *[]string `json:"napalm_driver__n,omitempty"` - NapalmDriverNic *[]string `json:"napalm_driver__nic,omitempty"` - NapalmDriverNie *[]string `json:"napalm_driver__nie,omitempty"` - NapalmDriverNiew *[]string `json:"napalm_driver__niew,omitempty"` - NapalmDriverNire *[]string `json:"napalm_driver__nire,omitempty"` - NapalmDriverNisw *[]string `json:"napalm_driver__nisw,omitempty"` - NapalmDriverNre *[]string `json:"napalm_driver__nre,omitempty"` - NapalmDriverRe *[]string `json:"napalm_driver__re,omitempty"` + // ManufacturerN Manufacturer (slug) + ManufacturerN *[]string `form:"manufacturer__n,omitempty" json:"manufacturer__n,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // ManufacturerId Manufacturer (ID) + ManufacturerId *[]openapi_types.UUID `form:"manufacturer_id,omitempty" json:"manufacturer_id,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // ManufacturerIdN Manufacturer (ID) + ManufacturerIdN *[]openapi_types.UUID `form:"manufacturer_id__n,omitempty" json:"manufacturer_id__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + NapalmArgs *[]string `form:"napalm_args,omitempty" json:"napalm_args,omitempty"` + NapalmDriver *[]string `form:"napalm_driver,omitempty" json:"napalm_driver,omitempty"` + NapalmDriverIc *[]string `form:"napalm_driver__ic,omitempty" json:"napalm_driver__ic,omitempty"` + NapalmDriverIe *[]string `form:"napalm_driver__ie,omitempty" json:"napalm_driver__ie,omitempty"` + NapalmDriverIew *[]string `form:"napalm_driver__iew,omitempty" json:"napalm_driver__iew,omitempty"` + NapalmDriverIre *[]string `form:"napalm_driver__ire,omitempty" json:"napalm_driver__ire,omitempty"` + NapalmDriverIsw *[]string `form:"napalm_driver__isw,omitempty" json:"napalm_driver__isw,omitempty"` + NapalmDriverN *[]string `form:"napalm_driver__n,omitempty" json:"napalm_driver__n,omitempty"` + NapalmDriverNic *[]string `form:"napalm_driver__nic,omitempty" json:"napalm_driver__nic,omitempty"` + NapalmDriverNie *[]string `form:"napalm_driver__nie,omitempty" json:"napalm_driver__nie,omitempty"` + NapalmDriverNiew *[]string `form:"napalm_driver__niew,omitempty" json:"napalm_driver__niew,omitempty"` + NapalmDriverNire *[]string `form:"napalm_driver__nire,omitempty" json:"napalm_driver__nire,omitempty"` + NapalmDriverNisw *[]string `form:"napalm_driver__nisw,omitempty" json:"napalm_driver__nisw,omitempty"` + NapalmDriverNre *[]string `form:"napalm_driver__nre,omitempty" json:"napalm_driver__nre,omitempty"` + NapalmDriverRe *[]string `form:"napalm_driver__re,omitempty" json:"napalm_driver__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` + VirtualMachines *[]openapi_types.UUID `form:"virtual_machines,omitempty" json:"virtual_machines,omitempty"` + VirtualMachinesN *[]openapi_types.UUID `form:"virtual_machines__n,omitempty" json:"virtual_machines__n,omitempty"` } // DcimPlatformsBulkPartialUpdateJSONBody defines parameters for DcimPlatformsBulkPartialUpdate. -type DcimPlatformsBulkPartialUpdateJSONBody PatchedWritablePlatform - -// DcimPlatformsCreateJSONBody defines parameters for DcimPlatformsCreate. -type DcimPlatformsCreateJSONBody WritablePlatform +type DcimPlatformsBulkPartialUpdateJSONBody = []PatchedBulkWritablePlatformRequest // DcimPlatformsBulkUpdateJSONBody defines parameters for DcimPlatformsBulkUpdate. -type DcimPlatformsBulkUpdateJSONBody WritablePlatform +type DcimPlatformsBulkUpdateJSONBody = []BulkWritablePlatformRequest -// DcimPlatformsPartialUpdateJSONBody defines parameters for DcimPlatformsPartialUpdate. -type DcimPlatformsPartialUpdateJSONBody PatchedWritablePlatform +// DcimPlatformsNotesListParams defines parameters for DcimPlatformsNotesList. +type DcimPlatformsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimPlatformsUpdateJSONBody defines parameters for DcimPlatformsUpdate. -type DcimPlatformsUpdateJSONBody WritablePlatform + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} // DcimPowerConnectionsListParams defines parameters for DcimPowerConnectionsList. type DcimPowerConnectionsListParams struct { - // Device (name) - Device *[]string `json:"device,omitempty"` + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` - // Device (ID) - DeviceId *[]openapi_types.UUID `json:"device_id,omitempty"` + // DeviceId Device (ID) + DeviceId *[]openapi_types.UUID `form:"device_id,omitempty" json:"device_id,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Site (slug) - Site *string `json:"site,omitempty"` + // Site Site (slug) + Site *string `form:"site,omitempty" json:"site,omitempty"` } +// DcimPowerFeedsBulkDestroyJSONBody defines parameters for DcimPowerFeedsBulkDestroy. +type DcimPowerFeedsBulkDestroyJSONBody = []BulkOperationRequest + // DcimPowerFeedsListParams defines parameters for DcimPowerFeedsList. type DcimPowerFeedsListParams struct { - Amperage *[]int `json:"amperage,omitempty"` - AmperageGt *[]int `json:"amperage__gt,omitempty"` - AmperageGte *[]int `json:"amperage__gte,omitempty"` - AmperageLt *[]int `json:"amperage__lt,omitempty"` - AmperageLte *[]int `json:"amperage__lte,omitempty"` - AmperageN *[]int `json:"amperage__n,omitempty"` - Cabled *bool `json:"cabled,omitempty"` + Amperage *[]int `form:"amperage,omitempty" json:"amperage,omitempty"` + AmperageGt *[]int `form:"amperage__gt,omitempty" json:"amperage__gt,omitempty"` + AmperageGte *[]int `form:"amperage__gte,omitempty" json:"amperage__gte,omitempty"` + AmperageLt *[]int `form:"amperage__lt,omitempty" json:"amperage__lt,omitempty"` + AmperageLte *[]int `form:"amperage__lte,omitempty" json:"amperage__lte,omitempty"` + AmperageN *[]int `form:"amperage__n,omitempty" json:"amperage__n,omitempty"` + AvailablePower *[]int `form:"available_power,omitempty" json:"available_power,omitempty"` + AvailablePowerGt *[]int `form:"available_power__gt,omitempty" json:"available_power__gt,omitempty"` + AvailablePowerGte *[]int `form:"available_power__gte,omitempty" json:"available_power__gte,omitempty"` + AvailablePowerLt *[]int `form:"available_power__lt,omitempty" json:"available_power__lt,omitempty"` + AvailablePowerLte *[]int `form:"available_power__lte,omitempty" json:"available_power__lte,omitempty"` + AvailablePowerN *[]int `form:"available_power__n,omitempty" json:"available_power__n,omitempty"` - // Connected status (bool) - Connected *bool `json:"connected,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + // Cable Cable + Cable *[]openapi_types.UUID `form:"cable,omitempty" json:"cable,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - MaxUtilization *[]int `json:"max_utilization,omitempty"` - MaxUtilizationGt *[]int `json:"max_utilization__gt,omitempty"` - MaxUtilizationGte *[]int `json:"max_utilization__gte,omitempty"` - MaxUtilizationLt *[]int `json:"max_utilization__lt,omitempty"` - MaxUtilizationLte *[]int `json:"max_utilization__lte,omitempty"` - MaxUtilizationN *[]int `json:"max_utilization__n,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // CableN Cable + CableN *[]openapi_types.UUID `form:"cable__n,omitempty" json:"cable__n,omitempty"` + Cabled *bool `form:"cabled,omitempty" json:"cabled,omitempty"` + Comments *[]string `form:"comments,omitempty" json:"comments,omitempty"` + CommentsIc *[]string `form:"comments__ic,omitempty" json:"comments__ic,omitempty"` + CommentsIe *[]string `form:"comments__ie,omitempty" json:"comments__ie,omitempty"` + CommentsIew *[]string `form:"comments__iew,omitempty" json:"comments__iew,omitempty"` + CommentsIre *[]string `form:"comments__ire,omitempty" json:"comments__ire,omitempty"` + CommentsIsw *[]string `form:"comments__isw,omitempty" json:"comments__isw,omitempty"` + CommentsN *[]string `form:"comments__n,omitempty" json:"comments__n,omitempty"` + CommentsNic *[]string `form:"comments__nic,omitempty" json:"comments__nic,omitempty"` + CommentsNie *[]string `form:"comments__nie,omitempty" json:"comments__nie,omitempty"` + CommentsNiew *[]string `form:"comments__niew,omitempty" json:"comments__niew,omitempty"` + CommentsNire *[]string `form:"comments__nire,omitempty" json:"comments__nire,omitempty"` + CommentsNisw *[]string `form:"comments__nisw,omitempty" json:"comments__nisw,omitempty"` + CommentsNre *[]string `form:"comments__nre,omitempty" json:"comments__nre,omitempty"` + CommentsRe *[]string `form:"comments__re,omitempty" json:"comments__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` - Phase *string `json:"phase,omitempty"` - PhaseN *string `json:"phase__n,omitempty"` + // Connected Connected status (bool) + Connected *bool `form:"connected,omitempty" json:"connected,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Power panel (ID) - PowerPanelId *[]openapi_types.UUID `json:"power_panel_id,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + MaxUtilization *[]int `form:"max_utilization,omitempty" json:"max_utilization,omitempty"` + MaxUtilizationGt *[]int `form:"max_utilization__gt,omitempty" json:"max_utilization__gt,omitempty"` + MaxUtilizationGte *[]int `form:"max_utilization__gte,omitempty" json:"max_utilization__gte,omitempty"` + MaxUtilizationLt *[]int `form:"max_utilization__lt,omitempty" json:"max_utilization__lt,omitempty"` + MaxUtilizationLte *[]int `form:"max_utilization__lte,omitempty" json:"max_utilization__lte,omitempty"` + MaxUtilizationN *[]int `form:"max_utilization__n,omitempty" json:"max_utilization__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Power panel (ID) - PowerPanelIdN *[]openapi_types.UUID `json:"power_panel_id__n,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + Phase *string `form:"phase,omitempty" json:"phase,omitempty"` + PhaseN *string `form:"phase__n,omitempty" json:"phase__n,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // PowerPanel Power panel (name or ID) + PowerPanel *[]openapi_types.UUID `form:"power_panel,omitempty" json:"power_panel,omitempty"` - // Rack (ID) - RackId *[]openapi_types.UUID `json:"rack_id,omitempty"` + // PowerPanelN Power panel (name or ID) + PowerPanelN *[]openapi_types.UUID `form:"power_panel__n,omitempty" json:"power_panel__n,omitempty"` - // Rack (ID) - RackIdN *[]openapi_types.UUID `json:"rack_id__n,omitempty"` + // PowerPanelId Power panel (ID) + PowerPanelId *[]openapi_types.UUID `form:"power_panel_id,omitempty" json:"power_panel_id,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // PowerPanelIdN Power panel (ID) + PowerPanelIdN *[]openapi_types.UUID `form:"power_panel_id__n,omitempty" json:"power_panel_id__n,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // Rack Rack (name or ID) + Rack *[]openapi_types.UUID `form:"rack,omitempty" json:"rack,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // RackN Rack (name or ID) + RackN *[]openapi_types.UUID `form:"rack__n,omitempty" json:"rack__n,omitempty"` - // Site name (slug) - Site *[]string `json:"site,omitempty"` + // RackId Rack (ID) + RackId *[]openapi_types.UUID `form:"rack_id,omitempty" json:"rack_id,omitempty"` - // Site name (slug) - SiteN *[]string `json:"site__n,omitempty"` + // RackIdN Rack (ID) + RackIdN *[]openapi_types.UUID `form:"rack_id__n,omitempty" json:"rack_id__n,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // Region Region (slug) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Status *[]openapi_types.UUID `json:"status,omitempty"` - StatusN *[]openapi_types.UUID `json:"status__n,omitempty"` - Supply *string `json:"supply,omitempty"` - SupplyN *string `json:"supply__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` - Type *string `json:"type,omitempty"` - TypeN *string `json:"type__n,omitempty"` - Voltage *[]int `json:"voltage,omitempty"` - VoltageGt *[]int `json:"voltage__gt,omitempty"` - VoltageGte *[]int `json:"voltage__gte,omitempty"` - VoltageLt *[]int `json:"voltage__lt,omitempty"` - VoltageLte *[]int `json:"voltage__lte,omitempty"` - VoltageN *[]int `json:"voltage__n,omitempty"` + // RegionN Region (slug) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Status *[]openapi_types.UUID `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]openapi_types.UUID `form:"status__n,omitempty" json:"status__n,omitempty"` + Supply *string `form:"supply,omitempty" json:"supply,omitempty"` + SupplyN *string `form:"supply__n,omitempty" json:"supply__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + Type *string `form:"type,omitempty" json:"type,omitempty"` + TypeN *string `form:"type__n,omitempty" json:"type__n,omitempty"` + Voltage *[]int `form:"voltage,omitempty" json:"voltage,omitempty"` + VoltageGt *[]int `form:"voltage__gt,omitempty" json:"voltage__gt,omitempty"` + VoltageGte *[]int `form:"voltage__gte,omitempty" json:"voltage__gte,omitempty"` + VoltageLt *[]int `form:"voltage__lt,omitempty" json:"voltage__lt,omitempty"` + VoltageLte *[]int `form:"voltage__lte,omitempty" json:"voltage__lte,omitempty"` + VoltageN *[]int `form:"voltage__n,omitempty" json:"voltage__n,omitempty"` } // DcimPowerFeedsBulkPartialUpdateJSONBody defines parameters for DcimPowerFeedsBulkPartialUpdate. -type DcimPowerFeedsBulkPartialUpdateJSONBody PatchedWritablePowerFeed - -// DcimPowerFeedsCreateJSONBody defines parameters for DcimPowerFeedsCreate. -type DcimPowerFeedsCreateJSONBody WritablePowerFeed +type DcimPowerFeedsBulkPartialUpdateJSONBody = []PatchedBulkWritablePowerFeedRequest // DcimPowerFeedsBulkUpdateJSONBody defines parameters for DcimPowerFeedsBulkUpdate. -type DcimPowerFeedsBulkUpdateJSONBody WritablePowerFeed +type DcimPowerFeedsBulkUpdateJSONBody = []BulkWritablePowerFeedRequest -// DcimPowerFeedsPartialUpdateJSONBody defines parameters for DcimPowerFeedsPartialUpdate. -type DcimPowerFeedsPartialUpdateJSONBody PatchedWritablePowerFeed +// DcimPowerFeedsNotesListParams defines parameters for DcimPowerFeedsNotesList. +type DcimPowerFeedsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimPowerFeedsUpdateJSONBody defines parameters for DcimPowerFeedsUpdate. -type DcimPowerFeedsUpdateJSONBody WritablePowerFeed + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimPowerOutletTemplatesBulkDestroyJSONBody defines parameters for DcimPowerOutletTemplatesBulkDestroy. +type DcimPowerOutletTemplatesBulkDestroyJSONBody = []BulkOperationRequest // DcimPowerOutletTemplatesListParams defines parameters for DcimPowerOutletTemplatesList. type DcimPowerOutletTemplatesListParams struct { - // Device type (ID) - DevicetypeId *[]openapi_types.UUID `json:"devicetype_id,omitempty"` + // Description Description + Description *[]string `form:"description,omitempty" json:"description,omitempty"` - // Device type (ID) - DevicetypeIdN *[]openapi_types.UUID `json:"devicetype_id__n,omitempty"` + // DescriptionIc Description + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` - // Phase (for three-phase feeds) - FeedLeg *string `json:"feed_leg,omitempty"` + // DescriptionIe Description + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` - // Phase (for three-phase feeds) - FeedLegN *string `json:"feed_leg__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // DescriptionIew Description + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // DescriptionIre Description + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // DescriptionIsw Description + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Type *string `json:"type,omitempty"` - TypeN *string `json:"type__n,omitempty"` + // DescriptionN Description + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + + // DescriptionNic Description + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + + // DescriptionNie Description + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + + // DescriptionNiew Description + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + + // DescriptionNire Description + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + + // DescriptionNisw Description + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // DescriptionNre Description + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + + // DescriptionRe Description + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + + // DeviceType Device type (slug or ID) + DeviceType *[]openapi_types.UUID `form:"device_type,omitempty" json:"device_type,omitempty"` + + // DeviceTypeN Device type (slug or ID) + DeviceTypeN *[]openapi_types.UUID `form:"device_type__n,omitempty" json:"device_type__n,omitempty"` + + // DevicetypeId Device type (ID) + DevicetypeId *[]openapi_types.UUID `form:"devicetype_id,omitempty" json:"devicetype_id,omitempty"` + + // DevicetypeIdN Device type (ID) + DevicetypeIdN *[]openapi_types.UUID `form:"devicetype_id__n,omitempty" json:"devicetype_id__n,omitempty"` + + // FeedLeg Phase (for three-phase feeds) + FeedLeg *string `form:"feed_leg,omitempty" json:"feed_leg,omitempty"` + + // FeedLegN Phase (for three-phase feeds) + FeedLegN *string `form:"feed_leg__n,omitempty" json:"feed_leg__n,omitempty"` + + // Id ID + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + + // IdIc ID + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + + // IdIe ID + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + + // IdIew ID + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + + // IdIre ID + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + + // IdIsw ID + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + + // IdN ID + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + + // IdNic ID + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + + // IdNie ID + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + + // IdNiew ID + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + + // IdNire ID + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + + // IdNisw ID + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + + // IdNre ID + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + + // IdRe ID + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + + // Label Label + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + + // LabelIc Label + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + + // LabelIe Label + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + + // LabelIew Label + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + + // LabelIre Label + LabelIre *[]string `form:"label__ire,omitempty" json:"label__ire,omitempty"` + + // LabelIsw Label + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + + // LabelN Label + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + + // LabelNic Label + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + + // LabelNie Label + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + + // LabelNiew Label + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + + // LabelNire Label + LabelNire *[]string `form:"label__nire,omitempty" json:"label__nire,omitempty"` + + // LabelNisw Label + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + + // LabelNre Label + LabelNre *[]string `form:"label__nre,omitempty" json:"label__nre,omitempty"` + + // LabelRe Label + LabelRe *[]string `form:"label__re,omitempty" json:"label__re,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Name Name + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + + // NameIc Name + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + + // NameIe Name + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + + // NameIew Name + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + + // NameIre Name + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + + // NameIsw Name + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + + // NameN Name + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + + // NameNic Name + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + + // NameNie Name + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + + // NameNiew Name + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + + // NameNire Name + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + + // NameNisw Name + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // NameNre Name + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + + // NameRe Name + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // PowerPortTemplate Power port template (name or ID) + PowerPortTemplate *[]openapi_types.UUID `form:"power_port_template,omitempty" json:"power_port_template,omitempty"` + + // PowerPortTemplateN Power port template (name or ID) + PowerPortTemplateN *[]openapi_types.UUID `form:"power_port_template__n,omitempty" json:"power_port_template__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Type *string `form:"type,omitempty" json:"type,omitempty"` + TypeN *string `form:"type__n,omitempty" json:"type__n,omitempty"` } // DcimPowerOutletTemplatesBulkPartialUpdateJSONBody defines parameters for DcimPowerOutletTemplatesBulkPartialUpdate. -type DcimPowerOutletTemplatesBulkPartialUpdateJSONBody PatchedWritablePowerOutletTemplate - -// DcimPowerOutletTemplatesCreateJSONBody defines parameters for DcimPowerOutletTemplatesCreate. -type DcimPowerOutletTemplatesCreateJSONBody WritablePowerOutletTemplate +type DcimPowerOutletTemplatesBulkPartialUpdateJSONBody = []PatchedBulkWritablePowerOutletTemplateRequest // DcimPowerOutletTemplatesBulkUpdateJSONBody defines parameters for DcimPowerOutletTemplatesBulkUpdate. -type DcimPowerOutletTemplatesBulkUpdateJSONBody WritablePowerOutletTemplate +type DcimPowerOutletTemplatesBulkUpdateJSONBody = []BulkWritablePowerOutletTemplateRequest -// DcimPowerOutletTemplatesPartialUpdateJSONBody defines parameters for DcimPowerOutletTemplatesPartialUpdate. -type DcimPowerOutletTemplatesPartialUpdateJSONBody PatchedWritablePowerOutletTemplate +// DcimPowerOutletTemplatesNotesListParams defines parameters for DcimPowerOutletTemplatesNotesList. +type DcimPowerOutletTemplatesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimPowerOutletTemplatesUpdateJSONBody defines parameters for DcimPowerOutletTemplatesUpdate. -type DcimPowerOutletTemplatesUpdateJSONBody WritablePowerOutletTemplate + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimPowerOutletsBulkDestroyJSONBody defines parameters for DcimPowerOutletsBulkDestroy. +type DcimPowerOutletsBulkDestroyJSONBody = []BulkOperationRequest // DcimPowerOutletsListParams defines parameters for DcimPowerOutletsList. type DcimPowerOutletsListParams struct { - Cabled *bool `json:"cabled,omitempty"` + // Cable Cable + Cable *[]openapi_types.UUID `form:"cable,omitempty" json:"cable,omitempty"` - // Connected status (bool) - Connected *bool `json:"connected,omitempty"` - Description *[]string `json:"description,omitempty"` - DescriptionIc *[]string `json:"description__ic,omitempty"` - DescriptionIe *[]string `json:"description__ie,omitempty"` - DescriptionIew *[]string `json:"description__iew,omitempty"` - DescriptionIre *[]string `json:"description__ire,omitempty"` - DescriptionIsw *[]string `json:"description__isw,omitempty"` - DescriptionN *[]string `json:"description__n,omitempty"` - DescriptionNic *[]string `json:"description__nic,omitempty"` - DescriptionNie *[]string `json:"description__nie,omitempty"` - DescriptionNiew *[]string `json:"description__niew,omitempty"` - DescriptionNire *[]string `json:"description__nire,omitempty"` - DescriptionNisw *[]string `json:"description__nisw,omitempty"` - DescriptionNre *[]string `json:"description__nre,omitempty"` - DescriptionRe *[]string `json:"description__re,omitempty"` + // CableN Cable + CableN *[]openapi_types.UUID `form:"cable__n,omitempty" json:"cable__n,omitempty"` + Cabled *bool `form:"cabled,omitempty" json:"cabled,omitempty"` - // Device (name) - Device *[]string `json:"device,omitempty"` + // Connected Connected status (bool) + Connected *bool `form:"connected,omitempty" json:"connected,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` - // Device (name) - DeviceN *[]string `json:"device__n,omitempty"` + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` - // Device (ID) - DeviceId *[]openapi_types.UUID `json:"device_id,omitempty"` + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` - // Device (ID) - DeviceIdN *[]openapi_types.UUID `json:"device_id__n,omitempty"` + // DeviceId Device (ID) + DeviceId *[]openapi_types.UUID `form:"device_id,omitempty" json:"device_id,omitempty"` - // Phase (for three-phase feeds) - FeedLeg *string `json:"feed_leg,omitempty"` + // DeviceIdN Device (ID) + DeviceIdN *[]openapi_types.UUID `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` - // Phase (for three-phase feeds) - FeedLegN *string `json:"feed_leg__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // FeedLeg Phase (for three-phase feeds) + FeedLeg *string `form:"feed_leg,omitempty" json:"feed_leg,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // FeedLegN Phase (for three-phase feeds) + FeedLegN *string `form:"feed_leg__n,omitempty" json:"feed_leg__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIre *[]string `form:"label__ire,omitempty" json:"label__ire,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNire *[]string `form:"label__nire,omitempty" json:"label__nire,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + LabelNre *[]string `form:"label__nre,omitempty" json:"label__nre,omitempty"` + LabelRe *[]string `form:"label__re,omitempty" json:"label__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // PowerPort Power port + PowerPort *[]openapi_types.UUID `form:"power_port,omitempty" json:"power_port,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // PowerPortN Power port + PowerPortN *[]openapi_types.UUID `form:"power_port__n,omitempty" json:"power_port__n,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // Region Region (slug) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` - // Site name (slug) - Site *[]string `json:"site,omitempty"` + // RegionN Region (slug) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` - // Site name (slug) - SiteN *[]string `json:"site__n,omitempty"` + // RegionId Region (ID) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // RegionIdN Region (ID) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` - // Physical port type - Type *[]string `json:"type,omitempty"` + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` - // Physical port type - TypeN *[]string `json:"type__n,omitempty"` + // SiteId Site (ID) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Type Physical port type + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + + // TypeN Physical port type + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` } // DcimPowerOutletsBulkPartialUpdateJSONBody defines parameters for DcimPowerOutletsBulkPartialUpdate. -type DcimPowerOutletsBulkPartialUpdateJSONBody PatchedWritablePowerOutlet - -// DcimPowerOutletsCreateJSONBody defines parameters for DcimPowerOutletsCreate. -type DcimPowerOutletsCreateJSONBody WritablePowerOutlet +type DcimPowerOutletsBulkPartialUpdateJSONBody = []PatchedBulkWritablePowerOutletRequest // DcimPowerOutletsBulkUpdateJSONBody defines parameters for DcimPowerOutletsBulkUpdate. -type DcimPowerOutletsBulkUpdateJSONBody WritablePowerOutlet +type DcimPowerOutletsBulkUpdateJSONBody = []BulkWritablePowerOutletRequest -// DcimPowerOutletsPartialUpdateJSONBody defines parameters for DcimPowerOutletsPartialUpdate. -type DcimPowerOutletsPartialUpdateJSONBody PatchedWritablePowerOutlet +// DcimPowerOutletsNotesListParams defines parameters for DcimPowerOutletsNotesList. +type DcimPowerOutletsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimPowerOutletsUpdateJSONBody defines parameters for DcimPowerOutletsUpdate. -type DcimPowerOutletsUpdateJSONBody WritablePowerOutlet + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimPowerPanelsBulkDestroyJSONBody defines parameters for DcimPowerPanelsBulkDestroy. +type DcimPowerPanelsBulkDestroyJSONBody = []BulkOperationRequest // DcimPowerPanelsListParams defines parameters for DcimPowerPanelsList. type DcimPowerPanelsListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // HasPowerFeeds Has power feeds + HasPowerFeeds *bool `form:"has_power_feeds,omitempty" json:"has_power_feeds,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Location Location (slug or ID) + Location *[]openapi_types.UUID `form:"location,omitempty" json:"location,omitempty"` - // Rack group (ID) - RackGroupId *[]openapi_types.UUID `json:"rack_group_id,omitempty"` + // LocationN Location (slug or ID) + LocationN *[]openapi_types.UUID `form:"location__n,omitempty" json:"location__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Rack group (ID) - RackGroupIdN *[]openapi_types.UUID `json:"rack_group_id__n,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // PowerFeeds Power feeds (name or ID) + PowerFeeds *[]openapi_types.UUID `form:"power_feeds,omitempty" json:"power_feeds,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // PowerFeedsN Power feeds (name or ID) + PowerFeedsN *[]openapi_types.UUID `form:"power_feeds__n,omitempty" json:"power_feeds__n,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // RackGroup Rack group (slug or ID) + RackGroup *[]openapi_types.UUID `form:"rack_group,omitempty" json:"rack_group,omitempty"` - // Site name (slug) - Site *[]string `json:"site,omitempty"` + // RackGroupN Rack group (slug or ID) + RackGroupN *[]openapi_types.UUID `form:"rack_group__n,omitempty" json:"rack_group__n,omitempty"` - // Site name (slug) - SiteN *[]string `json:"site__n,omitempty"` + // RackGroupId Rack group (ID) + RackGroupId *[]openapi_types.UUID `form:"rack_group_id,omitempty" json:"rack_group_id,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // RackGroupIdN Rack group (ID) + RackGroupIdN *[]openapi_types.UUID `form:"rack_group_id__n,omitempty" json:"rack_group_id__n,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // Region Region (slug or ID) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug or ID) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) (deprecated, use "region" filter instead) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) (deprecated, use "region" filter instead) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Site Site (slug or ID) + Site *[]openapi_types.UUID `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site (slug or ID) + SiteN *[]openapi_types.UUID `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteId Site (ID) (deprecated, use "site" filter instead) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) (deprecated, use "site" filter instead) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` } // DcimPowerPanelsBulkPartialUpdateJSONBody defines parameters for DcimPowerPanelsBulkPartialUpdate. -type DcimPowerPanelsBulkPartialUpdateJSONBody PatchedWritablePowerPanel - -// DcimPowerPanelsCreateJSONBody defines parameters for DcimPowerPanelsCreate. -type DcimPowerPanelsCreateJSONBody WritablePowerPanel +type DcimPowerPanelsBulkPartialUpdateJSONBody = []PatchedBulkWritablePowerPanelRequest // DcimPowerPanelsBulkUpdateJSONBody defines parameters for DcimPowerPanelsBulkUpdate. -type DcimPowerPanelsBulkUpdateJSONBody WritablePowerPanel +type DcimPowerPanelsBulkUpdateJSONBody = []BulkWritablePowerPanelRequest -// DcimPowerPanelsPartialUpdateJSONBody defines parameters for DcimPowerPanelsPartialUpdate. -type DcimPowerPanelsPartialUpdateJSONBody PatchedWritablePowerPanel +// DcimPowerPanelsNotesListParams defines parameters for DcimPowerPanelsNotesList. +type DcimPowerPanelsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimPowerPanelsUpdateJSONBody defines parameters for DcimPowerPanelsUpdate. -type DcimPowerPanelsUpdateJSONBody WritablePowerPanel + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimPowerPortTemplatesBulkDestroyJSONBody defines parameters for DcimPowerPortTemplatesBulkDestroy. +type DcimPowerPortTemplatesBulkDestroyJSONBody = []BulkOperationRequest // DcimPowerPortTemplatesListParams defines parameters for DcimPowerPortTemplatesList. type DcimPowerPortTemplatesListParams struct { - AllocatedDraw *[]int `json:"allocated_draw,omitempty"` - AllocatedDrawGt *[]int `json:"allocated_draw__gt,omitempty"` - AllocatedDrawGte *[]int `json:"allocated_draw__gte,omitempty"` - AllocatedDrawLt *[]int `json:"allocated_draw__lt,omitempty"` - AllocatedDrawLte *[]int `json:"allocated_draw__lte,omitempty"` - AllocatedDrawN *[]int `json:"allocated_draw__n,omitempty"` + AllocatedDraw *[]int `form:"allocated_draw,omitempty" json:"allocated_draw,omitempty"` + AllocatedDrawGt *[]int `form:"allocated_draw__gt,omitempty" json:"allocated_draw__gt,omitempty"` + AllocatedDrawGte *[]int `form:"allocated_draw__gte,omitempty" json:"allocated_draw__gte,omitempty"` + AllocatedDrawLt *[]int `form:"allocated_draw__lt,omitempty" json:"allocated_draw__lt,omitempty"` + AllocatedDrawLte *[]int `form:"allocated_draw__lte,omitempty" json:"allocated_draw__lte,omitempty"` + AllocatedDrawN *[]int `form:"allocated_draw__n,omitempty" json:"allocated_draw__n,omitempty"` - // Device type (ID) - DevicetypeId *[]openapi_types.UUID `json:"devicetype_id,omitempty"` + // Description Description + Description *[]string `form:"description,omitempty" json:"description,omitempty"` - // Device type (ID) - DevicetypeIdN *[]openapi_types.UUID `json:"devicetype_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // DescriptionIc Description + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - MaximumDraw *[]int `json:"maximum_draw,omitempty"` - MaximumDrawGt *[]int `json:"maximum_draw__gt,omitempty"` - MaximumDrawGte *[]int `json:"maximum_draw__gte,omitempty"` - MaximumDrawLt *[]int `json:"maximum_draw__lt,omitempty"` - MaximumDrawLte *[]int `json:"maximum_draw__lte,omitempty"` - MaximumDrawN *[]int `json:"maximum_draw__n,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // DescriptionIe Description + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // DescriptionIew Description + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Type *string `json:"type,omitempty"` - TypeN *string `json:"type__n,omitempty"` + // DescriptionIre Description + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + + // DescriptionIsw Description + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + + // DescriptionN Description + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + + // DescriptionNic Description + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + + // DescriptionNie Description + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + + // DescriptionNiew Description + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + + // DescriptionNire Description + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + + // DescriptionNisw Description + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // DescriptionNre Description + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + + // DescriptionRe Description + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + + // DeviceType Device type (slug or ID) + DeviceType *[]openapi_types.UUID `form:"device_type,omitempty" json:"device_type,omitempty"` + + // DeviceTypeN Device type (slug or ID) + DeviceTypeN *[]openapi_types.UUID `form:"device_type__n,omitempty" json:"device_type__n,omitempty"` + + // DevicetypeId Device type (ID) + DevicetypeId *[]openapi_types.UUID `form:"devicetype_id,omitempty" json:"devicetype_id,omitempty"` + + // DevicetypeIdN Device type (ID) + DevicetypeIdN *[]openapi_types.UUID `form:"devicetype_id__n,omitempty" json:"devicetype_id__n,omitempty"` + + // HasPowerOutletTemplates Has power outlet templates + HasPowerOutletTemplates *bool `form:"has_power_outlet_templates,omitempty" json:"has_power_outlet_templates,omitempty"` + + // Id ID + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + + // IdIc ID + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + + // IdIe ID + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + + // IdIew ID + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + + // IdIre ID + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + + // IdIsw ID + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + + // IdN ID + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + + // IdNic ID + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + + // IdNie ID + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + + // IdNiew ID + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + + // IdNire ID + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + + // IdNisw ID + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + + // IdNre ID + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + + // IdRe ID + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + + // Label Label + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + + // LabelIc Label + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + + // LabelIe Label + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + + // LabelIew Label + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + + // LabelIre Label + LabelIre *[]string `form:"label__ire,omitempty" json:"label__ire,omitempty"` + + // LabelIsw Label + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + + // LabelN Label + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + + // LabelNic Label + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + + // LabelNie Label + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + + // LabelNiew Label + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + + // LabelNire Label + LabelNire *[]string `form:"label__nire,omitempty" json:"label__nire,omitempty"` + + // LabelNisw Label + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + + // LabelNre Label + LabelNre *[]string `form:"label__nre,omitempty" json:"label__nre,omitempty"` + + // LabelRe Label + LabelRe *[]string `form:"label__re,omitempty" json:"label__re,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + MaximumDraw *[]int `form:"maximum_draw,omitempty" json:"maximum_draw,omitempty"` + MaximumDrawGt *[]int `form:"maximum_draw__gt,omitempty" json:"maximum_draw__gt,omitempty"` + MaximumDrawGte *[]int `form:"maximum_draw__gte,omitempty" json:"maximum_draw__gte,omitempty"` + MaximumDrawLt *[]int `form:"maximum_draw__lt,omitempty" json:"maximum_draw__lt,omitempty"` + MaximumDrawLte *[]int `form:"maximum_draw__lte,omitempty" json:"maximum_draw__lte,omitempty"` + MaximumDrawN *[]int `form:"maximum_draw__n,omitempty" json:"maximum_draw__n,omitempty"` + + // Name Name + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + + // NameIc Name + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + + // NameIe Name + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + + // NameIew Name + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + + // NameIre Name + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + + // NameIsw Name + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + + // NameN Name + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + + // NameNic Name + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + + // NameNie Name + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + + // NameNiew Name + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + + // NameNire Name + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + + // NameNisw Name + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // NameNre Name + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + + // NameRe Name + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // PowerOutletTemplates Power outlet templates (name or ID) + PowerOutletTemplates *[]openapi_types.UUID `form:"power_outlet_templates,omitempty" json:"power_outlet_templates,omitempty"` + + // PowerOutletTemplatesN Power outlet templates (name or ID) + PowerOutletTemplatesN *[]openapi_types.UUID `form:"power_outlet_templates__n,omitempty" json:"power_outlet_templates__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Type *string `form:"type,omitempty" json:"type,omitempty"` + TypeN *string `form:"type__n,omitempty" json:"type__n,omitempty"` } // DcimPowerPortTemplatesBulkPartialUpdateJSONBody defines parameters for DcimPowerPortTemplatesBulkPartialUpdate. -type DcimPowerPortTemplatesBulkPartialUpdateJSONBody PatchedWritablePowerPortTemplate - -// DcimPowerPortTemplatesCreateJSONBody defines parameters for DcimPowerPortTemplatesCreate. -type DcimPowerPortTemplatesCreateJSONBody WritablePowerPortTemplate +type DcimPowerPortTemplatesBulkPartialUpdateJSONBody = []PatchedBulkWritablePowerPortTemplateRequest // DcimPowerPortTemplatesBulkUpdateJSONBody defines parameters for DcimPowerPortTemplatesBulkUpdate. -type DcimPowerPortTemplatesBulkUpdateJSONBody WritablePowerPortTemplate +type DcimPowerPortTemplatesBulkUpdateJSONBody = []BulkWritablePowerPortTemplateRequest -// DcimPowerPortTemplatesPartialUpdateJSONBody defines parameters for DcimPowerPortTemplatesPartialUpdate. -type DcimPowerPortTemplatesPartialUpdateJSONBody PatchedWritablePowerPortTemplate +// DcimPowerPortTemplatesNotesListParams defines parameters for DcimPowerPortTemplatesNotesList. +type DcimPowerPortTemplatesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimPowerPortTemplatesUpdateJSONBody defines parameters for DcimPowerPortTemplatesUpdate. -type DcimPowerPortTemplatesUpdateJSONBody WritablePowerPortTemplate + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimPowerPortsBulkDestroyJSONBody defines parameters for DcimPowerPortsBulkDestroy. +type DcimPowerPortsBulkDestroyJSONBody = []BulkOperationRequest // DcimPowerPortsListParams defines parameters for DcimPowerPortsList. type DcimPowerPortsListParams struct { - AllocatedDraw *[]int `json:"allocated_draw,omitempty"` - AllocatedDrawGt *[]int `json:"allocated_draw__gt,omitempty"` - AllocatedDrawGte *[]int `json:"allocated_draw__gte,omitempty"` - AllocatedDrawLt *[]int `json:"allocated_draw__lt,omitempty"` - AllocatedDrawLte *[]int `json:"allocated_draw__lte,omitempty"` - AllocatedDrawN *[]int `json:"allocated_draw__n,omitempty"` - Cabled *bool `json:"cabled,omitempty"` + AllocatedDraw *[]int `form:"allocated_draw,omitempty" json:"allocated_draw,omitempty"` + AllocatedDrawGt *[]int `form:"allocated_draw__gt,omitempty" json:"allocated_draw__gt,omitempty"` + AllocatedDrawGte *[]int `form:"allocated_draw__gte,omitempty" json:"allocated_draw__gte,omitempty"` + AllocatedDrawLt *[]int `form:"allocated_draw__lt,omitempty" json:"allocated_draw__lt,omitempty"` + AllocatedDrawLte *[]int `form:"allocated_draw__lte,omitempty" json:"allocated_draw__lte,omitempty"` + AllocatedDrawN *[]int `form:"allocated_draw__n,omitempty" json:"allocated_draw__n,omitempty"` - // Connected status (bool) - Connected *bool `json:"connected,omitempty"` - Description *[]string `json:"description,omitempty"` - DescriptionIc *[]string `json:"description__ic,omitempty"` - DescriptionIe *[]string `json:"description__ie,omitempty"` - DescriptionIew *[]string `json:"description__iew,omitempty"` - DescriptionIre *[]string `json:"description__ire,omitempty"` - DescriptionIsw *[]string `json:"description__isw,omitempty"` - DescriptionN *[]string `json:"description__n,omitempty"` - DescriptionNic *[]string `json:"description__nic,omitempty"` - DescriptionNie *[]string `json:"description__nie,omitempty"` - DescriptionNiew *[]string `json:"description__niew,omitempty"` - DescriptionNire *[]string `json:"description__nire,omitempty"` - DescriptionNisw *[]string `json:"description__nisw,omitempty"` - DescriptionNre *[]string `json:"description__nre,omitempty"` - DescriptionRe *[]string `json:"description__re,omitempty"` + // Cable Cable + Cable *[]openapi_types.UUID `form:"cable,omitempty" json:"cable,omitempty"` - // Device (name) - Device *[]string `json:"device,omitempty"` + // CableN Cable + CableN *[]openapi_types.UUID `form:"cable__n,omitempty" json:"cable__n,omitempty"` + Cabled *bool `form:"cabled,omitempty" json:"cabled,omitempty"` - // Device (name) - DeviceN *[]string `json:"device__n,omitempty"` + // Connected Connected status (bool) + Connected *bool `form:"connected,omitempty" json:"connected,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` - // Device (ID) - DeviceId *[]openapi_types.UUID `json:"device_id,omitempty"` + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` - // Device (ID) - DeviceIdN *[]openapi_types.UUID `json:"device_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - MaximumDraw *[]int `json:"maximum_draw,omitempty"` - MaximumDrawGt *[]int `json:"maximum_draw__gt,omitempty"` - MaximumDrawGte *[]int `json:"maximum_draw__gte,omitempty"` - MaximumDrawLt *[]int `json:"maximum_draw__lt,omitempty"` - MaximumDrawLte *[]int `json:"maximum_draw__lte,omitempty"` - MaximumDrawN *[]int `json:"maximum_draw__n,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // DeviceId Device (ID) + DeviceId *[]openapi_types.UUID `form:"device_id,omitempty" json:"device_id,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // DeviceIdN Device (ID) + DeviceIdN *[]openapi_types.UUID `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // HasPowerOutlets Has power outlets + HasPowerOutlets *bool `form:"has_power_outlets,omitempty" json:"has_power_outlets,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIre *[]string `form:"label__ire,omitempty" json:"label__ire,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNire *[]string `form:"label__nire,omitempty" json:"label__nire,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + LabelNre *[]string `form:"label__nre,omitempty" json:"label__nre,omitempty"` + LabelRe *[]string `form:"label__re,omitempty" json:"label__re,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + MaximumDraw *[]int `form:"maximum_draw,omitempty" json:"maximum_draw,omitempty"` + MaximumDrawGt *[]int `form:"maximum_draw__gt,omitempty" json:"maximum_draw__gt,omitempty"` + MaximumDrawGte *[]int `form:"maximum_draw__gte,omitempty" json:"maximum_draw__gte,omitempty"` + MaximumDrawLt *[]int `form:"maximum_draw__lt,omitempty" json:"maximum_draw__lt,omitempty"` + MaximumDrawLte *[]int `form:"maximum_draw__lte,omitempty" json:"maximum_draw__lte,omitempty"` + MaximumDrawN *[]int `form:"maximum_draw__n,omitempty" json:"maximum_draw__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // PowerOutlets Power outlets (name or ID) + PowerOutlets *[]openapi_types.UUID `form:"power_outlets,omitempty" json:"power_outlets,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // PowerOutletsN Power outlets (name or ID) + PowerOutletsN *[]openapi_types.UUID `form:"power_outlets__n,omitempty" json:"power_outlets__n,omitempty"` - // Site name (slug) - Site *[]string `json:"site,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Site name (slug) - SiteN *[]string `json:"site__n,omitempty"` + // Region Region (slug) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // RegionN Region (slug) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // RegionId Region (ID) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` - // Physical port type - Type *[]string `json:"type,omitempty"` + // RegionIdN Region (ID) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` - // Physical port type - TypeN *[]string `json:"type__n,omitempty"` + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Type Physical port type + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + + // TypeN Physical port type + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` } // DcimPowerPortsBulkPartialUpdateJSONBody defines parameters for DcimPowerPortsBulkPartialUpdate. -type DcimPowerPortsBulkPartialUpdateJSONBody PatchedWritablePowerPort - -// DcimPowerPortsCreateJSONBody defines parameters for DcimPowerPortsCreate. -type DcimPowerPortsCreateJSONBody WritablePowerPort +type DcimPowerPortsBulkPartialUpdateJSONBody = []PatchedBulkWritablePowerPortRequest // DcimPowerPortsBulkUpdateJSONBody defines parameters for DcimPowerPortsBulkUpdate. -type DcimPowerPortsBulkUpdateJSONBody WritablePowerPort +type DcimPowerPortsBulkUpdateJSONBody = []BulkWritablePowerPortRequest -// DcimPowerPortsPartialUpdateJSONBody defines parameters for DcimPowerPortsPartialUpdate. -type DcimPowerPortsPartialUpdateJSONBody PatchedWritablePowerPort +// DcimPowerPortsNotesListParams defines parameters for DcimPowerPortsNotesList. +type DcimPowerPortsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimPowerPortsUpdateJSONBody defines parameters for DcimPowerPortsUpdate. -type DcimPowerPortsUpdateJSONBody WritablePowerPort + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimRackGroupsBulkDestroyJSONBody defines parameters for DcimRackGroupsBulkDestroy. +type DcimRackGroupsBulkDestroyJSONBody = []BulkOperationRequest // DcimRackGroupsListParams defines parameters for DcimRackGroupsList. type DcimRackGroupsListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Description *[]string `json:"description,omitempty"` - DescriptionIc *[]string `json:"description__ic,omitempty"` - DescriptionIe *[]string `json:"description__ie,omitempty"` - DescriptionIew *[]string `json:"description__iew,omitempty"` - DescriptionIre *[]string `json:"description__ire,omitempty"` - DescriptionIsw *[]string `json:"description__isw,omitempty"` - DescriptionN *[]string `json:"description__n,omitempty"` - DescriptionNic *[]string `json:"description__nic,omitempty"` - DescriptionNie *[]string `json:"description__nie,omitempty"` - DescriptionNiew *[]string `json:"description__niew,omitempty"` - DescriptionNire *[]string `json:"description__nire,omitempty"` - DescriptionNisw *[]string `json:"description__nisw,omitempty"` - DescriptionNre *[]string `json:"description__nre,omitempty"` - DescriptionRe *[]string `json:"description__re,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + // Children Children (slug or ID) + Children *[]openapi_types.UUID `form:"children,omitempty" json:"children,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // ChildrenN Children (slug or ID) + ChildrenN *[]openapi_types.UUID `form:"children__n,omitempty" json:"children__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // HasChildren Has children + HasChildren *bool `form:"has_children,omitempty" json:"has_children,omitempty"` - // Rack group (slug) - Parent *[]string `json:"parent,omitempty"` + // HasPowerPanels Has power panels + HasPowerPanels *bool `form:"has_power_panels,omitempty" json:"has_power_panels,omitempty"` - // Rack group (slug) - ParentN *[]string `json:"parent__n,omitempty"` + // HasRacks Has racks + HasRacks *bool `form:"has_racks,omitempty" json:"has_racks,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Rack group (ID) - ParentId *[]openapi_types.UUID `json:"parent_id,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // Rack group (ID) - ParentIdN *[]openapi_types.UUID `json:"parent_id__n,omitempty"` + // Location Location (slug or ID) + Location *[]openapi_types.UUID `form:"location,omitempty" json:"location,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // LocationN Location (slug or ID) + LocationN *[]openapi_types.UUID `form:"location__n,omitempty" json:"location__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // Parent Parent (slug) + Parent *[]string `form:"parent,omitempty" json:"parent,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // ParentN Parent (slug) + ParentN *[]string `form:"parent__n,omitempty" json:"parent__n,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // ParentId Parent (ID) + ParentId *[]openapi_types.UUID `form:"parent_id,omitempty" json:"parent_id,omitempty"` - // Site (slug) - Site *[]string `json:"site,omitempty"` + // ParentIdN Parent (ID) + ParentIdN *[]openapi_types.UUID `form:"parent_id__n,omitempty" json:"parent_id__n,omitempty"` - // Site (slug) - SiteN *[]string `json:"site__n,omitempty"` + // PowerPanels Power panels (name or ID) + PowerPanels *[]openapi_types.UUID `form:"power_panels,omitempty" json:"power_panels,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // PowerPanelsN Power panels (name or ID) + PowerPanelsN *[]openapi_types.UUID `form:"power_panels__n,omitempty" json:"power_panels__n,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Racks *[]openapi_types.UUID `form:"racks,omitempty" json:"racks,omitempty"` + RacksN *[]openapi_types.UUID `form:"racks__n,omitempty" json:"racks__n,omitempty"` + + // Region Region (slug or ID) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug or ID) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) (deprecated, use "region" filter instead) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) (deprecated, use "region" filter instead) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Site Site (slug or ID) + Site *[]openapi_types.UUID `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site (slug or ID) + SiteN *[]openapi_types.UUID `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteId Site (ID) (deprecated, use "site" filter instead) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) (deprecated, use "site" filter instead) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` } // DcimRackGroupsBulkPartialUpdateJSONBody defines parameters for DcimRackGroupsBulkPartialUpdate. -type DcimRackGroupsBulkPartialUpdateJSONBody PatchedWritableRackGroup - -// DcimRackGroupsCreateJSONBody defines parameters for DcimRackGroupsCreate. -type DcimRackGroupsCreateJSONBody WritableRackGroup +type DcimRackGroupsBulkPartialUpdateJSONBody = []PatchedBulkWritableRackGroupRequest // DcimRackGroupsBulkUpdateJSONBody defines parameters for DcimRackGroupsBulkUpdate. -type DcimRackGroupsBulkUpdateJSONBody WritableRackGroup +type DcimRackGroupsBulkUpdateJSONBody = []BulkWritableRackGroupRequest -// DcimRackGroupsPartialUpdateJSONBody defines parameters for DcimRackGroupsPartialUpdate. -type DcimRackGroupsPartialUpdateJSONBody PatchedWritableRackGroup +// DcimRackGroupsNotesListParams defines parameters for DcimRackGroupsNotesList. +type DcimRackGroupsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimRackGroupsUpdateJSONBody defines parameters for DcimRackGroupsUpdate. -type DcimRackGroupsUpdateJSONBody WritableRackGroup + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimRackReservationsBulkDestroyJSONBody defines parameters for DcimRackReservationsBulkDestroy. +type DcimRackReservationsBulkDestroyJSONBody = []BulkOperationRequest // DcimRackReservationsListParams defines parameters for DcimRackReservationsList. type DcimRackReservationsListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` - // Rack group (slug) - Group *[]openapi_types.UUID `json:"group,omitempty"` + // Group Rack group (slug) + Group *[]openapi_types.UUID `form:"group,omitempty" json:"group,omitempty"` - // Rack group (slug) - GroupN *[]openapi_types.UUID `json:"group__n,omitempty"` + // GroupN Rack group (slug) + GroupN *[]openapi_types.UUID `form:"group__n,omitempty" json:"group__n,omitempty"` - // Rack group (ID) - GroupId *[]openapi_types.UUID `json:"group_id,omitempty"` + // GroupId Rack group (ID) + GroupId *[]openapi_types.UUID `form:"group_id,omitempty" json:"group_id,omitempty"` - // Rack group (ID) - GroupIdN *[]openapi_types.UUID `json:"group_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + // GroupIdN Rack group (ID) + GroupIdN *[]openapi_types.UUID `form:"group_id__n,omitempty" json:"group_id__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Rack (ID) - RackId *[]openapi_types.UUID `json:"rack_id,omitempty"` + // Rack Rack (name or ID) + Rack *[]openapi_types.UUID `form:"rack,omitempty" json:"rack,omitempty"` - // Rack (ID) - RackIdN *[]openapi_types.UUID `json:"rack_id__n,omitempty"` + // RackN Rack (name or ID) + RackN *[]openapi_types.UUID `form:"rack__n,omitempty" json:"rack__n,omitempty"` - // Site (slug) - Site *[]string `json:"site,omitempty"` + // RackId Rack (ID) + RackId *[]openapi_types.UUID `form:"rack_id,omitempty" json:"rack_id,omitempty"` - // Site (slug) - SiteN *[]string `json:"site__n,omitempty"` + // RackIdN Rack (ID) + RackIdN *[]openapi_types.UUID `form:"rack_id__n,omitempty" json:"rack_id__n,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // Site Site (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // SiteN Site (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` - // Tenant (slug) - Tenant *[]string `json:"tenant,omitempty"` + // SiteId Site (ID) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` - // Tenant (slug) - TenantN *[]string `json:"tenant__n,omitempty"` + // SiteIdN Site (ID) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` - // Tenant Group (slug) - TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + // Tenant Tenant (slug or ID) + Tenant *[]openapi_types.UUID `form:"tenant,omitempty" json:"tenant,omitempty"` - // Tenant Group (slug) - TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + // TenantN Tenant (slug or ID) + TenantN *[]openapi_types.UUID `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` - // Tenant Group (ID) - TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + // TenantGroup Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` - // Tenant Group (ID) - TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` - // Tenant (ID) - TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` - // Tenant (ID) - TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` - // User (name) - User *[]string `json:"user,omitempty"` + // TenantId Tenant (ID) (deprecated, use "tenant" filter instead) + TenantId *[]openapi_types.UUID `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` - // User (name) - UserN *[]string `json:"user__n,omitempty"` + // TenantIdN Tenant (ID) (deprecated, use "tenant" filter instead) + TenantIdN *[]openapi_types.UUID `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` - // User (ID) - UserId *[]openapi_types.UUID `json:"user_id,omitempty"` + // User User (name) + User *[]string `form:"user,omitempty" json:"user,omitempty"` - // User (ID) - UserIdN *[]openapi_types.UUID `json:"user_id__n,omitempty"` + // UserN User (name) + UserN *[]string `form:"user__n,omitempty" json:"user__n,omitempty"` + + // UserId User (ID) + UserId *[]openapi_types.UUID `form:"user_id,omitempty" json:"user_id,omitempty"` + + // UserIdN User (ID) + UserIdN *[]openapi_types.UUID `form:"user_id__n,omitempty" json:"user_id__n,omitempty"` } // DcimRackReservationsBulkPartialUpdateJSONBody defines parameters for DcimRackReservationsBulkPartialUpdate. -type DcimRackReservationsBulkPartialUpdateJSONBody PatchedWritableRackReservation - -// DcimRackReservationsCreateJSONBody defines parameters for DcimRackReservationsCreate. -type DcimRackReservationsCreateJSONBody WritableRackReservation +type DcimRackReservationsBulkPartialUpdateJSONBody = []PatchedBulkWritableRackReservationRequest // DcimRackReservationsBulkUpdateJSONBody defines parameters for DcimRackReservationsBulkUpdate. -type DcimRackReservationsBulkUpdateJSONBody WritableRackReservation +type DcimRackReservationsBulkUpdateJSONBody = []BulkWritableRackReservationRequest -// DcimRackReservationsPartialUpdateJSONBody defines parameters for DcimRackReservationsPartialUpdate. -type DcimRackReservationsPartialUpdateJSONBody PatchedWritableRackReservation +// DcimRackReservationsNotesListParams defines parameters for DcimRackReservationsNotesList. +type DcimRackReservationsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimRackReservationsUpdateJSONBody defines parameters for DcimRackReservationsUpdate. -type DcimRackReservationsUpdateJSONBody WritableRackReservation + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimRackRolesBulkDestroyJSONBody defines parameters for DcimRackRolesBulkDestroy. +type DcimRackRolesBulkDestroyJSONBody = []BulkOperationRequest // DcimRackRolesListParams defines parameters for DcimRackRolesList. type DcimRackRolesListParams struct { - Color *[]string `json:"color,omitempty"` - ColorIc *[]string `json:"color__ic,omitempty"` - ColorIe *[]string `json:"color__ie,omitempty"` - ColorIew *[]string `json:"color__iew,omitempty"` - ColorIre *[]string `json:"color__ire,omitempty"` - ColorIsw *[]string `json:"color__isw,omitempty"` - ColorN *[]string `json:"color__n,omitempty"` - ColorNic *[]string `json:"color__nic,omitempty"` - ColorNie *[]string `json:"color__nie,omitempty"` - ColorNiew *[]string `json:"color__niew,omitempty"` - ColorNire *[]string `json:"color__nire,omitempty"` - ColorNisw *[]string `json:"color__nisw,omitempty"` - ColorNre *[]string `json:"color__nre,omitempty"` - ColorRe *[]string `json:"color__re,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + Color *[]string `form:"color,omitempty" json:"color,omitempty"` + ColorIc *[]string `form:"color__ic,omitempty" json:"color__ic,omitempty"` + ColorIe *[]string `form:"color__ie,omitempty" json:"color__ie,omitempty"` + ColorIew *[]string `form:"color__iew,omitempty" json:"color__iew,omitempty"` + ColorIre *[]string `form:"color__ire,omitempty" json:"color__ire,omitempty"` + ColorIsw *[]string `form:"color__isw,omitempty" json:"color__isw,omitempty"` + ColorN *[]string `form:"color__n,omitempty" json:"color__n,omitempty"` + ColorNic *[]string `form:"color__nic,omitempty" json:"color__nic,omitempty"` + ColorNie *[]string `form:"color__nie,omitempty" json:"color__nie,omitempty"` + ColorNiew *[]string `form:"color__niew,omitempty" json:"color__niew,omitempty"` + ColorNire *[]string `form:"color__nire,omitempty" json:"color__nire,omitempty"` + ColorNisw *[]string `form:"color__nisw,omitempty" json:"color__nisw,omitempty"` + ColorNre *[]string `form:"color__nre,omitempty" json:"color__nre,omitempty"` + ColorRe *[]string `form:"color__re,omitempty" json:"color__re,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // HasRacks Has racks + HasRacks *bool `form:"has_racks,omitempty" json:"has_racks,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Racks *[]openapi_types.UUID `form:"racks,omitempty" json:"racks,omitempty"` + RacksN *[]openapi_types.UUID `form:"racks__n,omitempty" json:"racks__n,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` } // DcimRackRolesBulkPartialUpdateJSONBody defines parameters for DcimRackRolesBulkPartialUpdate. -type DcimRackRolesBulkPartialUpdateJSONBody PatchedRackRole - -// DcimRackRolesCreateJSONBody defines parameters for DcimRackRolesCreate. -type DcimRackRolesCreateJSONBody RackRole +type DcimRackRolesBulkPartialUpdateJSONBody = []PatchedBulkWritableRackRoleRequest // DcimRackRolesBulkUpdateJSONBody defines parameters for DcimRackRolesBulkUpdate. -type DcimRackRolesBulkUpdateJSONBody RackRole +type DcimRackRolesBulkUpdateJSONBody = []BulkWritableRackRoleRequest -// DcimRackRolesPartialUpdateJSONBody defines parameters for DcimRackRolesPartialUpdate. -type DcimRackRolesPartialUpdateJSONBody PatchedRackRole +// DcimRackRolesNotesListParams defines parameters for DcimRackRolesNotesList. +type DcimRackRolesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimRackRolesUpdateJSONBody defines parameters for DcimRackRolesUpdate. -type DcimRackRolesUpdateJSONBody RackRole + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimRacksBulkDestroyJSONBody defines parameters for DcimRacksBulkDestroy. +type DcimRacksBulkDestroyJSONBody = []BulkOperationRequest // DcimRacksListParams defines parameters for DcimRacksList. type DcimRacksListParams struct { - AssetTag *[]string `json:"asset_tag,omitempty"` - AssetTagIc *[]string `json:"asset_tag__ic,omitempty"` - AssetTagIe *[]string `json:"asset_tag__ie,omitempty"` - AssetTagIew *[]string `json:"asset_tag__iew,omitempty"` - AssetTagIre *[]string `json:"asset_tag__ire,omitempty"` - AssetTagIsw *[]string `json:"asset_tag__isw,omitempty"` - AssetTagN *[]string `json:"asset_tag__n,omitempty"` - AssetTagNic *[]string `json:"asset_tag__nic,omitempty"` - AssetTagNie *[]string `json:"asset_tag__nie,omitempty"` - AssetTagNiew *[]string `json:"asset_tag__niew,omitempty"` - AssetTagNire *[]string `json:"asset_tag__nire,omitempty"` - AssetTagNisw *[]string `json:"asset_tag__nisw,omitempty"` - AssetTagNre *[]string `json:"asset_tag__nre,omitempty"` - AssetTagRe *[]string `json:"asset_tag__re,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - DescUnits *bool `json:"desc_units,omitempty"` - FacilityId *[]string `json:"facility_id,omitempty"` - FacilityIdIc *[]string `json:"facility_id__ic,omitempty"` - FacilityIdIe *[]string `json:"facility_id__ie,omitempty"` - FacilityIdIew *[]string `json:"facility_id__iew,omitempty"` - FacilityIdIre *[]string `json:"facility_id__ire,omitempty"` - FacilityIdIsw *[]string `json:"facility_id__isw,omitempty"` - FacilityIdN *[]string `json:"facility_id__n,omitempty"` - FacilityIdNic *[]string `json:"facility_id__nic,omitempty"` - FacilityIdNie *[]string `json:"facility_id__nie,omitempty"` - FacilityIdNiew *[]string `json:"facility_id__niew,omitempty"` - FacilityIdNire *[]string `json:"facility_id__nire,omitempty"` - FacilityIdNisw *[]string `json:"facility_id__nisw,omitempty"` - FacilityIdNre *[]string `json:"facility_id__nre,omitempty"` - FacilityIdRe *[]string `json:"facility_id__re,omitempty"` + AssetTag *[]string `form:"asset_tag,omitempty" json:"asset_tag,omitempty"` + AssetTagIc *[]string `form:"asset_tag__ic,omitempty" json:"asset_tag__ic,omitempty"` + AssetTagIe *[]string `form:"asset_tag__ie,omitempty" json:"asset_tag__ie,omitempty"` + AssetTagIew *[]string `form:"asset_tag__iew,omitempty" json:"asset_tag__iew,omitempty"` + AssetTagIre *[]string `form:"asset_tag__ire,omitempty" json:"asset_tag__ire,omitempty"` + AssetTagIsw *[]string `form:"asset_tag__isw,omitempty" json:"asset_tag__isw,omitempty"` + AssetTagN *[]string `form:"asset_tag__n,omitempty" json:"asset_tag__n,omitempty"` + AssetTagNic *[]string `form:"asset_tag__nic,omitempty" json:"asset_tag__nic,omitempty"` + AssetTagNie *[]string `form:"asset_tag__nie,omitempty" json:"asset_tag__nie,omitempty"` + AssetTagNiew *[]string `form:"asset_tag__niew,omitempty" json:"asset_tag__niew,omitempty"` + AssetTagNire *[]string `form:"asset_tag__nire,omitempty" json:"asset_tag__nire,omitempty"` + AssetTagNisw *[]string `form:"asset_tag__nisw,omitempty" json:"asset_tag__nisw,omitempty"` + AssetTagNre *[]string `form:"asset_tag__nre,omitempty" json:"asset_tag__nre,omitempty"` + AssetTagRe *[]string `form:"asset_tag__re,omitempty" json:"asset_tag__re,omitempty"` + Comments *[]string `form:"comments,omitempty" json:"comments,omitempty"` + CommentsIc *[]string `form:"comments__ic,omitempty" json:"comments__ic,omitempty"` + CommentsIe *[]string `form:"comments__ie,omitempty" json:"comments__ie,omitempty"` + CommentsIew *[]string `form:"comments__iew,omitempty" json:"comments__iew,omitempty"` + CommentsIre *[]string `form:"comments__ire,omitempty" json:"comments__ire,omitempty"` + CommentsIsw *[]string `form:"comments__isw,omitempty" json:"comments__isw,omitempty"` + CommentsN *[]string `form:"comments__n,omitempty" json:"comments__n,omitempty"` + CommentsNic *[]string `form:"comments__nic,omitempty" json:"comments__nic,omitempty"` + CommentsNie *[]string `form:"comments__nie,omitempty" json:"comments__nie,omitempty"` + CommentsNiew *[]string `form:"comments__niew,omitempty" json:"comments__niew,omitempty"` + CommentsNire *[]string `form:"comments__nire,omitempty" json:"comments__nire,omitempty"` + CommentsNisw *[]string `form:"comments__nisw,omitempty" json:"comments__nisw,omitempty"` + CommentsNre *[]string `form:"comments__nre,omitempty" json:"comments__nre,omitempty"` + CommentsRe *[]string `form:"comments__re,omitempty" json:"comments__re,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + DescUnits *bool `form:"desc_units,omitempty" json:"desc_units,omitempty"` + Devices *[]openapi_types.UUID `form:"devices,omitempty" json:"devices,omitempty"` + DevicesN *[]openapi_types.UUID `form:"devices__n,omitempty" json:"devices__n,omitempty"` + FacilityId *[]string `form:"facility_id,omitempty" json:"facility_id,omitempty"` + FacilityIdIc *[]string `form:"facility_id__ic,omitempty" json:"facility_id__ic,omitempty"` + FacilityIdIe *[]string `form:"facility_id__ie,omitempty" json:"facility_id__ie,omitempty"` + FacilityIdIew *[]string `form:"facility_id__iew,omitempty" json:"facility_id__iew,omitempty"` + FacilityIdIre *[]string `form:"facility_id__ire,omitempty" json:"facility_id__ire,omitempty"` + FacilityIdIsw *[]string `form:"facility_id__isw,omitempty" json:"facility_id__isw,omitempty"` + FacilityIdN *[]string `form:"facility_id__n,omitempty" json:"facility_id__n,omitempty"` + FacilityIdNic *[]string `form:"facility_id__nic,omitempty" json:"facility_id__nic,omitempty"` + FacilityIdNie *[]string `form:"facility_id__nie,omitempty" json:"facility_id__nie,omitempty"` + FacilityIdNiew *[]string `form:"facility_id__niew,omitempty" json:"facility_id__niew,omitempty"` + FacilityIdNire *[]string `form:"facility_id__nire,omitempty" json:"facility_id__nire,omitempty"` + FacilityIdNisw *[]string `form:"facility_id__nisw,omitempty" json:"facility_id__nisw,omitempty"` + FacilityIdNre *[]string `form:"facility_id__nre,omitempty" json:"facility_id__nre,omitempty"` + FacilityIdRe *[]string `form:"facility_id__re,omitempty" json:"facility_id__re,omitempty"` - // Rack group (slug) - Group *[]openapi_types.UUID `json:"group,omitempty"` + // Group Rack group (slug) + Group *[]openapi_types.UUID `form:"group,omitempty" json:"group,omitempty"` - // Rack group (slug) - GroupN *[]openapi_types.UUID `json:"group__n,omitempty"` + // GroupN Rack group (slug) + GroupN *[]openapi_types.UUID `form:"group__n,omitempty" json:"group__n,omitempty"` - // Rack group (ID) - GroupId *[]openapi_types.UUID `json:"group_id,omitempty"` + // GroupId Rack group (ID) + GroupId *[]openapi_types.UUID `form:"group_id,omitempty" json:"group_id,omitempty"` - // Rack group (ID) - GroupIdN *[]openapi_types.UUID `json:"group_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + // GroupIdN Rack group (ID) + GroupIdN *[]openapi_types.UUID `form:"group_id__n,omitempty" json:"group_id__n,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // HasDevices Has devices + HasDevices *bool `form:"has_devices,omitempty" json:"has_devices,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` - OuterDepth *[]int `json:"outer_depth,omitempty"` - OuterDepthGt *[]int `json:"outer_depth__gt,omitempty"` - OuterDepthGte *[]int `json:"outer_depth__gte,omitempty"` - OuterDepthLt *[]int `json:"outer_depth__lt,omitempty"` - OuterDepthLte *[]int `json:"outer_depth__lte,omitempty"` - OuterDepthN *[]int `json:"outer_depth__n,omitempty"` - OuterUnit *string `json:"outer_unit,omitempty"` - OuterUnitN *string `json:"outer_unit__n,omitempty"` - OuterWidth *[]int `json:"outer_width,omitempty"` - OuterWidthGt *[]int `json:"outer_width__gt,omitempty"` - OuterWidthGte *[]int `json:"outer_width__gte,omitempty"` - OuterWidthLt *[]int `json:"outer_width__lt,omitempty"` - OuterWidthLte *[]int `json:"outer_width__lte,omitempty"` - OuterWidthN *[]int `json:"outer_width__n,omitempty"` + // HasPowerFeeds Has power feeds + HasPowerFeeds *bool `form:"has_power_feeds,omitempty" json:"has_power_feeds,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // HasReservations Has reservations + HasReservations *bool `form:"has_reservations,omitempty" json:"has_reservations,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // Location Location (slug or ID) + Location *[]openapi_types.UUID `form:"location,omitempty" json:"location,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // LocationN Location (slug or ID) + LocationN *[]openapi_types.UUID `form:"location__n,omitempty" json:"location__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + OuterDepth *[]int `form:"outer_depth,omitempty" json:"outer_depth,omitempty"` + OuterDepthGt *[]int `form:"outer_depth__gt,omitempty" json:"outer_depth__gt,omitempty"` + OuterDepthGte *[]int `form:"outer_depth__gte,omitempty" json:"outer_depth__gte,omitempty"` + OuterDepthLt *[]int `form:"outer_depth__lt,omitempty" json:"outer_depth__lt,omitempty"` + OuterDepthLte *[]int `form:"outer_depth__lte,omitempty" json:"outer_depth__lte,omitempty"` + OuterDepthN *[]int `form:"outer_depth__n,omitempty" json:"outer_depth__n,omitempty"` + OuterUnit *string `form:"outer_unit,omitempty" json:"outer_unit,omitempty"` + OuterUnitN *string `form:"outer_unit__n,omitempty" json:"outer_unit__n,omitempty"` + OuterWidth *[]int `form:"outer_width,omitempty" json:"outer_width,omitempty"` + OuterWidthGt *[]int `form:"outer_width__gt,omitempty" json:"outer_width__gt,omitempty"` + OuterWidthGte *[]int `form:"outer_width__gte,omitempty" json:"outer_width__gte,omitempty"` + OuterWidthLt *[]int `form:"outer_width__lt,omitempty" json:"outer_width__lt,omitempty"` + OuterWidthLte *[]int `form:"outer_width__lte,omitempty" json:"outer_width__lte,omitempty"` + OuterWidthN *[]int `form:"outer_width__n,omitempty" json:"outer_width__n,omitempty"` - // Role (slug) - Role *[]string `json:"role,omitempty"` + // PowerFeeds Power feeds (name or ID) + PowerFeeds *[]openapi_types.UUID `form:"power_feeds,omitempty" json:"power_feeds,omitempty"` - // Role (slug) - RoleN *[]string `json:"role__n,omitempty"` + // PowerFeedsN Power feeds (name or ID) + PowerFeedsN *[]openapi_types.UUID `form:"power_feeds__n,omitempty" json:"power_feeds__n,omitempty"` - // Role (ID) - RoleId *[]openapi_types.UUID `json:"role_id,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Role (ID) - RoleIdN *[]openapi_types.UUID `json:"role_id__n,omitempty"` - Serial *string `json:"serial,omitempty"` + // Region Region (slug or ID) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` - // Site (slug) - Site *[]string `json:"site,omitempty"` + // RegionN Region (slug or ID) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` - // Site (slug) - SiteN *[]string `json:"site__n,omitempty"` + // RegionId Region (ID) (deprecated, use "region" filter instead) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // RegionIdN Region (ID) (deprecated, use "region" filter instead) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + Reservations *[]openapi_types.UUID `form:"reservations,omitempty" json:"reservations,omitempty"` + ReservationsN *[]openapi_types.UUID `form:"reservations__n,omitempty" json:"reservations__n,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Status *[]openapi_types.UUID `json:"status,omitempty"` - StatusN *[]openapi_types.UUID `json:"status__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // Role Role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` - // Tenant (slug) - Tenant *[]string `json:"tenant,omitempty"` + // RoleN Role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` - // Tenant (slug) - TenantN *[]string `json:"tenant__n,omitempty"` + // RoleId Role (ID) + RoleId *[]openapi_types.UUID `form:"role_id,omitempty" json:"role_id,omitempty"` - // Tenant Group (slug) - TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + // RoleIdN Role (ID) + RoleIdN *[]openapi_types.UUID `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + Serial *string `form:"serial,omitempty" json:"serial,omitempty"` - // Tenant Group (slug) - TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + // Site Site (slug or ID) + Site *[]openapi_types.UUID `form:"site,omitempty" json:"site,omitempty"` - // Tenant Group (ID) - TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + // SiteN Site (slug or ID) + SiteN *[]openapi_types.UUID `form:"site__n,omitempty" json:"site__n,omitempty"` - // Tenant Group (ID) - TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + // SiteId Site (ID) (deprecated, use "site" filter instead) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` - // Tenant (ID) - TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + // SiteIdN Site (ID) (deprecated, use "site" filter instead) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Status *[]openapi_types.UUID `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]openapi_types.UUID `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` - // Tenant (ID) - TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` - Type *[]string `json:"type,omitempty"` - TypeN *[]string `json:"type__n,omitempty"` - UHeight *[]int `json:"u_height,omitempty"` - UHeightGt *[]int `json:"u_height__gt,omitempty"` - UHeightGte *[]int `json:"u_height__gte,omitempty"` - UHeightLt *[]int `json:"u_height__lt,omitempty"` - UHeightLte *[]int `json:"u_height__lte,omitempty"` - UHeightN *[]int `json:"u_height__n,omitempty"` + // Tenant Tenant (slug or ID) + Tenant *[]openapi_types.UUID `form:"tenant,omitempty" json:"tenant,omitempty"` - // Rail-to-rail width - Width *[]int `json:"width,omitempty"` + // TenantN Tenant (slug or ID) + TenantN *[]openapi_types.UUID `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` - // Rail-to-rail width - WidthN *[]int `json:"width__n,omitempty"` + // TenantGroup Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) (deprecated, use "tenant" filter instead) + TenantId *[]openapi_types.UUID `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) (deprecated, use "tenant" filter instead) + TenantIdN *[]openapi_types.UUID `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + UHeight *[]int `form:"u_height,omitempty" json:"u_height,omitempty"` + UHeightGt *[]int `form:"u_height__gt,omitempty" json:"u_height__gt,omitempty"` + UHeightGte *[]int `form:"u_height__gte,omitempty" json:"u_height__gte,omitempty"` + UHeightLt *[]int `form:"u_height__lt,omitempty" json:"u_height__lt,omitempty"` + UHeightLte *[]int `form:"u_height__lte,omitempty" json:"u_height__lte,omitempty"` + UHeightN *[]int `form:"u_height__n,omitempty" json:"u_height__n,omitempty"` + + // Width Rail-to-rail width + Width *[]int `form:"width,omitempty" json:"width,omitempty"` + + // WidthN Rail-to-rail width + WidthN *[]int `form:"width__n,omitempty" json:"width__n,omitempty"` } // DcimRacksBulkPartialUpdateJSONBody defines parameters for DcimRacksBulkPartialUpdate. -type DcimRacksBulkPartialUpdateJSONBody PatchedWritableRack - -// DcimRacksCreateJSONBody defines parameters for DcimRacksCreate. -type DcimRacksCreateJSONBody WritableRack +type DcimRacksBulkPartialUpdateJSONBody = []PatchedBulkWritableRackRequest // DcimRacksBulkUpdateJSONBody defines parameters for DcimRacksBulkUpdate. -type DcimRacksBulkUpdateJSONBody WritableRack - -// DcimRacksPartialUpdateJSONBody defines parameters for DcimRacksPartialUpdate. -type DcimRacksPartialUpdateJSONBody PatchedWritableRack - -// DcimRacksUpdateJSONBody defines parameters for DcimRacksUpdate. -type DcimRacksUpdateJSONBody WritableRack +type DcimRacksBulkUpdateJSONBody = []BulkWritableRackRequest // DcimRacksElevationListParams defines parameters for DcimRacksElevationList. type DcimRacksElevationListParams struct { - AssetTag *[]string `json:"asset_tag,omitempty"` - AssetTagIc *[]string `json:"asset_tag__ic,omitempty"` - AssetTagIe *[]string `json:"asset_tag__ie,omitempty"` - AssetTagIew *[]string `json:"asset_tag__iew,omitempty"` - AssetTagIre *[]string `json:"asset_tag__ire,omitempty"` - AssetTagIsw *[]string `json:"asset_tag__isw,omitempty"` - AssetTagN *[]string `json:"asset_tag__n,omitempty"` - AssetTagNic *[]string `json:"asset_tag__nic,omitempty"` - AssetTagNie *[]string `json:"asset_tag__nie,omitempty"` - AssetTagNiew *[]string `json:"asset_tag__niew,omitempty"` - AssetTagNire *[]string `json:"asset_tag__nire,omitempty"` - AssetTagNisw *[]string `json:"asset_tag__nisw,omitempty"` - AssetTagNre *[]string `json:"asset_tag__nre,omitempty"` - AssetTagRe *[]string `json:"asset_tag__re,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - DescUnits *bool `json:"desc_units,omitempty"` - Exclude *openapi_types.UUID `json:"exclude,omitempty"` - ExpandDevices *bool `json:"expand_devices,omitempty"` - Face *DcimRacksElevationListParamsFace `json:"face,omitempty"` - FacilityId *[]string `json:"facility_id,omitempty"` - FacilityIdIc *[]string `json:"facility_id__ic,omitempty"` - FacilityIdIe *[]string `json:"facility_id__ie,omitempty"` - FacilityIdIew *[]string `json:"facility_id__iew,omitempty"` - FacilityIdIre *[]string `json:"facility_id__ire,omitempty"` - FacilityIdIsw *[]string `json:"facility_id__isw,omitempty"` - FacilityIdN *[]string `json:"facility_id__n,omitempty"` - FacilityIdNic *[]string `json:"facility_id__nic,omitempty"` - FacilityIdNie *[]string `json:"facility_id__nie,omitempty"` - FacilityIdNiew *[]string `json:"facility_id__niew,omitempty"` - FacilityIdNire *[]string `json:"facility_id__nire,omitempty"` - FacilityIdNisw *[]string `json:"facility_id__nisw,omitempty"` - FacilityIdNre *[]string `json:"facility_id__nre,omitempty"` - FacilityIdRe *[]string `json:"facility_id__re,omitempty"` + AssetTag *[]string `form:"asset_tag,omitempty" json:"asset_tag,omitempty"` + AssetTagIc *[]string `form:"asset_tag__ic,omitempty" json:"asset_tag__ic,omitempty"` + AssetTagIe *[]string `form:"asset_tag__ie,omitempty" json:"asset_tag__ie,omitempty"` + AssetTagIew *[]string `form:"asset_tag__iew,omitempty" json:"asset_tag__iew,omitempty"` + AssetTagIre *[]string `form:"asset_tag__ire,omitempty" json:"asset_tag__ire,omitempty"` + AssetTagIsw *[]string `form:"asset_tag__isw,omitempty" json:"asset_tag__isw,omitempty"` + AssetTagN *[]string `form:"asset_tag__n,omitempty" json:"asset_tag__n,omitempty"` + AssetTagNic *[]string `form:"asset_tag__nic,omitempty" json:"asset_tag__nic,omitempty"` + AssetTagNie *[]string `form:"asset_tag__nie,omitempty" json:"asset_tag__nie,omitempty"` + AssetTagNiew *[]string `form:"asset_tag__niew,omitempty" json:"asset_tag__niew,omitempty"` + AssetTagNire *[]string `form:"asset_tag__nire,omitempty" json:"asset_tag__nire,omitempty"` + AssetTagNisw *[]string `form:"asset_tag__nisw,omitempty" json:"asset_tag__nisw,omitempty"` + AssetTagNre *[]string `form:"asset_tag__nre,omitempty" json:"asset_tag__nre,omitempty"` + AssetTagRe *[]string `form:"asset_tag__re,omitempty" json:"asset_tag__re,omitempty"` + Comments *[]string `form:"comments,omitempty" json:"comments,omitempty"` + CommentsIc *[]string `form:"comments__ic,omitempty" json:"comments__ic,omitempty"` + CommentsIe *[]string `form:"comments__ie,omitempty" json:"comments__ie,omitempty"` + CommentsIew *[]string `form:"comments__iew,omitempty" json:"comments__iew,omitempty"` + CommentsIre *[]string `form:"comments__ire,omitempty" json:"comments__ire,omitempty"` + CommentsIsw *[]string `form:"comments__isw,omitempty" json:"comments__isw,omitempty"` + CommentsN *[]string `form:"comments__n,omitempty" json:"comments__n,omitempty"` + CommentsNic *[]string `form:"comments__nic,omitempty" json:"comments__nic,omitempty"` + CommentsNie *[]string `form:"comments__nie,omitempty" json:"comments__nie,omitempty"` + CommentsNiew *[]string `form:"comments__niew,omitempty" json:"comments__niew,omitempty"` + CommentsNire *[]string `form:"comments__nire,omitempty" json:"comments__nire,omitempty"` + CommentsNisw *[]string `form:"comments__nisw,omitempty" json:"comments__nisw,omitempty"` + CommentsNre *[]string `form:"comments__nre,omitempty" json:"comments__nre,omitempty"` + CommentsRe *[]string `form:"comments__re,omitempty" json:"comments__re,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + DescUnits *bool `form:"desc_units,omitempty" json:"desc_units,omitempty"` + Devices *[]openapi_types.UUID `form:"devices,omitempty" json:"devices,omitempty"` + DevicesN *[]openapi_types.UUID `form:"devices__n,omitempty" json:"devices__n,omitempty"` + DisplayFullname *bool `form:"display_fullname,omitempty" json:"display_fullname,omitempty"` + Exclude *openapi_types.UUID `form:"exclude,omitempty" json:"exclude,omitempty"` + ExpandDevices *bool `form:"expand_devices,omitempty" json:"expand_devices,omitempty"` + Face *DcimRacksElevationListParamsFace `form:"face,omitempty" json:"face,omitempty"` + FacilityId *[]string `form:"facility_id,omitempty" json:"facility_id,omitempty"` + FacilityIdIc *[]string `form:"facility_id__ic,omitempty" json:"facility_id__ic,omitempty"` + FacilityIdIe *[]string `form:"facility_id__ie,omitempty" json:"facility_id__ie,omitempty"` + FacilityIdIew *[]string `form:"facility_id__iew,omitempty" json:"facility_id__iew,omitempty"` + FacilityIdIre *[]string `form:"facility_id__ire,omitempty" json:"facility_id__ire,omitempty"` + FacilityIdIsw *[]string `form:"facility_id__isw,omitempty" json:"facility_id__isw,omitempty"` + FacilityIdN *[]string `form:"facility_id__n,omitempty" json:"facility_id__n,omitempty"` + FacilityIdNic *[]string `form:"facility_id__nic,omitempty" json:"facility_id__nic,omitempty"` + FacilityIdNie *[]string `form:"facility_id__nie,omitempty" json:"facility_id__nie,omitempty"` + FacilityIdNiew *[]string `form:"facility_id__niew,omitempty" json:"facility_id__niew,omitempty"` + FacilityIdNire *[]string `form:"facility_id__nire,omitempty" json:"facility_id__nire,omitempty"` + FacilityIdNisw *[]string `form:"facility_id__nisw,omitempty" json:"facility_id__nisw,omitempty"` + FacilityIdNre *[]string `form:"facility_id__nre,omitempty" json:"facility_id__nre,omitempty"` + FacilityIdRe *[]string `form:"facility_id__re,omitempty" json:"facility_id__re,omitempty"` - // Rack group (slug) - Group *[]openapi_types.UUID `json:"group,omitempty"` + // Group Rack group (slug) + Group *[]openapi_types.UUID `form:"group,omitempty" json:"group,omitempty"` - // Rack group (slug) - GroupN *[]openapi_types.UUID `json:"group__n,omitempty"` + // GroupN Rack group (slug) + GroupN *[]openapi_types.UUID `form:"group__n,omitempty" json:"group__n,omitempty"` - // Rack group (ID) - GroupId *[]openapi_types.UUID `json:"group_id,omitempty"` + // GroupId Rack group (ID) + GroupId *[]openapi_types.UUID `form:"group_id,omitempty" json:"group_id,omitempty"` - // Rack group (ID) - GroupIdN *[]openapi_types.UUID `json:"group_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - IncludeImages *bool `json:"include_images,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` - LegendWidth *int `json:"legend_width,omitempty"` + // GroupIdN Rack group (ID) + GroupIdN *[]openapi_types.UUID `form:"group_id__n,omitempty" json:"group_id__n,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // HasDevices Has devices + HasDevices *bool `form:"has_devices,omitempty" json:"has_devices,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` - OuterDepth *[]int `json:"outer_depth,omitempty"` - OuterDepthGt *[]int `json:"outer_depth__gt,omitempty"` - OuterDepthGte *[]int `json:"outer_depth__gte,omitempty"` - OuterDepthLt *[]int `json:"outer_depth__lt,omitempty"` - OuterDepthLte *[]int `json:"outer_depth__lte,omitempty"` - OuterDepthN *[]int `json:"outer_depth__n,omitempty"` - OuterUnit *string `json:"outer_unit,omitempty"` - OuterUnitN *string `json:"outer_unit__n,omitempty"` - OuterWidth *[]int `json:"outer_width,omitempty"` - OuterWidthGt *[]int `json:"outer_width__gt,omitempty"` - OuterWidthGte *[]int `json:"outer_width__gte,omitempty"` - OuterWidthLt *[]int `json:"outer_width__lt,omitempty"` - OuterWidthLte *[]int `json:"outer_width__lte,omitempty"` - OuterWidthN *[]int `json:"outer_width__n,omitempty"` - Q *string `json:"q,omitempty"` + // HasPowerFeeds Has power feeds + HasPowerFeeds *bool `form:"has_power_feeds,omitempty" json:"has_power_feeds,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // HasReservations Has reservations + HasReservations *bool `form:"has_reservations,omitempty" json:"has_reservations,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + IncludeImages *bool `form:"include_images,omitempty" json:"include_images,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + LegendWidth *int `form:"legend_width,omitempty" json:"legend_width,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // Location Location (slug or ID) + Location *[]openapi_types.UUID `form:"location,omitempty" json:"location,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` - Render *DcimRacksElevationListParamsRender `json:"render,omitempty"` + // LocationN Location (slug or ID) + LocationN *[]openapi_types.UUID `form:"location__n,omitempty" json:"location__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Role (slug) - Role *[]string `json:"role,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + OuterDepth *[]int `form:"outer_depth,omitempty" json:"outer_depth,omitempty"` + OuterDepthGt *[]int `form:"outer_depth__gt,omitempty" json:"outer_depth__gt,omitempty"` + OuterDepthGte *[]int `form:"outer_depth__gte,omitempty" json:"outer_depth__gte,omitempty"` + OuterDepthLt *[]int `form:"outer_depth__lt,omitempty" json:"outer_depth__lt,omitempty"` + OuterDepthLte *[]int `form:"outer_depth__lte,omitempty" json:"outer_depth__lte,omitempty"` + OuterDepthN *[]int `form:"outer_depth__n,omitempty" json:"outer_depth__n,omitempty"` + OuterUnit *string `form:"outer_unit,omitempty" json:"outer_unit,omitempty"` + OuterUnitN *string `form:"outer_unit__n,omitempty" json:"outer_unit__n,omitempty"` + OuterWidth *[]int `form:"outer_width,omitempty" json:"outer_width,omitempty"` + OuterWidthGt *[]int `form:"outer_width__gt,omitempty" json:"outer_width__gt,omitempty"` + OuterWidthGte *[]int `form:"outer_width__gte,omitempty" json:"outer_width__gte,omitempty"` + OuterWidthLt *[]int `form:"outer_width__lt,omitempty" json:"outer_width__lt,omitempty"` + OuterWidthLte *[]int `form:"outer_width__lte,omitempty" json:"outer_width__lte,omitempty"` + OuterWidthN *[]int `form:"outer_width__n,omitempty" json:"outer_width__n,omitempty"` - // Role (slug) - RoleN *[]string `json:"role__n,omitempty"` + // PowerFeeds Power feeds (name or ID) + PowerFeeds *[]openapi_types.UUID `form:"power_feeds,omitempty" json:"power_feeds,omitempty"` - // Role (ID) - RoleId *[]openapi_types.UUID `json:"role_id,omitempty"` + // PowerFeedsN Power feeds (name or ID) + PowerFeedsN *[]openapi_types.UUID `form:"power_feeds__n,omitempty" json:"power_feeds__n,omitempty"` + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Role (ID) - RoleIdN *[]openapi_types.UUID `json:"role_id__n,omitempty"` - Serial *string `json:"serial,omitempty"` + // Region Region (slug or ID) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` - // Site (slug) - Site *[]string `json:"site,omitempty"` + // RegionN Region (slug or ID) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` - // Site (slug) - SiteN *[]string `json:"site__n,omitempty"` + // RegionId Region (ID) (deprecated, use "region" filter instead) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // RegionIdN Region (ID) (deprecated, use "region" filter instead) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + Render *DcimRacksElevationListParamsRender `form:"render,omitempty" json:"render,omitempty"` + Reservations *[]openapi_types.UUID `form:"reservations,omitempty" json:"reservations,omitempty"` + ReservationsN *[]openapi_types.UUID `form:"reservations__n,omitempty" json:"reservations__n,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Status *[]openapi_types.UUID `json:"status,omitempty"` - StatusN *[]openapi_types.UUID `json:"status__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // Role Role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` - // Tenant (slug) - Tenant *[]string `json:"tenant,omitempty"` + // RoleN Role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` - // Tenant (slug) - TenantN *[]string `json:"tenant__n,omitempty"` + // RoleId Role (ID) + RoleId *[]openapi_types.UUID `form:"role_id,omitempty" json:"role_id,omitempty"` - // Tenant Group (slug) - TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + // RoleIdN Role (ID) + RoleIdN *[]openapi_types.UUID `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + Serial *string `form:"serial,omitempty" json:"serial,omitempty"` - // Tenant Group (slug) - TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + // Site Site (slug or ID) + Site *[]openapi_types.UUID `form:"site,omitempty" json:"site,omitempty"` - // Tenant Group (ID) - TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + // SiteN Site (slug or ID) + SiteN *[]openapi_types.UUID `form:"site__n,omitempty" json:"site__n,omitempty"` - // Tenant Group (ID) - TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + // SiteId Site (ID) (deprecated, use "site" filter instead) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` - // Tenant (ID) - TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + // SiteIdN Site (ID) (deprecated, use "site" filter instead) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Status *[]openapi_types.UUID `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]openapi_types.UUID `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` - // Tenant (ID) - TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` - Type *[]string `json:"type,omitempty"` - TypeN *[]string `json:"type__n,omitempty"` - UHeight *[]int `json:"u_height,omitempty"` - UHeightGt *[]int `json:"u_height__gt,omitempty"` - UHeightGte *[]int `json:"u_height__gte,omitempty"` - UHeightLt *[]int `json:"u_height__lt,omitempty"` - UHeightLte *[]int `json:"u_height__lte,omitempty"` - UHeightN *[]int `json:"u_height__n,omitempty"` - UnitHeight *int `json:"unit_height,omitempty"` - UnitWidth *int `json:"unit_width,omitempty"` + // Tenant Tenant (slug or ID) + Tenant *[]openapi_types.UUID `form:"tenant,omitempty" json:"tenant,omitempty"` - // Rail-to-rail width - Width *[]int `json:"width,omitempty"` + // TenantN Tenant (slug or ID) + TenantN *[]openapi_types.UUID `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` - // Rail-to-rail width - WidthN *[]int `json:"width__n,omitempty"` + // TenantGroup Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) (deprecated, use "tenant" filter instead) + TenantId *[]openapi_types.UUID `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) (deprecated, use "tenant" filter instead) + TenantIdN *[]openapi_types.UUID `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + UHeight *[]int `form:"u_height,omitempty" json:"u_height,omitempty"` + UHeightGt *[]int `form:"u_height__gt,omitempty" json:"u_height__gt,omitempty"` + UHeightGte *[]int `form:"u_height__gte,omitempty" json:"u_height__gte,omitempty"` + UHeightLt *[]int `form:"u_height__lt,omitempty" json:"u_height__lt,omitempty"` + UHeightLte *[]int `form:"u_height__lte,omitempty" json:"u_height__lte,omitempty"` + UHeightN *[]int `form:"u_height__n,omitempty" json:"u_height__n,omitempty"` + UnitHeight *int `form:"unit_height,omitempty" json:"unit_height,omitempty"` + UnitWidth *int `form:"unit_width,omitempty" json:"unit_width,omitempty"` + + // Width Rail-to-rail width + Width *[]int `form:"width,omitempty" json:"width,omitempty"` + + // WidthN Rail-to-rail width + WidthN *[]int `form:"width__n,omitempty" json:"width__n,omitempty"` } // DcimRacksElevationListParamsFace defines parameters for DcimRacksElevationList. @@ -19958,5247 +54687,8474 @@ type DcimRacksElevationListParamsFace string // DcimRacksElevationListParamsRender defines parameters for DcimRacksElevationList. type DcimRacksElevationListParamsRender string +// DcimRacksNotesListParams defines parameters for DcimRacksNotesList. +type DcimRacksNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimRearPortTemplatesBulkDestroyJSONBody defines parameters for DcimRearPortTemplatesBulkDestroy. +type DcimRearPortTemplatesBulkDestroyJSONBody = []BulkOperationRequest + // DcimRearPortTemplatesListParams defines parameters for DcimRearPortTemplatesList. type DcimRearPortTemplatesListParams struct { - // Device type (ID) - DevicetypeId *[]openapi_types.UUID `json:"devicetype_id,omitempty"` + // Description Description + Description *[]string `form:"description,omitempty" json:"description,omitempty"` - // Device type (ID) - DevicetypeIdN *[]openapi_types.UUID `json:"devicetype_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // DescriptionIc Description + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // DescriptionIe Description + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` - Positions *[]int `json:"positions,omitempty"` - PositionsGt *[]int `json:"positions__gt,omitempty"` - PositionsGte *[]int `json:"positions__gte,omitempty"` - PositionsLt *[]int `json:"positions__lt,omitempty"` - PositionsLte *[]int `json:"positions__lte,omitempty"` - PositionsN *[]int `json:"positions__n,omitempty"` + // DescriptionIew Description + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Type *string `json:"type,omitempty"` - TypeN *string `json:"type__n,omitempty"` + // DescriptionIre Description + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + + // DescriptionIsw Description + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + + // DescriptionN Description + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + + // DescriptionNic Description + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + + // DescriptionNie Description + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + + // DescriptionNiew Description + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + + // DescriptionNire Description + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + + // DescriptionNisw Description + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + + // DescriptionNre Description + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + + // DescriptionRe Description + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + + // DeviceType Device type (slug or ID) + DeviceType *[]openapi_types.UUID `form:"device_type,omitempty" json:"device_type,omitempty"` + + // DeviceTypeN Device type (slug or ID) + DeviceTypeN *[]openapi_types.UUID `form:"device_type__n,omitempty" json:"device_type__n,omitempty"` + + // DevicetypeId Device type (ID) + DevicetypeId *[]openapi_types.UUID `form:"devicetype_id,omitempty" json:"devicetype_id,omitempty"` + + // DevicetypeIdN Device type (ID) + DevicetypeIdN *[]openapi_types.UUID `form:"devicetype_id__n,omitempty" json:"devicetype_id__n,omitempty"` + + // FrontPortTemplates Front port templates + FrontPortTemplates *[]openapi_types.UUID `form:"front_port_templates,omitempty" json:"front_port_templates,omitempty"` + + // FrontPortTemplatesN Front port templates + FrontPortTemplatesN *[]openapi_types.UUID `form:"front_port_templates__n,omitempty" json:"front_port_templates__n,omitempty"` + + // HasFrontPortTemplates Has front port templates + HasFrontPortTemplates *bool `form:"has_front_port_templates,omitempty" json:"has_front_port_templates,omitempty"` + + // Id ID + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + + // IdIc ID + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + + // IdIe ID + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + + // IdIew ID + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + + // IdIre ID + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + + // IdIsw ID + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + + // IdN ID + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + + // IdNic ID + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + + // IdNie ID + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + + // IdNiew ID + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + + // IdNire ID + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + + // IdNisw ID + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + + // IdNre ID + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + + // IdRe ID + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + + // Label Label + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + + // LabelIc Label + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + + // LabelIe Label + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + + // LabelIew Label + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + + // LabelIre Label + LabelIre *[]string `form:"label__ire,omitempty" json:"label__ire,omitempty"` + + // LabelIsw Label + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + + // LabelN Label + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + + // LabelNic Label + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + + // LabelNie Label + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + + // LabelNiew Label + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + + // LabelNire Label + LabelNire *[]string `form:"label__nire,omitempty" json:"label__nire,omitempty"` + + // LabelNisw Label + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + + // LabelNre Label + LabelNre *[]string `form:"label__nre,omitempty" json:"label__nre,omitempty"` + + // LabelRe Label + LabelRe *[]string `form:"label__re,omitempty" json:"label__re,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Name Name + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + + // NameIc Name + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + + // NameIe Name + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + + // NameIew Name + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + + // NameIre Name + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + + // NameIsw Name + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + + // NameN Name + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + + // NameNic Name + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + + // NameNie Name + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + + // NameNiew Name + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + + // NameNire Name + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + + // NameNisw Name + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // NameNre Name + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + + // NameRe Name + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + Positions *[]int `form:"positions,omitempty" json:"positions,omitempty"` + PositionsGt *[]int `form:"positions__gt,omitempty" json:"positions__gt,omitempty"` + PositionsGte *[]int `form:"positions__gte,omitempty" json:"positions__gte,omitempty"` + PositionsLt *[]int `form:"positions__lt,omitempty" json:"positions__lt,omitempty"` + PositionsLte *[]int `form:"positions__lte,omitempty" json:"positions__lte,omitempty"` + PositionsN *[]int `form:"positions__n,omitempty" json:"positions__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Type *string `form:"type,omitempty" json:"type,omitempty"` + TypeN *string `form:"type__n,omitempty" json:"type__n,omitempty"` } // DcimRearPortTemplatesBulkPartialUpdateJSONBody defines parameters for DcimRearPortTemplatesBulkPartialUpdate. -type DcimRearPortTemplatesBulkPartialUpdateJSONBody PatchedWritableRearPortTemplate - -// DcimRearPortTemplatesCreateJSONBody defines parameters for DcimRearPortTemplatesCreate. -type DcimRearPortTemplatesCreateJSONBody WritableRearPortTemplate +type DcimRearPortTemplatesBulkPartialUpdateJSONBody = []PatchedBulkWritableRearPortTemplateRequest // DcimRearPortTemplatesBulkUpdateJSONBody defines parameters for DcimRearPortTemplatesBulkUpdate. -type DcimRearPortTemplatesBulkUpdateJSONBody WritableRearPortTemplate +type DcimRearPortTemplatesBulkUpdateJSONBody = []BulkWritableRearPortTemplateRequest -// DcimRearPortTemplatesPartialUpdateJSONBody defines parameters for DcimRearPortTemplatesPartialUpdate. -type DcimRearPortTemplatesPartialUpdateJSONBody PatchedWritableRearPortTemplate +// DcimRearPortTemplatesNotesListParams defines parameters for DcimRearPortTemplatesNotesList. +type DcimRearPortTemplatesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimRearPortTemplatesUpdateJSONBody defines parameters for DcimRearPortTemplatesUpdate. -type DcimRearPortTemplatesUpdateJSONBody WritableRearPortTemplate + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimRearPortsBulkDestroyJSONBody defines parameters for DcimRearPortsBulkDestroy. +type DcimRearPortsBulkDestroyJSONBody = []BulkOperationRequest // DcimRearPortsListParams defines parameters for DcimRearPortsList. type DcimRearPortsListParams struct { - Cabled *bool `json:"cabled,omitempty"` - Description *[]string `json:"description,omitempty"` - DescriptionIc *[]string `json:"description__ic,omitempty"` - DescriptionIe *[]string `json:"description__ie,omitempty"` - DescriptionIew *[]string `json:"description__iew,omitempty"` - DescriptionIre *[]string `json:"description__ire,omitempty"` - DescriptionIsw *[]string `json:"description__isw,omitempty"` - DescriptionN *[]string `json:"description__n,omitempty"` - DescriptionNic *[]string `json:"description__nic,omitempty"` - DescriptionNie *[]string `json:"description__nie,omitempty"` - DescriptionNiew *[]string `json:"description__niew,omitempty"` - DescriptionNire *[]string `json:"description__nire,omitempty"` - DescriptionNisw *[]string `json:"description__nisw,omitempty"` - DescriptionNre *[]string `json:"description__nre,omitempty"` - DescriptionRe *[]string `json:"description__re,omitempty"` + // Cable Cable + Cable *[]openapi_types.UUID `form:"cable,omitempty" json:"cable,omitempty"` - // Device (name) - Device *[]string `json:"device,omitempty"` + // CableN Cable + CableN *[]openapi_types.UUID `form:"cable__n,omitempty" json:"cable__n,omitempty"` + Cabled *bool `form:"cabled,omitempty" json:"cabled,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` - // Device (name) - DeviceN *[]string `json:"device__n,omitempty"` + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` - // Device (ID) - DeviceId *[]openapi_types.UUID `json:"device_id,omitempty"` + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` - // Device (ID) - DeviceIdN *[]openapi_types.UUID `json:"device_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // DeviceId Device (ID) + DeviceId *[]openapi_types.UUID `form:"device_id,omitempty" json:"device_id,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // DeviceIdN Device (ID) + DeviceIdN *[]openapi_types.UUID `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` - Positions *[]int `json:"positions,omitempty"` - PositionsGt *[]int `json:"positions__gt,omitempty"` - PositionsGte *[]int `json:"positions__gte,omitempty"` - PositionsLt *[]int `json:"positions__lt,omitempty"` - PositionsLte *[]int `json:"positions__lte,omitempty"` - PositionsN *[]int `json:"positions__n,omitempty"` + // FrontPorts Front ports (name or ID) + FrontPorts *[]openapi_types.UUID `form:"front_ports,omitempty" json:"front_ports,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // FrontPortsN Front ports (name or ID) + FrontPortsN *[]openapi_types.UUID `form:"front_ports__n,omitempty" json:"front_ports__n,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // HasFrontPorts Has front ports + HasFrontPorts *bool `form:"has_front_ports,omitempty" json:"has_front_ports,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + Label *[]string `form:"label,omitempty" json:"label,omitempty"` + LabelIc *[]string `form:"label__ic,omitempty" json:"label__ic,omitempty"` + LabelIe *[]string `form:"label__ie,omitempty" json:"label__ie,omitempty"` + LabelIew *[]string `form:"label__iew,omitempty" json:"label__iew,omitempty"` + LabelIre *[]string `form:"label__ire,omitempty" json:"label__ire,omitempty"` + LabelIsw *[]string `form:"label__isw,omitempty" json:"label__isw,omitempty"` + LabelN *[]string `form:"label__n,omitempty" json:"label__n,omitempty"` + LabelNic *[]string `form:"label__nic,omitempty" json:"label__nic,omitempty"` + LabelNie *[]string `form:"label__nie,omitempty" json:"label__nie,omitempty"` + LabelNiew *[]string `form:"label__niew,omitempty" json:"label__niew,omitempty"` + LabelNire *[]string `form:"label__nire,omitempty" json:"label__nire,omitempty"` + LabelNisw *[]string `form:"label__nisw,omitempty" json:"label__nisw,omitempty"` + LabelNre *[]string `form:"label__nre,omitempty" json:"label__nre,omitempty"` + LabelRe *[]string `form:"label__re,omitempty" json:"label__re,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + Positions *[]int `form:"positions,omitempty" json:"positions,omitempty"` + PositionsGt *[]int `form:"positions__gt,omitempty" json:"positions__gt,omitempty"` + PositionsGte *[]int `form:"positions__gte,omitempty" json:"positions__gte,omitempty"` + PositionsLt *[]int `form:"positions__lt,omitempty" json:"positions__lt,omitempty"` + PositionsLte *[]int `form:"positions__lte,omitempty" json:"positions__lte,omitempty"` + PositionsN *[]int `form:"positions__n,omitempty" json:"positions__n,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Site name (slug) - Site *[]string `json:"site,omitempty"` + // Region Region (slug) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` - // Site name (slug) - SiteN *[]string `json:"site__n,omitempty"` + // RegionN Region (slug) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // RegionId Region (ID) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` - Type *string `json:"type,omitempty"` - TypeN *string `json:"type__n,omitempty"` + // RegionIdN Region (ID) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteId Site (ID) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + Type *string `form:"type,omitempty" json:"type,omitempty"` + TypeN *string `form:"type__n,omitempty" json:"type__n,omitempty"` } // DcimRearPortsBulkPartialUpdateJSONBody defines parameters for DcimRearPortsBulkPartialUpdate. -type DcimRearPortsBulkPartialUpdateJSONBody PatchedWritableRearPort - -// DcimRearPortsCreateJSONBody defines parameters for DcimRearPortsCreate. -type DcimRearPortsCreateJSONBody WritableRearPort +type DcimRearPortsBulkPartialUpdateJSONBody = []PatchedBulkWritableRearPortRequest // DcimRearPortsBulkUpdateJSONBody defines parameters for DcimRearPortsBulkUpdate. -type DcimRearPortsBulkUpdateJSONBody WritableRearPort +type DcimRearPortsBulkUpdateJSONBody = []BulkWritableRearPortRequest -// DcimRearPortsPartialUpdateJSONBody defines parameters for DcimRearPortsPartialUpdate. -type DcimRearPortsPartialUpdateJSONBody PatchedWritableRearPort +// DcimRearPortsNotesListParams defines parameters for DcimRearPortsNotesList. +type DcimRearPortsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimRearPortsUpdateJSONBody defines parameters for DcimRearPortsUpdate. -type DcimRearPortsUpdateJSONBody WritableRearPort + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimRegionsBulkDestroyJSONBody defines parameters for DcimRegionsBulkDestroy. +type DcimRegionsBulkDestroyJSONBody = []BulkOperationRequest // DcimRegionsListParams defines parameters for DcimRegionsList. type DcimRegionsListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Description *[]string `json:"description,omitempty"` - DescriptionIc *[]string `json:"description__ic,omitempty"` - DescriptionIe *[]string `json:"description__ie,omitempty"` - DescriptionIew *[]string `json:"description__iew,omitempty"` - DescriptionIre *[]string `json:"description__ire,omitempty"` - DescriptionIsw *[]string `json:"description__isw,omitempty"` - DescriptionN *[]string `json:"description__n,omitempty"` - DescriptionNic *[]string `json:"description__nic,omitempty"` - DescriptionNie *[]string `json:"description__nie,omitempty"` - DescriptionNiew *[]string `json:"description__niew,omitempty"` - DescriptionNire *[]string `json:"description__nire,omitempty"` - DescriptionNisw *[]string `json:"description__nisw,omitempty"` - DescriptionNre *[]string `json:"description__nre,omitempty"` - DescriptionRe *[]string `json:"description__re,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + // Children Children (slug or ID) + Children *[]openapi_types.UUID `form:"children,omitempty" json:"children,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // ChildrenN Children (slug or ID) + ChildrenN *[]openapi_types.UUID `form:"children__n,omitempty" json:"children__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // HasChildren Has children + HasChildren *bool `form:"has_children,omitempty" json:"has_children,omitempty"` - // Parent region (slug) - Parent *[]string `json:"parent,omitempty"` + // HasSites Has sites + HasSites *bool `form:"has_sites,omitempty" json:"has_sites,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Parent region (slug) - ParentN *[]string `json:"parent__n,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Parent region (ID) - ParentId *[]openapi_types.UUID `json:"parent_id,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Parent region (ID) - ParentIdN *[]openapi_types.UUID `json:"parent_id__n,omitempty"` + // Parent Parent region (slug) + Parent *[]string `form:"parent,omitempty" json:"parent,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // ParentN Parent region (slug) + ParentN *[]string `form:"parent__n,omitempty" json:"parent__n,omitempty"` + + // ParentId Parent region (ID) + ParentId *[]openapi_types.UUID `form:"parent_id,omitempty" json:"parent_id,omitempty"` + + // ParentIdN Parent region (ID) + ParentIdN *[]openapi_types.UUID `form:"parent_id__n,omitempty" json:"parent_id__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Sites Sites (slug or ID) + Sites *[]openapi_types.UUID `form:"sites,omitempty" json:"sites,omitempty"` + + // SitesN Sites (slug or ID) + SitesN *[]openapi_types.UUID `form:"sites__n,omitempty" json:"sites__n,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` } // DcimRegionsBulkPartialUpdateJSONBody defines parameters for DcimRegionsBulkPartialUpdate. -type DcimRegionsBulkPartialUpdateJSONBody PatchedWritableRegion - -// DcimRegionsCreateJSONBody defines parameters for DcimRegionsCreate. -type DcimRegionsCreateJSONBody WritableRegion +type DcimRegionsBulkPartialUpdateJSONBody = []PatchedBulkWritableRegionRequest // DcimRegionsBulkUpdateJSONBody defines parameters for DcimRegionsBulkUpdate. -type DcimRegionsBulkUpdateJSONBody WritableRegion +type DcimRegionsBulkUpdateJSONBody = []BulkWritableRegionRequest -// DcimRegionsPartialUpdateJSONBody defines parameters for DcimRegionsPartialUpdate. -type DcimRegionsPartialUpdateJSONBody PatchedWritableRegion +// DcimRegionsNotesListParams defines parameters for DcimRegionsNotesList. +type DcimRegionsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimRegionsUpdateJSONBody defines parameters for DcimRegionsUpdate. -type DcimRegionsUpdateJSONBody WritableRegion + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimSitesBulkDestroyJSONBody defines parameters for DcimSitesBulkDestroy. +type DcimSitesBulkDestroyJSONBody = []BulkOperationRequest // DcimSitesListParams defines parameters for DcimSitesList. type DcimSitesListParams struct { - Asn *[]int `json:"asn,omitempty"` - AsnGt *[]int `json:"asn__gt,omitempty"` - AsnGte *[]int `json:"asn__gte,omitempty"` - AsnLt *[]int `json:"asn__lt,omitempty"` - AsnLte *[]int `json:"asn__lte,omitempty"` - AsnN *[]int `json:"asn__n,omitempty"` - ContactEmail *[]string `json:"contact_email,omitempty"` - ContactEmailIc *[]string `json:"contact_email__ic,omitempty"` - ContactEmailIe *[]string `json:"contact_email__ie,omitempty"` - ContactEmailIew *[]string `json:"contact_email__iew,omitempty"` - ContactEmailIre *[]string `json:"contact_email__ire,omitempty"` - ContactEmailIsw *[]string `json:"contact_email__isw,omitempty"` - ContactEmailN *[]string `json:"contact_email__n,omitempty"` - ContactEmailNic *[]string `json:"contact_email__nic,omitempty"` - ContactEmailNie *[]string `json:"contact_email__nie,omitempty"` - ContactEmailNiew *[]string `json:"contact_email__niew,omitempty"` - ContactEmailNire *[]string `json:"contact_email__nire,omitempty"` - ContactEmailNisw *[]string `json:"contact_email__nisw,omitempty"` - ContactEmailNre *[]string `json:"contact_email__nre,omitempty"` - ContactEmailRe *[]string `json:"contact_email__re,omitempty"` - ContactName *[]string `json:"contact_name,omitempty"` - ContactNameIc *[]string `json:"contact_name__ic,omitempty"` - ContactNameIe *[]string `json:"contact_name__ie,omitempty"` - ContactNameIew *[]string `json:"contact_name__iew,omitempty"` - ContactNameIre *[]string `json:"contact_name__ire,omitempty"` - ContactNameIsw *[]string `json:"contact_name__isw,omitempty"` - ContactNameN *[]string `json:"contact_name__n,omitempty"` - ContactNameNic *[]string `json:"contact_name__nic,omitempty"` - ContactNameNie *[]string `json:"contact_name__nie,omitempty"` - ContactNameNiew *[]string `json:"contact_name__niew,omitempty"` - ContactNameNire *[]string `json:"contact_name__nire,omitempty"` - ContactNameNisw *[]string `json:"contact_name__nisw,omitempty"` - ContactNameNre *[]string `json:"contact_name__nre,omitempty"` - ContactNameRe *[]string `json:"contact_name__re,omitempty"` - ContactPhone *[]string `json:"contact_phone,omitempty"` - ContactPhoneIc *[]string `json:"contact_phone__ic,omitempty"` - ContactPhoneIe *[]string `json:"contact_phone__ie,omitempty"` - ContactPhoneIew *[]string `json:"contact_phone__iew,omitempty"` - ContactPhoneIre *[]string `json:"contact_phone__ire,omitempty"` - ContactPhoneIsw *[]string `json:"contact_phone__isw,omitempty"` - ContactPhoneN *[]string `json:"contact_phone__n,omitempty"` - ContactPhoneNic *[]string `json:"contact_phone__nic,omitempty"` - ContactPhoneNie *[]string `json:"contact_phone__nie,omitempty"` - ContactPhoneNiew *[]string `json:"contact_phone__niew,omitempty"` - ContactPhoneNire *[]string `json:"contact_phone__nire,omitempty"` - ContactPhoneNisw *[]string `json:"contact_phone__nisw,omitempty"` - ContactPhoneNre *[]string `json:"contact_phone__nre,omitempty"` - ContactPhoneRe *[]string `json:"contact_phone__re,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Facility *[]string `json:"facility,omitempty"` - FacilityIc *[]string `json:"facility__ic,omitempty"` - FacilityIe *[]string `json:"facility__ie,omitempty"` - FacilityIew *[]string `json:"facility__iew,omitempty"` - FacilityIre *[]string `json:"facility__ire,omitempty"` - FacilityIsw *[]string `json:"facility__isw,omitempty"` - FacilityN *[]string `json:"facility__n,omitempty"` - FacilityNic *[]string `json:"facility__nic,omitempty"` - FacilityNie *[]string `json:"facility__nie,omitempty"` - FacilityNiew *[]string `json:"facility__niew,omitempty"` - FacilityNire *[]string `json:"facility__nire,omitempty"` - FacilityNisw *[]string `json:"facility__nisw,omitempty"` - FacilityNre *[]string `json:"facility__nre,omitempty"` - FacilityRe *[]string `json:"facility__re,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` - Latitude *[]float32 `json:"latitude,omitempty"` - LatitudeGt *[]float32 `json:"latitude__gt,omitempty"` - LatitudeGte *[]float32 `json:"latitude__gte,omitempty"` - LatitudeLt *[]float32 `json:"latitude__lt,omitempty"` - LatitudeLte *[]float32 `json:"latitude__lte,omitempty"` - LatitudeN *[]float32 `json:"latitude__n,omitempty"` + Asn *[]int `form:"asn,omitempty" json:"asn,omitempty"` + AsnGt *[]int `form:"asn__gt,omitempty" json:"asn__gt,omitempty"` + AsnGte *[]int `form:"asn__gte,omitempty" json:"asn__gte,omitempty"` + AsnLt *[]int `form:"asn__lt,omitempty" json:"asn__lt,omitempty"` + AsnLte *[]int `form:"asn__lte,omitempty" json:"asn__lte,omitempty"` + AsnN *[]int `form:"asn__n,omitempty" json:"asn__n,omitempty"` + CircuitTerminations *[]openapi_types.UUID `form:"circuit_terminations,omitempty" json:"circuit_terminations,omitempty"` + CircuitTerminationsN *[]openapi_types.UUID `form:"circuit_terminations__n,omitempty" json:"circuit_terminations__n,omitempty"` + Clusters *[]openapi_types.UUID `form:"clusters,omitempty" json:"clusters,omitempty"` + ClustersN *[]openapi_types.UUID `form:"clusters__n,omitempty" json:"clusters__n,omitempty"` + Comments *[]string `form:"comments,omitempty" json:"comments,omitempty"` + CommentsIc *[]string `form:"comments__ic,omitempty" json:"comments__ic,omitempty"` + CommentsIe *[]string `form:"comments__ie,omitempty" json:"comments__ie,omitempty"` + CommentsIew *[]string `form:"comments__iew,omitempty" json:"comments__iew,omitempty"` + CommentsIre *[]string `form:"comments__ire,omitempty" json:"comments__ire,omitempty"` + CommentsIsw *[]string `form:"comments__isw,omitempty" json:"comments__isw,omitempty"` + CommentsN *[]string `form:"comments__n,omitempty" json:"comments__n,omitempty"` + CommentsNic *[]string `form:"comments__nic,omitempty" json:"comments__nic,omitempty"` + CommentsNie *[]string `form:"comments__nie,omitempty" json:"comments__nie,omitempty"` + CommentsNiew *[]string `form:"comments__niew,omitempty" json:"comments__niew,omitempty"` + CommentsNire *[]string `form:"comments__nire,omitempty" json:"comments__nire,omitempty"` + CommentsNisw *[]string `form:"comments__nisw,omitempty" json:"comments__nisw,omitempty"` + CommentsNre *[]string `form:"comments__nre,omitempty" json:"comments__nre,omitempty"` + CommentsRe *[]string `form:"comments__re,omitempty" json:"comments__re,omitempty"` + ContactEmail *[]string `form:"contact_email,omitempty" json:"contact_email,omitempty"` + ContactEmailIc *[]string `form:"contact_email__ic,omitempty" json:"contact_email__ic,omitempty"` + ContactEmailIe *[]string `form:"contact_email__ie,omitempty" json:"contact_email__ie,omitempty"` + ContactEmailIew *[]string `form:"contact_email__iew,omitempty" json:"contact_email__iew,omitempty"` + ContactEmailIre *[]string `form:"contact_email__ire,omitempty" json:"contact_email__ire,omitempty"` + ContactEmailIsw *[]string `form:"contact_email__isw,omitempty" json:"contact_email__isw,omitempty"` + ContactEmailN *[]string `form:"contact_email__n,omitempty" json:"contact_email__n,omitempty"` + ContactEmailNic *[]string `form:"contact_email__nic,omitempty" json:"contact_email__nic,omitempty"` + ContactEmailNie *[]string `form:"contact_email__nie,omitempty" json:"contact_email__nie,omitempty"` + ContactEmailNiew *[]string `form:"contact_email__niew,omitempty" json:"contact_email__niew,omitempty"` + ContactEmailNire *[]string `form:"contact_email__nire,omitempty" json:"contact_email__nire,omitempty"` + ContactEmailNisw *[]string `form:"contact_email__nisw,omitempty" json:"contact_email__nisw,omitempty"` + ContactEmailNre *[]string `form:"contact_email__nre,omitempty" json:"contact_email__nre,omitempty"` + ContactEmailRe *[]string `form:"contact_email__re,omitempty" json:"contact_email__re,omitempty"` + ContactName *[]string `form:"contact_name,omitempty" json:"contact_name,omitempty"` + ContactNameIc *[]string `form:"contact_name__ic,omitempty" json:"contact_name__ic,omitempty"` + ContactNameIe *[]string `form:"contact_name__ie,omitempty" json:"contact_name__ie,omitempty"` + ContactNameIew *[]string `form:"contact_name__iew,omitempty" json:"contact_name__iew,omitempty"` + ContactNameIre *[]string `form:"contact_name__ire,omitempty" json:"contact_name__ire,omitempty"` + ContactNameIsw *[]string `form:"contact_name__isw,omitempty" json:"contact_name__isw,omitempty"` + ContactNameN *[]string `form:"contact_name__n,omitempty" json:"contact_name__n,omitempty"` + ContactNameNic *[]string `form:"contact_name__nic,omitempty" json:"contact_name__nic,omitempty"` + ContactNameNie *[]string `form:"contact_name__nie,omitempty" json:"contact_name__nie,omitempty"` + ContactNameNiew *[]string `form:"contact_name__niew,omitempty" json:"contact_name__niew,omitempty"` + ContactNameNire *[]string `form:"contact_name__nire,omitempty" json:"contact_name__nire,omitempty"` + ContactNameNisw *[]string `form:"contact_name__nisw,omitempty" json:"contact_name__nisw,omitempty"` + ContactNameNre *[]string `form:"contact_name__nre,omitempty" json:"contact_name__nre,omitempty"` + ContactNameRe *[]string `form:"contact_name__re,omitempty" json:"contact_name__re,omitempty"` + ContactPhone *[]string `form:"contact_phone,omitempty" json:"contact_phone,omitempty"` + ContactPhoneIc *[]string `form:"contact_phone__ic,omitempty" json:"contact_phone__ic,omitempty"` + ContactPhoneIe *[]string `form:"contact_phone__ie,omitempty" json:"contact_phone__ie,omitempty"` + ContactPhoneIew *[]string `form:"contact_phone__iew,omitempty" json:"contact_phone__iew,omitempty"` + ContactPhoneIre *[]string `form:"contact_phone__ire,omitempty" json:"contact_phone__ire,omitempty"` + ContactPhoneIsw *[]string `form:"contact_phone__isw,omitempty" json:"contact_phone__isw,omitempty"` + ContactPhoneN *[]string `form:"contact_phone__n,omitempty" json:"contact_phone__n,omitempty"` + ContactPhoneNic *[]string `form:"contact_phone__nic,omitempty" json:"contact_phone__nic,omitempty"` + ContactPhoneNie *[]string `form:"contact_phone__nie,omitempty" json:"contact_phone__nie,omitempty"` + ContactPhoneNiew *[]string `form:"contact_phone__niew,omitempty" json:"contact_phone__niew,omitempty"` + ContactPhoneNire *[]string `form:"contact_phone__nire,omitempty" json:"contact_phone__nire,omitempty"` + ContactPhoneNisw *[]string `form:"contact_phone__nisw,omitempty" json:"contact_phone__nisw,omitempty"` + ContactPhoneNre *[]string `form:"contact_phone__nre,omitempty" json:"contact_phone__nre,omitempty"` + ContactPhoneRe *[]string `form:"contact_phone__re,omitempty" json:"contact_phone__re,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Longitude *[]float32 `json:"longitude,omitempty"` - LongitudeGt *[]float32 `json:"longitude__gt,omitempty"` - LongitudeGte *[]float32 `json:"longitude__gte,omitempty"` - LongitudeLt *[]float32 `json:"longitude__lt,omitempty"` - LongitudeLte *[]float32 `json:"longitude__lte,omitempty"` - LongitudeN *[]float32 `json:"longitude__n,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Devices Devices (name or ID) + Devices *[]openapi_types.UUID `form:"devices,omitempty" json:"devices,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // DevicesN Devices (name or ID) + DevicesN *[]openapi_types.UUID `form:"devices__n,omitempty" json:"devices__n,omitempty"` + Facility *[]string `form:"facility,omitempty" json:"facility,omitempty"` + FacilityIc *[]string `form:"facility__ic,omitempty" json:"facility__ic,omitempty"` + FacilityIe *[]string `form:"facility__ie,omitempty" json:"facility__ie,omitempty"` + FacilityIew *[]string `form:"facility__iew,omitempty" json:"facility__iew,omitempty"` + FacilityIre *[]string `form:"facility__ire,omitempty" json:"facility__ire,omitempty"` + FacilityIsw *[]string `form:"facility__isw,omitempty" json:"facility__isw,omitempty"` + FacilityN *[]string `form:"facility__n,omitempty" json:"facility__n,omitempty"` + FacilityNic *[]string `form:"facility__nic,omitempty" json:"facility__nic,omitempty"` + FacilityNie *[]string `form:"facility__nie,omitempty" json:"facility__nie,omitempty"` + FacilityNiew *[]string `form:"facility__niew,omitempty" json:"facility__niew,omitempty"` + FacilityNire *[]string `form:"facility__nire,omitempty" json:"facility__nire,omitempty"` + FacilityNisw *[]string `form:"facility__nisw,omitempty" json:"facility__nisw,omitempty"` + FacilityNre *[]string `form:"facility__nre,omitempty" json:"facility__nre,omitempty"` + FacilityRe *[]string `form:"facility__re,omitempty" json:"facility__re,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // HasCircuitTerminations Has circuit terminations + HasCircuitTerminations *bool `form:"has_circuit_terminations,omitempty" json:"has_circuit_terminations,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // HasClusters Has clusters + HasClusters *bool `form:"has_clusters,omitempty" json:"has_clusters,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // HasDevices Has devices + HasDevices *bool `form:"has_devices,omitempty" json:"has_devices,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // HasLocations Has locations + HasLocations *bool `form:"has_locations,omitempty" json:"has_locations,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` - Status *[]openapi_types.UUID `json:"status,omitempty"` - StatusN *[]openapi_types.UUID `json:"status__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // HasPowerPanels Has power panels + HasPowerPanels *bool `form:"has_power_panels,omitempty" json:"has_power_panels,omitempty"` - // Tenant (slug) - Tenant *[]string `json:"tenant,omitempty"` + // HasPrefixes Has prefixes + HasPrefixes *bool `form:"has_prefixes,omitempty" json:"has_prefixes,omitempty"` - // Tenant (slug) - TenantN *[]string `json:"tenant__n,omitempty"` + // HasRackGroups Has rack groups + HasRackGroups *bool `form:"has_rack_groups,omitempty" json:"has_rack_groups,omitempty"` - // Tenant Group (slug) - TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + // HasRacks Has racks + HasRacks *bool `form:"has_racks,omitempty" json:"has_racks,omitempty"` - // Tenant Group (slug) - TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + // HasVlanGroups Has vlan groups + HasVlanGroups *bool `form:"has_vlan_groups,omitempty" json:"has_vlan_groups,omitempty"` - // Tenant Group (ID) - TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + // HasVlans Has vlans + HasVlans *bool `form:"has_vlans,omitempty" json:"has_vlans,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + Latitude *[]float32 `form:"latitude,omitempty" json:"latitude,omitempty"` + LatitudeGt *[]float32 `form:"latitude__gt,omitempty" json:"latitude__gt,omitempty"` + LatitudeGte *[]float32 `form:"latitude__gte,omitempty" json:"latitude__gte,omitempty"` + LatitudeLt *[]float32 `form:"latitude__lt,omitempty" json:"latitude__lt,omitempty"` + LatitudeLte *[]float32 `form:"latitude__lte,omitempty" json:"latitude__lte,omitempty"` + LatitudeN *[]float32 `form:"latitude__n,omitempty" json:"latitude__n,omitempty"` - // Tenant Group (ID) - TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // Tenant (ID) - TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + // Locations Locations within this Site (slugs or IDs) + Locations *[]openapi_types.UUID `form:"locations,omitempty" json:"locations,omitempty"` - // Tenant (ID) - TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` + // LocationsN Locations within this Site (slugs or IDs) + LocationsN *[]openapi_types.UUID `form:"locations__n,omitempty" json:"locations__n,omitempty"` + Longitude *[]float32 `form:"longitude,omitempty" json:"longitude,omitempty"` + LongitudeGt *[]float32 `form:"longitude__gt,omitempty" json:"longitude__gt,omitempty"` + LongitudeGte *[]float32 `form:"longitude__gte,omitempty" json:"longitude__gte,omitempty"` + LongitudeLt *[]float32 `form:"longitude__lt,omitempty" json:"longitude__lt,omitempty"` + LongitudeLte *[]float32 `form:"longitude__lte,omitempty" json:"longitude__lte,omitempty"` + LongitudeN *[]float32 `form:"longitude__n,omitempty" json:"longitude__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + PhysicalAddress *[]string `form:"physical_address,omitempty" json:"physical_address,omitempty"` + PhysicalAddressIc *[]string `form:"physical_address__ic,omitempty" json:"physical_address__ic,omitempty"` + PhysicalAddressIe *[]string `form:"physical_address__ie,omitempty" json:"physical_address__ie,omitempty"` + PhysicalAddressIew *[]string `form:"physical_address__iew,omitempty" json:"physical_address__iew,omitempty"` + PhysicalAddressIre *[]string `form:"physical_address__ire,omitempty" json:"physical_address__ire,omitempty"` + PhysicalAddressIsw *[]string `form:"physical_address__isw,omitempty" json:"physical_address__isw,omitempty"` + PhysicalAddressN *[]string `form:"physical_address__n,omitempty" json:"physical_address__n,omitempty"` + PhysicalAddressNic *[]string `form:"physical_address__nic,omitempty" json:"physical_address__nic,omitempty"` + PhysicalAddressNie *[]string `form:"physical_address__nie,omitempty" json:"physical_address__nie,omitempty"` + PhysicalAddressNiew *[]string `form:"physical_address__niew,omitempty" json:"physical_address__niew,omitempty"` + PhysicalAddressNire *[]string `form:"physical_address__nire,omitempty" json:"physical_address__nire,omitempty"` + PhysicalAddressNisw *[]string `form:"physical_address__nisw,omitempty" json:"physical_address__nisw,omitempty"` + PhysicalAddressNre *[]string `form:"physical_address__nre,omitempty" json:"physical_address__nre,omitempty"` + PhysicalAddressRe *[]string `form:"physical_address__re,omitempty" json:"physical_address__re,omitempty"` + + // PowerPanels Power panels (name or ID) + PowerPanels *[]openapi_types.UUID `form:"power_panels,omitempty" json:"power_panels,omitempty"` + + // PowerPanelsN Power panels (name or ID) + PowerPanelsN *[]openapi_types.UUID `form:"power_panels__n,omitempty" json:"power_panels__n,omitempty"` + Prefixes *[]openapi_types.UUID `form:"prefixes,omitempty" json:"prefixes,omitempty"` + PrefixesN *[]openapi_types.UUID `form:"prefixes__n,omitempty" json:"prefixes__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // RackGroups Rack groups (slug or ID) + RackGroups *[]openapi_types.UUID `form:"rack_groups,omitempty" json:"rack_groups,omitempty"` + + // RackGroupsN Rack groups (slug or ID) + RackGroupsN *[]openapi_types.UUID `form:"rack_groups__n,omitempty" json:"rack_groups__n,omitempty"` + Racks *[]openapi_types.UUID `form:"racks,omitempty" json:"racks,omitempty"` + RacksN *[]openapi_types.UUID `form:"racks__n,omitempty" json:"racks__n,omitempty"` + + // Region Region (slug) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + ShippingAddress *[]string `form:"shipping_address,omitempty" json:"shipping_address,omitempty"` + ShippingAddressIc *[]string `form:"shipping_address__ic,omitempty" json:"shipping_address__ic,omitempty"` + ShippingAddressIe *[]string `form:"shipping_address__ie,omitempty" json:"shipping_address__ie,omitempty"` + ShippingAddressIew *[]string `form:"shipping_address__iew,omitempty" json:"shipping_address__iew,omitempty"` + ShippingAddressIre *[]string `form:"shipping_address__ire,omitempty" json:"shipping_address__ire,omitempty"` + ShippingAddressIsw *[]string `form:"shipping_address__isw,omitempty" json:"shipping_address__isw,omitempty"` + ShippingAddressN *[]string `form:"shipping_address__n,omitempty" json:"shipping_address__n,omitempty"` + ShippingAddressNic *[]string `form:"shipping_address__nic,omitempty" json:"shipping_address__nic,omitempty"` + ShippingAddressNie *[]string `form:"shipping_address__nie,omitempty" json:"shipping_address__nie,omitempty"` + ShippingAddressNiew *[]string `form:"shipping_address__niew,omitempty" json:"shipping_address__niew,omitempty"` + ShippingAddressNire *[]string `form:"shipping_address__nire,omitempty" json:"shipping_address__nire,omitempty"` + ShippingAddressNisw *[]string `form:"shipping_address__nisw,omitempty" json:"shipping_address__nisw,omitempty"` + ShippingAddressNre *[]string `form:"shipping_address__nre,omitempty" json:"shipping_address__nre,omitempty"` + ShippingAddressRe *[]string `form:"shipping_address__re,omitempty" json:"shipping_address__re,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` + Status *[]openapi_types.UUID `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]openapi_types.UUID `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug or ID) + Tenant *[]openapi_types.UUID `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug or ID) + TenantN *[]openapi_types.UUID `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) (deprecated, use "tenant" filter instead) + TenantId *[]openapi_types.UUID `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) (deprecated, use "tenant" filter instead) + TenantIdN *[]openapi_types.UUID `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + + // TimeZone Time zone + TimeZone *[]interface{} `form:"time_zone,omitempty" json:"time_zone,omitempty"` + + // TimeZoneN Time zone + TimeZoneN *[]interface{} `form:"time_zone__n,omitempty" json:"time_zone__n,omitempty"` + + // VlanGroups Vlan groups (slug or ID) + VlanGroups *[]openapi_types.UUID `form:"vlan_groups,omitempty" json:"vlan_groups,omitempty"` + + // VlanGroupsN Vlan groups (slug or ID) + VlanGroupsN *[]openapi_types.UUID `form:"vlan_groups__n,omitempty" json:"vlan_groups__n,omitempty"` + Vlans *[]openapi_types.UUID `form:"vlans,omitempty" json:"vlans,omitempty"` + VlansN *[]openapi_types.UUID `form:"vlans__n,omitempty" json:"vlans__n,omitempty"` } // DcimSitesBulkPartialUpdateJSONBody defines parameters for DcimSitesBulkPartialUpdate. -type DcimSitesBulkPartialUpdateJSONBody PatchedWritableSite - -// DcimSitesCreateJSONBody defines parameters for DcimSitesCreate. -type DcimSitesCreateJSONBody WritableSite +type DcimSitesBulkPartialUpdateJSONBody = []PatchedBulkWritableSiteRequest // DcimSitesBulkUpdateJSONBody defines parameters for DcimSitesBulkUpdate. -type DcimSitesBulkUpdateJSONBody WritableSite +type DcimSitesBulkUpdateJSONBody = []BulkWritableSiteRequest -// DcimSitesPartialUpdateJSONBody defines parameters for DcimSitesPartialUpdate. -type DcimSitesPartialUpdateJSONBody PatchedWritableSite +// DcimSitesNotesListParams defines parameters for DcimSitesNotesList. +type DcimSitesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimSitesUpdateJSONBody defines parameters for DcimSitesUpdate. -type DcimSitesUpdateJSONBody WritableSite + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// DcimVirtualChassisBulkDestroyJSONBody defines parameters for DcimVirtualChassisBulkDestroy. +type DcimVirtualChassisBulkDestroyJSONBody = []BulkOperationRequest // DcimVirtualChassisListParams defines parameters for DcimVirtualChassisList. type DcimVirtualChassisListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Domain *[]string `json:"domain,omitempty"` - DomainIc *[]string `json:"domain__ic,omitempty"` - DomainIe *[]string `json:"domain__ie,omitempty"` - DomainIew *[]string `json:"domain__iew,omitempty"` - DomainIre *[]string `json:"domain__ire,omitempty"` - DomainIsw *[]string `json:"domain__isw,omitempty"` - DomainN *[]string `json:"domain__n,omitempty"` - DomainNic *[]string `json:"domain__nic,omitempty"` - DomainNie *[]string `json:"domain__nie,omitempty"` - DomainNiew *[]string `json:"domain__niew,omitempty"` - DomainNire *[]string `json:"domain__nire,omitempty"` - DomainNisw *[]string `json:"domain__nisw,omitempty"` - DomainNre *[]string `json:"domain__nre,omitempty"` - DomainRe *[]string `json:"domain__re,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Domain *[]string `form:"domain,omitempty" json:"domain,omitempty"` + DomainIc *[]string `form:"domain__ic,omitempty" json:"domain__ic,omitempty"` + DomainIe *[]string `form:"domain__ie,omitempty" json:"domain__ie,omitempty"` + DomainIew *[]string `form:"domain__iew,omitempty" json:"domain__iew,omitempty"` + DomainIre *[]string `form:"domain__ire,omitempty" json:"domain__ire,omitempty"` + DomainIsw *[]string `form:"domain__isw,omitempty" json:"domain__isw,omitempty"` + DomainN *[]string `form:"domain__n,omitempty" json:"domain__n,omitempty"` + DomainNic *[]string `form:"domain__nic,omitempty" json:"domain__nic,omitempty"` + DomainNie *[]string `form:"domain__nie,omitempty" json:"domain__nie,omitempty"` + DomainNiew *[]string `form:"domain__niew,omitempty" json:"domain__niew,omitempty"` + DomainNire *[]string `form:"domain__nire,omitempty" json:"domain__nire,omitempty"` + DomainNisw *[]string `form:"domain__nisw,omitempty" json:"domain__nisw,omitempty"` + DomainNre *[]string `form:"domain__nre,omitempty" json:"domain__nre,omitempty"` + DomainRe *[]string `form:"domain__re,omitempty" json:"domain__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // HasMembers Has device members + HasMembers *bool `form:"has_members,omitempty" json:"has_members,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Master (name) - Master *[]string `json:"master,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // Master (name) - MasterN *[]string `json:"master__n,omitempty"` + // Master Master (name) + Master *[]string `form:"master,omitempty" json:"master,omitempty"` - // Master (ID) - MasterId *[]openapi_types.UUID `json:"master_id,omitempty"` + // MasterN Master (name) + MasterN *[]string `form:"master__n,omitempty" json:"master__n,omitempty"` - // Master (ID) - MasterIdN *[]openapi_types.UUID `json:"master_id__n,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // MasterId Master (ID) + MasterId *[]openapi_types.UUID `form:"master_id,omitempty" json:"master_id,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // MasterIdN Master (ID) + MasterIdN *[]openapi_types.UUID `form:"master_id__n,omitempty" json:"master_id__n,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Members Device members (name or ID) + Members *[]openapi_types.UUID `form:"members,omitempty" json:"members,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // MembersN Device members (name or ID) + MembersN *[]openapi_types.UUID `form:"members__n,omitempty" json:"members__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // Region Region (slug) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` - // Site name (slug) - Site *[]string `json:"site,omitempty"` + // RegionN Region (slug) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` - // Site name (slug) - SiteN *[]string `json:"site__n,omitempty"` + // RegionId Region (ID) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // RegionIdN Region (ID) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` - // Tenant (slug) - Tenant *[]string `json:"tenant,omitempty"` + // SiteN Site name (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` - // Tenant (slug) - TenantN *[]string `json:"tenant__n,omitempty"` + // SiteId Site (ID) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` - // Tenant (ID) - TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + // SiteIdN Site (ID) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` - // Tenant (ID) - TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantId Tenant (ID) + TenantId *[]openapi_types.UUID `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) + TenantIdN *[]openapi_types.UUID `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` } // DcimVirtualChassisBulkPartialUpdateJSONBody defines parameters for DcimVirtualChassisBulkPartialUpdate. -type DcimVirtualChassisBulkPartialUpdateJSONBody PatchedWritableVirtualChassis - -// DcimVirtualChassisCreateJSONBody defines parameters for DcimVirtualChassisCreate. -type DcimVirtualChassisCreateJSONBody WritableVirtualChassis +type DcimVirtualChassisBulkPartialUpdateJSONBody = []PatchedBulkWritableVirtualChassisRequest // DcimVirtualChassisBulkUpdateJSONBody defines parameters for DcimVirtualChassisBulkUpdate. -type DcimVirtualChassisBulkUpdateJSONBody WritableVirtualChassis +type DcimVirtualChassisBulkUpdateJSONBody = []BulkWritableVirtualChassisRequest -// DcimVirtualChassisPartialUpdateJSONBody defines parameters for DcimVirtualChassisPartialUpdate. -type DcimVirtualChassisPartialUpdateJSONBody PatchedWritableVirtualChassis +// DcimVirtualChassisNotesListParams defines parameters for DcimVirtualChassisNotesList. +type DcimVirtualChassisNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// DcimVirtualChassisUpdateJSONBody defines parameters for DcimVirtualChassisUpdate. -type DcimVirtualChassisUpdateJSONBody WritableVirtualChassis + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// ExtrasComputedFieldsBulkDestroyJSONBody defines parameters for ExtrasComputedFieldsBulkDestroy. +type ExtrasComputedFieldsBulkDestroyJSONBody = []BulkOperationRequest // ExtrasComputedFieldsListParams defines parameters for ExtrasComputedFieldsList. type ExtrasComputedFieldsListParams struct { - ContentType *string `json:"content_type,omitempty"` - ContentTypeN *string `json:"content_type__n,omitempty"` - FallbackValue *[]string `json:"fallback_value,omitempty"` - FallbackValueIc *[]string `json:"fallback_value__ic,omitempty"` - FallbackValueIe *[]string `json:"fallback_value__ie,omitempty"` - FallbackValueIew *[]string `json:"fallback_value__iew,omitempty"` - FallbackValueIre *[]string `json:"fallback_value__ire,omitempty"` - FallbackValueIsw *[]string `json:"fallback_value__isw,omitempty"` - FallbackValueN *[]string `json:"fallback_value__n,omitempty"` - FallbackValueNic *[]string `json:"fallback_value__nic,omitempty"` - FallbackValueNie *[]string `json:"fallback_value__nie,omitempty"` - FallbackValueNiew *[]string `json:"fallback_value__niew,omitempty"` - FallbackValueNire *[]string `json:"fallback_value__nire,omitempty"` - FallbackValueNisw *[]string `json:"fallback_value__nisw,omitempty"` - FallbackValueNre *[]string `json:"fallback_value__nre,omitempty"` - FallbackValueRe *[]string `json:"fallback_value__re,omitempty"` + ContentType *string `form:"content_type,omitempty" json:"content_type,omitempty"` + ContentTypeN *string `form:"content_type__n,omitempty" json:"content_type__n,omitempty"` + FallbackValue *[]string `form:"fallback_value,omitempty" json:"fallback_value,omitempty"` + FallbackValueIc *[]string `form:"fallback_value__ic,omitempty" json:"fallback_value__ic,omitempty"` + FallbackValueIe *[]string `form:"fallback_value__ie,omitempty" json:"fallback_value__ie,omitempty"` + FallbackValueIew *[]string `form:"fallback_value__iew,omitempty" json:"fallback_value__iew,omitempty"` + FallbackValueIre *[]string `form:"fallback_value__ire,omitempty" json:"fallback_value__ire,omitempty"` + FallbackValueIsw *[]string `form:"fallback_value__isw,omitempty" json:"fallback_value__isw,omitempty"` + FallbackValueN *[]string `form:"fallback_value__n,omitempty" json:"fallback_value__n,omitempty"` + FallbackValueNic *[]string `form:"fallback_value__nic,omitempty" json:"fallback_value__nic,omitempty"` + FallbackValueNie *[]string `form:"fallback_value__nie,omitempty" json:"fallback_value__nie,omitempty"` + FallbackValueNiew *[]string `form:"fallback_value__niew,omitempty" json:"fallback_value__niew,omitempty"` + FallbackValueNire *[]string `form:"fallback_value__nire,omitempty" json:"fallback_value__nire,omitempty"` + FallbackValueNisw *[]string `form:"fallback_value__nisw,omitempty" json:"fallback_value__nisw,omitempty"` + FallbackValueNre *[]string `form:"fallback_value__nre,omitempty" json:"fallback_value__nre,omitempty"` + FallbackValueRe *[]string `form:"fallback_value__re,omitempty" json:"fallback_value__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` - Template *[]string `json:"template,omitempty"` - TemplateIc *[]string `json:"template__ic,omitempty"` - TemplateIe *[]string `json:"template__ie,omitempty"` - TemplateIew *[]string `json:"template__iew,omitempty"` - TemplateIre *[]string `json:"template__ire,omitempty"` - TemplateIsw *[]string `json:"template__isw,omitempty"` - TemplateN *[]string `json:"template__n,omitempty"` - TemplateNic *[]string `json:"template__nic,omitempty"` - TemplateNie *[]string `json:"template__nie,omitempty"` - TemplateNiew *[]string `json:"template__niew,omitempty"` - TemplateNire *[]string `json:"template__nire,omitempty"` - TemplateNisw *[]string `json:"template__nisw,omitempty"` - TemplateNre *[]string `json:"template__nre,omitempty"` - TemplateRe *[]string `json:"template__re,omitempty"` - Weight *[]int `json:"weight,omitempty"` - WeightGt *[]int `json:"weight__gt,omitempty"` - WeightGte *[]int `json:"weight__gte,omitempty"` - WeightLt *[]int `json:"weight__lt,omitempty"` - WeightLte *[]int `json:"weight__lte,omitempty"` - WeightN *[]int `json:"weight__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` + Template *[]string `form:"template,omitempty" json:"template,omitempty"` + TemplateIc *[]string `form:"template__ic,omitempty" json:"template__ic,omitempty"` + TemplateIe *[]string `form:"template__ie,omitempty" json:"template__ie,omitempty"` + TemplateIew *[]string `form:"template__iew,omitempty" json:"template__iew,omitempty"` + TemplateIre *[]string `form:"template__ire,omitempty" json:"template__ire,omitempty"` + TemplateIsw *[]string `form:"template__isw,omitempty" json:"template__isw,omitempty"` + TemplateN *[]string `form:"template__n,omitempty" json:"template__n,omitempty"` + TemplateNic *[]string `form:"template__nic,omitempty" json:"template__nic,omitempty"` + TemplateNie *[]string `form:"template__nie,omitempty" json:"template__nie,omitempty"` + TemplateNiew *[]string `form:"template__niew,omitempty" json:"template__niew,omitempty"` + TemplateNire *[]string `form:"template__nire,omitempty" json:"template__nire,omitempty"` + TemplateNisw *[]string `form:"template__nisw,omitempty" json:"template__nisw,omitempty"` + TemplateNre *[]string `form:"template__nre,omitempty" json:"template__nre,omitempty"` + TemplateRe *[]string `form:"template__re,omitempty" json:"template__re,omitempty"` + Weight *[]int `form:"weight,omitempty" json:"weight,omitempty"` + WeightGt *[]int `form:"weight__gt,omitempty" json:"weight__gt,omitempty"` + WeightGte *[]int `form:"weight__gte,omitempty" json:"weight__gte,omitempty"` + WeightLt *[]int `form:"weight__lt,omitempty" json:"weight__lt,omitempty"` + WeightLte *[]int `form:"weight__lte,omitempty" json:"weight__lte,omitempty"` + WeightN *[]int `form:"weight__n,omitempty" json:"weight__n,omitempty"` } // ExtrasComputedFieldsBulkPartialUpdateJSONBody defines parameters for ExtrasComputedFieldsBulkPartialUpdate. -type ExtrasComputedFieldsBulkPartialUpdateJSONBody PatchedComputedField - -// ExtrasComputedFieldsCreateJSONBody defines parameters for ExtrasComputedFieldsCreate. -type ExtrasComputedFieldsCreateJSONBody ComputedField +type ExtrasComputedFieldsBulkPartialUpdateJSONBody = []PatchedBulkWritableComputedFieldRequest // ExtrasComputedFieldsBulkUpdateJSONBody defines parameters for ExtrasComputedFieldsBulkUpdate. -type ExtrasComputedFieldsBulkUpdateJSONBody ComputedField +type ExtrasComputedFieldsBulkUpdateJSONBody = []BulkWritableComputedFieldRequest -// ExtrasComputedFieldsPartialUpdateJSONBody defines parameters for ExtrasComputedFieldsPartialUpdate. -type ExtrasComputedFieldsPartialUpdateJSONBody PatchedComputedField +// ExtrasComputedFieldsNotesListParams defines parameters for ExtrasComputedFieldsNotesList. +type ExtrasComputedFieldsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// ExtrasComputedFieldsUpdateJSONBody defines parameters for ExtrasComputedFieldsUpdate. -type ExtrasComputedFieldsUpdateJSONBody ComputedField + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// ExtrasConfigContextSchemasBulkDestroyJSONBody defines parameters for ExtrasConfigContextSchemasBulkDestroy. +type ExtrasConfigContextSchemasBulkDestroyJSONBody = []BulkOperationRequest // ExtrasConfigContextSchemasListParams defines parameters for ExtrasConfigContextSchemasList. type ExtrasConfigContextSchemasListParams struct { - Description *[]string `json:"description,omitempty"` - DescriptionIc *[]string `json:"description__ic,omitempty"` - DescriptionIe *[]string `json:"description__ie,omitempty"` - DescriptionIew *[]string `json:"description__iew,omitempty"` - DescriptionIre *[]string `json:"description__ire,omitempty"` - DescriptionIsw *[]string `json:"description__isw,omitempty"` - DescriptionN *[]string `json:"description__n,omitempty"` - DescriptionNic *[]string `json:"description__nic,omitempty"` - DescriptionNie *[]string `json:"description__nie,omitempty"` - DescriptionNiew *[]string `json:"description__niew,omitempty"` - DescriptionNire *[]string `json:"description__nire,omitempty"` - DescriptionNisw *[]string `json:"description__nisw,omitempty"` - DescriptionNre *[]string `json:"description__nre,omitempty"` - DescriptionRe *[]string `json:"description__re,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` - OwnerContentType *string `json:"owner_content_type,omitempty"` - OwnerContentTypeN *string `json:"owner_content_type__n,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + OwnerContentType *string `form:"owner_content_type,omitempty" json:"owner_content_type,omitempty"` + OwnerContentTypeN *string `form:"owner_content_type__n,omitempty" json:"owner_content_type__n,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` } // ExtrasConfigContextSchemasBulkPartialUpdateJSONBody defines parameters for ExtrasConfigContextSchemasBulkPartialUpdate. -type ExtrasConfigContextSchemasBulkPartialUpdateJSONBody PatchedConfigContextSchema - -// ExtrasConfigContextSchemasCreateJSONBody defines parameters for ExtrasConfigContextSchemasCreate. -type ExtrasConfigContextSchemasCreateJSONBody ConfigContextSchema +type ExtrasConfigContextSchemasBulkPartialUpdateJSONBody = []PatchedBulkWritableConfigContextSchemaRequest // ExtrasConfigContextSchemasBulkUpdateJSONBody defines parameters for ExtrasConfigContextSchemasBulkUpdate. -type ExtrasConfigContextSchemasBulkUpdateJSONBody ConfigContextSchema +type ExtrasConfigContextSchemasBulkUpdateJSONBody = []BulkWritableConfigContextSchemaRequest -// ExtrasConfigContextSchemasPartialUpdateJSONBody defines parameters for ExtrasConfigContextSchemasPartialUpdate. -type ExtrasConfigContextSchemasPartialUpdateJSONBody PatchedConfigContextSchema +// ExtrasConfigContextSchemasNotesListParams defines parameters for ExtrasConfigContextSchemasNotesList. +type ExtrasConfigContextSchemasNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// ExtrasConfigContextSchemasUpdateJSONBody defines parameters for ExtrasConfigContextSchemasUpdate. -type ExtrasConfigContextSchemasUpdateJSONBody ConfigContextSchema + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// ExtrasConfigContextsBulkDestroyJSONBody defines parameters for ExtrasConfigContextsBulkDestroy. +type ExtrasConfigContextsBulkDestroyJSONBody = []BulkOperationRequest // ExtrasConfigContextsListParams defines parameters for ExtrasConfigContextsList. type ExtrasConfigContextsListParams struct { - // Cluster group (slug) - ClusterGroup *[]string `json:"cluster_group,omitempty"` + // ClusterGroup Cluster group (slug) + ClusterGroup *[]string `form:"cluster_group,omitempty" json:"cluster_group,omitempty"` - // Cluster group (slug) - ClusterGroupN *[]string `json:"cluster_group__n,omitempty"` + // ClusterGroupN Cluster group (slug) + ClusterGroupN *[]string `form:"cluster_group__n,omitempty" json:"cluster_group__n,omitempty"` - // Cluster group - ClusterGroupId *[]openapi_types.UUID `json:"cluster_group_id,omitempty"` + // ClusterGroupId Cluster group + ClusterGroupId *[]openapi_types.UUID `form:"cluster_group_id,omitempty" json:"cluster_group_id,omitempty"` - // Cluster group - ClusterGroupIdN *[]openapi_types.UUID `json:"cluster_group_id__n,omitempty"` + // ClusterGroupIdN Cluster group + ClusterGroupIdN *[]openapi_types.UUID `form:"cluster_group_id__n,omitempty" json:"cluster_group_id__n,omitempty"` - // Cluster - ClusterId *[]openapi_types.UUID `json:"cluster_id,omitempty"` + // ClusterId Cluster + ClusterId *[]openapi_types.UUID `form:"cluster_id,omitempty" json:"cluster_id,omitempty"` - // Cluster - ClusterIdN *[]openapi_types.UUID `json:"cluster_id__n,omitempty"` + // ClusterIdN Cluster + ClusterIdN *[]openapi_types.UUID `form:"cluster_id__n,omitempty" json:"cluster_id__n,omitempty"` - // Device Type (slug) - DeviceType *[]string `json:"device_type,omitempty"` + // DeviceRedundancyGroup Device Redundancy Group (slug or PK) + DeviceRedundancyGroup *[]openapi_types.UUID `form:"device_redundancy_group,omitempty" json:"device_redundancy_group,omitempty"` - // Device Type (slug) - DeviceTypeN *[]string `json:"device_type__n,omitempty"` + // DeviceRedundancyGroupN Device Redundancy Group (slug or PK) + DeviceRedundancyGroupN *[]openapi_types.UUID `form:"device_redundancy_group__n,omitempty" json:"device_redundancy_group__n,omitempty"` - // Device Type - DeviceTypeId *[]openapi_types.UUID `json:"device_type_id,omitempty"` + // DeviceType Device Type (slug) + DeviceType *[]string `form:"device_type,omitempty" json:"device_type,omitempty"` - // Device Type - DeviceTypeIdN *[]openapi_types.UUID `json:"device_type_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - IsActive *bool `json:"is_active,omitempty"` + // DeviceTypeN Device Type (slug) + DeviceTypeN *[]string `form:"device_type__n,omitempty" json:"device_type__n,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // DeviceTypeId Device Type + DeviceTypeId *[]openapi_types.UUID `form:"device_type_id,omitempty" json:"device_type_id,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` - OwnerContentType *string `json:"owner_content_type,omitempty"` - OwnerContentTypeN *string `json:"owner_content_type__n,omitempty"` - OwnerObjectId *[]openapi_types.UUID `json:"owner_object_id,omitempty"` - OwnerObjectIdIc *[]openapi_types.UUID `json:"owner_object_id__ic,omitempty"` - OwnerObjectIdIe *[]openapi_types.UUID `json:"owner_object_id__ie,omitempty"` - OwnerObjectIdIew *[]openapi_types.UUID `json:"owner_object_id__iew,omitempty"` - OwnerObjectIdIre *[]openapi_types.UUID `json:"owner_object_id__ire,omitempty"` - OwnerObjectIdIsw *[]openapi_types.UUID `json:"owner_object_id__isw,omitempty"` - OwnerObjectIdN *[]openapi_types.UUID `json:"owner_object_id__n,omitempty"` - OwnerObjectIdNic *[]openapi_types.UUID `json:"owner_object_id__nic,omitempty"` - OwnerObjectIdNie *[]openapi_types.UUID `json:"owner_object_id__nie,omitempty"` - OwnerObjectIdNiew *[]openapi_types.UUID `json:"owner_object_id__niew,omitempty"` - OwnerObjectIdNire *[]openapi_types.UUID `json:"owner_object_id__nire,omitempty"` - OwnerObjectIdNisw *[]openapi_types.UUID `json:"owner_object_id__nisw,omitempty"` - OwnerObjectIdNre *[]openapi_types.UUID `json:"owner_object_id__nre,omitempty"` - OwnerObjectIdRe *[]openapi_types.UUID `json:"owner_object_id__re,omitempty"` + // DeviceTypeIdN Device Type + DeviceTypeIdN *[]openapi_types.UUID `form:"device_type_id__n,omitempty" json:"device_type_id__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + IsActive *bool `form:"is_active,omitempty" json:"is_active,omitempty"` - // Platform (slug) - Platform *[]string `json:"platform,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // Platform (slug) - PlatformN *[]string `json:"platform__n,omitempty"` + // Location Location (slug) + Location *[]string `form:"location,omitempty" json:"location,omitempty"` - // Platform - PlatformId *[]openapi_types.UUID `json:"platform_id,omitempty"` + // LocationN Location (slug) + LocationN *[]string `form:"location__n,omitempty" json:"location__n,omitempty"` - // Platform - PlatformIdN *[]openapi_types.UUID `json:"platform_id__n,omitempty"` + // LocationId Location (ID) + LocationId *[]openapi_types.UUID `form:"location_id,omitempty" json:"location_id,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // LocationIdN Location (ID) + LocationIdN *[]openapi_types.UUID `form:"location_id__n,omitempty" json:"location_id__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Region (slug) - Region *[]string `json:"region,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + OwnerContentType *string `form:"owner_content_type,omitempty" json:"owner_content_type,omitempty"` + OwnerContentTypeN *string `form:"owner_content_type__n,omitempty" json:"owner_content_type__n,omitempty"` + OwnerObjectId *[]openapi_types.UUID `form:"owner_object_id,omitempty" json:"owner_object_id,omitempty"` + OwnerObjectIdIc *[]openapi_types.UUID `form:"owner_object_id__ic,omitempty" json:"owner_object_id__ic,omitempty"` + OwnerObjectIdIe *[]openapi_types.UUID `form:"owner_object_id__ie,omitempty" json:"owner_object_id__ie,omitempty"` + OwnerObjectIdIew *[]openapi_types.UUID `form:"owner_object_id__iew,omitempty" json:"owner_object_id__iew,omitempty"` + OwnerObjectIdIre *[]openapi_types.UUID `form:"owner_object_id__ire,omitempty" json:"owner_object_id__ire,omitempty"` + OwnerObjectIdIsw *[]openapi_types.UUID `form:"owner_object_id__isw,omitempty" json:"owner_object_id__isw,omitempty"` + OwnerObjectIdN *[]openapi_types.UUID `form:"owner_object_id__n,omitempty" json:"owner_object_id__n,omitempty"` + OwnerObjectIdNic *[]openapi_types.UUID `form:"owner_object_id__nic,omitempty" json:"owner_object_id__nic,omitempty"` + OwnerObjectIdNie *[]openapi_types.UUID `form:"owner_object_id__nie,omitempty" json:"owner_object_id__nie,omitempty"` + OwnerObjectIdNiew *[]openapi_types.UUID `form:"owner_object_id__niew,omitempty" json:"owner_object_id__niew,omitempty"` + OwnerObjectIdNire *[]openapi_types.UUID `form:"owner_object_id__nire,omitempty" json:"owner_object_id__nire,omitempty"` + OwnerObjectIdNisw *[]openapi_types.UUID `form:"owner_object_id__nisw,omitempty" json:"owner_object_id__nisw,omitempty"` + OwnerObjectIdNre *[]openapi_types.UUID `form:"owner_object_id__nre,omitempty" json:"owner_object_id__nre,omitempty"` + OwnerObjectIdRe *[]openapi_types.UUID `form:"owner_object_id__re,omitempty" json:"owner_object_id__re,omitempty"` - // Region (slug) - RegionN *[]string `json:"region__n,omitempty"` + // Platform Platform (slug) + Platform *[]string `form:"platform,omitempty" json:"platform,omitempty"` - // Region - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // PlatformN Platform (slug) + PlatformN *[]string `form:"platform__n,omitempty" json:"platform__n,omitempty"` - // Region - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // PlatformId Platform + PlatformId *[]openapi_types.UUID `form:"platform_id,omitempty" json:"platform_id,omitempty"` - // Role (slug) - Role *[]string `json:"role,omitempty"` + // PlatformIdN Platform + PlatformIdN *[]openapi_types.UUID `form:"platform_id__n,omitempty" json:"platform_id__n,omitempty"` - // Role (slug) - RoleN *[]string `json:"role__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Role - RoleId *[]openapi_types.UUID `json:"role_id,omitempty"` + // Region Region (slug) + Region *[]string `form:"region,omitempty" json:"region,omitempty"` - // Role - RoleIdN *[]openapi_types.UUID `json:"role_id__n,omitempty"` + // RegionN Region (slug) + RegionN *[]string `form:"region__n,omitempty" json:"region__n,omitempty"` - // Site (slug) - Site *[]string `json:"site,omitempty"` + // RegionId Region + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` - // Site (slug) - SiteN *[]string `json:"site__n,omitempty"` + // RegionIdN Region + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` - // Site - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // Role Role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` - // Site - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` + // RoleN Role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` - // Tag (slug) - Tag *[]string `json:"tag,omitempty"` + // RoleId Role + RoleId *[]openapi_types.UUID `form:"role_id,omitempty" json:"role_id,omitempty"` - // Tag (slug) - TagN *[]string `json:"tag__n,omitempty"` + // RoleIdN Role + RoleIdN *[]openapi_types.UUID `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` - // Tenant (slug) - Tenant *[]string `json:"tenant,omitempty"` + // Schema Schema (slug or PK) + Schema *[]openapi_types.UUID `form:"schema,omitempty" json:"schema,omitempty"` - // Tenant (slug) - TenantN *[]string `json:"tenant__n,omitempty"` + // SchemaN Schema (slug or PK) + SchemaN *[]openapi_types.UUID `form:"schema__n,omitempty" json:"schema__n,omitempty"` - // Tenant group (slug) - TenantGroup *[]string `json:"tenant_group,omitempty"` + // Site Site (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` - // Tenant group (slug) - TenantGroupN *[]string `json:"tenant_group__n,omitempty"` + // SiteN Site (slug) + SiteN *[]string `form:"site__n,omitempty" json:"site__n,omitempty"` - // Tenant group - TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + // SiteId Site + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` - // Tenant group - TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + // SiteIdN Site + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` - // Tenant - TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + // Tag Tag (slug) + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` - // Tenant - TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` + // TagN Tag (slug) + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug) + TenantN *[]string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant group (slug) + TenantGroup *[]string `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant group (slug) + TenantGroupN *[]string `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant group + TenantGroupId *[]openapi_types.UUID `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant group + TenantGroupIdN *[]openapi_types.UUID `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant + TenantId *[]openapi_types.UUID `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant + TenantIdN *[]openapi_types.UUID `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` } // ExtrasConfigContextsBulkPartialUpdateJSONBody defines parameters for ExtrasConfigContextsBulkPartialUpdate. -type ExtrasConfigContextsBulkPartialUpdateJSONBody PatchedWritableConfigContext - -// ExtrasConfigContextsCreateJSONBody defines parameters for ExtrasConfigContextsCreate. -type ExtrasConfigContextsCreateJSONBody WritableConfigContext +type ExtrasConfigContextsBulkPartialUpdateJSONBody = []PatchedBulkWritableConfigContextRequest // ExtrasConfigContextsBulkUpdateJSONBody defines parameters for ExtrasConfigContextsBulkUpdate. -type ExtrasConfigContextsBulkUpdateJSONBody WritableConfigContext +type ExtrasConfigContextsBulkUpdateJSONBody = []BulkWritableConfigContextRequest -// ExtrasConfigContextsPartialUpdateJSONBody defines parameters for ExtrasConfigContextsPartialUpdate. -type ExtrasConfigContextsPartialUpdateJSONBody PatchedWritableConfigContext +// ExtrasConfigContextsNotesListParams defines parameters for ExtrasConfigContextsNotesList. +type ExtrasConfigContextsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// ExtrasConfigContextsUpdateJSONBody defines parameters for ExtrasConfigContextsUpdate. -type ExtrasConfigContextsUpdateJSONBody WritableConfigContext + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} // ExtrasContentTypesListParams defines parameters for ExtrasContentTypesList. type ExtrasContentTypesListParams struct { - AppLabel *string `json:"app_label,omitempty"` - Id *int `json:"id,omitempty"` + AppLabel *[]string `form:"app_label,omitempty" json:"app_label,omitempty"` + AppLabelIc *[]string `form:"app_label__ic,omitempty" json:"app_label__ic,omitempty"` + AppLabelIe *[]string `form:"app_label__ie,omitempty" json:"app_label__ie,omitempty"` + AppLabelIew *[]string `form:"app_label__iew,omitempty" json:"app_label__iew,omitempty"` + AppLabelIre *[]string `form:"app_label__ire,omitempty" json:"app_label__ire,omitempty"` + AppLabelIsw *[]string `form:"app_label__isw,omitempty" json:"app_label__isw,omitempty"` + AppLabelN *[]string `form:"app_label__n,omitempty" json:"app_label__n,omitempty"` + AppLabelNic *[]string `form:"app_label__nic,omitempty" json:"app_label__nic,omitempty"` + AppLabelNie *[]string `form:"app_label__nie,omitempty" json:"app_label__nie,omitempty"` + AppLabelNiew *[]string `form:"app_label__niew,omitempty" json:"app_label__niew,omitempty"` + AppLabelNire *[]string `form:"app_label__nire,omitempty" json:"app_label__nire,omitempty"` + AppLabelNisw *[]string `form:"app_label__nisw,omitempty" json:"app_label__nisw,omitempty"` + AppLabelNre *[]string `form:"app_label__nre,omitempty" json:"app_label__nre,omitempty"` + AppLabelRe *[]string `form:"app_label__re,omitempty" json:"app_label__re,omitempty"` + Id *[]int `form:"id,omitempty" json:"id,omitempty"` + IdGt *[]int `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int `form:"id__n,omitempty" json:"id__n,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Model *string `json:"model,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Model *[]string `form:"model,omitempty" json:"model,omitempty"` + ModelIc *[]string `form:"model__ic,omitempty" json:"model__ic,omitempty"` + ModelIe *[]string `form:"model__ie,omitempty" json:"model__ie,omitempty"` + ModelIew *[]string `form:"model__iew,omitempty" json:"model__iew,omitempty"` + ModelIre *[]string `form:"model__ire,omitempty" json:"model__ire,omitempty"` + ModelIsw *[]string `form:"model__isw,omitempty" json:"model__isw,omitempty"` + ModelN *[]string `form:"model__n,omitempty" json:"model__n,omitempty"` + ModelNic *[]string `form:"model__nic,omitempty" json:"model__nic,omitempty"` + ModelNie *[]string `form:"model__nie,omitempty" json:"model__nie,omitempty"` + ModelNiew *[]string `form:"model__niew,omitempty" json:"model__niew,omitempty"` + ModelNire *[]string `form:"model__nire,omitempty" json:"model__nire,omitempty"` + ModelNisw *[]string `form:"model__nisw,omitempty" json:"model__nisw,omitempty"` + ModelNre *[]string `form:"model__nre,omitempty" json:"model__nre,omitempty"` + ModelRe *[]string `form:"model__re,omitempty" json:"model__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` } +// ExtrasCustomFieldChoicesBulkDestroyJSONBody defines parameters for ExtrasCustomFieldChoicesBulkDestroy. +type ExtrasCustomFieldChoicesBulkDestroyJSONBody = []BulkOperationRequest + // ExtrasCustomFieldChoicesListParams defines parameters for ExtrasCustomFieldChoicesList. type ExtrasCustomFieldChoicesListParams struct { - // Field (name) - Field *[]string `json:"field,omitempty"` + // Field Field (name) + Field *[]string `form:"field,omitempty" json:"field,omitempty"` - // Field (name) - FieldN *[]string `json:"field__n,omitempty"` + // FieldN Field (name) + FieldN *[]string `form:"field__n,omitempty" json:"field__n,omitempty"` - // Field - FieldId *[]openapi_types.UUID `json:"field_id,omitempty"` + // FieldId Field + FieldId *[]openapi_types.UUID `form:"field_id,omitempty" json:"field_id,omitempty"` - // Field - FieldIdN *[]openapi_types.UUID `json:"field_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // FieldIdN Field + FieldIdN *[]openapi_types.UUID `form:"field_id__n,omitempty" json:"field_id__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Value *[]string `json:"value,omitempty"` - ValueIc *[]string `json:"value__ic,omitempty"` - ValueIe *[]string `json:"value__ie,omitempty"` - ValueIew *[]string `json:"value__iew,omitempty"` - ValueIre *[]string `json:"value__ire,omitempty"` - ValueIsw *[]string `json:"value__isw,omitempty"` - ValueN *[]string `json:"value__n,omitempty"` - ValueNic *[]string `json:"value__nic,omitempty"` - ValueNie *[]string `json:"value__nie,omitempty"` - ValueNiew *[]string `json:"value__niew,omitempty"` - ValueNire *[]string `json:"value__nire,omitempty"` - ValueNisw *[]string `json:"value__nisw,omitempty"` - ValueNre *[]string `json:"value__nre,omitempty"` - ValueRe *[]string `json:"value__re,omitempty"` - Weight *[]int `json:"weight,omitempty"` - WeightGt *[]int `json:"weight__gt,omitempty"` - WeightGte *[]int `json:"weight__gte,omitempty"` - WeightLt *[]int `json:"weight__lt,omitempty"` - WeightLte *[]int `json:"weight__lte,omitempty"` - WeightN *[]int `json:"weight__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Value *[]string `form:"value,omitempty" json:"value,omitempty"` + ValueIc *[]string `form:"value__ic,omitempty" json:"value__ic,omitempty"` + ValueIe *[]string `form:"value__ie,omitempty" json:"value__ie,omitempty"` + ValueIew *[]string `form:"value__iew,omitempty" json:"value__iew,omitempty"` + ValueIre *[]string `form:"value__ire,omitempty" json:"value__ire,omitempty"` + ValueIsw *[]string `form:"value__isw,omitempty" json:"value__isw,omitempty"` + ValueN *[]string `form:"value__n,omitempty" json:"value__n,omitempty"` + ValueNic *[]string `form:"value__nic,omitempty" json:"value__nic,omitempty"` + ValueNie *[]string `form:"value__nie,omitempty" json:"value__nie,omitempty"` + ValueNiew *[]string `form:"value__niew,omitempty" json:"value__niew,omitempty"` + ValueNire *[]string `form:"value__nire,omitempty" json:"value__nire,omitempty"` + ValueNisw *[]string `form:"value__nisw,omitempty" json:"value__nisw,omitempty"` + ValueNre *[]string `form:"value__nre,omitempty" json:"value__nre,omitempty"` + ValueRe *[]string `form:"value__re,omitempty" json:"value__re,omitempty"` + Weight *[]int `form:"weight,omitempty" json:"weight,omitempty"` + WeightGt *[]int `form:"weight__gt,omitempty" json:"weight__gt,omitempty"` + WeightGte *[]int `form:"weight__gte,omitempty" json:"weight__gte,omitempty"` + WeightLt *[]int `form:"weight__lt,omitempty" json:"weight__lt,omitempty"` + WeightLte *[]int `form:"weight__lte,omitempty" json:"weight__lte,omitempty"` + WeightN *[]int `form:"weight__n,omitempty" json:"weight__n,omitempty"` } // ExtrasCustomFieldChoicesBulkPartialUpdateJSONBody defines parameters for ExtrasCustomFieldChoicesBulkPartialUpdate. -type ExtrasCustomFieldChoicesBulkPartialUpdateJSONBody PatchedWritableCustomFieldChoice - -// ExtrasCustomFieldChoicesCreateJSONBody defines parameters for ExtrasCustomFieldChoicesCreate. -type ExtrasCustomFieldChoicesCreateJSONBody WritableCustomFieldChoice +type ExtrasCustomFieldChoicesBulkPartialUpdateJSONBody = []PatchedBulkWritableCustomFieldChoiceRequest // ExtrasCustomFieldChoicesBulkUpdateJSONBody defines parameters for ExtrasCustomFieldChoicesBulkUpdate. -type ExtrasCustomFieldChoicesBulkUpdateJSONBody WritableCustomFieldChoice +type ExtrasCustomFieldChoicesBulkUpdateJSONBody = []BulkWritableCustomFieldChoiceRequest -// ExtrasCustomFieldChoicesPartialUpdateJSONBody defines parameters for ExtrasCustomFieldChoicesPartialUpdate. -type ExtrasCustomFieldChoicesPartialUpdateJSONBody PatchedWritableCustomFieldChoice - -// ExtrasCustomFieldChoicesUpdateJSONBody defines parameters for ExtrasCustomFieldChoicesUpdate. -type ExtrasCustomFieldChoicesUpdateJSONBody WritableCustomFieldChoice +// ExtrasCustomFieldsBulkDestroyJSONBody defines parameters for ExtrasCustomFieldsBulkDestroy. +type ExtrasCustomFieldsBulkDestroyJSONBody = []BulkOperationRequest // ExtrasCustomFieldsListParams defines parameters for ExtrasCustomFieldsList. type ExtrasCustomFieldsListParams struct { - ContentTypes *[]int `json:"content_types,omitempty"` - ContentTypesN *[]int `json:"content_types__n,omitempty"` + ContentTypes *[]int `form:"content_types,omitempty" json:"content_types,omitempty"` + ContentTypesN *[]int `form:"content_types__n,omitempty" json:"content_types__n,omitempty"` - // Loose matches any instance of a given string; Exact matches the entire field. - FilterLogic *string `json:"filter_logic,omitempty"` + // FilterLogic Loose matches any instance of a given string; Exact matches the entire field. + FilterLogic *string `form:"filter_logic,omitempty" json:"filter_logic,omitempty"` - // Loose matches any instance of a given string; Exact matches the entire field. - FilterLogicN *string `json:"filter_logic__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // FilterLogicN Loose matches any instance of a given string; Exact matches the entire field. + FilterLogicN *string `form:"filter_logic__n,omitempty" json:"filter_logic__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Required *bool `json:"required,omitempty"` - Weight *[]int `json:"weight,omitempty"` - WeightGt *[]int `json:"weight__gt,omitempty"` - WeightGte *[]int `json:"weight__gte,omitempty"` - WeightLt *[]int `json:"weight__lt,omitempty"` - WeightLte *[]int `json:"weight__lte,omitempty"` - WeightN *[]int `json:"weight__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Required *bool `form:"required,omitempty" json:"required,omitempty"` + Weight *[]int `form:"weight,omitempty" json:"weight,omitempty"` + WeightGt *[]int `form:"weight__gt,omitempty" json:"weight__gt,omitempty"` + WeightGte *[]int `form:"weight__gte,omitempty" json:"weight__gte,omitempty"` + WeightLt *[]int `form:"weight__lt,omitempty" json:"weight__lt,omitempty"` + WeightLte *[]int `form:"weight__lte,omitempty" json:"weight__lte,omitempty"` + WeightN *[]int `form:"weight__n,omitempty" json:"weight__n,omitempty"` } // ExtrasCustomFieldsBulkPartialUpdateJSONBody defines parameters for ExtrasCustomFieldsBulkPartialUpdate. -type ExtrasCustomFieldsBulkPartialUpdateJSONBody PatchedWritableCustomField - -// ExtrasCustomFieldsCreateJSONBody defines parameters for ExtrasCustomFieldsCreate. -type ExtrasCustomFieldsCreateJSONBody WritableCustomField +type ExtrasCustomFieldsBulkPartialUpdateJSONBody = []CustomFieldSerializerVersion12Request // ExtrasCustomFieldsBulkUpdateJSONBody defines parameters for ExtrasCustomFieldsBulkUpdate. -type ExtrasCustomFieldsBulkUpdateJSONBody WritableCustomField +type ExtrasCustomFieldsBulkUpdateJSONBody = []CustomFieldSerializerVersion12Request -// ExtrasCustomFieldsPartialUpdateJSONBody defines parameters for ExtrasCustomFieldsPartialUpdate. -type ExtrasCustomFieldsPartialUpdateJSONBody PatchedWritableCustomField +// ExtrasCustomFieldsNotesListParams defines parameters for ExtrasCustomFieldsNotesList. +type ExtrasCustomFieldsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// ExtrasCustomFieldsUpdateJSONBody defines parameters for ExtrasCustomFieldsUpdate. -type ExtrasCustomFieldsUpdateJSONBody WritableCustomField + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// ExtrasCustomLinksBulkDestroyJSONBody defines parameters for ExtrasCustomLinksBulkDestroy. +type ExtrasCustomLinksBulkDestroyJSONBody = []BulkOperationRequest // ExtrasCustomLinksListParams defines parameters for ExtrasCustomLinksList. type ExtrasCustomLinksListParams struct { - // The class of the first link in a group will be used for the dropdown button - ButtonClass *string `json:"button_class,omitempty"` + // ButtonClass The class of the first link in a group will be used for the dropdown button + ButtonClass *string `form:"button_class,omitempty" json:"button_class,omitempty"` - // The class of the first link in a group will be used for the dropdown button - ButtonClassN *string `json:"button_class__n,omitempty"` - ContentType *string `json:"content_type,omitempty"` - ContentTypeN *string `json:"content_type__n,omitempty"` - GroupName *[]string `json:"group_name,omitempty"` - GroupNameIc *[]string `json:"group_name__ic,omitempty"` - GroupNameIe *[]string `json:"group_name__ie,omitempty"` - GroupNameIew *[]string `json:"group_name__iew,omitempty"` - GroupNameIre *[]string `json:"group_name__ire,omitempty"` - GroupNameIsw *[]string `json:"group_name__isw,omitempty"` - GroupNameN *[]string `json:"group_name__n,omitempty"` - GroupNameNic *[]string `json:"group_name__nic,omitempty"` - GroupNameNie *[]string `json:"group_name__nie,omitempty"` - GroupNameNiew *[]string `json:"group_name__niew,omitempty"` - GroupNameNire *[]string `json:"group_name__nire,omitempty"` - GroupNameNisw *[]string `json:"group_name__nisw,omitempty"` - GroupNameNre *[]string `json:"group_name__nre,omitempty"` - GroupNameRe *[]string `json:"group_name__re,omitempty"` + // ButtonClassN The class of the first link in a group will be used for the dropdown button + ButtonClassN *string `form:"button_class__n,omitempty" json:"button_class__n,omitempty"` + ContentType *string `form:"content_type,omitempty" json:"content_type,omitempty"` + ContentTypeN *string `form:"content_type__n,omitempty" json:"content_type__n,omitempty"` + GroupName *[]string `form:"group_name,omitempty" json:"group_name,omitempty"` + GroupNameIc *[]string `form:"group_name__ic,omitempty" json:"group_name__ic,omitempty"` + GroupNameIe *[]string `form:"group_name__ie,omitempty" json:"group_name__ie,omitempty"` + GroupNameIew *[]string `form:"group_name__iew,omitempty" json:"group_name__iew,omitempty"` + GroupNameIre *[]string `form:"group_name__ire,omitempty" json:"group_name__ire,omitempty"` + GroupNameIsw *[]string `form:"group_name__isw,omitempty" json:"group_name__isw,omitempty"` + GroupNameN *[]string `form:"group_name__n,omitempty" json:"group_name__n,omitempty"` + GroupNameNic *[]string `form:"group_name__nic,omitempty" json:"group_name__nic,omitempty"` + GroupNameNie *[]string `form:"group_name__nie,omitempty" json:"group_name__nie,omitempty"` + GroupNameNiew *[]string `form:"group_name__niew,omitempty" json:"group_name__niew,omitempty"` + GroupNameNire *[]string `form:"group_name__nire,omitempty" json:"group_name__nire,omitempty"` + GroupNameNisw *[]string `form:"group_name__nisw,omitempty" json:"group_name__nisw,omitempty"` + GroupNameNre *[]string `form:"group_name__nre,omitempty" json:"group_name__nre,omitempty"` + GroupNameRe *[]string `form:"group_name__re,omitempty" json:"group_name__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` - NewWindow *bool `json:"new_window,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + NewWindow *bool `form:"new_window,omitempty" json:"new_window,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - TargetUrl *[]string `json:"target_url,omitempty"` - TargetUrlIc *[]string `json:"target_url__ic,omitempty"` - TargetUrlIe *[]string `json:"target_url__ie,omitempty"` - TargetUrlIew *[]string `json:"target_url__iew,omitempty"` - TargetUrlIre *[]string `json:"target_url__ire,omitempty"` - TargetUrlIsw *[]string `json:"target_url__isw,omitempty"` - TargetUrlN *[]string `json:"target_url__n,omitempty"` - TargetUrlNic *[]string `json:"target_url__nic,omitempty"` - TargetUrlNie *[]string `json:"target_url__nie,omitempty"` - TargetUrlNiew *[]string `json:"target_url__niew,omitempty"` - TargetUrlNire *[]string `json:"target_url__nire,omitempty"` - TargetUrlNisw *[]string `json:"target_url__nisw,omitempty"` - TargetUrlNre *[]string `json:"target_url__nre,omitempty"` - TargetUrlRe *[]string `json:"target_url__re,omitempty"` - Text *[]string `json:"text,omitempty"` - TextIc *[]string `json:"text__ic,omitempty"` - TextIe *[]string `json:"text__ie,omitempty"` - TextIew *[]string `json:"text__iew,omitempty"` - TextIre *[]string `json:"text__ire,omitempty"` - TextIsw *[]string `json:"text__isw,omitempty"` - TextN *[]string `json:"text__n,omitempty"` - TextNic *[]string `json:"text__nic,omitempty"` - TextNie *[]string `json:"text__nie,omitempty"` - TextNiew *[]string `json:"text__niew,omitempty"` - TextNire *[]string `json:"text__nire,omitempty"` - TextNisw *[]string `json:"text__nisw,omitempty"` - TextNre *[]string `json:"text__nre,omitempty"` - TextRe *[]string `json:"text__re,omitempty"` - Weight *[]int `json:"weight,omitempty"` - WeightGt *[]int `json:"weight__gt,omitempty"` - WeightGte *[]int `json:"weight__gte,omitempty"` - WeightLt *[]int `json:"weight__lt,omitempty"` - WeightLte *[]int `json:"weight__lte,omitempty"` - WeightN *[]int `json:"weight__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + TargetUrl *[]string `form:"target_url,omitempty" json:"target_url,omitempty"` + TargetUrlIc *[]string `form:"target_url__ic,omitempty" json:"target_url__ic,omitempty"` + TargetUrlIe *[]string `form:"target_url__ie,omitempty" json:"target_url__ie,omitempty"` + TargetUrlIew *[]string `form:"target_url__iew,omitempty" json:"target_url__iew,omitempty"` + TargetUrlIre *[]string `form:"target_url__ire,omitempty" json:"target_url__ire,omitempty"` + TargetUrlIsw *[]string `form:"target_url__isw,omitempty" json:"target_url__isw,omitempty"` + TargetUrlN *[]string `form:"target_url__n,omitempty" json:"target_url__n,omitempty"` + TargetUrlNic *[]string `form:"target_url__nic,omitempty" json:"target_url__nic,omitempty"` + TargetUrlNie *[]string `form:"target_url__nie,omitempty" json:"target_url__nie,omitempty"` + TargetUrlNiew *[]string `form:"target_url__niew,omitempty" json:"target_url__niew,omitempty"` + TargetUrlNire *[]string `form:"target_url__nire,omitempty" json:"target_url__nire,omitempty"` + TargetUrlNisw *[]string `form:"target_url__nisw,omitempty" json:"target_url__nisw,omitempty"` + TargetUrlNre *[]string `form:"target_url__nre,omitempty" json:"target_url__nre,omitempty"` + TargetUrlRe *[]string `form:"target_url__re,omitempty" json:"target_url__re,omitempty"` + Text *[]string `form:"text,omitempty" json:"text,omitempty"` + TextIc *[]string `form:"text__ic,omitempty" json:"text__ic,omitempty"` + TextIe *[]string `form:"text__ie,omitempty" json:"text__ie,omitempty"` + TextIew *[]string `form:"text__iew,omitempty" json:"text__iew,omitempty"` + TextIre *[]string `form:"text__ire,omitempty" json:"text__ire,omitempty"` + TextIsw *[]string `form:"text__isw,omitempty" json:"text__isw,omitempty"` + TextN *[]string `form:"text__n,omitempty" json:"text__n,omitempty"` + TextNic *[]string `form:"text__nic,omitempty" json:"text__nic,omitempty"` + TextNie *[]string `form:"text__nie,omitempty" json:"text__nie,omitempty"` + TextNiew *[]string `form:"text__niew,omitempty" json:"text__niew,omitempty"` + TextNire *[]string `form:"text__nire,omitempty" json:"text__nire,omitempty"` + TextNisw *[]string `form:"text__nisw,omitempty" json:"text__nisw,omitempty"` + TextNre *[]string `form:"text__nre,omitempty" json:"text__nre,omitempty"` + TextRe *[]string `form:"text__re,omitempty" json:"text__re,omitempty"` + Weight *[]int `form:"weight,omitempty" json:"weight,omitempty"` + WeightGt *[]int `form:"weight__gt,omitempty" json:"weight__gt,omitempty"` + WeightGte *[]int `form:"weight__gte,omitempty" json:"weight__gte,omitempty"` + WeightLt *[]int `form:"weight__lt,omitempty" json:"weight__lt,omitempty"` + WeightLte *[]int `form:"weight__lte,omitempty" json:"weight__lte,omitempty"` + WeightN *[]int `form:"weight__n,omitempty" json:"weight__n,omitempty"` } // ExtrasCustomLinksBulkPartialUpdateJSONBody defines parameters for ExtrasCustomLinksBulkPartialUpdate. -type ExtrasCustomLinksBulkPartialUpdateJSONBody PatchedCustomLink - -// ExtrasCustomLinksCreateJSONBody defines parameters for ExtrasCustomLinksCreate. -type ExtrasCustomLinksCreateJSONBody CustomLink +type ExtrasCustomLinksBulkPartialUpdateJSONBody = []PatchedBulkWritableCustomLinkRequest // ExtrasCustomLinksBulkUpdateJSONBody defines parameters for ExtrasCustomLinksBulkUpdate. -type ExtrasCustomLinksBulkUpdateJSONBody CustomLink +type ExtrasCustomLinksBulkUpdateJSONBody = []BulkWritableCustomLinkRequest -// ExtrasCustomLinksPartialUpdateJSONBody defines parameters for ExtrasCustomLinksPartialUpdate. -type ExtrasCustomLinksPartialUpdateJSONBody PatchedCustomLink +// ExtrasCustomLinksNotesListParams defines parameters for ExtrasCustomLinksNotesList. +type ExtrasCustomLinksNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// ExtrasCustomLinksUpdateJSONBody defines parameters for ExtrasCustomLinksUpdate. -type ExtrasCustomLinksUpdateJSONBody CustomLink + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// ExtrasDynamicGroupMembershipsBulkDestroyJSONBody defines parameters for ExtrasDynamicGroupMembershipsBulkDestroy. +type ExtrasDynamicGroupMembershipsBulkDestroyJSONBody = []BulkOperationRequest + +// ExtrasDynamicGroupMembershipsListParams defines parameters for ExtrasDynamicGroupMembershipsList. +type ExtrasDynamicGroupMembershipsListParams struct { + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + + // Group Group (slug or ID) + Group *[]openapi_types.UUID `form:"group,omitempty" json:"group,omitempty"` + + // GroupN Group (slug or ID) + GroupN *[]openapi_types.UUID `form:"group__n,omitempty" json:"group__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + Operator *ExtrasDynamicGroupMembershipsListParamsOperator `form:"operator,omitempty" json:"operator,omitempty"` + OperatorN *ExtrasDynamicGroupMembershipsListParamsOperatorN `form:"operator__n,omitempty" json:"operator__n,omitempty"` + + // ParentGroup Parent Group (slug or ID) + ParentGroup *[]openapi_types.UUID `form:"parent_group,omitempty" json:"parent_group,omitempty"` + + // ParentGroupN Parent Group (slug or ID) + ParentGroupN *[]openapi_types.UUID `form:"parent_group__n,omitempty" json:"parent_group__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Weight *[]int `form:"weight,omitempty" json:"weight,omitempty"` + WeightGt *[]int `form:"weight__gt,omitempty" json:"weight__gt,omitempty"` + WeightGte *[]int `form:"weight__gte,omitempty" json:"weight__gte,omitempty"` + WeightLt *[]int `form:"weight__lt,omitempty" json:"weight__lt,omitempty"` + WeightLte *[]int `form:"weight__lte,omitempty" json:"weight__lte,omitempty"` + WeightN *[]int `form:"weight__n,omitempty" json:"weight__n,omitempty"` +} + +// ExtrasDynamicGroupMembershipsListParamsOperator defines parameters for ExtrasDynamicGroupMembershipsList. +type ExtrasDynamicGroupMembershipsListParamsOperator string + +// ExtrasDynamicGroupMembershipsListParamsOperatorN defines parameters for ExtrasDynamicGroupMembershipsList. +type ExtrasDynamicGroupMembershipsListParamsOperatorN string + +// ExtrasDynamicGroupMembershipsBulkPartialUpdateJSONBody defines parameters for ExtrasDynamicGroupMembershipsBulkPartialUpdate. +type ExtrasDynamicGroupMembershipsBulkPartialUpdateJSONBody = []PatchedBulkWritableDynamicGroupMembershipRequest + +// ExtrasDynamicGroupMembershipsBulkUpdateJSONBody defines parameters for ExtrasDynamicGroupMembershipsBulkUpdate. +type ExtrasDynamicGroupMembershipsBulkUpdateJSONBody = []BulkWritableDynamicGroupMembershipRequest + +// ExtrasDynamicGroupsBulkDestroyJSONBody defines parameters for ExtrasDynamicGroupsBulkDestroy. +type ExtrasDynamicGroupsBulkDestroyJSONBody = []BulkOperationRequest // ExtrasDynamicGroupsListParams defines parameters for ExtrasDynamicGroupsList. type ExtrasDynamicGroupsListParams struct { - ContentType *[]int `json:"content_type,omitempty"` - ContentTypeN *[]int `json:"content_type__n,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Description *[]string `json:"description,omitempty"` - DescriptionIc *[]string `json:"description__ic,omitempty"` - DescriptionIe *[]string `json:"description__ie,omitempty"` - DescriptionIew *[]string `json:"description__iew,omitempty"` - DescriptionIre *[]string `json:"description__ire,omitempty"` - DescriptionIsw *[]string `json:"description__isw,omitempty"` - DescriptionN *[]string `json:"description__n,omitempty"` - DescriptionNic *[]string `json:"description__nic,omitempty"` - DescriptionNie *[]string `json:"description__nie,omitempty"` - DescriptionNiew *[]string `json:"description__niew,omitempty"` - DescriptionNire *[]string `json:"description__nire,omitempty"` - DescriptionNisw *[]string `json:"description__nisw,omitempty"` - DescriptionNre *[]string `json:"description__nre,omitempty"` - DescriptionRe *[]string `json:"description__re,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + ContentType *[]int `form:"content_type,omitempty" json:"content_type,omitempty"` + ContentTypeN *[]int `form:"content_type__n,omitempty" json:"content_type__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` } // ExtrasDynamicGroupsBulkPartialUpdateJSONBody defines parameters for ExtrasDynamicGroupsBulkPartialUpdate. -type ExtrasDynamicGroupsBulkPartialUpdateJSONBody PatchedDynamicGroup - -// ExtrasDynamicGroupsCreateJSONBody defines parameters for ExtrasDynamicGroupsCreate. -type ExtrasDynamicGroupsCreateJSONBody DynamicGroup +type ExtrasDynamicGroupsBulkPartialUpdateJSONBody = []PatchedBulkWritableDynamicGroupRequest // ExtrasDynamicGroupsBulkUpdateJSONBody defines parameters for ExtrasDynamicGroupsBulkUpdate. -type ExtrasDynamicGroupsBulkUpdateJSONBody DynamicGroup +type ExtrasDynamicGroupsBulkUpdateJSONBody = []BulkWritableDynamicGroupRequest -// ExtrasDynamicGroupsPartialUpdateJSONBody defines parameters for ExtrasDynamicGroupsPartialUpdate. -type ExtrasDynamicGroupsPartialUpdateJSONBody PatchedDynamicGroup +// ExtrasDynamicGroupsNotesListParams defines parameters for ExtrasDynamicGroupsNotesList. +type ExtrasDynamicGroupsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// ExtrasDynamicGroupsUpdateJSONBody defines parameters for ExtrasDynamicGroupsUpdate. -type ExtrasDynamicGroupsUpdateJSONBody DynamicGroup + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// ExtrasExportTemplatesBulkDestroyJSONBody defines parameters for ExtrasExportTemplatesBulkDestroy. +type ExtrasExportTemplatesBulkDestroyJSONBody = []BulkOperationRequest // ExtrasExportTemplatesListParams defines parameters for ExtrasExportTemplatesList. type ExtrasExportTemplatesListParams struct { - ContentType *int `json:"content_type,omitempty"` - ContentTypeN *int `json:"content_type__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + ContentType *int `form:"content_type,omitempty" json:"content_type,omitempty"` + ContentTypeN *int `form:"content_type__n,omitempty" json:"content_type__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` - OwnerContentType *string `json:"owner_content_type,omitempty"` - OwnerContentTypeN *string `json:"owner_content_type__n,omitempty"` - OwnerObjectId *[]openapi_types.UUID `json:"owner_object_id,omitempty"` - OwnerObjectIdIc *[]openapi_types.UUID `json:"owner_object_id__ic,omitempty"` - OwnerObjectIdIe *[]openapi_types.UUID `json:"owner_object_id__ie,omitempty"` - OwnerObjectIdIew *[]openapi_types.UUID `json:"owner_object_id__iew,omitempty"` - OwnerObjectIdIre *[]openapi_types.UUID `json:"owner_object_id__ire,omitempty"` - OwnerObjectIdIsw *[]openapi_types.UUID `json:"owner_object_id__isw,omitempty"` - OwnerObjectIdN *[]openapi_types.UUID `json:"owner_object_id__n,omitempty"` - OwnerObjectIdNic *[]openapi_types.UUID `json:"owner_object_id__nic,omitempty"` - OwnerObjectIdNie *[]openapi_types.UUID `json:"owner_object_id__nie,omitempty"` - OwnerObjectIdNiew *[]openapi_types.UUID `json:"owner_object_id__niew,omitempty"` - OwnerObjectIdNire *[]openapi_types.UUID `json:"owner_object_id__nire,omitempty"` - OwnerObjectIdNisw *[]openapi_types.UUID `json:"owner_object_id__nisw,omitempty"` - OwnerObjectIdNre *[]openapi_types.UUID `json:"owner_object_id__nre,omitempty"` - OwnerObjectIdRe *[]openapi_types.UUID `json:"owner_object_id__re,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + OwnerContentType *string `form:"owner_content_type,omitempty" json:"owner_content_type,omitempty"` + OwnerContentTypeN *string `form:"owner_content_type__n,omitempty" json:"owner_content_type__n,omitempty"` + OwnerObjectId *[]openapi_types.UUID `form:"owner_object_id,omitempty" json:"owner_object_id,omitempty"` + OwnerObjectIdIc *[]openapi_types.UUID `form:"owner_object_id__ic,omitempty" json:"owner_object_id__ic,omitempty"` + OwnerObjectIdIe *[]openapi_types.UUID `form:"owner_object_id__ie,omitempty" json:"owner_object_id__ie,omitempty"` + OwnerObjectIdIew *[]openapi_types.UUID `form:"owner_object_id__iew,omitempty" json:"owner_object_id__iew,omitempty"` + OwnerObjectIdIre *[]openapi_types.UUID `form:"owner_object_id__ire,omitempty" json:"owner_object_id__ire,omitempty"` + OwnerObjectIdIsw *[]openapi_types.UUID `form:"owner_object_id__isw,omitempty" json:"owner_object_id__isw,omitempty"` + OwnerObjectIdN *[]openapi_types.UUID `form:"owner_object_id__n,omitempty" json:"owner_object_id__n,omitempty"` + OwnerObjectIdNic *[]openapi_types.UUID `form:"owner_object_id__nic,omitempty" json:"owner_object_id__nic,omitempty"` + OwnerObjectIdNie *[]openapi_types.UUID `form:"owner_object_id__nie,omitempty" json:"owner_object_id__nie,omitempty"` + OwnerObjectIdNiew *[]openapi_types.UUID `form:"owner_object_id__niew,omitempty" json:"owner_object_id__niew,omitempty"` + OwnerObjectIdNire *[]openapi_types.UUID `form:"owner_object_id__nire,omitempty" json:"owner_object_id__nire,omitempty"` + OwnerObjectIdNisw *[]openapi_types.UUID `form:"owner_object_id__nisw,omitempty" json:"owner_object_id__nisw,omitempty"` + OwnerObjectIdNre *[]openapi_types.UUID `form:"owner_object_id__nre,omitempty" json:"owner_object_id__nre,omitempty"` + OwnerObjectIdRe *[]openapi_types.UUID `form:"owner_object_id__re,omitempty" json:"owner_object_id__re,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` } // ExtrasExportTemplatesBulkPartialUpdateJSONBody defines parameters for ExtrasExportTemplatesBulkPartialUpdate. -type ExtrasExportTemplatesBulkPartialUpdateJSONBody PatchedExportTemplate - -// ExtrasExportTemplatesCreateJSONBody defines parameters for ExtrasExportTemplatesCreate. -type ExtrasExportTemplatesCreateJSONBody ExportTemplate +type ExtrasExportTemplatesBulkPartialUpdateJSONBody = []PatchedBulkWritableExportTemplateRequest // ExtrasExportTemplatesBulkUpdateJSONBody defines parameters for ExtrasExportTemplatesBulkUpdate. -type ExtrasExportTemplatesBulkUpdateJSONBody ExportTemplate +type ExtrasExportTemplatesBulkUpdateJSONBody = []BulkWritableExportTemplateRequest -// ExtrasExportTemplatesPartialUpdateJSONBody defines parameters for ExtrasExportTemplatesPartialUpdate. -type ExtrasExportTemplatesPartialUpdateJSONBody PatchedExportTemplate +// ExtrasExportTemplatesNotesListParams defines parameters for ExtrasExportTemplatesNotesList. +type ExtrasExportTemplatesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// ExtrasExportTemplatesUpdateJSONBody defines parameters for ExtrasExportTemplatesUpdate. -type ExtrasExportTemplatesUpdateJSONBody ExportTemplate + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// ExtrasGitRepositoriesBulkDestroyJSONBody defines parameters for ExtrasGitRepositoriesBulkDestroy. +type ExtrasGitRepositoriesBulkDestroyJSONBody = []BulkOperationRequest // ExtrasGitRepositoriesListParams defines parameters for ExtrasGitRepositoriesList. type ExtrasGitRepositoriesListParams struct { - Branch *[]string `json:"branch,omitempty"` - BranchIc *[]string `json:"branch__ic,omitempty"` - BranchIe *[]string `json:"branch__ie,omitempty"` - BranchIew *[]string `json:"branch__iew,omitempty"` - BranchIre *[]string `json:"branch__ire,omitempty"` - BranchIsw *[]string `json:"branch__isw,omitempty"` - BranchN *[]string `json:"branch__n,omitempty"` - BranchNic *[]string `json:"branch__nic,omitempty"` - BranchNie *[]string `json:"branch__nie,omitempty"` - BranchNiew *[]string `json:"branch__niew,omitempty"` - BranchNire *[]string `json:"branch__nire,omitempty"` - BranchNisw *[]string `json:"branch__nisw,omitempty"` - BranchNre *[]string `json:"branch__nre,omitempty"` - BranchRe *[]string `json:"branch__re,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + Branch *[]string `form:"branch,omitempty" json:"branch,omitempty"` + BranchIc *[]string `form:"branch__ic,omitempty" json:"branch__ic,omitempty"` + BranchIe *[]string `form:"branch__ie,omitempty" json:"branch__ie,omitempty"` + BranchIew *[]string `form:"branch__iew,omitempty" json:"branch__iew,omitempty"` + BranchIre *[]string `form:"branch__ire,omitempty" json:"branch__ire,omitempty"` + BranchIsw *[]string `form:"branch__isw,omitempty" json:"branch__isw,omitempty"` + BranchN *[]string `form:"branch__n,omitempty" json:"branch__n,omitempty"` + BranchNic *[]string `form:"branch__nic,omitempty" json:"branch__nic,omitempty"` + BranchNie *[]string `form:"branch__nie,omitempty" json:"branch__nie,omitempty"` + BranchNiew *[]string `form:"branch__niew,omitempty" json:"branch__niew,omitempty"` + BranchNire *[]string `form:"branch__nire,omitempty" json:"branch__nire,omitempty"` + BranchNisw *[]string `form:"branch__nisw,omitempty" json:"branch__nisw,omitempty"` + BranchNre *[]string `form:"branch__nre,omitempty" json:"branch__nre,omitempty"` + BranchRe *[]string `form:"branch__re,omitempty" json:"branch__re,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + ProvidedContents *[]string `form:"provided_contents,omitempty" json:"provided_contents,omitempty"` - // Search - Q *string `json:"q,omitempty"` - RemoteUrl *[]string `json:"remote_url,omitempty"` - RemoteUrlIc *[]string `json:"remote_url__ic,omitempty"` - RemoteUrlIe *[]string `json:"remote_url__ie,omitempty"` - RemoteUrlIew *[]string `json:"remote_url__iew,omitempty"` - RemoteUrlIre *[]string `json:"remote_url__ire,omitempty"` - RemoteUrlIsw *[]string `json:"remote_url__isw,omitempty"` - RemoteUrlN *[]string `json:"remote_url__n,omitempty"` - RemoteUrlNic *[]string `json:"remote_url__nic,omitempty"` - RemoteUrlNie *[]string `json:"remote_url__nie,omitempty"` - RemoteUrlNiew *[]string `json:"remote_url__niew,omitempty"` - RemoteUrlNire *[]string `json:"remote_url__nire,omitempty"` - RemoteUrlNisw *[]string `json:"remote_url__nisw,omitempty"` - RemoteUrlNre *[]string `json:"remote_url__nre,omitempty"` - RemoteUrlRe *[]string `json:"remote_url__re,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + RemoteUrl *[]string `form:"remote_url,omitempty" json:"remote_url,omitempty"` + RemoteUrlIc *[]string `form:"remote_url__ic,omitempty" json:"remote_url__ic,omitempty"` + RemoteUrlIe *[]string `form:"remote_url__ie,omitempty" json:"remote_url__ie,omitempty"` + RemoteUrlIew *[]string `form:"remote_url__iew,omitempty" json:"remote_url__iew,omitempty"` + RemoteUrlIre *[]string `form:"remote_url__ire,omitempty" json:"remote_url__ire,omitempty"` + RemoteUrlIsw *[]string `form:"remote_url__isw,omitempty" json:"remote_url__isw,omitempty"` + RemoteUrlN *[]string `form:"remote_url__n,omitempty" json:"remote_url__n,omitempty"` + RemoteUrlNic *[]string `form:"remote_url__nic,omitempty" json:"remote_url__nic,omitempty"` + RemoteUrlNie *[]string `form:"remote_url__nie,omitempty" json:"remote_url__nie,omitempty"` + RemoteUrlNiew *[]string `form:"remote_url__niew,omitempty" json:"remote_url__niew,omitempty"` + RemoteUrlNire *[]string `form:"remote_url__nire,omitempty" json:"remote_url__nire,omitempty"` + RemoteUrlNisw *[]string `form:"remote_url__nisw,omitempty" json:"remote_url__nisw,omitempty"` + RemoteUrlNre *[]string `form:"remote_url__nre,omitempty" json:"remote_url__nre,omitempty"` + RemoteUrlRe *[]string `form:"remote_url__re,omitempty" json:"remote_url__re,omitempty"` - // Secrets group (slug) - SecretsGroup *[]string `json:"secrets_group,omitempty"` + // SecretsGroup Secrets group (slug) + SecretsGroup *[]string `form:"secrets_group,omitempty" json:"secrets_group,omitempty"` - // Secrets group (slug) - SecretsGroupN *[]string `json:"secrets_group__n,omitempty"` + // SecretsGroupN Secrets group (slug) + SecretsGroupN *[]string `form:"secrets_group__n,omitempty" json:"secrets_group__n,omitempty"` - // Secrets group (ID) - SecretsGroupId *[]openapi_types.UUID `json:"secrets_group_id,omitempty"` + // SecretsGroupId Secrets group (ID) + SecretsGroupId *[]openapi_types.UUID `form:"secrets_group_id,omitempty" json:"secrets_group_id,omitempty"` - // Secrets group (ID) - SecretsGroupIdN *[]openapi_types.UUID `json:"secrets_group_id__n,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // SecretsGroupIdN Secrets group (ID) + SecretsGroupIdN *[]openapi_types.UUID `form:"secrets_group_id__n,omitempty" json:"secrets_group_id__n,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` } // ExtrasGitRepositoriesBulkPartialUpdateJSONBody defines parameters for ExtrasGitRepositoriesBulkPartialUpdate. -type ExtrasGitRepositoriesBulkPartialUpdateJSONBody PatchedWritableGitRepository - -// ExtrasGitRepositoriesCreateJSONBody defines parameters for ExtrasGitRepositoriesCreate. -type ExtrasGitRepositoriesCreateJSONBody WritableGitRepository +type ExtrasGitRepositoriesBulkPartialUpdateJSONBody = []PatchedBulkWritableGitRepositoryRequest // ExtrasGitRepositoriesBulkUpdateJSONBody defines parameters for ExtrasGitRepositoriesBulkUpdate. -type ExtrasGitRepositoriesBulkUpdateJSONBody WritableGitRepository +type ExtrasGitRepositoriesBulkUpdateJSONBody = []BulkWritableGitRepositoryRequest -// ExtrasGitRepositoriesPartialUpdateJSONBody defines parameters for ExtrasGitRepositoriesPartialUpdate. -type ExtrasGitRepositoriesPartialUpdateJSONBody PatchedWritableGitRepository +// ExtrasGitRepositoriesNotesListParams defines parameters for ExtrasGitRepositoriesNotesList. +type ExtrasGitRepositoriesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// ExtrasGitRepositoriesUpdateJSONBody defines parameters for ExtrasGitRepositoriesUpdate. -type ExtrasGitRepositoriesUpdateJSONBody WritableGitRepository + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} -// ExtrasGitRepositoriesSyncCreateJSONBody defines parameters for ExtrasGitRepositoriesSyncCreate. -type ExtrasGitRepositoriesSyncCreateJSONBody GitRepository +// ExtrasGraphqlQueriesBulkDestroyJSONBody defines parameters for ExtrasGraphqlQueriesBulkDestroy. +type ExtrasGraphqlQueriesBulkDestroyJSONBody = []BulkOperationRequest // ExtrasGraphqlQueriesListParams defines parameters for ExtrasGraphqlQueriesList. type ExtrasGraphqlQueriesListParams struct { - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` } // ExtrasGraphqlQueriesBulkPartialUpdateJSONBody defines parameters for ExtrasGraphqlQueriesBulkPartialUpdate. -type ExtrasGraphqlQueriesBulkPartialUpdateJSONBody PatchedGraphQLQuery - -// ExtrasGraphqlQueriesCreateJSONBody defines parameters for ExtrasGraphqlQueriesCreate. -type ExtrasGraphqlQueriesCreateJSONBody GraphQLQuery +type ExtrasGraphqlQueriesBulkPartialUpdateJSONBody = []PatchedBulkWritableGraphQLQueryRequest // ExtrasGraphqlQueriesBulkUpdateJSONBody defines parameters for ExtrasGraphqlQueriesBulkUpdate. -type ExtrasGraphqlQueriesBulkUpdateJSONBody GraphQLQuery +type ExtrasGraphqlQueriesBulkUpdateJSONBody = []BulkWritableGraphQLQueryRequest -// ExtrasGraphqlQueriesPartialUpdateJSONBody defines parameters for ExtrasGraphqlQueriesPartialUpdate. -type ExtrasGraphqlQueriesPartialUpdateJSONBody PatchedGraphQLQuery +// ExtrasGraphqlQueriesNotesListParams defines parameters for ExtrasGraphqlQueriesNotesList. +type ExtrasGraphqlQueriesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// ExtrasGraphqlQueriesUpdateJSONBody defines parameters for ExtrasGraphqlQueriesUpdate. -type ExtrasGraphqlQueriesUpdateJSONBody GraphQLQuery + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} -// ExtrasGraphqlQueriesRunCreateJSONBody defines parameters for ExtrasGraphqlQueriesRunCreate. -type ExtrasGraphqlQueriesRunCreateJSONBody GraphQLQueryInput +// ExtrasImageAttachmentsBulkDestroyJSONBody defines parameters for ExtrasImageAttachmentsBulkDestroy. +type ExtrasImageAttachmentsBulkDestroyJSONBody = []BulkOperationRequest // ExtrasImageAttachmentsListParams defines parameters for ExtrasImageAttachmentsList. type ExtrasImageAttachmentsListParams struct { - ContentType *string `json:"content_type,omitempty"` - ContentTypeN *string `json:"content_type__n,omitempty"` - ContentTypeId *int `json:"content_type_id,omitempty"` - ContentTypeIdN *int `json:"content_type_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + ContentType *string `form:"content_type,omitempty" json:"content_type,omitempty"` + ContentTypeN *string `form:"content_type__n,omitempty" json:"content_type__n,omitempty"` + ContentTypeId *int `form:"content_type_id,omitempty" json:"content_type_id,omitempty"` + ContentTypeIdN *int `form:"content_type_id__n,omitempty" json:"content_type_id__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` - ObjectId *[]openapi_types.UUID `json:"object_id,omitempty"` - ObjectIdIc *[]openapi_types.UUID `json:"object_id__ic,omitempty"` - ObjectIdIe *[]openapi_types.UUID `json:"object_id__ie,omitempty"` - ObjectIdIew *[]openapi_types.UUID `json:"object_id__iew,omitempty"` - ObjectIdIre *[]openapi_types.UUID `json:"object_id__ire,omitempty"` - ObjectIdIsw *[]openapi_types.UUID `json:"object_id__isw,omitempty"` - ObjectIdN *[]openapi_types.UUID `json:"object_id__n,omitempty"` - ObjectIdNic *[]openapi_types.UUID `json:"object_id__nic,omitempty"` - ObjectIdNie *[]openapi_types.UUID `json:"object_id__nie,omitempty"` - ObjectIdNiew *[]openapi_types.UUID `json:"object_id__niew,omitempty"` - ObjectIdNire *[]openapi_types.UUID `json:"object_id__nire,omitempty"` - ObjectIdNisw *[]openapi_types.UUID `json:"object_id__nisw,omitempty"` - ObjectIdNre *[]openapi_types.UUID `json:"object_id__nre,omitempty"` - ObjectIdRe *[]openapi_types.UUID `json:"object_id__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + ObjectId *[]openapi_types.UUID `form:"object_id,omitempty" json:"object_id,omitempty"` + ObjectIdIc *[]openapi_types.UUID `form:"object_id__ic,omitempty" json:"object_id__ic,omitempty"` + ObjectIdIe *[]openapi_types.UUID `form:"object_id__ie,omitempty" json:"object_id__ie,omitempty"` + ObjectIdIew *[]openapi_types.UUID `form:"object_id__iew,omitempty" json:"object_id__iew,omitempty"` + ObjectIdIre *[]openapi_types.UUID `form:"object_id__ire,omitempty" json:"object_id__ire,omitempty"` + ObjectIdIsw *[]openapi_types.UUID `form:"object_id__isw,omitempty" json:"object_id__isw,omitempty"` + ObjectIdN *[]openapi_types.UUID `form:"object_id__n,omitempty" json:"object_id__n,omitempty"` + ObjectIdNic *[]openapi_types.UUID `form:"object_id__nic,omitempty" json:"object_id__nic,omitempty"` + ObjectIdNie *[]openapi_types.UUID `form:"object_id__nie,omitempty" json:"object_id__nie,omitempty"` + ObjectIdNiew *[]openapi_types.UUID `form:"object_id__niew,omitempty" json:"object_id__niew,omitempty"` + ObjectIdNire *[]openapi_types.UUID `form:"object_id__nire,omitempty" json:"object_id__nire,omitempty"` + ObjectIdNisw *[]openapi_types.UUID `form:"object_id__nisw,omitempty" json:"object_id__nisw,omitempty"` + ObjectIdNre *[]openapi_types.UUID `form:"object_id__nre,omitempty" json:"object_id__nre,omitempty"` + ObjectIdRe *[]openapi_types.UUID `form:"object_id__re,omitempty" json:"object_id__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` } // ExtrasImageAttachmentsBulkPartialUpdateJSONBody defines parameters for ExtrasImageAttachmentsBulkPartialUpdate. -type ExtrasImageAttachmentsBulkPartialUpdateJSONBody PatchedImageAttachment - -// ExtrasImageAttachmentsCreateJSONBody defines parameters for ExtrasImageAttachmentsCreate. -type ExtrasImageAttachmentsCreateJSONBody ImageAttachment +type ExtrasImageAttachmentsBulkPartialUpdateJSONBody = []PatchedBulkWritableImageAttachmentRequest // ExtrasImageAttachmentsBulkUpdateJSONBody defines parameters for ExtrasImageAttachmentsBulkUpdate. -type ExtrasImageAttachmentsBulkUpdateJSONBody ImageAttachment +type ExtrasImageAttachmentsBulkUpdateJSONBody = []BulkWritableImageAttachmentRequest -// ExtrasImageAttachmentsPartialUpdateJSONBody defines parameters for ExtrasImageAttachmentsPartialUpdate. -type ExtrasImageAttachmentsPartialUpdateJSONBody PatchedImageAttachment +// ExtrasJobHooksBulkDestroyJSONBody defines parameters for ExtrasJobHooksBulkDestroy. +type ExtrasJobHooksBulkDestroyJSONBody = []BulkOperationRequest -// ExtrasImageAttachmentsUpdateJSONBody defines parameters for ExtrasImageAttachmentsUpdate. -type ExtrasImageAttachmentsUpdateJSONBody ImageAttachment +// ExtrasJobHooksListParams defines parameters for ExtrasJobHooksList. +type ExtrasJobHooksListParams struct { + ContentTypes *[]int `form:"content_types,omitempty" json:"content_types,omitempty"` + ContentTypesN *[]int `form:"content_types__n,omitempty" json:"content_types__n,omitempty"` + Enabled *bool `form:"enabled,omitempty" json:"enabled,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + + // Job Job (slug or ID) + Job *[]openapi_types.UUID `form:"job,omitempty" json:"job,omitempty"` + + // JobN Job (slug or ID) + JobN *[]openapi_types.UUID `form:"job__n,omitempty" json:"job__n,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` + TypeCreate *bool `form:"type_create,omitempty" json:"type_create,omitempty"` + TypeDelete *bool `form:"type_delete,omitempty" json:"type_delete,omitempty"` + TypeUpdate *bool `form:"type_update,omitempty" json:"type_update,omitempty"` +} + +// ExtrasJobHooksBulkPartialUpdateJSONBody defines parameters for ExtrasJobHooksBulkPartialUpdate. +type ExtrasJobHooksBulkPartialUpdateJSONBody = []PatchedBulkWritableJobHookRequest + +// ExtrasJobHooksBulkUpdateJSONBody defines parameters for ExtrasJobHooksBulkUpdate. +type ExtrasJobHooksBulkUpdateJSONBody = []BulkWritableJobHookRequest + +// ExtrasJobHooksNotesListParams defines parameters for ExtrasJobHooksNotesList. +type ExtrasJobHooksNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} // ExtrasJobLogsListParams defines parameters for ExtrasJobLogsList. type ExtrasJobLogsListParams struct { - AbsoluteUrl *[]string `json:"absolute_url,omitempty"` - AbsoluteUrlIc *[]string `json:"absolute_url__ic,omitempty"` - AbsoluteUrlIe *[]string `json:"absolute_url__ie,omitempty"` - AbsoluteUrlIew *[]string `json:"absolute_url__iew,omitempty"` - AbsoluteUrlIre *[]string `json:"absolute_url__ire,omitempty"` - AbsoluteUrlIsw *[]string `json:"absolute_url__isw,omitempty"` - AbsoluteUrlN *[]string `json:"absolute_url__n,omitempty"` - AbsoluteUrlNic *[]string `json:"absolute_url__nic,omitempty"` - AbsoluteUrlNie *[]string `json:"absolute_url__nie,omitempty"` - AbsoluteUrlNiew *[]string `json:"absolute_url__niew,omitempty"` - AbsoluteUrlNire *[]string `json:"absolute_url__nire,omitempty"` - AbsoluteUrlNisw *[]string `json:"absolute_url__nisw,omitempty"` - AbsoluteUrlNre *[]string `json:"absolute_url__nre,omitempty"` - AbsoluteUrlRe *[]string `json:"absolute_url__re,omitempty"` - Created *[]time.Time `json:"created,omitempty"` - CreatedGt *[]time.Time `json:"created__gt,omitempty"` - CreatedGte *[]time.Time `json:"created__gte,omitempty"` - CreatedLt *[]time.Time `json:"created__lt,omitempty"` - CreatedLte *[]time.Time `json:"created__lte,omitempty"` - CreatedN *[]time.Time `json:"created__n,omitempty"` - Grouping *[]string `json:"grouping,omitempty"` - GroupingIc *[]string `json:"grouping__ic,omitempty"` - GroupingIe *[]string `json:"grouping__ie,omitempty"` - GroupingIew *[]string `json:"grouping__iew,omitempty"` - GroupingIre *[]string `json:"grouping__ire,omitempty"` - GroupingIsw *[]string `json:"grouping__isw,omitempty"` - GroupingN *[]string `json:"grouping__n,omitempty"` - GroupingNic *[]string `json:"grouping__nic,omitempty"` - GroupingNie *[]string `json:"grouping__nie,omitempty"` - GroupingNiew *[]string `json:"grouping__niew,omitempty"` - GroupingNire *[]string `json:"grouping__nire,omitempty"` - GroupingNisw *[]string `json:"grouping__nisw,omitempty"` - GroupingNre *[]string `json:"grouping__nre,omitempty"` - GroupingRe *[]string `json:"grouping__re,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - JobResult *openapi_types.UUID `json:"job_result,omitempty"` - JobResultN *openapi_types.UUID `json:"job_result__n,omitempty"` + AbsoluteUrl *[]string `form:"absolute_url,omitempty" json:"absolute_url,omitempty"` + AbsoluteUrlIc *[]string `form:"absolute_url__ic,omitempty" json:"absolute_url__ic,omitempty"` + AbsoluteUrlIe *[]string `form:"absolute_url__ie,omitempty" json:"absolute_url__ie,omitempty"` + AbsoluteUrlIew *[]string `form:"absolute_url__iew,omitempty" json:"absolute_url__iew,omitempty"` + AbsoluteUrlIre *[]string `form:"absolute_url__ire,omitempty" json:"absolute_url__ire,omitempty"` + AbsoluteUrlIsw *[]string `form:"absolute_url__isw,omitempty" json:"absolute_url__isw,omitempty"` + AbsoluteUrlN *[]string `form:"absolute_url__n,omitempty" json:"absolute_url__n,omitempty"` + AbsoluteUrlNic *[]string `form:"absolute_url__nic,omitempty" json:"absolute_url__nic,omitempty"` + AbsoluteUrlNie *[]string `form:"absolute_url__nie,omitempty" json:"absolute_url__nie,omitempty"` + AbsoluteUrlNiew *[]string `form:"absolute_url__niew,omitempty" json:"absolute_url__niew,omitempty"` + AbsoluteUrlNire *[]string `form:"absolute_url__nire,omitempty" json:"absolute_url__nire,omitempty"` + AbsoluteUrlNisw *[]string `form:"absolute_url__nisw,omitempty" json:"absolute_url__nisw,omitempty"` + AbsoluteUrlNre *[]string `form:"absolute_url__nre,omitempty" json:"absolute_url__nre,omitempty"` + AbsoluteUrlRe *[]string `form:"absolute_url__re,omitempty" json:"absolute_url__re,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + Grouping *[]string `form:"grouping,omitempty" json:"grouping,omitempty"` + GroupingIc *[]string `form:"grouping__ic,omitempty" json:"grouping__ic,omitempty"` + GroupingIe *[]string `form:"grouping__ie,omitempty" json:"grouping__ie,omitempty"` + GroupingIew *[]string `form:"grouping__iew,omitempty" json:"grouping__iew,omitempty"` + GroupingIre *[]string `form:"grouping__ire,omitempty" json:"grouping__ire,omitempty"` + GroupingIsw *[]string `form:"grouping__isw,omitempty" json:"grouping__isw,omitempty"` + GroupingN *[]string `form:"grouping__n,omitempty" json:"grouping__n,omitempty"` + GroupingNic *[]string `form:"grouping__nic,omitempty" json:"grouping__nic,omitempty"` + GroupingNie *[]string `form:"grouping__nie,omitempty" json:"grouping__nie,omitempty"` + GroupingNiew *[]string `form:"grouping__niew,omitempty" json:"grouping__niew,omitempty"` + GroupingNire *[]string `form:"grouping__nire,omitempty" json:"grouping__nire,omitempty"` + GroupingNisw *[]string `form:"grouping__nisw,omitempty" json:"grouping__nisw,omitempty"` + GroupingNre *[]string `form:"grouping__nre,omitempty" json:"grouping__nre,omitempty"` + GroupingRe *[]string `form:"grouping__re,omitempty" json:"grouping__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + JobResult *openapi_types.UUID `form:"job_result,omitempty" json:"job_result,omitempty"` + JobResultN *openapi_types.UUID `form:"job_result__n,omitempty" json:"job_result__n,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - LogLevel *string `json:"log_level,omitempty"` - LogLevelN *string `json:"log_level__n,omitempty"` - LogObject *[]string `json:"log_object,omitempty"` - LogObjectIc *[]string `json:"log_object__ic,omitempty"` - LogObjectIe *[]string `json:"log_object__ie,omitempty"` - LogObjectIew *[]string `json:"log_object__iew,omitempty"` - LogObjectIre *[]string `json:"log_object__ire,omitempty"` - LogObjectIsw *[]string `json:"log_object__isw,omitempty"` - LogObjectN *[]string `json:"log_object__n,omitempty"` - LogObjectNic *[]string `json:"log_object__nic,omitempty"` - LogObjectNie *[]string `json:"log_object__nie,omitempty"` - LogObjectNiew *[]string `json:"log_object__niew,omitempty"` - LogObjectNire *[]string `json:"log_object__nire,omitempty"` - LogObjectNisw *[]string `json:"log_object__nisw,omitempty"` - LogObjectNre *[]string `json:"log_object__nre,omitempty"` - LogObjectRe *[]string `json:"log_object__re,omitempty"` - Message *[]string `json:"message,omitempty"` - MessageIc *[]string `json:"message__ic,omitempty"` - MessageIe *[]string `json:"message__ie,omitempty"` - MessageIew *[]string `json:"message__iew,omitempty"` - MessageIre *[]string `json:"message__ire,omitempty"` - MessageIsw *[]string `json:"message__isw,omitempty"` - MessageN *[]string `json:"message__n,omitempty"` - MessageNic *[]string `json:"message__nic,omitempty"` - MessageNie *[]string `json:"message__nie,omitempty"` - MessageNiew *[]string `json:"message__niew,omitempty"` - MessageNire *[]string `json:"message__nire,omitempty"` - MessageNisw *[]string `json:"message__nisw,omitempty"` - MessageNre *[]string `json:"message__nre,omitempty"` - MessageRe *[]string `json:"message__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + LogLevel *string `form:"log_level,omitempty" json:"log_level,omitempty"` + LogLevelN *string `form:"log_level__n,omitempty" json:"log_level__n,omitempty"` + LogObject *[]string `form:"log_object,omitempty" json:"log_object,omitempty"` + LogObjectIc *[]string `form:"log_object__ic,omitempty" json:"log_object__ic,omitempty"` + LogObjectIe *[]string `form:"log_object__ie,omitempty" json:"log_object__ie,omitempty"` + LogObjectIew *[]string `form:"log_object__iew,omitempty" json:"log_object__iew,omitempty"` + LogObjectIre *[]string `form:"log_object__ire,omitempty" json:"log_object__ire,omitempty"` + LogObjectIsw *[]string `form:"log_object__isw,omitempty" json:"log_object__isw,omitempty"` + LogObjectN *[]string `form:"log_object__n,omitempty" json:"log_object__n,omitempty"` + LogObjectNic *[]string `form:"log_object__nic,omitempty" json:"log_object__nic,omitempty"` + LogObjectNie *[]string `form:"log_object__nie,omitempty" json:"log_object__nie,omitempty"` + LogObjectNiew *[]string `form:"log_object__niew,omitempty" json:"log_object__niew,omitempty"` + LogObjectNire *[]string `form:"log_object__nire,omitempty" json:"log_object__nire,omitempty"` + LogObjectNisw *[]string `form:"log_object__nisw,omitempty" json:"log_object__nisw,omitempty"` + LogObjectNre *[]string `form:"log_object__nre,omitempty" json:"log_object__nre,omitempty"` + LogObjectRe *[]string `form:"log_object__re,omitempty" json:"log_object__re,omitempty"` + Message *[]string `form:"message,omitempty" json:"message,omitempty"` + MessageIc *[]string `form:"message__ic,omitempty" json:"message__ic,omitempty"` + MessageIe *[]string `form:"message__ie,omitempty" json:"message__ie,omitempty"` + MessageIew *[]string `form:"message__iew,omitempty" json:"message__iew,omitempty"` + MessageIre *[]string `form:"message__ire,omitempty" json:"message__ire,omitempty"` + MessageIsw *[]string `form:"message__isw,omitempty" json:"message__isw,omitempty"` + MessageN *[]string `form:"message__n,omitempty" json:"message__n,omitempty"` + MessageNic *[]string `form:"message__nic,omitempty" json:"message__nic,omitempty"` + MessageNie *[]string `form:"message__nie,omitempty" json:"message__nie,omitempty"` + MessageNiew *[]string `form:"message__niew,omitempty" json:"message__niew,omitempty"` + MessageNire *[]string `form:"message__nire,omitempty" json:"message__nire,omitempty"` + MessageNisw *[]string `form:"message__nisw,omitempty" json:"message__nisw,omitempty"` + MessageNre *[]string `form:"message__nre,omitempty" json:"message__nre,omitempty"` + MessageRe *[]string `form:"message__re,omitempty" json:"message__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` } +// ExtrasJobResultsBulkDestroyJSONBody defines parameters for ExtrasJobResultsBulkDestroy. +type ExtrasJobResultsBulkDestroyJSONBody = []BulkOperationRequest + // ExtrasJobResultsListParams defines parameters for ExtrasJobResultsList. type ExtrasJobResultsListParams struct { - Completed *time.Time `json:"completed,omitempty"` - Created *time.Time `json:"created,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + Completed *time.Time `form:"completed,omitempty" json:"completed,omitempty"` + Created *time.Time `form:"created,omitempty" json:"created,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Job (slug) - JobModel *[]string `json:"job_model,omitempty"` + // JobModel Job (slug) + JobModel *[]string `form:"job_model,omitempty" json:"job_model,omitempty"` - // Job (slug) - JobModelN *[]string `json:"job_model__n,omitempty"` + // JobModelN Job (slug) + JobModelN *[]string `form:"job_model__n,omitempty" json:"job_model__n,omitempty"` - // Job (ID) - JobModelId *[]openapi_types.UUID `json:"job_model_id,omitempty"` + // JobModelId Job (ID) + JobModelId *[]openapi_types.UUID `form:"job_model_id,omitempty" json:"job_model_id,omitempty"` - // Job (ID) - JobModelIdN *[]openapi_types.UUID `json:"job_model_id__n,omitempty"` + // JobModelIdN Job (ID) + JobModelIdN *[]openapi_types.UUID `form:"job_model_id__n,omitempty" json:"job_model_id__n,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` - ObjType *string `json:"obj_type,omitempty"` - ObjTypeN *string `json:"obj_type__n,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + ObjType *string `form:"obj_type,omitempty" json:"obj_type,omitempty"` + ObjTypeN *string `form:"obj_type__n,omitempty" json:"obj_type__n,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Status *[]string `json:"status,omitempty"` - StatusN *[]string `json:"status__n,omitempty"` - User *openapi_types.UUID `json:"user,omitempty"` - UserN *openapi_types.UUID `json:"user__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + User *openapi_types.UUID `form:"user,omitempty" json:"user,omitempty"` + UserN *openapi_types.UUID `form:"user__n,omitempty" json:"user__n,omitempty"` } -// ExtrasJobResultsBulkPartialUpdateJSONBody defines parameters for ExtrasJobResultsBulkPartialUpdate. -type ExtrasJobResultsBulkPartialUpdateJSONBody PatchedJobResult - -// ExtrasJobResultsCreateJSONBody defines parameters for ExtrasJobResultsCreate. -type ExtrasJobResultsCreateJSONBody JobResult - -// ExtrasJobResultsBulkUpdateJSONBody defines parameters for ExtrasJobResultsBulkUpdate. -type ExtrasJobResultsBulkUpdateJSONBody JobResult - -// ExtrasJobResultsPartialUpdateJSONBody defines parameters for ExtrasJobResultsPartialUpdate. -type ExtrasJobResultsPartialUpdateJSONBody PatchedJobResult - -// ExtrasJobResultsUpdateJSONBody defines parameters for ExtrasJobResultsUpdate. -type ExtrasJobResultsUpdateJSONBody JobResult +// ExtrasJobsBulkDestroyJSONBody defines parameters for ExtrasJobsBulkDestroy. +type ExtrasJobsBulkDestroyJSONBody = []BulkOperationRequest // ExtrasJobsListParams defines parameters for ExtrasJobsList. type ExtrasJobsListParams struct { - ApprovalRequired *bool `json:"approval_required,omitempty"` - ApprovalRequiredOverride *bool `json:"approval_required_override,omitempty"` - CommitDefault *bool `json:"commit_default,omitempty"` - CommitDefaultOverride *bool `json:"commit_default_override,omitempty"` - DescriptionOverride *bool `json:"description_override,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - Grouping *[]string `json:"grouping,omitempty"` - GroupingIc *[]string `json:"grouping__ic,omitempty"` - GroupingIe *[]string `json:"grouping__ie,omitempty"` - GroupingIew *[]string `json:"grouping__iew,omitempty"` - GroupingIre *[]string `json:"grouping__ire,omitempty"` - GroupingIsw *[]string `json:"grouping__isw,omitempty"` - GroupingN *[]string `json:"grouping__n,omitempty"` - GroupingNic *[]string `json:"grouping__nic,omitempty"` - GroupingNie *[]string `json:"grouping__nie,omitempty"` - GroupingNiew *[]string `json:"grouping__niew,omitempty"` - GroupingNire *[]string `json:"grouping__nire,omitempty"` - GroupingNisw *[]string `json:"grouping__nisw,omitempty"` - GroupingNre *[]string `json:"grouping__nre,omitempty"` - GroupingRe *[]string `json:"grouping__re,omitempty"` - GroupingOverride *bool `json:"grouping_override,omitempty"` - Hidden *bool `json:"hidden,omitempty"` - HiddenOverride *bool `json:"hidden_override,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - Installed *bool `json:"installed,omitempty"` - JobClassName *[]string `json:"job_class_name,omitempty"` - JobClassNameIc *[]string `json:"job_class_name__ic,omitempty"` - JobClassNameIe *[]string `json:"job_class_name__ie,omitempty"` - JobClassNameIew *[]string `json:"job_class_name__iew,omitempty"` - JobClassNameIre *[]string `json:"job_class_name__ire,omitempty"` - JobClassNameIsw *[]string `json:"job_class_name__isw,omitempty"` - JobClassNameN *[]string `json:"job_class_name__n,omitempty"` - JobClassNameNic *[]string `json:"job_class_name__nic,omitempty"` - JobClassNameNie *[]string `json:"job_class_name__nie,omitempty"` - JobClassNameNiew *[]string `json:"job_class_name__niew,omitempty"` - JobClassNameNire *[]string `json:"job_class_name__nire,omitempty"` - JobClassNameNisw *[]string `json:"job_class_name__nisw,omitempty"` - JobClassNameNre *[]string `json:"job_class_name__nre,omitempty"` - JobClassNameRe *[]string `json:"job_class_name__re,omitempty"` + ApprovalRequired *bool `form:"approval_required,omitempty" json:"approval_required,omitempty"` + ApprovalRequiredOverride *bool `form:"approval_required_override,omitempty" json:"approval_required_override,omitempty"` + CommitDefault *bool `form:"commit_default,omitempty" json:"commit_default,omitempty"` + CommitDefaultOverride *bool `form:"commit_default_override,omitempty" json:"commit_default_override,omitempty"` + DescriptionOverride *bool `form:"description_override,omitempty" json:"description_override,omitempty"` + Enabled *bool `form:"enabled,omitempty" json:"enabled,omitempty"` + Grouping *[]string `form:"grouping,omitempty" json:"grouping,omitempty"` + GroupingIc *[]string `form:"grouping__ic,omitempty" json:"grouping__ic,omitempty"` + GroupingIe *[]string `form:"grouping__ie,omitempty" json:"grouping__ie,omitempty"` + GroupingIew *[]string `form:"grouping__iew,omitempty" json:"grouping__iew,omitempty"` + GroupingIre *[]string `form:"grouping__ire,omitempty" json:"grouping__ire,omitempty"` + GroupingIsw *[]string `form:"grouping__isw,omitempty" json:"grouping__isw,omitempty"` + GroupingN *[]string `form:"grouping__n,omitempty" json:"grouping__n,omitempty"` + GroupingNic *[]string `form:"grouping__nic,omitempty" json:"grouping__nic,omitempty"` + GroupingNie *[]string `form:"grouping__nie,omitempty" json:"grouping__nie,omitempty"` + GroupingNiew *[]string `form:"grouping__niew,omitempty" json:"grouping__niew,omitempty"` + GroupingNire *[]string `form:"grouping__nire,omitempty" json:"grouping__nire,omitempty"` + GroupingNisw *[]string `form:"grouping__nisw,omitempty" json:"grouping__nisw,omitempty"` + GroupingNre *[]string `form:"grouping__nre,omitempty" json:"grouping__nre,omitempty"` + GroupingRe *[]string `form:"grouping__re,omitempty" json:"grouping__re,omitempty"` + GroupingOverride *bool `form:"grouping_override,omitempty" json:"grouping_override,omitempty"` + HasSensitiveVariables *bool `form:"has_sensitive_variables,omitempty" json:"has_sensitive_variables,omitempty"` + HasSensitiveVariablesOverride *bool `form:"has_sensitive_variables_override,omitempty" json:"has_sensitive_variables_override,omitempty"` + Hidden *bool `form:"hidden,omitempty" json:"hidden,omitempty"` + HiddenOverride *bool `form:"hidden_override,omitempty" json:"hidden_override,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + Installed *bool `form:"installed,omitempty" json:"installed,omitempty"` + IsJobHookReceiver *bool `form:"is_job_hook_receiver,omitempty" json:"is_job_hook_receiver,omitempty"` + JobClassName *[]string `form:"job_class_name,omitempty" json:"job_class_name,omitempty"` + JobClassNameIc *[]string `form:"job_class_name__ic,omitempty" json:"job_class_name__ic,omitempty"` + JobClassNameIe *[]string `form:"job_class_name__ie,omitempty" json:"job_class_name__ie,omitempty"` + JobClassNameIew *[]string `form:"job_class_name__iew,omitempty" json:"job_class_name__iew,omitempty"` + JobClassNameIre *[]string `form:"job_class_name__ire,omitempty" json:"job_class_name__ire,omitempty"` + JobClassNameIsw *[]string `form:"job_class_name__isw,omitempty" json:"job_class_name__isw,omitempty"` + JobClassNameN *[]string `form:"job_class_name__n,omitempty" json:"job_class_name__n,omitempty"` + JobClassNameNic *[]string `form:"job_class_name__nic,omitempty" json:"job_class_name__nic,omitempty"` + JobClassNameNie *[]string `form:"job_class_name__nie,omitempty" json:"job_class_name__nie,omitempty"` + JobClassNameNiew *[]string `form:"job_class_name__niew,omitempty" json:"job_class_name__niew,omitempty"` + JobClassNameNire *[]string `form:"job_class_name__nire,omitempty" json:"job_class_name__nire,omitempty"` + JobClassNameNisw *[]string `form:"job_class_name__nisw,omitempty" json:"job_class_name__nisw,omitempty"` + JobClassNameNre *[]string `form:"job_class_name__nre,omitempty" json:"job_class_name__nre,omitempty"` + JobClassNameRe *[]string `form:"job_class_name__re,omitempty" json:"job_class_name__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - ModuleName *[]string `json:"module_name,omitempty"` - ModuleNameIc *[]string `json:"module_name__ic,omitempty"` - ModuleNameIe *[]string `json:"module_name__ie,omitempty"` - ModuleNameIew *[]string `json:"module_name__iew,omitempty"` - ModuleNameIre *[]string `json:"module_name__ire,omitempty"` - ModuleNameIsw *[]string `json:"module_name__isw,omitempty"` - ModuleNameN *[]string `json:"module_name__n,omitempty"` - ModuleNameNic *[]string `json:"module_name__nic,omitempty"` - ModuleNameNie *[]string `json:"module_name__nie,omitempty"` - ModuleNameNiew *[]string `json:"module_name__niew,omitempty"` - ModuleNameNire *[]string `json:"module_name__nire,omitempty"` - ModuleNameNisw *[]string `json:"module_name__nisw,omitempty"` - ModuleNameNre *[]string `json:"module_name__nre,omitempty"` - ModuleNameRe *[]string `json:"module_name__re,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` - NameOverride *bool `json:"name_override,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ModuleName *[]string `form:"module_name,omitempty" json:"module_name,omitempty"` + ModuleNameIc *[]string `form:"module_name__ic,omitempty" json:"module_name__ic,omitempty"` + ModuleNameIe *[]string `form:"module_name__ie,omitempty" json:"module_name__ie,omitempty"` + ModuleNameIew *[]string `form:"module_name__iew,omitempty" json:"module_name__iew,omitempty"` + ModuleNameIre *[]string `form:"module_name__ire,omitempty" json:"module_name__ire,omitempty"` + ModuleNameIsw *[]string `form:"module_name__isw,omitempty" json:"module_name__isw,omitempty"` + ModuleNameN *[]string `form:"module_name__n,omitempty" json:"module_name__n,omitempty"` + ModuleNameNic *[]string `form:"module_name__nic,omitempty" json:"module_name__nic,omitempty"` + ModuleNameNie *[]string `form:"module_name__nie,omitempty" json:"module_name__nie,omitempty"` + ModuleNameNiew *[]string `form:"module_name__niew,omitempty" json:"module_name__niew,omitempty"` + ModuleNameNire *[]string `form:"module_name__nire,omitempty" json:"module_name__nire,omitempty"` + ModuleNameNisw *[]string `form:"module_name__nisw,omitempty" json:"module_name__nisw,omitempty"` + ModuleNameNre *[]string `form:"module_name__nre,omitempty" json:"module_name__nre,omitempty"` + ModuleNameRe *[]string `form:"module_name__re,omitempty" json:"module_name__re,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + NameOverride *bool `form:"name_override,omitempty" json:"name_override,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - ReadOnly *bool `json:"read_only,omitempty"` - ReadOnlyOverride *bool `json:"read_only_override,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` - SoftTimeLimit *[]float32 `json:"soft_time_limit,omitempty"` - SoftTimeLimitGt *[]float32 `json:"soft_time_limit__gt,omitempty"` - SoftTimeLimitGte *[]float32 `json:"soft_time_limit__gte,omitempty"` - SoftTimeLimitLt *[]float32 `json:"soft_time_limit__lt,omitempty"` - SoftTimeLimitLte *[]float32 `json:"soft_time_limit__lte,omitempty"` - SoftTimeLimitN *[]float32 `json:"soft_time_limit__n,omitempty"` - SoftTimeLimitOverride *bool `json:"soft_time_limit_override,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + ReadOnly *bool `form:"read_only,omitempty" json:"read_only,omitempty"` + ReadOnlyOverride *bool `form:"read_only_override,omitempty" json:"read_only_override,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` + SoftTimeLimit *[]float32 `form:"soft_time_limit,omitempty" json:"soft_time_limit,omitempty"` + SoftTimeLimitGt *[]float32 `form:"soft_time_limit__gt,omitempty" json:"soft_time_limit__gt,omitempty"` + SoftTimeLimitGte *[]float32 `form:"soft_time_limit__gte,omitempty" json:"soft_time_limit__gte,omitempty"` + SoftTimeLimitLt *[]float32 `form:"soft_time_limit__lt,omitempty" json:"soft_time_limit__lt,omitempty"` + SoftTimeLimitLte *[]float32 `form:"soft_time_limit__lte,omitempty" json:"soft_time_limit__lte,omitempty"` + SoftTimeLimitN *[]float32 `form:"soft_time_limit__n,omitempty" json:"soft_time_limit__n,omitempty"` + SoftTimeLimitOverride *bool `form:"soft_time_limit_override,omitempty" json:"soft_time_limit_override,omitempty"` - // Source of the Python code for this job - local, Git repository, or plugins - Source *string `json:"source,omitempty"` + // Source Source of the Python code for this job - local, Git repository, or plugins + Source *string `form:"source,omitempty" json:"source,omitempty"` - // Source of the Python code for this job - local, Git repository, or plugins - SourceN *string `json:"source__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` - TimeLimit *[]float32 `json:"time_limit,omitempty"` - TimeLimitGt *[]float32 `json:"time_limit__gt,omitempty"` - TimeLimitGte *[]float32 `json:"time_limit__gte,omitempty"` - TimeLimitLt *[]float32 `json:"time_limit__lt,omitempty"` - TimeLimitLte *[]float32 `json:"time_limit__lte,omitempty"` - TimeLimitN *[]float32 `json:"time_limit__n,omitempty"` - TimeLimitOverride *bool `json:"time_limit_override,omitempty"` + // SourceN Source of the Python code for this job - local, Git repository, or plugins + SourceN *string `form:"source__n,omitempty" json:"source__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + TimeLimit *[]float32 `form:"time_limit,omitempty" json:"time_limit,omitempty"` + TimeLimitGt *[]float32 `form:"time_limit__gt,omitempty" json:"time_limit__gt,omitempty"` + TimeLimitGte *[]float32 `form:"time_limit__gte,omitempty" json:"time_limit__gte,omitempty"` + TimeLimitLt *[]float32 `form:"time_limit__lt,omitempty" json:"time_limit__lt,omitempty"` + TimeLimitLte *[]float32 `form:"time_limit__lte,omitempty" json:"time_limit__lte,omitempty"` + TimeLimitN *[]float32 `form:"time_limit__n,omitempty" json:"time_limit__n,omitempty"` + TimeLimitOverride *bool `form:"time_limit_override,omitempty" json:"time_limit_override,omitempty"` } // ExtrasJobsBulkPartialUpdateJSONBody defines parameters for ExtrasJobsBulkPartialUpdate. -type ExtrasJobsBulkPartialUpdateJSONBody PatchedJob +type ExtrasJobsBulkPartialUpdateJSONBody = []PatchedBulkWritableJobRequest // ExtrasJobsBulkUpdateJSONBody defines parameters for ExtrasJobsBulkUpdate. -type ExtrasJobsBulkUpdateJSONBody Job +type ExtrasJobsBulkUpdateJSONBody = []BulkWritableJobRequest -// ExtrasJobsRunDeprecatedJSONBody defines parameters for ExtrasJobsRunDeprecated. -type ExtrasJobsRunDeprecatedJSONBody JobInput +// ExtrasJobsNotesListParams defines parameters for ExtrasJobsNotesList. +type ExtrasJobsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// ExtrasJobsPartialUpdateJSONBody defines parameters for ExtrasJobsPartialUpdate. -type ExtrasJobsPartialUpdateJSONBody PatchedJob - -// ExtrasJobsUpdateJSONBody defines parameters for ExtrasJobsUpdate. -type ExtrasJobsUpdateJSONBody Job - -// ExtrasJobsRunCreateJSONBody defines parameters for ExtrasJobsRunCreate. -type ExtrasJobsRunCreateJSONBody JobInput + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} // ExtrasJobsVariablesListParams defines parameters for ExtrasJobsVariablesList. type ExtrasJobsVariablesListParams struct { - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` } +// ExtrasNotesBulkDestroyJSONBody defines parameters for ExtrasNotesBulkDestroy. +type ExtrasNotesBulkDestroyJSONBody = []BulkOperationRequest + +// ExtrasNotesListParams defines parameters for ExtrasNotesList. +type ExtrasNotesListParams struct { + AssignedObjectId *[]openapi_types.UUID `form:"assigned_object_id,omitempty" json:"assigned_object_id,omitempty"` + AssignedObjectIdIc *[]openapi_types.UUID `form:"assigned_object_id__ic,omitempty" json:"assigned_object_id__ic,omitempty"` + AssignedObjectIdIe *[]openapi_types.UUID `form:"assigned_object_id__ie,omitempty" json:"assigned_object_id__ie,omitempty"` + AssignedObjectIdIew *[]openapi_types.UUID `form:"assigned_object_id__iew,omitempty" json:"assigned_object_id__iew,omitempty"` + AssignedObjectIdIre *[]openapi_types.UUID `form:"assigned_object_id__ire,omitempty" json:"assigned_object_id__ire,omitempty"` + AssignedObjectIdIsw *[]openapi_types.UUID `form:"assigned_object_id__isw,omitempty" json:"assigned_object_id__isw,omitempty"` + AssignedObjectIdN *[]openapi_types.UUID `form:"assigned_object_id__n,omitempty" json:"assigned_object_id__n,omitempty"` + AssignedObjectIdNic *[]openapi_types.UUID `form:"assigned_object_id__nic,omitempty" json:"assigned_object_id__nic,omitempty"` + AssignedObjectIdNie *[]openapi_types.UUID `form:"assigned_object_id__nie,omitempty" json:"assigned_object_id__nie,omitempty"` + AssignedObjectIdNiew *[]openapi_types.UUID `form:"assigned_object_id__niew,omitempty" json:"assigned_object_id__niew,omitempty"` + AssignedObjectIdNire *[]openapi_types.UUID `form:"assigned_object_id__nire,omitempty" json:"assigned_object_id__nire,omitempty"` + AssignedObjectIdNisw *[]openapi_types.UUID `form:"assigned_object_id__nisw,omitempty" json:"assigned_object_id__nisw,omitempty"` + AssignedObjectIdNre *[]openapi_types.UUID `form:"assigned_object_id__nre,omitempty" json:"assigned_object_id__nre,omitempty"` + AssignedObjectIdRe *[]openapi_types.UUID `form:"assigned_object_id__re,omitempty" json:"assigned_object_id__re,omitempty"` + AssignedObjectType *string `form:"assigned_object_type,omitempty" json:"assigned_object_type,omitempty"` + AssignedObjectTypeN *string `form:"assigned_object_type__n,omitempty" json:"assigned_object_type__n,omitempty"` + AssignedObjectTypeId *int `form:"assigned_object_type_id,omitempty" json:"assigned_object_type_id,omitempty"` + AssignedObjectTypeIdN *int `form:"assigned_object_type_id__n,omitempty" json:"assigned_object_type_id__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Note *[]string `form:"note,omitempty" json:"note,omitempty"` + NoteIc *[]string `form:"note__ic,omitempty" json:"note__ic,omitempty"` + NoteIe *[]string `form:"note__ie,omitempty" json:"note__ie,omitempty"` + NoteIew *[]string `form:"note__iew,omitempty" json:"note__iew,omitempty"` + NoteIre *[]string `form:"note__ire,omitempty" json:"note__ire,omitempty"` + NoteIsw *[]string `form:"note__isw,omitempty" json:"note__isw,omitempty"` + NoteN *[]string `form:"note__n,omitempty" json:"note__n,omitempty"` + NoteNic *[]string `form:"note__nic,omitempty" json:"note__nic,omitempty"` + NoteNie *[]string `form:"note__nie,omitempty" json:"note__nie,omitempty"` + NoteNiew *[]string `form:"note__niew,omitempty" json:"note__niew,omitempty"` + NoteNire *[]string `form:"note__nire,omitempty" json:"note__nire,omitempty"` + NoteNisw *[]string `form:"note__nisw,omitempty" json:"note__nisw,omitempty"` + NoteNre *[]string `form:"note__nre,omitempty" json:"note__nre,omitempty"` + NoteRe *[]string `form:"note__re,omitempty" json:"note__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // User User (username or ID) + User *[]openapi_types.UUID `form:"user,omitempty" json:"user,omitempty"` + + // UserN User (username or ID) + UserN *[]openapi_types.UUID `form:"user__n,omitempty" json:"user__n,omitempty"` + UserName *[]string `form:"user_name,omitempty" json:"user_name,omitempty"` + UserNameIc *[]string `form:"user_name__ic,omitempty" json:"user_name__ic,omitempty"` + UserNameIe *[]string `form:"user_name__ie,omitempty" json:"user_name__ie,omitempty"` + UserNameIew *[]string `form:"user_name__iew,omitempty" json:"user_name__iew,omitempty"` + UserNameIre *[]string `form:"user_name__ire,omitempty" json:"user_name__ire,omitempty"` + UserNameIsw *[]string `form:"user_name__isw,omitempty" json:"user_name__isw,omitempty"` + UserNameN *[]string `form:"user_name__n,omitempty" json:"user_name__n,omitempty"` + UserNameNic *[]string `form:"user_name__nic,omitempty" json:"user_name__nic,omitempty"` + UserNameNie *[]string `form:"user_name__nie,omitempty" json:"user_name__nie,omitempty"` + UserNameNiew *[]string `form:"user_name__niew,omitempty" json:"user_name__niew,omitempty"` + UserNameNire *[]string `form:"user_name__nire,omitempty" json:"user_name__nire,omitempty"` + UserNameNisw *[]string `form:"user_name__nisw,omitempty" json:"user_name__nisw,omitempty"` + UserNameNre *[]string `form:"user_name__nre,omitempty" json:"user_name__nre,omitempty"` + UserNameRe *[]string `form:"user_name__re,omitempty" json:"user_name__re,omitempty"` +} + +// ExtrasNotesBulkPartialUpdateJSONBody defines parameters for ExtrasNotesBulkPartialUpdate. +type ExtrasNotesBulkPartialUpdateJSONBody = []PatchedBulkWritableNoteRequest + +// ExtrasNotesBulkUpdateJSONBody defines parameters for ExtrasNotesBulkUpdate. +type ExtrasNotesBulkUpdateJSONBody = []BulkWritableNoteRequest + // ExtrasObjectChangesListParams defines parameters for ExtrasObjectChangesList. type ExtrasObjectChangesListParams struct { - Action *string `json:"action,omitempty"` - ActionN *string `json:"action__n,omitempty"` - ChangedObjectId *[]openapi_types.UUID `json:"changed_object_id,omitempty"` - ChangedObjectIdIc *[]openapi_types.UUID `json:"changed_object_id__ic,omitempty"` - ChangedObjectIdIe *[]openapi_types.UUID `json:"changed_object_id__ie,omitempty"` - ChangedObjectIdIew *[]openapi_types.UUID `json:"changed_object_id__iew,omitempty"` - ChangedObjectIdIre *[]openapi_types.UUID `json:"changed_object_id__ire,omitempty"` - ChangedObjectIdIsw *[]openapi_types.UUID `json:"changed_object_id__isw,omitempty"` - ChangedObjectIdN *[]openapi_types.UUID `json:"changed_object_id__n,omitempty"` - ChangedObjectIdNic *[]openapi_types.UUID `json:"changed_object_id__nic,omitempty"` - ChangedObjectIdNie *[]openapi_types.UUID `json:"changed_object_id__nie,omitempty"` - ChangedObjectIdNiew *[]openapi_types.UUID `json:"changed_object_id__niew,omitempty"` - ChangedObjectIdNire *[]openapi_types.UUID `json:"changed_object_id__nire,omitempty"` - ChangedObjectIdNisw *[]openapi_types.UUID `json:"changed_object_id__nisw,omitempty"` - ChangedObjectIdNre *[]openapi_types.UUID `json:"changed_object_id__nre,omitempty"` - ChangedObjectIdRe *[]openapi_types.UUID `json:"changed_object_id__re,omitempty"` - ChangedObjectType *string `json:"changed_object_type,omitempty"` - ChangedObjectTypeN *string `json:"changed_object_type__n,omitempty"` - ChangedObjectTypeId *int `json:"changed_object_type_id,omitempty"` - ChangedObjectTypeIdN *int `json:"changed_object_type_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + Action *string `form:"action,omitempty" json:"action,omitempty"` + ActionN *string `form:"action__n,omitempty" json:"action__n,omitempty"` + ChangedObjectId *[]openapi_types.UUID `form:"changed_object_id,omitempty" json:"changed_object_id,omitempty"` + ChangedObjectIdIc *[]openapi_types.UUID `form:"changed_object_id__ic,omitempty" json:"changed_object_id__ic,omitempty"` + ChangedObjectIdIe *[]openapi_types.UUID `form:"changed_object_id__ie,omitempty" json:"changed_object_id__ie,omitempty"` + ChangedObjectIdIew *[]openapi_types.UUID `form:"changed_object_id__iew,omitempty" json:"changed_object_id__iew,omitempty"` + ChangedObjectIdIre *[]openapi_types.UUID `form:"changed_object_id__ire,omitempty" json:"changed_object_id__ire,omitempty"` + ChangedObjectIdIsw *[]openapi_types.UUID `form:"changed_object_id__isw,omitempty" json:"changed_object_id__isw,omitempty"` + ChangedObjectIdN *[]openapi_types.UUID `form:"changed_object_id__n,omitempty" json:"changed_object_id__n,omitempty"` + ChangedObjectIdNic *[]openapi_types.UUID `form:"changed_object_id__nic,omitempty" json:"changed_object_id__nic,omitempty"` + ChangedObjectIdNie *[]openapi_types.UUID `form:"changed_object_id__nie,omitempty" json:"changed_object_id__nie,omitempty"` + ChangedObjectIdNiew *[]openapi_types.UUID `form:"changed_object_id__niew,omitempty" json:"changed_object_id__niew,omitempty"` + ChangedObjectIdNire *[]openapi_types.UUID `form:"changed_object_id__nire,omitempty" json:"changed_object_id__nire,omitempty"` + ChangedObjectIdNisw *[]openapi_types.UUID `form:"changed_object_id__nisw,omitempty" json:"changed_object_id__nisw,omitempty"` + ChangedObjectIdNre *[]openapi_types.UUID `form:"changed_object_id__nre,omitempty" json:"changed_object_id__nre,omitempty"` + ChangedObjectIdRe *[]openapi_types.UUID `form:"changed_object_id__re,omitempty" json:"changed_object_id__re,omitempty"` + ChangedObjectType *string `form:"changed_object_type,omitempty" json:"changed_object_type,omitempty"` + ChangedObjectTypeN *string `form:"changed_object_type__n,omitempty" json:"changed_object_type__n,omitempty"` + ChangedObjectTypeId *int `form:"changed_object_type_id,omitempty" json:"changed_object_type_id,omitempty"` + ChangedObjectTypeIdN *int `form:"changed_object_type_id__n,omitempty" json:"changed_object_type_id__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - ObjectRepr *[]string `json:"object_repr,omitempty"` - ObjectReprIc *[]string `json:"object_repr__ic,omitempty"` - ObjectReprIe *[]string `json:"object_repr__ie,omitempty"` - ObjectReprIew *[]string `json:"object_repr__iew,omitempty"` - ObjectReprIre *[]string `json:"object_repr__ire,omitempty"` - ObjectReprIsw *[]string `json:"object_repr__isw,omitempty"` - ObjectReprN *[]string `json:"object_repr__n,omitempty"` - ObjectReprNic *[]string `json:"object_repr__nic,omitempty"` - ObjectReprNie *[]string `json:"object_repr__nie,omitempty"` - ObjectReprNiew *[]string `json:"object_repr__niew,omitempty"` - ObjectReprNire *[]string `json:"object_repr__nire,omitempty"` - ObjectReprNisw *[]string `json:"object_repr__nisw,omitempty"` - ObjectReprNre *[]string `json:"object_repr__nre,omitempty"` - ObjectReprRe *[]string `json:"object_repr__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + ObjectRepr *[]string `form:"object_repr,omitempty" json:"object_repr,omitempty"` + ObjectReprIc *[]string `form:"object_repr__ic,omitempty" json:"object_repr__ic,omitempty"` + ObjectReprIe *[]string `form:"object_repr__ie,omitempty" json:"object_repr__ie,omitempty"` + ObjectReprIew *[]string `form:"object_repr__iew,omitempty" json:"object_repr__iew,omitempty"` + ObjectReprIre *[]string `form:"object_repr__ire,omitempty" json:"object_repr__ire,omitempty"` + ObjectReprIsw *[]string `form:"object_repr__isw,omitempty" json:"object_repr__isw,omitempty"` + ObjectReprN *[]string `form:"object_repr__n,omitempty" json:"object_repr__n,omitempty"` + ObjectReprNic *[]string `form:"object_repr__nic,omitempty" json:"object_repr__nic,omitempty"` + ObjectReprNie *[]string `form:"object_repr__nie,omitempty" json:"object_repr__nie,omitempty"` + ObjectReprNiew *[]string `form:"object_repr__niew,omitempty" json:"object_repr__niew,omitempty"` + ObjectReprNire *[]string `form:"object_repr__nire,omitempty" json:"object_repr__nire,omitempty"` + ObjectReprNisw *[]string `form:"object_repr__nisw,omitempty" json:"object_repr__nisw,omitempty"` + ObjectReprNre *[]string `form:"object_repr__nre,omitempty" json:"object_repr__nre,omitempty"` + ObjectReprRe *[]string `form:"object_repr__re,omitempty" json:"object_repr__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - RequestId *[]openapi_types.UUID `json:"request_id,omitempty"` - RequestIdIc *[]openapi_types.UUID `json:"request_id__ic,omitempty"` - RequestIdIe *[]openapi_types.UUID `json:"request_id__ie,omitempty"` - RequestIdIew *[]openapi_types.UUID `json:"request_id__iew,omitempty"` - RequestIdIre *[]openapi_types.UUID `json:"request_id__ire,omitempty"` - RequestIdIsw *[]openapi_types.UUID `json:"request_id__isw,omitempty"` - RequestIdN *[]openapi_types.UUID `json:"request_id__n,omitempty"` - RequestIdNic *[]openapi_types.UUID `json:"request_id__nic,omitempty"` - RequestIdNie *[]openapi_types.UUID `json:"request_id__nie,omitempty"` - RequestIdNiew *[]openapi_types.UUID `json:"request_id__niew,omitempty"` - RequestIdNire *[]openapi_types.UUID `json:"request_id__nire,omitempty"` - RequestIdNisw *[]openapi_types.UUID `json:"request_id__nisw,omitempty"` - RequestIdNre *[]openapi_types.UUID `json:"request_id__nre,omitempty"` - RequestIdRe *[]openapi_types.UUID `json:"request_id__re,omitempty"` - Time *[]time.Time `json:"time,omitempty"` - TimeGt *[]time.Time `json:"time__gt,omitempty"` - TimeGte *[]time.Time `json:"time__gte,omitempty"` - TimeLt *[]time.Time `json:"time__lt,omitempty"` - TimeLte *[]time.Time `json:"time__lte,omitempty"` - TimeN *[]time.Time `json:"time__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + RequestId *[]openapi_types.UUID `form:"request_id,omitempty" json:"request_id,omitempty"` + RequestIdIc *[]openapi_types.UUID `form:"request_id__ic,omitempty" json:"request_id__ic,omitempty"` + RequestIdIe *[]openapi_types.UUID `form:"request_id__ie,omitempty" json:"request_id__ie,omitempty"` + RequestIdIew *[]openapi_types.UUID `form:"request_id__iew,omitempty" json:"request_id__iew,omitempty"` + RequestIdIre *[]openapi_types.UUID `form:"request_id__ire,omitempty" json:"request_id__ire,omitempty"` + RequestIdIsw *[]openapi_types.UUID `form:"request_id__isw,omitempty" json:"request_id__isw,omitempty"` + RequestIdN *[]openapi_types.UUID `form:"request_id__n,omitempty" json:"request_id__n,omitempty"` + RequestIdNic *[]openapi_types.UUID `form:"request_id__nic,omitempty" json:"request_id__nic,omitempty"` + RequestIdNie *[]openapi_types.UUID `form:"request_id__nie,omitempty" json:"request_id__nie,omitempty"` + RequestIdNiew *[]openapi_types.UUID `form:"request_id__niew,omitempty" json:"request_id__niew,omitempty"` + RequestIdNire *[]openapi_types.UUID `form:"request_id__nire,omitempty" json:"request_id__nire,omitempty"` + RequestIdNisw *[]openapi_types.UUID `form:"request_id__nisw,omitempty" json:"request_id__nisw,omitempty"` + RequestIdNre *[]openapi_types.UUID `form:"request_id__nre,omitempty" json:"request_id__nre,omitempty"` + RequestIdRe *[]openapi_types.UUID `form:"request_id__re,omitempty" json:"request_id__re,omitempty"` + Time *[]time.Time `form:"time,omitempty" json:"time,omitempty"` + TimeGt *[]time.Time `form:"time__gt,omitempty" json:"time__gt,omitempty"` + TimeGte *[]time.Time `form:"time__gte,omitempty" json:"time__gte,omitempty"` + TimeLt *[]time.Time `form:"time__lt,omitempty" json:"time__lt,omitempty"` + TimeLte *[]time.Time `form:"time__lte,omitempty" json:"time__lte,omitempty"` + TimeN *[]time.Time `form:"time__n,omitempty" json:"time__n,omitempty"` - // User name - User *[]string `json:"user,omitempty"` + // User User name + User *[]string `form:"user,omitempty" json:"user,omitempty"` - // User name - UserN *[]string `json:"user__n,omitempty"` + // UserN User name + UserN *[]string `form:"user__n,omitempty" json:"user__n,omitempty"` - // User (ID) - UserId *[]openapi_types.UUID `json:"user_id,omitempty"` + // UserId User (ID) + UserId *[]openapi_types.UUID `form:"user_id,omitempty" json:"user_id,omitempty"` - // User (ID) - UserIdN *[]openapi_types.UUID `json:"user_id__n,omitempty"` - UserName *[]string `json:"user_name,omitempty"` - UserNameIc *[]string `json:"user_name__ic,omitempty"` - UserNameIe *[]string `json:"user_name__ie,omitempty"` - UserNameIew *[]string `json:"user_name__iew,omitempty"` - UserNameIre *[]string `json:"user_name__ire,omitempty"` - UserNameIsw *[]string `json:"user_name__isw,omitempty"` - UserNameN *[]string `json:"user_name__n,omitempty"` - UserNameNic *[]string `json:"user_name__nic,omitempty"` - UserNameNie *[]string `json:"user_name__nie,omitempty"` - UserNameNiew *[]string `json:"user_name__niew,omitempty"` - UserNameNire *[]string `json:"user_name__nire,omitempty"` - UserNameNisw *[]string `json:"user_name__nisw,omitempty"` - UserNameNre *[]string `json:"user_name__nre,omitempty"` - UserNameRe *[]string `json:"user_name__re,omitempty"` + // UserIdN User (ID) + UserIdN *[]openapi_types.UUID `form:"user_id__n,omitempty" json:"user_id__n,omitempty"` + UserName *[]string `form:"user_name,omitempty" json:"user_name,omitempty"` + UserNameIc *[]string `form:"user_name__ic,omitempty" json:"user_name__ic,omitempty"` + UserNameIe *[]string `form:"user_name__ie,omitempty" json:"user_name__ie,omitempty"` + UserNameIew *[]string `form:"user_name__iew,omitempty" json:"user_name__iew,omitempty"` + UserNameIre *[]string `form:"user_name__ire,omitempty" json:"user_name__ire,omitempty"` + UserNameIsw *[]string `form:"user_name__isw,omitempty" json:"user_name__isw,omitempty"` + UserNameN *[]string `form:"user_name__n,omitempty" json:"user_name__n,omitempty"` + UserNameNic *[]string `form:"user_name__nic,omitempty" json:"user_name__nic,omitempty"` + UserNameNie *[]string `form:"user_name__nie,omitempty" json:"user_name__nie,omitempty"` + UserNameNiew *[]string `form:"user_name__niew,omitempty" json:"user_name__niew,omitempty"` + UserNameNire *[]string `form:"user_name__nire,omitempty" json:"user_name__nire,omitempty"` + UserNameNisw *[]string `form:"user_name__nisw,omitempty" json:"user_name__nisw,omitempty"` + UserNameNre *[]string `form:"user_name__nre,omitempty" json:"user_name__nre,omitempty"` + UserNameRe *[]string `form:"user_name__re,omitempty" json:"user_name__re,omitempty"` } +// ExtrasRelationshipAssociationsBulkDestroyJSONBody defines parameters for ExtrasRelationshipAssociationsBulkDestroy. +type ExtrasRelationshipAssociationsBulkDestroyJSONBody = []BulkOperationRequest + // ExtrasRelationshipAssociationsListParams defines parameters for ExtrasRelationshipAssociationsList. type ExtrasRelationshipAssociationsListParams struct { - DestinationId *[]openapi_types.UUID `json:"destination_id,omitempty"` - DestinationIdIc *[]openapi_types.UUID `json:"destination_id__ic,omitempty"` - DestinationIdIe *[]openapi_types.UUID `json:"destination_id__ie,omitempty"` - DestinationIdIew *[]openapi_types.UUID `json:"destination_id__iew,omitempty"` - DestinationIdIre *[]openapi_types.UUID `json:"destination_id__ire,omitempty"` - DestinationIdIsw *[]openapi_types.UUID `json:"destination_id__isw,omitempty"` - DestinationIdN *[]openapi_types.UUID `json:"destination_id__n,omitempty"` - DestinationIdNic *[]openapi_types.UUID `json:"destination_id__nic,omitempty"` - DestinationIdNie *[]openapi_types.UUID `json:"destination_id__nie,omitempty"` - DestinationIdNiew *[]openapi_types.UUID `json:"destination_id__niew,omitempty"` - DestinationIdNire *[]openapi_types.UUID `json:"destination_id__nire,omitempty"` - DestinationIdNisw *[]openapi_types.UUID `json:"destination_id__nisw,omitempty"` - DestinationIdNre *[]openapi_types.UUID `json:"destination_id__nre,omitempty"` - DestinationIdRe *[]openapi_types.UUID `json:"destination_id__re,omitempty"` - DestinationType *[]int `json:"destination_type,omitempty"` - DestinationTypeN *[]int `json:"destination_type__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + DestinationId *[]openapi_types.UUID `form:"destination_id,omitempty" json:"destination_id,omitempty"` + DestinationIdIc *[]openapi_types.UUID `form:"destination_id__ic,omitempty" json:"destination_id__ic,omitempty"` + DestinationIdIe *[]openapi_types.UUID `form:"destination_id__ie,omitempty" json:"destination_id__ie,omitempty"` + DestinationIdIew *[]openapi_types.UUID `form:"destination_id__iew,omitempty" json:"destination_id__iew,omitempty"` + DestinationIdIre *[]openapi_types.UUID `form:"destination_id__ire,omitempty" json:"destination_id__ire,omitempty"` + DestinationIdIsw *[]openapi_types.UUID `form:"destination_id__isw,omitempty" json:"destination_id__isw,omitempty"` + DestinationIdN *[]openapi_types.UUID `form:"destination_id__n,omitempty" json:"destination_id__n,omitempty"` + DestinationIdNic *[]openapi_types.UUID `form:"destination_id__nic,omitempty" json:"destination_id__nic,omitempty"` + DestinationIdNie *[]openapi_types.UUID `form:"destination_id__nie,omitempty" json:"destination_id__nie,omitempty"` + DestinationIdNiew *[]openapi_types.UUID `form:"destination_id__niew,omitempty" json:"destination_id__niew,omitempty"` + DestinationIdNire *[]openapi_types.UUID `form:"destination_id__nire,omitempty" json:"destination_id__nire,omitempty"` + DestinationIdNisw *[]openapi_types.UUID `form:"destination_id__nisw,omitempty" json:"destination_id__nisw,omitempty"` + DestinationIdNre *[]openapi_types.UUID `form:"destination_id__nre,omitempty" json:"destination_id__nre,omitempty"` + DestinationIdRe *[]openapi_types.UUID `form:"destination_id__re,omitempty" json:"destination_id__re,omitempty"` + DestinationType *[]int `form:"destination_type,omitempty" json:"destination_type,omitempty"` + DestinationTypeN *[]int `form:"destination_type__n,omitempty" json:"destination_type__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + PeerId *[]openapi_types.UUID `form:"peer_id,omitempty" json:"peer_id,omitempty"` - // Relationship (slug) - Relationship *[]string `json:"relationship,omitempty"` + // Relationship Relationship (slug) + Relationship *[]string `form:"relationship,omitempty" json:"relationship,omitempty"` - // Relationship (slug) - RelationshipN *[]string `json:"relationship__n,omitempty"` - SourceId *[]openapi_types.UUID `json:"source_id,omitempty"` - SourceIdIc *[]openapi_types.UUID `json:"source_id__ic,omitempty"` - SourceIdIe *[]openapi_types.UUID `json:"source_id__ie,omitempty"` - SourceIdIew *[]openapi_types.UUID `json:"source_id__iew,omitempty"` - SourceIdIre *[]openapi_types.UUID `json:"source_id__ire,omitempty"` - SourceIdIsw *[]openapi_types.UUID `json:"source_id__isw,omitempty"` - SourceIdN *[]openapi_types.UUID `json:"source_id__n,omitempty"` - SourceIdNic *[]openapi_types.UUID `json:"source_id__nic,omitempty"` - SourceIdNie *[]openapi_types.UUID `json:"source_id__nie,omitempty"` - SourceIdNiew *[]openapi_types.UUID `json:"source_id__niew,omitempty"` - SourceIdNire *[]openapi_types.UUID `json:"source_id__nire,omitempty"` - SourceIdNisw *[]openapi_types.UUID `json:"source_id__nisw,omitempty"` - SourceIdNre *[]openapi_types.UUID `json:"source_id__nre,omitempty"` - SourceIdRe *[]openapi_types.UUID `json:"source_id__re,omitempty"` - SourceType *[]int `json:"source_type,omitempty"` - SourceTypeN *[]int `json:"source_type__n,omitempty"` + // RelationshipN Relationship (slug) + RelationshipN *[]string `form:"relationship__n,omitempty" json:"relationship__n,omitempty"` + SourceId *[]openapi_types.UUID `form:"source_id,omitempty" json:"source_id,omitempty"` + SourceIdIc *[]openapi_types.UUID `form:"source_id__ic,omitempty" json:"source_id__ic,omitempty"` + SourceIdIe *[]openapi_types.UUID `form:"source_id__ie,omitempty" json:"source_id__ie,omitempty"` + SourceIdIew *[]openapi_types.UUID `form:"source_id__iew,omitempty" json:"source_id__iew,omitempty"` + SourceIdIre *[]openapi_types.UUID `form:"source_id__ire,omitempty" json:"source_id__ire,omitempty"` + SourceIdIsw *[]openapi_types.UUID `form:"source_id__isw,omitempty" json:"source_id__isw,omitempty"` + SourceIdN *[]openapi_types.UUID `form:"source_id__n,omitempty" json:"source_id__n,omitempty"` + SourceIdNic *[]openapi_types.UUID `form:"source_id__nic,omitempty" json:"source_id__nic,omitempty"` + SourceIdNie *[]openapi_types.UUID `form:"source_id__nie,omitempty" json:"source_id__nie,omitempty"` + SourceIdNiew *[]openapi_types.UUID `form:"source_id__niew,omitempty" json:"source_id__niew,omitempty"` + SourceIdNire *[]openapi_types.UUID `form:"source_id__nire,omitempty" json:"source_id__nire,omitempty"` + SourceIdNisw *[]openapi_types.UUID `form:"source_id__nisw,omitempty" json:"source_id__nisw,omitempty"` + SourceIdNre *[]openapi_types.UUID `form:"source_id__nre,omitempty" json:"source_id__nre,omitempty"` + SourceIdRe *[]openapi_types.UUID `form:"source_id__re,omitempty" json:"source_id__re,omitempty"` + SourceType *[]int `form:"source_type,omitempty" json:"source_type,omitempty"` + SourceTypeN *[]int `form:"source_type__n,omitempty" json:"source_type__n,omitempty"` } // ExtrasRelationshipAssociationsBulkPartialUpdateJSONBody defines parameters for ExtrasRelationshipAssociationsBulkPartialUpdate. -type ExtrasRelationshipAssociationsBulkPartialUpdateJSONBody PatchedWritableRelationshipAssociation - -// ExtrasRelationshipAssociationsCreateJSONBody defines parameters for ExtrasRelationshipAssociationsCreate. -type ExtrasRelationshipAssociationsCreateJSONBody WritableRelationshipAssociation +type ExtrasRelationshipAssociationsBulkPartialUpdateJSONBody = []PatchedBulkWritableRelationshipAssociationRequest // ExtrasRelationshipAssociationsBulkUpdateJSONBody defines parameters for ExtrasRelationshipAssociationsBulkUpdate. -type ExtrasRelationshipAssociationsBulkUpdateJSONBody WritableRelationshipAssociation +type ExtrasRelationshipAssociationsBulkUpdateJSONBody = []BulkWritableRelationshipAssociationRequest -// ExtrasRelationshipAssociationsPartialUpdateJSONBody defines parameters for ExtrasRelationshipAssociationsPartialUpdate. -type ExtrasRelationshipAssociationsPartialUpdateJSONBody PatchedWritableRelationshipAssociation - -// ExtrasRelationshipAssociationsUpdateJSONBody defines parameters for ExtrasRelationshipAssociationsUpdate. -type ExtrasRelationshipAssociationsUpdateJSONBody WritableRelationshipAssociation +// ExtrasRelationshipsBulkDestroyJSONBody defines parameters for ExtrasRelationshipsBulkDestroy. +type ExtrasRelationshipsBulkDestroyJSONBody = []BulkOperationRequest // ExtrasRelationshipsListParams defines parameters for ExtrasRelationshipsList. type ExtrasRelationshipsListParams struct { - DestinationType *[]int `json:"destination_type,omitempty"` - DestinationTypeN *[]int `json:"destination_type__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + DestinationType *[]int `form:"destination_type,omitempty" json:"destination_type,omitempty"` + DestinationTypeN *[]int `form:"destination_type__n,omitempty" json:"destination_type__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` - SourceType *[]int `json:"source_type,omitempty"` - SourceTypeN *[]int `json:"source_type__n,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Cardinality of this relationship - Type *string `json:"type,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` + SourceType *[]int `form:"source_type,omitempty" json:"source_type,omitempty"` + SourceTypeN *[]int `form:"source_type__n,omitempty" json:"source_type__n,omitempty"` - // Cardinality of this relationship - TypeN *string `json:"type__n,omitempty"` + // Type Cardinality of this relationship + Type *string `form:"type,omitempty" json:"type,omitempty"` + + // TypeN Cardinality of this relationship + TypeN *string `form:"type__n,omitempty" json:"type__n,omitempty"` } // ExtrasRelationshipsBulkPartialUpdateJSONBody defines parameters for ExtrasRelationshipsBulkPartialUpdate. -type ExtrasRelationshipsBulkPartialUpdateJSONBody PatchedRelationship - -// ExtrasRelationshipsCreateJSONBody defines parameters for ExtrasRelationshipsCreate. -type ExtrasRelationshipsCreateJSONBody Relationship +type ExtrasRelationshipsBulkPartialUpdateJSONBody = []PatchedBulkWritableRelationshipRequest // ExtrasRelationshipsBulkUpdateJSONBody defines parameters for ExtrasRelationshipsBulkUpdate. -type ExtrasRelationshipsBulkUpdateJSONBody Relationship +type ExtrasRelationshipsBulkUpdateJSONBody = []BulkWritableRelationshipRequest -// ExtrasRelationshipsPartialUpdateJSONBody defines parameters for ExtrasRelationshipsPartialUpdate. -type ExtrasRelationshipsPartialUpdateJSONBody PatchedRelationship +// ExtrasRelationshipsNotesListParams defines parameters for ExtrasRelationshipsNotesList. +type ExtrasRelationshipsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// ExtrasRelationshipsUpdateJSONBody defines parameters for ExtrasRelationshipsUpdate. -type ExtrasRelationshipsUpdateJSONBody Relationship + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} // ExtrasScheduledJobsListParams defines parameters for ExtrasScheduledJobsList. type ExtrasScheduledJobsListParams struct { - FirstRun *time.Time `json:"first_run,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + FirstRun *time.Time `form:"first_run,omitempty" json:"first_run,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Job (slug) - JobModel *[]string `json:"job_model,omitempty"` + // JobModel Job (slug) + JobModel *[]string `form:"job_model,omitempty" json:"job_model,omitempty"` - // Job (slug) - JobModelN *[]string `json:"job_model__n,omitempty"` + // JobModelN Job (slug) + JobModelN *[]string `form:"job_model__n,omitempty" json:"job_model__n,omitempty"` - // Job (ID) - JobModelId *[]openapi_types.UUID `json:"job_model_id,omitempty"` + // JobModelId Job (ID) + JobModelId *[]openapi_types.UUID `form:"job_model_id,omitempty" json:"job_model_id,omitempty"` - // Job (ID) - JobModelIdN *[]openapi_types.UUID `json:"job_model_id__n,omitempty"` - LastRun *time.Time `json:"last_run,omitempty"` + // JobModelIdN Job (ID) + JobModelIdN *[]openapi_types.UUID `form:"job_model_id__n,omitempty" json:"job_model_id__n,omitempty"` + LastRun *time.Time `form:"last_run,omitempty" json:"last_run,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - TotalRunCount *[]int `json:"total_run_count,omitempty"` - TotalRunCountGt *[]int `json:"total_run_count__gt,omitempty"` - TotalRunCountGte *[]int `json:"total_run_count__gte,omitempty"` - TotalRunCountLt *[]int `json:"total_run_count__lt,omitempty"` - TotalRunCountLte *[]int `json:"total_run_count__lte,omitempty"` - TotalRunCountN *[]int `json:"total_run_count__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + TotalRunCount *[]int `form:"total_run_count,omitempty" json:"total_run_count,omitempty"` + TotalRunCountGt *[]int `form:"total_run_count__gt,omitempty" json:"total_run_count__gt,omitempty"` + TotalRunCountGte *[]int `form:"total_run_count__gte,omitempty" json:"total_run_count__gte,omitempty"` + TotalRunCountLt *[]int `form:"total_run_count__lt,omitempty" json:"total_run_count__lt,omitempty"` + TotalRunCountLte *[]int `form:"total_run_count__lte,omitempty" json:"total_run_count__lte,omitempty"` + TotalRunCountN *[]int `form:"total_run_count__n,omitempty" json:"total_run_count__n,omitempty"` } // ExtrasScheduledJobsApproveCreateParams defines parameters for ExtrasScheduledJobsApproveCreate. type ExtrasScheduledJobsApproveCreateParams struct { - // force execution even if start time has passed - Force *bool `json:"force,omitempty"` + // Force force execution even if start time has passed + Force *bool `form:"force,omitempty" json:"force,omitempty"` } +// ExtrasSecretsGroupsAssociationsBulkDestroyJSONBody defines parameters for ExtrasSecretsGroupsAssociationsBulkDestroy. +type ExtrasSecretsGroupsAssociationsBulkDestroyJSONBody = []BulkOperationRequest + // ExtrasSecretsGroupsAssociationsListParams defines parameters for ExtrasSecretsGroupsAssociationsList. type ExtrasSecretsGroupsAssociationsListParams struct { - AccessType *[]string `json:"access_type,omitempty"` - AccessTypeN *[]string `json:"access_type__n,omitempty"` + AccessType *[]string `form:"access_type,omitempty" json:"access_type,omitempty"` + AccessTypeN *[]string `form:"access_type__n,omitempty" json:"access_type__n,omitempty"` - // Group (slug) - Group *[]string `json:"group,omitempty"` + // Group Group (slug) + Group *[]string `form:"group,omitempty" json:"group,omitempty"` - // Group (slug) - GroupN *[]string `json:"group__n,omitempty"` + // GroupN Group (slug) + GroupN *[]string `form:"group__n,omitempty" json:"group__n,omitempty"` - // Group (ID) - GroupId *[]openapi_types.UUID `json:"group_id,omitempty"` + // GroupId Group (ID) + GroupId *[]openapi_types.UUID `form:"group_id,omitempty" json:"group_id,omitempty"` - // Group (ID) - GroupIdN *[]openapi_types.UUID `json:"group_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // GroupIdN Group (ID) + GroupIdN *[]openapi_types.UUID `form:"group_id__n,omitempty" json:"group_id__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Secret (slug) - Secret *[]string `json:"secret,omitempty"` + // Secret Secret (slug) + Secret *[]string `form:"secret,omitempty" json:"secret,omitempty"` - // Secret (slug) - SecretN *[]string `json:"secret__n,omitempty"` + // SecretN Secret (slug) + SecretN *[]string `form:"secret__n,omitempty" json:"secret__n,omitempty"` - // Secret (ID) - SecretId *[]openapi_types.UUID `json:"secret_id,omitempty"` + // SecretId Secret (ID) + SecretId *[]openapi_types.UUID `form:"secret_id,omitempty" json:"secret_id,omitempty"` - // Secret (ID) - SecretIdN *[]openapi_types.UUID `json:"secret_id__n,omitempty"` - SecretType *[]string `json:"secret_type,omitempty"` - SecretTypeN *[]string `json:"secret_type__n,omitempty"` + // SecretIdN Secret (ID) + SecretIdN *[]openapi_types.UUID `form:"secret_id__n,omitempty" json:"secret_id__n,omitempty"` + SecretType *[]string `form:"secret_type,omitempty" json:"secret_type,omitempty"` + SecretTypeN *[]string `form:"secret_type__n,omitempty" json:"secret_type__n,omitempty"` } // ExtrasSecretsGroupsAssociationsBulkPartialUpdateJSONBody defines parameters for ExtrasSecretsGroupsAssociationsBulkPartialUpdate. -type ExtrasSecretsGroupsAssociationsBulkPartialUpdateJSONBody PatchedWritableSecretsGroupAssociation - -// ExtrasSecretsGroupsAssociationsCreateJSONBody defines parameters for ExtrasSecretsGroupsAssociationsCreate. -type ExtrasSecretsGroupsAssociationsCreateJSONBody WritableSecretsGroupAssociation +type ExtrasSecretsGroupsAssociationsBulkPartialUpdateJSONBody = []PatchedBulkWritableSecretsGroupAssociationRequest // ExtrasSecretsGroupsAssociationsBulkUpdateJSONBody defines parameters for ExtrasSecretsGroupsAssociationsBulkUpdate. -type ExtrasSecretsGroupsAssociationsBulkUpdateJSONBody WritableSecretsGroupAssociation +type ExtrasSecretsGroupsAssociationsBulkUpdateJSONBody = []BulkWritableSecretsGroupAssociationRequest -// ExtrasSecretsGroupsAssociationsPartialUpdateJSONBody defines parameters for ExtrasSecretsGroupsAssociationsPartialUpdate. -type ExtrasSecretsGroupsAssociationsPartialUpdateJSONBody PatchedWritableSecretsGroupAssociation - -// ExtrasSecretsGroupsAssociationsUpdateJSONBody defines parameters for ExtrasSecretsGroupsAssociationsUpdate. -type ExtrasSecretsGroupsAssociationsUpdateJSONBody WritableSecretsGroupAssociation +// ExtrasSecretsGroupsBulkDestroyJSONBody defines parameters for ExtrasSecretsGroupsBulkDestroy. +type ExtrasSecretsGroupsBulkDestroyJSONBody = []BulkOperationRequest // ExtrasSecretsGroupsListParams defines parameters for ExtrasSecretsGroupsList. type ExtrasSecretsGroupsListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` } // ExtrasSecretsGroupsBulkPartialUpdateJSONBody defines parameters for ExtrasSecretsGroupsBulkPartialUpdate. -type ExtrasSecretsGroupsBulkPartialUpdateJSONBody PatchedSecretsGroup - -// ExtrasSecretsGroupsCreateJSONBody defines parameters for ExtrasSecretsGroupsCreate. -type ExtrasSecretsGroupsCreateJSONBody SecretsGroup +type ExtrasSecretsGroupsBulkPartialUpdateJSONBody = []PatchedBulkWritableSecretsGroupRequest // ExtrasSecretsGroupsBulkUpdateJSONBody defines parameters for ExtrasSecretsGroupsBulkUpdate. -type ExtrasSecretsGroupsBulkUpdateJSONBody SecretsGroup +type ExtrasSecretsGroupsBulkUpdateJSONBody = []BulkWritableSecretsGroupRequest -// ExtrasSecretsGroupsPartialUpdateJSONBody defines parameters for ExtrasSecretsGroupsPartialUpdate. -type ExtrasSecretsGroupsPartialUpdateJSONBody PatchedSecretsGroup +// ExtrasSecretsGroupsNotesListParams defines parameters for ExtrasSecretsGroupsNotesList. +type ExtrasSecretsGroupsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// ExtrasSecretsGroupsUpdateJSONBody defines parameters for ExtrasSecretsGroupsUpdate. -type ExtrasSecretsGroupsUpdateJSONBody SecretsGroup + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// ExtrasSecretsBulkDestroyJSONBody defines parameters for ExtrasSecretsBulkDestroy. +type ExtrasSecretsBulkDestroyJSONBody = []BulkOperationRequest // ExtrasSecretsListParams defines parameters for ExtrasSecretsList. type ExtrasSecretsListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` - Provider *[]string `json:"provider,omitempty"` - ProviderIc *[]string `json:"provider__ic,omitempty"` - ProviderIe *[]string `json:"provider__ie,omitempty"` - ProviderIew *[]string `json:"provider__iew,omitempty"` - ProviderIre *[]string `json:"provider__ire,omitempty"` - ProviderIsw *[]string `json:"provider__isw,omitempty"` - ProviderN *[]string `json:"provider__n,omitempty"` - ProviderNic *[]string `json:"provider__nic,omitempty"` - ProviderNie *[]string `json:"provider__nie,omitempty"` - ProviderNiew *[]string `json:"provider__niew,omitempty"` - ProviderNire *[]string `json:"provider__nire,omitempty"` - ProviderNisw *[]string `json:"provider__nisw,omitempty"` - ProviderNre *[]string `json:"provider__nre,omitempty"` - ProviderRe *[]string `json:"provider__re,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + Provider *[]string `form:"provider,omitempty" json:"provider,omitempty"` + ProviderIc *[]string `form:"provider__ic,omitempty" json:"provider__ic,omitempty"` + ProviderIe *[]string `form:"provider__ie,omitempty" json:"provider__ie,omitempty"` + ProviderIew *[]string `form:"provider__iew,omitempty" json:"provider__iew,omitempty"` + ProviderIre *[]string `form:"provider__ire,omitempty" json:"provider__ire,omitempty"` + ProviderIsw *[]string `form:"provider__isw,omitempty" json:"provider__isw,omitempty"` + ProviderN *[]string `form:"provider__n,omitempty" json:"provider__n,omitempty"` + ProviderNic *[]string `form:"provider__nic,omitempty" json:"provider__nic,omitempty"` + ProviderNie *[]string `form:"provider__nie,omitempty" json:"provider__nie,omitempty"` + ProviderNiew *[]string `form:"provider__niew,omitempty" json:"provider__niew,omitempty"` + ProviderNire *[]string `form:"provider__nire,omitempty" json:"provider__nire,omitempty"` + ProviderNisw *[]string `form:"provider__nisw,omitempty" json:"provider__nisw,omitempty"` + ProviderNre *[]string `form:"provider__nre,omitempty" json:"provider__nre,omitempty"` + ProviderRe *[]string `form:"provider__re,omitempty" json:"provider__re,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` } // ExtrasSecretsBulkPartialUpdateJSONBody defines parameters for ExtrasSecretsBulkPartialUpdate. -type ExtrasSecretsBulkPartialUpdateJSONBody PatchedSecret - -// ExtrasSecretsCreateJSONBody defines parameters for ExtrasSecretsCreate. -type ExtrasSecretsCreateJSONBody Secret +type ExtrasSecretsBulkPartialUpdateJSONBody = []PatchedBulkWritableSecretRequest // ExtrasSecretsBulkUpdateJSONBody defines parameters for ExtrasSecretsBulkUpdate. -type ExtrasSecretsBulkUpdateJSONBody Secret +type ExtrasSecretsBulkUpdateJSONBody = []BulkWritableSecretRequest -// ExtrasSecretsPartialUpdateJSONBody defines parameters for ExtrasSecretsPartialUpdate. -type ExtrasSecretsPartialUpdateJSONBody PatchedSecret +// ExtrasSecretsNotesListParams defines parameters for ExtrasSecretsNotesList. +type ExtrasSecretsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// ExtrasSecretsUpdateJSONBody defines parameters for ExtrasSecretsUpdate. -type ExtrasSecretsUpdateJSONBody Secret + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// ExtrasStatusesBulkDestroyJSONBody defines parameters for ExtrasStatusesBulkDestroy. +type ExtrasStatusesBulkDestroyJSONBody = []BulkOperationRequest // ExtrasStatusesListParams defines parameters for ExtrasStatusesList. type ExtrasStatusesListParams struct { - Color *[]string `json:"color,omitempty"` - ColorIc *[]string `json:"color__ic,omitempty"` - ColorIe *[]string `json:"color__ie,omitempty"` - ColorIew *[]string `json:"color__iew,omitempty"` - ColorIre *[]string `json:"color__ire,omitempty"` - ColorIsw *[]string `json:"color__isw,omitempty"` - ColorN *[]string `json:"color__n,omitempty"` - ColorNic *[]string `json:"color__nic,omitempty"` - ColorNie *[]string `json:"color__nie,omitempty"` - ColorNiew *[]string `json:"color__niew,omitempty"` - ColorNire *[]string `json:"color__nire,omitempty"` - ColorNisw *[]string `json:"color__nisw,omitempty"` - ColorNre *[]string `json:"color__nre,omitempty"` - ColorRe *[]string `json:"color__re,omitempty"` - ContentTypes *[]int `json:"content_types,omitempty"` - ContentTypesN *[]int `json:"content_types__n,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + Color *[]string `form:"color,omitempty" json:"color,omitempty"` + ColorIc *[]string `form:"color__ic,omitempty" json:"color__ic,omitempty"` + ColorIe *[]string `form:"color__ie,omitempty" json:"color__ie,omitempty"` + ColorIew *[]string `form:"color__iew,omitempty" json:"color__iew,omitempty"` + ColorIre *[]string `form:"color__ire,omitempty" json:"color__ire,omitempty"` + ColorIsw *[]string `form:"color__isw,omitempty" json:"color__isw,omitempty"` + ColorN *[]string `form:"color__n,omitempty" json:"color__n,omitempty"` + ColorNic *[]string `form:"color__nic,omitempty" json:"color__nic,omitempty"` + ColorNie *[]string `form:"color__nie,omitempty" json:"color__nie,omitempty"` + ColorNiew *[]string `form:"color__niew,omitempty" json:"color__niew,omitempty"` + ColorNire *[]string `form:"color__nire,omitempty" json:"color__nire,omitempty"` + ColorNisw *[]string `form:"color__nisw,omitempty" json:"color__nisw,omitempty"` + ColorNre *[]string `form:"color__nre,omitempty" json:"color__nre,omitempty"` + ColorRe *[]string `form:"color__re,omitempty" json:"color__re,omitempty"` + ContentTypes *[]int `form:"content_types,omitempty" json:"content_types,omitempty"` + ContentTypesN *[]int `form:"content_types__n,omitempty" json:"content_types__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` } // ExtrasStatusesBulkPartialUpdateJSONBody defines parameters for ExtrasStatusesBulkPartialUpdate. -type ExtrasStatusesBulkPartialUpdateJSONBody PatchedStatus - -// ExtrasStatusesCreateJSONBody defines parameters for ExtrasStatusesCreate. -type ExtrasStatusesCreateJSONBody Status +type ExtrasStatusesBulkPartialUpdateJSONBody = []PatchedBulkWritableStatusRequest // ExtrasStatusesBulkUpdateJSONBody defines parameters for ExtrasStatusesBulkUpdate. -type ExtrasStatusesBulkUpdateJSONBody Status +type ExtrasStatusesBulkUpdateJSONBody = []BulkWritableStatusRequest -// ExtrasStatusesPartialUpdateJSONBody defines parameters for ExtrasStatusesPartialUpdate. -type ExtrasStatusesPartialUpdateJSONBody PatchedStatus +// ExtrasStatusesNotesListParams defines parameters for ExtrasStatusesNotesList. +type ExtrasStatusesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// ExtrasStatusesUpdateJSONBody defines parameters for ExtrasStatusesUpdate. -type ExtrasStatusesUpdateJSONBody Status + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// ExtrasTagsBulkDestroyJSONBody defines parameters for ExtrasTagsBulkDestroy. +type ExtrasTagsBulkDestroyJSONBody = []BulkOperationRequest // ExtrasTagsListParams defines parameters for ExtrasTagsList. type ExtrasTagsListParams struct { - Color *[]string `json:"color,omitempty"` - ColorIc *[]string `json:"color__ic,omitempty"` - ColorIe *[]string `json:"color__ie,omitempty"` - ColorIew *[]string `json:"color__iew,omitempty"` - ColorIre *[]string `json:"color__ire,omitempty"` - ColorIsw *[]string `json:"color__isw,omitempty"` - ColorN *[]string `json:"color__n,omitempty"` - ColorNic *[]string `json:"color__nic,omitempty"` - ColorNie *[]string `json:"color__nie,omitempty"` - ColorNiew *[]string `json:"color__niew,omitempty"` - ColorNire *[]string `json:"color__nire,omitempty"` - ColorNisw *[]string `json:"color__nisw,omitempty"` - ColorNre *[]string `json:"color__nre,omitempty"` - ColorRe *[]string `json:"color__re,omitempty"` - ContentTypes *[]int `json:"content_types,omitempty"` - ContentTypesN *[]int `json:"content_types__n,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + Color *[]string `form:"color,omitempty" json:"color,omitempty"` + ColorIc *[]string `form:"color__ic,omitempty" json:"color__ic,omitempty"` + ColorIe *[]string `form:"color__ie,omitempty" json:"color__ie,omitempty"` + ColorIew *[]string `form:"color__iew,omitempty" json:"color__iew,omitempty"` + ColorIre *[]string `form:"color__ire,omitempty" json:"color__ire,omitempty"` + ColorIsw *[]string `form:"color__isw,omitempty" json:"color__isw,omitempty"` + ColorN *[]string `form:"color__n,omitempty" json:"color__n,omitempty"` + ColorNic *[]string `form:"color__nic,omitempty" json:"color__nic,omitempty"` + ColorNie *[]string `form:"color__nie,omitempty" json:"color__nie,omitempty"` + ColorNiew *[]string `form:"color__niew,omitempty" json:"color__niew,omitempty"` + ColorNire *[]string `form:"color__nire,omitempty" json:"color__nire,omitempty"` + ColorNisw *[]string `form:"color__nisw,omitempty" json:"color__nisw,omitempty"` + ColorNre *[]string `form:"color__nre,omitempty" json:"color__nre,omitempty"` + ColorRe *[]string `form:"color__re,omitempty" json:"color__re,omitempty"` + ContentTypes *[]int `form:"content_types,omitempty" json:"content_types,omitempty"` + ContentTypesN *[]int `form:"content_types__n,omitempty" json:"content_types__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` } // ExtrasTagsBulkPartialUpdateJSONBody defines parameters for ExtrasTagsBulkPartialUpdate. -type ExtrasTagsBulkPartialUpdateJSONBody PatchedTagSerializerVersion13 - -// ExtrasTagsCreateJSONBody defines parameters for ExtrasTagsCreate. -type ExtrasTagsCreateJSONBody TagSerializerVersion13 +type ExtrasTagsBulkPartialUpdateJSONBody = []PatchedBulkWritableTagSerializerVersion13Request // ExtrasTagsBulkUpdateJSONBody defines parameters for ExtrasTagsBulkUpdate. -type ExtrasTagsBulkUpdateJSONBody TagSerializerVersion13 +type ExtrasTagsBulkUpdateJSONBody = []BulkWritableTagSerializerVersion13Request -// ExtrasTagsPartialUpdateJSONBody defines parameters for ExtrasTagsPartialUpdate. -type ExtrasTagsPartialUpdateJSONBody PatchedTagSerializerVersion13 +// ExtrasTagsNotesListParams defines parameters for ExtrasTagsNotesList. +type ExtrasTagsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// ExtrasTagsUpdateJSONBody defines parameters for ExtrasTagsUpdate. -type ExtrasTagsUpdateJSONBody TagSerializerVersion13 + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// ExtrasWebhooksBulkDestroyJSONBody defines parameters for ExtrasWebhooksBulkDestroy. +type ExtrasWebhooksBulkDestroyJSONBody = []BulkOperationRequest // ExtrasWebhooksListParams defines parameters for ExtrasWebhooksList. type ExtrasWebhooksListParams struct { - ContentTypes *[]int `json:"content_types,omitempty"` - ContentTypesN *[]int `json:"content_types__n,omitempty"` - Enabled *bool `json:"enabled,omitempty"` + ContentTypes *[]int `form:"content_types,omitempty" json:"content_types,omitempty"` + ContentTypesN *[]int `form:"content_types__n,omitempty" json:"content_types__n,omitempty"` + Enabled *bool `form:"enabled,omitempty" json:"enabled,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` - PayloadUrl *[]string `json:"payload_url,omitempty"` - PayloadUrlIc *[]string `json:"payload_url__ic,omitempty"` - PayloadUrlIe *[]string `json:"payload_url__ie,omitempty"` - PayloadUrlIew *[]string `json:"payload_url__iew,omitempty"` - PayloadUrlIre *[]string `json:"payload_url__ire,omitempty"` - PayloadUrlIsw *[]string `json:"payload_url__isw,omitempty"` - PayloadUrlN *[]string `json:"payload_url__n,omitempty"` - PayloadUrlNic *[]string `json:"payload_url__nic,omitempty"` - PayloadUrlNie *[]string `json:"payload_url__nie,omitempty"` - PayloadUrlNiew *[]string `json:"payload_url__niew,omitempty"` - PayloadUrlNire *[]string `json:"payload_url__nire,omitempty"` - PayloadUrlNisw *[]string `json:"payload_url__nisw,omitempty"` - PayloadUrlNre *[]string `json:"payload_url__nre,omitempty"` - PayloadUrlRe *[]string `json:"payload_url__re,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + PayloadUrl *[]string `form:"payload_url,omitempty" json:"payload_url,omitempty"` + PayloadUrlIc *[]string `form:"payload_url__ic,omitempty" json:"payload_url__ic,omitempty"` + PayloadUrlIe *[]string `form:"payload_url__ie,omitempty" json:"payload_url__ie,omitempty"` + PayloadUrlIew *[]string `form:"payload_url__iew,omitempty" json:"payload_url__iew,omitempty"` + PayloadUrlIre *[]string `form:"payload_url__ire,omitempty" json:"payload_url__ire,omitempty"` + PayloadUrlIsw *[]string `form:"payload_url__isw,omitempty" json:"payload_url__isw,omitempty"` + PayloadUrlN *[]string `form:"payload_url__n,omitempty" json:"payload_url__n,omitempty"` + PayloadUrlNic *[]string `form:"payload_url__nic,omitempty" json:"payload_url__nic,omitempty"` + PayloadUrlNie *[]string `form:"payload_url__nie,omitempty" json:"payload_url__nie,omitempty"` + PayloadUrlNiew *[]string `form:"payload_url__niew,omitempty" json:"payload_url__niew,omitempty"` + PayloadUrlNire *[]string `form:"payload_url__nire,omitempty" json:"payload_url__nire,omitempty"` + PayloadUrlNisw *[]string `form:"payload_url__nisw,omitempty" json:"payload_url__nisw,omitempty"` + PayloadUrlNre *[]string `form:"payload_url__nre,omitempty" json:"payload_url__nre,omitempty"` + PayloadUrlRe *[]string `form:"payload_url__re,omitempty" json:"payload_url__re,omitempty"` - // Search - Q *string `json:"q,omitempty"` - TypeCreate *bool `json:"type_create,omitempty"` - TypeDelete *bool `json:"type_delete,omitempty"` - TypeUpdate *bool `json:"type_update,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + TypeCreate *bool `form:"type_create,omitempty" json:"type_create,omitempty"` + TypeDelete *bool `form:"type_delete,omitempty" json:"type_delete,omitempty"` + TypeUpdate *bool `form:"type_update,omitempty" json:"type_update,omitempty"` } // ExtrasWebhooksBulkPartialUpdateJSONBody defines parameters for ExtrasWebhooksBulkPartialUpdate. -type ExtrasWebhooksBulkPartialUpdateJSONBody PatchedWebhook - -// ExtrasWebhooksCreateJSONBody defines parameters for ExtrasWebhooksCreate. -type ExtrasWebhooksCreateJSONBody Webhook +type ExtrasWebhooksBulkPartialUpdateJSONBody = []PatchedBulkWritableWebhookRequest // ExtrasWebhooksBulkUpdateJSONBody defines parameters for ExtrasWebhooksBulkUpdate. -type ExtrasWebhooksBulkUpdateJSONBody Webhook +type ExtrasWebhooksBulkUpdateJSONBody = []BulkWritableWebhookRequest -// ExtrasWebhooksPartialUpdateJSONBody defines parameters for ExtrasWebhooksPartialUpdate. -type ExtrasWebhooksPartialUpdateJSONBody PatchedWebhook +// ExtrasWebhooksNotesListParams defines parameters for ExtrasWebhooksNotesList. +type ExtrasWebhooksNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// ExtrasWebhooksUpdateJSONBody defines parameters for ExtrasWebhooksUpdate. -type ExtrasWebhooksUpdateJSONBody Webhook + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} -// GraphqlCreateJSONBody defines parameters for GraphqlCreate. -type GraphqlCreateJSONBody GraphQLAPI +// IpamAggregatesBulkDestroyJSONBody defines parameters for IpamAggregatesBulkDestroy. +type IpamAggregatesBulkDestroyJSONBody = []BulkOperationRequest // IpamAggregatesListParams defines parameters for IpamAggregatesList. type IpamAggregatesListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - DateAdded *[]openapi_types.Date `json:"date_added,omitempty"` - DateAddedGt *[]openapi_types.Date `json:"date_added__gt,omitempty"` - DateAddedGte *[]openapi_types.Date `json:"date_added__gte,omitempty"` - DateAddedLt *[]openapi_types.Date `json:"date_added__lt,omitempty"` - DateAddedLte *[]openapi_types.Date `json:"date_added__lte,omitempty"` - DateAddedN *[]openapi_types.Date `json:"date_added__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + DateAdded *[]openapi_types.Date `form:"date_added,omitempty" json:"date_added,omitempty"` + DateAddedGt *[]openapi_types.Date `form:"date_added__gt,omitempty" json:"date_added__gt,omitempty"` + DateAddedGte *[]openapi_types.Date `form:"date_added__gte,omitempty" json:"date_added__gte,omitempty"` + DateAddedLt *[]openapi_types.Date `form:"date_added__lt,omitempty" json:"date_added__lt,omitempty"` + DateAddedLte *[]openapi_types.Date `form:"date_added__lte,omitempty" json:"date_added__lte,omitempty"` + DateAddedN *[]openapi_types.Date `form:"date_added__n,omitempty" json:"date_added__n,omitempty"` - // Family - Family *float32 `json:"family,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + // Family Family + Family *float32 `form:"family,omitempty" json:"family,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Prefix - Prefix *string `json:"prefix,omitempty"` + // Prefix Prefix + Prefix *string `form:"prefix,omitempty" json:"prefix,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // RIR (slug) - Rir *[]string `json:"rir,omitempty"` + // Rir RIR (slug) + Rir *[]string `form:"rir,omitempty" json:"rir,omitempty"` - // RIR (slug) - RirN *[]string `json:"rir__n,omitempty"` + // RirN RIR (slug) + RirN *[]string `form:"rir__n,omitempty" json:"rir__n,omitempty"` - // RIR (ID) - RirId *[]openapi_types.UUID `json:"rir_id,omitempty"` + // RirId RIR (ID) + RirId *[]openapi_types.UUID `form:"rir_id,omitempty" json:"rir_id,omitempty"` - // RIR (ID) - RirIdN *[]openapi_types.UUID `json:"rir_id__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // RirIdN RIR (ID) + RirIdN *[]openapi_types.UUID `form:"rir_id__n,omitempty" json:"rir_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` - // Tenant (slug) - Tenant *[]string `json:"tenant,omitempty"` + // Tenant Tenant (slug or ID) + Tenant *[]openapi_types.UUID `form:"tenant,omitempty" json:"tenant,omitempty"` - // Tenant (slug) - TenantN *[]string `json:"tenant__n,omitempty"` + // TenantN Tenant (slug or ID) + TenantN *[]openapi_types.UUID `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` - // Tenant Group (slug) - TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + // TenantGroup Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` - // Tenant Group (slug) - TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` - // Tenant Group (ID) - TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` - // Tenant Group (ID) - TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` - // Tenant (ID) - TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + // TenantId Tenant (ID) (deprecated, use "tenant" filter instead) + TenantId *[]openapi_types.UUID `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` - // Tenant (ID) - TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` + // TenantIdN Tenant (ID) (deprecated, use "tenant" filter instead) + TenantIdN *[]openapi_types.UUID `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` } // IpamAggregatesBulkPartialUpdateJSONBody defines parameters for IpamAggregatesBulkPartialUpdate. -type IpamAggregatesBulkPartialUpdateJSONBody PatchedWritableAggregate - -// IpamAggregatesCreateJSONBody defines parameters for IpamAggregatesCreate. -type IpamAggregatesCreateJSONBody WritableAggregate +type IpamAggregatesBulkPartialUpdateJSONBody = []PatchedBulkWritableAggregateRequest // IpamAggregatesBulkUpdateJSONBody defines parameters for IpamAggregatesBulkUpdate. -type IpamAggregatesBulkUpdateJSONBody WritableAggregate +type IpamAggregatesBulkUpdateJSONBody = []BulkWritableAggregateRequest -// IpamAggregatesPartialUpdateJSONBody defines parameters for IpamAggregatesPartialUpdate. -type IpamAggregatesPartialUpdateJSONBody PatchedWritableAggregate +// IpamAggregatesNotesListParams defines parameters for IpamAggregatesNotesList. +type IpamAggregatesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// IpamAggregatesUpdateJSONBody defines parameters for IpamAggregatesUpdate. -type IpamAggregatesUpdateJSONBody WritableAggregate + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// IpamIpAddressesBulkDestroyJSONBody defines parameters for IpamIpAddressesBulkDestroy. +type IpamIpAddressesBulkDestroyJSONBody = []BulkOperationRequest // IpamIpAddressesListParams defines parameters for IpamIpAddressesList. type IpamIpAddressesListParams struct { - // Address - Address *[]string `json:"address,omitempty"` + // Address Address + Address *[]string `form:"address,omitempty" json:"address,omitempty"` - // Is assigned to an interface - AssignedToInterface *bool `json:"assigned_to_interface,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` + // AssignedToInterface Is assigned to an interface + AssignedToInterface *bool `form:"assigned_to_interface,omitempty" json:"assigned_to_interface,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` - // Device (name) - Device *[]string `json:"device,omitempty"` + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` - // Device (ID) - DeviceId *[]openapi_types.UUID `json:"device_id,omitempty"` - DnsName *[]string `json:"dns_name,omitempty"` - DnsNameIc *[]string `json:"dns_name__ic,omitempty"` - DnsNameIe *[]string `json:"dns_name__ie,omitempty"` - DnsNameIew *[]string `json:"dns_name__iew,omitempty"` - DnsNameIre *[]string `json:"dns_name__ire,omitempty"` - DnsNameIsw *[]string `json:"dns_name__isw,omitempty"` - DnsNameN *[]string `json:"dns_name__n,omitempty"` - DnsNameNic *[]string `json:"dns_name__nic,omitempty"` - DnsNameNie *[]string `json:"dns_name__nie,omitempty"` - DnsNameNiew *[]string `json:"dns_name__niew,omitempty"` - DnsNameNire *[]string `json:"dns_name__nire,omitempty"` - DnsNameNisw *[]string `json:"dns_name__nisw,omitempty"` - DnsNameNre *[]string `json:"dns_name__nre,omitempty"` - DnsNameRe *[]string `json:"dns_name__re,omitempty"` + // DeviceId Device (ID) + DeviceId *[]openapi_types.UUID `form:"device_id,omitempty" json:"device_id,omitempty"` + DnsName *[]string `form:"dns_name,omitempty" json:"dns_name,omitempty"` + DnsNameIc *[]string `form:"dns_name__ic,omitempty" json:"dns_name__ic,omitempty"` + DnsNameIe *[]string `form:"dns_name__ie,omitempty" json:"dns_name__ie,omitempty"` + DnsNameIew *[]string `form:"dns_name__iew,omitempty" json:"dns_name__iew,omitempty"` + DnsNameIre *[]string `form:"dns_name__ire,omitempty" json:"dns_name__ire,omitempty"` + DnsNameIsw *[]string `form:"dns_name__isw,omitempty" json:"dns_name__isw,omitempty"` + DnsNameN *[]string `form:"dns_name__n,omitempty" json:"dns_name__n,omitempty"` + DnsNameNic *[]string `form:"dns_name__nic,omitempty" json:"dns_name__nic,omitempty"` + DnsNameNie *[]string `form:"dns_name__nie,omitempty" json:"dns_name__nie,omitempty"` + DnsNameNiew *[]string `form:"dns_name__niew,omitempty" json:"dns_name__niew,omitempty"` + DnsNameNire *[]string `form:"dns_name__nire,omitempty" json:"dns_name__nire,omitempty"` + DnsNameNisw *[]string `form:"dns_name__nisw,omitempty" json:"dns_name__nisw,omitempty"` + DnsNameNre *[]string `form:"dns_name__nre,omitempty" json:"dns_name__nre,omitempty"` + DnsNameRe *[]string `form:"dns_name__re,omitempty" json:"dns_name__re,omitempty"` - // Family - Family *float32 `json:"family,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // Family Family + Family *float32 `form:"family,omitempty" json:"family,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Interface (name) - Interface *[]string `json:"interface,omitempty"` + // Interface Interface (name) + Interface *[]string `form:"interface,omitempty" json:"interface,omitempty"` - // Interface (name) - InterfaceN *[]string `json:"interface__n,omitempty"` + // InterfaceN Interface (name) + InterfaceN *[]string `form:"interface__n,omitempty" json:"interface__n,omitempty"` - // Interface (ID) - InterfaceId *[]openapi_types.UUID `json:"interface_id,omitempty"` + // InterfaceId Interface (ID) + InterfaceId *[]openapi_types.UUID `form:"interface_id,omitempty" json:"interface_id,omitempty"` - // Interface (ID) - InterfaceIdN *[]openapi_types.UUID `json:"interface_id__n,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + // InterfaceIdN Interface (ID) + InterfaceIdN *[]openapi_types.UUID `form:"interface_id__n,omitempty" json:"interface_id__n,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // Mask length - MaskLength *float32 `json:"mask_length,omitempty"` + // MaskLength Mask length + MaskLength *float32 `form:"mask_length,omitempty" json:"mask_length,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // NautobotBgpModelsIpsBgpRoutingInstance Routing Instance UUID + NautobotBgpModelsIpsBgpRoutingInstance *[]string `form:"nautobot_bgp_models_ips_bgp_routing_instance,omitempty" json:"nautobot_bgp_models_ips_bgp_routing_instance,omitempty"` + NautobotBgpModelsIpsBgpRoutingInstanceIc *[]openapi_types.UUID `form:"nautobot_bgp_models_ips_bgp_routing_instance__ic,omitempty" json:"nautobot_bgp_models_ips_bgp_routing_instance__ic,omitempty"` + NautobotBgpModelsIpsBgpRoutingInstanceIe *[]openapi_types.UUID `form:"nautobot_bgp_models_ips_bgp_routing_instance__ie,omitempty" json:"nautobot_bgp_models_ips_bgp_routing_instance__ie,omitempty"` + NautobotBgpModelsIpsBgpRoutingInstanceIew *[]openapi_types.UUID `form:"nautobot_bgp_models_ips_bgp_routing_instance__iew,omitempty" json:"nautobot_bgp_models_ips_bgp_routing_instance__iew,omitempty"` + NautobotBgpModelsIpsBgpRoutingInstanceIre *[]openapi_types.UUID `form:"nautobot_bgp_models_ips_bgp_routing_instance__ire,omitempty" json:"nautobot_bgp_models_ips_bgp_routing_instance__ire,omitempty"` + NautobotBgpModelsIpsBgpRoutingInstanceIsw *[]openapi_types.UUID `form:"nautobot_bgp_models_ips_bgp_routing_instance__isw,omitempty" json:"nautobot_bgp_models_ips_bgp_routing_instance__isw,omitempty"` + NautobotBgpModelsIpsBgpRoutingInstanceN *[]openapi_types.UUID `form:"nautobot_bgp_models_ips_bgp_routing_instance__n,omitempty" json:"nautobot_bgp_models_ips_bgp_routing_instance__n,omitempty"` + NautobotBgpModelsIpsBgpRoutingInstanceNic *[]openapi_types.UUID `form:"nautobot_bgp_models_ips_bgp_routing_instance__nic,omitempty" json:"nautobot_bgp_models_ips_bgp_routing_instance__nic,omitempty"` + NautobotBgpModelsIpsBgpRoutingInstanceNie *[]openapi_types.UUID `form:"nautobot_bgp_models_ips_bgp_routing_instance__nie,omitempty" json:"nautobot_bgp_models_ips_bgp_routing_instance__nie,omitempty"` + NautobotBgpModelsIpsBgpRoutingInstanceNiew *[]openapi_types.UUID `form:"nautobot_bgp_models_ips_bgp_routing_instance__niew,omitempty" json:"nautobot_bgp_models_ips_bgp_routing_instance__niew,omitempty"` + NautobotBgpModelsIpsBgpRoutingInstanceNire *[]openapi_types.UUID `form:"nautobot_bgp_models_ips_bgp_routing_instance__nire,omitempty" json:"nautobot_bgp_models_ips_bgp_routing_instance__nire,omitempty"` + NautobotBgpModelsIpsBgpRoutingInstanceNisw *[]openapi_types.UUID `form:"nautobot_bgp_models_ips_bgp_routing_instance__nisw,omitempty" json:"nautobot_bgp_models_ips_bgp_routing_instance__nisw,omitempty"` + NautobotBgpModelsIpsBgpRoutingInstanceNre *[]openapi_types.UUID `form:"nautobot_bgp_models_ips_bgp_routing_instance__nre,omitempty" json:"nautobot_bgp_models_ips_bgp_routing_instance__nre,omitempty"` + NautobotBgpModelsIpsBgpRoutingInstanceRe *[]openapi_types.UUID `form:"nautobot_bgp_models_ips_bgp_routing_instance__re,omitempty" json:"nautobot_bgp_models_ips_bgp_routing_instance__re,omitempty"` - // Parent prefix - Parent *string `json:"parent,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // VRF (RD) - PresentInVrf *string `json:"present_in_vrf,omitempty"` + // Parent Parent prefix + Parent *string `form:"parent,omitempty" json:"parent,omitempty"` - // VRF - PresentInVrfId *openapi_types.UUID `json:"present_in_vrf_id,omitempty"` + // PresentInVrf VRF (RD) + PresentInVrf *string `form:"present_in_vrf,omitempty" json:"present_in_vrf,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // PresentInVrfId VRF + PresentInVrfId *openapi_types.UUID `form:"present_in_vrf_id,omitempty" json:"present_in_vrf_id,omitempty"` - // The functional role of this IP - Role *[]string `json:"role,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // The functional role of this IP - RoleN *[]string `json:"role__n,omitempty"` - Status *[]openapi_types.UUID `json:"status,omitempty"` - StatusN *[]openapi_types.UUID `json:"status__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // Role The functional role of this IP + Role *[]string `form:"role,omitempty" json:"role,omitempty"` - // Tenant (slug) - Tenant *[]string `json:"tenant,omitempty"` + // RoleN The functional role of this IP + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` + Status *[]openapi_types.UUID `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]openapi_types.UUID `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` - // Tenant (slug) - TenantN *[]string `json:"tenant__n,omitempty"` + // Tenant Tenant (slug or ID) + Tenant *[]openapi_types.UUID `form:"tenant,omitempty" json:"tenant,omitempty"` - // Tenant Group (slug) - TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + // TenantN Tenant (slug or ID) + TenantN *[]openapi_types.UUID `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` - // Tenant Group (slug) - TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + // TenantGroup Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` - // Tenant Group (ID) - TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` - // Tenant Group (ID) - TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` - // Tenant (ID) - TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` - // Tenant (ID) - TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` + // TenantId Tenant (ID) (deprecated, use "tenant" filter instead) + TenantId *[]openapi_types.UUID `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` - // Virtual machine (name) - VirtualMachine *[]string `json:"virtual_machine,omitempty"` + // TenantIdN Tenant (ID) (deprecated, use "tenant" filter instead) + TenantIdN *[]openapi_types.UUID `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` - // Virtual machine (ID) - VirtualMachineId *[]openapi_types.UUID `json:"virtual_machine_id,omitempty"` + // VirtualMachine Virtual machine (name) + VirtualMachine *[]string `form:"virtual_machine,omitempty" json:"virtual_machine,omitempty"` - // VM interface (name) - Vminterface *[]string `json:"vminterface,omitempty"` + // VirtualMachineId Virtual machine (ID) + VirtualMachineId *[]openapi_types.UUID `form:"virtual_machine_id,omitempty" json:"virtual_machine_id,omitempty"` - // VM interface (name) - VminterfaceN *[]string `json:"vminterface__n,omitempty"` + // Vminterface VM interface (name) + Vminterface *[]string `form:"vminterface,omitempty" json:"vminterface,omitempty"` - // VM interface (ID) - VminterfaceId *[]openapi_types.UUID `json:"vminterface_id,omitempty"` + // VminterfaceN VM interface (name) + VminterfaceN *[]string `form:"vminterface__n,omitempty" json:"vminterface__n,omitempty"` - // VM interface (ID) - VminterfaceIdN *[]openapi_types.UUID `json:"vminterface_id__n,omitempty"` + // VminterfaceId VM interface (ID) + VminterfaceId *[]openapi_types.UUID `form:"vminterface_id,omitempty" json:"vminterface_id,omitempty"` - // VRF (RD) - Vrf *[]string `json:"vrf,omitempty"` + // VminterfaceIdN VM interface (ID) + VminterfaceIdN *[]openapi_types.UUID `form:"vminterface_id__n,omitempty" json:"vminterface_id__n,omitempty"` - // VRF (RD) - VrfN *[]string `json:"vrf__n,omitempty"` + // Vrf VRF (RD) + Vrf *[]string `form:"vrf,omitempty" json:"vrf,omitempty"` - // VRF - VrfId *[]openapi_types.UUID `json:"vrf_id,omitempty"` + // VrfN VRF (RD) + VrfN *[]string `form:"vrf__n,omitempty" json:"vrf__n,omitempty"` - // VRF - VrfIdN *[]openapi_types.UUID `json:"vrf_id__n,omitempty"` + // VrfId VRF + VrfId *[]openapi_types.UUID `form:"vrf_id,omitempty" json:"vrf_id,omitempty"` + + // VrfIdN VRF + VrfIdN *[]openapi_types.UUID `form:"vrf_id__n,omitempty" json:"vrf_id__n,omitempty"` } // IpamIpAddressesBulkPartialUpdateJSONBody defines parameters for IpamIpAddressesBulkPartialUpdate. -type IpamIpAddressesBulkPartialUpdateJSONBody PatchedWritableIPAddress - -// IpamIpAddressesCreateJSONBody defines parameters for IpamIpAddressesCreate. -type IpamIpAddressesCreateJSONBody WritableIPAddress +type IpamIpAddressesBulkPartialUpdateJSONBody = []PatchedBulkWritableIPAddressRequest // IpamIpAddressesBulkUpdateJSONBody defines parameters for IpamIpAddressesBulkUpdate. -type IpamIpAddressesBulkUpdateJSONBody WritableIPAddress +type IpamIpAddressesBulkUpdateJSONBody = []BulkWritableIPAddressRequest -// IpamIpAddressesPartialUpdateJSONBody defines parameters for IpamIpAddressesPartialUpdate. -type IpamIpAddressesPartialUpdateJSONBody PatchedWritableIPAddress +// IpamIpAddressesNotesListParams defines parameters for IpamIpAddressesNotesList. +type IpamIpAddressesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// IpamIpAddressesUpdateJSONBody defines parameters for IpamIpAddressesUpdate. -type IpamIpAddressesUpdateJSONBody WritableIPAddress + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// IpamPrefixesBulkDestroyJSONBody defines parameters for IpamPrefixesBulkDestroy. +type IpamPrefixesBulkDestroyJSONBody = []BulkOperationRequest // IpamPrefixesListParams defines parameters for IpamPrefixesList. type IpamPrefixesListParams struct { - // Prefixes which contain this prefix or IP - Contains *string `json:"contains,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` + // Contains Prefixes which contain this prefix or IP + Contains *string `form:"contains,omitempty" json:"contains,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` - // Family - Family *float32 `json:"family,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - IsPool *bool `json:"is_pool,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + // Family Family + Family *float32 `form:"family,omitempty" json:"family,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + IsPool *bool `form:"is_pool,omitempty" json:"is_pool,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // mask_length - MaskLength *float32 `json:"mask_length,omitempty"` + // Location Location (slug or ID) + Location *[]openapi_types.UUID `form:"location,omitempty" json:"location,omitempty"` - // mask_length__gte - MaskLengthGte *float32 `json:"mask_length__gte,omitempty"` + // LocationN Location (slug or ID) + LocationN *[]openapi_types.UUID `form:"location__n,omitempty" json:"location__n,omitempty"` - // mask_length__lte - MaskLengthLte *float32 `json:"mask_length__lte,omitempty"` + // MaskLength mask_length + MaskLength *float32 `form:"mask_length,omitempty" json:"mask_length,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // MaskLengthGte mask_length__gte + MaskLengthGte *float32 `form:"mask_length__gte,omitempty" json:"mask_length__gte,omitempty"` - // Prefix - Prefix *string `json:"prefix,omitempty"` + // MaskLengthLte mask_length__lte + MaskLengthLte *float32 `form:"mask_length__lte,omitempty" json:"mask_length__lte,omitempty"` - // VRF (RD) - PresentInVrf *string `json:"present_in_vrf,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // VRF - PresentInVrfId *openapi_types.UUID `json:"present_in_vrf_id,omitempty"` + // Prefix Prefix + Prefix *string `form:"prefix,omitempty" json:"prefix,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // PresentInVrf VRF (RD) + PresentInVrf *string `form:"present_in_vrf,omitempty" json:"present_in_vrf,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // PresentInVrfId VRF + PresentInVrfId *openapi_types.UUID `form:"present_in_vrf_id,omitempty" json:"present_in_vrf_id,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // Region Region (slug or ID) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // RegionN Region (slug or ID) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` - // Role (slug) - Role *[]string `json:"role,omitempty"` + // RegionId Region (ID) (deprecated, use "region" filter instead) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` - // Role (slug) - RoleN *[]string `json:"role__n,omitempty"` + // RegionIdN Region (ID) (deprecated, use "region" filter instead) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` - // Role (ID) - RoleId *[]openapi_types.UUID `json:"role_id,omitempty"` + // Role Role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` - // Role (ID) - RoleIdN *[]openapi_types.UUID `json:"role_id__n,omitempty"` + // RoleN Role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` - // Site (slug) - Site *[]string `json:"site,omitempty"` + // RoleId Role (ID) + RoleId *[]openapi_types.UUID `form:"role_id,omitempty" json:"role_id,omitempty"` - // Site (slug) - SiteN *[]string `json:"site__n,omitempty"` + // RoleIdN Role (ID) + RoleIdN *[]openapi_types.UUID `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // Site Site (slug or ID) + Site *[]openapi_types.UUID `form:"site,omitempty" json:"site,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Status *[]openapi_types.UUID `json:"status,omitempty"` - StatusN *[]openapi_types.UUID `json:"status__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // SiteN Site (slug or ID) + SiteN *[]openapi_types.UUID `form:"site__n,omitempty" json:"site__n,omitempty"` - // Tenant (slug) - Tenant *[]string `json:"tenant,omitempty"` + // SiteId Site (ID) (deprecated, use "site" filter instead) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` - // Tenant (slug) - TenantN *[]string `json:"tenant__n,omitempty"` + // SiteIdN Site (ID) (deprecated, use "site" filter instead) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Status *[]openapi_types.UUID `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]openapi_types.UUID `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` - // Tenant Group (slug) - TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + // Tenant Tenant (slug or ID) + Tenant *[]openapi_types.UUID `form:"tenant,omitempty" json:"tenant,omitempty"` - // Tenant Group (slug) - TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + // TenantN Tenant (slug or ID) + TenantN *[]openapi_types.UUID `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` - // Tenant Group (ID) - TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + // TenantGroup Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` - // Tenant Group (ID) - TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` - // Tenant (ID) - TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` - // Tenant (ID) - TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` - // VLAN (ID) - VlanId *[]openapi_types.UUID `json:"vlan_id,omitempty"` + // TenantId Tenant (ID) (deprecated, use "tenant" filter instead) + TenantId *[]openapi_types.UUID `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` - // VLAN (ID) - VlanIdN *[]openapi_types.UUID `json:"vlan_id__n,omitempty"` + // TenantIdN Tenant (ID) (deprecated, use "tenant" filter instead) + TenantIdN *[]openapi_types.UUID `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` - // VLAN number (1-4095) - VlanVid *int `json:"vlan_vid,omitempty"` + // VlanId VLAN (ID) + VlanId *[]openapi_types.UUID `form:"vlan_id,omitempty" json:"vlan_id,omitempty"` - // VRF (RD) - Vrf *[]string `json:"vrf,omitempty"` + // VlanIdN VLAN (ID) + VlanIdN *[]openapi_types.UUID `form:"vlan_id__n,omitempty" json:"vlan_id__n,omitempty"` - // VRF (RD) - VrfN *[]string `json:"vrf__n,omitempty"` + // VlanVid VLAN number (1-4095) + VlanVid *int `form:"vlan_vid,omitempty" json:"vlan_vid,omitempty"` - // VRF - VrfId *[]openapi_types.UUID `json:"vrf_id,omitempty"` + // Vrf VRF (RD) + Vrf *[]string `form:"vrf,omitempty" json:"vrf,omitempty"` - // VRF - VrfIdN *[]openapi_types.UUID `json:"vrf_id__n,omitempty"` + // VrfN VRF (RD) + VrfN *[]string `form:"vrf__n,omitempty" json:"vrf__n,omitempty"` - // Within prefix - Within *string `json:"within,omitempty"` + // VrfId VRF + VrfId *[]openapi_types.UUID `form:"vrf_id,omitempty" json:"vrf_id,omitempty"` - // Within and including prefix - WithinInclude *string `json:"within_include,omitempty"` + // VrfIdN VRF + VrfIdN *[]openapi_types.UUID `form:"vrf_id__n,omitempty" json:"vrf_id__n,omitempty"` + + // Within Within prefix + Within *string `form:"within,omitempty" json:"within,omitempty"` + + // WithinInclude Within and including prefix + WithinInclude *string `form:"within_include,omitempty" json:"within_include,omitempty"` } // IpamPrefixesBulkPartialUpdateJSONBody defines parameters for IpamPrefixesBulkPartialUpdate. -type IpamPrefixesBulkPartialUpdateJSONBody PatchedWritablePrefix - -// IpamPrefixesCreateJSONBody defines parameters for IpamPrefixesCreate. -type IpamPrefixesCreateJSONBody WritablePrefix +type IpamPrefixesBulkPartialUpdateJSONBody = []PatchedBulkWritablePrefixRequest // IpamPrefixesBulkUpdateJSONBody defines parameters for IpamPrefixesBulkUpdate. -type IpamPrefixesBulkUpdateJSONBody WritablePrefix - -// IpamPrefixesPartialUpdateJSONBody defines parameters for IpamPrefixesPartialUpdate. -type IpamPrefixesPartialUpdateJSONBody PatchedWritablePrefix - -// IpamPrefixesUpdateJSONBody defines parameters for IpamPrefixesUpdate. -type IpamPrefixesUpdateJSONBody WritablePrefix +type IpamPrefixesBulkUpdateJSONBody = []BulkWritablePrefixRequest // IpamPrefixesAvailableIpsListParams defines parameters for IpamPrefixesAvailableIpsList. type IpamPrefixesAvailableIpsListParams struct { - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` } -// IpamPrefixesAvailableIpsCreateJSONBody defines parameters for IpamPrefixesAvailableIpsCreate. -type IpamPrefixesAvailableIpsCreateJSONBody []AvailableIP - // IpamPrefixesAvailableIpsCreateParams defines parameters for IpamPrefixesAvailableIpsCreate. type IpamPrefixesAvailableIpsCreateParams struct { - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` } // IpamPrefixesAvailablePrefixesListParams defines parameters for IpamPrefixesAvailablePrefixesList. type IpamPrefixesAvailablePrefixesListParams struct { - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` } -// IpamPrefixesAvailablePrefixesCreateJSONBody defines parameters for IpamPrefixesAvailablePrefixesCreate. -type IpamPrefixesAvailablePrefixesCreateJSONBody PrefixLength +// IpamPrefixesNotesListParams defines parameters for IpamPrefixesNotesList. +type IpamPrefixesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// IpamRirsBulkDestroyJSONBody defines parameters for IpamRirsBulkDestroy. +type IpamRirsBulkDestroyJSONBody = []BulkOperationRequest // IpamRirsListParams defines parameters for IpamRirsList. type IpamRirsListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Description *[]string `json:"description,omitempty"` - DescriptionIc *[]string `json:"description__ic,omitempty"` - DescriptionIe *[]string `json:"description__ie,omitempty"` - DescriptionIew *[]string `json:"description__iew,omitempty"` - DescriptionIre *[]string `json:"description__ire,omitempty"` - DescriptionIsw *[]string `json:"description__isw,omitempty"` - DescriptionN *[]string `json:"description__n,omitempty"` - DescriptionNic *[]string `json:"description__nic,omitempty"` - DescriptionNie *[]string `json:"description__nie,omitempty"` - DescriptionNiew *[]string `json:"description__niew,omitempty"` - DescriptionNire *[]string `json:"description__nire,omitempty"` - DescriptionNisw *[]string `json:"description__nisw,omitempty"` - DescriptionNre *[]string `json:"description__nre,omitempty"` - DescriptionRe *[]string `json:"description__re,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - IsPrivate *bool `json:"is_private,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + IsPrivate *bool `form:"is_private,omitempty" json:"is_private,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` } // IpamRirsBulkPartialUpdateJSONBody defines parameters for IpamRirsBulkPartialUpdate. -type IpamRirsBulkPartialUpdateJSONBody PatchedRIR - -// IpamRirsCreateJSONBody defines parameters for IpamRirsCreate. -type IpamRirsCreateJSONBody RIR +type IpamRirsBulkPartialUpdateJSONBody = []PatchedBulkWritableRIRRequest // IpamRirsBulkUpdateJSONBody defines parameters for IpamRirsBulkUpdate. -type IpamRirsBulkUpdateJSONBody RIR +type IpamRirsBulkUpdateJSONBody = []BulkWritableRIRRequest -// IpamRirsPartialUpdateJSONBody defines parameters for IpamRirsPartialUpdate. -type IpamRirsPartialUpdateJSONBody PatchedRIR +// IpamRirsNotesListParams defines parameters for IpamRirsNotesList. +type IpamRirsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// IpamRirsUpdateJSONBody defines parameters for IpamRirsUpdate. -type IpamRirsUpdateJSONBody RIR + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// IpamRolesBulkDestroyJSONBody defines parameters for IpamRolesBulkDestroy. +type IpamRolesBulkDestroyJSONBody = []BulkOperationRequest // IpamRolesListParams defines parameters for IpamRolesList. type IpamRolesListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` } // IpamRolesBulkPartialUpdateJSONBody defines parameters for IpamRolesBulkPartialUpdate. -type IpamRolesBulkPartialUpdateJSONBody PatchedRole - -// IpamRolesCreateJSONBody defines parameters for IpamRolesCreate. -type IpamRolesCreateJSONBody Role +type IpamRolesBulkPartialUpdateJSONBody = []PatchedBulkWritableRoleRequest // IpamRolesBulkUpdateJSONBody defines parameters for IpamRolesBulkUpdate. -type IpamRolesBulkUpdateJSONBody Role +type IpamRolesBulkUpdateJSONBody = []BulkWritableRoleRequest -// IpamRolesPartialUpdateJSONBody defines parameters for IpamRolesPartialUpdate. -type IpamRolesPartialUpdateJSONBody PatchedRole +// IpamRolesNotesListParams defines parameters for IpamRolesNotesList. +type IpamRolesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// IpamRolesUpdateJSONBody defines parameters for IpamRolesUpdate. -type IpamRolesUpdateJSONBody Role + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// IpamRouteTargetsBulkDestroyJSONBody defines parameters for IpamRouteTargetsBulkDestroy. +type IpamRouteTargetsBulkDestroyJSONBody = []BulkOperationRequest // IpamRouteTargetsListParams defines parameters for IpamRouteTargetsList. type IpamRouteTargetsListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` - // Export VRF (RD) - ExportingVrf *[]string `json:"exporting_vrf,omitempty"` + // ExportingVrf Export VRF (RD) + ExportingVrf *[]string `form:"exporting_vrf,omitempty" json:"exporting_vrf,omitempty"` - // Export VRF (RD) - ExportingVrfN *[]string `json:"exporting_vrf__n,omitempty"` + // ExportingVrfN Export VRF (RD) + ExportingVrfN *[]string `form:"exporting_vrf__n,omitempty" json:"exporting_vrf__n,omitempty"` - // Exporting VRF - ExportingVrfId *[]openapi_types.UUID `json:"exporting_vrf_id,omitempty"` + // ExportingVrfId Exporting VRF + ExportingVrfId *[]openapi_types.UUID `form:"exporting_vrf_id,omitempty" json:"exporting_vrf_id,omitempty"` - // Exporting VRF - ExportingVrfIdN *[]openapi_types.UUID `json:"exporting_vrf_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // ExportingVrfIdN Exporting VRF + ExportingVrfIdN *[]openapi_types.UUID `form:"exporting_vrf_id__n,omitempty" json:"exporting_vrf_id__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Import VRF (RD) - ImportingVrf *[]string `json:"importing_vrf,omitempty"` + // ImportingVrf Import VRF (RD) + ImportingVrf *[]string `form:"importing_vrf,omitempty" json:"importing_vrf,omitempty"` - // Import VRF (RD) - ImportingVrfN *[]string `json:"importing_vrf__n,omitempty"` + // ImportingVrfN Import VRF (RD) + ImportingVrfN *[]string `form:"importing_vrf__n,omitempty" json:"importing_vrf__n,omitempty"` - // Importing VRF - ImportingVrfId *[]openapi_types.UUID `json:"importing_vrf_id,omitempty"` + // ImportingVrfId Importing VRF + ImportingVrfId *[]openapi_types.UUID `form:"importing_vrf_id,omitempty" json:"importing_vrf_id,omitempty"` - // Importing VRF - ImportingVrfIdN *[]openapi_types.UUID `json:"importing_vrf_id__n,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + // ImportingVrfIdN Importing VRF + ImportingVrfIdN *[]openapi_types.UUID `form:"importing_vrf_id__n,omitempty" json:"importing_vrf_id__n,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` - // Tenant (slug) - Tenant *[]string `json:"tenant,omitempty"` + // Tenant Tenant (slug or ID) + Tenant *[]openapi_types.UUID `form:"tenant,omitempty" json:"tenant,omitempty"` - // Tenant (slug) - TenantN *[]string `json:"tenant__n,omitempty"` + // TenantN Tenant (slug or ID) + TenantN *[]openapi_types.UUID `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` - // Tenant Group (slug) - TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + // TenantGroup Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` - // Tenant Group (slug) - TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` - // Tenant Group (ID) - TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` - // Tenant Group (ID) - TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` - // Tenant (ID) - TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + // TenantId Tenant (ID) (deprecated, use "tenant" filter instead) + TenantId *[]openapi_types.UUID `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` - // Tenant (ID) - TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` + // TenantIdN Tenant (ID) (deprecated, use "tenant" filter instead) + TenantIdN *[]openapi_types.UUID `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` } // IpamRouteTargetsBulkPartialUpdateJSONBody defines parameters for IpamRouteTargetsBulkPartialUpdate. -type IpamRouteTargetsBulkPartialUpdateJSONBody PatchedWritableRouteTarget - -// IpamRouteTargetsCreateJSONBody defines parameters for IpamRouteTargetsCreate. -type IpamRouteTargetsCreateJSONBody WritableRouteTarget +type IpamRouteTargetsBulkPartialUpdateJSONBody = []PatchedBulkWritableRouteTargetRequest // IpamRouteTargetsBulkUpdateJSONBody defines parameters for IpamRouteTargetsBulkUpdate. -type IpamRouteTargetsBulkUpdateJSONBody WritableRouteTarget +type IpamRouteTargetsBulkUpdateJSONBody = []BulkWritableRouteTargetRequest -// IpamRouteTargetsPartialUpdateJSONBody defines parameters for IpamRouteTargetsPartialUpdate. -type IpamRouteTargetsPartialUpdateJSONBody PatchedWritableRouteTarget +// IpamRouteTargetsNotesListParams defines parameters for IpamRouteTargetsNotesList. +type IpamRouteTargetsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// IpamRouteTargetsUpdateJSONBody defines parameters for IpamRouteTargetsUpdate. -type IpamRouteTargetsUpdateJSONBody WritableRouteTarget + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// IpamServicesBulkDestroyJSONBody defines parameters for IpamServicesBulkDestroy. +type IpamServicesBulkDestroyJSONBody = []BulkOperationRequest // IpamServicesListParams defines parameters for IpamServicesList. type IpamServicesListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` - // Device (name) - Device *[]string `json:"device,omitempty"` + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` - // Device (name) - DeviceN *[]string `json:"device__n,omitempty"` + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` - // Device (ID) - DeviceId *[]openapi_types.UUID `json:"device_id,omitempty"` + // DeviceId Device (ID) + DeviceId *[]openapi_types.UUID `form:"device_id,omitempty" json:"device_id,omitempty"` - // Device (ID) - DeviceIdN *[]openapi_types.UUID `json:"device_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + // DeviceIdN Device (ID) + DeviceIdN *[]openapi_types.UUID `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` - Port *float32 `json:"port,omitempty"` - Protocol *string `json:"protocol,omitempty"` - ProtocolN *string `json:"protocol__n,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + Port *float32 `form:"port,omitempty" json:"port,omitempty"` + Protocol *string `form:"protocol,omitempty" json:"protocol,omitempty"` + ProtocolN *string `form:"protocol__n,omitempty" json:"protocol__n,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` - // Virtual machine (name) - VirtualMachine *[]string `json:"virtual_machine,omitempty"` + // VirtualMachine Virtual machine (name) + VirtualMachine *[]string `form:"virtual_machine,omitempty" json:"virtual_machine,omitempty"` - // Virtual machine (name) - VirtualMachineN *[]string `json:"virtual_machine__n,omitempty"` + // VirtualMachineN Virtual machine (name) + VirtualMachineN *[]string `form:"virtual_machine__n,omitempty" json:"virtual_machine__n,omitempty"` - // Virtual machine (ID) - VirtualMachineId *[]openapi_types.UUID `json:"virtual_machine_id,omitempty"` + // VirtualMachineId Virtual machine (ID) + VirtualMachineId *[]openapi_types.UUID `form:"virtual_machine_id,omitempty" json:"virtual_machine_id,omitempty"` - // Virtual machine (ID) - VirtualMachineIdN *[]openapi_types.UUID `json:"virtual_machine_id__n,omitempty"` + // VirtualMachineIdN Virtual machine (ID) + VirtualMachineIdN *[]openapi_types.UUID `form:"virtual_machine_id__n,omitempty" json:"virtual_machine_id__n,omitempty"` } // IpamServicesBulkPartialUpdateJSONBody defines parameters for IpamServicesBulkPartialUpdate. -type IpamServicesBulkPartialUpdateJSONBody PatchedWritableService - -// IpamServicesCreateJSONBody defines parameters for IpamServicesCreate. -type IpamServicesCreateJSONBody WritableService +type IpamServicesBulkPartialUpdateJSONBody = []PatchedBulkWritableServiceRequest // IpamServicesBulkUpdateJSONBody defines parameters for IpamServicesBulkUpdate. -type IpamServicesBulkUpdateJSONBody WritableService +type IpamServicesBulkUpdateJSONBody = []BulkWritableServiceRequest -// IpamServicesPartialUpdateJSONBody defines parameters for IpamServicesPartialUpdate. -type IpamServicesPartialUpdateJSONBody PatchedWritableService +// IpamServicesNotesListParams defines parameters for IpamServicesNotesList. +type IpamServicesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// IpamServicesUpdateJSONBody defines parameters for IpamServicesUpdate. -type IpamServicesUpdateJSONBody WritableService + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// IpamVlanGroupsBulkDestroyJSONBody defines parameters for IpamVlanGroupsBulkDestroy. +type IpamVlanGroupsBulkDestroyJSONBody = []BulkOperationRequest // IpamVlanGroupsListParams defines parameters for IpamVlanGroupsList. type IpamVlanGroupsListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Description *[]string `json:"description,omitempty"` - DescriptionIc *[]string `json:"description__ic,omitempty"` - DescriptionIe *[]string `json:"description__ie,omitempty"` - DescriptionIew *[]string `json:"description__iew,omitempty"` - DescriptionIre *[]string `json:"description__ire,omitempty"` - DescriptionIsw *[]string `json:"description__isw,omitempty"` - DescriptionN *[]string `json:"description__n,omitempty"` - DescriptionNic *[]string `json:"description__nic,omitempty"` - DescriptionNie *[]string `json:"description__nie,omitempty"` - DescriptionNiew *[]string `json:"description__niew,omitempty"` - DescriptionNire *[]string `json:"description__nire,omitempty"` - DescriptionNisw *[]string `json:"description__nisw,omitempty"` - DescriptionNre *[]string `json:"description__nre,omitempty"` - DescriptionRe *[]string `json:"description__re,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Location Location (slug or ID) + Location *[]openapi_types.UUID `form:"location,omitempty" json:"location,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // LocationN Location (slug or ID) + LocationN *[]openapi_types.UUID `form:"location__n,omitempty" json:"location__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // Region Region (slug or ID) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // RegionN Region (slug or ID) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` - // Site (slug) - Site *[]string `json:"site,omitempty"` + // RegionId Region (ID) (deprecated, use "region" filter instead) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` - // Site (slug) - SiteN *[]string `json:"site__n,omitempty"` + // RegionIdN Region (ID) (deprecated, use "region" filter instead) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // Site Site (slug or ID) + Site *[]openapi_types.UUID `form:"site,omitempty" json:"site,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // SiteN Site (slug or ID) + SiteN *[]openapi_types.UUID `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteId Site (ID) (deprecated, use "site" filter instead) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) (deprecated, use "site" filter instead) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` } // IpamVlanGroupsBulkPartialUpdateJSONBody defines parameters for IpamVlanGroupsBulkPartialUpdate. -type IpamVlanGroupsBulkPartialUpdateJSONBody PatchedWritableVLANGroup - -// IpamVlanGroupsCreateJSONBody defines parameters for IpamVlanGroupsCreate. -type IpamVlanGroupsCreateJSONBody WritableVLANGroup +type IpamVlanGroupsBulkPartialUpdateJSONBody = []PatchedBulkWritableVLANGroupRequest // IpamVlanGroupsBulkUpdateJSONBody defines parameters for IpamVlanGroupsBulkUpdate. -type IpamVlanGroupsBulkUpdateJSONBody WritableVLANGroup +type IpamVlanGroupsBulkUpdateJSONBody = []BulkWritableVLANGroupRequest -// IpamVlanGroupsPartialUpdateJSONBody defines parameters for IpamVlanGroupsPartialUpdate. -type IpamVlanGroupsPartialUpdateJSONBody PatchedWritableVLANGroup +// IpamVlanGroupsNotesListParams defines parameters for IpamVlanGroupsNotesList. +type IpamVlanGroupsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// IpamVlanGroupsUpdateJSONBody defines parameters for IpamVlanGroupsUpdate. -type IpamVlanGroupsUpdateJSONBody WritableVLANGroup + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// IpamVlansBulkDestroyJSONBody defines parameters for IpamVlansBulkDestroy. +type IpamVlansBulkDestroyJSONBody = []BulkOperationRequest // IpamVlansListParams defines parameters for IpamVlansList. type IpamVlansListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` + // AvailableOnDevice Device (ID) + AvailableOnDevice *openapi_types.UUID `form:"available_on_device,omitempty" json:"available_on_device,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` - // Group - Group *[]string `json:"group,omitempty"` + // Group Group + Group *[]string `form:"group,omitempty" json:"group,omitempty"` - // Group - GroupN *[]string `json:"group__n,omitempty"` + // GroupN Group + GroupN *[]string `form:"group__n,omitempty" json:"group__n,omitempty"` - // Group (ID) - GroupId *[]openapi_types.UUID `json:"group_id,omitempty"` + // GroupId Group (ID) + GroupId *[]openapi_types.UUID `form:"group_id,omitempty" json:"group_id,omitempty"` - // Group (ID) - GroupIdN *[]openapi_types.UUID `json:"group_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + // GroupIdN Group (ID) + GroupIdN *[]openapi_types.UUID `form:"group_id__n,omitempty" json:"group_id__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Location Location (slug or ID) + Location *[]openapi_types.UUID `form:"location,omitempty" json:"location,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // LocationN Location (slug or ID) + LocationN *[]openapi_types.UUID `form:"location__n,omitempty" json:"location__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // Region Region (slug or ID) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // RegionN Region (slug or ID) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` - // Role (slug) - Role *[]string `json:"role,omitempty"` + // RegionId Region (ID) (deprecated, use "region" filter instead) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` - // Role (slug) - RoleN *[]string `json:"role__n,omitempty"` + // RegionIdN Region (ID) (deprecated, use "region" filter instead) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` - // Role (ID) - RoleId *[]openapi_types.UUID `json:"role_id,omitempty"` + // Role Role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` - // Role (ID) - RoleIdN *[]openapi_types.UUID `json:"role_id__n,omitempty"` + // RoleN Role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` - // Site (slug) - Site *[]string `json:"site,omitempty"` + // RoleId Role (ID) + RoleId *[]openapi_types.UUID `form:"role_id,omitempty" json:"role_id,omitempty"` - // Site (slug) - SiteN *[]string `json:"site__n,omitempty"` + // RoleIdN Role (ID) + RoleIdN *[]openapi_types.UUID `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // Site Site (slug or ID) + Site *[]openapi_types.UUID `form:"site,omitempty" json:"site,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Status *[]openapi_types.UUID `json:"status,omitempty"` - StatusN *[]openapi_types.UUID `json:"status__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // SiteN Site (slug or ID) + SiteN *[]openapi_types.UUID `form:"site__n,omitempty" json:"site__n,omitempty"` - // Tenant (slug) - Tenant *[]string `json:"tenant,omitempty"` + // SiteId Site (ID) (deprecated, use "site" filter instead) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` - // Tenant (slug) - TenantN *[]string `json:"tenant__n,omitempty"` + // SiteIdN Site (ID) (deprecated, use "site" filter instead) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Status *[]openapi_types.UUID `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]openapi_types.UUID `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` - // Tenant Group (slug) - TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + // Tenant Tenant (slug or ID) + Tenant *[]openapi_types.UUID `form:"tenant,omitempty" json:"tenant,omitempty"` - // Tenant Group (slug) - TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + // TenantN Tenant (slug or ID) + TenantN *[]openapi_types.UUID `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` - // Tenant Group (ID) - TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + // TenantGroup Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` - // Tenant Group (ID) - TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` - // Tenant (ID) - TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` - // Tenant (ID) - TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` - Vid *[]int `json:"vid,omitempty"` - VidGt *[]int `json:"vid__gt,omitempty"` - VidGte *[]int `json:"vid__gte,omitempty"` - VidLt *[]int `json:"vid__lt,omitempty"` - VidLte *[]int `json:"vid__lte,omitempty"` - VidN *[]int `json:"vid__n,omitempty"` + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) (deprecated, use "tenant" filter instead) + TenantId *[]openapi_types.UUID `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) (deprecated, use "tenant" filter instead) + TenantIdN *[]openapi_types.UUID `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + Vid *[]int `form:"vid,omitempty" json:"vid,omitempty"` + VidGt *[]int `form:"vid__gt,omitempty" json:"vid__gt,omitempty"` + VidGte *[]int `form:"vid__gte,omitempty" json:"vid__gte,omitempty"` + VidLt *[]int `form:"vid__lt,omitempty" json:"vid__lt,omitempty"` + VidLte *[]int `form:"vid__lte,omitempty" json:"vid__lte,omitempty"` + VidN *[]int `form:"vid__n,omitempty" json:"vid__n,omitempty"` } // IpamVlansBulkPartialUpdateJSONBody defines parameters for IpamVlansBulkPartialUpdate. -type IpamVlansBulkPartialUpdateJSONBody PatchedWritableVLAN - -// IpamVlansCreateJSONBody defines parameters for IpamVlansCreate. -type IpamVlansCreateJSONBody WritableVLAN +type IpamVlansBulkPartialUpdateJSONBody = []PatchedBulkWritableVLANRequest // IpamVlansBulkUpdateJSONBody defines parameters for IpamVlansBulkUpdate. -type IpamVlansBulkUpdateJSONBody WritableVLAN +type IpamVlansBulkUpdateJSONBody = []BulkWritableVLANRequest -// IpamVlansPartialUpdateJSONBody defines parameters for IpamVlansPartialUpdate. -type IpamVlansPartialUpdateJSONBody PatchedWritableVLAN +// IpamVlansNotesListParams defines parameters for IpamVlansNotesList. +type IpamVlansNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// IpamVlansUpdateJSONBody defines parameters for IpamVlansUpdate. -type IpamVlansUpdateJSONBody WritableVLAN + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// IpamVrfsBulkDestroyJSONBody defines parameters for IpamVrfsBulkDestroy. +type IpamVrfsBulkDestroyJSONBody = []BulkOperationRequest // IpamVrfsListParams defines parameters for IpamVrfsList. type IpamVrfsListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - EnforceUnique *bool `json:"enforce_unique,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + EnforceUnique *bool `form:"enforce_unique,omitempty" json:"enforce_unique,omitempty"` - // Export target (name) - ExportTarget *[]string `json:"export_target,omitempty"` + // ExportTarget Export target (name) + ExportTarget *[]string `form:"export_target,omitempty" json:"export_target,omitempty"` - // Export target (name) - ExportTargetN *[]string `json:"export_target__n,omitempty"` + // ExportTargetN Export target (name) + ExportTargetN *[]string `form:"export_target__n,omitempty" json:"export_target__n,omitempty"` - // Export target - ExportTargetId *[]openapi_types.UUID `json:"export_target_id,omitempty"` + // ExportTargetId Export target + ExportTargetId *[]openapi_types.UUID `form:"export_target_id,omitempty" json:"export_target_id,omitempty"` - // Export target - ExportTargetIdN *[]openapi_types.UUID `json:"export_target_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // ExportTargetIdN Export target + ExportTargetIdN *[]openapi_types.UUID `form:"export_target_id__n,omitempty" json:"export_target_id__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Import target (name) - ImportTarget *[]string `json:"import_target,omitempty"` + // ImportTarget Import target (name) + ImportTarget *[]string `form:"import_target,omitempty" json:"import_target,omitempty"` - // Import target (name) - ImportTargetN *[]string `json:"import_target__n,omitempty"` + // ImportTargetN Import target (name) + ImportTargetN *[]string `form:"import_target__n,omitempty" json:"import_target__n,omitempty"` - // Import target - ImportTargetId *[]openapi_types.UUID `json:"import_target_id,omitempty"` + // ImportTargetId Import target + ImportTargetId *[]openapi_types.UUID `form:"import_target_id,omitempty" json:"import_target_id,omitempty"` - // Import target - ImportTargetIdN *[]openapi_types.UUID `json:"import_target_id__n,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + // ImportTargetIdN Import target + ImportTargetIdN *[]openapi_types.UUID `form:"import_target_id__n,omitempty" json:"import_target_id__n,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Rd *[]string `json:"rd,omitempty"` - RdIc *[]string `json:"rd__ic,omitempty"` - RdIe *[]string `json:"rd__ie,omitempty"` - RdIew *[]string `json:"rd__iew,omitempty"` - RdIre *[]string `json:"rd__ire,omitempty"` - RdIsw *[]string `json:"rd__isw,omitempty"` - RdN *[]string `json:"rd__n,omitempty"` - RdNic *[]string `json:"rd__nic,omitempty"` - RdNie *[]string `json:"rd__nie,omitempty"` - RdNiew *[]string `json:"rd__niew,omitempty"` - RdNire *[]string `json:"rd__nire,omitempty"` - RdNisw *[]string `json:"rd__nisw,omitempty"` - RdNre *[]string `json:"rd__nre,omitempty"` - RdRe *[]string `json:"rd__re,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Rd *[]string `form:"rd,omitempty" json:"rd,omitempty"` + RdIc *[]string `form:"rd__ic,omitempty" json:"rd__ic,omitempty"` + RdIe *[]string `form:"rd__ie,omitempty" json:"rd__ie,omitempty"` + RdIew *[]string `form:"rd__iew,omitempty" json:"rd__iew,omitempty"` + RdIre *[]string `form:"rd__ire,omitempty" json:"rd__ire,omitempty"` + RdIsw *[]string `form:"rd__isw,omitempty" json:"rd__isw,omitempty"` + RdN *[]string `form:"rd__n,omitempty" json:"rd__n,omitempty"` + RdNic *[]string `form:"rd__nic,omitempty" json:"rd__nic,omitempty"` + RdNie *[]string `form:"rd__nie,omitempty" json:"rd__nie,omitempty"` + RdNiew *[]string `form:"rd__niew,omitempty" json:"rd__niew,omitempty"` + RdNire *[]string `form:"rd__nire,omitempty" json:"rd__nire,omitempty"` + RdNisw *[]string `form:"rd__nisw,omitempty" json:"rd__nisw,omitempty"` + RdNre *[]string `form:"rd__nre,omitempty" json:"rd__nre,omitempty"` + RdRe *[]string `form:"rd__re,omitempty" json:"rd__re,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` - // Tenant (slug) - Tenant *[]string `json:"tenant,omitempty"` + // Tenant Tenant (slug or ID) + Tenant *[]openapi_types.UUID `form:"tenant,omitempty" json:"tenant,omitempty"` - // Tenant (slug) - TenantN *[]string `json:"tenant__n,omitempty"` + // TenantN Tenant (slug or ID) + TenantN *[]openapi_types.UUID `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` - // Tenant Group (slug) - TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + // TenantGroup Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` - // Tenant Group (slug) - TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` - // Tenant Group (ID) - TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` - // Tenant Group (ID) - TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` - // Tenant (ID) - TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + // TenantId Tenant (ID) (deprecated, use "tenant" filter instead) + TenantId *[]openapi_types.UUID `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` - // Tenant (ID) - TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` + // TenantIdN Tenant (ID) (deprecated, use "tenant" filter instead) + TenantIdN *[]openapi_types.UUID `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` } // IpamVrfsBulkPartialUpdateJSONBody defines parameters for IpamVrfsBulkPartialUpdate. -type IpamVrfsBulkPartialUpdateJSONBody PatchedWritableVRF - -// IpamVrfsCreateJSONBody defines parameters for IpamVrfsCreate. -type IpamVrfsCreateJSONBody WritableVRF +type IpamVrfsBulkPartialUpdateJSONBody = []PatchedBulkWritableVRFRequest // IpamVrfsBulkUpdateJSONBody defines parameters for IpamVrfsBulkUpdate. -type IpamVrfsBulkUpdateJSONBody WritableVRF +type IpamVrfsBulkUpdateJSONBody = []BulkWritableVRFRequest -// IpamVrfsPartialUpdateJSONBody defines parameters for IpamVrfsPartialUpdate. -type IpamVrfsPartialUpdateJSONBody PatchedWritableVRF +// IpamVrfsNotesListParams defines parameters for IpamVrfsNotesList. +type IpamVrfsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// IpamVrfsUpdateJSONBody defines parameters for IpamVrfsUpdate. -type IpamVrfsUpdateJSONBody WritableVRF + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// PluginsBgpAddressFamiliesBulkDestroyJSONBody defines parameters for PluginsBgpAddressFamiliesBulkDestroy. +type PluginsBgpAddressFamiliesBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsBgpAddressFamiliesListParams defines parameters for PluginsBgpAddressFamiliesList. +type PluginsBgpAddressFamiliesListParams struct { + AfiSafi *[]string `form:"afi_safi,omitempty" json:"afi_safi,omitempty"` + AfiSafiN *[]string `form:"afi_safi__n,omitempty" json:"afi_safi__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + + // IncludeInherited Include inherited configuration values + IncludeInherited *bool `form:"include_inherited,omitempty" json:"include_inherited,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // RoutingInstance BGP Routing Instance ID + RoutingInstance *[]openapi_types.UUID `form:"routing_instance,omitempty" json:"routing_instance,omitempty"` + + // RoutingInstanceN BGP Routing Instance ID + RoutingInstanceN *[]openapi_types.UUID `form:"routing_instance__n,omitempty" json:"routing_instance__n,omitempty"` + + // Vrf VRF (name) + Vrf *[]string `form:"vrf,omitempty" json:"vrf,omitempty"` + + // VrfN VRF (name) + VrfN *[]string `form:"vrf__n,omitempty" json:"vrf__n,omitempty"` +} + +// PluginsBgpAddressFamiliesBulkPartialUpdateJSONBody defines parameters for PluginsBgpAddressFamiliesBulkPartialUpdate. +type PluginsBgpAddressFamiliesBulkPartialUpdateJSONBody = []PatchedBulkWritableAddressFamilyRequest + +// PluginsBgpAddressFamiliesBulkUpdateJSONBody defines parameters for PluginsBgpAddressFamiliesBulkUpdate. +type PluginsBgpAddressFamiliesBulkUpdateJSONBody = []BulkWritableAddressFamilyRequest + +// PluginsBgpAddressFamiliesRetrieveParams defines parameters for PluginsBgpAddressFamiliesRetrieve. +type PluginsBgpAddressFamiliesRetrieveParams struct { + // IncludeInherited Include inherited configuration values + IncludeInherited *bool `form:"include_inherited,omitempty" json:"include_inherited,omitempty"` +} + +// PluginsBgpAutonomousSystemsBulkDestroyJSONBody defines parameters for PluginsBgpAutonomousSystemsBulkDestroy. +type PluginsBgpAutonomousSystemsBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsBgpAutonomousSystemsListParams defines parameters for PluginsBgpAutonomousSystemsList. +type PluginsBgpAutonomousSystemsListParams struct { + Asn *[]int `form:"asn,omitempty" json:"asn,omitempty"` + AsnGt *[]int `form:"asn__gt,omitempty" json:"asn__gt,omitempty"` + AsnGte *[]int `form:"asn__gte,omitempty" json:"asn__gte,omitempty"` + AsnLt *[]int `form:"asn__lt,omitempty" json:"asn__lt,omitempty"` + AsnLte *[]int `form:"asn__lte,omitempty" json:"asn__lte,omitempty"` + AsnN *[]int `form:"asn__n,omitempty" json:"asn__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Status *[]openapi_types.UUID `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]openapi_types.UUID `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` +} + +// PluginsBgpAutonomousSystemsBulkPartialUpdateJSONBody defines parameters for PluginsBgpAutonomousSystemsBulkPartialUpdate. +type PluginsBgpAutonomousSystemsBulkPartialUpdateJSONBody = []PatchedBulkWritableAutonomousSystemRequest + +// PluginsBgpAutonomousSystemsBulkUpdateJSONBody defines parameters for PluginsBgpAutonomousSystemsBulkUpdate. +type PluginsBgpAutonomousSystemsBulkUpdateJSONBody = []BulkWritableAutonomousSystemRequest + +// PluginsBgpPeerEndpointsBulkDestroyJSONBody defines parameters for PluginsBgpPeerEndpointsBulkDestroy. +type PluginsBgpPeerEndpointsBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsBgpPeerEndpointsListParams defines parameters for PluginsBgpPeerEndpointsList. +type PluginsBgpPeerEndpointsListParams struct { + // AutonomousSystem Autonomous System Number + AutonomousSystem *string `form:"autonomous_system,omitempty" json:"autonomous_system,omitempty"` + + // AutonomousSystemN Autonomous System Number + AutonomousSystemN *string `form:"autonomous_system__n,omitempty" json:"autonomous_system__n,omitempty"` + + // Device Device (name) + Device *string `form:"device,omitempty" json:"device,omitempty"` + + // DeviceN Device (name) + DeviceN *string `form:"device__n,omitempty" json:"device__n,omitempty"` + + // Enabled enabled + Enabled *string `form:"enabled,omitempty" json:"enabled,omitempty"` + + // Id id + Id *string `form:"id,omitempty" json:"id,omitempty"` + + // IdIc id__ic + IdIc *string `form:"id__ic,omitempty" json:"id__ic,omitempty"` + + // IdIe id__ie + IdIe *string `form:"id__ie,omitempty" json:"id__ie,omitempty"` + + // IdIew id__iew + IdIew *string `form:"id__iew,omitempty" json:"id__iew,omitempty"` + + // IdIre id__ire + IdIre *string `form:"id__ire,omitempty" json:"id__ire,omitempty"` + + // IdIsw id__isw + IdIsw *string `form:"id__isw,omitempty" json:"id__isw,omitempty"` + + // IdN id__n + IdN *string `form:"id__n,omitempty" json:"id__n,omitempty"` + + // IdNic id__nic + IdNic *string `form:"id__nic,omitempty" json:"id__nic,omitempty"` + + // IdNie id__nie + IdNie *string `form:"id__nie,omitempty" json:"id__nie,omitempty"` + + // IdNiew id__niew + IdNiew *string `form:"id__niew,omitempty" json:"id__niew,omitempty"` + + // IdNire id__nire + IdNire *string `form:"id__nire,omitempty" json:"id__nire,omitempty"` + + // IdNisw id__nisw + IdNisw *string `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + + // IdNre id__nre + IdNre *string `form:"id__nre,omitempty" json:"id__nre,omitempty"` + + // IdRe id__re + IdRe *string `form:"id__re,omitempty" json:"id__re,omitempty"` + + // IncludeInherited Include inherited configuration values + IncludeInherited *bool `form:"include_inherited,omitempty" json:"include_inherited,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // PeerGroup Peer Group (id) + PeerGroup *string `form:"peer_group,omitempty" json:"peer_group,omitempty"` + + // PeerGroupN Peer Group (id) + PeerGroupN *string `form:"peer_group__n,omitempty" json:"peer_group__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` +} + +// PluginsBgpPeerEndpointsBulkPartialUpdateJSONBody defines parameters for PluginsBgpPeerEndpointsBulkPartialUpdate. +type PluginsBgpPeerEndpointsBulkPartialUpdateJSONBody = []PatchedBulkWritablePeerEndpointRequest + +// PluginsBgpPeerEndpointsBulkUpdateJSONBody defines parameters for PluginsBgpPeerEndpointsBulkUpdate. +type PluginsBgpPeerEndpointsBulkUpdateJSONBody = []BulkWritablePeerEndpointRequest + +// PluginsBgpPeerEndpointsRetrieveParams defines parameters for PluginsBgpPeerEndpointsRetrieve. +type PluginsBgpPeerEndpointsRetrieveParams struct { + // IncludeInherited Include inherited configuration values + IncludeInherited *bool `form:"include_inherited,omitempty" json:"include_inherited,omitempty"` +} + +// PluginsBgpPeerGroupTemplatesBulkDestroyJSONBody defines parameters for PluginsBgpPeerGroupTemplatesBulkDestroy. +type PluginsBgpPeerGroupTemplatesBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsBgpPeerGroupTemplatesListParams defines parameters for PluginsBgpPeerGroupTemplatesList. +type PluginsBgpPeerGroupTemplatesListParams struct { + // AutonomousSystem Autonomous System Number + AutonomousSystem *[]int64 `form:"autonomous_system,omitempty" json:"autonomous_system,omitempty"` + + // AutonomousSystemN Autonomous System Number + AutonomousSystemN *[]int64 `form:"autonomous_system__n,omitempty" json:"autonomous_system__n,omitempty"` + Enabled *bool `form:"enabled,omitempty" json:"enabled,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + + // IncludeInherited Include inherited configuration values + IncludeInherited *bool `form:"include_inherited,omitempty" json:"include_inherited,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Role Peering role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Peering role (slug) + RoleN *[]string `form:"role__n,omitempty" json:"role__n,omitempty"` +} + +// PluginsBgpPeerGroupTemplatesBulkPartialUpdateJSONBody defines parameters for PluginsBgpPeerGroupTemplatesBulkPartialUpdate. +type PluginsBgpPeerGroupTemplatesBulkPartialUpdateJSONBody = []PatchedBulkWritablePeerGroupTemplateRequest + +// PluginsBgpPeerGroupTemplatesBulkUpdateJSONBody defines parameters for PluginsBgpPeerGroupTemplatesBulkUpdate. +type PluginsBgpPeerGroupTemplatesBulkUpdateJSONBody = []BulkWritablePeerGroupTemplateRequest + +// PluginsBgpPeerGroupTemplatesRetrieveParams defines parameters for PluginsBgpPeerGroupTemplatesRetrieve. +type PluginsBgpPeerGroupTemplatesRetrieveParams struct { + // IncludeInherited Include inherited configuration values + IncludeInherited *bool `form:"include_inherited,omitempty" json:"include_inherited,omitempty"` +} + +// PluginsBgpPeerGroupsBulkDestroyJSONBody defines parameters for PluginsBgpPeerGroupsBulkDestroy. +type PluginsBgpPeerGroupsBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsBgpPeerGroupsListParams defines parameters for PluginsBgpPeerGroupsList. +type PluginsBgpPeerGroupsListParams struct { + // AutonomousSystem Autonomous System Number + AutonomousSystem *string `form:"autonomous_system,omitempty" json:"autonomous_system,omitempty"` + + // AutonomousSystemN Autonomous System Number + AutonomousSystemN *string `form:"autonomous_system__n,omitempty" json:"autonomous_system__n,omitempty"` + + // Enabled enabled + Enabled *string `form:"enabled,omitempty" json:"enabled,omitempty"` + + // Id id + Id *string `form:"id,omitempty" json:"id,omitempty"` + + // IdIc id__ic + IdIc *string `form:"id__ic,omitempty" json:"id__ic,omitempty"` + + // IdIe id__ie + IdIe *string `form:"id__ie,omitempty" json:"id__ie,omitempty"` + + // IdIew id__iew + IdIew *string `form:"id__iew,omitempty" json:"id__iew,omitempty"` + + // IdIre id__ire + IdIre *string `form:"id__ire,omitempty" json:"id__ire,omitempty"` + + // IdIsw id__isw + IdIsw *string `form:"id__isw,omitempty" json:"id__isw,omitempty"` + + // IdN id__n + IdN *string `form:"id__n,omitempty" json:"id__n,omitempty"` + + // IdNic id__nic + IdNic *string `form:"id__nic,omitempty" json:"id__nic,omitempty"` + + // IdNie id__nie + IdNie *string `form:"id__nie,omitempty" json:"id__nie,omitempty"` + + // IdNiew id__niew + IdNiew *string `form:"id__niew,omitempty" json:"id__niew,omitempty"` + + // IdNire id__nire + IdNire *string `form:"id__nire,omitempty" json:"id__nire,omitempty"` + + // IdNisw id__nisw + IdNisw *string `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + + // IdNre id__nre + IdNre *string `form:"id__nre,omitempty" json:"id__nre,omitempty"` + + // IdRe id__re + IdRe *string `form:"id__re,omitempty" json:"id__re,omitempty"` + + // IncludeInherited Include inherited configuration values + IncludeInherited *bool `form:"include_inherited,omitempty" json:"include_inherited,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Name name + Name *string `form:"name,omitempty" json:"name,omitempty"` + + // NameIc name__ic + NameIc *string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + + // NameIe name__ie + NameIe *string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + + // NameIew name__iew + NameIew *string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + + // NameIre name__ire + NameIre *string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + + // NameIsw name__isw + NameIsw *string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + + // NameN name__n + NameN *string `form:"name__n,omitempty" json:"name__n,omitempty"` + + // NameNic name__nic + NameNic *string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + + // NameNie name__nie + NameNie *string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + + // NameNiew name__niew + NameNiew *string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + + // NameNire name__nire + NameNire *string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + + // NameNisw name__nisw + NameNisw *string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // NameNre name__nre + NameNre *string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + + // NameRe name__re + NameRe *string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Role Peering role (slug) + Role *string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Peering role (slug) + RoleN *string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoutingInstance BGP Routing Instance ID + RoutingInstance *string `form:"routing_instance,omitempty" json:"routing_instance,omitempty"` + + // RoutingInstanceN BGP Routing Instance ID + RoutingInstanceN *string `form:"routing_instance__n,omitempty" json:"routing_instance__n,omitempty"` +} + +// PluginsBgpPeerGroupsBulkPartialUpdateJSONBody defines parameters for PluginsBgpPeerGroupsBulkPartialUpdate. +type PluginsBgpPeerGroupsBulkPartialUpdateJSONBody = []PatchedBulkWritablePeerGroupRequest + +// PluginsBgpPeerGroupsBulkUpdateJSONBody defines parameters for PluginsBgpPeerGroupsBulkUpdate. +type PluginsBgpPeerGroupsBulkUpdateJSONBody = []BulkWritablePeerGroupRequest + +// PluginsBgpPeerGroupsRetrieveParams defines parameters for PluginsBgpPeerGroupsRetrieve. +type PluginsBgpPeerGroupsRetrieveParams struct { + // IncludeInherited Include inherited configuration values + IncludeInherited *bool `form:"include_inherited,omitempty" json:"include_inherited,omitempty"` +} + +// PluginsBgpPeeringRolesBulkDestroyJSONBody defines parameters for PluginsBgpPeeringRolesBulkDestroy. +type PluginsBgpPeeringRolesBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsBgpPeeringRolesListParams defines parameters for PluginsBgpPeeringRolesList. +type PluginsBgpPeeringRolesListParams struct { + Color *[]string `form:"color,omitempty" json:"color,omitempty"` + ColorIc *[]string `form:"color__ic,omitempty" json:"color__ic,omitempty"` + ColorIe *[]string `form:"color__ie,omitempty" json:"color__ie,omitempty"` + ColorIew *[]string `form:"color__iew,omitempty" json:"color__iew,omitempty"` + ColorIre *[]string `form:"color__ire,omitempty" json:"color__ire,omitempty"` + ColorIsw *[]string `form:"color__isw,omitempty" json:"color__isw,omitempty"` + ColorN *[]string `form:"color__n,omitempty" json:"color__n,omitempty"` + ColorNic *[]string `form:"color__nic,omitempty" json:"color__nic,omitempty"` + ColorNie *[]string `form:"color__nie,omitempty" json:"color__nie,omitempty"` + ColorNiew *[]string `form:"color__niew,omitempty" json:"color__niew,omitempty"` + ColorNire *[]string `form:"color__nire,omitempty" json:"color__nire,omitempty"` + ColorNisw *[]string `form:"color__nisw,omitempty" json:"color__nisw,omitempty"` + ColorNre *[]string `form:"color__nre,omitempty" json:"color__nre,omitempty"` + ColorRe *[]string `form:"color__re,omitempty" json:"color__re,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` +} + +// PluginsBgpPeeringRolesBulkPartialUpdateJSONBody defines parameters for PluginsBgpPeeringRolesBulkPartialUpdate. +type PluginsBgpPeeringRolesBulkPartialUpdateJSONBody = []PatchedBulkWritablePeeringRoleRequest + +// PluginsBgpPeeringRolesBulkUpdateJSONBody defines parameters for PluginsBgpPeeringRolesBulkUpdate. +type PluginsBgpPeeringRolesBulkUpdateJSONBody = []BulkWritablePeeringRoleRequest + +// PluginsBgpPeeringsBulkDestroyJSONBody defines parameters for PluginsBgpPeeringsBulkDestroy. +type PluginsBgpPeeringsBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsBgpPeeringsListParams defines parameters for PluginsBgpPeeringsList. +type PluginsBgpPeeringsListParams struct { + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` + + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + Status *[]openapi_types.UUID `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]openapi_types.UUID `form:"status__n,omitempty" json:"status__n,omitempty"` +} + +// PluginsBgpPeeringsBulkPartialUpdateJSONBody defines parameters for PluginsBgpPeeringsBulkPartialUpdate. +type PluginsBgpPeeringsBulkPartialUpdateJSONBody = []PatchedBulkWritablePeeringRequest + +// PluginsBgpPeeringsBulkUpdateJSONBody defines parameters for PluginsBgpPeeringsBulkUpdate. +type PluginsBgpPeeringsBulkUpdateJSONBody = []BulkWritablePeeringRequest + +// PluginsBgpRoutingInstancesBulkDestroyJSONBody defines parameters for PluginsBgpRoutingInstancesBulkDestroy. +type PluginsBgpRoutingInstancesBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsBgpRoutingInstancesListParams defines parameters for PluginsBgpRoutingInstancesList. +type PluginsBgpRoutingInstancesListParams struct { + // AutonomousSystem Autonomous System Number + AutonomousSystem *[]int64 `form:"autonomous_system,omitempty" json:"autonomous_system,omitempty"` + + // AutonomousSystemN Autonomous System Number + AutonomousSystemN *[]int64 `form:"autonomous_system__n,omitempty" json:"autonomous_system__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + + // Device Device (name) + Device *[]string `form:"device,omitempty" json:"device,omitempty"` + + // DeviceN Device (name) + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` + + // DeviceId Device (ID) + DeviceId *[]openapi_types.UUID `form:"device_id,omitempty" json:"device_id,omitempty"` + + // DeviceIdN Device (ID) + DeviceIdN *[]openapi_types.UUID `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` +} + +// PluginsBgpRoutingInstancesBulkPartialUpdateJSONBody defines parameters for PluginsBgpRoutingInstancesBulkPartialUpdate. +type PluginsBgpRoutingInstancesBulkPartialUpdateJSONBody = []PatchedBulkWritableBGPRoutingInstanceRequest + +// PluginsBgpRoutingInstancesBulkUpdateJSONBody defines parameters for PluginsBgpRoutingInstancesBulkUpdate. +type PluginsBgpRoutingInstancesBulkUpdateJSONBody = []BulkWritableBGPRoutingInstanceRequest + +// PluginsChatopsAccessgrantBulkDestroyJSONBody defines parameters for PluginsChatopsAccessgrantBulkDestroy. +type PluginsChatopsAccessgrantBulkDestroyJSONBody = []BulkOperationRequest // PluginsChatopsAccessgrantListParams defines parameters for PluginsChatopsAccessgrantList. type PluginsChatopsAccessgrantListParams struct { - Command *string `json:"command,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - GrantType *string `json:"grant_type,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + Command *[]string `form:"command,omitempty" json:"command,omitempty"` + CommandIc *[]string `form:"command__ic,omitempty" json:"command__ic,omitempty"` + CommandIe *[]string `form:"command__ie,omitempty" json:"command__ie,omitempty"` + CommandIew *[]string `form:"command__iew,omitempty" json:"command__iew,omitempty"` + CommandIre *[]string `form:"command__ire,omitempty" json:"command__ire,omitempty"` + CommandIsw *[]string `form:"command__isw,omitempty" json:"command__isw,omitempty"` + CommandN *[]string `form:"command__n,omitempty" json:"command__n,omitempty"` + CommandNic *[]string `form:"command__nic,omitempty" json:"command__nic,omitempty"` + CommandNie *[]string `form:"command__nie,omitempty" json:"command__nie,omitempty"` + CommandNiew *[]string `form:"command__niew,omitempty" json:"command__niew,omitempty"` + CommandNire *[]string `form:"command__nire,omitempty" json:"command__nire,omitempty"` + CommandNisw *[]string `form:"command__nisw,omitempty" json:"command__nisw,omitempty"` + CommandNre *[]string `form:"command__nre,omitempty" json:"command__nre,omitempty"` + CommandRe *[]string `form:"command__re,omitempty" json:"command__re,omitempty"` + GrantType *string `form:"grant_type,omitempty" json:"grant_type,omitempty"` + GrantTypeN *string `form:"grant_type__n,omitempty" json:"grant_type__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` - Subcommand *string `json:"subcommand,omitempty"` - Value *string `json:"value,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + Subcommand *[]string `form:"subcommand,omitempty" json:"subcommand,omitempty"` + SubcommandIc *[]string `form:"subcommand__ic,omitempty" json:"subcommand__ic,omitempty"` + SubcommandIe *[]string `form:"subcommand__ie,omitempty" json:"subcommand__ie,omitempty"` + SubcommandIew *[]string `form:"subcommand__iew,omitempty" json:"subcommand__iew,omitempty"` + SubcommandIre *[]string `form:"subcommand__ire,omitempty" json:"subcommand__ire,omitempty"` + SubcommandIsw *[]string `form:"subcommand__isw,omitempty" json:"subcommand__isw,omitempty"` + SubcommandN *[]string `form:"subcommand__n,omitempty" json:"subcommand__n,omitempty"` + SubcommandNic *[]string `form:"subcommand__nic,omitempty" json:"subcommand__nic,omitempty"` + SubcommandNie *[]string `form:"subcommand__nie,omitempty" json:"subcommand__nie,omitempty"` + SubcommandNiew *[]string `form:"subcommand__niew,omitempty" json:"subcommand__niew,omitempty"` + SubcommandNire *[]string `form:"subcommand__nire,omitempty" json:"subcommand__nire,omitempty"` + SubcommandNisw *[]string `form:"subcommand__nisw,omitempty" json:"subcommand__nisw,omitempty"` + SubcommandNre *[]string `form:"subcommand__nre,omitempty" json:"subcommand__nre,omitempty"` + SubcommandRe *[]string `form:"subcommand__re,omitempty" json:"subcommand__re,omitempty"` + Value *[]string `form:"value,omitempty" json:"value,omitempty"` + ValueIc *[]string `form:"value__ic,omitempty" json:"value__ic,omitempty"` + ValueIe *[]string `form:"value__ie,omitempty" json:"value__ie,omitempty"` + ValueIew *[]string `form:"value__iew,omitempty" json:"value__iew,omitempty"` + ValueIre *[]string `form:"value__ire,omitempty" json:"value__ire,omitempty"` + ValueIsw *[]string `form:"value__isw,omitempty" json:"value__isw,omitempty"` + ValueN *[]string `form:"value__n,omitempty" json:"value__n,omitempty"` + ValueNic *[]string `form:"value__nic,omitempty" json:"value__nic,omitempty"` + ValueNie *[]string `form:"value__nie,omitempty" json:"value__nie,omitempty"` + ValueNiew *[]string `form:"value__niew,omitempty" json:"value__niew,omitempty"` + ValueNire *[]string `form:"value__nire,omitempty" json:"value__nire,omitempty"` + ValueNisw *[]string `form:"value__nisw,omitempty" json:"value__nisw,omitempty"` + ValueNre *[]string `form:"value__nre,omitempty" json:"value__nre,omitempty"` + ValueRe *[]string `form:"value__re,omitempty" json:"value__re,omitempty"` } // PluginsChatopsAccessgrantBulkPartialUpdateJSONBody defines parameters for PluginsChatopsAccessgrantBulkPartialUpdate. -type PluginsChatopsAccessgrantBulkPartialUpdateJSONBody PatchedAccessGrant - -// PluginsChatopsAccessgrantCreateJSONBody defines parameters for PluginsChatopsAccessgrantCreate. -type PluginsChatopsAccessgrantCreateJSONBody AccessGrant +type PluginsChatopsAccessgrantBulkPartialUpdateJSONBody = []PatchedBulkWritableAccessGrantRequest // PluginsChatopsAccessgrantBulkUpdateJSONBody defines parameters for PluginsChatopsAccessgrantBulkUpdate. -type PluginsChatopsAccessgrantBulkUpdateJSONBody AccessGrant +type PluginsChatopsAccessgrantBulkUpdateJSONBody = []BulkWritableAccessGrantRequest -// PluginsChatopsAccessgrantPartialUpdateJSONBody defines parameters for PluginsChatopsAccessgrantPartialUpdate. -type PluginsChatopsAccessgrantPartialUpdateJSONBody PatchedAccessGrant - -// PluginsChatopsAccessgrantUpdateJSONBody defines parameters for PluginsChatopsAccessgrantUpdate. -type PluginsChatopsAccessgrantUpdateJSONBody AccessGrant +// PluginsChatopsCommandtokenBulkDestroyJSONBody defines parameters for PluginsChatopsCommandtokenBulkDestroy. +type PluginsChatopsCommandtokenBulkDestroyJSONBody = []BulkOperationRequest // PluginsChatopsCommandtokenListParams defines parameters for PluginsChatopsCommandtokenList. type PluginsChatopsCommandtokenListParams struct { - Comment *string `json:"comment,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` + Comment *[]string `form:"comment,omitempty" json:"comment,omitempty"` + CommentIc *[]string `form:"comment__ic,omitempty" json:"comment__ic,omitempty"` + CommentIe *[]string `form:"comment__ie,omitempty" json:"comment__ie,omitempty"` + CommentIew *[]string `form:"comment__iew,omitempty" json:"comment__iew,omitempty"` + CommentIre *[]string `form:"comment__ire,omitempty" json:"comment__ire,omitempty"` + CommentIsw *[]string `form:"comment__isw,omitempty" json:"comment__isw,omitempty"` + CommentN *[]string `form:"comment__n,omitempty" json:"comment__n,omitempty"` + CommentNic *[]string `form:"comment__nic,omitempty" json:"comment__nic,omitempty"` + CommentNie *[]string `form:"comment__nie,omitempty" json:"comment__nie,omitempty"` + CommentNiew *[]string `form:"comment__niew,omitempty" json:"comment__niew,omitempty"` + CommentNire *[]string `form:"comment__nire,omitempty" json:"comment__nire,omitempty"` + CommentNisw *[]string `form:"comment__nisw,omitempty" json:"comment__nisw,omitempty"` + CommentNre *[]string `form:"comment__nre,omitempty" json:"comment__nre,omitempty"` + CommentRe *[]string `form:"comment__re,omitempty" json:"comment__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` - Platform *string `json:"platform,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + Platform *string `form:"platform,omitempty" json:"platform,omitempty"` + PlatformN *string `form:"platform__n,omitempty" json:"platform__n,omitempty"` } // PluginsChatopsCommandtokenBulkPartialUpdateJSONBody defines parameters for PluginsChatopsCommandtokenBulkPartialUpdate. -type PluginsChatopsCommandtokenBulkPartialUpdateJSONBody PatchedCommandToken - -// PluginsChatopsCommandtokenCreateJSONBody defines parameters for PluginsChatopsCommandtokenCreate. -type PluginsChatopsCommandtokenCreateJSONBody CommandToken +type PluginsChatopsCommandtokenBulkPartialUpdateJSONBody = []PatchedBulkWritableCommandTokenRequest // PluginsChatopsCommandtokenBulkUpdateJSONBody defines parameters for PluginsChatopsCommandtokenBulkUpdate. -type PluginsChatopsCommandtokenBulkUpdateJSONBody CommandToken +type PluginsChatopsCommandtokenBulkUpdateJSONBody = []BulkWritableCommandTokenRequest -// PluginsChatopsCommandtokenPartialUpdateJSONBody defines parameters for PluginsChatopsCommandtokenPartialUpdate. -type PluginsChatopsCommandtokenPartialUpdateJSONBody PatchedCommandToken - -// PluginsChatopsCommandtokenUpdateJSONBody defines parameters for PluginsChatopsCommandtokenUpdate. -type PluginsChatopsCommandtokenUpdateJSONBody CommandToken +// PluginsCircuitMaintenanceCircuitimpactBulkDestroyJSONBody defines parameters for PluginsCircuitMaintenanceCircuitimpactBulkDestroy. +type PluginsCircuitMaintenanceCircuitimpactBulkDestroyJSONBody = []BulkOperationRequest // PluginsCircuitMaintenanceCircuitimpactListParams defines parameters for PluginsCircuitMaintenanceCircuitimpactList. type PluginsCircuitMaintenanceCircuitimpactListParams struct { - Circuit *openapi_types.UUID `json:"circuit,omitempty"` - CircuitN *openapi_types.UUID `json:"circuit__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - Impact *string `json:"impact,omitempty"` - ImpactN *string `json:"impact__n,omitempty"` + Circuit *openapi_types.UUID `form:"circuit,omitempty" json:"circuit,omitempty"` + CircuitN *openapi_types.UUID `form:"circuit__n,omitempty" json:"circuit__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + Impact *string `form:"impact,omitempty" json:"impact,omitempty"` + ImpactN *string `form:"impact__n,omitempty" json:"impact__n,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Maintenance *openapi_types.UUID `json:"maintenance,omitempty"` - MaintenanceN *openapi_types.UUID `json:"maintenance__n,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Maintenance *openapi_types.UUID `form:"maintenance,omitempty" json:"maintenance,omitempty"` + MaintenanceN *openapi_types.UUID `form:"maintenance__n,omitempty" json:"maintenance__n,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` } // PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateJSONBody defines parameters for PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdate. -type PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateJSONBody PatchedCircuitMaintenanceCircuitImpact - -// PluginsCircuitMaintenanceCircuitimpactCreateJSONBody defines parameters for PluginsCircuitMaintenanceCircuitimpactCreate. -type PluginsCircuitMaintenanceCircuitimpactCreateJSONBody CircuitMaintenanceCircuitImpact +type PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateJSONBody = []PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest // PluginsCircuitMaintenanceCircuitimpactBulkUpdateJSONBody defines parameters for PluginsCircuitMaintenanceCircuitimpactBulkUpdate. -type PluginsCircuitMaintenanceCircuitimpactBulkUpdateJSONBody CircuitMaintenanceCircuitImpact +type PluginsCircuitMaintenanceCircuitimpactBulkUpdateJSONBody = []BulkWritableCircuitMaintenanceCircuitImpactRequest -// PluginsCircuitMaintenanceCircuitimpactPartialUpdateJSONBody defines parameters for PluginsCircuitMaintenanceCircuitimpactPartialUpdate. -type PluginsCircuitMaintenanceCircuitimpactPartialUpdateJSONBody PatchedCircuitMaintenanceCircuitImpact - -// PluginsCircuitMaintenanceCircuitimpactUpdateJSONBody defines parameters for PluginsCircuitMaintenanceCircuitimpactUpdate. -type PluginsCircuitMaintenanceCircuitimpactUpdateJSONBody CircuitMaintenanceCircuitImpact +// PluginsCircuitMaintenanceMaintenanceBulkDestroyJSONBody defines parameters for PluginsCircuitMaintenanceMaintenanceBulkDestroy. +type PluginsCircuitMaintenanceMaintenanceBulkDestroyJSONBody = []BulkOperationRequest // PluginsCircuitMaintenanceMaintenanceListParams defines parameters for PluginsCircuitMaintenanceMaintenanceList. type PluginsCircuitMaintenanceMaintenanceListParams struct { - Ack *bool `json:"ack,omitempty"` + Ack *bool `form:"ack,omitempty" json:"ack,omitempty"` - // Circuit - Circuit *[]string `json:"circuit,omitempty"` - EndTime *time.Time `json:"end_time,omitempty"` + // Circuit Circuit + Circuit *[]string `form:"circuit,omitempty" json:"circuit,omitempty"` + EndTime *time.Time `form:"end_time,omitempty" json:"end_time,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Provider (slug) - Provider *[]string `json:"provider,omitempty"` + // Provider Provider (slug) + Provider *[]string `form:"provider,omitempty" json:"provider,omitempty"` - // Search - Q *string `json:"q,omitempty"` - StartTime *time.Time `json:"start_time,omitempty"` - Status *string `json:"status,omitempty"` - StatusN *string `json:"status__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + StartTime *time.Time `form:"start_time,omitempty" json:"start_time,omitempty"` + Status *string `form:"status,omitempty" json:"status,omitempty"` + StatusN *string `form:"status__n,omitempty" json:"status__n,omitempty"` } // PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateJSONBody defines parameters for PluginsCircuitMaintenanceMaintenanceBulkPartialUpdate. -type PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateJSONBody PatchedCircuitMaintenance - -// PluginsCircuitMaintenanceMaintenanceCreateJSONBody defines parameters for PluginsCircuitMaintenanceMaintenanceCreate. -type PluginsCircuitMaintenanceMaintenanceCreateJSONBody CircuitMaintenance +type PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateJSONBody = []PatchedBulkWritableCircuitMaintenanceRequest // PluginsCircuitMaintenanceMaintenanceBulkUpdateJSONBody defines parameters for PluginsCircuitMaintenanceMaintenanceBulkUpdate. -type PluginsCircuitMaintenanceMaintenanceBulkUpdateJSONBody CircuitMaintenance +type PluginsCircuitMaintenanceMaintenanceBulkUpdateJSONBody = []BulkWritableCircuitMaintenanceRequest -// PluginsCircuitMaintenanceMaintenancePartialUpdateJSONBody defines parameters for PluginsCircuitMaintenanceMaintenancePartialUpdate. -type PluginsCircuitMaintenanceMaintenancePartialUpdateJSONBody PatchedCircuitMaintenance - -// PluginsCircuitMaintenanceMaintenanceUpdateJSONBody defines parameters for PluginsCircuitMaintenanceMaintenanceUpdate. -type PluginsCircuitMaintenanceMaintenanceUpdateJSONBody CircuitMaintenance +// PluginsCircuitMaintenanceNoteBulkDestroyJSONBody defines parameters for PluginsCircuitMaintenanceNoteBulkDestroy. +type PluginsCircuitMaintenanceNoteBulkDestroyJSONBody = []BulkOperationRequest // PluginsCircuitMaintenanceNoteListParams defines parameters for PluginsCircuitMaintenanceNoteList. type PluginsCircuitMaintenanceNoteListParams struct { - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` } // PluginsCircuitMaintenanceNoteBulkPartialUpdateJSONBody defines parameters for PluginsCircuitMaintenanceNoteBulkPartialUpdate. -type PluginsCircuitMaintenanceNoteBulkPartialUpdateJSONBody PatchedNote - -// PluginsCircuitMaintenanceNoteCreateJSONBody defines parameters for PluginsCircuitMaintenanceNoteCreate. -type PluginsCircuitMaintenanceNoteCreateJSONBody Note +type PluginsCircuitMaintenanceNoteBulkPartialUpdateJSONBody = []PatchedBulkWritableNoteRequest // PluginsCircuitMaintenanceNoteBulkUpdateJSONBody defines parameters for PluginsCircuitMaintenanceNoteBulkUpdate. -type PluginsCircuitMaintenanceNoteBulkUpdateJSONBody Note - -// PluginsCircuitMaintenanceNotePartialUpdateJSONBody defines parameters for PluginsCircuitMaintenanceNotePartialUpdate. -type PluginsCircuitMaintenanceNotePartialUpdateJSONBody PatchedNote - -// PluginsCircuitMaintenanceNoteUpdateJSONBody defines parameters for PluginsCircuitMaintenanceNoteUpdate. -type PluginsCircuitMaintenanceNoteUpdateJSONBody Note +type PluginsCircuitMaintenanceNoteBulkUpdateJSONBody = []BulkWritableNoteRequest // PluginsCircuitMaintenanceNotificationsourceListParams defines parameters for PluginsCircuitMaintenanceNotificationsourceList. type PluginsCircuitMaintenanceNotificationsourceListParams struct { - AttachAllProviders *bool `json:"attach_all_providers,omitempty"` + AttachAllProviders *bool `form:"attach_all_providers,omitempty" json:"attach_all_providers,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` } +// PluginsDataValidationEngineRulesMinMaxBulkDestroyJSONBody defines parameters for PluginsDataValidationEngineRulesMinMaxBulkDestroy. +type PluginsDataValidationEngineRulesMinMaxBulkDestroyJSONBody = []BulkOperationRequest + // PluginsDataValidationEngineRulesMinMaxListParams defines parameters for PluginsDataValidationEngineRulesMinMaxList. type PluginsDataValidationEngineRulesMinMaxListParams struct { - ContentType *[]int `json:"content_type,omitempty"` - ContentTypeN *[]int `json:"content_type__n,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - ErrorMessage *[]string `json:"error_message,omitempty"` - ErrorMessageIc *[]string `json:"error_message__ic,omitempty"` - ErrorMessageIe *[]string `json:"error_message__ie,omitempty"` - ErrorMessageIew *[]string `json:"error_message__iew,omitempty"` - ErrorMessageIre *[]string `json:"error_message__ire,omitempty"` - ErrorMessageIsw *[]string `json:"error_message__isw,omitempty"` - ErrorMessageN *[]string `json:"error_message__n,omitempty"` - ErrorMessageNic *[]string `json:"error_message__nic,omitempty"` - ErrorMessageNie *[]string `json:"error_message__nie,omitempty"` - ErrorMessageNiew *[]string `json:"error_message__niew,omitempty"` - ErrorMessageNire *[]string `json:"error_message__nire,omitempty"` - ErrorMessageNisw *[]string `json:"error_message__nisw,omitempty"` - ErrorMessageNre *[]string `json:"error_message__nre,omitempty"` - ErrorMessageRe *[]string `json:"error_message__re,omitempty"` - Field *[]string `json:"field,omitempty"` - FieldIc *[]string `json:"field__ic,omitempty"` - FieldIe *[]string `json:"field__ie,omitempty"` - FieldIew *[]string `json:"field__iew,omitempty"` - FieldIre *[]string `json:"field__ire,omitempty"` - FieldIsw *[]string `json:"field__isw,omitempty"` - FieldN *[]string `json:"field__n,omitempty"` - FieldNic *[]string `json:"field__nic,omitempty"` - FieldNie *[]string `json:"field__nie,omitempty"` - FieldNiew *[]string `json:"field__niew,omitempty"` - FieldNire *[]string `json:"field__nire,omitempty"` - FieldNisw *[]string `json:"field__nisw,omitempty"` - FieldNre *[]string `json:"field__nre,omitempty"` - FieldRe *[]string `json:"field__re,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + ContentType *[]int `form:"content_type,omitempty" json:"content_type,omitempty"` + ContentTypeN *[]int `form:"content_type__n,omitempty" json:"content_type__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Enabled *bool `form:"enabled,omitempty" json:"enabled,omitempty"` + ErrorMessage *[]string `form:"error_message,omitempty" json:"error_message,omitempty"` + ErrorMessageIc *[]string `form:"error_message__ic,omitempty" json:"error_message__ic,omitempty"` + ErrorMessageIe *[]string `form:"error_message__ie,omitempty" json:"error_message__ie,omitempty"` + ErrorMessageIew *[]string `form:"error_message__iew,omitempty" json:"error_message__iew,omitempty"` + ErrorMessageIre *[]string `form:"error_message__ire,omitempty" json:"error_message__ire,omitempty"` + ErrorMessageIsw *[]string `form:"error_message__isw,omitempty" json:"error_message__isw,omitempty"` + ErrorMessageN *[]string `form:"error_message__n,omitempty" json:"error_message__n,omitempty"` + ErrorMessageNic *[]string `form:"error_message__nic,omitempty" json:"error_message__nic,omitempty"` + ErrorMessageNie *[]string `form:"error_message__nie,omitempty" json:"error_message__nie,omitempty"` + ErrorMessageNiew *[]string `form:"error_message__niew,omitempty" json:"error_message__niew,omitempty"` + ErrorMessageNire *[]string `form:"error_message__nire,omitempty" json:"error_message__nire,omitempty"` + ErrorMessageNisw *[]string `form:"error_message__nisw,omitempty" json:"error_message__nisw,omitempty"` + ErrorMessageNre *[]string `form:"error_message__nre,omitempty" json:"error_message__nre,omitempty"` + ErrorMessageRe *[]string `form:"error_message__re,omitempty" json:"error_message__re,omitempty"` + Field *[]string `form:"field,omitempty" json:"field,omitempty"` + FieldIc *[]string `form:"field__ic,omitempty" json:"field__ic,omitempty"` + FieldIe *[]string `form:"field__ie,omitempty" json:"field__ie,omitempty"` + FieldIew *[]string `form:"field__iew,omitempty" json:"field__iew,omitempty"` + FieldIre *[]string `form:"field__ire,omitempty" json:"field__ire,omitempty"` + FieldIsw *[]string `form:"field__isw,omitempty" json:"field__isw,omitempty"` + FieldN *[]string `form:"field__n,omitempty" json:"field__n,omitempty"` + FieldNic *[]string `form:"field__nic,omitempty" json:"field__nic,omitempty"` + FieldNie *[]string `form:"field__nie,omitempty" json:"field__nie,omitempty"` + FieldNiew *[]string `form:"field__niew,omitempty" json:"field__niew,omitempty"` + FieldNire *[]string `form:"field__nire,omitempty" json:"field__nire,omitempty"` + FieldNisw *[]string `form:"field__nisw,omitempty" json:"field__nisw,omitempty"` + FieldNre *[]string `form:"field__nre,omitempty" json:"field__nre,omitempty"` + FieldRe *[]string `form:"field__re,omitempty" json:"field__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Max *[]float32 `json:"max,omitempty"` - MaxGt *[]float32 `json:"max__gt,omitempty"` - MaxGte *[]float32 `json:"max__gte,omitempty"` - MaxLt *[]float32 `json:"max__lt,omitempty"` - MaxLte *[]float32 `json:"max__lte,omitempty"` - MaxN *[]float32 `json:"max__n,omitempty"` - Min *[]float32 `json:"min,omitempty"` - MinGt *[]float32 `json:"min__gt,omitempty"` - MinGte *[]float32 `json:"min__gte,omitempty"` - MinLt *[]float32 `json:"min__lt,omitempty"` - MinLte *[]float32 `json:"min__lte,omitempty"` - MinN *[]float32 `json:"min__n,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Max *[]float32 `form:"max,omitempty" json:"max,omitempty"` + MaxGt *[]float32 `form:"max__gt,omitempty" json:"max__gt,omitempty"` + MaxGte *[]float32 `form:"max__gte,omitempty" json:"max__gte,omitempty"` + MaxLt *[]float32 `form:"max__lt,omitempty" json:"max__lt,omitempty"` + MaxLte *[]float32 `form:"max__lte,omitempty" json:"max__lte,omitempty"` + MaxN *[]float32 `form:"max__n,omitempty" json:"max__n,omitempty"` + Min *[]float32 `form:"min,omitempty" json:"min,omitempty"` + MinGt *[]float32 `form:"min__gt,omitempty" json:"min__gt,omitempty"` + MinGte *[]float32 `form:"min__gte,omitempty" json:"min__gte,omitempty"` + MinLt *[]float32 `form:"min__lt,omitempty" json:"min__lt,omitempty"` + MinLte *[]float32 `form:"min__lte,omitempty" json:"min__lte,omitempty"` + MinN *[]float32 `form:"min__n,omitempty" json:"min__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` } // PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateJSONBody defines parameters for PluginsDataValidationEngineRulesMinMaxBulkPartialUpdate. -type PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateJSONBody PatchedMinMaxValidationRule - -// PluginsDataValidationEngineRulesMinMaxCreateJSONBody defines parameters for PluginsDataValidationEngineRulesMinMaxCreate. -type PluginsDataValidationEngineRulesMinMaxCreateJSONBody MinMaxValidationRule +type PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateJSONBody = []PatchedBulkWritableMinMaxValidationRuleRequest // PluginsDataValidationEngineRulesMinMaxBulkUpdateJSONBody defines parameters for PluginsDataValidationEngineRulesMinMaxBulkUpdate. -type PluginsDataValidationEngineRulesMinMaxBulkUpdateJSONBody MinMaxValidationRule +type PluginsDataValidationEngineRulesMinMaxBulkUpdateJSONBody = []BulkWritableMinMaxValidationRuleRequest -// PluginsDataValidationEngineRulesMinMaxPartialUpdateJSONBody defines parameters for PluginsDataValidationEngineRulesMinMaxPartialUpdate. -type PluginsDataValidationEngineRulesMinMaxPartialUpdateJSONBody PatchedMinMaxValidationRule - -// PluginsDataValidationEngineRulesMinMaxUpdateJSONBody defines parameters for PluginsDataValidationEngineRulesMinMaxUpdate. -type PluginsDataValidationEngineRulesMinMaxUpdateJSONBody MinMaxValidationRule +// PluginsDataValidationEngineRulesRegexBulkDestroyJSONBody defines parameters for PluginsDataValidationEngineRulesRegexBulkDestroy. +type PluginsDataValidationEngineRulesRegexBulkDestroyJSONBody = []BulkOperationRequest // PluginsDataValidationEngineRulesRegexListParams defines parameters for PluginsDataValidationEngineRulesRegexList. type PluginsDataValidationEngineRulesRegexListParams struct { - ContentType *[]int `json:"content_type,omitempty"` - ContentTypeN *[]int `json:"content_type__n,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - ErrorMessage *[]string `json:"error_message,omitempty"` - ErrorMessageIc *[]string `json:"error_message__ic,omitempty"` - ErrorMessageIe *[]string `json:"error_message__ie,omitempty"` - ErrorMessageIew *[]string `json:"error_message__iew,omitempty"` - ErrorMessageIre *[]string `json:"error_message__ire,omitempty"` - ErrorMessageIsw *[]string `json:"error_message__isw,omitempty"` - ErrorMessageN *[]string `json:"error_message__n,omitempty"` - ErrorMessageNic *[]string `json:"error_message__nic,omitempty"` - ErrorMessageNie *[]string `json:"error_message__nie,omitempty"` - ErrorMessageNiew *[]string `json:"error_message__niew,omitempty"` - ErrorMessageNire *[]string `json:"error_message__nire,omitempty"` - ErrorMessageNisw *[]string `json:"error_message__nisw,omitempty"` - ErrorMessageNre *[]string `json:"error_message__nre,omitempty"` - ErrorMessageRe *[]string `json:"error_message__re,omitempty"` - Field *[]string `json:"field,omitempty"` - FieldIc *[]string `json:"field__ic,omitempty"` - FieldIe *[]string `json:"field__ie,omitempty"` - FieldIew *[]string `json:"field__iew,omitempty"` - FieldIre *[]string `json:"field__ire,omitempty"` - FieldIsw *[]string `json:"field__isw,omitempty"` - FieldN *[]string `json:"field__n,omitempty"` - FieldNic *[]string `json:"field__nic,omitempty"` - FieldNie *[]string `json:"field__nie,omitempty"` - FieldNiew *[]string `json:"field__niew,omitempty"` - FieldNire *[]string `json:"field__nire,omitempty"` - FieldNisw *[]string `json:"field__nisw,omitempty"` - FieldNre *[]string `json:"field__nre,omitempty"` - FieldRe *[]string `json:"field__re,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + ContentType *[]int `form:"content_type,omitempty" json:"content_type,omitempty"` + ContentTypeN *[]int `form:"content_type__n,omitempty" json:"content_type__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Enabled *bool `form:"enabled,omitempty" json:"enabled,omitempty"` + ErrorMessage *[]string `form:"error_message,omitempty" json:"error_message,omitempty"` + ErrorMessageIc *[]string `form:"error_message__ic,omitempty" json:"error_message__ic,omitempty"` + ErrorMessageIe *[]string `form:"error_message__ie,omitempty" json:"error_message__ie,omitempty"` + ErrorMessageIew *[]string `form:"error_message__iew,omitempty" json:"error_message__iew,omitempty"` + ErrorMessageIre *[]string `form:"error_message__ire,omitempty" json:"error_message__ire,omitempty"` + ErrorMessageIsw *[]string `form:"error_message__isw,omitempty" json:"error_message__isw,omitempty"` + ErrorMessageN *[]string `form:"error_message__n,omitempty" json:"error_message__n,omitempty"` + ErrorMessageNic *[]string `form:"error_message__nic,omitempty" json:"error_message__nic,omitempty"` + ErrorMessageNie *[]string `form:"error_message__nie,omitempty" json:"error_message__nie,omitempty"` + ErrorMessageNiew *[]string `form:"error_message__niew,omitempty" json:"error_message__niew,omitempty"` + ErrorMessageNire *[]string `form:"error_message__nire,omitempty" json:"error_message__nire,omitempty"` + ErrorMessageNisw *[]string `form:"error_message__nisw,omitempty" json:"error_message__nisw,omitempty"` + ErrorMessageNre *[]string `form:"error_message__nre,omitempty" json:"error_message__nre,omitempty"` + ErrorMessageRe *[]string `form:"error_message__re,omitempty" json:"error_message__re,omitempty"` + Field *[]string `form:"field,omitempty" json:"field,omitempty"` + FieldIc *[]string `form:"field__ic,omitempty" json:"field__ic,omitempty"` + FieldIe *[]string `form:"field__ie,omitempty" json:"field__ie,omitempty"` + FieldIew *[]string `form:"field__iew,omitempty" json:"field__iew,omitempty"` + FieldIre *[]string `form:"field__ire,omitempty" json:"field__ire,omitempty"` + FieldIsw *[]string `form:"field__isw,omitempty" json:"field__isw,omitempty"` + FieldN *[]string `form:"field__n,omitempty" json:"field__n,omitempty"` + FieldNic *[]string `form:"field__nic,omitempty" json:"field__nic,omitempty"` + FieldNie *[]string `form:"field__nie,omitempty" json:"field__nie,omitempty"` + FieldNiew *[]string `form:"field__niew,omitempty" json:"field__niew,omitempty"` + FieldNire *[]string `form:"field__nire,omitempty" json:"field__nire,omitempty"` + FieldNisw *[]string `form:"field__nisw,omitempty" json:"field__nisw,omitempty"` + FieldNre *[]string `form:"field__nre,omitempty" json:"field__nre,omitempty"` + FieldRe *[]string `form:"field__re,omitempty" json:"field__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - RegularExpression *[]string `json:"regular_expression,omitempty"` - RegularExpressionIc *[]string `json:"regular_expression__ic,omitempty"` - RegularExpressionIe *[]string `json:"regular_expression__ie,omitempty"` - RegularExpressionIew *[]string `json:"regular_expression__iew,omitempty"` - RegularExpressionIre *[]string `json:"regular_expression__ire,omitempty"` - RegularExpressionIsw *[]string `json:"regular_expression__isw,omitempty"` - RegularExpressionN *[]string `json:"regular_expression__n,omitempty"` - RegularExpressionNic *[]string `json:"regular_expression__nic,omitempty"` - RegularExpressionNie *[]string `json:"regular_expression__nie,omitempty"` - RegularExpressionNiew *[]string `json:"regular_expression__niew,omitempty"` - RegularExpressionNire *[]string `json:"regular_expression__nire,omitempty"` - RegularExpressionNisw *[]string `json:"regular_expression__nisw,omitempty"` - RegularExpressionNre *[]string `json:"regular_expression__nre,omitempty"` - RegularExpressionRe *[]string `json:"regular_expression__re,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + RegularExpression *[]string `form:"regular_expression,omitempty" json:"regular_expression,omitempty"` + RegularExpressionIc *[]string `form:"regular_expression__ic,omitempty" json:"regular_expression__ic,omitempty"` + RegularExpressionIe *[]string `form:"regular_expression__ie,omitempty" json:"regular_expression__ie,omitempty"` + RegularExpressionIew *[]string `form:"regular_expression__iew,omitempty" json:"regular_expression__iew,omitempty"` + RegularExpressionIre *[]string `form:"regular_expression__ire,omitempty" json:"regular_expression__ire,omitempty"` + RegularExpressionIsw *[]string `form:"regular_expression__isw,omitempty" json:"regular_expression__isw,omitempty"` + RegularExpressionN *[]string `form:"regular_expression__n,omitempty" json:"regular_expression__n,omitempty"` + RegularExpressionNic *[]string `form:"regular_expression__nic,omitempty" json:"regular_expression__nic,omitempty"` + RegularExpressionNie *[]string `form:"regular_expression__nie,omitempty" json:"regular_expression__nie,omitempty"` + RegularExpressionNiew *[]string `form:"regular_expression__niew,omitempty" json:"regular_expression__niew,omitempty"` + RegularExpressionNire *[]string `form:"regular_expression__nire,omitempty" json:"regular_expression__nire,omitempty"` + RegularExpressionNisw *[]string `form:"regular_expression__nisw,omitempty" json:"regular_expression__nisw,omitempty"` + RegularExpressionNre *[]string `form:"regular_expression__nre,omitempty" json:"regular_expression__nre,omitempty"` + RegularExpressionRe *[]string `form:"regular_expression__re,omitempty" json:"regular_expression__re,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` } // PluginsDataValidationEngineRulesRegexBulkPartialUpdateJSONBody defines parameters for PluginsDataValidationEngineRulesRegexBulkPartialUpdate. -type PluginsDataValidationEngineRulesRegexBulkPartialUpdateJSONBody PatchedRegularExpressionValidationRule - -// PluginsDataValidationEngineRulesRegexCreateJSONBody defines parameters for PluginsDataValidationEngineRulesRegexCreate. -type PluginsDataValidationEngineRulesRegexCreateJSONBody RegularExpressionValidationRule +type PluginsDataValidationEngineRulesRegexBulkPartialUpdateJSONBody = []PatchedBulkWritableRegularExpressionValidationRuleRequest // PluginsDataValidationEngineRulesRegexBulkUpdateJSONBody defines parameters for PluginsDataValidationEngineRulesRegexBulkUpdate. -type PluginsDataValidationEngineRulesRegexBulkUpdateJSONBody RegularExpressionValidationRule - -// PluginsDataValidationEngineRulesRegexPartialUpdateJSONBody defines parameters for PluginsDataValidationEngineRulesRegexPartialUpdate. -type PluginsDataValidationEngineRulesRegexPartialUpdateJSONBody PatchedRegularExpressionValidationRule - -// PluginsDataValidationEngineRulesRegexUpdateJSONBody defines parameters for PluginsDataValidationEngineRulesRegexUpdate. -type PluginsDataValidationEngineRulesRegexUpdateJSONBody RegularExpressionValidationRule +type PluginsDataValidationEngineRulesRegexBulkUpdateJSONBody = []BulkWritableRegularExpressionValidationRuleRequest // PluginsDeviceOnboardingOnboardingListParams defines parameters for PluginsDeviceOnboardingOnboardingList. type PluginsDeviceOnboardingOnboardingListParams struct { - // Raison why the task failed (optional) - FailedReason *string `json:"failed_reason,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` + // FailedReason Raison why the task failed (optional) + FailedReason *string `form:"failed_reason,omitempty" json:"failed_reason,omitempty"` + Id *openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Platform (slug) - Platform *[]string `json:"platform,omitempty"` + // Platform Platform (slug) + Platform *[]string `form:"platform,omitempty" json:"platform,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Device Role (slug) - Role *[]string `json:"role,omitempty"` + // Role Device Role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` - // Site (slug) - Site *[]string `json:"site,omitempty"` + // Site Site (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // SiteId Site (ID) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` - // Overall status of the task - Status *string `json:"status,omitempty"` + // Status Overall status of the task + Status *string `form:"status,omitempty" json:"status,omitempty"` } -// PluginsDeviceOnboardingOnboardingCreateJSONBody defines parameters for PluginsDeviceOnboardingOnboardingCreate. -type PluginsDeviceOnboardingOnboardingCreateJSONBody OnboardingTask +// PluginsFirewallAddressObjectGroupBulkDestroyJSONBody defines parameters for PluginsFirewallAddressObjectGroupBulkDestroy. +type PluginsFirewallAddressObjectGroupBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsFirewallAddressObjectGroupListParams defines parameters for PluginsFirewallAddressObjectGroupList. +type PluginsFirewallAddressObjectGroupListParams struct { + AddressObjects *[]openapi_types.UUID `form:"address_objects,omitempty" json:"address_objects,omitempty"` + AddressObjectsN *[]openapi_types.UUID `form:"address_objects__n,omitempty" json:"address_objects__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` +} + +// PluginsFirewallAddressObjectGroupBulkPartialUpdateJSONBody defines parameters for PluginsFirewallAddressObjectGroupBulkPartialUpdate. +type PluginsFirewallAddressObjectGroupBulkPartialUpdateJSONBody = []PatchedBulkWritableAddressObjectGroupRequest + +// PluginsFirewallAddressObjectGroupBulkUpdateJSONBody defines parameters for PluginsFirewallAddressObjectGroupBulkUpdate. +type PluginsFirewallAddressObjectGroupBulkUpdateJSONBody = []BulkWritableAddressObjectGroupRequest + +// PluginsFirewallAddressObjectGroupNotesListParams defines parameters for PluginsFirewallAddressObjectGroupNotesList. +type PluginsFirewallAddressObjectGroupNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// PluginsFirewallAddressObjectBulkDestroyJSONBody defines parameters for PluginsFirewallAddressObjectBulkDestroy. +type PluginsFirewallAddressObjectBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsFirewallAddressObjectListParams defines parameters for PluginsFirewallAddressObjectList. +type PluginsFirewallAddressObjectListParams struct { + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Fqdn *openapi_types.UUID `form:"fqdn,omitempty" json:"fqdn,omitempty"` + FqdnN *openapi_types.UUID `form:"fqdn__n,omitempty" json:"fqdn__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + IpAddress *openapi_types.UUID `form:"ip_address,omitempty" json:"ip_address,omitempty"` + IpAddressN *openapi_types.UUID `form:"ip_address__n,omitempty" json:"ip_address__n,omitempty"` + IpRange *openapi_types.UUID `form:"ip_range,omitempty" json:"ip_range,omitempty"` + IpRangeN *openapi_types.UUID `form:"ip_range__n,omitempty" json:"ip_range__n,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + Prefix *openapi_types.UUID `form:"prefix,omitempty" json:"prefix,omitempty"` + PrefixN *openapi_types.UUID `form:"prefix__n,omitempty" json:"prefix__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` +} + +// PluginsFirewallAddressObjectBulkPartialUpdateJSONBody defines parameters for PluginsFirewallAddressObjectBulkPartialUpdate. +type PluginsFirewallAddressObjectBulkPartialUpdateJSONBody = []PatchedBulkWritableAddressObjectRequest + +// PluginsFirewallAddressObjectBulkUpdateJSONBody defines parameters for PluginsFirewallAddressObjectBulkUpdate. +type PluginsFirewallAddressObjectBulkUpdateJSONBody = []BulkWritableAddressObjectRequest + +// PluginsFirewallAddressObjectNotesListParams defines parameters for PluginsFirewallAddressObjectNotesList. +type PluginsFirewallAddressObjectNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// PluginsFirewallCapircaPolicyBulkDestroyJSONBody defines parameters for PluginsFirewallCapircaPolicyBulkDestroy. +type PluginsFirewallCapircaPolicyBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsFirewallCapircaPolicyListParams defines parameters for PluginsFirewallCapircaPolicyList. +type PluginsFirewallCapircaPolicyListParams struct { + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + + // Device Device Name + Device *[]string `form:"device,omitempty" json:"device,omitempty"` + + // DeviceN Device Name + DeviceN *[]string `form:"device__n,omitempty" json:"device__n,omitempty"` + + // DeviceId Device ID + DeviceId *[]openapi_types.UUID `form:"device_id,omitempty" json:"device_id,omitempty"` + + // DeviceIdN Device ID + DeviceIdN *[]openapi_types.UUID `form:"device_id__n,omitempty" json:"device_id__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// PluginsFirewallCapircaPolicyBulkPartialUpdateJSONBody defines parameters for PluginsFirewallCapircaPolicyBulkPartialUpdate. +type PluginsFirewallCapircaPolicyBulkPartialUpdateJSONBody = []PatchedBulkWritableCapircaPolicyRequest + +// PluginsFirewallCapircaPolicyBulkUpdateJSONBody defines parameters for PluginsFirewallCapircaPolicyBulkUpdate. +type PluginsFirewallCapircaPolicyBulkUpdateJSONBody = []BulkWritableCapircaPolicyRequest + +// PluginsFirewallFqdnBulkDestroyJSONBody defines parameters for PluginsFirewallFqdnBulkDestroy. +type PluginsFirewallFqdnBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsFirewallFqdnListParams defines parameters for PluginsFirewallFqdnList. +type PluginsFirewallFqdnListParams struct { + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` +} + +// PluginsFirewallFqdnBulkPartialUpdateJSONBody defines parameters for PluginsFirewallFqdnBulkPartialUpdate. +type PluginsFirewallFqdnBulkPartialUpdateJSONBody = []PatchedBulkWritableFQDNRequest + +// PluginsFirewallFqdnBulkUpdateJSONBody defines parameters for PluginsFirewallFqdnBulkUpdate. +type PluginsFirewallFqdnBulkUpdateJSONBody = []BulkWritableFQDNRequest + +// PluginsFirewallFqdnNotesListParams defines parameters for PluginsFirewallFqdnNotesList. +type PluginsFirewallFqdnNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// PluginsFirewallIpRangeBulkDestroyJSONBody defines parameters for PluginsFirewallIpRangeBulkDestroy. +type PluginsFirewallIpRangeBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsFirewallIpRangeListParams defines parameters for PluginsFirewallIpRangeList. +type PluginsFirewallIpRangeListParams struct { + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Size *[]int `form:"size,omitempty" json:"size,omitempty"` + SizeGt *[]int `form:"size__gt,omitempty" json:"size__gt,omitempty"` + SizeGte *[]int `form:"size__gte,omitempty" json:"size__gte,omitempty"` + SizeLt *[]int `form:"size__lt,omitempty" json:"size__lt,omitempty"` + SizeLte *[]int `form:"size__lte,omitempty" json:"size__lte,omitempty"` + SizeN *[]int `form:"size__n,omitempty" json:"size__n,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Vrf *openapi_types.UUID `form:"vrf,omitempty" json:"vrf,omitempty"` + VrfN *openapi_types.UUID `form:"vrf__n,omitempty" json:"vrf__n,omitempty"` +} + +// PluginsFirewallIpRangeBulkPartialUpdateJSONBody defines parameters for PluginsFirewallIpRangeBulkPartialUpdate. +type PluginsFirewallIpRangeBulkPartialUpdateJSONBody = []PatchedBulkWritableIPRangeRequest + +// PluginsFirewallIpRangeBulkUpdateJSONBody defines parameters for PluginsFirewallIpRangeBulkUpdate. +type PluginsFirewallIpRangeBulkUpdateJSONBody = []BulkWritableIPRangeRequest + +// PluginsFirewallIpRangeNotesListParams defines parameters for PluginsFirewallIpRangeNotesList. +type PluginsFirewallIpRangeNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// PluginsFirewallNatPolicyRuleBulkDestroyJSONBody defines parameters for PluginsFirewallNatPolicyRuleBulkDestroy. +type PluginsFirewallNatPolicyRuleBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsFirewallNatPolicyRuleListParams defines parameters for PluginsFirewallNatPolicyRuleList. +type PluginsFirewallNatPolicyRuleListParams struct { + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Log *bool `form:"log,omitempty" json:"log,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Remark *bool `form:"remark,omitempty" json:"remark,omitempty"` + RequestId *[]string `form:"request_id,omitempty" json:"request_id,omitempty"` + RequestIdIc *[]string `form:"request_id__ic,omitempty" json:"request_id__ic,omitempty"` + RequestIdIe *[]string `form:"request_id__ie,omitempty" json:"request_id__ie,omitempty"` + RequestIdIew *[]string `form:"request_id__iew,omitempty" json:"request_id__iew,omitempty"` + RequestIdIre *[]string `form:"request_id__ire,omitempty" json:"request_id__ire,omitempty"` + RequestIdIsw *[]string `form:"request_id__isw,omitempty" json:"request_id__isw,omitempty"` + RequestIdN *[]string `form:"request_id__n,omitempty" json:"request_id__n,omitempty"` + RequestIdNic *[]string `form:"request_id__nic,omitempty" json:"request_id__nic,omitempty"` + RequestIdNie *[]string `form:"request_id__nie,omitempty" json:"request_id__nie,omitempty"` + RequestIdNiew *[]string `form:"request_id__niew,omitempty" json:"request_id__niew,omitempty"` + RequestIdNire *[]string `form:"request_id__nire,omitempty" json:"request_id__nire,omitempty"` + RequestIdNisw *[]string `form:"request_id__nisw,omitempty" json:"request_id__nisw,omitempty"` + RequestIdNre *[]string `form:"request_id__nre,omitempty" json:"request_id__nre,omitempty"` + RequestIdRe *[]string `form:"request_id__re,omitempty" json:"request_id__re,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` +} + +// PluginsFirewallNatPolicyRuleBulkPartialUpdateJSONBody defines parameters for PluginsFirewallNatPolicyRuleBulkPartialUpdate. +type PluginsFirewallNatPolicyRuleBulkPartialUpdateJSONBody = []PatchedBulkWritableNATPolicyRuleRequest + +// PluginsFirewallNatPolicyRuleBulkUpdateJSONBody defines parameters for PluginsFirewallNatPolicyRuleBulkUpdate. +type PluginsFirewallNatPolicyRuleBulkUpdateJSONBody = []BulkWritableNATPolicyRuleRequest + +// PluginsFirewallNatPolicyRuleNotesListParams defines parameters for PluginsFirewallNatPolicyRuleNotesList. +type PluginsFirewallNatPolicyRuleNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// PluginsFirewallNatPolicyBulkDestroyJSONBody defines parameters for PluginsFirewallNatPolicyBulkDestroy. +type PluginsFirewallNatPolicyBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsFirewallNatPolicyListParams defines parameters for PluginsFirewallNatPolicyList. +type PluginsFirewallNatPolicyListParams struct { + AssignedDevices *[]openapi_types.UUID `form:"assigned_devices,omitempty" json:"assigned_devices,omitempty"` + AssignedDevicesN *[]openapi_types.UUID `form:"assigned_devices__n,omitempty" json:"assigned_devices__n,omitempty"` + AssignedDynamicGroups *[]openapi_types.UUID `form:"assigned_dynamic_groups,omitempty" json:"assigned_dynamic_groups,omitempty"` + AssignedDynamicGroupsN *[]openapi_types.UUID `form:"assigned_dynamic_groups__n,omitempty" json:"assigned_dynamic_groups__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + NatPolicyRules *[]openapi_types.UUID `form:"nat_policy_rules,omitempty" json:"nat_policy_rules,omitempty"` + NatPolicyRulesN *[]openapi_types.UUID `form:"nat_policy_rules__n,omitempty" json:"nat_policy_rules__n,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` +} + +// PluginsFirewallNatPolicyBulkPartialUpdateJSONBody defines parameters for PluginsFirewallNatPolicyBulkPartialUpdate. +type PluginsFirewallNatPolicyBulkPartialUpdateJSONBody = []PatchedBulkWritableNATPolicyRequest + +// PluginsFirewallNatPolicyBulkUpdateJSONBody defines parameters for PluginsFirewallNatPolicyBulkUpdate. +type PluginsFirewallNatPolicyBulkUpdateJSONBody = []BulkWritableNATPolicyRequest + +// PluginsFirewallNatPolicyNotesListParams defines parameters for PluginsFirewallNatPolicyNotesList. +type PluginsFirewallNatPolicyNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// PluginsFirewallPolicyRuleBulkDestroyJSONBody defines parameters for PluginsFirewallPolicyRuleBulkDestroy. +type PluginsFirewallPolicyRuleBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsFirewallPolicyRuleListParams defines parameters for PluginsFirewallPolicyRuleList. +type PluginsFirewallPolicyRuleListParams struct { + Action *PluginsFirewallPolicyRuleListParamsAction `form:"action,omitempty" json:"action,omitempty"` + ActionN *PluginsFirewallPolicyRuleListParamsActionN `form:"action__n,omitempty" json:"action__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Log *bool `form:"log,omitempty" json:"log,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + RequestId *[]string `form:"request_id,omitempty" json:"request_id,omitempty"` + RequestIdIc *[]string `form:"request_id__ic,omitempty" json:"request_id__ic,omitempty"` + RequestIdIe *[]string `form:"request_id__ie,omitempty" json:"request_id__ie,omitempty"` + RequestIdIew *[]string `form:"request_id__iew,omitempty" json:"request_id__iew,omitempty"` + RequestIdIre *[]string `form:"request_id__ire,omitempty" json:"request_id__ire,omitempty"` + RequestIdIsw *[]string `form:"request_id__isw,omitempty" json:"request_id__isw,omitempty"` + RequestIdN *[]string `form:"request_id__n,omitempty" json:"request_id__n,omitempty"` + RequestIdNic *[]string `form:"request_id__nic,omitempty" json:"request_id__nic,omitempty"` + RequestIdNie *[]string `form:"request_id__nie,omitempty" json:"request_id__nie,omitempty"` + RequestIdNiew *[]string `form:"request_id__niew,omitempty" json:"request_id__niew,omitempty"` + RequestIdNire *[]string `form:"request_id__nire,omitempty" json:"request_id__nire,omitempty"` + RequestIdNisw *[]string `form:"request_id__nisw,omitempty" json:"request_id__nisw,omitempty"` + RequestIdNre *[]string `form:"request_id__nre,omitempty" json:"request_id__nre,omitempty"` + RequestIdRe *[]string `form:"request_id__re,omitempty" json:"request_id__re,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` +} + +// PluginsFirewallPolicyRuleListParamsAction defines parameters for PluginsFirewallPolicyRuleList. +type PluginsFirewallPolicyRuleListParamsAction string + +// PluginsFirewallPolicyRuleListParamsActionN defines parameters for PluginsFirewallPolicyRuleList. +type PluginsFirewallPolicyRuleListParamsActionN string + +// PluginsFirewallPolicyRuleBulkPartialUpdateJSONBody defines parameters for PluginsFirewallPolicyRuleBulkPartialUpdate. +type PluginsFirewallPolicyRuleBulkPartialUpdateJSONBody = []PatchedBulkWritablePolicyRuleRequest + +// PluginsFirewallPolicyRuleBulkUpdateJSONBody defines parameters for PluginsFirewallPolicyRuleBulkUpdate. +type PluginsFirewallPolicyRuleBulkUpdateJSONBody = []BulkWritablePolicyRuleRequest + +// PluginsFirewallPolicyRuleNotesListParams defines parameters for PluginsFirewallPolicyRuleNotesList. +type PluginsFirewallPolicyRuleNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// PluginsFirewallPolicyBulkDestroyJSONBody defines parameters for PluginsFirewallPolicyBulkDestroy. +type PluginsFirewallPolicyBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsFirewallPolicyListParams defines parameters for PluginsFirewallPolicyList. +type PluginsFirewallPolicyListParams struct { + AssignedDevices *[]openapi_types.UUID `form:"assigned_devices,omitempty" json:"assigned_devices,omitempty"` + AssignedDevicesN *[]openapi_types.UUID `form:"assigned_devices__n,omitempty" json:"assigned_devices__n,omitempty"` + AssignedDynamicGroups *[]openapi_types.UUID `form:"assigned_dynamic_groups,omitempty" json:"assigned_dynamic_groups,omitempty"` + AssignedDynamicGroupsN *[]openapi_types.UUID `form:"assigned_dynamic_groups__n,omitempty" json:"assigned_dynamic_groups__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + PolicyRules *[]openapi_types.UUID `form:"policy_rules,omitempty" json:"policy_rules,omitempty"` + PolicyRulesN *[]openapi_types.UUID `form:"policy_rules__n,omitempty" json:"policy_rules__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` +} + +// PluginsFirewallPolicyBulkPartialUpdateJSONBody defines parameters for PluginsFirewallPolicyBulkPartialUpdate. +type PluginsFirewallPolicyBulkPartialUpdateJSONBody = []PatchedBulkWritablePolicyRequest + +// PluginsFirewallPolicyBulkUpdateJSONBody defines parameters for PluginsFirewallPolicyBulkUpdate. +type PluginsFirewallPolicyBulkUpdateJSONBody = []BulkWritablePolicyRequest + +// PluginsFirewallPolicyNotesListParams defines parameters for PluginsFirewallPolicyNotesList. +type PluginsFirewallPolicyNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// PluginsFirewallServiceObjectGroupBulkDestroyJSONBody defines parameters for PluginsFirewallServiceObjectGroupBulkDestroy. +type PluginsFirewallServiceObjectGroupBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsFirewallServiceObjectGroupListParams defines parameters for PluginsFirewallServiceObjectGroupList. +type PluginsFirewallServiceObjectGroupListParams struct { + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + ServiceObjects *[]openapi_types.UUID `form:"service_objects,omitempty" json:"service_objects,omitempty"` + ServiceObjectsN *[]openapi_types.UUID `form:"service_objects__n,omitempty" json:"service_objects__n,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` +} + +// PluginsFirewallServiceObjectGroupBulkPartialUpdateJSONBody defines parameters for PluginsFirewallServiceObjectGroupBulkPartialUpdate. +type PluginsFirewallServiceObjectGroupBulkPartialUpdateJSONBody = []PatchedBulkWritableServiceObjectGroupRequest + +// PluginsFirewallServiceObjectGroupBulkUpdateJSONBody defines parameters for PluginsFirewallServiceObjectGroupBulkUpdate. +type PluginsFirewallServiceObjectGroupBulkUpdateJSONBody = []BulkWritableServiceObjectGroupRequest + +// PluginsFirewallServiceObjectGroupNotesListParams defines parameters for PluginsFirewallServiceObjectGroupNotesList. +type PluginsFirewallServiceObjectGroupNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// PluginsFirewallServiceObjectBulkDestroyJSONBody defines parameters for PluginsFirewallServiceObjectBulkDestroy. +type PluginsFirewallServiceObjectBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsFirewallServiceObjectListParams defines parameters for PluginsFirewallServiceObjectList. +type PluginsFirewallServiceObjectListParams struct { + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + + // IpProtocol IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocol *PluginsFirewallServiceObjectListParamsIpProtocol `form:"ip_protocol,omitempty" json:"ip_protocol,omitempty"` + + // IpProtocolN IANA IP Protocol (e.g. TCP UDP ICMP) + IpProtocolN *PluginsFirewallServiceObjectListParamsIpProtocolN `form:"ip_protocol__n,omitempty" json:"ip_protocol__n,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + Port *[]string `form:"port,omitempty" json:"port,omitempty"` + PortIc *[]string `form:"port__ic,omitempty" json:"port__ic,omitempty"` + PortIe *[]string `form:"port__ie,omitempty" json:"port__ie,omitempty"` + PortIew *[]string `form:"port__iew,omitempty" json:"port__iew,omitempty"` + PortIre *[]string `form:"port__ire,omitempty" json:"port__ire,omitempty"` + PortIsw *[]string `form:"port__isw,omitempty" json:"port__isw,omitempty"` + PortN *[]string `form:"port__n,omitempty" json:"port__n,omitempty"` + PortNic *[]string `form:"port__nic,omitempty" json:"port__nic,omitempty"` + PortNie *[]string `form:"port__nie,omitempty" json:"port__nie,omitempty"` + PortNiew *[]string `form:"port__niew,omitempty" json:"port__niew,omitempty"` + PortNire *[]string `form:"port__nire,omitempty" json:"port__nire,omitempty"` + PortNisw *[]string `form:"port__nisw,omitempty" json:"port__nisw,omitempty"` + PortNre *[]string `form:"port__nre,omitempty" json:"port__nre,omitempty"` + PortRe *[]string `form:"port__re,omitempty" json:"port__re,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` +} + +// PluginsFirewallServiceObjectListParamsIpProtocol defines parameters for PluginsFirewallServiceObjectList. +type PluginsFirewallServiceObjectListParamsIpProtocol string + +// PluginsFirewallServiceObjectListParamsIpProtocolN defines parameters for PluginsFirewallServiceObjectList. +type PluginsFirewallServiceObjectListParamsIpProtocolN string + +// PluginsFirewallServiceObjectBulkPartialUpdateJSONBody defines parameters for PluginsFirewallServiceObjectBulkPartialUpdate. +type PluginsFirewallServiceObjectBulkPartialUpdateJSONBody = []PatchedBulkWritableServiceObjectRequest + +// PluginsFirewallServiceObjectBulkUpdateJSONBody defines parameters for PluginsFirewallServiceObjectBulkUpdate. +type PluginsFirewallServiceObjectBulkUpdateJSONBody = []BulkWritableServiceObjectRequest + +// PluginsFirewallServiceObjectNotesListParams defines parameters for PluginsFirewallServiceObjectNotesList. +type PluginsFirewallServiceObjectNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// PluginsFirewallUserObjectGroupBulkDestroyJSONBody defines parameters for PluginsFirewallUserObjectGroupBulkDestroy. +type PluginsFirewallUserObjectGroupBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsFirewallUserObjectGroupListParams defines parameters for PluginsFirewallUserObjectGroupList. +type PluginsFirewallUserObjectGroupListParams struct { + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + UserObjects *[]openapi_types.UUID `form:"user_objects,omitempty" json:"user_objects,omitempty"` + UserObjectsN *[]openapi_types.UUID `form:"user_objects__n,omitempty" json:"user_objects__n,omitempty"` +} + +// PluginsFirewallUserObjectGroupBulkPartialUpdateJSONBody defines parameters for PluginsFirewallUserObjectGroupBulkPartialUpdate. +type PluginsFirewallUserObjectGroupBulkPartialUpdateJSONBody = []PatchedBulkWritableUserObjectGroupRequest + +// PluginsFirewallUserObjectGroupBulkUpdateJSONBody defines parameters for PluginsFirewallUserObjectGroupBulkUpdate. +type PluginsFirewallUserObjectGroupBulkUpdateJSONBody = []BulkWritableUserObjectGroupRequest + +// PluginsFirewallUserObjectGroupNotesListParams defines parameters for PluginsFirewallUserObjectGroupNotesList. +type PluginsFirewallUserObjectGroupNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// PluginsFirewallUserObjectBulkDestroyJSONBody defines parameters for PluginsFirewallUserObjectBulkDestroy. +type PluginsFirewallUserObjectBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsFirewallUserObjectListParams defines parameters for PluginsFirewallUserObjectList. +type PluginsFirewallUserObjectListParams struct { + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Username *[]string `form:"username,omitempty" json:"username,omitempty"` + UsernameIc *[]string `form:"username__ic,omitempty" json:"username__ic,omitempty"` + UsernameIe *[]string `form:"username__ie,omitempty" json:"username__ie,omitempty"` + UsernameIew *[]string `form:"username__iew,omitempty" json:"username__iew,omitempty"` + UsernameIre *[]string `form:"username__ire,omitempty" json:"username__ire,omitempty"` + UsernameIsw *[]string `form:"username__isw,omitempty" json:"username__isw,omitempty"` + UsernameN *[]string `form:"username__n,omitempty" json:"username__n,omitempty"` + UsernameNic *[]string `form:"username__nic,omitempty" json:"username__nic,omitempty"` + UsernameNie *[]string `form:"username__nie,omitempty" json:"username__nie,omitempty"` + UsernameNiew *[]string `form:"username__niew,omitempty" json:"username__niew,omitempty"` + UsernameNire *[]string `form:"username__nire,omitempty" json:"username__nire,omitempty"` + UsernameNisw *[]string `form:"username__nisw,omitempty" json:"username__nisw,omitempty"` + UsernameNre *[]string `form:"username__nre,omitempty" json:"username__nre,omitempty"` + UsernameRe *[]string `form:"username__re,omitempty" json:"username__re,omitempty"` +} + +// PluginsFirewallUserObjectBulkPartialUpdateJSONBody defines parameters for PluginsFirewallUserObjectBulkPartialUpdate. +type PluginsFirewallUserObjectBulkPartialUpdateJSONBody = []PatchedBulkWritableUserObjectRequest + +// PluginsFirewallUserObjectBulkUpdateJSONBody defines parameters for PluginsFirewallUserObjectBulkUpdate. +type PluginsFirewallUserObjectBulkUpdateJSONBody = []BulkWritableUserObjectRequest + +// PluginsFirewallUserObjectNotesListParams defines parameters for PluginsFirewallUserObjectNotesList. +type PluginsFirewallUserObjectNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// PluginsFirewallZoneBulkDestroyJSONBody defines parameters for PluginsFirewallZoneBulkDestroy. +type PluginsFirewallZoneBulkDestroyJSONBody = []BulkOperationRequest + +// PluginsFirewallZoneListParams defines parameters for PluginsFirewallZoneList. +type PluginsFirewallZoneListParams struct { + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + Interfaces *[]openapi_types.UUID `form:"interfaces,omitempty" json:"interfaces,omitempty"` + InterfacesN *[]openapi_types.UUID `form:"interfaces__n,omitempty" json:"interfaces__n,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Status *[]string `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]string `form:"status__n,omitempty" json:"status__n,omitempty"` + Vrfs *[]openapi_types.UUID `form:"vrfs,omitempty" json:"vrfs,omitempty"` + VrfsN *[]openapi_types.UUID `form:"vrfs__n,omitempty" json:"vrfs__n,omitempty"` +} + +// PluginsFirewallZoneBulkPartialUpdateJSONBody defines parameters for PluginsFirewallZoneBulkPartialUpdate. +type PluginsFirewallZoneBulkPartialUpdateJSONBody = []PatchedBulkWritableZoneRequest + +// PluginsFirewallZoneBulkUpdateJSONBody defines parameters for PluginsFirewallZoneBulkUpdate. +type PluginsFirewallZoneBulkUpdateJSONBody = []BulkWritableZoneRequest + +// PluginsFirewallZoneNotesListParams defines parameters for PluginsFirewallZoneNotesList. +type PluginsFirewallZoneNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// PluginsGoldenConfigComplianceFeatureBulkDestroyJSONBody defines parameters for PluginsGoldenConfigComplianceFeatureBulkDestroy. +type PluginsGoldenConfigComplianceFeatureBulkDestroyJSONBody = []BulkOperationRequest // PluginsGoldenConfigComplianceFeatureListParams defines parameters for PluginsGoldenConfigComplianceFeatureList. type PluginsGoldenConfigComplianceFeatureListParams struct { - Id *openapi_types.UUID `json:"id,omitempty"` + Id *openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *string `json:"name,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *string `form:"name,omitempty" json:"name,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *string `form:"slug,omitempty" json:"slug,omitempty"` } // PluginsGoldenConfigComplianceFeatureBulkPartialUpdateJSONBody defines parameters for PluginsGoldenConfigComplianceFeatureBulkPartialUpdate. -type PluginsGoldenConfigComplianceFeatureBulkPartialUpdateJSONBody PatchedComplianceFeature - -// PluginsGoldenConfigComplianceFeatureCreateJSONBody defines parameters for PluginsGoldenConfigComplianceFeatureCreate. -type PluginsGoldenConfigComplianceFeatureCreateJSONBody ComplianceFeature +type PluginsGoldenConfigComplianceFeatureBulkPartialUpdateJSONBody = []PatchedBulkWritableComplianceFeatureRequest // PluginsGoldenConfigComplianceFeatureBulkUpdateJSONBody defines parameters for PluginsGoldenConfigComplianceFeatureBulkUpdate. -type PluginsGoldenConfigComplianceFeatureBulkUpdateJSONBody ComplianceFeature +type PluginsGoldenConfigComplianceFeatureBulkUpdateJSONBody = []BulkWritableComplianceFeatureRequest -// PluginsGoldenConfigComplianceFeaturePartialUpdateJSONBody defines parameters for PluginsGoldenConfigComplianceFeaturePartialUpdate. -type PluginsGoldenConfigComplianceFeaturePartialUpdateJSONBody PatchedComplianceFeature - -// PluginsGoldenConfigComplianceFeatureUpdateJSONBody defines parameters for PluginsGoldenConfigComplianceFeatureUpdate. -type PluginsGoldenConfigComplianceFeatureUpdateJSONBody ComplianceFeature +// PluginsGoldenConfigComplianceRuleBulkDestroyJSONBody defines parameters for PluginsGoldenConfigComplianceRuleBulkDestroy. +type PluginsGoldenConfigComplianceRuleBulkDestroyJSONBody = []BulkOperationRequest // PluginsGoldenConfigComplianceRuleListParams defines parameters for PluginsGoldenConfigComplianceRuleList. type PluginsGoldenConfigComplianceRuleListParams struct { - Feature *openapi_types.UUID `json:"feature,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` + Feature *openapi_types.UUID `form:"feature,omitempty" json:"feature,omitempty"` + Id *openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Platform (slug) - Platform *[]string `json:"platform,omitempty"` + // Platform Platform (slug) + Platform *[]string `form:"platform,omitempty" json:"platform,omitempty"` - // Platform (ID) - PlatformId *[]openapi_types.UUID `json:"platform_id,omitempty"` + // PlatformId Platform (ID) + PlatformId *[]openapi_types.UUID `form:"platform_id,omitempty" json:"platform_id,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` } // PluginsGoldenConfigComplianceRuleBulkPartialUpdateJSONBody defines parameters for PluginsGoldenConfigComplianceRuleBulkPartialUpdate. -type PluginsGoldenConfigComplianceRuleBulkPartialUpdateJSONBody PatchedComplianceRule - -// PluginsGoldenConfigComplianceRuleCreateJSONBody defines parameters for PluginsGoldenConfigComplianceRuleCreate. -type PluginsGoldenConfigComplianceRuleCreateJSONBody ComplianceRule +type PluginsGoldenConfigComplianceRuleBulkPartialUpdateJSONBody = []PatchedBulkWritableComplianceRuleRequest // PluginsGoldenConfigComplianceRuleBulkUpdateJSONBody defines parameters for PluginsGoldenConfigComplianceRuleBulkUpdate. -type PluginsGoldenConfigComplianceRuleBulkUpdateJSONBody ComplianceRule +type PluginsGoldenConfigComplianceRuleBulkUpdateJSONBody = []BulkWritableComplianceRuleRequest -// PluginsGoldenConfigComplianceRulePartialUpdateJSONBody defines parameters for PluginsGoldenConfigComplianceRulePartialUpdate. -type PluginsGoldenConfigComplianceRulePartialUpdateJSONBody PatchedComplianceRule - -// PluginsGoldenConfigComplianceRuleUpdateJSONBody defines parameters for PluginsGoldenConfigComplianceRuleUpdate. -type PluginsGoldenConfigComplianceRuleUpdateJSONBody ComplianceRule +// PluginsGoldenConfigConfigComplianceBulkDestroyJSONBody defines parameters for PluginsGoldenConfigConfigComplianceBulkDestroy. +type PluginsGoldenConfigConfigComplianceBulkDestroyJSONBody = []BulkOperationRequest // PluginsGoldenConfigConfigComplianceListParams defines parameters for PluginsGoldenConfigConfigComplianceList. type PluginsGoldenConfigConfigComplianceListParams struct { - // Device Name - Device *[]string `json:"device,omitempty"` + // Device Device Name + Device *[]string `form:"device,omitempty" json:"device,omitempty"` - // Device ID - DeviceId *[]openapi_types.UUID `json:"device_id,omitempty"` + // DeviceId Device ID + DeviceId *[]openapi_types.UUID `form:"device_id,omitempty" json:"device_id,omitempty"` - // Device Status - DeviceStatus *[]openapi_types.UUID `json:"device_status,omitempty"` + // DeviceStatus Device Status + DeviceStatus *[]openapi_types.UUID `form:"device_status,omitempty" json:"device_status,omitempty"` - // Device Status - DeviceStatusId *[]openapi_types.UUID `json:"device_status_id,omitempty"` + // DeviceStatusId Device Status + DeviceStatusId *[]openapi_types.UUID `form:"device_status_id,omitempty" json:"device_status_id,omitempty"` - // DeviceType (slug) - DeviceType *[]string `json:"device_type,omitempty"` + // DeviceType DeviceType (slug) + DeviceType *[]string `form:"device_type,omitempty" json:"device_type,omitempty"` - // Device type (ID) - DeviceTypeId *[]openapi_types.UUID `json:"device_type_id,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` + // DeviceTypeId Device type (ID) + DeviceTypeId *[]openapi_types.UUID `form:"device_type_id,omitempty" json:"device_type_id,omitempty"` + Id *openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // Manufacturer (slug) - Manufacturer *[]string `json:"manufacturer,omitempty"` + // Manufacturer Manufacturer (slug) + Manufacturer *[]string `form:"manufacturer,omitempty" json:"manufacturer,omitempty"` - // Manufacturer (ID) - ManufacturerId *[]openapi_types.UUID `json:"manufacturer_id,omitempty"` + // ManufacturerId Manufacturer (ID) + ManufacturerId *[]openapi_types.UUID `form:"manufacturer_id,omitempty" json:"manufacturer_id,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Platform (slug) - Platform *[]string `json:"platform,omitempty"` + // Platform Platform (slug) + Platform *[]string `form:"platform,omitempty" json:"platform,omitempty"` - // Platform (ID) - PlatformId *[]openapi_types.UUID `json:"platform_id,omitempty"` + // PlatformId Platform (ID) + PlatformId *[]openapi_types.UUID `form:"platform_id,omitempty" json:"platform_id,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Rack (name) - Rack *[]string `json:"rack,omitempty"` + // Rack Rack (name) + Rack *[]string `form:"rack,omitempty" json:"rack,omitempty"` - // Rack group (slug) - RackGroup *[]string `json:"rack_group,omitempty"` + // RackGroup Rack group (slug) + RackGroup *[]string `form:"rack_group,omitempty" json:"rack_group,omitempty"` - // Rack group (ID) - RackGroupId *[]openapi_types.UUID `json:"rack_group_id,omitempty"` + // RackGroupId Rack group (ID) + RackGroupId *[]openapi_types.UUID `form:"rack_group_id,omitempty" json:"rack_group_id,omitempty"` - // Rack (ID) - RackId *[]openapi_types.UUID `json:"rack_id,omitempty"` + // RackId Rack (ID) + RackId *[]openapi_types.UUID `form:"rack_id,omitempty" json:"rack_id,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // Region Region (slug) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // RegionId Region (ID) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` - // Role (slug) - Role *[]string `json:"role,omitempty"` + // Role Role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` - // Role (ID) - RoleId *[]openapi_types.UUID `json:"role_id,omitempty"` + // RoleId Role (ID) + RoleId *[]openapi_types.UUID `form:"role_id,omitempty" json:"role_id,omitempty"` - // Site name (slug) - Site *[]string `json:"site,omitempty"` + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // SiteId Site (ID) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` - // Tenant (slug) - Tenant *[]string `json:"tenant,omitempty"` + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` - // Tenant Group (slug) - TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + // TenantGroup Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` - // Tenant Group (ID) - TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` - // Tenant (ID) - TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + // TenantId Tenant (ID) + TenantId *[]openapi_types.UUID `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` } // PluginsGoldenConfigConfigComplianceBulkPartialUpdateJSONBody defines parameters for PluginsGoldenConfigConfigComplianceBulkPartialUpdate. -type PluginsGoldenConfigConfigComplianceBulkPartialUpdateJSONBody PatchedConfigCompliance - -// PluginsGoldenConfigConfigComplianceCreateJSONBody defines parameters for PluginsGoldenConfigConfigComplianceCreate. -type PluginsGoldenConfigConfigComplianceCreateJSONBody ConfigCompliance +type PluginsGoldenConfigConfigComplianceBulkPartialUpdateJSONBody = []PatchedBulkWritableConfigComplianceRequest // PluginsGoldenConfigConfigComplianceBulkUpdateJSONBody defines parameters for PluginsGoldenConfigConfigComplianceBulkUpdate. -type PluginsGoldenConfigConfigComplianceBulkUpdateJSONBody ConfigCompliance +type PluginsGoldenConfigConfigComplianceBulkUpdateJSONBody = []BulkWritableConfigComplianceRequest -// PluginsGoldenConfigConfigCompliancePartialUpdateJSONBody defines parameters for PluginsGoldenConfigConfigCompliancePartialUpdate. -type PluginsGoldenConfigConfigCompliancePartialUpdateJSONBody PatchedConfigCompliance - -// PluginsGoldenConfigConfigComplianceUpdateJSONBody defines parameters for PluginsGoldenConfigConfigComplianceUpdate. -type PluginsGoldenConfigConfigComplianceUpdateJSONBody ConfigCompliance +// PluginsGoldenConfigConfigRemoveBulkDestroyJSONBody defines parameters for PluginsGoldenConfigConfigRemoveBulkDestroy. +type PluginsGoldenConfigConfigRemoveBulkDestroyJSONBody = []BulkOperationRequest // PluginsGoldenConfigConfigRemoveListParams defines parameters for PluginsGoldenConfigConfigRemoveList. type PluginsGoldenConfigConfigRemoveListParams struct { - Id *openapi_types.UUID `json:"id,omitempty"` + Id *openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *string `json:"name,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *string `form:"name,omitempty" json:"name,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Platform (slug) - Platform *[]string `json:"platform,omitempty"` + // Platform Platform (slug) + Platform *[]string `form:"platform,omitempty" json:"platform,omitempty"` - // Platform (ID) - PlatformId *[]openapi_types.UUID `json:"platform_id,omitempty"` + // PlatformId Platform (ID) + PlatformId *[]openapi_types.UUID `form:"platform_id,omitempty" json:"platform_id,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` } // PluginsGoldenConfigConfigRemoveBulkPartialUpdateJSONBody defines parameters for PluginsGoldenConfigConfigRemoveBulkPartialUpdate. -type PluginsGoldenConfigConfigRemoveBulkPartialUpdateJSONBody PatchedConfigRemove - -// PluginsGoldenConfigConfigRemoveCreateJSONBody defines parameters for PluginsGoldenConfigConfigRemoveCreate. -type PluginsGoldenConfigConfigRemoveCreateJSONBody ConfigRemove +type PluginsGoldenConfigConfigRemoveBulkPartialUpdateJSONBody = []PatchedBulkWritableConfigRemoveRequest // PluginsGoldenConfigConfigRemoveBulkUpdateJSONBody defines parameters for PluginsGoldenConfigConfigRemoveBulkUpdate. -type PluginsGoldenConfigConfigRemoveBulkUpdateJSONBody ConfigRemove +type PluginsGoldenConfigConfigRemoveBulkUpdateJSONBody = []BulkWritableConfigRemoveRequest -// PluginsGoldenConfigConfigRemovePartialUpdateJSONBody defines parameters for PluginsGoldenConfigConfigRemovePartialUpdate. -type PluginsGoldenConfigConfigRemovePartialUpdateJSONBody PatchedConfigRemove - -// PluginsGoldenConfigConfigRemoveUpdateJSONBody defines parameters for PluginsGoldenConfigConfigRemoveUpdate. -type PluginsGoldenConfigConfigRemoveUpdateJSONBody ConfigRemove +// PluginsGoldenConfigConfigReplaceBulkDestroyJSONBody defines parameters for PluginsGoldenConfigConfigReplaceBulkDestroy. +type PluginsGoldenConfigConfigReplaceBulkDestroyJSONBody = []BulkOperationRequest // PluginsGoldenConfigConfigReplaceListParams defines parameters for PluginsGoldenConfigConfigReplaceList. type PluginsGoldenConfigConfigReplaceListParams struct { - Id *openapi_types.UUID `json:"id,omitempty"` + Id *openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *string `json:"name,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *string `form:"name,omitempty" json:"name,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Platform (slug) - Platform *[]string `json:"platform,omitempty"` + // Platform Platform (slug) + Platform *[]string `form:"platform,omitempty" json:"platform,omitempty"` - // Platform (ID) - PlatformId *[]openapi_types.UUID `json:"platform_id,omitempty"` + // PlatformId Platform (ID) + PlatformId *[]openapi_types.UUID `form:"platform_id,omitempty" json:"platform_id,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` } // PluginsGoldenConfigConfigReplaceBulkPartialUpdateJSONBody defines parameters for PluginsGoldenConfigConfigReplaceBulkPartialUpdate. -type PluginsGoldenConfigConfigReplaceBulkPartialUpdateJSONBody PatchedConfigReplace - -// PluginsGoldenConfigConfigReplaceCreateJSONBody defines parameters for PluginsGoldenConfigConfigReplaceCreate. -type PluginsGoldenConfigConfigReplaceCreateJSONBody ConfigReplace +type PluginsGoldenConfigConfigReplaceBulkPartialUpdateJSONBody = []PatchedBulkWritableConfigReplaceRequest // PluginsGoldenConfigConfigReplaceBulkUpdateJSONBody defines parameters for PluginsGoldenConfigConfigReplaceBulkUpdate. -type PluginsGoldenConfigConfigReplaceBulkUpdateJSONBody ConfigReplace +type PluginsGoldenConfigConfigReplaceBulkUpdateJSONBody = []BulkWritableConfigReplaceRequest -// PluginsGoldenConfigConfigReplacePartialUpdateJSONBody defines parameters for PluginsGoldenConfigConfigReplacePartialUpdate. -type PluginsGoldenConfigConfigReplacePartialUpdateJSONBody PatchedConfigReplace - -// PluginsGoldenConfigConfigReplaceUpdateJSONBody defines parameters for PluginsGoldenConfigConfigReplaceUpdate. -type PluginsGoldenConfigConfigReplaceUpdateJSONBody ConfigReplace +// PluginsGoldenConfigGoldenConfigSettingsBulkDestroyJSONBody defines parameters for PluginsGoldenConfigGoldenConfigSettingsBulkDestroy. +type PluginsGoldenConfigGoldenConfigSettingsBulkDestroyJSONBody = []BulkOperationRequest // PluginsGoldenConfigGoldenConfigSettingsListParams defines parameters for PluginsGoldenConfigGoldenConfigSettingsList. type PluginsGoldenConfigGoldenConfigSettingsListParams struct { - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + BackupRepository *openapi_types.UUID `form:"backup_repository,omitempty" json:"backup_repository,omitempty"` + BackupRepositoryN *openapi_types.UUID `form:"backup_repository__n,omitempty" json:"backup_repository__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + IntendedRepository *openapi_types.UUID `form:"intended_repository,omitempty" json:"intended_repository,omitempty"` + IntendedRepositoryN *openapi_types.UUID `form:"intended_repository__n,omitempty" json:"intended_repository__n,omitempty"` + JinjaRepository *openapi_types.UUID `form:"jinja_repository,omitempty" json:"jinja_repository,omitempty"` + JinjaRepositoryN *openapi_types.UUID `form:"jinja_repository__n,omitempty" json:"jinja_repository__n,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` + Weight *[]int `form:"weight,omitempty" json:"weight,omitempty"` + WeightGt *[]int `form:"weight__gt,omitempty" json:"weight__gt,omitempty"` + WeightGte *[]int `form:"weight__gte,omitempty" json:"weight__gte,omitempty"` + WeightLt *[]int `form:"weight__lt,omitempty" json:"weight__lt,omitempty"` + WeightLte *[]int `form:"weight__lte,omitempty" json:"weight__lte,omitempty"` + WeightN *[]int `form:"weight__n,omitempty" json:"weight__n,omitempty"` } // PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateJSONBody defines parameters for PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdate. -type PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateJSONBody PatchedGoldenConfigSetting - -// PluginsGoldenConfigGoldenConfigSettingsCreateJSONBody defines parameters for PluginsGoldenConfigGoldenConfigSettingsCreate. -type PluginsGoldenConfigGoldenConfigSettingsCreateJSONBody GoldenConfigSetting +type PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateJSONBody = []PatchedBulkWritableGoldenConfigSettingRequest // PluginsGoldenConfigGoldenConfigSettingsBulkUpdateJSONBody defines parameters for PluginsGoldenConfigGoldenConfigSettingsBulkUpdate. -type PluginsGoldenConfigGoldenConfigSettingsBulkUpdateJSONBody GoldenConfigSetting +type PluginsGoldenConfigGoldenConfigSettingsBulkUpdateJSONBody = []BulkWritableGoldenConfigSettingRequest -// PluginsGoldenConfigGoldenConfigSettingsPartialUpdateJSONBody defines parameters for PluginsGoldenConfigGoldenConfigSettingsPartialUpdate. -type PluginsGoldenConfigGoldenConfigSettingsPartialUpdateJSONBody PatchedGoldenConfigSetting - -// PluginsGoldenConfigGoldenConfigSettingsUpdateJSONBody defines parameters for PluginsGoldenConfigGoldenConfigSettingsUpdate. -type PluginsGoldenConfigGoldenConfigSettingsUpdateJSONBody GoldenConfigSetting +// PluginsGoldenConfigGoldenConfigBulkDestroyJSONBody defines parameters for PluginsGoldenConfigGoldenConfigBulkDestroy. +type PluginsGoldenConfigGoldenConfigBulkDestroyJSONBody = []BulkOperationRequest // PluginsGoldenConfigGoldenConfigListParams defines parameters for PluginsGoldenConfigGoldenConfigList. type PluginsGoldenConfigGoldenConfigListParams struct { - // Device Name - Device *[]string `json:"device,omitempty"` + // Device Device Name + Device *[]string `form:"device,omitempty" json:"device,omitempty"` - // Device ID - DeviceId *[]openapi_types.UUID `json:"device_id,omitempty"` + // DeviceId Device ID + DeviceId *[]openapi_types.UUID `form:"device_id,omitempty" json:"device_id,omitempty"` - // Device Status - DeviceStatus *[]openapi_types.UUID `json:"device_status,omitempty"` + // DeviceStatus Device Status + DeviceStatus *[]openapi_types.UUID `form:"device_status,omitempty" json:"device_status,omitempty"` - // Device Status - DeviceStatusId *[]openapi_types.UUID `json:"device_status_id,omitempty"` + // DeviceStatusId Device Status + DeviceStatusId *[]openapi_types.UUID `form:"device_status_id,omitempty" json:"device_status_id,omitempty"` - // DeviceType (slug) - DeviceType *[]string `json:"device_type,omitempty"` + // DeviceType DeviceType (slug) + DeviceType *[]string `form:"device_type,omitempty" json:"device_type,omitempty"` - // Device type (ID) - DeviceTypeId *[]openapi_types.UUID `json:"device_type_id,omitempty"` - Id *openapi_types.UUID `json:"id,omitempty"` + // DeviceTypeId Device type (ID) + DeviceTypeId *[]openapi_types.UUID `form:"device_type_id,omitempty" json:"device_type_id,omitempty"` + Id *openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // Manufacturer (slug) - Manufacturer *[]string `json:"manufacturer,omitempty"` + // Manufacturer Manufacturer (slug) + Manufacturer *[]string `form:"manufacturer,omitempty" json:"manufacturer,omitempty"` - // Manufacturer (ID) - ManufacturerId *[]openapi_types.UUID `json:"manufacturer_id,omitempty"` + // ManufacturerId Manufacturer (ID) + ManufacturerId *[]openapi_types.UUID `form:"manufacturer_id,omitempty" json:"manufacturer_id,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Platform (slug) - Platform *[]string `json:"platform,omitempty"` + // Platform Platform (slug) + Platform *[]string `form:"platform,omitempty" json:"platform,omitempty"` - // Platform (ID) - PlatformId *[]openapi_types.UUID `json:"platform_id,omitempty"` + // PlatformId Platform (ID) + PlatformId *[]openapi_types.UUID `form:"platform_id,omitempty" json:"platform_id,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Rack (name) - Rack *[]string `json:"rack,omitempty"` + // Rack Rack (name) + Rack *[]string `form:"rack,omitempty" json:"rack,omitempty"` - // Rack group (slug) - RackGroup *[]string `json:"rack_group,omitempty"` + // RackGroup Rack group (slug) + RackGroup *[]string `form:"rack_group,omitempty" json:"rack_group,omitempty"` - // Rack group (ID) - RackGroupId *[]openapi_types.UUID `json:"rack_group_id,omitempty"` + // RackGroupId Rack group (ID) + RackGroupId *[]openapi_types.UUID `form:"rack_group_id,omitempty" json:"rack_group_id,omitempty"` - // Rack (ID) - RackId *[]openapi_types.UUID `json:"rack_id,omitempty"` + // RackId Rack (ID) + RackId *[]openapi_types.UUID `form:"rack_id,omitempty" json:"rack_id,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // Region Region (slug) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // RegionId Region (ID) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` - // Role (slug) - Role *[]string `json:"role,omitempty"` + // Role Role (slug) + Role *[]string `form:"role,omitempty" json:"role,omitempty"` - // Role (ID) - RoleId *[]openapi_types.UUID `json:"role_id,omitempty"` + // RoleId Role (ID) + RoleId *[]openapi_types.UUID `form:"role_id,omitempty" json:"role_id,omitempty"` - // Site name (slug) - Site *[]string `json:"site,omitempty"` + // Site Site name (slug) + Site *[]string `form:"site,omitempty" json:"site,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // SiteId Site (ID) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` - // Tenant (slug) - Tenant *[]string `json:"tenant,omitempty"` + // Tenant Tenant (slug) + Tenant *[]string `form:"tenant,omitempty" json:"tenant,omitempty"` - // Tenant Group (slug) - TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + // TenantGroup Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` - // Tenant Group (ID) - TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` - // Tenant (ID) - TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + // TenantId Tenant (ID) + TenantId *[]openapi_types.UUID `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` } // PluginsGoldenConfigGoldenConfigBulkPartialUpdateJSONBody defines parameters for PluginsGoldenConfigGoldenConfigBulkPartialUpdate. -type PluginsGoldenConfigGoldenConfigBulkPartialUpdateJSONBody PatchedGoldenConfig - -// PluginsGoldenConfigGoldenConfigCreateJSONBody defines parameters for PluginsGoldenConfigGoldenConfigCreate. -type PluginsGoldenConfigGoldenConfigCreateJSONBody GoldenConfig +type PluginsGoldenConfigGoldenConfigBulkPartialUpdateJSONBody = []PatchedBulkWritableGoldenConfigRequest // PluginsGoldenConfigGoldenConfigBulkUpdateJSONBody defines parameters for PluginsGoldenConfigGoldenConfigBulkUpdate. -type PluginsGoldenConfigGoldenConfigBulkUpdateJSONBody GoldenConfig +type PluginsGoldenConfigGoldenConfigBulkUpdateJSONBody = []BulkWritableGoldenConfigRequest -// PluginsGoldenConfigGoldenConfigPartialUpdateJSONBody defines parameters for PluginsGoldenConfigGoldenConfigPartialUpdate. -type PluginsGoldenConfigGoldenConfigPartialUpdateJSONBody PatchedGoldenConfig - -// PluginsGoldenConfigGoldenConfigUpdateJSONBody defines parameters for PluginsGoldenConfigGoldenConfigUpdate. -type PluginsGoldenConfigGoldenConfigUpdateJSONBody GoldenConfig +// PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContactBulkDestroy. +type PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyJSONBody = []BulkOperationRequest // PluginsNautobotDeviceLifecycleMgmtContactListParams defines parameters for PluginsNautobotDeviceLifecycleMgmtContactList. type PluginsNautobotDeviceLifecycleMgmtContactListParams struct { - Address *string `json:"address,omitempty"` - Comments *string `json:"comments,omitempty"` - Contract *openapi_types.UUID `json:"contract,omitempty"` - Email *string `json:"email,omitempty"` + Address *[]string `form:"address,omitempty" json:"address,omitempty"` + AddressIc *[]string `form:"address__ic,omitempty" json:"address__ic,omitempty"` + AddressIe *[]string `form:"address__ie,omitempty" json:"address__ie,omitempty"` + AddressIew *[]string `form:"address__iew,omitempty" json:"address__iew,omitempty"` + AddressIre *[]string `form:"address__ire,omitempty" json:"address__ire,omitempty"` + AddressIsw *[]string `form:"address__isw,omitempty" json:"address__isw,omitempty"` + AddressN *[]string `form:"address__n,omitempty" json:"address__n,omitempty"` + AddressNic *[]string `form:"address__nic,omitempty" json:"address__nic,omitempty"` + AddressNie *[]string `form:"address__nie,omitempty" json:"address__nie,omitempty"` + AddressNiew *[]string `form:"address__niew,omitempty" json:"address__niew,omitempty"` + AddressNire *[]string `form:"address__nire,omitempty" json:"address__nire,omitempty"` + AddressNisw *[]string `form:"address__nisw,omitempty" json:"address__nisw,omitempty"` + AddressNre *[]string `form:"address__nre,omitempty" json:"address__nre,omitempty"` + AddressRe *[]string `form:"address__re,omitempty" json:"address__re,omitempty"` + Comments *[]string `form:"comments,omitempty" json:"comments,omitempty"` + CommentsIc *[]string `form:"comments__ic,omitempty" json:"comments__ic,omitempty"` + CommentsIe *[]string `form:"comments__ie,omitempty" json:"comments__ie,omitempty"` + CommentsIew *[]string `form:"comments__iew,omitempty" json:"comments__iew,omitempty"` + CommentsIre *[]string `form:"comments__ire,omitempty" json:"comments__ire,omitempty"` + CommentsIsw *[]string `form:"comments__isw,omitempty" json:"comments__isw,omitempty"` + CommentsN *[]string `form:"comments__n,omitempty" json:"comments__n,omitempty"` + CommentsNic *[]string `form:"comments__nic,omitempty" json:"comments__nic,omitempty"` + CommentsNie *[]string `form:"comments__nie,omitempty" json:"comments__nie,omitempty"` + CommentsNiew *[]string `form:"comments__niew,omitempty" json:"comments__niew,omitempty"` + CommentsNire *[]string `form:"comments__nire,omitempty" json:"comments__nire,omitempty"` + CommentsNisw *[]string `form:"comments__nisw,omitempty" json:"comments__nisw,omitempty"` + CommentsNre *[]string `form:"comments__nre,omitempty" json:"comments__nre,omitempty"` + CommentsRe *[]string `form:"comments__re,omitempty" json:"comments__re,omitempty"` + Contract *openapi_types.UUID `form:"contract,omitempty" json:"contract,omitempty"` + ContractN *openapi_types.UUID `form:"contract__n,omitempty" json:"contract__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Email *[]string `form:"email,omitempty" json:"email,omitempty"` + EmailIc *[]string `form:"email__ic,omitempty" json:"email__ic,omitempty"` + EmailIe *[]string `form:"email__ie,omitempty" json:"email__ie,omitempty"` + EmailIew *[]string `form:"email__iew,omitempty" json:"email__iew,omitempty"` + EmailIre *[]string `form:"email__ire,omitempty" json:"email__ire,omitempty"` + EmailIsw *[]string `form:"email__isw,omitempty" json:"email__isw,omitempty"` + EmailN *[]string `form:"email__n,omitempty" json:"email__n,omitempty"` + EmailNic *[]string `form:"email__nic,omitempty" json:"email__nic,omitempty"` + EmailNie *[]string `form:"email__nie,omitempty" json:"email__nie,omitempty"` + EmailNiew *[]string `form:"email__niew,omitempty" json:"email__niew,omitempty"` + EmailNire *[]string `form:"email__nire,omitempty" json:"email__nire,omitempty"` + EmailNisw *[]string `form:"email__nisw,omitempty" json:"email__nisw,omitempty"` + EmailNre *[]string `form:"email__nre,omitempty" json:"email__nre,omitempty"` + EmailRe *[]string `form:"email__re,omitempty" json:"email__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *string `json:"name,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` - Phone *string `json:"phone,omitempty"` - Priority *int `json:"priority,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + Phone *[]string `form:"phone,omitempty" json:"phone,omitempty"` + PhoneIc *[]string `form:"phone__ic,omitempty" json:"phone__ic,omitempty"` + PhoneIe *[]string `form:"phone__ie,omitempty" json:"phone__ie,omitempty"` + PhoneIew *[]string `form:"phone__iew,omitempty" json:"phone__iew,omitempty"` + PhoneIre *[]string `form:"phone__ire,omitempty" json:"phone__ire,omitempty"` + PhoneIsw *[]string `form:"phone__isw,omitempty" json:"phone__isw,omitempty"` + PhoneN *[]string `form:"phone__n,omitempty" json:"phone__n,omitempty"` + PhoneNic *[]string `form:"phone__nic,omitempty" json:"phone__nic,omitempty"` + PhoneNie *[]string `form:"phone__nie,omitempty" json:"phone__nie,omitempty"` + PhoneNiew *[]string `form:"phone__niew,omitempty" json:"phone__niew,omitempty"` + PhoneNire *[]string `form:"phone__nire,omitempty" json:"phone__nire,omitempty"` + PhoneNisw *[]string `form:"phone__nisw,omitempty" json:"phone__nisw,omitempty"` + PhoneNre *[]string `form:"phone__nre,omitempty" json:"phone__nre,omitempty"` + PhoneRe *[]string `form:"phone__re,omitempty" json:"phone__re,omitempty"` + Priority *[]int `form:"priority,omitempty" json:"priority,omitempty"` + PriorityGt *[]int `form:"priority__gt,omitempty" json:"priority__gt,omitempty"` + PriorityGte *[]int `form:"priority__gte,omitempty" json:"priority__gte,omitempty"` + PriorityLt *[]int `form:"priority__lt,omitempty" json:"priority__lt,omitempty"` + PriorityLte *[]int `form:"priority__lte,omitempty" json:"priority__lte,omitempty"` + PriorityN *[]int `form:"priority__n,omitempty" json:"priority__n,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Type *string `json:"type,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + TypeIc *[]string `form:"type__ic,omitempty" json:"type__ic,omitempty"` + TypeIe *[]string `form:"type__ie,omitempty" json:"type__ie,omitempty"` + TypeIew *[]string `form:"type__iew,omitempty" json:"type__iew,omitempty"` + TypeIre *[]string `form:"type__ire,omitempty" json:"type__ire,omitempty"` + TypeIsw *[]string `form:"type__isw,omitempty" json:"type__isw,omitempty"` + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + TypeNic *[]string `form:"type__nic,omitempty" json:"type__nic,omitempty"` + TypeNie *[]string `form:"type__nie,omitempty" json:"type__nie,omitempty"` + TypeNiew *[]string `form:"type__niew,omitempty" json:"type__niew,omitempty"` + TypeNire *[]string `form:"type__nire,omitempty" json:"type__nire,omitempty"` + TypeNisw *[]string `form:"type__nisw,omitempty" json:"type__nisw,omitempty"` + TypeNre *[]string `form:"type__nre,omitempty" json:"type__nre,omitempty"` + TypeRe *[]string `form:"type__re,omitempty" json:"type__re,omitempty"` } // PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdate. -type PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateJSONBody PatchedWritableContactLCM - -// PluginsNautobotDeviceLifecycleMgmtContactCreateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContactCreate. -type PluginsNautobotDeviceLifecycleMgmtContactCreateJSONBody WritableContactLCM +type PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateJSONBody = []PatchedBulkWritableContactLCMRequest // PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContactBulkUpdate. -type PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateJSONBody WritableContactLCM +type PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateJSONBody = []BulkWritableContactLCMRequest -// PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContactPartialUpdate. -type PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateJSONBody PatchedWritableContactLCM - -// PluginsNautobotDeviceLifecycleMgmtContactUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContactUpdate. -type PluginsNautobotDeviceLifecycleMgmtContactUpdateJSONBody WritableContactLCM +// PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContractBulkDestroy. +type PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyJSONBody = []BulkOperationRequest // PluginsNautobotDeviceLifecycleMgmtContractListParams defines parameters for PluginsNautobotDeviceLifecycleMgmtContractList. type PluginsNautobotDeviceLifecycleMgmtContractListParams struct { - ContractType *string `json:"contract_type,omitempty"` - Cost *float32 `json:"cost,omitempty"` - End *openapi_types.Date `json:"end,omitempty"` - EndGte *openapi_types.Date `json:"end__gte,omitempty"` - EndLte *openapi_types.Date `json:"end__lte,omitempty"` + ContractType *[]string `form:"contract_type,omitempty" json:"contract_type,omitempty"` + ContractTypeIc *[]string `form:"contract_type__ic,omitempty" json:"contract_type__ic,omitempty"` + ContractTypeIe *[]string `form:"contract_type__ie,omitempty" json:"contract_type__ie,omitempty"` + ContractTypeIew *[]string `form:"contract_type__iew,omitempty" json:"contract_type__iew,omitempty"` + ContractTypeIre *[]string `form:"contract_type__ire,omitempty" json:"contract_type__ire,omitempty"` + ContractTypeIsw *[]string `form:"contract_type__isw,omitempty" json:"contract_type__isw,omitempty"` + ContractTypeN *[]string `form:"contract_type__n,omitempty" json:"contract_type__n,omitempty"` + ContractTypeNic *[]string `form:"contract_type__nic,omitempty" json:"contract_type__nic,omitempty"` + ContractTypeNie *[]string `form:"contract_type__nie,omitempty" json:"contract_type__nie,omitempty"` + ContractTypeNiew *[]string `form:"contract_type__niew,omitempty" json:"contract_type__niew,omitempty"` + ContractTypeNire *[]string `form:"contract_type__nire,omitempty" json:"contract_type__nire,omitempty"` + ContractTypeNisw *[]string `form:"contract_type__nisw,omitempty" json:"contract_type__nisw,omitempty"` + ContractTypeNre *[]string `form:"contract_type__nre,omitempty" json:"contract_type__nre,omitempty"` + ContractTypeRe *[]string `form:"contract_type__re,omitempty" json:"contract_type__re,omitempty"` + Cost *[]float32 `form:"cost,omitempty" json:"cost,omitempty"` + CostGt *[]float32 `form:"cost__gt,omitempty" json:"cost__gt,omitempty"` + CostGte *[]float32 `form:"cost__gte,omitempty" json:"cost__gte,omitempty"` + CostLt *[]float32 `form:"cost__lt,omitempty" json:"cost__lt,omitempty"` + CostLte *[]float32 `form:"cost__lte,omitempty" json:"cost__lte,omitempty"` + CostN *[]float32 `form:"cost__n,omitempty" json:"cost__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + End *openapi_types.Date `form:"end,omitempty" json:"end,omitempty"` + EndGte *openapi_types.Date `form:"end__gte,omitempty" json:"end__gte,omitempty"` + EndLte *openapi_types.Date `form:"end__lte,omitempty" json:"end__lte,omitempty"` - // Expired - Expired *bool `json:"expired,omitempty"` + // Expired Expired + Expired *bool `form:"expired,omitempty" json:"expired,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *string `json:"name,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Provider - Provider *[]string `json:"provider,omitempty"` + // Provider Provider + Provider *[]openapi_types.UUID `form:"provider,omitempty" json:"provider,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Start *openapi_types.Date `json:"start,omitempty"` - StartGte *openapi_types.Date `json:"start__gte,omitempty"` - StartLte *openapi_types.Date `json:"start__lte,omitempty"` - SupportLevel *string `json:"support_level,omitempty"` + // ProviderN Provider + ProviderN *[]openapi_types.UUID `form:"provider__n,omitempty" json:"provider__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Start *openapi_types.Date `form:"start,omitempty" json:"start,omitempty"` + StartGte *openapi_types.Date `form:"start__gte,omitempty" json:"start__gte,omitempty"` + StartLte *openapi_types.Date `form:"start__lte,omitempty" json:"start__lte,omitempty"` + SupportLevel *[]string `form:"support_level,omitempty" json:"support_level,omitempty"` + SupportLevelIc *[]string `form:"support_level__ic,omitempty" json:"support_level__ic,omitempty"` + SupportLevelIe *[]string `form:"support_level__ie,omitempty" json:"support_level__ie,omitempty"` + SupportLevelIew *[]string `form:"support_level__iew,omitempty" json:"support_level__iew,omitempty"` + SupportLevelIre *[]string `form:"support_level__ire,omitempty" json:"support_level__ire,omitempty"` + SupportLevelIsw *[]string `form:"support_level__isw,omitempty" json:"support_level__isw,omitempty"` + SupportLevelN *[]string `form:"support_level__n,omitempty" json:"support_level__n,omitempty"` + SupportLevelNic *[]string `form:"support_level__nic,omitempty" json:"support_level__nic,omitempty"` + SupportLevelNie *[]string `form:"support_level__nie,omitempty" json:"support_level__nie,omitempty"` + SupportLevelNiew *[]string `form:"support_level__niew,omitempty" json:"support_level__niew,omitempty"` + SupportLevelNire *[]string `form:"support_level__nire,omitempty" json:"support_level__nire,omitempty"` + SupportLevelNisw *[]string `form:"support_level__nisw,omitempty" json:"support_level__nisw,omitempty"` + SupportLevelNre *[]string `form:"support_level__nre,omitempty" json:"support_level__nre,omitempty"` + SupportLevelRe *[]string `form:"support_level__re,omitempty" json:"support_level__re,omitempty"` } // PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdate. -type PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateJSONBody PatchedWritableContractLCM - -// PluginsNautobotDeviceLifecycleMgmtContractCreateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContractCreate. -type PluginsNautobotDeviceLifecycleMgmtContractCreateJSONBody WritableContractLCM +type PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateJSONBody = []PatchedBulkWritableContractLCMRequest // PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContractBulkUpdate. -type PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateJSONBody WritableContractLCM +type PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateJSONBody = []BulkWritableContractLCMRequest -// PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContractPartialUpdate. -type PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateJSONBody PatchedWritableContractLCM - -// PluginsNautobotDeviceLifecycleMgmtContractUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtContractUpdate. -type PluginsNautobotDeviceLifecycleMgmtContractUpdateJSONBody WritableContractLCM +// PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtCveBulkDestroy. +type PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyJSONBody = []BulkOperationRequest // PluginsNautobotDeviceLifecycleMgmtCveListParams defines parameters for PluginsNautobotDeviceLifecycleMgmtCveList. type PluginsNautobotDeviceLifecycleMgmtCveListParams struct { - Comments *string `json:"comments,omitempty"` - Cvss *float32 `json:"cvss,omitempty"` - CvssGte *float32 `json:"cvss__gte,omitempty"` - CvssLte *float32 `json:"cvss__lte,omitempty"` - CvssV2 *float32 `json:"cvss_v2,omitempty"` - CvssV2Gte *float32 `json:"cvss_v2__gte,omitempty"` - CvssV2Lte *float32 `json:"cvss_v2__lte,omitempty"` - CvssV3 *float32 `json:"cvss_v3,omitempty"` - CvssV3Gte *float32 `json:"cvss_v3__gte,omitempty"` - CvssV3Lte *float32 `json:"cvss_v3__lte,omitempty"` - Description *string `json:"description,omitempty"` - ExcludeStatus *[]openapi_types.UUID `json:"exclude_status,omitempty"` - Fix *string `json:"fix,omitempty"` + Comments *[]string `form:"comments,omitempty" json:"comments,omitempty"` + CommentsIc *[]string `form:"comments__ic,omitempty" json:"comments__ic,omitempty"` + CommentsIe *[]string `form:"comments__ie,omitempty" json:"comments__ie,omitempty"` + CommentsIew *[]string `form:"comments__iew,omitempty" json:"comments__iew,omitempty"` + CommentsIre *[]string `form:"comments__ire,omitempty" json:"comments__ire,omitempty"` + CommentsIsw *[]string `form:"comments__isw,omitempty" json:"comments__isw,omitempty"` + CommentsN *[]string `form:"comments__n,omitempty" json:"comments__n,omitempty"` + CommentsNic *[]string `form:"comments__nic,omitempty" json:"comments__nic,omitempty"` + CommentsNie *[]string `form:"comments__nie,omitempty" json:"comments__nie,omitempty"` + CommentsNiew *[]string `form:"comments__niew,omitempty" json:"comments__niew,omitempty"` + CommentsNire *[]string `form:"comments__nire,omitempty" json:"comments__nire,omitempty"` + CommentsNisw *[]string `form:"comments__nisw,omitempty" json:"comments__nisw,omitempty"` + CommentsNre *[]string `form:"comments__nre,omitempty" json:"comments__nre,omitempty"` + CommentsRe *[]string `form:"comments__re,omitempty" json:"comments__re,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Cvss *[]float32 `form:"cvss,omitempty" json:"cvss,omitempty"` + CvssGt *[]float32 `form:"cvss__gt,omitempty" json:"cvss__gt,omitempty"` + CvssGte *[]float32 `form:"cvss__gte,omitempty" json:"cvss__gte,omitempty"` + CvssLt *[]float32 `form:"cvss__lt,omitempty" json:"cvss__lt,omitempty"` + CvssLte *[]float32 `form:"cvss__lte,omitempty" json:"cvss__lte,omitempty"` + CvssN *[]float32 `form:"cvss__n,omitempty" json:"cvss__n,omitempty"` + CvssV2 *[]float32 `form:"cvss_v2,omitempty" json:"cvss_v2,omitempty"` + CvssV2Gt *[]float32 `form:"cvss_v2__gt,omitempty" json:"cvss_v2__gt,omitempty"` + CvssV2Gte *[]float32 `form:"cvss_v2__gte,omitempty" json:"cvss_v2__gte,omitempty"` + CvssV2Lt *[]float32 `form:"cvss_v2__lt,omitempty" json:"cvss_v2__lt,omitempty"` + CvssV2Lte *[]float32 `form:"cvss_v2__lte,omitempty" json:"cvss_v2__lte,omitempty"` + CvssV2N *[]float32 `form:"cvss_v2__n,omitempty" json:"cvss_v2__n,omitempty"` + CvssV3 *[]float32 `form:"cvss_v3,omitempty" json:"cvss_v3,omitempty"` + CvssV3Gt *[]float32 `form:"cvss_v3__gt,omitempty" json:"cvss_v3__gt,omitempty"` + CvssV3Gte *[]float32 `form:"cvss_v3__gte,omitempty" json:"cvss_v3__gte,omitempty"` + CvssV3Lt *[]float32 `form:"cvss_v3__lt,omitempty" json:"cvss_v3__lt,omitempty"` + CvssV3Lte *[]float32 `form:"cvss_v3__lte,omitempty" json:"cvss_v3__lte,omitempty"` + CvssV3N *[]float32 `form:"cvss_v3__n,omitempty" json:"cvss_v3__n,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + ExcludeStatus *[]openapi_types.UUID `form:"exclude_status,omitempty" json:"exclude_status,omitempty"` + ExcludeStatusN *[]openapi_types.UUID `form:"exclude_status__n,omitempty" json:"exclude_status__n,omitempty"` + Fix *[]string `form:"fix,omitempty" json:"fix,omitempty"` + FixIc *[]string `form:"fix__ic,omitempty" json:"fix__ic,omitempty"` + FixIe *[]string `form:"fix__ie,omitempty" json:"fix__ie,omitempty"` + FixIew *[]string `form:"fix__iew,omitempty" json:"fix__iew,omitempty"` + FixIre *[]string `form:"fix__ire,omitempty" json:"fix__ire,omitempty"` + FixIsw *[]string `form:"fix__isw,omitempty" json:"fix__isw,omitempty"` + FixN *[]string `form:"fix__n,omitempty" json:"fix__n,omitempty"` + FixNic *[]string `form:"fix__nic,omitempty" json:"fix__nic,omitempty"` + FixNie *[]string `form:"fix__nie,omitempty" json:"fix__nie,omitempty"` + FixNiew *[]string `form:"fix__niew,omitempty" json:"fix__niew,omitempty"` + FixNire *[]string `form:"fix__nire,omitempty" json:"fix__nire,omitempty"` + FixNisw *[]string `form:"fix__nisw,omitempty" json:"fix__nisw,omitempty"` + FixNre *[]string `form:"fix__nre,omitempty" json:"fix__nre,omitempty"` + FixRe *[]string `form:"fix__re,omitempty" json:"fix__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Link *string `json:"link,omitempty"` - Name *string `json:"name,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Link *[]string `form:"link,omitempty" json:"link,omitempty"` + LinkIc *[]string `form:"link__ic,omitempty" json:"link__ic,omitempty"` + LinkIe *[]string `form:"link__ie,omitempty" json:"link__ie,omitempty"` + LinkIew *[]string `form:"link__iew,omitempty" json:"link__iew,omitempty"` + LinkIre *[]string `form:"link__ire,omitempty" json:"link__ire,omitempty"` + LinkIsw *[]string `form:"link__isw,omitempty" json:"link__isw,omitempty"` + LinkN *[]string `form:"link__n,omitempty" json:"link__n,omitempty"` + LinkNic *[]string `form:"link__nic,omitempty" json:"link__nic,omitempty"` + LinkNie *[]string `form:"link__nie,omitempty" json:"link__nie,omitempty"` + LinkNiew *[]string `form:"link__niew,omitempty" json:"link__niew,omitempty"` + LinkNire *[]string `form:"link__nire,omitempty" json:"link__nire,omitempty"` + LinkNisw *[]string `form:"link__nisw,omitempty" json:"link__nisw,omitempty"` + LinkNre *[]string `form:"link__nre,omitempty" json:"link__nre,omitempty"` + LinkRe *[]string `form:"link__re,omitempty" json:"link__re,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` - PublishedDateGte *openapi_types.Date `json:"published_date__gte,omitempty"` - PublishedDateLte *openapi_types.Date `json:"published_date__lte,omitempty"` - PublishedDateAfter *time.Time `json:"published_date_after,omitempty"` - PublishedDateBefore *time.Time `json:"published_date_before,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + PublishedDateGte *openapi_types.Date `form:"published_date__gte,omitempty" json:"published_date__gte,omitempty"` + PublishedDateLte *openapi_types.Date `form:"published_date__lte,omitempty" json:"published_date__lte,omitempty"` + PublishedDateAfter *time.Time `form:"published_date_after,omitempty" json:"published_date_after,omitempty"` + PublishedDateBefore *time.Time `form:"published_date_before,omitempty" json:"published_date_before,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Severity *string `json:"severity,omitempty"` - Status *[]openapi_types.UUID `json:"status,omitempty"` - Tag *[]string `json:"tag,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Severity *string `form:"severity,omitempty" json:"severity,omitempty"` + SeverityN *string `form:"severity__n,omitempty" json:"severity__n,omitempty"` + Status *[]openapi_types.UUID `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]openapi_types.UUID `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` } // PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdate. -type PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateJSONBody PatchedCVELCM - -// PluginsNautobotDeviceLifecycleMgmtCveCreateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtCveCreate. -type PluginsNautobotDeviceLifecycleMgmtCveCreateJSONBody CVELCM +type PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateJSONBody = []PatchedBulkWritableCVELCMRequest // PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtCveBulkUpdate. -type PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateJSONBody CVELCM +type PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateJSONBody = []BulkWritableCVELCMRequest -// PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtCvePartialUpdate. -type PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateJSONBody PatchedCVELCM - -// PluginsNautobotDeviceLifecycleMgmtCveUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtCveUpdate. -type PluginsNautobotDeviceLifecycleMgmtCveUpdateJSONBody CVELCM +// PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroy. +type PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyJSONBody = []BulkOperationRequest // PluginsNautobotDeviceLifecycleMgmtHardwareListParams defines parameters for PluginsNautobotDeviceLifecycleMgmtHardwareList. type PluginsNautobotDeviceLifecycleMgmtHardwareListParams struct { - // Device Type (Slug) - DeviceType *[]string `json:"device_type,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` - // Device Type - DeviceTypeId *[]openapi_types.UUID `json:"device_type_id,omitempty"` - DocumentationUrl *string `json:"documentation_url,omitempty"` - EndOfSale *openapi_types.Date `json:"end_of_sale,omitempty"` - EndOfSaleGte *openapi_types.Date `json:"end_of_sale__gte,omitempty"` - EndOfSaleLte *openapi_types.Date `json:"end_of_sale__lte,omitempty"` - EndOfSecurityPatches *openapi_types.Date `json:"end_of_security_patches,omitempty"` - EndOfSecurityPatchesGte *openapi_types.Date `json:"end_of_security_patches__gte,omitempty"` - EndOfSecurityPatchesLte *openapi_types.Date `json:"end_of_security_patches__lte,omitempty"` - EndOfSupport *openapi_types.Date `json:"end_of_support,omitempty"` - EndOfSupportGte *openapi_types.Date `json:"end_of_support__gte,omitempty"` - EndOfSupportLte *openapi_types.Date `json:"end_of_support__lte,omitempty"` - EndOfSwReleases *openapi_types.Date `json:"end_of_sw_releases,omitempty"` - EndOfSwReleasesGte *openapi_types.Date `json:"end_of_sw_releases__gte,omitempty"` - EndOfSwReleasesLte *openapi_types.Date `json:"end_of_sw_releases__lte,omitempty"` + // DeviceType Device Type (Slug) + DeviceType *[]string `form:"device_type,omitempty" json:"device_type,omitempty"` - // Expired - Expired *bool `json:"expired,omitempty"` + // DeviceTypeN Device Type (Slug) + DeviceTypeN *[]string `form:"device_type__n,omitempty" json:"device_type__n,omitempty"` - // Inventory Part ID - InventoryItem *[]string `json:"inventory_item,omitempty"` + // DeviceTypeId Device Type + DeviceTypeId *[]openapi_types.UUID `form:"device_type_id,omitempty" json:"device_type_id,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // DeviceTypeIdN Device Type + DeviceTypeIdN *[]openapi_types.UUID `form:"device_type_id__n,omitempty" json:"device_type_id__n,omitempty"` + DocumentationUrl *string `form:"documentation_url,omitempty" json:"documentation_url,omitempty"` + EndOfSale *openapi_types.Date `form:"end_of_sale,omitempty" json:"end_of_sale,omitempty"` + EndOfSaleGte *openapi_types.Date `form:"end_of_sale__gte,omitempty" json:"end_of_sale__gte,omitempty"` + EndOfSaleLte *openapi_types.Date `form:"end_of_sale__lte,omitempty" json:"end_of_sale__lte,omitempty"` + EndOfSecurityPatches *openapi_types.Date `form:"end_of_security_patches,omitempty" json:"end_of_security_patches,omitempty"` + EndOfSecurityPatchesGte *openapi_types.Date `form:"end_of_security_patches__gte,omitempty" json:"end_of_security_patches__gte,omitempty"` + EndOfSecurityPatchesLte *openapi_types.Date `form:"end_of_security_patches__lte,omitempty" json:"end_of_security_patches__lte,omitempty"` + EndOfSupport *openapi_types.Date `form:"end_of_support,omitempty" json:"end_of_support,omitempty"` + EndOfSupportGte *openapi_types.Date `form:"end_of_support__gte,omitempty" json:"end_of_support__gte,omitempty"` + EndOfSupportLte *openapi_types.Date `form:"end_of_support__lte,omitempty" json:"end_of_support__lte,omitempty"` + EndOfSwReleases *openapi_types.Date `form:"end_of_sw_releases,omitempty" json:"end_of_sw_releases,omitempty"` + EndOfSwReleasesGte *openapi_types.Date `form:"end_of_sw_releases__gte,omitempty" json:"end_of_sw_releases__gte,omitempty"` + EndOfSwReleasesLte *openapi_types.Date `form:"end_of_sw_releases__lte,omitempty" json:"end_of_sw_releases__lte,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Expired Expired + Expired *bool `form:"expired,omitempty" json:"expired,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // InventoryItem Inventory Part ID + InventoryItem *[]string `form:"inventory_item,omitempty" json:"inventory_item,omitempty"` + + // InventoryItemN Inventory Part ID + InventoryItemN *[]string `form:"inventory_item__n,omitempty" json:"inventory_item__n,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` } // PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdate. -type PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateJSONBody PatchedWritableHardwareLCM - -// PluginsNautobotDeviceLifecycleMgmtHardwareCreateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtHardwareCreate. -type PluginsNautobotDeviceLifecycleMgmtHardwareCreateJSONBody WritableHardwareLCM +type PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateJSONBody = []PatchedBulkWritableHardwareLCMRequest // PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdate. -type PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateJSONBody WritableHardwareLCM +type PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateJSONBody = []BulkWritableHardwareLCMRequest -// PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdate. -type PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateJSONBody PatchedWritableHardwareLCM - -// PluginsNautobotDeviceLifecycleMgmtHardwareUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtHardwareUpdate. -type PluginsNautobotDeviceLifecycleMgmtHardwareUpdateJSONBody WritableHardwareLCM +// PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroy. +type PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyJSONBody = []BulkOperationRequest // PluginsNautobotDeviceLifecycleMgmtProviderListParams defines parameters for PluginsNautobotDeviceLifecycleMgmtProviderList. type PluginsNautobotDeviceLifecycleMgmtProviderListParams struct { - Comments *string `json:"comments,omitempty"` - Country *string `json:"country,omitempty"` - Description *string `json:"description,omitempty"` - Email *string `json:"email,omitempty"` + Comments *[]string `form:"comments,omitempty" json:"comments,omitempty"` + CommentsIc *[]string `form:"comments__ic,omitempty" json:"comments__ic,omitempty"` + CommentsIe *[]string `form:"comments__ie,omitempty" json:"comments__ie,omitempty"` + CommentsIew *[]string `form:"comments__iew,omitempty" json:"comments__iew,omitempty"` + CommentsIre *[]string `form:"comments__ire,omitempty" json:"comments__ire,omitempty"` + CommentsIsw *[]string `form:"comments__isw,omitempty" json:"comments__isw,omitempty"` + CommentsN *[]string `form:"comments__n,omitempty" json:"comments__n,omitempty"` + CommentsNic *[]string `form:"comments__nic,omitempty" json:"comments__nic,omitempty"` + CommentsNie *[]string `form:"comments__nie,omitempty" json:"comments__nie,omitempty"` + CommentsNiew *[]string `form:"comments__niew,omitempty" json:"comments__niew,omitempty"` + CommentsNire *[]string `form:"comments__nire,omitempty" json:"comments__nire,omitempty"` + CommentsNisw *[]string `form:"comments__nisw,omitempty" json:"comments__nisw,omitempty"` + CommentsNre *[]string `form:"comments__nre,omitempty" json:"comments__nre,omitempty"` + CommentsRe *[]string `form:"comments__re,omitempty" json:"comments__re,omitempty"` + Country *[]string `form:"country,omitempty" json:"country,omitempty"` + CountryIc *[]string `form:"country__ic,omitempty" json:"country__ic,omitempty"` + CountryIe *[]string `form:"country__ie,omitempty" json:"country__ie,omitempty"` + CountryIew *[]string `form:"country__iew,omitempty" json:"country__iew,omitempty"` + CountryIre *[]string `form:"country__ire,omitempty" json:"country__ire,omitempty"` + CountryIsw *[]string `form:"country__isw,omitempty" json:"country__isw,omitempty"` + CountryN *[]string `form:"country__n,omitempty" json:"country__n,omitempty"` + CountryNic *[]string `form:"country__nic,omitempty" json:"country__nic,omitempty"` + CountryNie *[]string `form:"country__nie,omitempty" json:"country__nie,omitempty"` + CountryNiew *[]string `form:"country__niew,omitempty" json:"country__niew,omitempty"` + CountryNire *[]string `form:"country__nire,omitempty" json:"country__nire,omitempty"` + CountryNisw *[]string `form:"country__nisw,omitempty" json:"country__nisw,omitempty"` + CountryNre *[]string `form:"country__nre,omitempty" json:"country__nre,omitempty"` + CountryRe *[]string `form:"country__re,omitempty" json:"country__re,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Email *[]string `form:"email,omitempty" json:"email,omitempty"` + EmailIc *[]string `form:"email__ic,omitempty" json:"email__ic,omitempty"` + EmailIe *[]string `form:"email__ie,omitempty" json:"email__ie,omitempty"` + EmailIew *[]string `form:"email__iew,omitempty" json:"email__iew,omitempty"` + EmailIre *[]string `form:"email__ire,omitempty" json:"email__ire,omitempty"` + EmailIsw *[]string `form:"email__isw,omitempty" json:"email__isw,omitempty"` + EmailN *[]string `form:"email__n,omitempty" json:"email__n,omitempty"` + EmailNic *[]string `form:"email__nic,omitempty" json:"email__nic,omitempty"` + EmailNie *[]string `form:"email__nie,omitempty" json:"email__nie,omitempty"` + EmailNiew *[]string `form:"email__niew,omitempty" json:"email__niew,omitempty"` + EmailNire *[]string `form:"email__nire,omitempty" json:"email__nire,omitempty"` + EmailNisw *[]string `form:"email__nisw,omitempty" json:"email__nisw,omitempty"` + EmailNre *[]string `form:"email__nre,omitempty" json:"email__nre,omitempty"` + EmailRe *[]string `form:"email__re,omitempty" json:"email__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *string `json:"name,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` - Phone *string `json:"phone,omitempty"` - PhysicalAddress *string `json:"physical_address,omitempty"` - PortalUrl *string `json:"portal_url,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + Phone *[]string `form:"phone,omitempty" json:"phone,omitempty"` + PhoneIc *[]string `form:"phone__ic,omitempty" json:"phone__ic,omitempty"` + PhoneIe *[]string `form:"phone__ie,omitempty" json:"phone__ie,omitempty"` + PhoneIew *[]string `form:"phone__iew,omitempty" json:"phone__iew,omitempty"` + PhoneIre *[]string `form:"phone__ire,omitempty" json:"phone__ire,omitempty"` + PhoneIsw *[]string `form:"phone__isw,omitempty" json:"phone__isw,omitempty"` + PhoneN *[]string `form:"phone__n,omitempty" json:"phone__n,omitempty"` + PhoneNic *[]string `form:"phone__nic,omitempty" json:"phone__nic,omitempty"` + PhoneNie *[]string `form:"phone__nie,omitempty" json:"phone__nie,omitempty"` + PhoneNiew *[]string `form:"phone__niew,omitempty" json:"phone__niew,omitempty"` + PhoneNire *[]string `form:"phone__nire,omitempty" json:"phone__nire,omitempty"` + PhoneNisw *[]string `form:"phone__nisw,omitempty" json:"phone__nisw,omitempty"` + PhoneNre *[]string `form:"phone__nre,omitempty" json:"phone__nre,omitempty"` + PhoneRe *[]string `form:"phone__re,omitempty" json:"phone__re,omitempty"` + PhysicalAddress *[]string `form:"physical_address,omitempty" json:"physical_address,omitempty"` + PhysicalAddressIc *[]string `form:"physical_address__ic,omitempty" json:"physical_address__ic,omitempty"` + PhysicalAddressIe *[]string `form:"physical_address__ie,omitempty" json:"physical_address__ie,omitempty"` + PhysicalAddressIew *[]string `form:"physical_address__iew,omitempty" json:"physical_address__iew,omitempty"` + PhysicalAddressIre *[]string `form:"physical_address__ire,omitempty" json:"physical_address__ire,omitempty"` + PhysicalAddressIsw *[]string `form:"physical_address__isw,omitempty" json:"physical_address__isw,omitempty"` + PhysicalAddressN *[]string `form:"physical_address__n,omitempty" json:"physical_address__n,omitempty"` + PhysicalAddressNic *[]string `form:"physical_address__nic,omitempty" json:"physical_address__nic,omitempty"` + PhysicalAddressNie *[]string `form:"physical_address__nie,omitempty" json:"physical_address__nie,omitempty"` + PhysicalAddressNiew *[]string `form:"physical_address__niew,omitempty" json:"physical_address__niew,omitempty"` + PhysicalAddressNire *[]string `form:"physical_address__nire,omitempty" json:"physical_address__nire,omitempty"` + PhysicalAddressNisw *[]string `form:"physical_address__nisw,omitempty" json:"physical_address__nisw,omitempty"` + PhysicalAddressNre *[]string `form:"physical_address__nre,omitempty" json:"physical_address__nre,omitempty"` + PhysicalAddressRe *[]string `form:"physical_address__re,omitempty" json:"physical_address__re,omitempty"` + PortalUrl *[]string `form:"portal_url,omitempty" json:"portal_url,omitempty"` + PortalUrlIc *[]string `form:"portal_url__ic,omitempty" json:"portal_url__ic,omitempty"` + PortalUrlIe *[]string `form:"portal_url__ie,omitempty" json:"portal_url__ie,omitempty"` + PortalUrlIew *[]string `form:"portal_url__iew,omitempty" json:"portal_url__iew,omitempty"` + PortalUrlIre *[]string `form:"portal_url__ire,omitempty" json:"portal_url__ire,omitempty"` + PortalUrlIsw *[]string `form:"portal_url__isw,omitempty" json:"portal_url__isw,omitempty"` + PortalUrlN *[]string `form:"portal_url__n,omitempty" json:"portal_url__n,omitempty"` + PortalUrlNic *[]string `form:"portal_url__nic,omitempty" json:"portal_url__nic,omitempty"` + PortalUrlNie *[]string `form:"portal_url__nie,omitempty" json:"portal_url__nie,omitempty"` + PortalUrlNiew *[]string `form:"portal_url__niew,omitempty" json:"portal_url__niew,omitempty"` + PortalUrlNire *[]string `form:"portal_url__nire,omitempty" json:"portal_url__nire,omitempty"` + PortalUrlNisw *[]string `form:"portal_url__nisw,omitempty" json:"portal_url__nisw,omitempty"` + PortalUrlNre *[]string `form:"portal_url__nre,omitempty" json:"portal_url__nre,omitempty"` + PortalUrlRe *[]string `form:"portal_url__re,omitempty" json:"portal_url__re,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` } // PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdate. -type PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateJSONBody PatchedProviderLCM - -// PluginsNautobotDeviceLifecycleMgmtProviderCreateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtProviderCreate. -type PluginsNautobotDeviceLifecycleMgmtProviderCreateJSONBody ProviderLCM +type PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateJSONBody = []PatchedBulkWritableProviderLCMRequest // PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdate. -type PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateJSONBody ProviderLCM +type PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateJSONBody = []BulkWritableProviderLCMRequest -// PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdate. -type PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateJSONBody PatchedProviderLCM - -// PluginsNautobotDeviceLifecycleMgmtProviderUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtProviderUpdate. -type PluginsNautobotDeviceLifecycleMgmtProviderUpdateJSONBody ProviderLCM +// PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroy. +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyJSONBody = []BulkOperationRequest // PluginsNautobotDeviceLifecycleMgmtSoftwareImageListParams defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareImageList. type PluginsNautobotDeviceLifecycleMgmtSoftwareImageListParams struct { - DefaultImage *bool `json:"default_image,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + DefaultImage *bool `form:"default_image,omitempty" json:"default_image,omitempty"` - // Device ID - DeviceId *string `json:"device_id,omitempty"` + // DeviceId Device ID + DeviceId *string `form:"device_id,omitempty" json:"device_id,omitempty"` - // Device Name - DeviceName *string `json:"device_name,omitempty"` + // DeviceName Device Name + DeviceName *string `form:"device_name,omitempty" json:"device_name,omitempty"` - // Device Types (model) - DeviceTypes *[]string `json:"device_types,omitempty"` + // DeviceTypes Device Types (model) + DeviceTypes *[]string `form:"device_types,omitempty" json:"device_types,omitempty"` - // Device Types - DeviceTypesId *[]openapi_types.UUID `json:"device_types_id,omitempty"` - DownloadUrl *string `json:"download_url,omitempty"` - ImageFileChecksum *string `json:"image_file_checksum,omitempty"` - ImageFileName *string `json:"image_file_name,omitempty"` + // DeviceTypesN Device Types (model) + DeviceTypesN *[]string `form:"device_types__n,omitempty" json:"device_types__n,omitempty"` - // InventoryItem ID - InventoryItemId *string `json:"inventory_item_id,omitempty"` + // DeviceTypesId Device Types + DeviceTypesId *[]openapi_types.UUID `form:"device_types_id,omitempty" json:"device_types_id,omitempty"` - // Inventory Items (name) - InventoryItems *[]openapi_types.UUID `json:"inventory_items,omitempty"` + // DeviceTypesIdN Device Types + DeviceTypesIdN *[]openapi_types.UUID `form:"device_types_id__n,omitempty" json:"device_types_id__n,omitempty"` + DownloadUrl *[]string `form:"download_url,omitempty" json:"download_url,omitempty"` + DownloadUrlIc *[]string `form:"download_url__ic,omitempty" json:"download_url__ic,omitempty"` + DownloadUrlIe *[]string `form:"download_url__ie,omitempty" json:"download_url__ie,omitempty"` + DownloadUrlIew *[]string `form:"download_url__iew,omitempty" json:"download_url__iew,omitempty"` + DownloadUrlIre *[]string `form:"download_url__ire,omitempty" json:"download_url__ire,omitempty"` + DownloadUrlIsw *[]string `form:"download_url__isw,omitempty" json:"download_url__isw,omitempty"` + DownloadUrlN *[]string `form:"download_url__n,omitempty" json:"download_url__n,omitempty"` + DownloadUrlNic *[]string `form:"download_url__nic,omitempty" json:"download_url__nic,omitempty"` + DownloadUrlNie *[]string `form:"download_url__nie,omitempty" json:"download_url__nie,omitempty"` + DownloadUrlNiew *[]string `form:"download_url__niew,omitempty" json:"download_url__niew,omitempty"` + DownloadUrlNire *[]string `form:"download_url__nire,omitempty" json:"download_url__nire,omitempty"` + DownloadUrlNisw *[]string `form:"download_url__nisw,omitempty" json:"download_url__nisw,omitempty"` + DownloadUrlNre *[]string `form:"download_url__nre,omitempty" json:"download_url__nre,omitempty"` + DownloadUrlRe *[]string `form:"download_url__re,omitempty" json:"download_url__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + ImageFileChecksum *[]string `form:"image_file_checksum,omitempty" json:"image_file_checksum,omitempty"` + ImageFileChecksumIc *[]string `form:"image_file_checksum__ic,omitempty" json:"image_file_checksum__ic,omitempty"` + ImageFileChecksumIe *[]string `form:"image_file_checksum__ie,omitempty" json:"image_file_checksum__ie,omitempty"` + ImageFileChecksumIew *[]string `form:"image_file_checksum__iew,omitempty" json:"image_file_checksum__iew,omitempty"` + ImageFileChecksumIre *[]string `form:"image_file_checksum__ire,omitempty" json:"image_file_checksum__ire,omitempty"` + ImageFileChecksumIsw *[]string `form:"image_file_checksum__isw,omitempty" json:"image_file_checksum__isw,omitempty"` + ImageFileChecksumN *[]string `form:"image_file_checksum__n,omitempty" json:"image_file_checksum__n,omitempty"` + ImageFileChecksumNic *[]string `form:"image_file_checksum__nic,omitempty" json:"image_file_checksum__nic,omitempty"` + ImageFileChecksumNie *[]string `form:"image_file_checksum__nie,omitempty" json:"image_file_checksum__nie,omitempty"` + ImageFileChecksumNiew *[]string `form:"image_file_checksum__niew,omitempty" json:"image_file_checksum__niew,omitempty"` + ImageFileChecksumNire *[]string `form:"image_file_checksum__nire,omitempty" json:"image_file_checksum__nire,omitempty"` + ImageFileChecksumNisw *[]string `form:"image_file_checksum__nisw,omitempty" json:"image_file_checksum__nisw,omitempty"` + ImageFileChecksumNre *[]string `form:"image_file_checksum__nre,omitempty" json:"image_file_checksum__nre,omitempty"` + ImageFileChecksumRe *[]string `form:"image_file_checksum__re,omitempty" json:"image_file_checksum__re,omitempty"` + ImageFileName *[]string `form:"image_file_name,omitempty" json:"image_file_name,omitempty"` + ImageFileNameIc *[]string `form:"image_file_name__ic,omitempty" json:"image_file_name__ic,omitempty"` + ImageFileNameIe *[]string `form:"image_file_name__ie,omitempty" json:"image_file_name__ie,omitempty"` + ImageFileNameIew *[]string `form:"image_file_name__iew,omitempty" json:"image_file_name__iew,omitempty"` + ImageFileNameIre *[]string `form:"image_file_name__ire,omitempty" json:"image_file_name__ire,omitempty"` + ImageFileNameIsw *[]string `form:"image_file_name__isw,omitempty" json:"image_file_name__isw,omitempty"` + ImageFileNameN *[]string `form:"image_file_name__n,omitempty" json:"image_file_name__n,omitempty"` + ImageFileNameNic *[]string `form:"image_file_name__nic,omitempty" json:"image_file_name__nic,omitempty"` + ImageFileNameNie *[]string `form:"image_file_name__nie,omitempty" json:"image_file_name__nie,omitempty"` + ImageFileNameNiew *[]string `form:"image_file_name__niew,omitempty" json:"image_file_name__niew,omitempty"` + ImageFileNameNire *[]string `form:"image_file_name__nire,omitempty" json:"image_file_name__nire,omitempty"` + ImageFileNameNisw *[]string `form:"image_file_name__nisw,omitempty" json:"image_file_name__nisw,omitempty"` + ImageFileNameNre *[]string `form:"image_file_name__nre,omitempty" json:"image_file_name__nre,omitempty"` + ImageFileNameRe *[]string `form:"image_file_name__re,omitempty" json:"image_file_name__re,omitempty"` - // Inventory Items - InventoryItemsId *[]openapi_types.UUID `json:"inventory_items_id,omitempty"` + // InventoryItemId InventoryItem ID + InventoryItemId *string `form:"inventory_item_id,omitempty" json:"inventory_item_id,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // InventoryItems Inventory Items (name) + InventoryItems *[]openapi_types.UUID `form:"inventory_items,omitempty" json:"inventory_items,omitempty"` - // Object Tags (slug) - ObjectTags *[]string `json:"object_tags,omitempty"` + // InventoryItemsN Inventory Items (name) + InventoryItemsN *[]openapi_types.UUID `form:"inventory_items__n,omitempty" json:"inventory_items__n,omitempty"` - // Object Tags - ObjectTagsId *[]openapi_types.UUID `json:"object_tags_id,omitempty"` + // InventoryItemsId Inventory Items + InventoryItemsId *[]openapi_types.UUID `form:"inventory_items_id,omitempty" json:"inventory_items_id,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // InventoryItemsIdN Inventory Items + InventoryItemsIdN *[]openapi_types.UUID `form:"inventory_items_id__n,omitempty" json:"inventory_items_id__n,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // Software - Software *[]openapi_types.UUID `json:"software,omitempty"` + // ObjectTags Object Tags (slug) + ObjectTags *[]string `form:"object_tags,omitempty" json:"object_tags,omitempty"` - // Software (version) - SoftwareVersion *[]string `json:"software_version,omitempty"` + // ObjectTagsN Object Tags (slug) + ObjectTagsN *[]string `form:"object_tags__n,omitempty" json:"object_tags__n,omitempty"` + + // ObjectTagsId Object Tags + ObjectTagsId *[]openapi_types.UUID `form:"object_tags_id,omitempty" json:"object_tags_id,omitempty"` + + // ObjectTagsIdN Object Tags + ObjectTagsIdN *[]openapi_types.UUID `form:"object_tags_id__n,omitempty" json:"object_tags_id__n,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Software Software + Software *[]openapi_types.UUID `form:"software,omitempty" json:"software,omitempty"` + + // SoftwareN Software + SoftwareN *[]openapi_types.UUID `form:"software__n,omitempty" json:"software__n,omitempty"` + + // SoftwareVersion Software (version) + SoftwareVersion *[]string `form:"software_version,omitempty" json:"software_version,omitempty"` + + // SoftwareVersionN Software (version) + SoftwareVersionN *[]string `form:"software_version__n,omitempty" json:"software_version__n,omitempty"` } // PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdate. -type PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateJSONBody PatchedWritableSoftwareImageLCM - -// PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreate. -type PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateJSONBody WritableSoftwareImageLCM +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateJSONBody = []PatchedBulkWritableSoftwareImageLCMRequest // PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdate. -type PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateJSONBody WritableSoftwareImageLCM +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateJSONBody = []BulkWritableSoftwareImageLCMRequest -// PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdate. -type PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateJSONBody PatchedWritableSoftwareImageLCM - -// PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdate. -type PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateJSONBody WritableSoftwareImageLCM +// PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroy. +type PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyJSONBody = []BulkOperationRequest // PluginsNautobotDeviceLifecycleMgmtSoftwareListParams defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareList. type PluginsNautobotDeviceLifecycleMgmtSoftwareListParams struct { - Alias *string `json:"alias,omitempty"` + Alias *[]string `form:"alias,omitempty" json:"alias,omitempty"` + AliasIc *[]string `form:"alias__ic,omitempty" json:"alias__ic,omitempty"` + AliasIe *[]string `form:"alias__ie,omitempty" json:"alias__ie,omitempty"` + AliasIew *[]string `form:"alias__iew,omitempty" json:"alias__iew,omitempty"` + AliasIre *[]string `form:"alias__ire,omitempty" json:"alias__ire,omitempty"` + AliasIsw *[]string `form:"alias__isw,omitempty" json:"alias__isw,omitempty"` + AliasN *[]string `form:"alias__n,omitempty" json:"alias__n,omitempty"` + AliasNic *[]string `form:"alias__nic,omitempty" json:"alias__nic,omitempty"` + AliasNie *[]string `form:"alias__nie,omitempty" json:"alias__nie,omitempty"` + AliasNiew *[]string `form:"alias__niew,omitempty" json:"alias__niew,omitempty"` + AliasNire *[]string `form:"alias__nire,omitempty" json:"alias__nire,omitempty"` + AliasNisw *[]string `form:"alias__nisw,omitempty" json:"alias__nisw,omitempty"` + AliasNre *[]string `form:"alias__nre,omitempty" json:"alias__nre,omitempty"` + AliasRe *[]string `form:"alias__re,omitempty" json:"alias__re,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` - // Device Platform (Slug) - DevicePlatform *[]string `json:"device_platform,omitempty"` - DocumentationUrl *string `json:"documentation_url,omitempty"` - EndOfSupportAfter *time.Time `json:"end_of_support_after,omitempty"` - EndOfSupportBefore *time.Time `json:"end_of_support_before,omitempty"` + // DevicePlatform Device Platform (Slug) + DevicePlatform *[]string `form:"device_platform,omitempty" json:"device_platform,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - LongTermSupport *bool `json:"long_term_support,omitempty"` + // DevicePlatformN Device Platform (Slug) + DevicePlatformN *[]string `form:"device_platform__n,omitempty" json:"device_platform__n,omitempty"` + DocumentationUrl *string `form:"documentation_url,omitempty" json:"documentation_url,omitempty"` + EndOfSupportAfter *time.Time `form:"end_of_support_after,omitempty" json:"end_of_support_after,omitempty"` + EndOfSupportBefore *time.Time `form:"end_of_support_before,omitempty" json:"end_of_support_before,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` - PreRelease *bool `json:"pre_release,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + LongTermSupport *bool `form:"long_term_support,omitempty" json:"long_term_support,omitempty"` - // Search - Q *string `json:"q,omitempty"` - ReleaseDateAfter *time.Time `json:"release_date_after,omitempty"` - ReleaseDateBefore *time.Time `json:"release_date_before,omitempty"` - Version *string `json:"version,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + PreRelease *bool `form:"pre_release,omitempty" json:"pre_release,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + ReleaseDateAfter *time.Time `form:"release_date_after,omitempty" json:"release_date_after,omitempty"` + ReleaseDateBefore *time.Time `form:"release_date_before,omitempty" json:"release_date_before,omitempty"` + Version *[]string `form:"version,omitempty" json:"version,omitempty"` + VersionIc *[]string `form:"version__ic,omitempty" json:"version__ic,omitempty"` + VersionIe *[]string `form:"version__ie,omitempty" json:"version__ie,omitempty"` + VersionIew *[]string `form:"version__iew,omitempty" json:"version__iew,omitempty"` + VersionIre *[]string `form:"version__ire,omitempty" json:"version__ire,omitempty"` + VersionIsw *[]string `form:"version__isw,omitempty" json:"version__isw,omitempty"` + VersionN *[]string `form:"version__n,omitempty" json:"version__n,omitempty"` + VersionNic *[]string `form:"version__nic,omitempty" json:"version__nic,omitempty"` + VersionNie *[]string `form:"version__nie,omitempty" json:"version__nie,omitempty"` + VersionNiew *[]string `form:"version__niew,omitempty" json:"version__niew,omitempty"` + VersionNire *[]string `form:"version__nire,omitempty" json:"version__nire,omitempty"` + VersionNisw *[]string `form:"version__nisw,omitempty" json:"version__nisw,omitempty"` + VersionNre *[]string `form:"version__nre,omitempty" json:"version__nre,omitempty"` + VersionRe *[]string `form:"version__re,omitempty" json:"version__re,omitempty"` } // PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdate. -type PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateJSONBody PatchedWritableSoftwareLCM - -// PluginsNautobotDeviceLifecycleMgmtSoftwareCreateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareCreate. -type PluginsNautobotDeviceLifecycleMgmtSoftwareCreateJSONBody WritableSoftwareLCM +type PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateJSONBody = []PatchedBulkWritableSoftwareLCMRequest // PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdate. -type PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateJSONBody WritableSoftwareLCM +type PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateJSONBody = []BulkWritableSoftwareLCMRequest -// PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdate. -type PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateJSONBody PatchedWritableSoftwareLCM - -// PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtSoftwareUpdate. -type PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateJSONBody WritableSoftwareLCM +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroy. +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyJSONBody = []BulkOperationRequest // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListParams defines parameters for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareList. type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareListParams struct { - // Device ID - DeviceId *string `json:"device_id,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` - // Device Name - DeviceName *string `json:"device_name,omitempty"` + // DeviceId Device ID + DeviceId *string `form:"device_id,omitempty" json:"device_id,omitempty"` - // Device Roles (slug) - DeviceRoles *[]string `json:"device_roles,omitempty"` + // DeviceName Device Name + DeviceName *string `form:"device_name,omitempty" json:"device_name,omitempty"` - // Device Roles - DeviceRolesId *[]openapi_types.UUID `json:"device_roles_id,omitempty"` + // DeviceRoles Device Roles (slug) + DeviceRoles *[]string `form:"device_roles,omitempty" json:"device_roles,omitempty"` - // Device Types (model) - DeviceTypes *[]string `json:"device_types,omitempty"` + // DeviceRolesN Device Roles (slug) + DeviceRolesN *[]string `form:"device_roles__n,omitempty" json:"device_roles__n,omitempty"` - // Device Types - DeviceTypesId *[]openapi_types.UUID `json:"device_types_id,omitempty"` + // DeviceRolesId Device Roles + DeviceRolesId *[]openapi_types.UUID `form:"device_roles_id,omitempty" json:"device_roles_id,omitempty"` - // Devices (name) - Devices *[]string `json:"devices,omitempty"` + // DeviceRolesIdN Device Roles + DeviceRolesIdN *[]openapi_types.UUID `form:"device_roles_id__n,omitempty" json:"device_roles_id__n,omitempty"` - // Devices - DevicesId *[]openapi_types.UUID `json:"devices_id,omitempty"` - EndAfter *time.Time `json:"end_after,omitempty"` - EndBefore *time.Time `json:"end_before,omitempty"` + // DeviceTypes Device Types (model) + DeviceTypes *[]string `form:"device_types,omitempty" json:"device_types,omitempty"` - // InventoryItem ID - InventoryItemId *string `json:"inventory_item_id,omitempty"` + // DeviceTypesN Device Types (model) + DeviceTypesN *[]string `form:"device_types__n,omitempty" json:"device_types__n,omitempty"` - // Inventory Items (name) - InventoryItems *[]string `json:"inventory_items,omitempty"` + // DeviceTypesId Device Types + DeviceTypesId *[]openapi_types.UUID `form:"device_types_id,omitempty" json:"device_types_id,omitempty"` - // Inventory Items - InventoryItemsId *[]openapi_types.UUID `json:"inventory_items_id,omitempty"` + // DeviceTypesIdN Device Types + DeviceTypesIdN *[]openapi_types.UUID `form:"device_types_id__n,omitempty" json:"device_types_id__n,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Devices Devices (name) + Devices *[]string `form:"devices,omitempty" json:"devices,omitempty"` - // Object Tags (slug) - ObjectTags *[]string `json:"object_tags,omitempty"` + // DevicesN Devices (name) + DevicesN *[]string `form:"devices__n,omitempty" json:"devices__n,omitempty"` - // Object Tags - ObjectTagsId *[]openapi_types.UUID `json:"object_tags_id,omitempty"` + // DevicesId Devices + DevicesId *[]openapi_types.UUID `form:"devices_id,omitempty" json:"devices_id,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` - Preferred *bool `json:"preferred,omitempty"` + // DevicesIdN Devices + DevicesIdN *[]openapi_types.UUID `form:"devices_id__n,omitempty" json:"devices_id__n,omitempty"` + EndAfter *time.Time `form:"end_after,omitempty" json:"end_after,omitempty"` + EndBefore *time.Time `form:"end_before,omitempty" json:"end_before,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // InventoryItemId InventoryItem ID + InventoryItemId *string `form:"inventory_item_id,omitempty" json:"inventory_item_id,omitempty"` - // Software - Software *[]openapi_types.UUID `json:"software,omitempty"` - StartAfter *time.Time `json:"start_after,omitempty"` - StartBefore *time.Time `json:"start_before,omitempty"` + // InventoryItems Inventory Items (name) + InventoryItems *[]string `form:"inventory_items,omitempty" json:"inventory_items,omitempty"` - // Currently valid - Valid *bool `json:"valid,omitempty"` + // InventoryItemsN Inventory Items (name) + InventoryItemsN *[]string `form:"inventory_items__n,omitempty" json:"inventory_items__n,omitempty"` + + // InventoryItemsId Inventory Items + InventoryItemsId *[]openapi_types.UUID `form:"inventory_items_id,omitempty" json:"inventory_items_id,omitempty"` + + // InventoryItemsIdN Inventory Items + InventoryItemsIdN *[]openapi_types.UUID `form:"inventory_items_id__n,omitempty" json:"inventory_items_id__n,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` + + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // ObjectTags Object Tags (slug) + ObjectTags *[]string `form:"object_tags,omitempty" json:"object_tags,omitempty"` + + // ObjectTagsN Object Tags (slug) + ObjectTagsN *[]string `form:"object_tags__n,omitempty" json:"object_tags__n,omitempty"` + + // ObjectTagsId Object Tags + ObjectTagsId *[]openapi_types.UUID `form:"object_tags_id,omitempty" json:"object_tags_id,omitempty"` + + // ObjectTagsIdN Object Tags + ObjectTagsIdN *[]openapi_types.UUID `form:"object_tags_id__n,omitempty" json:"object_tags_id__n,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + Preferred *bool `form:"preferred,omitempty" json:"preferred,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Software Software + Software *[]openapi_types.UUID `form:"software,omitempty" json:"software,omitempty"` + + // SoftwareN Software + SoftwareN *[]openapi_types.UUID `form:"software__n,omitempty" json:"software__n,omitempty"` + StartAfter *time.Time `form:"start_after,omitempty" json:"start_after,omitempty"` + StartBefore *time.Time `form:"start_before,omitempty" json:"start_before,omitempty"` + + // Valid Currently valid + Valid *bool `form:"valid,omitempty" json:"valid,omitempty"` } // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdate. -type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateJSONBody PatchedWritableValidatedSoftwareLCM - -// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreate. -type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateJSONBody WritableValidatedSoftwareLCM +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateJSONBody = []PatchedBulkWritableValidatedSoftwareLCMRequest // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdate. -type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateJSONBody WritableValidatedSoftwareLCM +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateJSONBody = []BulkWritableValidatedSoftwareLCMRequest -// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdate. -type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateJSONBody PatchedWritableValidatedSoftwareLCM - -// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdate. -type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateJSONBody WritableValidatedSoftwareLCM +// PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroy. +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyJSONBody = []BulkOperationRequest // PluginsNautobotDeviceLifecycleMgmtVulnerabilityListParams defines parameters for PluginsNautobotDeviceLifecycleMgmtVulnerabilityList. type PluginsNautobotDeviceLifecycleMgmtVulnerabilityListParams struct { - Cve *openapi_types.UUID `json:"cve,omitempty"` - CvePublishedDateGte *openapi_types.Date `json:"cve__published_date__gte,omitempty"` - CvePublishedDateLte *openapi_types.Date `json:"cve__published_date__lte,omitempty"` - CvePublishedDateAfter *time.Time `json:"cve__published_date_after,omitempty"` - CvePublishedDateBefore *time.Time `json:"cve__published_date_before,omitempty"` - Device *openapi_types.UUID `json:"device,omitempty"` - ExcludeStatus *[]openapi_types.UUID `json:"exclude_status,omitempty"` - InventoryItem *openapi_types.UUID `json:"inventory_item,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Cve *openapi_types.UUID `form:"cve,omitempty" json:"cve,omitempty"` + CveN *openapi_types.UUID `form:"cve__n,omitempty" json:"cve__n,omitempty"` + CvePublishedDateGte *openapi_types.Date `form:"cve__published_date__gte,omitempty" json:"cve__published_date__gte,omitempty"` + CvePublishedDateLte *openapi_types.Date `form:"cve__published_date__lte,omitempty" json:"cve__published_date__lte,omitempty"` + CvePublishedDateAfter *time.Time `form:"cve__published_date_after,omitempty" json:"cve__published_date_after,omitempty"` + CvePublishedDateBefore *time.Time `form:"cve__published_date_before,omitempty" json:"cve__published_date_before,omitempty"` + Device *openapi_types.UUID `form:"device,omitempty" json:"device,omitempty"` + DeviceN *openapi_types.UUID `form:"device__n,omitempty" json:"device__n,omitempty"` + ExcludeStatus *[]openapi_types.UUID `form:"exclude_status,omitempty" json:"exclude_status,omitempty"` + ExcludeStatusN *[]openapi_types.UUID `form:"exclude_status__n,omitempty" json:"exclude_status__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + InventoryItem *openapi_types.UUID `form:"inventory_item,omitempty" json:"inventory_item,omitempty"` + InventoryItemN *openapi_types.UUID `form:"inventory_item__n,omitempty" json:"inventory_item__n,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Software *openapi_types.UUID `json:"software,omitempty"` - Status *[]openapi_types.UUID `json:"status,omitempty"` - Tag *[]string `json:"tag,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Software *openapi_types.UUID `form:"software,omitempty" json:"software,omitempty"` + SoftwareN *openapi_types.UUID `form:"software__n,omitempty" json:"software__n,omitempty"` + Status *[]openapi_types.UUID `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]openapi_types.UUID `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` } // PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdate. -type PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateJSONBody PatchedVulnerabilityLCM +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateJSONBody = []PatchedBulkWritableVulnerabilityLCMRequest // PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdate. -type PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateJSONBody VulnerabilityLCM - -// PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdate. -type PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateJSONBody PatchedVulnerabilityLCM - -// PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateJSONBody defines parameters for PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdate. -type PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateJSONBody VulnerabilityLCM +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateJSONBody = []BulkWritableVulnerabilityLCMRequest // SwaggerJsonRetrieveParams defines parameters for SwaggerJsonRetrieve. type SwaggerJsonRetrieveParams struct { - Lang *SwaggerJsonRetrieveParamsLang `json:"lang,omitempty"` + Lang *SwaggerJsonRetrieveParamsLang `form:"lang,omitempty" json:"lang,omitempty"` } // SwaggerJsonRetrieveParamsLang defines parameters for SwaggerJsonRetrieve. @@ -25206,7 +63162,7 @@ type SwaggerJsonRetrieveParamsLang string // SwaggerYamlRetrieveParams defines parameters for SwaggerYamlRetrieve. type SwaggerYamlRetrieveParams struct { - Lang *SwaggerYamlRetrieveParamsLang `json:"lang,omitempty"` + Lang *SwaggerYamlRetrieveParamsLang `form:"lang,omitempty" json:"lang,omitempty"` } // SwaggerYamlRetrieveParamsLang defines parameters for SwaggerYamlRetrieve. @@ -25214,8 +63170,8 @@ type SwaggerYamlRetrieveParamsLang string // SwaggerRetrieveParams defines parameters for SwaggerRetrieve. type SwaggerRetrieveParams struct { - Format *SwaggerRetrieveParamsFormat `json:"format,omitempty"` - Lang *SwaggerRetrieveParamsLang `json:"lang,omitempty"` + Format *SwaggerRetrieveParamsFormat `form:"format,omitempty" json:"format,omitempty"` + Lang *SwaggerRetrieveParamsLang `form:"lang,omitempty" json:"lang,omitempty"` } // SwaggerRetrieveParamsFormat defines parameters for SwaggerRetrieve. @@ -25224,2781 +63180,4180 @@ type SwaggerRetrieveParamsFormat string // SwaggerRetrieveParamsLang defines parameters for SwaggerRetrieve. type SwaggerRetrieveParamsLang string +// TenancyTenantGroupsBulkDestroyJSONBody defines parameters for TenancyTenantGroupsBulkDestroy. +type TenancyTenantGroupsBulkDestroyJSONBody = []BulkOperationRequest + // TenancyTenantGroupsListParams defines parameters for TenancyTenantGroupsList. type TenancyTenantGroupsListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Description *[]string `json:"description,omitempty"` - DescriptionIc *[]string `json:"description__ic,omitempty"` - DescriptionIe *[]string `json:"description__ie,omitempty"` - DescriptionIew *[]string `json:"description__iew,omitempty"` - DescriptionIre *[]string `json:"description__ire,omitempty"` - DescriptionIsw *[]string `json:"description__isw,omitempty"` - DescriptionN *[]string `json:"description__n,omitempty"` - DescriptionNic *[]string `json:"description__nic,omitempty"` - DescriptionNie *[]string `json:"description__nie,omitempty"` - DescriptionNiew *[]string `json:"description__niew,omitempty"` - DescriptionNire *[]string `json:"description__nire,omitempty"` - DescriptionNisw *[]string `json:"description__nisw,omitempty"` - DescriptionNre *[]string `json:"description__nre,omitempty"` - DescriptionRe *[]string `json:"description__re,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Tenant group group (slug) - Parent *[]string `json:"parent,omitempty"` + // Parent Tenant group group (slug) + Parent *[]string `form:"parent,omitempty" json:"parent,omitempty"` - // Tenant group group (slug) - ParentN *[]string `json:"parent__n,omitempty"` + // ParentN Tenant group group (slug) + ParentN *[]string `form:"parent__n,omitempty" json:"parent__n,omitempty"` - // Tenant group (ID) - ParentId *[]openapi_types.UUID `json:"parent_id,omitempty"` + // ParentId Tenant group (ID) + ParentId *[]openapi_types.UUID `form:"parent_id,omitempty" json:"parent_id,omitempty"` - // Tenant group (ID) - ParentIdN *[]openapi_types.UUID `json:"parent_id__n,omitempty"` + // ParentIdN Tenant group (ID) + ParentIdN *[]openapi_types.UUID `form:"parent_id__n,omitempty" json:"parent_id__n,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` } // TenancyTenantGroupsBulkPartialUpdateJSONBody defines parameters for TenancyTenantGroupsBulkPartialUpdate. -type TenancyTenantGroupsBulkPartialUpdateJSONBody PatchedWritableTenantGroup - -// TenancyTenantGroupsCreateJSONBody defines parameters for TenancyTenantGroupsCreate. -type TenancyTenantGroupsCreateJSONBody WritableTenantGroup +type TenancyTenantGroupsBulkPartialUpdateJSONBody = []PatchedBulkWritableTenantGroupRequest // TenancyTenantGroupsBulkUpdateJSONBody defines parameters for TenancyTenantGroupsBulkUpdate. -type TenancyTenantGroupsBulkUpdateJSONBody WritableTenantGroup +type TenancyTenantGroupsBulkUpdateJSONBody = []BulkWritableTenantGroupRequest -// TenancyTenantGroupsPartialUpdateJSONBody defines parameters for TenancyTenantGroupsPartialUpdate. -type TenancyTenantGroupsPartialUpdateJSONBody PatchedWritableTenantGroup +// TenancyTenantGroupsNotesListParams defines parameters for TenancyTenantGroupsNotesList. +type TenancyTenantGroupsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// TenancyTenantGroupsUpdateJSONBody defines parameters for TenancyTenantGroupsUpdate. -type TenancyTenantGroupsUpdateJSONBody WritableTenantGroup + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// TenancyTenantsBulkDestroyJSONBody defines parameters for TenancyTenantsBulkDestroy. +type TenancyTenantsBulkDestroyJSONBody = []BulkOperationRequest // TenancyTenantsListParams defines parameters for TenancyTenantsList. type TenancyTenantsListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` - // Tenant group (slug) - Group *[]openapi_types.UUID `json:"group,omitempty"` + // Group Tenant group (slug) + Group *[]openapi_types.UUID `form:"group,omitempty" json:"group,omitempty"` - // Tenant group (slug) - GroupN *[]openapi_types.UUID `json:"group__n,omitempty"` + // GroupN Tenant group (slug) + GroupN *[]openapi_types.UUID `form:"group__n,omitempty" json:"group__n,omitempty"` - // Tenant group (ID) - GroupId *[]openapi_types.UUID `json:"group_id,omitempty"` + // GroupId Tenant group (ID) + GroupId *[]openapi_types.UUID `form:"group_id,omitempty" json:"group_id,omitempty"` - // Tenant group (ID) - GroupIdN *[]openapi_types.UUID `json:"group_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + // GroupIdN Tenant group (ID) + GroupIdN *[]openapi_types.UUID `form:"group_id__n,omitempty" json:"group_id__n,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // HasLocations Has locations + HasLocations *bool `form:"has_locations,omitempty" json:"has_locations,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // Locations Locations (slugs and/or IDs) + Locations *[]openapi_types.UUID `form:"locations,omitempty" json:"locations,omitempty"` + + // LocationsN Locations (slugs and/or IDs) + LocationsN *[]openapi_types.UUID `form:"locations__n,omitempty" json:"locations__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` } // TenancyTenantsBulkPartialUpdateJSONBody defines parameters for TenancyTenantsBulkPartialUpdate. -type TenancyTenantsBulkPartialUpdateJSONBody PatchedWritableTenant - -// TenancyTenantsCreateJSONBody defines parameters for TenancyTenantsCreate. -type TenancyTenantsCreateJSONBody WritableTenant +type TenancyTenantsBulkPartialUpdateJSONBody = []PatchedBulkWritableTenantRequest // TenancyTenantsBulkUpdateJSONBody defines parameters for TenancyTenantsBulkUpdate. -type TenancyTenantsBulkUpdateJSONBody WritableTenant +type TenancyTenantsBulkUpdateJSONBody = []BulkWritableTenantRequest -// TenancyTenantsPartialUpdateJSONBody defines parameters for TenancyTenantsPartialUpdate. -type TenancyTenantsPartialUpdateJSONBody PatchedWritableTenant +// TenancyTenantsNotesListParams defines parameters for TenancyTenantsNotesList. +type TenancyTenantsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// TenancyTenantsUpdateJSONBody defines parameters for TenancyTenantsUpdate. -type TenancyTenantsUpdateJSONBody WritableTenant + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// UsersGroupsBulkDestroyJSONBody defines parameters for UsersGroupsBulkDestroy. +type UsersGroupsBulkDestroyJSONBody = []BulkOperationIntegerIDRequest // UsersGroupsListParams defines parameters for UsersGroupsList. type UsersGroupsListParams struct { - Id *[]int `json:"id,omitempty"` - IdGt *[]int `json:"id__gt,omitempty"` - IdGte *[]int `json:"id__gte,omitempty"` - IdLt *[]int `json:"id__lt,omitempty"` - IdLte *[]int `json:"id__lte,omitempty"` - IdN *[]int `json:"id__n,omitempty"` + Id *[]int `form:"id,omitempty" json:"id,omitempty"` + IdGt *[]int `form:"id__gt,omitempty" json:"id__gt,omitempty"` + IdGte *[]int `form:"id__gte,omitempty" json:"id__gte,omitempty"` + IdLt *[]int `form:"id__lt,omitempty" json:"id__lt,omitempty"` + IdLte *[]int `form:"id__lte,omitempty" json:"id__lte,omitempty"` + IdN *[]int `form:"id__n,omitempty" json:"id__n,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` } // UsersGroupsBulkPartialUpdateJSONBody defines parameters for UsersGroupsBulkPartialUpdate. -type UsersGroupsBulkPartialUpdateJSONBody PatchedGroup - -// UsersGroupsCreateJSONBody defines parameters for UsersGroupsCreate. -type UsersGroupsCreateJSONBody Group +type UsersGroupsBulkPartialUpdateJSONBody = []PatchedBulkWritableGroupRequest // UsersGroupsBulkUpdateJSONBody defines parameters for UsersGroupsBulkUpdate. -type UsersGroupsBulkUpdateJSONBody Group +type UsersGroupsBulkUpdateJSONBody = []BulkWritableGroupRequest -// UsersGroupsPartialUpdateJSONBody defines parameters for UsersGroupsPartialUpdate. -type UsersGroupsPartialUpdateJSONBody PatchedGroup - -// UsersGroupsUpdateJSONBody defines parameters for UsersGroupsUpdate. -type UsersGroupsUpdateJSONBody Group +// UsersPermissionsBulkDestroyJSONBody defines parameters for UsersPermissionsBulkDestroy. +type UsersPermissionsBulkDestroyJSONBody = []BulkOperationRequest // UsersPermissionsListParams defines parameters for UsersPermissionsList. type UsersPermissionsListParams struct { - Enabled *bool `json:"enabled,omitempty"` + Enabled *bool `form:"enabled,omitempty" json:"enabled,omitempty"` - // Group (name) - Group *[]string `json:"group,omitempty"` + // Group Group (name) + Group *[]string `form:"group,omitempty" json:"group,omitempty"` - // Group (name) - GroupN *[]string `json:"group__n,omitempty"` + // GroupN Group (name) + GroupN *[]string `form:"group__n,omitempty" json:"group__n,omitempty"` - // Group - GroupId *[]int `json:"group_id,omitempty"` + // GroupId Group + GroupId *[]int `form:"group_id,omitempty" json:"group_id,omitempty"` - // Group - GroupIdN *[]int `json:"group_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // GroupIdN Group + GroupIdN *[]int `form:"group_id__n,omitempty" json:"group_id__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` - ObjectTypes *[]int `json:"object_types,omitempty"` - ObjectTypesN *[]int `json:"object_types__n,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + ObjectTypes *[]int `form:"object_types,omitempty" json:"object_types,omitempty"` + ObjectTypesN *[]int `form:"object_types__n,omitempty" json:"object_types__n,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // User (name) - User *[]string `json:"user,omitempty"` + // User User (name) + User *[]string `form:"user,omitempty" json:"user,omitempty"` - // User (name) - UserN *[]string `json:"user__n,omitempty"` + // UserN User (name) + UserN *[]string `form:"user__n,omitempty" json:"user__n,omitempty"` - // User - UserId *[]openapi_types.UUID `json:"user_id,omitempty"` + // UserId User + UserId *[]openapi_types.UUID `form:"user_id,omitempty" json:"user_id,omitempty"` - // User - UserIdN *[]openapi_types.UUID `json:"user_id__n,omitempty"` + // UserIdN User + UserIdN *[]openapi_types.UUID `form:"user_id__n,omitempty" json:"user_id__n,omitempty"` } // UsersPermissionsBulkPartialUpdateJSONBody defines parameters for UsersPermissionsBulkPartialUpdate. -type UsersPermissionsBulkPartialUpdateJSONBody PatchedWritableObjectPermission - -// UsersPermissionsCreateJSONBody defines parameters for UsersPermissionsCreate. -type UsersPermissionsCreateJSONBody WritableObjectPermission +type UsersPermissionsBulkPartialUpdateJSONBody = []PatchedBulkWritableObjectPermissionRequest // UsersPermissionsBulkUpdateJSONBody defines parameters for UsersPermissionsBulkUpdate. -type UsersPermissionsBulkUpdateJSONBody WritableObjectPermission +type UsersPermissionsBulkUpdateJSONBody = []BulkWritableObjectPermissionRequest -// UsersPermissionsPartialUpdateJSONBody defines parameters for UsersPermissionsPartialUpdate. -type UsersPermissionsPartialUpdateJSONBody PatchedWritableObjectPermission - -// UsersPermissionsUpdateJSONBody defines parameters for UsersPermissionsUpdate. -type UsersPermissionsUpdateJSONBody WritableObjectPermission +// UsersTokensBulkDestroyJSONBody defines parameters for UsersTokensBulkDestroy. +type UsersTokensBulkDestroyJSONBody = []BulkOperationRequest // UsersTokensListParams defines parameters for UsersTokensList. type UsersTokensListParams struct { - Created *[]time.Time `json:"created,omitempty"` - CreatedGt *[]time.Time `json:"created__gt,omitempty"` - CreatedGte *[]time.Time `json:"created__gte,omitempty"` - CreatedLt *[]time.Time `json:"created__lt,omitempty"` - CreatedLte *[]time.Time `json:"created__lte,omitempty"` - CreatedN *[]time.Time `json:"created__n,omitempty"` - Expires *[]time.Time `json:"expires,omitempty"` - ExpiresGt *[]time.Time `json:"expires__gt,omitempty"` - ExpiresGte *[]time.Time `json:"expires__gte,omitempty"` - ExpiresLt *[]time.Time `json:"expires__lt,omitempty"` - ExpiresLte *[]time.Time `json:"expires__lte,omitempty"` - ExpiresN *[]time.Time `json:"expires__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - Key *[]string `json:"key,omitempty"` - KeyIc *[]string `json:"key__ic,omitempty"` - KeyIe *[]string `json:"key__ie,omitempty"` - KeyIew *[]string `json:"key__iew,omitempty"` - KeyIre *[]string `json:"key__ire,omitempty"` - KeyIsw *[]string `json:"key__isw,omitempty"` - KeyN *[]string `json:"key__n,omitempty"` - KeyNic *[]string `json:"key__nic,omitempty"` - KeyNie *[]string `json:"key__nie,omitempty"` - KeyNiew *[]string `json:"key__niew,omitempty"` - KeyNire *[]string `json:"key__nire,omitempty"` - KeyNisw *[]string `json:"key__nisw,omitempty"` - KeyNre *[]string `json:"key__nre,omitempty"` - KeyRe *[]string `json:"key__re,omitempty"` + Created *[]time.Time `form:"created,omitempty" json:"created,omitempty"` + CreatedGt *[]time.Time `form:"created__gt,omitempty" json:"created__gt,omitempty"` + CreatedGte *[]time.Time `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLt *[]time.Time `form:"created__lt,omitempty" json:"created__lt,omitempty"` + CreatedLte *[]time.Time `form:"created__lte,omitempty" json:"created__lte,omitempty"` + CreatedN *[]time.Time `form:"created__n,omitempty" json:"created__n,omitempty"` + Expires *[]time.Time `form:"expires,omitempty" json:"expires,omitempty"` + ExpiresGt *[]time.Time `form:"expires__gt,omitempty" json:"expires__gt,omitempty"` + ExpiresGte *[]time.Time `form:"expires__gte,omitempty" json:"expires__gte,omitempty"` + ExpiresLt *[]time.Time `form:"expires__lt,omitempty" json:"expires__lt,omitempty"` + ExpiresLte *[]time.Time `form:"expires__lte,omitempty" json:"expires__lte,omitempty"` + ExpiresN *[]time.Time `form:"expires__n,omitempty" json:"expires__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + Key *[]string `form:"key,omitempty" json:"key,omitempty"` + KeyIc *[]string `form:"key__ic,omitempty" json:"key__ic,omitempty"` + KeyIe *[]string `form:"key__ie,omitempty" json:"key__ie,omitempty"` + KeyIew *[]string `form:"key__iew,omitempty" json:"key__iew,omitempty"` + KeyIre *[]string `form:"key__ire,omitempty" json:"key__ire,omitempty"` + KeyIsw *[]string `form:"key__isw,omitempty" json:"key__isw,omitempty"` + KeyN *[]string `form:"key__n,omitempty" json:"key__n,omitempty"` + KeyNic *[]string `form:"key__nic,omitempty" json:"key__nic,omitempty"` + KeyNie *[]string `form:"key__nie,omitempty" json:"key__nie,omitempty"` + KeyNiew *[]string `form:"key__niew,omitempty" json:"key__niew,omitempty"` + KeyNire *[]string `form:"key__nire,omitempty" json:"key__nire,omitempty"` + KeyNisw *[]string `form:"key__nisw,omitempty" json:"key__nisw,omitempty"` + KeyNre *[]string `form:"key__nre,omitempty" json:"key__nre,omitempty"` + KeyRe *[]string `form:"key__re,omitempty" json:"key__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - WriteEnabled *bool `json:"write_enabled,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + WriteEnabled *bool `form:"write_enabled,omitempty" json:"write_enabled,omitempty"` } // UsersTokensBulkPartialUpdateJSONBody defines parameters for UsersTokensBulkPartialUpdate. -type UsersTokensBulkPartialUpdateJSONBody PatchedToken - -// UsersTokensCreateJSONBody defines parameters for UsersTokensCreate. -type UsersTokensCreateJSONBody Token +type UsersTokensBulkPartialUpdateJSONBody = []PatchedBulkWritableTokenRequest // UsersTokensBulkUpdateJSONBody defines parameters for UsersTokensBulkUpdate. -type UsersTokensBulkUpdateJSONBody Token +type UsersTokensBulkUpdateJSONBody = []BulkWritableTokenRequest -// UsersTokensPartialUpdateJSONBody defines parameters for UsersTokensPartialUpdate. -type UsersTokensPartialUpdateJSONBody PatchedToken - -// UsersTokensUpdateJSONBody defines parameters for UsersTokensUpdate. -type UsersTokensUpdateJSONBody Token +// UsersUsersBulkDestroyJSONBody defines parameters for UsersUsersBulkDestroy. +type UsersUsersBulkDestroyJSONBody = []BulkOperationRequest // UsersUsersListParams defines parameters for UsersUsersList. type UsersUsersListParams struct { - Email *[]string `json:"email,omitempty"` - EmailIc *[]string `json:"email__ic,omitempty"` - EmailIe *[]string `json:"email__ie,omitempty"` - EmailIew *[]string `json:"email__iew,omitempty"` - EmailIre *[]string `json:"email__ire,omitempty"` - EmailIsw *[]string `json:"email__isw,omitempty"` - EmailN *[]string `json:"email__n,omitempty"` - EmailNic *[]string `json:"email__nic,omitempty"` - EmailNie *[]string `json:"email__nie,omitempty"` - EmailNiew *[]string `json:"email__niew,omitempty"` - EmailNire *[]string `json:"email__nire,omitempty"` - EmailNisw *[]string `json:"email__nisw,omitempty"` - EmailNre *[]string `json:"email__nre,omitempty"` - EmailRe *[]string `json:"email__re,omitempty"` - FirstName *[]string `json:"first_name,omitempty"` - FirstNameIc *[]string `json:"first_name__ic,omitempty"` - FirstNameIe *[]string `json:"first_name__ie,omitempty"` - FirstNameIew *[]string `json:"first_name__iew,omitempty"` - FirstNameIre *[]string `json:"first_name__ire,omitempty"` - FirstNameIsw *[]string `json:"first_name__isw,omitempty"` - FirstNameN *[]string `json:"first_name__n,omitempty"` - FirstNameNic *[]string `json:"first_name__nic,omitempty"` - FirstNameNie *[]string `json:"first_name__nie,omitempty"` - FirstNameNiew *[]string `json:"first_name__niew,omitempty"` - FirstNameNire *[]string `json:"first_name__nire,omitempty"` - FirstNameNisw *[]string `json:"first_name__nisw,omitempty"` - FirstNameNre *[]string `json:"first_name__nre,omitempty"` - FirstNameRe *[]string `json:"first_name__re,omitempty"` + Email *[]string `form:"email,omitempty" json:"email,omitempty"` + EmailIc *[]string `form:"email__ic,omitempty" json:"email__ic,omitempty"` + EmailIe *[]string `form:"email__ie,omitempty" json:"email__ie,omitempty"` + EmailIew *[]string `form:"email__iew,omitempty" json:"email__iew,omitempty"` + EmailIre *[]string `form:"email__ire,omitempty" json:"email__ire,omitempty"` + EmailIsw *[]string `form:"email__isw,omitempty" json:"email__isw,omitempty"` + EmailN *[]string `form:"email__n,omitempty" json:"email__n,omitempty"` + EmailNic *[]string `form:"email__nic,omitempty" json:"email__nic,omitempty"` + EmailNie *[]string `form:"email__nie,omitempty" json:"email__nie,omitempty"` + EmailNiew *[]string `form:"email__niew,omitempty" json:"email__niew,omitempty"` + EmailNire *[]string `form:"email__nire,omitempty" json:"email__nire,omitempty"` + EmailNisw *[]string `form:"email__nisw,omitempty" json:"email__nisw,omitempty"` + EmailNre *[]string `form:"email__nre,omitempty" json:"email__nre,omitempty"` + EmailRe *[]string `form:"email__re,omitempty" json:"email__re,omitempty"` + FirstName *[]string `form:"first_name,omitempty" json:"first_name,omitempty"` + FirstNameIc *[]string `form:"first_name__ic,omitempty" json:"first_name__ic,omitempty"` + FirstNameIe *[]string `form:"first_name__ie,omitempty" json:"first_name__ie,omitempty"` + FirstNameIew *[]string `form:"first_name__iew,omitempty" json:"first_name__iew,omitempty"` + FirstNameIre *[]string `form:"first_name__ire,omitempty" json:"first_name__ire,omitempty"` + FirstNameIsw *[]string `form:"first_name__isw,omitempty" json:"first_name__isw,omitempty"` + FirstNameN *[]string `form:"first_name__n,omitempty" json:"first_name__n,omitempty"` + FirstNameNic *[]string `form:"first_name__nic,omitempty" json:"first_name__nic,omitempty"` + FirstNameNie *[]string `form:"first_name__nie,omitempty" json:"first_name__nie,omitempty"` + FirstNameNiew *[]string `form:"first_name__niew,omitempty" json:"first_name__niew,omitempty"` + FirstNameNire *[]string `form:"first_name__nire,omitempty" json:"first_name__nire,omitempty"` + FirstNameNisw *[]string `form:"first_name__nisw,omitempty" json:"first_name__nisw,omitempty"` + FirstNameNre *[]string `form:"first_name__nre,omitempty" json:"first_name__nre,omitempty"` + FirstNameRe *[]string `form:"first_name__re,omitempty" json:"first_name__re,omitempty"` - // Group (name) - Group *[]string `json:"group,omitempty"` + // Group Group (name) + Group *[]string `form:"group,omitempty" json:"group,omitempty"` - // Group (name) - GroupN *[]string `json:"group__n,omitempty"` + // GroupN Group (name) + GroupN *[]string `form:"group__n,omitempty" json:"group__n,omitempty"` - // Group - GroupId *[]int `json:"group_id,omitempty"` + // GroupId Group + GroupId *[]int `form:"group_id,omitempty" json:"group_id,omitempty"` - // Group - GroupIdN *[]int `json:"group_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - IsActive *bool `json:"is_active,omitempty"` - IsStaff *bool `json:"is_staff,omitempty"` - LastName *[]string `json:"last_name,omitempty"` - LastNameIc *[]string `json:"last_name__ic,omitempty"` - LastNameIe *[]string `json:"last_name__ie,omitempty"` - LastNameIew *[]string `json:"last_name__iew,omitempty"` - LastNameIre *[]string `json:"last_name__ire,omitempty"` - LastNameIsw *[]string `json:"last_name__isw,omitempty"` - LastNameN *[]string `json:"last_name__n,omitempty"` - LastNameNic *[]string `json:"last_name__nic,omitempty"` - LastNameNie *[]string `json:"last_name__nie,omitempty"` - LastNameNiew *[]string `json:"last_name__niew,omitempty"` - LastNameNire *[]string `json:"last_name__nire,omitempty"` - LastNameNisw *[]string `json:"last_name__nisw,omitempty"` - LastNameNre *[]string `json:"last_name__nre,omitempty"` - LastNameRe *[]string `json:"last_name__re,omitempty"` + // GroupIdN Group + GroupIdN *[]int `form:"group_id__n,omitempty" json:"group_id__n,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + IsActive *bool `form:"is_active,omitempty" json:"is_active,omitempty"` + IsStaff *bool `form:"is_staff,omitempty" json:"is_staff,omitempty"` + LastName *[]string `form:"last_name,omitempty" json:"last_name,omitempty"` + LastNameIc *[]string `form:"last_name__ic,omitempty" json:"last_name__ic,omitempty"` + LastNameIe *[]string `form:"last_name__ie,omitempty" json:"last_name__ie,omitempty"` + LastNameIew *[]string `form:"last_name__iew,omitempty" json:"last_name__iew,omitempty"` + LastNameIre *[]string `form:"last_name__ire,omitempty" json:"last_name__ire,omitempty"` + LastNameIsw *[]string `form:"last_name__isw,omitempty" json:"last_name__isw,omitempty"` + LastNameN *[]string `form:"last_name__n,omitempty" json:"last_name__n,omitempty"` + LastNameNic *[]string `form:"last_name__nic,omitempty" json:"last_name__nic,omitempty"` + LastNameNie *[]string `form:"last_name__nie,omitempty" json:"last_name__nie,omitempty"` + LastNameNiew *[]string `form:"last_name__niew,omitempty" json:"last_name__niew,omitempty"` + LastNameNire *[]string `form:"last_name__nire,omitempty" json:"last_name__nire,omitempty"` + LastNameNisw *[]string `form:"last_name__nisw,omitempty" json:"last_name__nisw,omitempty"` + LastNameNre *[]string `form:"last_name__nre,omitempty" json:"last_name__nre,omitempty"` + LastNameRe *[]string `form:"last_name__re,omitempty" json:"last_name__re,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Username *[]string `json:"username,omitempty"` - UsernameIc *[]string `json:"username__ic,omitempty"` - UsernameIe *[]string `json:"username__ie,omitempty"` - UsernameIew *[]string `json:"username__iew,omitempty"` - UsernameIre *[]string `json:"username__ire,omitempty"` - UsernameIsw *[]string `json:"username__isw,omitempty"` - UsernameN *[]string `json:"username__n,omitempty"` - UsernameNic *[]string `json:"username__nic,omitempty"` - UsernameNie *[]string `json:"username__nie,omitempty"` - UsernameNiew *[]string `json:"username__niew,omitempty"` - UsernameNire *[]string `json:"username__nire,omitempty"` - UsernameNisw *[]string `json:"username__nisw,omitempty"` - UsernameNre *[]string `json:"username__nre,omitempty"` - UsernameRe *[]string `json:"username__re,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Username *[]string `form:"username,omitempty" json:"username,omitempty"` + UsernameIc *[]string `form:"username__ic,omitempty" json:"username__ic,omitempty"` + UsernameIe *[]string `form:"username__ie,omitempty" json:"username__ie,omitempty"` + UsernameIew *[]string `form:"username__iew,omitempty" json:"username__iew,omitempty"` + UsernameIre *[]string `form:"username__ire,omitempty" json:"username__ire,omitempty"` + UsernameIsw *[]string `form:"username__isw,omitempty" json:"username__isw,omitempty"` + UsernameN *[]string `form:"username__n,omitempty" json:"username__n,omitempty"` + UsernameNic *[]string `form:"username__nic,omitempty" json:"username__nic,omitempty"` + UsernameNie *[]string `form:"username__nie,omitempty" json:"username__nie,omitempty"` + UsernameNiew *[]string `form:"username__niew,omitempty" json:"username__niew,omitempty"` + UsernameNire *[]string `form:"username__nire,omitempty" json:"username__nire,omitempty"` + UsernameNisw *[]string `form:"username__nisw,omitempty" json:"username__nisw,omitempty"` + UsernameNre *[]string `form:"username__nre,omitempty" json:"username__nre,omitempty"` + UsernameRe *[]string `form:"username__re,omitempty" json:"username__re,omitempty"` } // UsersUsersBulkPartialUpdateJSONBody defines parameters for UsersUsersBulkPartialUpdate. -type UsersUsersBulkPartialUpdateJSONBody PatchedWritableUser - -// UsersUsersCreateJSONBody defines parameters for UsersUsersCreate. -type UsersUsersCreateJSONBody WritableUser +type UsersUsersBulkPartialUpdateJSONBody = []PatchedBulkWritableUserRequest // UsersUsersBulkUpdateJSONBody defines parameters for UsersUsersBulkUpdate. -type UsersUsersBulkUpdateJSONBody WritableUser +type UsersUsersBulkUpdateJSONBody = []BulkWritableUserRequest -// UsersUsersPartialUpdateJSONBody defines parameters for UsersUsersPartialUpdate. -type UsersUsersPartialUpdateJSONBody PatchedWritableUser - -// UsersUsersUpdateJSONBody defines parameters for UsersUsersUpdate. -type UsersUsersUpdateJSONBody WritableUser +// VirtualizationClusterGroupsBulkDestroyJSONBody defines parameters for VirtualizationClusterGroupsBulkDestroy. +type VirtualizationClusterGroupsBulkDestroyJSONBody = []BulkOperationRequest // VirtualizationClusterGroupsListParams defines parameters for VirtualizationClusterGroupsList. type VirtualizationClusterGroupsListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Description *[]string `json:"description,omitempty"` - DescriptionIc *[]string `json:"description__ic,omitempty"` - DescriptionIe *[]string `json:"description__ie,omitempty"` - DescriptionIew *[]string `json:"description__iew,omitempty"` - DescriptionIre *[]string `json:"description__ire,omitempty"` - DescriptionIsw *[]string `json:"description__isw,omitempty"` - DescriptionN *[]string `json:"description__n,omitempty"` - DescriptionNic *[]string `json:"description__nic,omitempty"` - DescriptionNie *[]string `json:"description__nie,omitempty"` - DescriptionNiew *[]string `json:"description__niew,omitempty"` - DescriptionNire *[]string `json:"description__nire,omitempty"` - DescriptionNisw *[]string `json:"description__nisw,omitempty"` - DescriptionNre *[]string `json:"description__nre,omitempty"` - DescriptionRe *[]string `json:"description__re,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + // Clusters Clusters (name or ID) + Clusters *[]openapi_types.UUID `form:"clusters,omitempty" json:"clusters,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // ClustersN Clusters (name or ID) + ClustersN *[]openapi_types.UUID `form:"clusters__n,omitempty" json:"clusters__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // HasClusters Has clusters + HasClusters *bool `form:"has_clusters,omitempty" json:"has_clusters,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` } // VirtualizationClusterGroupsBulkPartialUpdateJSONBody defines parameters for VirtualizationClusterGroupsBulkPartialUpdate. -type VirtualizationClusterGroupsBulkPartialUpdateJSONBody PatchedClusterGroup - -// VirtualizationClusterGroupsCreateJSONBody defines parameters for VirtualizationClusterGroupsCreate. -type VirtualizationClusterGroupsCreateJSONBody ClusterGroup +type VirtualizationClusterGroupsBulkPartialUpdateJSONBody = []PatchedBulkWritableClusterGroupRequest // VirtualizationClusterGroupsBulkUpdateJSONBody defines parameters for VirtualizationClusterGroupsBulkUpdate. -type VirtualizationClusterGroupsBulkUpdateJSONBody ClusterGroup +type VirtualizationClusterGroupsBulkUpdateJSONBody = []BulkWritableClusterGroupRequest -// VirtualizationClusterGroupsPartialUpdateJSONBody defines parameters for VirtualizationClusterGroupsPartialUpdate. -type VirtualizationClusterGroupsPartialUpdateJSONBody PatchedClusterGroup +// VirtualizationClusterGroupsNotesListParams defines parameters for VirtualizationClusterGroupsNotesList. +type VirtualizationClusterGroupsNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// VirtualizationClusterGroupsUpdateJSONBody defines parameters for VirtualizationClusterGroupsUpdate. -type VirtualizationClusterGroupsUpdateJSONBody ClusterGroup + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// VirtualizationClusterTypesBulkDestroyJSONBody defines parameters for VirtualizationClusterTypesBulkDestroy. +type VirtualizationClusterTypesBulkDestroyJSONBody = []BulkOperationRequest // VirtualizationClusterTypesListParams defines parameters for VirtualizationClusterTypesList. type VirtualizationClusterTypesListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Description *[]string `json:"description,omitempty"` - DescriptionIc *[]string `json:"description__ic,omitempty"` - DescriptionIe *[]string `json:"description__ie,omitempty"` - DescriptionIew *[]string `json:"description__iew,omitempty"` - DescriptionIre *[]string `json:"description__ire,omitempty"` - DescriptionIsw *[]string `json:"description__isw,omitempty"` - DescriptionN *[]string `json:"description__n,omitempty"` - DescriptionNic *[]string `json:"description__nic,omitempty"` - DescriptionNie *[]string `json:"description__nie,omitempty"` - DescriptionNiew *[]string `json:"description__niew,omitempty"` - DescriptionNire *[]string `json:"description__nire,omitempty"` - DescriptionNisw *[]string `json:"description__nisw,omitempty"` - DescriptionNre *[]string `json:"description__nre,omitempty"` - DescriptionRe *[]string `json:"description__re,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + // Clusters Clusters (name or ID) + Clusters *[]openapi_types.UUID `form:"clusters,omitempty" json:"clusters,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // ClustersN Clusters (name or ID) + ClustersN *[]openapi_types.UUID `form:"clusters__n,omitempty" json:"clusters__n,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // HasClusters Has clusters + HasClusters *bool `form:"has_clusters,omitempty" json:"has_clusters,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Slug *[]string `json:"slug,omitempty"` - SlugIc *[]string `json:"slug__ic,omitempty"` - SlugIe *[]string `json:"slug__ie,omitempty"` - SlugIew *[]string `json:"slug__iew,omitempty"` - SlugIre *[]string `json:"slug__ire,omitempty"` - SlugIsw *[]string `json:"slug__isw,omitempty"` - SlugN *[]string `json:"slug__n,omitempty"` - SlugNic *[]string `json:"slug__nic,omitempty"` - SlugNie *[]string `json:"slug__nie,omitempty"` - SlugNiew *[]string `json:"slug__niew,omitempty"` - SlugNire *[]string `json:"slug__nire,omitempty"` - SlugNisw *[]string `json:"slug__nisw,omitempty"` - SlugNre *[]string `json:"slug__nre,omitempty"` - SlugRe *[]string `json:"slug__re,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Slug *[]string `form:"slug,omitempty" json:"slug,omitempty"` + SlugIc *[]string `form:"slug__ic,omitempty" json:"slug__ic,omitempty"` + SlugIe *[]string `form:"slug__ie,omitempty" json:"slug__ie,omitempty"` + SlugIew *[]string `form:"slug__iew,omitempty" json:"slug__iew,omitempty"` + SlugIre *[]string `form:"slug__ire,omitempty" json:"slug__ire,omitempty"` + SlugIsw *[]string `form:"slug__isw,omitempty" json:"slug__isw,omitempty"` + SlugN *[]string `form:"slug__n,omitempty" json:"slug__n,omitempty"` + SlugNic *[]string `form:"slug__nic,omitempty" json:"slug__nic,omitempty"` + SlugNie *[]string `form:"slug__nie,omitempty" json:"slug__nie,omitempty"` + SlugNiew *[]string `form:"slug__niew,omitempty" json:"slug__niew,omitempty"` + SlugNire *[]string `form:"slug__nire,omitempty" json:"slug__nire,omitempty"` + SlugNisw *[]string `form:"slug__nisw,omitempty" json:"slug__nisw,omitempty"` + SlugNre *[]string `form:"slug__nre,omitempty" json:"slug__nre,omitempty"` + SlugRe *[]string `form:"slug__re,omitempty" json:"slug__re,omitempty"` } // VirtualizationClusterTypesBulkPartialUpdateJSONBody defines parameters for VirtualizationClusterTypesBulkPartialUpdate. -type VirtualizationClusterTypesBulkPartialUpdateJSONBody PatchedClusterType - -// VirtualizationClusterTypesCreateJSONBody defines parameters for VirtualizationClusterTypesCreate. -type VirtualizationClusterTypesCreateJSONBody ClusterType +type VirtualizationClusterTypesBulkPartialUpdateJSONBody = []PatchedBulkWritableClusterTypeRequest // VirtualizationClusterTypesBulkUpdateJSONBody defines parameters for VirtualizationClusterTypesBulkUpdate. -type VirtualizationClusterTypesBulkUpdateJSONBody ClusterType +type VirtualizationClusterTypesBulkUpdateJSONBody = []BulkWritableClusterTypeRequest -// VirtualizationClusterTypesPartialUpdateJSONBody defines parameters for VirtualizationClusterTypesPartialUpdate. -type VirtualizationClusterTypesPartialUpdateJSONBody PatchedClusterType +// VirtualizationClusterTypesNotesListParams defines parameters for VirtualizationClusterTypesNotesList. +type VirtualizationClusterTypesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// VirtualizationClusterTypesUpdateJSONBody defines parameters for VirtualizationClusterTypesUpdate. -type VirtualizationClusterTypesUpdateJSONBody ClusterType + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// VirtualizationClustersBulkDestroyJSONBody defines parameters for VirtualizationClustersBulkDestroy. +type VirtualizationClustersBulkDestroyJSONBody = []BulkOperationRequest // VirtualizationClustersListParams defines parameters for VirtualizationClustersList. type VirtualizationClustersListParams struct { - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` + Comments *[]string `form:"comments,omitempty" json:"comments,omitempty"` + CommentsIc *[]string `form:"comments__ic,omitempty" json:"comments__ic,omitempty"` + CommentsIe *[]string `form:"comments__ie,omitempty" json:"comments__ie,omitempty"` + CommentsIew *[]string `form:"comments__iew,omitempty" json:"comments__iew,omitempty"` + CommentsIre *[]string `form:"comments__ire,omitempty" json:"comments__ire,omitempty"` + CommentsIsw *[]string `form:"comments__isw,omitempty" json:"comments__isw,omitempty"` + CommentsN *[]string `form:"comments__n,omitempty" json:"comments__n,omitempty"` + CommentsNic *[]string `form:"comments__nic,omitempty" json:"comments__nic,omitempty"` + CommentsNie *[]string `form:"comments__nie,omitempty" json:"comments__nie,omitempty"` + CommentsNiew *[]string `form:"comments__niew,omitempty" json:"comments__niew,omitempty"` + CommentsNire *[]string `form:"comments__nire,omitempty" json:"comments__nire,omitempty"` + CommentsNisw *[]string `form:"comments__nisw,omitempty" json:"comments__nisw,omitempty"` + CommentsNre *[]string `form:"comments__nre,omitempty" json:"comments__nre,omitempty"` + CommentsRe *[]string `form:"comments__re,omitempty" json:"comments__re,omitempty"` + Created *openapi_types.Date `form:"created,omitempty" json:"created,omitempty"` + CreatedGte *openapi_types.Date `form:"created__gte,omitempty" json:"created__gte,omitempty"` + CreatedLte *openapi_types.Date `form:"created__lte,omitempty" json:"created__lte,omitempty"` - // Parent group (slug) - Group *[]string `json:"group,omitempty"` + // Devices Devices (name or ID) + Devices *[]openapi_types.UUID `form:"devices,omitempty" json:"devices,omitempty"` - // Parent group (slug) - GroupN *[]string `json:"group__n,omitempty"` + // DevicesN Devices (name or ID) + DevicesN *[]openapi_types.UUID `form:"devices__n,omitempty" json:"devices__n,omitempty"` - // Parent group (ID) - GroupId *[]openapi_types.UUID `json:"group_id,omitempty"` + // Group Parent group (slug) + Group *[]string `form:"group,omitempty" json:"group,omitempty"` - // Parent group (ID) - GroupIdN *[]openapi_types.UUID `json:"group_id__n,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + // GroupN Parent group (slug) + GroupN *[]string `form:"group__n,omitempty" json:"group__n,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // GroupId Parent group (ID) + GroupId *[]openapi_types.UUID `form:"group_id,omitempty" json:"group_id,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // GroupIdN Parent group (ID) + GroupIdN *[]openapi_types.UUID `form:"group_id__n,omitempty" json:"group_id__n,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // HasDevices Has devices + HasDevices *bool `form:"has_devices,omitempty" json:"has_devices,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // HasVirtualMachines Has virtual machines + HasVirtualMachines *bool `form:"has_virtual_machines,omitempty" json:"has_virtual_machines,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` + LastUpdated *time.Time `form:"last_updated,omitempty" json:"last_updated,omitempty"` + LastUpdatedGte *time.Time `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` + LastUpdatedLte *time.Time `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // Location Location (slug or ID) + Location *[]openapi_types.UUID `form:"location,omitempty" json:"location,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // LocationN Location (slug or ID) + LocationN *[]openapi_types.UUID `form:"location__n,omitempty" json:"location__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` - // Site (slug) - Site *[]string `json:"site,omitempty"` + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` - // Site (slug) - SiteN *[]string `json:"site__n,omitempty"` + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // Region Region (slug or ID) + Region *[]openapi_types.UUID `form:"region,omitempty" json:"region,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // RegionN Region (slug or ID) + RegionN *[]openapi_types.UUID `form:"region__n,omitempty" json:"region__n,omitempty"` - // Tenant (slug) - Tenant *[]string `json:"tenant,omitempty"` + // RegionId Region (ID) (deprecated, use "region" filter instead) + RegionId *[]openapi_types.UUID `form:"region_id,omitempty" json:"region_id,omitempty"` - // Tenant (slug) - TenantN *[]string `json:"tenant__n,omitempty"` + // RegionIdN Region (ID) (deprecated, use "region" filter instead) + RegionIdN *[]openapi_types.UUID `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` - // Tenant Group (slug) - TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + // Site Site (slug or ID) + Site *[]openapi_types.UUID `form:"site,omitempty" json:"site,omitempty"` - // Tenant Group (slug) - TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + // SiteN Site (slug or ID) + SiteN *[]openapi_types.UUID `form:"site__n,omitempty" json:"site__n,omitempty"` - // Tenant Group (ID) - TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + // SiteId Site (ID) (deprecated, use "site" filter instead) + SiteId *[]openapi_types.UUID `form:"site_id,omitempty" json:"site_id,omitempty"` - // Tenant Group (ID) - TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + // SiteIdN Site (ID) (deprecated, use "site" filter instead) + SiteIdN *[]openapi_types.UUID `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` - // Tenant (ID) - TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + // Tenant Tenant (slug or ID) + Tenant *[]openapi_types.UUID `form:"tenant,omitempty" json:"tenant,omitempty"` - // Tenant (ID) - TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` + // TenantN Tenant (slug or ID) + TenantN *[]openapi_types.UUID `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` - // Cluster type (slug) - Type *[]string `json:"type,omitempty"` + // TenantGroup Tenant Group (slug) + TenantGroup *[]openapi_types.UUID `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` - // Cluster type (slug) - TypeN *[]string `json:"type__n,omitempty"` + // TenantGroupN Tenant Group (slug) + TenantGroupN *[]openapi_types.UUID `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` - // Cluster type (ID) - TypeId *[]openapi_types.UUID `json:"type_id,omitempty"` + // TenantGroupId Tenant Group (ID) + TenantGroupId *[]openapi_types.UUID `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` - // Cluster type (ID) - TypeIdN *[]openapi_types.UUID `json:"type_id__n,omitempty"` + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *[]openapi_types.UUID `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) (deprecated, use "tenant" filter instead) + TenantId *[]openapi_types.UUID `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) (deprecated, use "tenant" filter instead) + TenantIdN *[]openapi_types.UUID `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + + // Type Cluster type (slug) + Type *[]string `form:"type,omitempty" json:"type,omitempty"` + + // TypeN Cluster type (slug) + TypeN *[]string `form:"type__n,omitempty" json:"type__n,omitempty"` + + // TypeId Cluster type (ID) + TypeId *[]openapi_types.UUID `form:"type_id,omitempty" json:"type_id,omitempty"` + + // TypeIdN Cluster type (ID) + TypeIdN *[]openapi_types.UUID `form:"type_id__n,omitempty" json:"type_id__n,omitempty"` + + // VirtualMachines Virtual machines (name or ID) + VirtualMachines *[]openapi_types.UUID `form:"virtual_machines,omitempty" json:"virtual_machines,omitempty"` + + // VirtualMachinesN Virtual machines (name or ID) + VirtualMachinesN *[]openapi_types.UUID `form:"virtual_machines__n,omitempty" json:"virtual_machines__n,omitempty"` } // VirtualizationClustersBulkPartialUpdateJSONBody defines parameters for VirtualizationClustersBulkPartialUpdate. -type VirtualizationClustersBulkPartialUpdateJSONBody PatchedWritableCluster - -// VirtualizationClustersCreateJSONBody defines parameters for VirtualizationClustersCreate. -type VirtualizationClustersCreateJSONBody WritableCluster +type VirtualizationClustersBulkPartialUpdateJSONBody = []PatchedBulkWritableClusterRequest // VirtualizationClustersBulkUpdateJSONBody defines parameters for VirtualizationClustersBulkUpdate. -type VirtualizationClustersBulkUpdateJSONBody WritableCluster +type VirtualizationClustersBulkUpdateJSONBody = []BulkWritableClusterRequest -// VirtualizationClustersPartialUpdateJSONBody defines parameters for VirtualizationClustersPartialUpdate. -type VirtualizationClustersPartialUpdateJSONBody PatchedWritableCluster +// VirtualizationClustersNotesListParams defines parameters for VirtualizationClustersNotesList. +type VirtualizationClustersNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// VirtualizationClustersUpdateJSONBody defines parameters for VirtualizationClustersUpdate. -type VirtualizationClustersUpdateJSONBody WritableCluster + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// VirtualizationInterfacesBulkDestroyJSONBody defines parameters for VirtualizationInterfacesBulkDestroy. +type VirtualizationInterfacesBulkDestroyJSONBody = []BulkOperationRequest // VirtualizationInterfacesListParams defines parameters for VirtualizationInterfacesList. type VirtualizationInterfacesListParams struct { - // Cluster - Cluster *[]string `json:"cluster,omitempty"` + // Bridge Bridge interface (name or ID) + Bridge *[]openapi_types.UUID `form:"bridge,omitempty" json:"bridge,omitempty"` - // Cluster - ClusterN *[]string `json:"cluster__n,omitempty"` + // BridgeN Bridge interface (name or ID) + BridgeN *[]openapi_types.UUID `form:"bridge__n,omitempty" json:"bridge__n,omitempty"` - // Cluster (ID) - ClusterId *[]openapi_types.UUID `json:"cluster_id,omitempty"` + // BridgedInterfaces Bridged interfaces (name or ID) + BridgedInterfaces *[]openapi_types.UUID `form:"bridged_interfaces,omitempty" json:"bridged_interfaces,omitempty"` - // Cluster (ID) - ClusterIdN *[]openapi_types.UUID `json:"cluster_id__n,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` + // BridgedInterfacesN Bridged interfaces (name or ID) + BridgedInterfacesN *[]openapi_types.UUID `form:"bridged_interfaces__n,omitempty" json:"bridged_interfaces__n,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // ChildInterfaces Child interfaces (name or ID) + ChildInterfaces *[]openapi_types.UUID `form:"child_interfaces,omitempty" json:"child_interfaces,omitempty"` - // MAC address - MacAddress *[]string `json:"mac_address,omitempty"` + // ChildInterfacesN Child interfaces (name or ID) + ChildInterfacesN *[]openapi_types.UUID `form:"child_interfaces__n,omitempty" json:"child_interfaces__n,omitempty"` - // MAC address - MacAddressIc *[]string `json:"mac_address__ic,omitempty"` + // Cluster Cluster + Cluster *[]string `form:"cluster,omitempty" json:"cluster,omitempty"` - // MAC address - MacAddressIe *[]string `json:"mac_address__ie,omitempty"` + // ClusterN Cluster + ClusterN *[]string `form:"cluster__n,omitempty" json:"cluster__n,omitempty"` - // MAC address - MacAddressIew *[]string `json:"mac_address__iew,omitempty"` + // ClusterId Cluster (ID) + ClusterId *[]openapi_types.UUID `form:"cluster_id,omitempty" json:"cluster_id,omitempty"` - // MAC address - MacAddressIre *[]string `json:"mac_address__ire,omitempty"` + // ClusterIdN Cluster (ID) + ClusterIdN *[]openapi_types.UUID `form:"cluster_id__n,omitempty" json:"cluster_id__n,omitempty"` + Description *[]string `form:"description,omitempty" json:"description,omitempty"` + DescriptionIc *[]string `form:"description__ic,omitempty" json:"description__ic,omitempty"` + DescriptionIe *[]string `form:"description__ie,omitempty" json:"description__ie,omitempty"` + DescriptionIew *[]string `form:"description__iew,omitempty" json:"description__iew,omitempty"` + DescriptionIre *[]string `form:"description__ire,omitempty" json:"description__ire,omitempty"` + DescriptionIsw *[]string `form:"description__isw,omitempty" json:"description__isw,omitempty"` + DescriptionN *[]string `form:"description__n,omitempty" json:"description__n,omitempty"` + DescriptionNic *[]string `form:"description__nic,omitempty" json:"description__nic,omitempty"` + DescriptionNie *[]string `form:"description__nie,omitempty" json:"description__nie,omitempty"` + DescriptionNiew *[]string `form:"description__niew,omitempty" json:"description__niew,omitempty"` + DescriptionNire *[]string `form:"description__nire,omitempty" json:"description__nire,omitempty"` + DescriptionNisw *[]string `form:"description__nisw,omitempty" json:"description__nisw,omitempty"` + DescriptionNre *[]string `form:"description__nre,omitempty" json:"description__nre,omitempty"` + DescriptionRe *[]string `form:"description__re,omitempty" json:"description__re,omitempty"` + Enabled *bool `form:"enabled,omitempty" json:"enabled,omitempty"` - // MAC address - MacAddressIsw *[]string `json:"mac_address__isw,omitempty"` + // HasBridgedInterfaces Has Bridged Interfaces + HasBridgedInterfaces *bool `form:"has_bridged_interfaces,omitempty" json:"has_bridged_interfaces,omitempty"` - // MAC address - MacAddressN *[]string `json:"mac_address__n,omitempty"` + // HasChildInterfaces Has child interfaces + HasChildInterfaces *bool `form:"has_child_interfaces,omitempty" json:"has_child_interfaces,omitempty"` - // MAC address - MacAddressNic *[]string `json:"mac_address__nic,omitempty"` + // HasIpAddresses Has IP addresses + HasIpAddresses *bool `form:"has_ip_addresses,omitempty" json:"has_ip_addresses,omitempty"` - // MAC address - MacAddressNie *[]string `json:"mac_address__nie,omitempty"` + // HasTaggedVlans Has Tagged VLANs + HasTaggedVlans *bool `form:"has_tagged_vlans,omitempty" json:"has_tagged_vlans,omitempty"` + Id *[]openapi_types.UUID `form:"id,omitempty" json:"id,omitempty"` + IdIc *[]openapi_types.UUID `form:"id__ic,omitempty" json:"id__ic,omitempty"` + IdIe *[]openapi_types.UUID `form:"id__ie,omitempty" json:"id__ie,omitempty"` + IdIew *[]openapi_types.UUID `form:"id__iew,omitempty" json:"id__iew,omitempty"` + IdIre *[]openapi_types.UUID `form:"id__ire,omitempty" json:"id__ire,omitempty"` + IdIsw *[]openapi_types.UUID `form:"id__isw,omitempty" json:"id__isw,omitempty"` + IdN *[]openapi_types.UUID `form:"id__n,omitempty" json:"id__n,omitempty"` + IdNic *[]openapi_types.UUID `form:"id__nic,omitempty" json:"id__nic,omitempty"` + IdNie *[]openapi_types.UUID `form:"id__nie,omitempty" json:"id__nie,omitempty"` + IdNiew *[]openapi_types.UUID `form:"id__niew,omitempty" json:"id__niew,omitempty"` + IdNire *[]openapi_types.UUID `form:"id__nire,omitempty" json:"id__nire,omitempty"` + IdNisw *[]openapi_types.UUID `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` + IdNre *[]openapi_types.UUID `form:"id__nre,omitempty" json:"id__nre,omitempty"` + IdRe *[]openapi_types.UUID `form:"id__re,omitempty" json:"id__re,omitempty"` - // MAC address - MacAddressNiew *[]string `json:"mac_address__niew,omitempty"` + // IpAddresses IP addresses (address or ID) + IpAddresses *[]string `form:"ip_addresses,omitempty" json:"ip_addresses,omitempty"` - // MAC address - MacAddressNire *[]string `json:"mac_address__nire,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` - // MAC address - MacAddressNisw *[]string `json:"mac_address__nisw,omitempty"` + // MacAddress MAC address + MacAddress *[]string `form:"mac_address,omitempty" json:"mac_address,omitempty"` - // MAC address - MacAddressNre *[]string `json:"mac_address__nre,omitempty"` + // MacAddressIc MAC address + MacAddressIc *[]string `form:"mac_address__ic,omitempty" json:"mac_address__ic,omitempty"` - // MAC address - MacAddressRe *[]string `json:"mac_address__re,omitempty"` - Mtu *[]int `json:"mtu,omitempty"` - MtuGt *[]int `json:"mtu__gt,omitempty"` - MtuGte *[]int `json:"mtu__gte,omitempty"` - MtuLt *[]int `json:"mtu__lt,omitempty"` - MtuLte *[]int `json:"mtu__lte,omitempty"` - MtuN *[]int `json:"mtu__n,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // MacAddressIe MAC address + MacAddressIe *[]string `form:"mac_address__ie,omitempty" json:"mac_address__ie,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // MacAddressIew MAC address + MacAddressIew *[]string `form:"mac_address__iew,omitempty" json:"mac_address__iew,omitempty"` - // Search - Q *string `json:"q,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // MacAddressIre MAC address + MacAddressIre *[]string `form:"mac_address__ire,omitempty" json:"mac_address__ire,omitempty"` - // Virtual machine - VirtualMachine *[]string `json:"virtual_machine,omitempty"` + // MacAddressIsw MAC address + MacAddressIsw *[]string `form:"mac_address__isw,omitempty" json:"mac_address__isw,omitempty"` - // Virtual machine - VirtualMachineN *[]string `json:"virtual_machine__n,omitempty"` + // MacAddressN MAC address + MacAddressN *[]string `form:"mac_address__n,omitempty" json:"mac_address__n,omitempty"` - // Virtual machine (ID) - VirtualMachineId *[]openapi_types.UUID `json:"virtual_machine_id,omitempty"` + // MacAddressNic MAC address + MacAddressNic *[]string `form:"mac_address__nic,omitempty" json:"mac_address__nic,omitempty"` - // Virtual machine (ID) - VirtualMachineIdN *[]openapi_types.UUID `json:"virtual_machine_id__n,omitempty"` + // MacAddressNie MAC address + MacAddressNie *[]string `form:"mac_address__nie,omitempty" json:"mac_address__nie,omitempty"` + + // MacAddressNiew MAC address + MacAddressNiew *[]string `form:"mac_address__niew,omitempty" json:"mac_address__niew,omitempty"` + + // MacAddressNire MAC address + MacAddressNire *[]string `form:"mac_address__nire,omitempty" json:"mac_address__nire,omitempty"` + + // MacAddressNisw MAC address + MacAddressNisw *[]string `form:"mac_address__nisw,omitempty" json:"mac_address__nisw,omitempty"` + + // MacAddressNre MAC address + MacAddressNre *[]string `form:"mac_address__nre,omitempty" json:"mac_address__nre,omitempty"` + + // MacAddressRe MAC address + MacAddressRe *[]string `form:"mac_address__re,omitempty" json:"mac_address__re,omitempty"` + Mode *string `form:"mode,omitempty" json:"mode,omitempty"` + ModeN *string `form:"mode__n,omitempty" json:"mode__n,omitempty"` + Mtu *[]int `form:"mtu,omitempty" json:"mtu,omitempty"` + MtuGt *[]int `form:"mtu__gt,omitempty" json:"mtu__gt,omitempty"` + MtuGte *[]int `form:"mtu__gte,omitempty" json:"mtu__gte,omitempty"` + MtuLt *[]int `form:"mtu__lt,omitempty" json:"mtu__lt,omitempty"` + MtuLte *[]int `form:"mtu__lte,omitempty" json:"mtu__lte,omitempty"` + MtuN *[]int `form:"mtu__n,omitempty" json:"mtu__n,omitempty"` + Name *[]string `form:"name,omitempty" json:"name,omitempty"` + NameIc *[]string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + NameIe *[]string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + NameIew *[]string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + NameIre *[]string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + NameIsw *[]string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + NameN *[]string `form:"name__n,omitempty" json:"name__n,omitempty"` + NameNic *[]string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + NameNie *[]string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + NameNiew *[]string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + NameNire *[]string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + NameNisw *[]string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + NameNre *[]string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + NameRe *[]string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // ParentInterface Parent interface (name or ID) + ParentInterface *[]openapi_types.UUID `form:"parent_interface,omitempty" json:"parent_interface,omitempty"` + + // ParentInterfaceN Parent interface (name or ID) + ParentInterfaceN *[]openapi_types.UUID `form:"parent_interface__n,omitempty" json:"parent_interface__n,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + Status *[]openapi_types.UUID `form:"status,omitempty" json:"status,omitempty"` + StatusN *[]openapi_types.UUID `form:"status__n,omitempty" json:"status__n,omitempty"` + Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"` + TagN *[]string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // TaggedVlans Tagged VLANs (VID or ID) + TaggedVlans *[]openapi_types.UUID `form:"tagged_vlans,omitempty" json:"tagged_vlans,omitempty"` + + // TaggedVlansN Tagged VLANs (VID or ID) + TaggedVlansN *[]openapi_types.UUID `form:"tagged_vlans__n,omitempty" json:"tagged_vlans__n,omitempty"` + + // UntaggedVlan Untagged VLAN (VID or ID) + UntaggedVlan *[]openapi_types.UUID `form:"untagged_vlan,omitempty" json:"untagged_vlan,omitempty"` + + // UntaggedVlanN Untagged VLAN (VID or ID) + UntaggedVlanN *[]openapi_types.UUID `form:"untagged_vlan__n,omitempty" json:"untagged_vlan__n,omitempty"` + + // VirtualMachine Virtual machine + VirtualMachine *[]string `form:"virtual_machine,omitempty" json:"virtual_machine,omitempty"` + + // VirtualMachineN Virtual machine + VirtualMachineN *[]string `form:"virtual_machine__n,omitempty" json:"virtual_machine__n,omitempty"` + + // VirtualMachineId Virtual machine (ID) + VirtualMachineId *[]openapi_types.UUID `form:"virtual_machine_id,omitempty" json:"virtual_machine_id,omitempty"` + + // VirtualMachineIdN Virtual machine (ID) + VirtualMachineIdN *[]openapi_types.UUID `form:"virtual_machine_id__n,omitempty" json:"virtual_machine_id__n,omitempty"` } // VirtualizationInterfacesBulkPartialUpdateJSONBody defines parameters for VirtualizationInterfacesBulkPartialUpdate. -type VirtualizationInterfacesBulkPartialUpdateJSONBody PatchedWritableVMInterface - -// VirtualizationInterfacesCreateJSONBody defines parameters for VirtualizationInterfacesCreate. -type VirtualizationInterfacesCreateJSONBody WritableVMInterface +type VirtualizationInterfacesBulkPartialUpdateJSONBody = []PatchedBulkWritableVMInterfaceRequest // VirtualizationInterfacesBulkUpdateJSONBody defines parameters for VirtualizationInterfacesBulkUpdate. -type VirtualizationInterfacesBulkUpdateJSONBody WritableVMInterface +type VirtualizationInterfacesBulkUpdateJSONBody = []BulkWritableVMInterfaceRequest -// VirtualizationInterfacesPartialUpdateJSONBody defines parameters for VirtualizationInterfacesPartialUpdate. -type VirtualizationInterfacesPartialUpdateJSONBody PatchedWritableVMInterface +// VirtualizationInterfacesNotesListParams defines parameters for VirtualizationInterfacesNotesList. +type VirtualizationInterfacesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// VirtualizationInterfacesUpdateJSONBody defines parameters for VirtualizationInterfacesUpdate. -type VirtualizationInterfacesUpdateJSONBody WritableVMInterface + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// VirtualizationVirtualMachinesBulkDestroyJSONBody defines parameters for VirtualizationVirtualMachinesBulkDestroy. +type VirtualizationVirtualMachinesBulkDestroyJSONBody = []BulkOperationRequest // VirtualizationVirtualMachinesListParams defines parameters for VirtualizationVirtualMachinesList. type VirtualizationVirtualMachinesListParams struct { - Cluster *openapi_types.UUID `json:"cluster,omitempty"` - ClusterN *openapi_types.UUID `json:"cluster__n,omitempty"` + // Cluster cluster + Cluster *string `form:"cluster,omitempty" json:"cluster,omitempty"` - // Cluster group (slug) - ClusterGroup *[]string `json:"cluster_group,omitempty"` + // ClusterN cluster__n + ClusterN *string `form:"cluster__n,omitempty" json:"cluster__n,omitempty"` - // Cluster group (slug) - ClusterGroupN *[]string `json:"cluster_group__n,omitempty"` + // ClusterGroup Cluster group (slug) + ClusterGroup *string `form:"cluster_group,omitempty" json:"cluster_group,omitempty"` - // Cluster group (ID) - ClusterGroupId *[]openapi_types.UUID `json:"cluster_group_id,omitempty"` + // ClusterGroupN Cluster group (slug) + ClusterGroupN *string `form:"cluster_group__n,omitempty" json:"cluster_group__n,omitempty"` - // Cluster group (ID) - ClusterGroupIdN *[]openapi_types.UUID `json:"cluster_group_id__n,omitempty"` + // ClusterGroupId Cluster group (ID) + ClusterGroupId *string `form:"cluster_group_id,omitempty" json:"cluster_group_id,omitempty"` - // Cluster (ID) - ClusterId *[]openapi_types.UUID `json:"cluster_id,omitempty"` + // ClusterGroupIdN Cluster group (ID) + ClusterGroupIdN *string `form:"cluster_group_id__n,omitempty" json:"cluster_group_id__n,omitempty"` - // Cluster (ID) - ClusterIdN *[]openapi_types.UUID `json:"cluster_id__n,omitempty"` + // ClusterId Cluster (ID) + ClusterId *string `form:"cluster_id,omitempty" json:"cluster_id,omitempty"` - // Cluster type (slug) - ClusterType *[]string `json:"cluster_type,omitempty"` + // ClusterIdN Cluster (ID) + ClusterIdN *string `form:"cluster_id__n,omitempty" json:"cluster_id__n,omitempty"` - // Cluster type (slug) - ClusterTypeN *[]string `json:"cluster_type__n,omitempty"` + // ClusterType Cluster type (slug) + ClusterType *string `form:"cluster_type,omitempty" json:"cluster_type,omitempty"` - // Cluster type (ID) - ClusterTypeId *[]openapi_types.UUID `json:"cluster_type_id,omitempty"` + // ClusterTypeN Cluster type (slug) + ClusterTypeN *string `form:"cluster_type__n,omitempty" json:"cluster_type__n,omitempty"` - // Cluster type (ID) - ClusterTypeIdN *[]openapi_types.UUID `json:"cluster_type_id__n,omitempty"` - Created *openapi_types.Date `json:"created,omitempty"` - CreatedGte *openapi_types.Date `json:"created__gte,omitempty"` - CreatedLte *openapi_types.Date `json:"created__lte,omitempty"` - Disk *[]int `json:"disk,omitempty"` - DiskGt *[]int `json:"disk__gt,omitempty"` - DiskGte *[]int `json:"disk__gte,omitempty"` - DiskLt *[]int `json:"disk__lt,omitempty"` - DiskLte *[]int `json:"disk__lte,omitempty"` - DiskN *[]int `json:"disk__n,omitempty"` + // ClusterTypeId Cluster type (ID) + ClusterTypeId *string `form:"cluster_type_id,omitempty" json:"cluster_type_id,omitempty"` - // Has a primary IP - HasPrimaryIp *bool `json:"has_primary_ip,omitempty"` - Id *[]openapi_types.UUID `json:"id,omitempty"` - IdIc *[]openapi_types.UUID `json:"id__ic,omitempty"` - IdIe *[]openapi_types.UUID `json:"id__ie,omitempty"` - IdIew *[]openapi_types.UUID `json:"id__iew,omitempty"` - IdIre *[]openapi_types.UUID `json:"id__ire,omitempty"` - IdIsw *[]openapi_types.UUID `json:"id__isw,omitempty"` - IdN *[]openapi_types.UUID `json:"id__n,omitempty"` - IdNic *[]openapi_types.UUID `json:"id__nic,omitempty"` - IdNie *[]openapi_types.UUID `json:"id__nie,omitempty"` - IdNiew *[]openapi_types.UUID `json:"id__niew,omitempty"` - IdNire *[]openapi_types.UUID `json:"id__nire,omitempty"` - IdNisw *[]openapi_types.UUID `json:"id__nisw,omitempty"` - IdNre *[]openapi_types.UUID `json:"id__nre,omitempty"` - IdRe *[]openapi_types.UUID `json:"id__re,omitempty"` - LastUpdated *time.Time `json:"last_updated,omitempty"` - LastUpdatedGte *time.Time `json:"last_updated__gte,omitempty"` - LastUpdatedLte *time.Time `json:"last_updated__lte,omitempty"` + // ClusterTypeIdN Cluster type (ID) + ClusterTypeIdN *string `form:"cluster_type_id__n,omitempty" json:"cluster_type_id__n,omitempty"` - // Number of results to return per page. - Limit *int `json:"limit,omitempty"` + // Comments comments + Comments *string `form:"comments,omitempty" json:"comments,omitempty"` - // Has local config context data - LocalContextData *bool `json:"local_context_data,omitempty"` + // CommentsIc comments__ic + CommentsIc *string `form:"comments__ic,omitempty" json:"comments__ic,omitempty"` - // Schema (slug) - LocalContextSchema *[]string `json:"local_context_schema,omitempty"` + // CommentsIe comments__ie + CommentsIe *string `form:"comments__ie,omitempty" json:"comments__ie,omitempty"` - // Schema (slug) - LocalContextSchemaN *[]string `json:"local_context_schema__n,omitempty"` + // CommentsIew comments__iew + CommentsIew *string `form:"comments__iew,omitempty" json:"comments__iew,omitempty"` - // Schema (ID) - LocalContextSchemaId *[]openapi_types.UUID `json:"local_context_schema_id,omitempty"` + // CommentsIre comments__ire + CommentsIre *string `form:"comments__ire,omitempty" json:"comments__ire,omitempty"` - // Schema (ID) - LocalContextSchemaIdN *[]openapi_types.UUID `json:"local_context_schema_id__n,omitempty"` + // CommentsIsw comments__isw + CommentsIsw *string `form:"comments__isw,omitempty" json:"comments__isw,omitempty"` - // MAC address - MacAddress *[]string `json:"mac_address,omitempty"` + // CommentsN comments__n + CommentsN *string `form:"comments__n,omitempty" json:"comments__n,omitempty"` - // MAC address - MacAddressIc *[]string `json:"mac_address__ic,omitempty"` + // CommentsNic comments__nic + CommentsNic *string `form:"comments__nic,omitempty" json:"comments__nic,omitempty"` - // MAC address - MacAddressIe *[]string `json:"mac_address__ie,omitempty"` + // CommentsNie comments__nie + CommentsNie *string `form:"comments__nie,omitempty" json:"comments__nie,omitempty"` - // MAC address - MacAddressIew *[]string `json:"mac_address__iew,omitempty"` + // CommentsNiew comments__niew + CommentsNiew *string `form:"comments__niew,omitempty" json:"comments__niew,omitempty"` - // MAC address - MacAddressIre *[]string `json:"mac_address__ire,omitempty"` + // CommentsNire comments__nire + CommentsNire *string `form:"comments__nire,omitempty" json:"comments__nire,omitempty"` - // MAC address - MacAddressIsw *[]string `json:"mac_address__isw,omitempty"` + // CommentsNisw comments__nisw + CommentsNisw *string `form:"comments__nisw,omitempty" json:"comments__nisw,omitempty"` - // MAC address - MacAddressN *[]string `json:"mac_address__n,omitempty"` + // CommentsNre comments__nre + CommentsNre *string `form:"comments__nre,omitempty" json:"comments__nre,omitempty"` - // MAC address - MacAddressNic *[]string `json:"mac_address__nic,omitempty"` + // CommentsRe comments__re + CommentsRe *string `form:"comments__re,omitempty" json:"comments__re,omitempty"` - // MAC address - MacAddressNie *[]string `json:"mac_address__nie,omitempty"` + // Created created + Created *string `form:"created,omitempty" json:"created,omitempty"` - // MAC address - MacAddressNiew *[]string `json:"mac_address__niew,omitempty"` + // CreatedGte created__gte + CreatedGte *string `form:"created__gte,omitempty" json:"created__gte,omitempty"` - // MAC address - MacAddressNire *[]string `json:"mac_address__nire,omitempty"` + // CreatedLte created__lte + CreatedLte *string `form:"created__lte,omitempty" json:"created__lte,omitempty"` - // MAC address - MacAddressNisw *[]string `json:"mac_address__nisw,omitempty"` + // Disk disk + Disk *string `form:"disk,omitempty" json:"disk,omitempty"` - // MAC address - MacAddressNre *[]string `json:"mac_address__nre,omitempty"` + // DiskGt disk__gt + DiskGt *string `form:"disk__gt,omitempty" json:"disk__gt,omitempty"` - // MAC address - MacAddressRe *[]string `json:"mac_address__re,omitempty"` - Memory *[]int `json:"memory,omitempty"` - MemoryGt *[]int `json:"memory__gt,omitempty"` - MemoryGte *[]int `json:"memory__gte,omitempty"` - MemoryLt *[]int `json:"memory__lt,omitempty"` - MemoryLte *[]int `json:"memory__lte,omitempty"` - MemoryN *[]int `json:"memory__n,omitempty"` - Name *[]string `json:"name,omitempty"` - NameIc *[]string `json:"name__ic,omitempty"` - NameIe *[]string `json:"name__ie,omitempty"` - NameIew *[]string `json:"name__iew,omitempty"` - NameIre *[]string `json:"name__ire,omitempty"` - NameIsw *[]string `json:"name__isw,omitempty"` - NameN *[]string `json:"name__n,omitempty"` - NameNic *[]string `json:"name__nic,omitempty"` - NameNie *[]string `json:"name__nie,omitempty"` - NameNiew *[]string `json:"name__niew,omitempty"` - NameNire *[]string `json:"name__nire,omitempty"` - NameNisw *[]string `json:"name__nisw,omitempty"` - NameNre *[]string `json:"name__nre,omitempty"` - NameRe *[]string `json:"name__re,omitempty"` + // DiskGte disk__gte + DiskGte *string `form:"disk__gte,omitempty" json:"disk__gte,omitempty"` - // The initial index from which to return the results. - Offset *int `json:"offset,omitempty"` + // DiskLt disk__lt + DiskLt *string `form:"disk__lt,omitempty" json:"disk__lt,omitempty"` - // Platform (slug) - Platform *[]string `json:"platform,omitempty"` + // DiskLte disk__lte + DiskLte *string `form:"disk__lte,omitempty" json:"disk__lte,omitempty"` - // Platform (slug) - PlatformN *[]string `json:"platform__n,omitempty"` + // DiskN disk__n + DiskN *string `form:"disk__n,omitempty" json:"disk__n,omitempty"` - // Platform (ID) - PlatformId *[]openapi_types.UUID `json:"platform_id,omitempty"` + // HasInterfaces Has interfaces + HasInterfaces *string `form:"has_interfaces,omitempty" json:"has_interfaces,omitempty"` - // Platform (ID) - PlatformIdN *[]openapi_types.UUID `json:"platform_id__n,omitempty"` + // HasPrimaryIp Has a primary IP + HasPrimaryIp *string `form:"has_primary_ip,omitempty" json:"has_primary_ip,omitempty"` - // Search - Q *string `json:"q,omitempty"` + // HasServices Has services + HasServices *string `form:"has_services,omitempty" json:"has_services,omitempty"` - // Region (slug) - Region *[]openapi_types.UUID `json:"region,omitempty"` + // Id id + Id *string `form:"id,omitempty" json:"id,omitempty"` - // Region (slug) - RegionN *[]openapi_types.UUID `json:"region__n,omitempty"` + // IdIc id__ic + IdIc *string `form:"id__ic,omitempty" json:"id__ic,omitempty"` - // Region (ID) - RegionId *[]openapi_types.UUID `json:"region_id,omitempty"` + // IdIe id__ie + IdIe *string `form:"id__ie,omitempty" json:"id__ie,omitempty"` - // Region (ID) - RegionIdN *[]openapi_types.UUID `json:"region_id__n,omitempty"` + // IdIew id__iew + IdIew *string `form:"id__iew,omitempty" json:"id__iew,omitempty"` - // Role (slug) - Role *[]string `json:"role,omitempty"` + // IdIre id__ire + IdIre *string `form:"id__ire,omitempty" json:"id__ire,omitempty"` - // Role (slug) - RoleN *[]string `json:"role__n,omitempty"` + // IdIsw id__isw + IdIsw *string `form:"id__isw,omitempty" json:"id__isw,omitempty"` - // Role (ID) - RoleId *[]openapi_types.UUID `json:"role_id,omitempty"` + // IdN id__n + IdN *string `form:"id__n,omitempty" json:"id__n,omitempty"` - // Role (ID) - RoleIdN *[]openapi_types.UUID `json:"role_id__n,omitempty"` + // IdNic id__nic + IdNic *string `form:"id__nic,omitempty" json:"id__nic,omitempty"` - // Site (slug) - Site *[]string `json:"site,omitempty"` + // IdNie id__nie + IdNie *string `form:"id__nie,omitempty" json:"id__nie,omitempty"` - // Site (slug) - SiteN *[]string `json:"site__n,omitempty"` + // IdNiew id__niew + IdNiew *string `form:"id__niew,omitempty" json:"id__niew,omitempty"` - // Site (ID) - SiteId *[]openapi_types.UUID `json:"site_id,omitempty"` + // IdNire id__nire + IdNire *string `form:"id__nire,omitempty" json:"id__nire,omitempty"` - // Site (ID) - SiteIdN *[]openapi_types.UUID `json:"site_id__n,omitempty"` - Status *[]openapi_types.UUID `json:"status,omitempty"` - StatusN *[]openapi_types.UUID `json:"status__n,omitempty"` - Tag *[]string `json:"tag,omitempty"` - TagN *[]string `json:"tag__n,omitempty"` + // IdNisw id__nisw + IdNisw *string `form:"id__nisw,omitempty" json:"id__nisw,omitempty"` - // Tenant (slug) - Tenant *[]string `json:"tenant,omitempty"` + // IdNre id__nre + IdNre *string `form:"id__nre,omitempty" json:"id__nre,omitempty"` - // Tenant (slug) - TenantN *[]string `json:"tenant__n,omitempty"` + // IdRe id__re + IdRe *string `form:"id__re,omitempty" json:"id__re,omitempty"` - // Tenant Group (slug) - TenantGroup *[]openapi_types.UUID `json:"tenant_group,omitempty"` + // Interfaces Interfaces (name or ID) + Interfaces *string `form:"interfaces,omitempty" json:"interfaces,omitempty"` - // Tenant Group (slug) - TenantGroupN *[]openapi_types.UUID `json:"tenant_group__n,omitempty"` + // InterfacesN Interfaces (name or ID) + InterfacesN *string `form:"interfaces__n,omitempty" json:"interfaces__n,omitempty"` - // Tenant Group (ID) - TenantGroupId *[]openapi_types.UUID `json:"tenant_group_id,omitempty"` + // LastUpdated last_updated + LastUpdated *string `form:"last_updated,omitempty" json:"last_updated,omitempty"` - // Tenant Group (ID) - TenantGroupIdN *[]openapi_types.UUID `json:"tenant_group_id__n,omitempty"` + // LastUpdatedGte last_updated__gte + LastUpdatedGte *string `form:"last_updated__gte,omitempty" json:"last_updated__gte,omitempty"` - // Tenant (ID) - TenantId *[]openapi_types.UUID `json:"tenant_id,omitempty"` + // LastUpdatedLte last_updated__lte + LastUpdatedLte *string `form:"last_updated__lte,omitempty" json:"last_updated__lte,omitempty"` - // Tenant (ID) - TenantIdN *[]openapi_types.UUID `json:"tenant_id__n,omitempty"` - Vcpus *[]int `json:"vcpus,omitempty"` - VcpusGt *[]int `json:"vcpus__gt,omitempty"` - VcpusGte *[]int `json:"vcpus__gte,omitempty"` - VcpusLt *[]int `json:"vcpus__lt,omitempty"` - VcpusLte *[]int `json:"vcpus__lte,omitempty"` - VcpusN *[]int `json:"vcpus__n,omitempty"` + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` + + // LocalContextData Has local config context data + LocalContextData *string `form:"local_context_data,omitempty" json:"local_context_data,omitempty"` + + // LocalContextSchema Schema (slug) + LocalContextSchema *string `form:"local_context_schema,omitempty" json:"local_context_schema,omitempty"` + + // LocalContextSchemaN Schema (slug) + LocalContextSchemaN *string `form:"local_context_schema__n,omitempty" json:"local_context_schema__n,omitempty"` + + // LocalContextSchemaId Schema (ID) + LocalContextSchemaId *string `form:"local_context_schema_id,omitempty" json:"local_context_schema_id,omitempty"` + + // LocalContextSchemaIdN Schema (ID) + LocalContextSchemaIdN *string `form:"local_context_schema_id__n,omitempty" json:"local_context_schema_id__n,omitempty"` + + // Location Location (slug or ID) + Location *string `form:"location,omitempty" json:"location,omitempty"` + + // LocationN Location (slug or ID) + LocationN *string `form:"location__n,omitempty" json:"location__n,omitempty"` + + // MacAddress MAC address + MacAddress *string `form:"mac_address,omitempty" json:"mac_address,omitempty"` + + // MacAddressIc MAC address + MacAddressIc *string `form:"mac_address__ic,omitempty" json:"mac_address__ic,omitempty"` + + // MacAddressIe MAC address + MacAddressIe *string `form:"mac_address__ie,omitempty" json:"mac_address__ie,omitempty"` + + // MacAddressIew MAC address + MacAddressIew *string `form:"mac_address__iew,omitempty" json:"mac_address__iew,omitempty"` + + // MacAddressIre MAC address + MacAddressIre *string `form:"mac_address__ire,omitempty" json:"mac_address__ire,omitempty"` + + // MacAddressIsw MAC address + MacAddressIsw *string `form:"mac_address__isw,omitempty" json:"mac_address__isw,omitempty"` + + // MacAddressN MAC address + MacAddressN *string `form:"mac_address__n,omitempty" json:"mac_address__n,omitempty"` + + // MacAddressNic MAC address + MacAddressNic *string `form:"mac_address__nic,omitempty" json:"mac_address__nic,omitempty"` + + // MacAddressNie MAC address + MacAddressNie *string `form:"mac_address__nie,omitempty" json:"mac_address__nie,omitempty"` + + // MacAddressNiew MAC address + MacAddressNiew *string `form:"mac_address__niew,omitempty" json:"mac_address__niew,omitempty"` + + // MacAddressNire MAC address + MacAddressNire *string `form:"mac_address__nire,omitempty" json:"mac_address__nire,omitempty"` + + // MacAddressNisw MAC address + MacAddressNisw *string `form:"mac_address__nisw,omitempty" json:"mac_address__nisw,omitempty"` + + // MacAddressNre MAC address + MacAddressNre *string `form:"mac_address__nre,omitempty" json:"mac_address__nre,omitempty"` + + // MacAddressRe MAC address + MacAddressRe *string `form:"mac_address__re,omitempty" json:"mac_address__re,omitempty"` + + // Memory memory + Memory *string `form:"memory,omitempty" json:"memory,omitempty"` + + // MemoryGt memory__gt + MemoryGt *string `form:"memory__gt,omitempty" json:"memory__gt,omitempty"` + + // MemoryGte memory__gte + MemoryGte *string `form:"memory__gte,omitempty" json:"memory__gte,omitempty"` + + // MemoryLt memory__lt + MemoryLt *string `form:"memory__lt,omitempty" json:"memory__lt,omitempty"` + + // MemoryLte memory__lte + MemoryLte *string `form:"memory__lte,omitempty" json:"memory__lte,omitempty"` + + // MemoryN memory__n + MemoryN *string `form:"memory__n,omitempty" json:"memory__n,omitempty"` + + // Name name + Name *string `form:"name,omitempty" json:"name,omitempty"` + + // NameIc name__ic + NameIc *string `form:"name__ic,omitempty" json:"name__ic,omitempty"` + + // NameIe name__ie + NameIe *string `form:"name__ie,omitempty" json:"name__ie,omitempty"` + + // NameIew name__iew + NameIew *string `form:"name__iew,omitempty" json:"name__iew,omitempty"` + + // NameIre name__ire + NameIre *string `form:"name__ire,omitempty" json:"name__ire,omitempty"` + + // NameIsw name__isw + NameIsw *string `form:"name__isw,omitempty" json:"name__isw,omitempty"` + + // NameN name__n + NameN *string `form:"name__n,omitempty" json:"name__n,omitempty"` + + // NameNic name__nic + NameNic *string `form:"name__nic,omitempty" json:"name__nic,omitempty"` + + // NameNie name__nie + NameNie *string `form:"name__nie,omitempty" json:"name__nie,omitempty"` + + // NameNiew name__niew + NameNiew *string `form:"name__niew,omitempty" json:"name__niew,omitempty"` + + // NameNire name__nire + NameNire *string `form:"name__nire,omitempty" json:"name__nire,omitempty"` + + // NameNisw name__nisw + NameNisw *string `form:"name__nisw,omitempty" json:"name__nisw,omitempty"` + + // NameNre name__nre + NameNre *string `form:"name__nre,omitempty" json:"name__nre,omitempty"` + + // NameRe name__re + NameRe *string `form:"name__re,omitempty" json:"name__re,omitempty"` + + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` + + // Platform Platform (slug) + Platform *string `form:"platform,omitempty" json:"platform,omitempty"` + + // PlatformN Platform (slug) + PlatformN *string `form:"platform__n,omitempty" json:"platform__n,omitempty"` + + // PlatformId Platform (ID) + PlatformId *string `form:"platform_id,omitempty" json:"platform_id,omitempty"` + + // PlatformIdN Platform (ID) + PlatformIdN *string `form:"platform_id__n,omitempty" json:"platform_id__n,omitempty"` + + // PrimaryIp4 Primary IPv4 Address (address or ID) + PrimaryIp4 *string `form:"primary_ip4,omitempty" json:"primary_ip4,omitempty"` + + // PrimaryIp6 Primary IPv6 Address (address or ID) + PrimaryIp6 *string `form:"primary_ip6,omitempty" json:"primary_ip6,omitempty"` + + // Q Search + Q *string `form:"q,omitempty" json:"q,omitempty"` + + // Region Region (slug) + Region *string `form:"region,omitempty" json:"region,omitempty"` + + // RegionN Region (slug) + RegionN *string `form:"region__n,omitempty" json:"region__n,omitempty"` + + // RegionId Region (ID) + RegionId *string `form:"region_id,omitempty" json:"region_id,omitempty"` + + // RegionIdN Region (ID) + RegionIdN *string `form:"region_id__n,omitempty" json:"region_id__n,omitempty"` + + // Role Role (slug) + Role *string `form:"role,omitempty" json:"role,omitempty"` + + // RoleN Role (slug) + RoleN *string `form:"role__n,omitempty" json:"role__n,omitempty"` + + // RoleId Role (ID) + RoleId *string `form:"role_id,omitempty" json:"role_id,omitempty"` + + // RoleIdN Role (ID) + RoleIdN *string `form:"role_id__n,omitempty" json:"role_id__n,omitempty"` + + // Services Services (name or ID) + Services *string `form:"services,omitempty" json:"services,omitempty"` + + // ServicesN Services (name or ID) + ServicesN *string `form:"services__n,omitempty" json:"services__n,omitempty"` + + // Site Site (slug) + Site *string `form:"site,omitempty" json:"site,omitempty"` + + // SiteN Site (slug) + SiteN *string `form:"site__n,omitempty" json:"site__n,omitempty"` + + // SiteId Site (ID) + SiteId *string `form:"site_id,omitempty" json:"site_id,omitempty"` + + // SiteIdN Site (ID) + SiteIdN *string `form:"site_id__n,omitempty" json:"site_id__n,omitempty"` + + // Status status + Status *string `form:"status,omitempty" json:"status,omitempty"` + + // StatusN status__n + StatusN *string `form:"status__n,omitempty" json:"status__n,omitempty"` + + // Tag tag + Tag *string `form:"tag,omitempty" json:"tag,omitempty"` + + // TagN tag__n + TagN *string `form:"tag__n,omitempty" json:"tag__n,omitempty"` + + // Tenant Tenant (slug or ID) + Tenant *string `form:"tenant,omitempty" json:"tenant,omitempty"` + + // TenantN Tenant (slug or ID) + TenantN *string `form:"tenant__n,omitempty" json:"tenant__n,omitempty"` + + // TenantGroup Tenant Group (slug) + TenantGroup *string `form:"tenant_group,omitempty" json:"tenant_group,omitempty"` + + // TenantGroupN Tenant Group (slug) + TenantGroupN *string `form:"tenant_group__n,omitempty" json:"tenant_group__n,omitempty"` + + // TenantGroupId Tenant Group (ID) + TenantGroupId *string `form:"tenant_group_id,omitempty" json:"tenant_group_id,omitempty"` + + // TenantGroupIdN Tenant Group (ID) + TenantGroupIdN *string `form:"tenant_group_id__n,omitempty" json:"tenant_group_id__n,omitempty"` + + // TenantId Tenant (ID) (deprecated, use "tenant" filter instead) + TenantId *string `form:"tenant_id,omitempty" json:"tenant_id,omitempty"` + + // TenantIdN Tenant (ID) (deprecated, use "tenant" filter instead) + TenantIdN *string `form:"tenant_id__n,omitempty" json:"tenant_id__n,omitempty"` + + // Vcpus vcpus + Vcpus *string `form:"vcpus,omitempty" json:"vcpus,omitempty"` + + // VcpusGt vcpus__gt + VcpusGt *string `form:"vcpus__gt,omitempty" json:"vcpus__gt,omitempty"` + + // VcpusGte vcpus__gte + VcpusGte *string `form:"vcpus__gte,omitempty" json:"vcpus__gte,omitempty"` + + // VcpusLt vcpus__lt + VcpusLt *string `form:"vcpus__lt,omitempty" json:"vcpus__lt,omitempty"` + + // VcpusLte vcpus__lte + VcpusLte *string `form:"vcpus__lte,omitempty" json:"vcpus__lte,omitempty"` + + // VcpusN vcpus__n + VcpusN *string `form:"vcpus__n,omitempty" json:"vcpus__n,omitempty"` } // VirtualizationVirtualMachinesBulkPartialUpdateJSONBody defines parameters for VirtualizationVirtualMachinesBulkPartialUpdate. -type VirtualizationVirtualMachinesBulkPartialUpdateJSONBody PatchedWritableVirtualMachineWithConfigContext - -// VirtualizationVirtualMachinesCreateJSONBody defines parameters for VirtualizationVirtualMachinesCreate. -type VirtualizationVirtualMachinesCreateJSONBody WritableVirtualMachineWithConfigContext +type VirtualizationVirtualMachinesBulkPartialUpdateJSONBody = []PatchedBulkWritableVirtualMachineWithConfigContextRequest // VirtualizationVirtualMachinesBulkUpdateJSONBody defines parameters for VirtualizationVirtualMachinesBulkUpdate. -type VirtualizationVirtualMachinesBulkUpdateJSONBody WritableVirtualMachineWithConfigContext +type VirtualizationVirtualMachinesBulkUpdateJSONBody = []BulkWritableVirtualMachineWithConfigContextRequest -// VirtualizationVirtualMachinesPartialUpdateJSONBody defines parameters for VirtualizationVirtualMachinesPartialUpdate. -type VirtualizationVirtualMachinesPartialUpdateJSONBody PatchedWritableVirtualMachineWithConfigContext +// VirtualizationVirtualMachinesNotesListParams defines parameters for VirtualizationVirtualMachinesNotesList. +type VirtualizationVirtualMachinesNotesListParams struct { + // Limit Number of results to return per page. + Limit *int `form:"limit,omitempty" json:"limit,omitempty"` -// VirtualizationVirtualMachinesUpdateJSONBody defines parameters for VirtualizationVirtualMachinesUpdate. -type VirtualizationVirtualMachinesUpdateJSONBody WritableVirtualMachineWithConfigContext + // Offset The initial index from which to return the results. + Offset *int `form:"offset,omitempty" json:"offset,omitempty"` +} + +// CircuitsCircuitTerminationsBulkDestroyJSONRequestBody defines body for CircuitsCircuitTerminationsBulkDestroy for application/json ContentType. +type CircuitsCircuitTerminationsBulkDestroyJSONRequestBody = CircuitsCircuitTerminationsBulkDestroyJSONBody // CircuitsCircuitTerminationsBulkPartialUpdateJSONRequestBody defines body for CircuitsCircuitTerminationsBulkPartialUpdate for application/json ContentType. -type CircuitsCircuitTerminationsBulkPartialUpdateJSONRequestBody CircuitsCircuitTerminationsBulkPartialUpdateJSONBody +type CircuitsCircuitTerminationsBulkPartialUpdateJSONRequestBody = CircuitsCircuitTerminationsBulkPartialUpdateJSONBody // CircuitsCircuitTerminationsCreateJSONRequestBody defines body for CircuitsCircuitTerminationsCreate for application/json ContentType. -type CircuitsCircuitTerminationsCreateJSONRequestBody CircuitsCircuitTerminationsCreateJSONBody +type CircuitsCircuitTerminationsCreateJSONRequestBody = WritableCircuitTerminationRequest // CircuitsCircuitTerminationsBulkUpdateJSONRequestBody defines body for CircuitsCircuitTerminationsBulkUpdate for application/json ContentType. -type CircuitsCircuitTerminationsBulkUpdateJSONRequestBody CircuitsCircuitTerminationsBulkUpdateJSONBody +type CircuitsCircuitTerminationsBulkUpdateJSONRequestBody = CircuitsCircuitTerminationsBulkUpdateJSONBody // CircuitsCircuitTerminationsPartialUpdateJSONRequestBody defines body for CircuitsCircuitTerminationsPartialUpdate for application/json ContentType. -type CircuitsCircuitTerminationsPartialUpdateJSONRequestBody CircuitsCircuitTerminationsPartialUpdateJSONBody +type CircuitsCircuitTerminationsPartialUpdateJSONRequestBody = PatchedWritableCircuitTerminationRequest // CircuitsCircuitTerminationsUpdateJSONRequestBody defines body for CircuitsCircuitTerminationsUpdate for application/json ContentType. -type CircuitsCircuitTerminationsUpdateJSONRequestBody CircuitsCircuitTerminationsUpdateJSONBody +type CircuitsCircuitTerminationsUpdateJSONRequestBody = WritableCircuitTerminationRequest + +// CircuitsCircuitTerminationsNotesCreateJSONRequestBody defines body for CircuitsCircuitTerminationsNotesCreate for application/json ContentType. +type CircuitsCircuitTerminationsNotesCreateJSONRequestBody = NoteInputRequest + +// CircuitsCircuitTypesBulkDestroyJSONRequestBody defines body for CircuitsCircuitTypesBulkDestroy for application/json ContentType. +type CircuitsCircuitTypesBulkDestroyJSONRequestBody = CircuitsCircuitTypesBulkDestroyJSONBody // CircuitsCircuitTypesBulkPartialUpdateJSONRequestBody defines body for CircuitsCircuitTypesBulkPartialUpdate for application/json ContentType. -type CircuitsCircuitTypesBulkPartialUpdateJSONRequestBody CircuitsCircuitTypesBulkPartialUpdateJSONBody +type CircuitsCircuitTypesBulkPartialUpdateJSONRequestBody = CircuitsCircuitTypesBulkPartialUpdateJSONBody // CircuitsCircuitTypesCreateJSONRequestBody defines body for CircuitsCircuitTypesCreate for application/json ContentType. -type CircuitsCircuitTypesCreateJSONRequestBody CircuitsCircuitTypesCreateJSONBody +type CircuitsCircuitTypesCreateJSONRequestBody = CircuitTypeRequest // CircuitsCircuitTypesBulkUpdateJSONRequestBody defines body for CircuitsCircuitTypesBulkUpdate for application/json ContentType. -type CircuitsCircuitTypesBulkUpdateJSONRequestBody CircuitsCircuitTypesBulkUpdateJSONBody +type CircuitsCircuitTypesBulkUpdateJSONRequestBody = CircuitsCircuitTypesBulkUpdateJSONBody // CircuitsCircuitTypesPartialUpdateJSONRequestBody defines body for CircuitsCircuitTypesPartialUpdate for application/json ContentType. -type CircuitsCircuitTypesPartialUpdateJSONRequestBody CircuitsCircuitTypesPartialUpdateJSONBody +type CircuitsCircuitTypesPartialUpdateJSONRequestBody = PatchedCircuitTypeRequest // CircuitsCircuitTypesUpdateJSONRequestBody defines body for CircuitsCircuitTypesUpdate for application/json ContentType. -type CircuitsCircuitTypesUpdateJSONRequestBody CircuitsCircuitTypesUpdateJSONBody +type CircuitsCircuitTypesUpdateJSONRequestBody = CircuitTypeRequest + +// CircuitsCircuitTypesNotesCreateJSONRequestBody defines body for CircuitsCircuitTypesNotesCreate for application/json ContentType. +type CircuitsCircuitTypesNotesCreateJSONRequestBody = NoteInputRequest + +// CircuitsCircuitsBulkDestroyJSONRequestBody defines body for CircuitsCircuitsBulkDestroy for application/json ContentType. +type CircuitsCircuitsBulkDestroyJSONRequestBody = CircuitsCircuitsBulkDestroyJSONBody // CircuitsCircuitsBulkPartialUpdateJSONRequestBody defines body for CircuitsCircuitsBulkPartialUpdate for application/json ContentType. -type CircuitsCircuitsBulkPartialUpdateJSONRequestBody CircuitsCircuitsBulkPartialUpdateJSONBody +type CircuitsCircuitsBulkPartialUpdateJSONRequestBody = CircuitsCircuitsBulkPartialUpdateJSONBody // CircuitsCircuitsCreateJSONRequestBody defines body for CircuitsCircuitsCreate for application/json ContentType. -type CircuitsCircuitsCreateJSONRequestBody CircuitsCircuitsCreateJSONBody +type CircuitsCircuitsCreateJSONRequestBody = WritableCircuitRequest // CircuitsCircuitsBulkUpdateJSONRequestBody defines body for CircuitsCircuitsBulkUpdate for application/json ContentType. -type CircuitsCircuitsBulkUpdateJSONRequestBody CircuitsCircuitsBulkUpdateJSONBody +type CircuitsCircuitsBulkUpdateJSONRequestBody = CircuitsCircuitsBulkUpdateJSONBody // CircuitsCircuitsPartialUpdateJSONRequestBody defines body for CircuitsCircuitsPartialUpdate for application/json ContentType. -type CircuitsCircuitsPartialUpdateJSONRequestBody CircuitsCircuitsPartialUpdateJSONBody +type CircuitsCircuitsPartialUpdateJSONRequestBody = PatchedWritableCircuitRequest // CircuitsCircuitsUpdateJSONRequestBody defines body for CircuitsCircuitsUpdate for application/json ContentType. -type CircuitsCircuitsUpdateJSONRequestBody CircuitsCircuitsUpdateJSONBody +type CircuitsCircuitsUpdateJSONRequestBody = WritableCircuitRequest + +// CircuitsCircuitsNotesCreateJSONRequestBody defines body for CircuitsCircuitsNotesCreate for application/json ContentType. +type CircuitsCircuitsNotesCreateJSONRequestBody = NoteInputRequest + +// CircuitsProviderNetworksBulkDestroyJSONRequestBody defines body for CircuitsProviderNetworksBulkDestroy for application/json ContentType. +type CircuitsProviderNetworksBulkDestroyJSONRequestBody = CircuitsProviderNetworksBulkDestroyJSONBody // CircuitsProviderNetworksBulkPartialUpdateJSONRequestBody defines body for CircuitsProviderNetworksBulkPartialUpdate for application/json ContentType. -type CircuitsProviderNetworksBulkPartialUpdateJSONRequestBody CircuitsProviderNetworksBulkPartialUpdateJSONBody +type CircuitsProviderNetworksBulkPartialUpdateJSONRequestBody = CircuitsProviderNetworksBulkPartialUpdateJSONBody // CircuitsProviderNetworksCreateJSONRequestBody defines body for CircuitsProviderNetworksCreate for application/json ContentType. -type CircuitsProviderNetworksCreateJSONRequestBody CircuitsProviderNetworksCreateJSONBody +type CircuitsProviderNetworksCreateJSONRequestBody = WritableProviderNetworkRequest // CircuitsProviderNetworksBulkUpdateJSONRequestBody defines body for CircuitsProviderNetworksBulkUpdate for application/json ContentType. -type CircuitsProviderNetworksBulkUpdateJSONRequestBody CircuitsProviderNetworksBulkUpdateJSONBody +type CircuitsProviderNetworksBulkUpdateJSONRequestBody = CircuitsProviderNetworksBulkUpdateJSONBody // CircuitsProviderNetworksPartialUpdateJSONRequestBody defines body for CircuitsProviderNetworksPartialUpdate for application/json ContentType. -type CircuitsProviderNetworksPartialUpdateJSONRequestBody CircuitsProviderNetworksPartialUpdateJSONBody +type CircuitsProviderNetworksPartialUpdateJSONRequestBody = PatchedWritableProviderNetworkRequest // CircuitsProviderNetworksUpdateJSONRequestBody defines body for CircuitsProviderNetworksUpdate for application/json ContentType. -type CircuitsProviderNetworksUpdateJSONRequestBody CircuitsProviderNetworksUpdateJSONBody +type CircuitsProviderNetworksUpdateJSONRequestBody = WritableProviderNetworkRequest + +// CircuitsProviderNetworksNotesCreateJSONRequestBody defines body for CircuitsProviderNetworksNotesCreate for application/json ContentType. +type CircuitsProviderNetworksNotesCreateJSONRequestBody = NoteInputRequest + +// CircuitsProvidersBulkDestroyJSONRequestBody defines body for CircuitsProvidersBulkDestroy for application/json ContentType. +type CircuitsProvidersBulkDestroyJSONRequestBody = CircuitsProvidersBulkDestroyJSONBody // CircuitsProvidersBulkPartialUpdateJSONRequestBody defines body for CircuitsProvidersBulkPartialUpdate for application/json ContentType. -type CircuitsProvidersBulkPartialUpdateJSONRequestBody CircuitsProvidersBulkPartialUpdateJSONBody +type CircuitsProvidersBulkPartialUpdateJSONRequestBody = CircuitsProvidersBulkPartialUpdateJSONBody // CircuitsProvidersCreateJSONRequestBody defines body for CircuitsProvidersCreate for application/json ContentType. -type CircuitsProvidersCreateJSONRequestBody CircuitsProvidersCreateJSONBody +type CircuitsProvidersCreateJSONRequestBody = ProviderRequest // CircuitsProvidersBulkUpdateJSONRequestBody defines body for CircuitsProvidersBulkUpdate for application/json ContentType. -type CircuitsProvidersBulkUpdateJSONRequestBody CircuitsProvidersBulkUpdateJSONBody +type CircuitsProvidersBulkUpdateJSONRequestBody = CircuitsProvidersBulkUpdateJSONBody // CircuitsProvidersPartialUpdateJSONRequestBody defines body for CircuitsProvidersPartialUpdate for application/json ContentType. -type CircuitsProvidersPartialUpdateJSONRequestBody CircuitsProvidersPartialUpdateJSONBody +type CircuitsProvidersPartialUpdateJSONRequestBody = PatchedProviderRequest // CircuitsProvidersUpdateJSONRequestBody defines body for CircuitsProvidersUpdate for application/json ContentType. -type CircuitsProvidersUpdateJSONRequestBody CircuitsProvidersUpdateJSONBody +type CircuitsProvidersUpdateJSONRequestBody = ProviderRequest + +// CircuitsProvidersNotesCreateJSONRequestBody defines body for CircuitsProvidersNotesCreate for application/json ContentType. +type CircuitsProvidersNotesCreateJSONRequestBody = NoteInputRequest + +// DcimCablesBulkDestroyJSONRequestBody defines body for DcimCablesBulkDestroy for application/json ContentType. +type DcimCablesBulkDestroyJSONRequestBody = DcimCablesBulkDestroyJSONBody // DcimCablesBulkPartialUpdateJSONRequestBody defines body for DcimCablesBulkPartialUpdate for application/json ContentType. -type DcimCablesBulkPartialUpdateJSONRequestBody DcimCablesBulkPartialUpdateJSONBody +type DcimCablesBulkPartialUpdateJSONRequestBody = DcimCablesBulkPartialUpdateJSONBody // DcimCablesCreateJSONRequestBody defines body for DcimCablesCreate for application/json ContentType. -type DcimCablesCreateJSONRequestBody DcimCablesCreateJSONBody +type DcimCablesCreateJSONRequestBody = WritableCableRequest // DcimCablesBulkUpdateJSONRequestBody defines body for DcimCablesBulkUpdate for application/json ContentType. -type DcimCablesBulkUpdateJSONRequestBody DcimCablesBulkUpdateJSONBody +type DcimCablesBulkUpdateJSONRequestBody = DcimCablesBulkUpdateJSONBody // DcimCablesPartialUpdateJSONRequestBody defines body for DcimCablesPartialUpdate for application/json ContentType. -type DcimCablesPartialUpdateJSONRequestBody DcimCablesPartialUpdateJSONBody +type DcimCablesPartialUpdateJSONRequestBody = PatchedWritableCableRequest // DcimCablesUpdateJSONRequestBody defines body for DcimCablesUpdate for application/json ContentType. -type DcimCablesUpdateJSONRequestBody DcimCablesUpdateJSONBody +type DcimCablesUpdateJSONRequestBody = WritableCableRequest + +// DcimCablesNotesCreateJSONRequestBody defines body for DcimCablesNotesCreate for application/json ContentType. +type DcimCablesNotesCreateJSONRequestBody = NoteInputRequest + +// DcimConsolePortTemplatesBulkDestroyJSONRequestBody defines body for DcimConsolePortTemplatesBulkDestroy for application/json ContentType. +type DcimConsolePortTemplatesBulkDestroyJSONRequestBody = DcimConsolePortTemplatesBulkDestroyJSONBody // DcimConsolePortTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimConsolePortTemplatesBulkPartialUpdate for application/json ContentType. -type DcimConsolePortTemplatesBulkPartialUpdateJSONRequestBody DcimConsolePortTemplatesBulkPartialUpdateJSONBody +type DcimConsolePortTemplatesBulkPartialUpdateJSONRequestBody = DcimConsolePortTemplatesBulkPartialUpdateJSONBody // DcimConsolePortTemplatesCreateJSONRequestBody defines body for DcimConsolePortTemplatesCreate for application/json ContentType. -type DcimConsolePortTemplatesCreateJSONRequestBody DcimConsolePortTemplatesCreateJSONBody +type DcimConsolePortTemplatesCreateJSONRequestBody = WritableConsolePortTemplateRequest // DcimConsolePortTemplatesBulkUpdateJSONRequestBody defines body for DcimConsolePortTemplatesBulkUpdate for application/json ContentType. -type DcimConsolePortTemplatesBulkUpdateJSONRequestBody DcimConsolePortTemplatesBulkUpdateJSONBody +type DcimConsolePortTemplatesBulkUpdateJSONRequestBody = DcimConsolePortTemplatesBulkUpdateJSONBody // DcimConsolePortTemplatesPartialUpdateJSONRequestBody defines body for DcimConsolePortTemplatesPartialUpdate for application/json ContentType. -type DcimConsolePortTemplatesPartialUpdateJSONRequestBody DcimConsolePortTemplatesPartialUpdateJSONBody +type DcimConsolePortTemplatesPartialUpdateJSONRequestBody = PatchedWritableConsolePortTemplateRequest // DcimConsolePortTemplatesUpdateJSONRequestBody defines body for DcimConsolePortTemplatesUpdate for application/json ContentType. -type DcimConsolePortTemplatesUpdateJSONRequestBody DcimConsolePortTemplatesUpdateJSONBody +type DcimConsolePortTemplatesUpdateJSONRequestBody = WritableConsolePortTemplateRequest + +// DcimConsolePortTemplatesNotesCreateJSONRequestBody defines body for DcimConsolePortTemplatesNotesCreate for application/json ContentType. +type DcimConsolePortTemplatesNotesCreateJSONRequestBody = NoteInputRequest + +// DcimConsolePortsBulkDestroyJSONRequestBody defines body for DcimConsolePortsBulkDestroy for application/json ContentType. +type DcimConsolePortsBulkDestroyJSONRequestBody = DcimConsolePortsBulkDestroyJSONBody // DcimConsolePortsBulkPartialUpdateJSONRequestBody defines body for DcimConsolePortsBulkPartialUpdate for application/json ContentType. -type DcimConsolePortsBulkPartialUpdateJSONRequestBody DcimConsolePortsBulkPartialUpdateJSONBody +type DcimConsolePortsBulkPartialUpdateJSONRequestBody = DcimConsolePortsBulkPartialUpdateJSONBody // DcimConsolePortsCreateJSONRequestBody defines body for DcimConsolePortsCreate for application/json ContentType. -type DcimConsolePortsCreateJSONRequestBody DcimConsolePortsCreateJSONBody +type DcimConsolePortsCreateJSONRequestBody = WritableConsolePortRequest // DcimConsolePortsBulkUpdateJSONRequestBody defines body for DcimConsolePortsBulkUpdate for application/json ContentType. -type DcimConsolePortsBulkUpdateJSONRequestBody DcimConsolePortsBulkUpdateJSONBody +type DcimConsolePortsBulkUpdateJSONRequestBody = DcimConsolePortsBulkUpdateJSONBody // DcimConsolePortsPartialUpdateJSONRequestBody defines body for DcimConsolePortsPartialUpdate for application/json ContentType. -type DcimConsolePortsPartialUpdateJSONRequestBody DcimConsolePortsPartialUpdateJSONBody +type DcimConsolePortsPartialUpdateJSONRequestBody = PatchedWritableConsolePortRequest // DcimConsolePortsUpdateJSONRequestBody defines body for DcimConsolePortsUpdate for application/json ContentType. -type DcimConsolePortsUpdateJSONRequestBody DcimConsolePortsUpdateJSONBody +type DcimConsolePortsUpdateJSONRequestBody = WritableConsolePortRequest + +// DcimConsolePortsNotesCreateJSONRequestBody defines body for DcimConsolePortsNotesCreate for application/json ContentType. +type DcimConsolePortsNotesCreateJSONRequestBody = NoteInputRequest + +// DcimConsoleServerPortTemplatesBulkDestroyJSONRequestBody defines body for DcimConsoleServerPortTemplatesBulkDestroy for application/json ContentType. +type DcimConsoleServerPortTemplatesBulkDestroyJSONRequestBody = DcimConsoleServerPortTemplatesBulkDestroyJSONBody // DcimConsoleServerPortTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimConsoleServerPortTemplatesBulkPartialUpdate for application/json ContentType. -type DcimConsoleServerPortTemplatesBulkPartialUpdateJSONRequestBody DcimConsoleServerPortTemplatesBulkPartialUpdateJSONBody +type DcimConsoleServerPortTemplatesBulkPartialUpdateJSONRequestBody = DcimConsoleServerPortTemplatesBulkPartialUpdateJSONBody // DcimConsoleServerPortTemplatesCreateJSONRequestBody defines body for DcimConsoleServerPortTemplatesCreate for application/json ContentType. -type DcimConsoleServerPortTemplatesCreateJSONRequestBody DcimConsoleServerPortTemplatesCreateJSONBody +type DcimConsoleServerPortTemplatesCreateJSONRequestBody = WritableConsoleServerPortTemplateRequest // DcimConsoleServerPortTemplatesBulkUpdateJSONRequestBody defines body for DcimConsoleServerPortTemplatesBulkUpdate for application/json ContentType. -type DcimConsoleServerPortTemplatesBulkUpdateJSONRequestBody DcimConsoleServerPortTemplatesBulkUpdateJSONBody +type DcimConsoleServerPortTemplatesBulkUpdateJSONRequestBody = DcimConsoleServerPortTemplatesBulkUpdateJSONBody // DcimConsoleServerPortTemplatesPartialUpdateJSONRequestBody defines body for DcimConsoleServerPortTemplatesPartialUpdate for application/json ContentType. -type DcimConsoleServerPortTemplatesPartialUpdateJSONRequestBody DcimConsoleServerPortTemplatesPartialUpdateJSONBody +type DcimConsoleServerPortTemplatesPartialUpdateJSONRequestBody = PatchedWritableConsoleServerPortTemplateRequest // DcimConsoleServerPortTemplatesUpdateJSONRequestBody defines body for DcimConsoleServerPortTemplatesUpdate for application/json ContentType. -type DcimConsoleServerPortTemplatesUpdateJSONRequestBody DcimConsoleServerPortTemplatesUpdateJSONBody +type DcimConsoleServerPortTemplatesUpdateJSONRequestBody = WritableConsoleServerPortTemplateRequest + +// DcimConsoleServerPortTemplatesNotesCreateJSONRequestBody defines body for DcimConsoleServerPortTemplatesNotesCreate for application/json ContentType. +type DcimConsoleServerPortTemplatesNotesCreateJSONRequestBody = NoteInputRequest + +// DcimConsoleServerPortsBulkDestroyJSONRequestBody defines body for DcimConsoleServerPortsBulkDestroy for application/json ContentType. +type DcimConsoleServerPortsBulkDestroyJSONRequestBody = DcimConsoleServerPortsBulkDestroyJSONBody // DcimConsoleServerPortsBulkPartialUpdateJSONRequestBody defines body for DcimConsoleServerPortsBulkPartialUpdate for application/json ContentType. -type DcimConsoleServerPortsBulkPartialUpdateJSONRequestBody DcimConsoleServerPortsBulkPartialUpdateJSONBody +type DcimConsoleServerPortsBulkPartialUpdateJSONRequestBody = DcimConsoleServerPortsBulkPartialUpdateJSONBody // DcimConsoleServerPortsCreateJSONRequestBody defines body for DcimConsoleServerPortsCreate for application/json ContentType. -type DcimConsoleServerPortsCreateJSONRequestBody DcimConsoleServerPortsCreateJSONBody +type DcimConsoleServerPortsCreateJSONRequestBody = WritableConsoleServerPortRequest // DcimConsoleServerPortsBulkUpdateJSONRequestBody defines body for DcimConsoleServerPortsBulkUpdate for application/json ContentType. -type DcimConsoleServerPortsBulkUpdateJSONRequestBody DcimConsoleServerPortsBulkUpdateJSONBody +type DcimConsoleServerPortsBulkUpdateJSONRequestBody = DcimConsoleServerPortsBulkUpdateJSONBody // DcimConsoleServerPortsPartialUpdateJSONRequestBody defines body for DcimConsoleServerPortsPartialUpdate for application/json ContentType. -type DcimConsoleServerPortsPartialUpdateJSONRequestBody DcimConsoleServerPortsPartialUpdateJSONBody +type DcimConsoleServerPortsPartialUpdateJSONRequestBody = PatchedWritableConsoleServerPortRequest // DcimConsoleServerPortsUpdateJSONRequestBody defines body for DcimConsoleServerPortsUpdate for application/json ContentType. -type DcimConsoleServerPortsUpdateJSONRequestBody DcimConsoleServerPortsUpdateJSONBody +type DcimConsoleServerPortsUpdateJSONRequestBody = WritableConsoleServerPortRequest + +// DcimConsoleServerPortsNotesCreateJSONRequestBody defines body for DcimConsoleServerPortsNotesCreate for application/json ContentType. +type DcimConsoleServerPortsNotesCreateJSONRequestBody = NoteInputRequest + +// DcimDeviceBayTemplatesBulkDestroyJSONRequestBody defines body for DcimDeviceBayTemplatesBulkDestroy for application/json ContentType. +type DcimDeviceBayTemplatesBulkDestroyJSONRequestBody = DcimDeviceBayTemplatesBulkDestroyJSONBody // DcimDeviceBayTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimDeviceBayTemplatesBulkPartialUpdate for application/json ContentType. -type DcimDeviceBayTemplatesBulkPartialUpdateJSONRequestBody DcimDeviceBayTemplatesBulkPartialUpdateJSONBody +type DcimDeviceBayTemplatesBulkPartialUpdateJSONRequestBody = DcimDeviceBayTemplatesBulkPartialUpdateJSONBody // DcimDeviceBayTemplatesCreateJSONRequestBody defines body for DcimDeviceBayTemplatesCreate for application/json ContentType. -type DcimDeviceBayTemplatesCreateJSONRequestBody DcimDeviceBayTemplatesCreateJSONBody +type DcimDeviceBayTemplatesCreateJSONRequestBody = WritableDeviceBayTemplateRequest // DcimDeviceBayTemplatesBulkUpdateJSONRequestBody defines body for DcimDeviceBayTemplatesBulkUpdate for application/json ContentType. -type DcimDeviceBayTemplatesBulkUpdateJSONRequestBody DcimDeviceBayTemplatesBulkUpdateJSONBody +type DcimDeviceBayTemplatesBulkUpdateJSONRequestBody = DcimDeviceBayTemplatesBulkUpdateJSONBody // DcimDeviceBayTemplatesPartialUpdateJSONRequestBody defines body for DcimDeviceBayTemplatesPartialUpdate for application/json ContentType. -type DcimDeviceBayTemplatesPartialUpdateJSONRequestBody DcimDeviceBayTemplatesPartialUpdateJSONBody +type DcimDeviceBayTemplatesPartialUpdateJSONRequestBody = PatchedWritableDeviceBayTemplateRequest // DcimDeviceBayTemplatesUpdateJSONRequestBody defines body for DcimDeviceBayTemplatesUpdate for application/json ContentType. -type DcimDeviceBayTemplatesUpdateJSONRequestBody DcimDeviceBayTemplatesUpdateJSONBody +type DcimDeviceBayTemplatesUpdateJSONRequestBody = WritableDeviceBayTemplateRequest + +// DcimDeviceBayTemplatesNotesCreateJSONRequestBody defines body for DcimDeviceBayTemplatesNotesCreate for application/json ContentType. +type DcimDeviceBayTemplatesNotesCreateJSONRequestBody = NoteInputRequest + +// DcimDeviceBaysBulkDestroyJSONRequestBody defines body for DcimDeviceBaysBulkDestroy for application/json ContentType. +type DcimDeviceBaysBulkDestroyJSONRequestBody = DcimDeviceBaysBulkDestroyJSONBody // DcimDeviceBaysBulkPartialUpdateJSONRequestBody defines body for DcimDeviceBaysBulkPartialUpdate for application/json ContentType. -type DcimDeviceBaysBulkPartialUpdateJSONRequestBody DcimDeviceBaysBulkPartialUpdateJSONBody +type DcimDeviceBaysBulkPartialUpdateJSONRequestBody = DcimDeviceBaysBulkPartialUpdateJSONBody // DcimDeviceBaysCreateJSONRequestBody defines body for DcimDeviceBaysCreate for application/json ContentType. -type DcimDeviceBaysCreateJSONRequestBody DcimDeviceBaysCreateJSONBody +type DcimDeviceBaysCreateJSONRequestBody = WritableDeviceBayRequest // DcimDeviceBaysBulkUpdateJSONRequestBody defines body for DcimDeviceBaysBulkUpdate for application/json ContentType. -type DcimDeviceBaysBulkUpdateJSONRequestBody DcimDeviceBaysBulkUpdateJSONBody +type DcimDeviceBaysBulkUpdateJSONRequestBody = DcimDeviceBaysBulkUpdateJSONBody // DcimDeviceBaysPartialUpdateJSONRequestBody defines body for DcimDeviceBaysPartialUpdate for application/json ContentType. -type DcimDeviceBaysPartialUpdateJSONRequestBody DcimDeviceBaysPartialUpdateJSONBody +type DcimDeviceBaysPartialUpdateJSONRequestBody = PatchedWritableDeviceBayRequest // DcimDeviceBaysUpdateJSONRequestBody defines body for DcimDeviceBaysUpdate for application/json ContentType. -type DcimDeviceBaysUpdateJSONRequestBody DcimDeviceBaysUpdateJSONBody +type DcimDeviceBaysUpdateJSONRequestBody = WritableDeviceBayRequest + +// DcimDeviceBaysNotesCreateJSONRequestBody defines body for DcimDeviceBaysNotesCreate for application/json ContentType. +type DcimDeviceBaysNotesCreateJSONRequestBody = NoteInputRequest + +// DcimDeviceRedundancyGroupsBulkDestroyJSONRequestBody defines body for DcimDeviceRedundancyGroupsBulkDestroy for application/json ContentType. +type DcimDeviceRedundancyGroupsBulkDestroyJSONRequestBody = DcimDeviceRedundancyGroupsBulkDestroyJSONBody + +// DcimDeviceRedundancyGroupsBulkPartialUpdateJSONRequestBody defines body for DcimDeviceRedundancyGroupsBulkPartialUpdate for application/json ContentType. +type DcimDeviceRedundancyGroupsBulkPartialUpdateJSONRequestBody = DcimDeviceRedundancyGroupsBulkPartialUpdateJSONBody + +// DcimDeviceRedundancyGroupsCreateJSONRequestBody defines body for DcimDeviceRedundancyGroupsCreate for application/json ContentType. +type DcimDeviceRedundancyGroupsCreateJSONRequestBody = WritableDeviceRedundancyGroupRequest + +// DcimDeviceRedundancyGroupsBulkUpdateJSONRequestBody defines body for DcimDeviceRedundancyGroupsBulkUpdate for application/json ContentType. +type DcimDeviceRedundancyGroupsBulkUpdateJSONRequestBody = DcimDeviceRedundancyGroupsBulkUpdateJSONBody + +// DcimDeviceRedundancyGroupsPartialUpdateJSONRequestBody defines body for DcimDeviceRedundancyGroupsPartialUpdate for application/json ContentType. +type DcimDeviceRedundancyGroupsPartialUpdateJSONRequestBody = PatchedWritableDeviceRedundancyGroupRequest + +// DcimDeviceRedundancyGroupsUpdateJSONRequestBody defines body for DcimDeviceRedundancyGroupsUpdate for application/json ContentType. +type DcimDeviceRedundancyGroupsUpdateJSONRequestBody = WritableDeviceRedundancyGroupRequest + +// DcimDeviceRedundancyGroupsNotesCreateJSONRequestBody defines body for DcimDeviceRedundancyGroupsNotesCreate for application/json ContentType. +type DcimDeviceRedundancyGroupsNotesCreateJSONRequestBody = NoteInputRequest + +// DcimDeviceRolesBulkDestroyJSONRequestBody defines body for DcimDeviceRolesBulkDestroy for application/json ContentType. +type DcimDeviceRolesBulkDestroyJSONRequestBody = DcimDeviceRolesBulkDestroyJSONBody // DcimDeviceRolesBulkPartialUpdateJSONRequestBody defines body for DcimDeviceRolesBulkPartialUpdate for application/json ContentType. -type DcimDeviceRolesBulkPartialUpdateJSONRequestBody DcimDeviceRolesBulkPartialUpdateJSONBody +type DcimDeviceRolesBulkPartialUpdateJSONRequestBody = DcimDeviceRolesBulkPartialUpdateJSONBody // DcimDeviceRolesCreateJSONRequestBody defines body for DcimDeviceRolesCreate for application/json ContentType. -type DcimDeviceRolesCreateJSONRequestBody DcimDeviceRolesCreateJSONBody +type DcimDeviceRolesCreateJSONRequestBody = DeviceRoleRequest // DcimDeviceRolesBulkUpdateJSONRequestBody defines body for DcimDeviceRolesBulkUpdate for application/json ContentType. -type DcimDeviceRolesBulkUpdateJSONRequestBody DcimDeviceRolesBulkUpdateJSONBody +type DcimDeviceRolesBulkUpdateJSONRequestBody = DcimDeviceRolesBulkUpdateJSONBody // DcimDeviceRolesPartialUpdateJSONRequestBody defines body for DcimDeviceRolesPartialUpdate for application/json ContentType. -type DcimDeviceRolesPartialUpdateJSONRequestBody DcimDeviceRolesPartialUpdateJSONBody +type DcimDeviceRolesPartialUpdateJSONRequestBody = PatchedDeviceRoleRequest // DcimDeviceRolesUpdateJSONRequestBody defines body for DcimDeviceRolesUpdate for application/json ContentType. -type DcimDeviceRolesUpdateJSONRequestBody DcimDeviceRolesUpdateJSONBody +type DcimDeviceRolesUpdateJSONRequestBody = DeviceRoleRequest + +// DcimDeviceRolesNotesCreateJSONRequestBody defines body for DcimDeviceRolesNotesCreate for application/json ContentType. +type DcimDeviceRolesNotesCreateJSONRequestBody = NoteInputRequest + +// DcimDeviceTypesBulkDestroyJSONRequestBody defines body for DcimDeviceTypesBulkDestroy for application/json ContentType. +type DcimDeviceTypesBulkDestroyJSONRequestBody = DcimDeviceTypesBulkDestroyJSONBody // DcimDeviceTypesBulkPartialUpdateJSONRequestBody defines body for DcimDeviceTypesBulkPartialUpdate for application/json ContentType. -type DcimDeviceTypesBulkPartialUpdateJSONRequestBody DcimDeviceTypesBulkPartialUpdateJSONBody +type DcimDeviceTypesBulkPartialUpdateJSONRequestBody = DcimDeviceTypesBulkPartialUpdateJSONBody // DcimDeviceTypesCreateJSONRequestBody defines body for DcimDeviceTypesCreate for application/json ContentType. -type DcimDeviceTypesCreateJSONRequestBody DcimDeviceTypesCreateJSONBody +type DcimDeviceTypesCreateJSONRequestBody = WritableDeviceTypeRequest // DcimDeviceTypesBulkUpdateJSONRequestBody defines body for DcimDeviceTypesBulkUpdate for application/json ContentType. -type DcimDeviceTypesBulkUpdateJSONRequestBody DcimDeviceTypesBulkUpdateJSONBody +type DcimDeviceTypesBulkUpdateJSONRequestBody = DcimDeviceTypesBulkUpdateJSONBody // DcimDeviceTypesPartialUpdateJSONRequestBody defines body for DcimDeviceTypesPartialUpdate for application/json ContentType. -type DcimDeviceTypesPartialUpdateJSONRequestBody DcimDeviceTypesPartialUpdateJSONBody +type DcimDeviceTypesPartialUpdateJSONRequestBody = PatchedWritableDeviceTypeRequest // DcimDeviceTypesUpdateJSONRequestBody defines body for DcimDeviceTypesUpdate for application/json ContentType. -type DcimDeviceTypesUpdateJSONRequestBody DcimDeviceTypesUpdateJSONBody +type DcimDeviceTypesUpdateJSONRequestBody = WritableDeviceTypeRequest + +// DcimDeviceTypesNotesCreateJSONRequestBody defines body for DcimDeviceTypesNotesCreate for application/json ContentType. +type DcimDeviceTypesNotesCreateJSONRequestBody = NoteInputRequest + +// DcimDevicesBulkDestroyJSONRequestBody defines body for DcimDevicesBulkDestroy for application/json ContentType. +type DcimDevicesBulkDestroyJSONRequestBody = DcimDevicesBulkDestroyJSONBody // DcimDevicesBulkPartialUpdateJSONRequestBody defines body for DcimDevicesBulkPartialUpdate for application/json ContentType. -type DcimDevicesBulkPartialUpdateJSONRequestBody DcimDevicesBulkPartialUpdateJSONBody +type DcimDevicesBulkPartialUpdateJSONRequestBody = DcimDevicesBulkPartialUpdateJSONBody // DcimDevicesCreateJSONRequestBody defines body for DcimDevicesCreate for application/json ContentType. -type DcimDevicesCreateJSONRequestBody DcimDevicesCreateJSONBody +type DcimDevicesCreateJSONRequestBody = WritableDeviceWithConfigContextRequest // DcimDevicesBulkUpdateJSONRequestBody defines body for DcimDevicesBulkUpdate for application/json ContentType. -type DcimDevicesBulkUpdateJSONRequestBody DcimDevicesBulkUpdateJSONBody +type DcimDevicesBulkUpdateJSONRequestBody = DcimDevicesBulkUpdateJSONBody // DcimDevicesPartialUpdateJSONRequestBody defines body for DcimDevicesPartialUpdate for application/json ContentType. -type DcimDevicesPartialUpdateJSONRequestBody DcimDevicesPartialUpdateJSONBody +type DcimDevicesPartialUpdateJSONRequestBody = PatchedWritableDeviceWithConfigContextRequest // DcimDevicesUpdateJSONRequestBody defines body for DcimDevicesUpdate for application/json ContentType. -type DcimDevicesUpdateJSONRequestBody DcimDevicesUpdateJSONBody +type DcimDevicesUpdateJSONRequestBody = WritableDeviceWithConfigContextRequest + +// DcimDevicesNotesCreateJSONRequestBody defines body for DcimDevicesNotesCreate for application/json ContentType. +type DcimDevicesNotesCreateJSONRequestBody = NoteInputRequest + +// DcimFrontPortTemplatesBulkDestroyJSONRequestBody defines body for DcimFrontPortTemplatesBulkDestroy for application/json ContentType. +type DcimFrontPortTemplatesBulkDestroyJSONRequestBody = DcimFrontPortTemplatesBulkDestroyJSONBody // DcimFrontPortTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimFrontPortTemplatesBulkPartialUpdate for application/json ContentType. -type DcimFrontPortTemplatesBulkPartialUpdateJSONRequestBody DcimFrontPortTemplatesBulkPartialUpdateJSONBody +type DcimFrontPortTemplatesBulkPartialUpdateJSONRequestBody = DcimFrontPortTemplatesBulkPartialUpdateJSONBody // DcimFrontPortTemplatesCreateJSONRequestBody defines body for DcimFrontPortTemplatesCreate for application/json ContentType. -type DcimFrontPortTemplatesCreateJSONRequestBody DcimFrontPortTemplatesCreateJSONBody +type DcimFrontPortTemplatesCreateJSONRequestBody = WritableFrontPortTemplateRequest // DcimFrontPortTemplatesBulkUpdateJSONRequestBody defines body for DcimFrontPortTemplatesBulkUpdate for application/json ContentType. -type DcimFrontPortTemplatesBulkUpdateJSONRequestBody DcimFrontPortTemplatesBulkUpdateJSONBody +type DcimFrontPortTemplatesBulkUpdateJSONRequestBody = DcimFrontPortTemplatesBulkUpdateJSONBody // DcimFrontPortTemplatesPartialUpdateJSONRequestBody defines body for DcimFrontPortTemplatesPartialUpdate for application/json ContentType. -type DcimFrontPortTemplatesPartialUpdateJSONRequestBody DcimFrontPortTemplatesPartialUpdateJSONBody +type DcimFrontPortTemplatesPartialUpdateJSONRequestBody = PatchedWritableFrontPortTemplateRequest // DcimFrontPortTemplatesUpdateJSONRequestBody defines body for DcimFrontPortTemplatesUpdate for application/json ContentType. -type DcimFrontPortTemplatesUpdateJSONRequestBody DcimFrontPortTemplatesUpdateJSONBody +type DcimFrontPortTemplatesUpdateJSONRequestBody = WritableFrontPortTemplateRequest + +// DcimFrontPortTemplatesNotesCreateJSONRequestBody defines body for DcimFrontPortTemplatesNotesCreate for application/json ContentType. +type DcimFrontPortTemplatesNotesCreateJSONRequestBody = NoteInputRequest + +// DcimFrontPortsBulkDestroyJSONRequestBody defines body for DcimFrontPortsBulkDestroy for application/json ContentType. +type DcimFrontPortsBulkDestroyJSONRequestBody = DcimFrontPortsBulkDestroyJSONBody // DcimFrontPortsBulkPartialUpdateJSONRequestBody defines body for DcimFrontPortsBulkPartialUpdate for application/json ContentType. -type DcimFrontPortsBulkPartialUpdateJSONRequestBody DcimFrontPortsBulkPartialUpdateJSONBody +type DcimFrontPortsBulkPartialUpdateJSONRequestBody = DcimFrontPortsBulkPartialUpdateJSONBody // DcimFrontPortsCreateJSONRequestBody defines body for DcimFrontPortsCreate for application/json ContentType. -type DcimFrontPortsCreateJSONRequestBody DcimFrontPortsCreateJSONBody +type DcimFrontPortsCreateJSONRequestBody = WritableFrontPortRequest // DcimFrontPortsBulkUpdateJSONRequestBody defines body for DcimFrontPortsBulkUpdate for application/json ContentType. -type DcimFrontPortsBulkUpdateJSONRequestBody DcimFrontPortsBulkUpdateJSONBody +type DcimFrontPortsBulkUpdateJSONRequestBody = DcimFrontPortsBulkUpdateJSONBody // DcimFrontPortsPartialUpdateJSONRequestBody defines body for DcimFrontPortsPartialUpdate for application/json ContentType. -type DcimFrontPortsPartialUpdateJSONRequestBody DcimFrontPortsPartialUpdateJSONBody +type DcimFrontPortsPartialUpdateJSONRequestBody = PatchedWritableFrontPortRequest // DcimFrontPortsUpdateJSONRequestBody defines body for DcimFrontPortsUpdate for application/json ContentType. -type DcimFrontPortsUpdateJSONRequestBody DcimFrontPortsUpdateJSONBody +type DcimFrontPortsUpdateJSONRequestBody = WritableFrontPortRequest + +// DcimFrontPortsNotesCreateJSONRequestBody defines body for DcimFrontPortsNotesCreate for application/json ContentType. +type DcimFrontPortsNotesCreateJSONRequestBody = NoteInputRequest + +// DcimInterfaceTemplatesBulkDestroyJSONRequestBody defines body for DcimInterfaceTemplatesBulkDestroy for application/json ContentType. +type DcimInterfaceTemplatesBulkDestroyJSONRequestBody = DcimInterfaceTemplatesBulkDestroyJSONBody // DcimInterfaceTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimInterfaceTemplatesBulkPartialUpdate for application/json ContentType. -type DcimInterfaceTemplatesBulkPartialUpdateJSONRequestBody DcimInterfaceTemplatesBulkPartialUpdateJSONBody +type DcimInterfaceTemplatesBulkPartialUpdateJSONRequestBody = DcimInterfaceTemplatesBulkPartialUpdateJSONBody // DcimInterfaceTemplatesCreateJSONRequestBody defines body for DcimInterfaceTemplatesCreate for application/json ContentType. -type DcimInterfaceTemplatesCreateJSONRequestBody DcimInterfaceTemplatesCreateJSONBody +type DcimInterfaceTemplatesCreateJSONRequestBody = WritableInterfaceTemplateRequest // DcimInterfaceTemplatesBulkUpdateJSONRequestBody defines body for DcimInterfaceTemplatesBulkUpdate for application/json ContentType. -type DcimInterfaceTemplatesBulkUpdateJSONRequestBody DcimInterfaceTemplatesBulkUpdateJSONBody +type DcimInterfaceTemplatesBulkUpdateJSONRequestBody = DcimInterfaceTemplatesBulkUpdateJSONBody // DcimInterfaceTemplatesPartialUpdateJSONRequestBody defines body for DcimInterfaceTemplatesPartialUpdate for application/json ContentType. -type DcimInterfaceTemplatesPartialUpdateJSONRequestBody DcimInterfaceTemplatesPartialUpdateJSONBody +type DcimInterfaceTemplatesPartialUpdateJSONRequestBody = PatchedWritableInterfaceTemplateRequest // DcimInterfaceTemplatesUpdateJSONRequestBody defines body for DcimInterfaceTemplatesUpdate for application/json ContentType. -type DcimInterfaceTemplatesUpdateJSONRequestBody DcimInterfaceTemplatesUpdateJSONBody +type DcimInterfaceTemplatesUpdateJSONRequestBody = WritableInterfaceTemplateRequest + +// DcimInterfaceTemplatesNotesCreateJSONRequestBody defines body for DcimInterfaceTemplatesNotesCreate for application/json ContentType. +type DcimInterfaceTemplatesNotesCreateJSONRequestBody = NoteInputRequest + +// DcimInterfacesBulkDestroyJSONRequestBody defines body for DcimInterfacesBulkDestroy for application/json ContentType. +type DcimInterfacesBulkDestroyJSONRequestBody = DcimInterfacesBulkDestroyJSONBody // DcimInterfacesBulkPartialUpdateJSONRequestBody defines body for DcimInterfacesBulkPartialUpdate for application/json ContentType. -type DcimInterfacesBulkPartialUpdateJSONRequestBody DcimInterfacesBulkPartialUpdateJSONBody +type DcimInterfacesBulkPartialUpdateJSONRequestBody = DcimInterfacesBulkPartialUpdateJSONBody // DcimInterfacesCreateJSONRequestBody defines body for DcimInterfacesCreate for application/json ContentType. -type DcimInterfacesCreateJSONRequestBody DcimInterfacesCreateJSONBody +type DcimInterfacesCreateJSONRequestBody = WritableInterfaceRequest // DcimInterfacesBulkUpdateJSONRequestBody defines body for DcimInterfacesBulkUpdate for application/json ContentType. -type DcimInterfacesBulkUpdateJSONRequestBody DcimInterfacesBulkUpdateJSONBody +type DcimInterfacesBulkUpdateJSONRequestBody = DcimInterfacesBulkUpdateJSONBody // DcimInterfacesPartialUpdateJSONRequestBody defines body for DcimInterfacesPartialUpdate for application/json ContentType. -type DcimInterfacesPartialUpdateJSONRequestBody DcimInterfacesPartialUpdateJSONBody +type DcimInterfacesPartialUpdateJSONRequestBody = PatchedWritableInterfaceRequest // DcimInterfacesUpdateJSONRequestBody defines body for DcimInterfacesUpdate for application/json ContentType. -type DcimInterfacesUpdateJSONRequestBody DcimInterfacesUpdateJSONBody +type DcimInterfacesUpdateJSONRequestBody = WritableInterfaceRequest + +// DcimInterfacesNotesCreateJSONRequestBody defines body for DcimInterfacesNotesCreate for application/json ContentType. +type DcimInterfacesNotesCreateJSONRequestBody = NoteInputRequest + +// DcimInventoryItemsBulkDestroyJSONRequestBody defines body for DcimInventoryItemsBulkDestroy for application/json ContentType. +type DcimInventoryItemsBulkDestroyJSONRequestBody = DcimInventoryItemsBulkDestroyJSONBody // DcimInventoryItemsBulkPartialUpdateJSONRequestBody defines body for DcimInventoryItemsBulkPartialUpdate for application/json ContentType. -type DcimInventoryItemsBulkPartialUpdateJSONRequestBody DcimInventoryItemsBulkPartialUpdateJSONBody +type DcimInventoryItemsBulkPartialUpdateJSONRequestBody = DcimInventoryItemsBulkPartialUpdateJSONBody // DcimInventoryItemsCreateJSONRequestBody defines body for DcimInventoryItemsCreate for application/json ContentType. -type DcimInventoryItemsCreateJSONRequestBody DcimInventoryItemsCreateJSONBody +type DcimInventoryItemsCreateJSONRequestBody = WritableInventoryItemRequest // DcimInventoryItemsBulkUpdateJSONRequestBody defines body for DcimInventoryItemsBulkUpdate for application/json ContentType. -type DcimInventoryItemsBulkUpdateJSONRequestBody DcimInventoryItemsBulkUpdateJSONBody +type DcimInventoryItemsBulkUpdateJSONRequestBody = DcimInventoryItemsBulkUpdateJSONBody // DcimInventoryItemsPartialUpdateJSONRequestBody defines body for DcimInventoryItemsPartialUpdate for application/json ContentType. -type DcimInventoryItemsPartialUpdateJSONRequestBody DcimInventoryItemsPartialUpdateJSONBody +type DcimInventoryItemsPartialUpdateJSONRequestBody = PatchedWritableInventoryItemRequest // DcimInventoryItemsUpdateJSONRequestBody defines body for DcimInventoryItemsUpdate for application/json ContentType. -type DcimInventoryItemsUpdateJSONRequestBody DcimInventoryItemsUpdateJSONBody +type DcimInventoryItemsUpdateJSONRequestBody = WritableInventoryItemRequest + +// DcimInventoryItemsNotesCreateJSONRequestBody defines body for DcimInventoryItemsNotesCreate for application/json ContentType. +type DcimInventoryItemsNotesCreateJSONRequestBody = NoteInputRequest + +// DcimLocationTypesBulkDestroyJSONRequestBody defines body for DcimLocationTypesBulkDestroy for application/json ContentType. +type DcimLocationTypesBulkDestroyJSONRequestBody = DcimLocationTypesBulkDestroyJSONBody + +// DcimLocationTypesBulkPartialUpdateJSONRequestBody defines body for DcimLocationTypesBulkPartialUpdate for application/json ContentType. +type DcimLocationTypesBulkPartialUpdateJSONRequestBody = DcimLocationTypesBulkPartialUpdateJSONBody + +// DcimLocationTypesCreateJSONRequestBody defines body for DcimLocationTypesCreate for application/json ContentType. +type DcimLocationTypesCreateJSONRequestBody = WritableLocationTypeRequest + +// DcimLocationTypesBulkUpdateJSONRequestBody defines body for DcimLocationTypesBulkUpdate for application/json ContentType. +type DcimLocationTypesBulkUpdateJSONRequestBody = DcimLocationTypesBulkUpdateJSONBody + +// DcimLocationTypesPartialUpdateJSONRequestBody defines body for DcimLocationTypesPartialUpdate for application/json ContentType. +type DcimLocationTypesPartialUpdateJSONRequestBody = PatchedWritableLocationTypeRequest + +// DcimLocationTypesUpdateJSONRequestBody defines body for DcimLocationTypesUpdate for application/json ContentType. +type DcimLocationTypesUpdateJSONRequestBody = WritableLocationTypeRequest + +// DcimLocationTypesNotesCreateJSONRequestBody defines body for DcimLocationTypesNotesCreate for application/json ContentType. +type DcimLocationTypesNotesCreateJSONRequestBody = NoteInputRequest + +// DcimLocationsBulkDestroyJSONRequestBody defines body for DcimLocationsBulkDestroy for application/json ContentType. +type DcimLocationsBulkDestroyJSONRequestBody = DcimLocationsBulkDestroyJSONBody + +// DcimLocationsBulkPartialUpdateJSONRequestBody defines body for DcimLocationsBulkPartialUpdate for application/json ContentType. +type DcimLocationsBulkPartialUpdateJSONRequestBody = DcimLocationsBulkPartialUpdateJSONBody + +// DcimLocationsCreateJSONRequestBody defines body for DcimLocationsCreate for application/json ContentType. +type DcimLocationsCreateJSONRequestBody = WritableLocationRequest + +// DcimLocationsBulkUpdateJSONRequestBody defines body for DcimLocationsBulkUpdate for application/json ContentType. +type DcimLocationsBulkUpdateJSONRequestBody = DcimLocationsBulkUpdateJSONBody + +// DcimLocationsPartialUpdateJSONRequestBody defines body for DcimLocationsPartialUpdate for application/json ContentType. +type DcimLocationsPartialUpdateJSONRequestBody = PatchedWritableLocationRequest + +// DcimLocationsUpdateJSONRequestBody defines body for DcimLocationsUpdate for application/json ContentType. +type DcimLocationsUpdateJSONRequestBody = WritableLocationRequest + +// DcimLocationsNotesCreateJSONRequestBody defines body for DcimLocationsNotesCreate for application/json ContentType. +type DcimLocationsNotesCreateJSONRequestBody = NoteInputRequest + +// DcimManufacturersBulkDestroyJSONRequestBody defines body for DcimManufacturersBulkDestroy for application/json ContentType. +type DcimManufacturersBulkDestroyJSONRequestBody = DcimManufacturersBulkDestroyJSONBody // DcimManufacturersBulkPartialUpdateJSONRequestBody defines body for DcimManufacturersBulkPartialUpdate for application/json ContentType. -type DcimManufacturersBulkPartialUpdateJSONRequestBody DcimManufacturersBulkPartialUpdateJSONBody +type DcimManufacturersBulkPartialUpdateJSONRequestBody = DcimManufacturersBulkPartialUpdateJSONBody // DcimManufacturersCreateJSONRequestBody defines body for DcimManufacturersCreate for application/json ContentType. -type DcimManufacturersCreateJSONRequestBody DcimManufacturersCreateJSONBody +type DcimManufacturersCreateJSONRequestBody = ManufacturerRequest // DcimManufacturersBulkUpdateJSONRequestBody defines body for DcimManufacturersBulkUpdate for application/json ContentType. -type DcimManufacturersBulkUpdateJSONRequestBody DcimManufacturersBulkUpdateJSONBody +type DcimManufacturersBulkUpdateJSONRequestBody = DcimManufacturersBulkUpdateJSONBody // DcimManufacturersPartialUpdateJSONRequestBody defines body for DcimManufacturersPartialUpdate for application/json ContentType. -type DcimManufacturersPartialUpdateJSONRequestBody DcimManufacturersPartialUpdateJSONBody +type DcimManufacturersPartialUpdateJSONRequestBody = PatchedManufacturerRequest // DcimManufacturersUpdateJSONRequestBody defines body for DcimManufacturersUpdate for application/json ContentType. -type DcimManufacturersUpdateJSONRequestBody DcimManufacturersUpdateJSONBody +type DcimManufacturersUpdateJSONRequestBody = ManufacturerRequest + +// DcimManufacturersNotesCreateJSONRequestBody defines body for DcimManufacturersNotesCreate for application/json ContentType. +type DcimManufacturersNotesCreateJSONRequestBody = NoteInputRequest + +// DcimPlatformsBulkDestroyJSONRequestBody defines body for DcimPlatformsBulkDestroy for application/json ContentType. +type DcimPlatformsBulkDestroyJSONRequestBody = DcimPlatformsBulkDestroyJSONBody // DcimPlatformsBulkPartialUpdateJSONRequestBody defines body for DcimPlatformsBulkPartialUpdate for application/json ContentType. -type DcimPlatformsBulkPartialUpdateJSONRequestBody DcimPlatformsBulkPartialUpdateJSONBody +type DcimPlatformsBulkPartialUpdateJSONRequestBody = DcimPlatformsBulkPartialUpdateJSONBody // DcimPlatformsCreateJSONRequestBody defines body for DcimPlatformsCreate for application/json ContentType. -type DcimPlatformsCreateJSONRequestBody DcimPlatformsCreateJSONBody +type DcimPlatformsCreateJSONRequestBody = WritablePlatformRequest // DcimPlatformsBulkUpdateJSONRequestBody defines body for DcimPlatformsBulkUpdate for application/json ContentType. -type DcimPlatformsBulkUpdateJSONRequestBody DcimPlatformsBulkUpdateJSONBody +type DcimPlatformsBulkUpdateJSONRequestBody = DcimPlatformsBulkUpdateJSONBody // DcimPlatformsPartialUpdateJSONRequestBody defines body for DcimPlatformsPartialUpdate for application/json ContentType. -type DcimPlatformsPartialUpdateJSONRequestBody DcimPlatformsPartialUpdateJSONBody +type DcimPlatformsPartialUpdateJSONRequestBody = PatchedWritablePlatformRequest // DcimPlatformsUpdateJSONRequestBody defines body for DcimPlatformsUpdate for application/json ContentType. -type DcimPlatformsUpdateJSONRequestBody DcimPlatformsUpdateJSONBody +type DcimPlatformsUpdateJSONRequestBody = WritablePlatformRequest + +// DcimPlatformsNotesCreateJSONRequestBody defines body for DcimPlatformsNotesCreate for application/json ContentType. +type DcimPlatformsNotesCreateJSONRequestBody = NoteInputRequest + +// DcimPowerFeedsBulkDestroyJSONRequestBody defines body for DcimPowerFeedsBulkDestroy for application/json ContentType. +type DcimPowerFeedsBulkDestroyJSONRequestBody = DcimPowerFeedsBulkDestroyJSONBody // DcimPowerFeedsBulkPartialUpdateJSONRequestBody defines body for DcimPowerFeedsBulkPartialUpdate for application/json ContentType. -type DcimPowerFeedsBulkPartialUpdateJSONRequestBody DcimPowerFeedsBulkPartialUpdateJSONBody +type DcimPowerFeedsBulkPartialUpdateJSONRequestBody = DcimPowerFeedsBulkPartialUpdateJSONBody // DcimPowerFeedsCreateJSONRequestBody defines body for DcimPowerFeedsCreate for application/json ContentType. -type DcimPowerFeedsCreateJSONRequestBody DcimPowerFeedsCreateJSONBody +type DcimPowerFeedsCreateJSONRequestBody = WritablePowerFeedRequest // DcimPowerFeedsBulkUpdateJSONRequestBody defines body for DcimPowerFeedsBulkUpdate for application/json ContentType. -type DcimPowerFeedsBulkUpdateJSONRequestBody DcimPowerFeedsBulkUpdateJSONBody +type DcimPowerFeedsBulkUpdateJSONRequestBody = DcimPowerFeedsBulkUpdateJSONBody // DcimPowerFeedsPartialUpdateJSONRequestBody defines body for DcimPowerFeedsPartialUpdate for application/json ContentType. -type DcimPowerFeedsPartialUpdateJSONRequestBody DcimPowerFeedsPartialUpdateJSONBody +type DcimPowerFeedsPartialUpdateJSONRequestBody = PatchedWritablePowerFeedRequest // DcimPowerFeedsUpdateJSONRequestBody defines body for DcimPowerFeedsUpdate for application/json ContentType. -type DcimPowerFeedsUpdateJSONRequestBody DcimPowerFeedsUpdateJSONBody +type DcimPowerFeedsUpdateJSONRequestBody = WritablePowerFeedRequest + +// DcimPowerFeedsNotesCreateJSONRequestBody defines body for DcimPowerFeedsNotesCreate for application/json ContentType. +type DcimPowerFeedsNotesCreateJSONRequestBody = NoteInputRequest + +// DcimPowerOutletTemplatesBulkDestroyJSONRequestBody defines body for DcimPowerOutletTemplatesBulkDestroy for application/json ContentType. +type DcimPowerOutletTemplatesBulkDestroyJSONRequestBody = DcimPowerOutletTemplatesBulkDestroyJSONBody // DcimPowerOutletTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimPowerOutletTemplatesBulkPartialUpdate for application/json ContentType. -type DcimPowerOutletTemplatesBulkPartialUpdateJSONRequestBody DcimPowerOutletTemplatesBulkPartialUpdateJSONBody +type DcimPowerOutletTemplatesBulkPartialUpdateJSONRequestBody = DcimPowerOutletTemplatesBulkPartialUpdateJSONBody // DcimPowerOutletTemplatesCreateJSONRequestBody defines body for DcimPowerOutletTemplatesCreate for application/json ContentType. -type DcimPowerOutletTemplatesCreateJSONRequestBody DcimPowerOutletTemplatesCreateJSONBody +type DcimPowerOutletTemplatesCreateJSONRequestBody = WritablePowerOutletTemplateRequest // DcimPowerOutletTemplatesBulkUpdateJSONRequestBody defines body for DcimPowerOutletTemplatesBulkUpdate for application/json ContentType. -type DcimPowerOutletTemplatesBulkUpdateJSONRequestBody DcimPowerOutletTemplatesBulkUpdateJSONBody +type DcimPowerOutletTemplatesBulkUpdateJSONRequestBody = DcimPowerOutletTemplatesBulkUpdateJSONBody // DcimPowerOutletTemplatesPartialUpdateJSONRequestBody defines body for DcimPowerOutletTemplatesPartialUpdate for application/json ContentType. -type DcimPowerOutletTemplatesPartialUpdateJSONRequestBody DcimPowerOutletTemplatesPartialUpdateJSONBody +type DcimPowerOutletTemplatesPartialUpdateJSONRequestBody = PatchedWritablePowerOutletTemplateRequest // DcimPowerOutletTemplatesUpdateJSONRequestBody defines body for DcimPowerOutletTemplatesUpdate for application/json ContentType. -type DcimPowerOutletTemplatesUpdateJSONRequestBody DcimPowerOutletTemplatesUpdateJSONBody +type DcimPowerOutletTemplatesUpdateJSONRequestBody = WritablePowerOutletTemplateRequest + +// DcimPowerOutletTemplatesNotesCreateJSONRequestBody defines body for DcimPowerOutletTemplatesNotesCreate for application/json ContentType. +type DcimPowerOutletTemplatesNotesCreateJSONRequestBody = NoteInputRequest + +// DcimPowerOutletsBulkDestroyJSONRequestBody defines body for DcimPowerOutletsBulkDestroy for application/json ContentType. +type DcimPowerOutletsBulkDestroyJSONRequestBody = DcimPowerOutletsBulkDestroyJSONBody // DcimPowerOutletsBulkPartialUpdateJSONRequestBody defines body for DcimPowerOutletsBulkPartialUpdate for application/json ContentType. -type DcimPowerOutletsBulkPartialUpdateJSONRequestBody DcimPowerOutletsBulkPartialUpdateJSONBody +type DcimPowerOutletsBulkPartialUpdateJSONRequestBody = DcimPowerOutletsBulkPartialUpdateJSONBody // DcimPowerOutletsCreateJSONRequestBody defines body for DcimPowerOutletsCreate for application/json ContentType. -type DcimPowerOutletsCreateJSONRequestBody DcimPowerOutletsCreateJSONBody +type DcimPowerOutletsCreateJSONRequestBody = WritablePowerOutletRequest // DcimPowerOutletsBulkUpdateJSONRequestBody defines body for DcimPowerOutletsBulkUpdate for application/json ContentType. -type DcimPowerOutletsBulkUpdateJSONRequestBody DcimPowerOutletsBulkUpdateJSONBody +type DcimPowerOutletsBulkUpdateJSONRequestBody = DcimPowerOutletsBulkUpdateJSONBody // DcimPowerOutletsPartialUpdateJSONRequestBody defines body for DcimPowerOutletsPartialUpdate for application/json ContentType. -type DcimPowerOutletsPartialUpdateJSONRequestBody DcimPowerOutletsPartialUpdateJSONBody +type DcimPowerOutletsPartialUpdateJSONRequestBody = PatchedWritablePowerOutletRequest // DcimPowerOutletsUpdateJSONRequestBody defines body for DcimPowerOutletsUpdate for application/json ContentType. -type DcimPowerOutletsUpdateJSONRequestBody DcimPowerOutletsUpdateJSONBody +type DcimPowerOutletsUpdateJSONRequestBody = WritablePowerOutletRequest + +// DcimPowerOutletsNotesCreateJSONRequestBody defines body for DcimPowerOutletsNotesCreate for application/json ContentType. +type DcimPowerOutletsNotesCreateJSONRequestBody = NoteInputRequest + +// DcimPowerPanelsBulkDestroyJSONRequestBody defines body for DcimPowerPanelsBulkDestroy for application/json ContentType. +type DcimPowerPanelsBulkDestroyJSONRequestBody = DcimPowerPanelsBulkDestroyJSONBody // DcimPowerPanelsBulkPartialUpdateJSONRequestBody defines body for DcimPowerPanelsBulkPartialUpdate for application/json ContentType. -type DcimPowerPanelsBulkPartialUpdateJSONRequestBody DcimPowerPanelsBulkPartialUpdateJSONBody +type DcimPowerPanelsBulkPartialUpdateJSONRequestBody = DcimPowerPanelsBulkPartialUpdateJSONBody // DcimPowerPanelsCreateJSONRequestBody defines body for DcimPowerPanelsCreate for application/json ContentType. -type DcimPowerPanelsCreateJSONRequestBody DcimPowerPanelsCreateJSONBody +type DcimPowerPanelsCreateJSONRequestBody = WritablePowerPanelRequest // DcimPowerPanelsBulkUpdateJSONRequestBody defines body for DcimPowerPanelsBulkUpdate for application/json ContentType. -type DcimPowerPanelsBulkUpdateJSONRequestBody DcimPowerPanelsBulkUpdateJSONBody +type DcimPowerPanelsBulkUpdateJSONRequestBody = DcimPowerPanelsBulkUpdateJSONBody // DcimPowerPanelsPartialUpdateJSONRequestBody defines body for DcimPowerPanelsPartialUpdate for application/json ContentType. -type DcimPowerPanelsPartialUpdateJSONRequestBody DcimPowerPanelsPartialUpdateJSONBody +type DcimPowerPanelsPartialUpdateJSONRequestBody = PatchedWritablePowerPanelRequest // DcimPowerPanelsUpdateJSONRequestBody defines body for DcimPowerPanelsUpdate for application/json ContentType. -type DcimPowerPanelsUpdateJSONRequestBody DcimPowerPanelsUpdateJSONBody +type DcimPowerPanelsUpdateJSONRequestBody = WritablePowerPanelRequest + +// DcimPowerPanelsNotesCreateJSONRequestBody defines body for DcimPowerPanelsNotesCreate for application/json ContentType. +type DcimPowerPanelsNotesCreateJSONRequestBody = NoteInputRequest + +// DcimPowerPortTemplatesBulkDestroyJSONRequestBody defines body for DcimPowerPortTemplatesBulkDestroy for application/json ContentType. +type DcimPowerPortTemplatesBulkDestroyJSONRequestBody = DcimPowerPortTemplatesBulkDestroyJSONBody // DcimPowerPortTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimPowerPortTemplatesBulkPartialUpdate for application/json ContentType. -type DcimPowerPortTemplatesBulkPartialUpdateJSONRequestBody DcimPowerPortTemplatesBulkPartialUpdateJSONBody +type DcimPowerPortTemplatesBulkPartialUpdateJSONRequestBody = DcimPowerPortTemplatesBulkPartialUpdateJSONBody // DcimPowerPortTemplatesCreateJSONRequestBody defines body for DcimPowerPortTemplatesCreate for application/json ContentType. -type DcimPowerPortTemplatesCreateJSONRequestBody DcimPowerPortTemplatesCreateJSONBody +type DcimPowerPortTemplatesCreateJSONRequestBody = WritablePowerPortTemplateRequest // DcimPowerPortTemplatesBulkUpdateJSONRequestBody defines body for DcimPowerPortTemplatesBulkUpdate for application/json ContentType. -type DcimPowerPortTemplatesBulkUpdateJSONRequestBody DcimPowerPortTemplatesBulkUpdateJSONBody +type DcimPowerPortTemplatesBulkUpdateJSONRequestBody = DcimPowerPortTemplatesBulkUpdateJSONBody // DcimPowerPortTemplatesPartialUpdateJSONRequestBody defines body for DcimPowerPortTemplatesPartialUpdate for application/json ContentType. -type DcimPowerPortTemplatesPartialUpdateJSONRequestBody DcimPowerPortTemplatesPartialUpdateJSONBody +type DcimPowerPortTemplatesPartialUpdateJSONRequestBody = PatchedWritablePowerPortTemplateRequest // DcimPowerPortTemplatesUpdateJSONRequestBody defines body for DcimPowerPortTemplatesUpdate for application/json ContentType. -type DcimPowerPortTemplatesUpdateJSONRequestBody DcimPowerPortTemplatesUpdateJSONBody +type DcimPowerPortTemplatesUpdateJSONRequestBody = WritablePowerPortTemplateRequest + +// DcimPowerPortTemplatesNotesCreateJSONRequestBody defines body for DcimPowerPortTemplatesNotesCreate for application/json ContentType. +type DcimPowerPortTemplatesNotesCreateJSONRequestBody = NoteInputRequest + +// DcimPowerPortsBulkDestroyJSONRequestBody defines body for DcimPowerPortsBulkDestroy for application/json ContentType. +type DcimPowerPortsBulkDestroyJSONRequestBody = DcimPowerPortsBulkDestroyJSONBody // DcimPowerPortsBulkPartialUpdateJSONRequestBody defines body for DcimPowerPortsBulkPartialUpdate for application/json ContentType. -type DcimPowerPortsBulkPartialUpdateJSONRequestBody DcimPowerPortsBulkPartialUpdateJSONBody +type DcimPowerPortsBulkPartialUpdateJSONRequestBody = DcimPowerPortsBulkPartialUpdateJSONBody // DcimPowerPortsCreateJSONRequestBody defines body for DcimPowerPortsCreate for application/json ContentType. -type DcimPowerPortsCreateJSONRequestBody DcimPowerPortsCreateJSONBody +type DcimPowerPortsCreateJSONRequestBody = WritablePowerPortRequest // DcimPowerPortsBulkUpdateJSONRequestBody defines body for DcimPowerPortsBulkUpdate for application/json ContentType. -type DcimPowerPortsBulkUpdateJSONRequestBody DcimPowerPortsBulkUpdateJSONBody +type DcimPowerPortsBulkUpdateJSONRequestBody = DcimPowerPortsBulkUpdateJSONBody // DcimPowerPortsPartialUpdateJSONRequestBody defines body for DcimPowerPortsPartialUpdate for application/json ContentType. -type DcimPowerPortsPartialUpdateJSONRequestBody DcimPowerPortsPartialUpdateJSONBody +type DcimPowerPortsPartialUpdateJSONRequestBody = PatchedWritablePowerPortRequest // DcimPowerPortsUpdateJSONRequestBody defines body for DcimPowerPortsUpdate for application/json ContentType. -type DcimPowerPortsUpdateJSONRequestBody DcimPowerPortsUpdateJSONBody +type DcimPowerPortsUpdateJSONRequestBody = WritablePowerPortRequest + +// DcimPowerPortsNotesCreateJSONRequestBody defines body for DcimPowerPortsNotesCreate for application/json ContentType. +type DcimPowerPortsNotesCreateJSONRequestBody = NoteInputRequest + +// DcimRackGroupsBulkDestroyJSONRequestBody defines body for DcimRackGroupsBulkDestroy for application/json ContentType. +type DcimRackGroupsBulkDestroyJSONRequestBody = DcimRackGroupsBulkDestroyJSONBody // DcimRackGroupsBulkPartialUpdateJSONRequestBody defines body for DcimRackGroupsBulkPartialUpdate for application/json ContentType. -type DcimRackGroupsBulkPartialUpdateJSONRequestBody DcimRackGroupsBulkPartialUpdateJSONBody +type DcimRackGroupsBulkPartialUpdateJSONRequestBody = DcimRackGroupsBulkPartialUpdateJSONBody // DcimRackGroupsCreateJSONRequestBody defines body for DcimRackGroupsCreate for application/json ContentType. -type DcimRackGroupsCreateJSONRequestBody DcimRackGroupsCreateJSONBody +type DcimRackGroupsCreateJSONRequestBody = WritableRackGroupRequest // DcimRackGroupsBulkUpdateJSONRequestBody defines body for DcimRackGroupsBulkUpdate for application/json ContentType. -type DcimRackGroupsBulkUpdateJSONRequestBody DcimRackGroupsBulkUpdateJSONBody +type DcimRackGroupsBulkUpdateJSONRequestBody = DcimRackGroupsBulkUpdateJSONBody // DcimRackGroupsPartialUpdateJSONRequestBody defines body for DcimRackGroupsPartialUpdate for application/json ContentType. -type DcimRackGroupsPartialUpdateJSONRequestBody DcimRackGroupsPartialUpdateJSONBody +type DcimRackGroupsPartialUpdateJSONRequestBody = PatchedWritableRackGroupRequest // DcimRackGroupsUpdateJSONRequestBody defines body for DcimRackGroupsUpdate for application/json ContentType. -type DcimRackGroupsUpdateJSONRequestBody DcimRackGroupsUpdateJSONBody +type DcimRackGroupsUpdateJSONRequestBody = WritableRackGroupRequest + +// DcimRackGroupsNotesCreateJSONRequestBody defines body for DcimRackGroupsNotesCreate for application/json ContentType. +type DcimRackGroupsNotesCreateJSONRequestBody = NoteInputRequest + +// DcimRackReservationsBulkDestroyJSONRequestBody defines body for DcimRackReservationsBulkDestroy for application/json ContentType. +type DcimRackReservationsBulkDestroyJSONRequestBody = DcimRackReservationsBulkDestroyJSONBody // DcimRackReservationsBulkPartialUpdateJSONRequestBody defines body for DcimRackReservationsBulkPartialUpdate for application/json ContentType. -type DcimRackReservationsBulkPartialUpdateJSONRequestBody DcimRackReservationsBulkPartialUpdateJSONBody +type DcimRackReservationsBulkPartialUpdateJSONRequestBody = DcimRackReservationsBulkPartialUpdateJSONBody // DcimRackReservationsCreateJSONRequestBody defines body for DcimRackReservationsCreate for application/json ContentType. -type DcimRackReservationsCreateJSONRequestBody DcimRackReservationsCreateJSONBody +type DcimRackReservationsCreateJSONRequestBody = WritableRackReservationRequest // DcimRackReservationsBulkUpdateJSONRequestBody defines body for DcimRackReservationsBulkUpdate for application/json ContentType. -type DcimRackReservationsBulkUpdateJSONRequestBody DcimRackReservationsBulkUpdateJSONBody +type DcimRackReservationsBulkUpdateJSONRequestBody = DcimRackReservationsBulkUpdateJSONBody // DcimRackReservationsPartialUpdateJSONRequestBody defines body for DcimRackReservationsPartialUpdate for application/json ContentType. -type DcimRackReservationsPartialUpdateJSONRequestBody DcimRackReservationsPartialUpdateJSONBody +type DcimRackReservationsPartialUpdateJSONRequestBody = PatchedWritableRackReservationRequest // DcimRackReservationsUpdateJSONRequestBody defines body for DcimRackReservationsUpdate for application/json ContentType. -type DcimRackReservationsUpdateJSONRequestBody DcimRackReservationsUpdateJSONBody +type DcimRackReservationsUpdateJSONRequestBody = WritableRackReservationRequest + +// DcimRackReservationsNotesCreateJSONRequestBody defines body for DcimRackReservationsNotesCreate for application/json ContentType. +type DcimRackReservationsNotesCreateJSONRequestBody = NoteInputRequest + +// DcimRackRolesBulkDestroyJSONRequestBody defines body for DcimRackRolesBulkDestroy for application/json ContentType. +type DcimRackRolesBulkDestroyJSONRequestBody = DcimRackRolesBulkDestroyJSONBody // DcimRackRolesBulkPartialUpdateJSONRequestBody defines body for DcimRackRolesBulkPartialUpdate for application/json ContentType. -type DcimRackRolesBulkPartialUpdateJSONRequestBody DcimRackRolesBulkPartialUpdateJSONBody +type DcimRackRolesBulkPartialUpdateJSONRequestBody = DcimRackRolesBulkPartialUpdateJSONBody // DcimRackRolesCreateJSONRequestBody defines body for DcimRackRolesCreate for application/json ContentType. -type DcimRackRolesCreateJSONRequestBody DcimRackRolesCreateJSONBody +type DcimRackRolesCreateJSONRequestBody = RackRoleRequest // DcimRackRolesBulkUpdateJSONRequestBody defines body for DcimRackRolesBulkUpdate for application/json ContentType. -type DcimRackRolesBulkUpdateJSONRequestBody DcimRackRolesBulkUpdateJSONBody +type DcimRackRolesBulkUpdateJSONRequestBody = DcimRackRolesBulkUpdateJSONBody // DcimRackRolesPartialUpdateJSONRequestBody defines body for DcimRackRolesPartialUpdate for application/json ContentType. -type DcimRackRolesPartialUpdateJSONRequestBody DcimRackRolesPartialUpdateJSONBody +type DcimRackRolesPartialUpdateJSONRequestBody = PatchedRackRoleRequest // DcimRackRolesUpdateJSONRequestBody defines body for DcimRackRolesUpdate for application/json ContentType. -type DcimRackRolesUpdateJSONRequestBody DcimRackRolesUpdateJSONBody +type DcimRackRolesUpdateJSONRequestBody = RackRoleRequest + +// DcimRackRolesNotesCreateJSONRequestBody defines body for DcimRackRolesNotesCreate for application/json ContentType. +type DcimRackRolesNotesCreateJSONRequestBody = NoteInputRequest + +// DcimRacksBulkDestroyJSONRequestBody defines body for DcimRacksBulkDestroy for application/json ContentType. +type DcimRacksBulkDestroyJSONRequestBody = DcimRacksBulkDestroyJSONBody // DcimRacksBulkPartialUpdateJSONRequestBody defines body for DcimRacksBulkPartialUpdate for application/json ContentType. -type DcimRacksBulkPartialUpdateJSONRequestBody DcimRacksBulkPartialUpdateJSONBody +type DcimRacksBulkPartialUpdateJSONRequestBody = DcimRacksBulkPartialUpdateJSONBody // DcimRacksCreateJSONRequestBody defines body for DcimRacksCreate for application/json ContentType. -type DcimRacksCreateJSONRequestBody DcimRacksCreateJSONBody +type DcimRacksCreateJSONRequestBody = WritableRackRequest // DcimRacksBulkUpdateJSONRequestBody defines body for DcimRacksBulkUpdate for application/json ContentType. -type DcimRacksBulkUpdateJSONRequestBody DcimRacksBulkUpdateJSONBody +type DcimRacksBulkUpdateJSONRequestBody = DcimRacksBulkUpdateJSONBody // DcimRacksPartialUpdateJSONRequestBody defines body for DcimRacksPartialUpdate for application/json ContentType. -type DcimRacksPartialUpdateJSONRequestBody DcimRacksPartialUpdateJSONBody +type DcimRacksPartialUpdateJSONRequestBody = PatchedWritableRackRequest // DcimRacksUpdateJSONRequestBody defines body for DcimRacksUpdate for application/json ContentType. -type DcimRacksUpdateJSONRequestBody DcimRacksUpdateJSONBody +type DcimRacksUpdateJSONRequestBody = WritableRackRequest + +// DcimRacksNotesCreateJSONRequestBody defines body for DcimRacksNotesCreate for application/json ContentType. +type DcimRacksNotesCreateJSONRequestBody = NoteInputRequest + +// DcimRearPortTemplatesBulkDestroyJSONRequestBody defines body for DcimRearPortTemplatesBulkDestroy for application/json ContentType. +type DcimRearPortTemplatesBulkDestroyJSONRequestBody = DcimRearPortTemplatesBulkDestroyJSONBody // DcimRearPortTemplatesBulkPartialUpdateJSONRequestBody defines body for DcimRearPortTemplatesBulkPartialUpdate for application/json ContentType. -type DcimRearPortTemplatesBulkPartialUpdateJSONRequestBody DcimRearPortTemplatesBulkPartialUpdateJSONBody +type DcimRearPortTemplatesBulkPartialUpdateJSONRequestBody = DcimRearPortTemplatesBulkPartialUpdateJSONBody // DcimRearPortTemplatesCreateJSONRequestBody defines body for DcimRearPortTemplatesCreate for application/json ContentType. -type DcimRearPortTemplatesCreateJSONRequestBody DcimRearPortTemplatesCreateJSONBody +type DcimRearPortTemplatesCreateJSONRequestBody = WritableRearPortTemplateRequest // DcimRearPortTemplatesBulkUpdateJSONRequestBody defines body for DcimRearPortTemplatesBulkUpdate for application/json ContentType. -type DcimRearPortTemplatesBulkUpdateJSONRequestBody DcimRearPortTemplatesBulkUpdateJSONBody +type DcimRearPortTemplatesBulkUpdateJSONRequestBody = DcimRearPortTemplatesBulkUpdateJSONBody // DcimRearPortTemplatesPartialUpdateJSONRequestBody defines body for DcimRearPortTemplatesPartialUpdate for application/json ContentType. -type DcimRearPortTemplatesPartialUpdateJSONRequestBody DcimRearPortTemplatesPartialUpdateJSONBody +type DcimRearPortTemplatesPartialUpdateJSONRequestBody = PatchedWritableRearPortTemplateRequest // DcimRearPortTemplatesUpdateJSONRequestBody defines body for DcimRearPortTemplatesUpdate for application/json ContentType. -type DcimRearPortTemplatesUpdateJSONRequestBody DcimRearPortTemplatesUpdateJSONBody +type DcimRearPortTemplatesUpdateJSONRequestBody = WritableRearPortTemplateRequest + +// DcimRearPortTemplatesNotesCreateJSONRequestBody defines body for DcimRearPortTemplatesNotesCreate for application/json ContentType. +type DcimRearPortTemplatesNotesCreateJSONRequestBody = NoteInputRequest + +// DcimRearPortsBulkDestroyJSONRequestBody defines body for DcimRearPortsBulkDestroy for application/json ContentType. +type DcimRearPortsBulkDestroyJSONRequestBody = DcimRearPortsBulkDestroyJSONBody // DcimRearPortsBulkPartialUpdateJSONRequestBody defines body for DcimRearPortsBulkPartialUpdate for application/json ContentType. -type DcimRearPortsBulkPartialUpdateJSONRequestBody DcimRearPortsBulkPartialUpdateJSONBody +type DcimRearPortsBulkPartialUpdateJSONRequestBody = DcimRearPortsBulkPartialUpdateJSONBody // DcimRearPortsCreateJSONRequestBody defines body for DcimRearPortsCreate for application/json ContentType. -type DcimRearPortsCreateJSONRequestBody DcimRearPortsCreateJSONBody +type DcimRearPortsCreateJSONRequestBody = WritableRearPortRequest // DcimRearPortsBulkUpdateJSONRequestBody defines body for DcimRearPortsBulkUpdate for application/json ContentType. -type DcimRearPortsBulkUpdateJSONRequestBody DcimRearPortsBulkUpdateJSONBody +type DcimRearPortsBulkUpdateJSONRequestBody = DcimRearPortsBulkUpdateJSONBody // DcimRearPortsPartialUpdateJSONRequestBody defines body for DcimRearPortsPartialUpdate for application/json ContentType. -type DcimRearPortsPartialUpdateJSONRequestBody DcimRearPortsPartialUpdateJSONBody +type DcimRearPortsPartialUpdateJSONRequestBody = PatchedWritableRearPortRequest // DcimRearPortsUpdateJSONRequestBody defines body for DcimRearPortsUpdate for application/json ContentType. -type DcimRearPortsUpdateJSONRequestBody DcimRearPortsUpdateJSONBody +type DcimRearPortsUpdateJSONRequestBody = WritableRearPortRequest + +// DcimRearPortsNotesCreateJSONRequestBody defines body for DcimRearPortsNotesCreate for application/json ContentType. +type DcimRearPortsNotesCreateJSONRequestBody = NoteInputRequest + +// DcimRegionsBulkDestroyJSONRequestBody defines body for DcimRegionsBulkDestroy for application/json ContentType. +type DcimRegionsBulkDestroyJSONRequestBody = DcimRegionsBulkDestroyJSONBody // DcimRegionsBulkPartialUpdateJSONRequestBody defines body for DcimRegionsBulkPartialUpdate for application/json ContentType. -type DcimRegionsBulkPartialUpdateJSONRequestBody DcimRegionsBulkPartialUpdateJSONBody +type DcimRegionsBulkPartialUpdateJSONRequestBody = DcimRegionsBulkPartialUpdateJSONBody // DcimRegionsCreateJSONRequestBody defines body for DcimRegionsCreate for application/json ContentType. -type DcimRegionsCreateJSONRequestBody DcimRegionsCreateJSONBody +type DcimRegionsCreateJSONRequestBody = WritableRegionRequest // DcimRegionsBulkUpdateJSONRequestBody defines body for DcimRegionsBulkUpdate for application/json ContentType. -type DcimRegionsBulkUpdateJSONRequestBody DcimRegionsBulkUpdateJSONBody +type DcimRegionsBulkUpdateJSONRequestBody = DcimRegionsBulkUpdateJSONBody // DcimRegionsPartialUpdateJSONRequestBody defines body for DcimRegionsPartialUpdate for application/json ContentType. -type DcimRegionsPartialUpdateJSONRequestBody DcimRegionsPartialUpdateJSONBody +type DcimRegionsPartialUpdateJSONRequestBody = PatchedWritableRegionRequest // DcimRegionsUpdateJSONRequestBody defines body for DcimRegionsUpdate for application/json ContentType. -type DcimRegionsUpdateJSONRequestBody DcimRegionsUpdateJSONBody +type DcimRegionsUpdateJSONRequestBody = WritableRegionRequest + +// DcimRegionsNotesCreateJSONRequestBody defines body for DcimRegionsNotesCreate for application/json ContentType. +type DcimRegionsNotesCreateJSONRequestBody = NoteInputRequest + +// DcimSitesBulkDestroyJSONRequestBody defines body for DcimSitesBulkDestroy for application/json ContentType. +type DcimSitesBulkDestroyJSONRequestBody = DcimSitesBulkDestroyJSONBody // DcimSitesBulkPartialUpdateJSONRequestBody defines body for DcimSitesBulkPartialUpdate for application/json ContentType. -type DcimSitesBulkPartialUpdateJSONRequestBody DcimSitesBulkPartialUpdateJSONBody +type DcimSitesBulkPartialUpdateJSONRequestBody = DcimSitesBulkPartialUpdateJSONBody // DcimSitesCreateJSONRequestBody defines body for DcimSitesCreate for application/json ContentType. -type DcimSitesCreateJSONRequestBody DcimSitesCreateJSONBody +type DcimSitesCreateJSONRequestBody = WritableSiteRequest // DcimSitesBulkUpdateJSONRequestBody defines body for DcimSitesBulkUpdate for application/json ContentType. -type DcimSitesBulkUpdateJSONRequestBody DcimSitesBulkUpdateJSONBody +type DcimSitesBulkUpdateJSONRequestBody = DcimSitesBulkUpdateJSONBody // DcimSitesPartialUpdateJSONRequestBody defines body for DcimSitesPartialUpdate for application/json ContentType. -type DcimSitesPartialUpdateJSONRequestBody DcimSitesPartialUpdateJSONBody +type DcimSitesPartialUpdateJSONRequestBody = PatchedWritableSiteRequest // DcimSitesUpdateJSONRequestBody defines body for DcimSitesUpdate for application/json ContentType. -type DcimSitesUpdateJSONRequestBody DcimSitesUpdateJSONBody +type DcimSitesUpdateJSONRequestBody = WritableSiteRequest + +// DcimSitesNotesCreateJSONRequestBody defines body for DcimSitesNotesCreate for application/json ContentType. +type DcimSitesNotesCreateJSONRequestBody = NoteInputRequest + +// DcimVirtualChassisBulkDestroyJSONRequestBody defines body for DcimVirtualChassisBulkDestroy for application/json ContentType. +type DcimVirtualChassisBulkDestroyJSONRequestBody = DcimVirtualChassisBulkDestroyJSONBody // DcimVirtualChassisBulkPartialUpdateJSONRequestBody defines body for DcimVirtualChassisBulkPartialUpdate for application/json ContentType. -type DcimVirtualChassisBulkPartialUpdateJSONRequestBody DcimVirtualChassisBulkPartialUpdateJSONBody +type DcimVirtualChassisBulkPartialUpdateJSONRequestBody = DcimVirtualChassisBulkPartialUpdateJSONBody // DcimVirtualChassisCreateJSONRequestBody defines body for DcimVirtualChassisCreate for application/json ContentType. -type DcimVirtualChassisCreateJSONRequestBody DcimVirtualChassisCreateJSONBody +type DcimVirtualChassisCreateJSONRequestBody = WritableVirtualChassisRequest // DcimVirtualChassisBulkUpdateJSONRequestBody defines body for DcimVirtualChassisBulkUpdate for application/json ContentType. -type DcimVirtualChassisBulkUpdateJSONRequestBody DcimVirtualChassisBulkUpdateJSONBody +type DcimVirtualChassisBulkUpdateJSONRequestBody = DcimVirtualChassisBulkUpdateJSONBody // DcimVirtualChassisPartialUpdateJSONRequestBody defines body for DcimVirtualChassisPartialUpdate for application/json ContentType. -type DcimVirtualChassisPartialUpdateJSONRequestBody DcimVirtualChassisPartialUpdateJSONBody +type DcimVirtualChassisPartialUpdateJSONRequestBody = PatchedWritableVirtualChassisRequest // DcimVirtualChassisUpdateJSONRequestBody defines body for DcimVirtualChassisUpdate for application/json ContentType. -type DcimVirtualChassisUpdateJSONRequestBody DcimVirtualChassisUpdateJSONBody +type DcimVirtualChassisUpdateJSONRequestBody = WritableVirtualChassisRequest + +// DcimVirtualChassisNotesCreateJSONRequestBody defines body for DcimVirtualChassisNotesCreate for application/json ContentType. +type DcimVirtualChassisNotesCreateJSONRequestBody = NoteInputRequest + +// ExtrasComputedFieldsBulkDestroyJSONRequestBody defines body for ExtrasComputedFieldsBulkDestroy for application/json ContentType. +type ExtrasComputedFieldsBulkDestroyJSONRequestBody = ExtrasComputedFieldsBulkDestroyJSONBody // ExtrasComputedFieldsBulkPartialUpdateJSONRequestBody defines body for ExtrasComputedFieldsBulkPartialUpdate for application/json ContentType. -type ExtrasComputedFieldsBulkPartialUpdateJSONRequestBody ExtrasComputedFieldsBulkPartialUpdateJSONBody +type ExtrasComputedFieldsBulkPartialUpdateJSONRequestBody = ExtrasComputedFieldsBulkPartialUpdateJSONBody // ExtrasComputedFieldsCreateJSONRequestBody defines body for ExtrasComputedFieldsCreate for application/json ContentType. -type ExtrasComputedFieldsCreateJSONRequestBody ExtrasComputedFieldsCreateJSONBody +type ExtrasComputedFieldsCreateJSONRequestBody = ComputedFieldRequest // ExtrasComputedFieldsBulkUpdateJSONRequestBody defines body for ExtrasComputedFieldsBulkUpdate for application/json ContentType. -type ExtrasComputedFieldsBulkUpdateJSONRequestBody ExtrasComputedFieldsBulkUpdateJSONBody +type ExtrasComputedFieldsBulkUpdateJSONRequestBody = ExtrasComputedFieldsBulkUpdateJSONBody // ExtrasComputedFieldsPartialUpdateJSONRequestBody defines body for ExtrasComputedFieldsPartialUpdate for application/json ContentType. -type ExtrasComputedFieldsPartialUpdateJSONRequestBody ExtrasComputedFieldsPartialUpdateJSONBody +type ExtrasComputedFieldsPartialUpdateJSONRequestBody = PatchedComputedFieldRequest // ExtrasComputedFieldsUpdateJSONRequestBody defines body for ExtrasComputedFieldsUpdate for application/json ContentType. -type ExtrasComputedFieldsUpdateJSONRequestBody ExtrasComputedFieldsUpdateJSONBody +type ExtrasComputedFieldsUpdateJSONRequestBody = ComputedFieldRequest + +// ExtrasComputedFieldsNotesCreateJSONRequestBody defines body for ExtrasComputedFieldsNotesCreate for application/json ContentType. +type ExtrasComputedFieldsNotesCreateJSONRequestBody = NoteInputRequest + +// ExtrasConfigContextSchemasBulkDestroyJSONRequestBody defines body for ExtrasConfigContextSchemasBulkDestroy for application/json ContentType. +type ExtrasConfigContextSchemasBulkDestroyJSONRequestBody = ExtrasConfigContextSchemasBulkDestroyJSONBody // ExtrasConfigContextSchemasBulkPartialUpdateJSONRequestBody defines body for ExtrasConfigContextSchemasBulkPartialUpdate for application/json ContentType. -type ExtrasConfigContextSchemasBulkPartialUpdateJSONRequestBody ExtrasConfigContextSchemasBulkPartialUpdateJSONBody +type ExtrasConfigContextSchemasBulkPartialUpdateJSONRequestBody = ExtrasConfigContextSchemasBulkPartialUpdateJSONBody // ExtrasConfigContextSchemasCreateJSONRequestBody defines body for ExtrasConfigContextSchemasCreate for application/json ContentType. -type ExtrasConfigContextSchemasCreateJSONRequestBody ExtrasConfigContextSchemasCreateJSONBody +type ExtrasConfigContextSchemasCreateJSONRequestBody = ConfigContextSchemaRequest // ExtrasConfigContextSchemasBulkUpdateJSONRequestBody defines body for ExtrasConfigContextSchemasBulkUpdate for application/json ContentType. -type ExtrasConfigContextSchemasBulkUpdateJSONRequestBody ExtrasConfigContextSchemasBulkUpdateJSONBody +type ExtrasConfigContextSchemasBulkUpdateJSONRequestBody = ExtrasConfigContextSchemasBulkUpdateJSONBody // ExtrasConfigContextSchemasPartialUpdateJSONRequestBody defines body for ExtrasConfigContextSchemasPartialUpdate for application/json ContentType. -type ExtrasConfigContextSchemasPartialUpdateJSONRequestBody ExtrasConfigContextSchemasPartialUpdateJSONBody +type ExtrasConfigContextSchemasPartialUpdateJSONRequestBody = PatchedConfigContextSchemaRequest // ExtrasConfigContextSchemasUpdateJSONRequestBody defines body for ExtrasConfigContextSchemasUpdate for application/json ContentType. -type ExtrasConfigContextSchemasUpdateJSONRequestBody ExtrasConfigContextSchemasUpdateJSONBody +type ExtrasConfigContextSchemasUpdateJSONRequestBody = ConfigContextSchemaRequest + +// ExtrasConfigContextSchemasNotesCreateJSONRequestBody defines body for ExtrasConfigContextSchemasNotesCreate for application/json ContentType. +type ExtrasConfigContextSchemasNotesCreateJSONRequestBody = NoteInputRequest + +// ExtrasConfigContextsBulkDestroyJSONRequestBody defines body for ExtrasConfigContextsBulkDestroy for application/json ContentType. +type ExtrasConfigContextsBulkDestroyJSONRequestBody = ExtrasConfigContextsBulkDestroyJSONBody // ExtrasConfigContextsBulkPartialUpdateJSONRequestBody defines body for ExtrasConfigContextsBulkPartialUpdate for application/json ContentType. -type ExtrasConfigContextsBulkPartialUpdateJSONRequestBody ExtrasConfigContextsBulkPartialUpdateJSONBody +type ExtrasConfigContextsBulkPartialUpdateJSONRequestBody = ExtrasConfigContextsBulkPartialUpdateJSONBody // ExtrasConfigContextsCreateJSONRequestBody defines body for ExtrasConfigContextsCreate for application/json ContentType. -type ExtrasConfigContextsCreateJSONRequestBody ExtrasConfigContextsCreateJSONBody +type ExtrasConfigContextsCreateJSONRequestBody = WritableConfigContextRequest // ExtrasConfigContextsBulkUpdateJSONRequestBody defines body for ExtrasConfigContextsBulkUpdate for application/json ContentType. -type ExtrasConfigContextsBulkUpdateJSONRequestBody ExtrasConfigContextsBulkUpdateJSONBody +type ExtrasConfigContextsBulkUpdateJSONRequestBody = ExtrasConfigContextsBulkUpdateJSONBody // ExtrasConfigContextsPartialUpdateJSONRequestBody defines body for ExtrasConfigContextsPartialUpdate for application/json ContentType. -type ExtrasConfigContextsPartialUpdateJSONRequestBody ExtrasConfigContextsPartialUpdateJSONBody +type ExtrasConfigContextsPartialUpdateJSONRequestBody = PatchedWritableConfigContextRequest // ExtrasConfigContextsUpdateJSONRequestBody defines body for ExtrasConfigContextsUpdate for application/json ContentType. -type ExtrasConfigContextsUpdateJSONRequestBody ExtrasConfigContextsUpdateJSONBody +type ExtrasConfigContextsUpdateJSONRequestBody = WritableConfigContextRequest + +// ExtrasConfigContextsNotesCreateJSONRequestBody defines body for ExtrasConfigContextsNotesCreate for application/json ContentType. +type ExtrasConfigContextsNotesCreateJSONRequestBody = NoteInputRequest + +// ExtrasCustomFieldChoicesBulkDestroyJSONRequestBody defines body for ExtrasCustomFieldChoicesBulkDestroy for application/json ContentType. +type ExtrasCustomFieldChoicesBulkDestroyJSONRequestBody = ExtrasCustomFieldChoicesBulkDestroyJSONBody // ExtrasCustomFieldChoicesBulkPartialUpdateJSONRequestBody defines body for ExtrasCustomFieldChoicesBulkPartialUpdate for application/json ContentType. -type ExtrasCustomFieldChoicesBulkPartialUpdateJSONRequestBody ExtrasCustomFieldChoicesBulkPartialUpdateJSONBody +type ExtrasCustomFieldChoicesBulkPartialUpdateJSONRequestBody = ExtrasCustomFieldChoicesBulkPartialUpdateJSONBody // ExtrasCustomFieldChoicesCreateJSONRequestBody defines body for ExtrasCustomFieldChoicesCreate for application/json ContentType. -type ExtrasCustomFieldChoicesCreateJSONRequestBody ExtrasCustomFieldChoicesCreateJSONBody +type ExtrasCustomFieldChoicesCreateJSONRequestBody = WritableCustomFieldChoiceRequest // ExtrasCustomFieldChoicesBulkUpdateJSONRequestBody defines body for ExtrasCustomFieldChoicesBulkUpdate for application/json ContentType. -type ExtrasCustomFieldChoicesBulkUpdateJSONRequestBody ExtrasCustomFieldChoicesBulkUpdateJSONBody +type ExtrasCustomFieldChoicesBulkUpdateJSONRequestBody = ExtrasCustomFieldChoicesBulkUpdateJSONBody // ExtrasCustomFieldChoicesPartialUpdateJSONRequestBody defines body for ExtrasCustomFieldChoicesPartialUpdate for application/json ContentType. -type ExtrasCustomFieldChoicesPartialUpdateJSONRequestBody ExtrasCustomFieldChoicesPartialUpdateJSONBody +type ExtrasCustomFieldChoicesPartialUpdateJSONRequestBody = PatchedWritableCustomFieldChoiceRequest // ExtrasCustomFieldChoicesUpdateJSONRequestBody defines body for ExtrasCustomFieldChoicesUpdate for application/json ContentType. -type ExtrasCustomFieldChoicesUpdateJSONRequestBody ExtrasCustomFieldChoicesUpdateJSONBody +type ExtrasCustomFieldChoicesUpdateJSONRequestBody = WritableCustomFieldChoiceRequest + +// ExtrasCustomFieldsBulkDestroyJSONRequestBody defines body for ExtrasCustomFieldsBulkDestroy for application/json ContentType. +type ExtrasCustomFieldsBulkDestroyJSONRequestBody = ExtrasCustomFieldsBulkDestroyJSONBody // ExtrasCustomFieldsBulkPartialUpdateJSONRequestBody defines body for ExtrasCustomFieldsBulkPartialUpdate for application/json ContentType. -type ExtrasCustomFieldsBulkPartialUpdateJSONRequestBody ExtrasCustomFieldsBulkPartialUpdateJSONBody +type ExtrasCustomFieldsBulkPartialUpdateJSONRequestBody = ExtrasCustomFieldsBulkPartialUpdateJSONBody // ExtrasCustomFieldsCreateJSONRequestBody defines body for ExtrasCustomFieldsCreate for application/json ContentType. -type ExtrasCustomFieldsCreateJSONRequestBody ExtrasCustomFieldsCreateJSONBody +type ExtrasCustomFieldsCreateJSONRequestBody = CustomFieldSerializerVersion12Request // ExtrasCustomFieldsBulkUpdateJSONRequestBody defines body for ExtrasCustomFieldsBulkUpdate for application/json ContentType. -type ExtrasCustomFieldsBulkUpdateJSONRequestBody ExtrasCustomFieldsBulkUpdateJSONBody +type ExtrasCustomFieldsBulkUpdateJSONRequestBody = ExtrasCustomFieldsBulkUpdateJSONBody // ExtrasCustomFieldsPartialUpdateJSONRequestBody defines body for ExtrasCustomFieldsPartialUpdate for application/json ContentType. -type ExtrasCustomFieldsPartialUpdateJSONRequestBody ExtrasCustomFieldsPartialUpdateJSONBody +type ExtrasCustomFieldsPartialUpdateJSONRequestBody = PatchedCustomFieldSerializerVersion12Request // ExtrasCustomFieldsUpdateJSONRequestBody defines body for ExtrasCustomFieldsUpdate for application/json ContentType. -type ExtrasCustomFieldsUpdateJSONRequestBody ExtrasCustomFieldsUpdateJSONBody +type ExtrasCustomFieldsUpdateJSONRequestBody = CustomFieldSerializerVersion12Request + +// ExtrasCustomFieldsNotesCreateJSONRequestBody defines body for ExtrasCustomFieldsNotesCreate for application/json ContentType. +type ExtrasCustomFieldsNotesCreateJSONRequestBody = NoteInputRequest + +// ExtrasCustomLinksBulkDestroyJSONRequestBody defines body for ExtrasCustomLinksBulkDestroy for application/json ContentType. +type ExtrasCustomLinksBulkDestroyJSONRequestBody = ExtrasCustomLinksBulkDestroyJSONBody // ExtrasCustomLinksBulkPartialUpdateJSONRequestBody defines body for ExtrasCustomLinksBulkPartialUpdate for application/json ContentType. -type ExtrasCustomLinksBulkPartialUpdateJSONRequestBody ExtrasCustomLinksBulkPartialUpdateJSONBody +type ExtrasCustomLinksBulkPartialUpdateJSONRequestBody = ExtrasCustomLinksBulkPartialUpdateJSONBody // ExtrasCustomLinksCreateJSONRequestBody defines body for ExtrasCustomLinksCreate for application/json ContentType. -type ExtrasCustomLinksCreateJSONRequestBody ExtrasCustomLinksCreateJSONBody +type ExtrasCustomLinksCreateJSONRequestBody = CustomLinkRequest // ExtrasCustomLinksBulkUpdateJSONRequestBody defines body for ExtrasCustomLinksBulkUpdate for application/json ContentType. -type ExtrasCustomLinksBulkUpdateJSONRequestBody ExtrasCustomLinksBulkUpdateJSONBody +type ExtrasCustomLinksBulkUpdateJSONRequestBody = ExtrasCustomLinksBulkUpdateJSONBody // ExtrasCustomLinksPartialUpdateJSONRequestBody defines body for ExtrasCustomLinksPartialUpdate for application/json ContentType. -type ExtrasCustomLinksPartialUpdateJSONRequestBody ExtrasCustomLinksPartialUpdateJSONBody +type ExtrasCustomLinksPartialUpdateJSONRequestBody = PatchedCustomLinkRequest // ExtrasCustomLinksUpdateJSONRequestBody defines body for ExtrasCustomLinksUpdate for application/json ContentType. -type ExtrasCustomLinksUpdateJSONRequestBody ExtrasCustomLinksUpdateJSONBody +type ExtrasCustomLinksUpdateJSONRequestBody = CustomLinkRequest + +// ExtrasCustomLinksNotesCreateJSONRequestBody defines body for ExtrasCustomLinksNotesCreate for application/json ContentType. +type ExtrasCustomLinksNotesCreateJSONRequestBody = NoteInputRequest + +// ExtrasDynamicGroupMembershipsBulkDestroyJSONRequestBody defines body for ExtrasDynamicGroupMembershipsBulkDestroy for application/json ContentType. +type ExtrasDynamicGroupMembershipsBulkDestroyJSONRequestBody = ExtrasDynamicGroupMembershipsBulkDestroyJSONBody + +// ExtrasDynamicGroupMembershipsBulkPartialUpdateJSONRequestBody defines body for ExtrasDynamicGroupMembershipsBulkPartialUpdate for application/json ContentType. +type ExtrasDynamicGroupMembershipsBulkPartialUpdateJSONRequestBody = ExtrasDynamicGroupMembershipsBulkPartialUpdateJSONBody + +// ExtrasDynamicGroupMembershipsCreateJSONRequestBody defines body for ExtrasDynamicGroupMembershipsCreate for application/json ContentType. +type ExtrasDynamicGroupMembershipsCreateJSONRequestBody = WritableDynamicGroupMembershipRequest + +// ExtrasDynamicGroupMembershipsBulkUpdateJSONRequestBody defines body for ExtrasDynamicGroupMembershipsBulkUpdate for application/json ContentType. +type ExtrasDynamicGroupMembershipsBulkUpdateJSONRequestBody = ExtrasDynamicGroupMembershipsBulkUpdateJSONBody + +// ExtrasDynamicGroupMembershipsPartialUpdateJSONRequestBody defines body for ExtrasDynamicGroupMembershipsPartialUpdate for application/json ContentType. +type ExtrasDynamicGroupMembershipsPartialUpdateJSONRequestBody = PatchedWritableDynamicGroupMembershipRequest + +// ExtrasDynamicGroupMembershipsUpdateJSONRequestBody defines body for ExtrasDynamicGroupMembershipsUpdate for application/json ContentType. +type ExtrasDynamicGroupMembershipsUpdateJSONRequestBody = WritableDynamicGroupMembershipRequest + +// ExtrasDynamicGroupsBulkDestroyJSONRequestBody defines body for ExtrasDynamicGroupsBulkDestroy for application/json ContentType. +type ExtrasDynamicGroupsBulkDestroyJSONRequestBody = ExtrasDynamicGroupsBulkDestroyJSONBody // ExtrasDynamicGroupsBulkPartialUpdateJSONRequestBody defines body for ExtrasDynamicGroupsBulkPartialUpdate for application/json ContentType. -type ExtrasDynamicGroupsBulkPartialUpdateJSONRequestBody ExtrasDynamicGroupsBulkPartialUpdateJSONBody +type ExtrasDynamicGroupsBulkPartialUpdateJSONRequestBody = ExtrasDynamicGroupsBulkPartialUpdateJSONBody // ExtrasDynamicGroupsCreateJSONRequestBody defines body for ExtrasDynamicGroupsCreate for application/json ContentType. -type ExtrasDynamicGroupsCreateJSONRequestBody ExtrasDynamicGroupsCreateJSONBody +type ExtrasDynamicGroupsCreateJSONRequestBody = DynamicGroupRequest // ExtrasDynamicGroupsBulkUpdateJSONRequestBody defines body for ExtrasDynamicGroupsBulkUpdate for application/json ContentType. -type ExtrasDynamicGroupsBulkUpdateJSONRequestBody ExtrasDynamicGroupsBulkUpdateJSONBody +type ExtrasDynamicGroupsBulkUpdateJSONRequestBody = ExtrasDynamicGroupsBulkUpdateJSONBody // ExtrasDynamicGroupsPartialUpdateJSONRequestBody defines body for ExtrasDynamicGroupsPartialUpdate for application/json ContentType. -type ExtrasDynamicGroupsPartialUpdateJSONRequestBody ExtrasDynamicGroupsPartialUpdateJSONBody +type ExtrasDynamicGroupsPartialUpdateJSONRequestBody = PatchedDynamicGroupRequest // ExtrasDynamicGroupsUpdateJSONRequestBody defines body for ExtrasDynamicGroupsUpdate for application/json ContentType. -type ExtrasDynamicGroupsUpdateJSONRequestBody ExtrasDynamicGroupsUpdateJSONBody +type ExtrasDynamicGroupsUpdateJSONRequestBody = DynamicGroupRequest + +// ExtrasDynamicGroupsNotesCreateJSONRequestBody defines body for ExtrasDynamicGroupsNotesCreate for application/json ContentType. +type ExtrasDynamicGroupsNotesCreateJSONRequestBody = NoteInputRequest + +// ExtrasExportTemplatesBulkDestroyJSONRequestBody defines body for ExtrasExportTemplatesBulkDestroy for application/json ContentType. +type ExtrasExportTemplatesBulkDestroyJSONRequestBody = ExtrasExportTemplatesBulkDestroyJSONBody // ExtrasExportTemplatesBulkPartialUpdateJSONRequestBody defines body for ExtrasExportTemplatesBulkPartialUpdate for application/json ContentType. -type ExtrasExportTemplatesBulkPartialUpdateJSONRequestBody ExtrasExportTemplatesBulkPartialUpdateJSONBody +type ExtrasExportTemplatesBulkPartialUpdateJSONRequestBody = ExtrasExportTemplatesBulkPartialUpdateJSONBody // ExtrasExportTemplatesCreateJSONRequestBody defines body for ExtrasExportTemplatesCreate for application/json ContentType. -type ExtrasExportTemplatesCreateJSONRequestBody ExtrasExportTemplatesCreateJSONBody +type ExtrasExportTemplatesCreateJSONRequestBody = ExportTemplateRequest // ExtrasExportTemplatesBulkUpdateJSONRequestBody defines body for ExtrasExportTemplatesBulkUpdate for application/json ContentType. -type ExtrasExportTemplatesBulkUpdateJSONRequestBody ExtrasExportTemplatesBulkUpdateJSONBody +type ExtrasExportTemplatesBulkUpdateJSONRequestBody = ExtrasExportTemplatesBulkUpdateJSONBody // ExtrasExportTemplatesPartialUpdateJSONRequestBody defines body for ExtrasExportTemplatesPartialUpdate for application/json ContentType. -type ExtrasExportTemplatesPartialUpdateJSONRequestBody ExtrasExportTemplatesPartialUpdateJSONBody +type ExtrasExportTemplatesPartialUpdateJSONRequestBody = PatchedExportTemplateRequest // ExtrasExportTemplatesUpdateJSONRequestBody defines body for ExtrasExportTemplatesUpdate for application/json ContentType. -type ExtrasExportTemplatesUpdateJSONRequestBody ExtrasExportTemplatesUpdateJSONBody +type ExtrasExportTemplatesUpdateJSONRequestBody = ExportTemplateRequest + +// ExtrasExportTemplatesNotesCreateJSONRequestBody defines body for ExtrasExportTemplatesNotesCreate for application/json ContentType. +type ExtrasExportTemplatesNotesCreateJSONRequestBody = NoteInputRequest + +// ExtrasGitRepositoriesBulkDestroyJSONRequestBody defines body for ExtrasGitRepositoriesBulkDestroy for application/json ContentType. +type ExtrasGitRepositoriesBulkDestroyJSONRequestBody = ExtrasGitRepositoriesBulkDestroyJSONBody // ExtrasGitRepositoriesBulkPartialUpdateJSONRequestBody defines body for ExtrasGitRepositoriesBulkPartialUpdate for application/json ContentType. -type ExtrasGitRepositoriesBulkPartialUpdateJSONRequestBody ExtrasGitRepositoriesBulkPartialUpdateJSONBody +type ExtrasGitRepositoriesBulkPartialUpdateJSONRequestBody = ExtrasGitRepositoriesBulkPartialUpdateJSONBody // ExtrasGitRepositoriesCreateJSONRequestBody defines body for ExtrasGitRepositoriesCreate for application/json ContentType. -type ExtrasGitRepositoriesCreateJSONRequestBody ExtrasGitRepositoriesCreateJSONBody +type ExtrasGitRepositoriesCreateJSONRequestBody = WritableGitRepositoryRequest // ExtrasGitRepositoriesBulkUpdateJSONRequestBody defines body for ExtrasGitRepositoriesBulkUpdate for application/json ContentType. -type ExtrasGitRepositoriesBulkUpdateJSONRequestBody ExtrasGitRepositoriesBulkUpdateJSONBody +type ExtrasGitRepositoriesBulkUpdateJSONRequestBody = ExtrasGitRepositoriesBulkUpdateJSONBody // ExtrasGitRepositoriesPartialUpdateJSONRequestBody defines body for ExtrasGitRepositoriesPartialUpdate for application/json ContentType. -type ExtrasGitRepositoriesPartialUpdateJSONRequestBody ExtrasGitRepositoriesPartialUpdateJSONBody +type ExtrasGitRepositoriesPartialUpdateJSONRequestBody = PatchedWritableGitRepositoryRequest // ExtrasGitRepositoriesUpdateJSONRequestBody defines body for ExtrasGitRepositoriesUpdate for application/json ContentType. -type ExtrasGitRepositoriesUpdateJSONRequestBody ExtrasGitRepositoriesUpdateJSONBody +type ExtrasGitRepositoriesUpdateJSONRequestBody = WritableGitRepositoryRequest + +// ExtrasGitRepositoriesNotesCreateJSONRequestBody defines body for ExtrasGitRepositoriesNotesCreate for application/json ContentType. +type ExtrasGitRepositoriesNotesCreateJSONRequestBody = NoteInputRequest // ExtrasGitRepositoriesSyncCreateJSONRequestBody defines body for ExtrasGitRepositoriesSyncCreate for application/json ContentType. -type ExtrasGitRepositoriesSyncCreateJSONRequestBody ExtrasGitRepositoriesSyncCreateJSONBody +type ExtrasGitRepositoriesSyncCreateJSONRequestBody = GitRepositoryRequest + +// ExtrasGraphqlQueriesBulkDestroyJSONRequestBody defines body for ExtrasGraphqlQueriesBulkDestroy for application/json ContentType. +type ExtrasGraphqlQueriesBulkDestroyJSONRequestBody = ExtrasGraphqlQueriesBulkDestroyJSONBody // ExtrasGraphqlQueriesBulkPartialUpdateJSONRequestBody defines body for ExtrasGraphqlQueriesBulkPartialUpdate for application/json ContentType. -type ExtrasGraphqlQueriesBulkPartialUpdateJSONRequestBody ExtrasGraphqlQueriesBulkPartialUpdateJSONBody +type ExtrasGraphqlQueriesBulkPartialUpdateJSONRequestBody = ExtrasGraphqlQueriesBulkPartialUpdateJSONBody // ExtrasGraphqlQueriesCreateJSONRequestBody defines body for ExtrasGraphqlQueriesCreate for application/json ContentType. -type ExtrasGraphqlQueriesCreateJSONRequestBody ExtrasGraphqlQueriesCreateJSONBody +type ExtrasGraphqlQueriesCreateJSONRequestBody = GraphQLQueryRequest // ExtrasGraphqlQueriesBulkUpdateJSONRequestBody defines body for ExtrasGraphqlQueriesBulkUpdate for application/json ContentType. -type ExtrasGraphqlQueriesBulkUpdateJSONRequestBody ExtrasGraphqlQueriesBulkUpdateJSONBody +type ExtrasGraphqlQueriesBulkUpdateJSONRequestBody = ExtrasGraphqlQueriesBulkUpdateJSONBody // ExtrasGraphqlQueriesPartialUpdateJSONRequestBody defines body for ExtrasGraphqlQueriesPartialUpdate for application/json ContentType. -type ExtrasGraphqlQueriesPartialUpdateJSONRequestBody ExtrasGraphqlQueriesPartialUpdateJSONBody +type ExtrasGraphqlQueriesPartialUpdateJSONRequestBody = PatchedGraphQLQueryRequest // ExtrasGraphqlQueriesUpdateJSONRequestBody defines body for ExtrasGraphqlQueriesUpdate for application/json ContentType. -type ExtrasGraphqlQueriesUpdateJSONRequestBody ExtrasGraphqlQueriesUpdateJSONBody +type ExtrasGraphqlQueriesUpdateJSONRequestBody = GraphQLQueryRequest + +// ExtrasGraphqlQueriesNotesCreateJSONRequestBody defines body for ExtrasGraphqlQueriesNotesCreate for application/json ContentType. +type ExtrasGraphqlQueriesNotesCreateJSONRequestBody = NoteInputRequest // ExtrasGraphqlQueriesRunCreateJSONRequestBody defines body for ExtrasGraphqlQueriesRunCreate for application/json ContentType. -type ExtrasGraphqlQueriesRunCreateJSONRequestBody ExtrasGraphqlQueriesRunCreateJSONBody +type ExtrasGraphqlQueriesRunCreateJSONRequestBody = GraphQLQueryInputRequest + +// ExtrasImageAttachmentsBulkDestroyJSONRequestBody defines body for ExtrasImageAttachmentsBulkDestroy for application/json ContentType. +type ExtrasImageAttachmentsBulkDestroyJSONRequestBody = ExtrasImageAttachmentsBulkDestroyJSONBody // ExtrasImageAttachmentsBulkPartialUpdateJSONRequestBody defines body for ExtrasImageAttachmentsBulkPartialUpdate for application/json ContentType. -type ExtrasImageAttachmentsBulkPartialUpdateJSONRequestBody ExtrasImageAttachmentsBulkPartialUpdateJSONBody +type ExtrasImageAttachmentsBulkPartialUpdateJSONRequestBody = ExtrasImageAttachmentsBulkPartialUpdateJSONBody // ExtrasImageAttachmentsCreateJSONRequestBody defines body for ExtrasImageAttachmentsCreate for application/json ContentType. -type ExtrasImageAttachmentsCreateJSONRequestBody ExtrasImageAttachmentsCreateJSONBody +type ExtrasImageAttachmentsCreateJSONRequestBody = ImageAttachmentRequest // ExtrasImageAttachmentsBulkUpdateJSONRequestBody defines body for ExtrasImageAttachmentsBulkUpdate for application/json ContentType. -type ExtrasImageAttachmentsBulkUpdateJSONRequestBody ExtrasImageAttachmentsBulkUpdateJSONBody +type ExtrasImageAttachmentsBulkUpdateJSONRequestBody = ExtrasImageAttachmentsBulkUpdateJSONBody // ExtrasImageAttachmentsPartialUpdateJSONRequestBody defines body for ExtrasImageAttachmentsPartialUpdate for application/json ContentType. -type ExtrasImageAttachmentsPartialUpdateJSONRequestBody ExtrasImageAttachmentsPartialUpdateJSONBody +type ExtrasImageAttachmentsPartialUpdateJSONRequestBody = PatchedImageAttachmentRequest // ExtrasImageAttachmentsUpdateJSONRequestBody defines body for ExtrasImageAttachmentsUpdate for application/json ContentType. -type ExtrasImageAttachmentsUpdateJSONRequestBody ExtrasImageAttachmentsUpdateJSONBody +type ExtrasImageAttachmentsUpdateJSONRequestBody = ImageAttachmentRequest -// ExtrasJobResultsBulkPartialUpdateJSONRequestBody defines body for ExtrasJobResultsBulkPartialUpdate for application/json ContentType. -type ExtrasJobResultsBulkPartialUpdateJSONRequestBody ExtrasJobResultsBulkPartialUpdateJSONBody +// ExtrasJobHooksBulkDestroyJSONRequestBody defines body for ExtrasJobHooksBulkDestroy for application/json ContentType. +type ExtrasJobHooksBulkDestroyJSONRequestBody = ExtrasJobHooksBulkDestroyJSONBody -// ExtrasJobResultsCreateJSONRequestBody defines body for ExtrasJobResultsCreate for application/json ContentType. -type ExtrasJobResultsCreateJSONRequestBody ExtrasJobResultsCreateJSONBody +// ExtrasJobHooksBulkPartialUpdateJSONRequestBody defines body for ExtrasJobHooksBulkPartialUpdate for application/json ContentType. +type ExtrasJobHooksBulkPartialUpdateJSONRequestBody = ExtrasJobHooksBulkPartialUpdateJSONBody -// ExtrasJobResultsBulkUpdateJSONRequestBody defines body for ExtrasJobResultsBulkUpdate for application/json ContentType. -type ExtrasJobResultsBulkUpdateJSONRequestBody ExtrasJobResultsBulkUpdateJSONBody +// ExtrasJobHooksCreateJSONRequestBody defines body for ExtrasJobHooksCreate for application/json ContentType. +type ExtrasJobHooksCreateJSONRequestBody = JobHookRequest -// ExtrasJobResultsPartialUpdateJSONRequestBody defines body for ExtrasJobResultsPartialUpdate for application/json ContentType. -type ExtrasJobResultsPartialUpdateJSONRequestBody ExtrasJobResultsPartialUpdateJSONBody +// ExtrasJobHooksBulkUpdateJSONRequestBody defines body for ExtrasJobHooksBulkUpdate for application/json ContentType. +type ExtrasJobHooksBulkUpdateJSONRequestBody = ExtrasJobHooksBulkUpdateJSONBody -// ExtrasJobResultsUpdateJSONRequestBody defines body for ExtrasJobResultsUpdate for application/json ContentType. -type ExtrasJobResultsUpdateJSONRequestBody ExtrasJobResultsUpdateJSONBody +// ExtrasJobHooksPartialUpdateJSONRequestBody defines body for ExtrasJobHooksPartialUpdate for application/json ContentType. +type ExtrasJobHooksPartialUpdateJSONRequestBody = PatchedJobHookRequest + +// ExtrasJobHooksUpdateJSONRequestBody defines body for ExtrasJobHooksUpdate for application/json ContentType. +type ExtrasJobHooksUpdateJSONRequestBody = JobHookRequest + +// ExtrasJobHooksNotesCreateJSONRequestBody defines body for ExtrasJobHooksNotesCreate for application/json ContentType. +type ExtrasJobHooksNotesCreateJSONRequestBody = NoteInputRequest + +// ExtrasJobResultsBulkDestroyJSONRequestBody defines body for ExtrasJobResultsBulkDestroy for application/json ContentType. +type ExtrasJobResultsBulkDestroyJSONRequestBody = ExtrasJobResultsBulkDestroyJSONBody + +// ExtrasJobsBulkDestroyJSONRequestBody defines body for ExtrasJobsBulkDestroy for application/json ContentType. +type ExtrasJobsBulkDestroyJSONRequestBody = ExtrasJobsBulkDestroyJSONBody // ExtrasJobsBulkPartialUpdateJSONRequestBody defines body for ExtrasJobsBulkPartialUpdate for application/json ContentType. -type ExtrasJobsBulkPartialUpdateJSONRequestBody ExtrasJobsBulkPartialUpdateJSONBody +type ExtrasJobsBulkPartialUpdateJSONRequestBody = ExtrasJobsBulkPartialUpdateJSONBody // ExtrasJobsBulkUpdateJSONRequestBody defines body for ExtrasJobsBulkUpdate for application/json ContentType. -type ExtrasJobsBulkUpdateJSONRequestBody ExtrasJobsBulkUpdateJSONBody +type ExtrasJobsBulkUpdateJSONRequestBody = ExtrasJobsBulkUpdateJSONBody // ExtrasJobsRunDeprecatedJSONRequestBody defines body for ExtrasJobsRunDeprecated for application/json ContentType. -type ExtrasJobsRunDeprecatedJSONRequestBody ExtrasJobsRunDeprecatedJSONBody +type ExtrasJobsRunDeprecatedJSONRequestBody = JobInputRequest + +// ExtrasJobsRunDeprecatedMultipartRequestBody defines body for ExtrasJobsRunDeprecated for multipart/form-data ContentType. +type ExtrasJobsRunDeprecatedMultipartRequestBody = JobInputRequest // ExtrasJobsPartialUpdateJSONRequestBody defines body for ExtrasJobsPartialUpdate for application/json ContentType. -type ExtrasJobsPartialUpdateJSONRequestBody ExtrasJobsPartialUpdateJSONBody +type ExtrasJobsPartialUpdateJSONRequestBody = PatchedJobRequest // ExtrasJobsUpdateJSONRequestBody defines body for ExtrasJobsUpdate for application/json ContentType. -type ExtrasJobsUpdateJSONRequestBody ExtrasJobsUpdateJSONBody +type ExtrasJobsUpdateJSONRequestBody = JobRequest + +// ExtrasJobsNotesCreateJSONRequestBody defines body for ExtrasJobsNotesCreate for application/json ContentType. +type ExtrasJobsNotesCreateJSONRequestBody = NoteInputRequest // ExtrasJobsRunCreateJSONRequestBody defines body for ExtrasJobsRunCreate for application/json ContentType. -type ExtrasJobsRunCreateJSONRequestBody ExtrasJobsRunCreateJSONBody +type ExtrasJobsRunCreateJSONRequestBody = JobInputRequest + +// ExtrasJobsRunCreateMultipartRequestBody defines body for ExtrasJobsRunCreate for multipart/form-data ContentType. +type ExtrasJobsRunCreateMultipartRequestBody = JobMultiPartInputRequest + +// ExtrasNotesBulkDestroyJSONRequestBody defines body for ExtrasNotesBulkDestroy for application/json ContentType. +type ExtrasNotesBulkDestroyJSONRequestBody = ExtrasNotesBulkDestroyJSONBody + +// ExtrasNotesBulkPartialUpdateJSONRequestBody defines body for ExtrasNotesBulkPartialUpdate for application/json ContentType. +type ExtrasNotesBulkPartialUpdateJSONRequestBody = ExtrasNotesBulkPartialUpdateJSONBody + +// ExtrasNotesCreateJSONRequestBody defines body for ExtrasNotesCreate for application/json ContentType. +type ExtrasNotesCreateJSONRequestBody = NoteRequest + +// ExtrasNotesBulkUpdateJSONRequestBody defines body for ExtrasNotesBulkUpdate for application/json ContentType. +type ExtrasNotesBulkUpdateJSONRequestBody = ExtrasNotesBulkUpdateJSONBody + +// ExtrasNotesPartialUpdateJSONRequestBody defines body for ExtrasNotesPartialUpdate for application/json ContentType. +type ExtrasNotesPartialUpdateJSONRequestBody = PatchedNoteRequest + +// ExtrasNotesUpdateJSONRequestBody defines body for ExtrasNotesUpdate for application/json ContentType. +type ExtrasNotesUpdateJSONRequestBody = NoteRequest + +// ExtrasRelationshipAssociationsBulkDestroyJSONRequestBody defines body for ExtrasRelationshipAssociationsBulkDestroy for application/json ContentType. +type ExtrasRelationshipAssociationsBulkDestroyJSONRequestBody = ExtrasRelationshipAssociationsBulkDestroyJSONBody // ExtrasRelationshipAssociationsBulkPartialUpdateJSONRequestBody defines body for ExtrasRelationshipAssociationsBulkPartialUpdate for application/json ContentType. -type ExtrasRelationshipAssociationsBulkPartialUpdateJSONRequestBody ExtrasRelationshipAssociationsBulkPartialUpdateJSONBody +type ExtrasRelationshipAssociationsBulkPartialUpdateJSONRequestBody = ExtrasRelationshipAssociationsBulkPartialUpdateJSONBody // ExtrasRelationshipAssociationsCreateJSONRequestBody defines body for ExtrasRelationshipAssociationsCreate for application/json ContentType. -type ExtrasRelationshipAssociationsCreateJSONRequestBody ExtrasRelationshipAssociationsCreateJSONBody +type ExtrasRelationshipAssociationsCreateJSONRequestBody = WritableRelationshipAssociationRequest // ExtrasRelationshipAssociationsBulkUpdateJSONRequestBody defines body for ExtrasRelationshipAssociationsBulkUpdate for application/json ContentType. -type ExtrasRelationshipAssociationsBulkUpdateJSONRequestBody ExtrasRelationshipAssociationsBulkUpdateJSONBody +type ExtrasRelationshipAssociationsBulkUpdateJSONRequestBody = ExtrasRelationshipAssociationsBulkUpdateJSONBody // ExtrasRelationshipAssociationsPartialUpdateJSONRequestBody defines body for ExtrasRelationshipAssociationsPartialUpdate for application/json ContentType. -type ExtrasRelationshipAssociationsPartialUpdateJSONRequestBody ExtrasRelationshipAssociationsPartialUpdateJSONBody +type ExtrasRelationshipAssociationsPartialUpdateJSONRequestBody = PatchedWritableRelationshipAssociationRequest // ExtrasRelationshipAssociationsUpdateJSONRequestBody defines body for ExtrasRelationshipAssociationsUpdate for application/json ContentType. -type ExtrasRelationshipAssociationsUpdateJSONRequestBody ExtrasRelationshipAssociationsUpdateJSONBody +type ExtrasRelationshipAssociationsUpdateJSONRequestBody = WritableRelationshipAssociationRequest + +// ExtrasRelationshipsBulkDestroyJSONRequestBody defines body for ExtrasRelationshipsBulkDestroy for application/json ContentType. +type ExtrasRelationshipsBulkDestroyJSONRequestBody = ExtrasRelationshipsBulkDestroyJSONBody // ExtrasRelationshipsBulkPartialUpdateJSONRequestBody defines body for ExtrasRelationshipsBulkPartialUpdate for application/json ContentType. -type ExtrasRelationshipsBulkPartialUpdateJSONRequestBody ExtrasRelationshipsBulkPartialUpdateJSONBody +type ExtrasRelationshipsBulkPartialUpdateJSONRequestBody = ExtrasRelationshipsBulkPartialUpdateJSONBody // ExtrasRelationshipsCreateJSONRequestBody defines body for ExtrasRelationshipsCreate for application/json ContentType. -type ExtrasRelationshipsCreateJSONRequestBody ExtrasRelationshipsCreateJSONBody +type ExtrasRelationshipsCreateJSONRequestBody = RelationshipRequest // ExtrasRelationshipsBulkUpdateJSONRequestBody defines body for ExtrasRelationshipsBulkUpdate for application/json ContentType. -type ExtrasRelationshipsBulkUpdateJSONRequestBody ExtrasRelationshipsBulkUpdateJSONBody +type ExtrasRelationshipsBulkUpdateJSONRequestBody = ExtrasRelationshipsBulkUpdateJSONBody // ExtrasRelationshipsPartialUpdateJSONRequestBody defines body for ExtrasRelationshipsPartialUpdate for application/json ContentType. -type ExtrasRelationshipsPartialUpdateJSONRequestBody ExtrasRelationshipsPartialUpdateJSONBody +type ExtrasRelationshipsPartialUpdateJSONRequestBody = PatchedRelationshipRequest // ExtrasRelationshipsUpdateJSONRequestBody defines body for ExtrasRelationshipsUpdate for application/json ContentType. -type ExtrasRelationshipsUpdateJSONRequestBody ExtrasRelationshipsUpdateJSONBody +type ExtrasRelationshipsUpdateJSONRequestBody = RelationshipRequest + +// ExtrasRelationshipsNotesCreateJSONRequestBody defines body for ExtrasRelationshipsNotesCreate for application/json ContentType. +type ExtrasRelationshipsNotesCreateJSONRequestBody = NoteInputRequest + +// ExtrasSecretsGroupsAssociationsBulkDestroyJSONRequestBody defines body for ExtrasSecretsGroupsAssociationsBulkDestroy for application/json ContentType. +type ExtrasSecretsGroupsAssociationsBulkDestroyJSONRequestBody = ExtrasSecretsGroupsAssociationsBulkDestroyJSONBody // ExtrasSecretsGroupsAssociationsBulkPartialUpdateJSONRequestBody defines body for ExtrasSecretsGroupsAssociationsBulkPartialUpdate for application/json ContentType. -type ExtrasSecretsGroupsAssociationsBulkPartialUpdateJSONRequestBody ExtrasSecretsGroupsAssociationsBulkPartialUpdateJSONBody +type ExtrasSecretsGroupsAssociationsBulkPartialUpdateJSONRequestBody = ExtrasSecretsGroupsAssociationsBulkPartialUpdateJSONBody // ExtrasSecretsGroupsAssociationsCreateJSONRequestBody defines body for ExtrasSecretsGroupsAssociationsCreate for application/json ContentType. -type ExtrasSecretsGroupsAssociationsCreateJSONRequestBody ExtrasSecretsGroupsAssociationsCreateJSONBody +type ExtrasSecretsGroupsAssociationsCreateJSONRequestBody = WritableSecretsGroupAssociationRequest // ExtrasSecretsGroupsAssociationsBulkUpdateJSONRequestBody defines body for ExtrasSecretsGroupsAssociationsBulkUpdate for application/json ContentType. -type ExtrasSecretsGroupsAssociationsBulkUpdateJSONRequestBody ExtrasSecretsGroupsAssociationsBulkUpdateJSONBody +type ExtrasSecretsGroupsAssociationsBulkUpdateJSONRequestBody = ExtrasSecretsGroupsAssociationsBulkUpdateJSONBody // ExtrasSecretsGroupsAssociationsPartialUpdateJSONRequestBody defines body for ExtrasSecretsGroupsAssociationsPartialUpdate for application/json ContentType. -type ExtrasSecretsGroupsAssociationsPartialUpdateJSONRequestBody ExtrasSecretsGroupsAssociationsPartialUpdateJSONBody +type ExtrasSecretsGroupsAssociationsPartialUpdateJSONRequestBody = PatchedWritableSecretsGroupAssociationRequest // ExtrasSecretsGroupsAssociationsUpdateJSONRequestBody defines body for ExtrasSecretsGroupsAssociationsUpdate for application/json ContentType. -type ExtrasSecretsGroupsAssociationsUpdateJSONRequestBody ExtrasSecretsGroupsAssociationsUpdateJSONBody +type ExtrasSecretsGroupsAssociationsUpdateJSONRequestBody = WritableSecretsGroupAssociationRequest + +// ExtrasSecretsGroupsBulkDestroyJSONRequestBody defines body for ExtrasSecretsGroupsBulkDestroy for application/json ContentType. +type ExtrasSecretsGroupsBulkDestroyJSONRequestBody = ExtrasSecretsGroupsBulkDestroyJSONBody // ExtrasSecretsGroupsBulkPartialUpdateJSONRequestBody defines body for ExtrasSecretsGroupsBulkPartialUpdate for application/json ContentType. -type ExtrasSecretsGroupsBulkPartialUpdateJSONRequestBody ExtrasSecretsGroupsBulkPartialUpdateJSONBody +type ExtrasSecretsGroupsBulkPartialUpdateJSONRequestBody = ExtrasSecretsGroupsBulkPartialUpdateJSONBody // ExtrasSecretsGroupsCreateJSONRequestBody defines body for ExtrasSecretsGroupsCreate for application/json ContentType. -type ExtrasSecretsGroupsCreateJSONRequestBody ExtrasSecretsGroupsCreateJSONBody +type ExtrasSecretsGroupsCreateJSONRequestBody = SecretsGroupRequest // ExtrasSecretsGroupsBulkUpdateJSONRequestBody defines body for ExtrasSecretsGroupsBulkUpdate for application/json ContentType. -type ExtrasSecretsGroupsBulkUpdateJSONRequestBody ExtrasSecretsGroupsBulkUpdateJSONBody +type ExtrasSecretsGroupsBulkUpdateJSONRequestBody = ExtrasSecretsGroupsBulkUpdateJSONBody // ExtrasSecretsGroupsPartialUpdateJSONRequestBody defines body for ExtrasSecretsGroupsPartialUpdate for application/json ContentType. -type ExtrasSecretsGroupsPartialUpdateJSONRequestBody ExtrasSecretsGroupsPartialUpdateJSONBody +type ExtrasSecretsGroupsPartialUpdateJSONRequestBody = PatchedSecretsGroupRequest // ExtrasSecretsGroupsUpdateJSONRequestBody defines body for ExtrasSecretsGroupsUpdate for application/json ContentType. -type ExtrasSecretsGroupsUpdateJSONRequestBody ExtrasSecretsGroupsUpdateJSONBody +type ExtrasSecretsGroupsUpdateJSONRequestBody = SecretsGroupRequest + +// ExtrasSecretsGroupsNotesCreateJSONRequestBody defines body for ExtrasSecretsGroupsNotesCreate for application/json ContentType. +type ExtrasSecretsGroupsNotesCreateJSONRequestBody = NoteInputRequest + +// ExtrasSecretsBulkDestroyJSONRequestBody defines body for ExtrasSecretsBulkDestroy for application/json ContentType. +type ExtrasSecretsBulkDestroyJSONRequestBody = ExtrasSecretsBulkDestroyJSONBody // ExtrasSecretsBulkPartialUpdateJSONRequestBody defines body for ExtrasSecretsBulkPartialUpdate for application/json ContentType. -type ExtrasSecretsBulkPartialUpdateJSONRequestBody ExtrasSecretsBulkPartialUpdateJSONBody +type ExtrasSecretsBulkPartialUpdateJSONRequestBody = ExtrasSecretsBulkPartialUpdateJSONBody // ExtrasSecretsCreateJSONRequestBody defines body for ExtrasSecretsCreate for application/json ContentType. -type ExtrasSecretsCreateJSONRequestBody ExtrasSecretsCreateJSONBody +type ExtrasSecretsCreateJSONRequestBody = SecretRequest // ExtrasSecretsBulkUpdateJSONRequestBody defines body for ExtrasSecretsBulkUpdate for application/json ContentType. -type ExtrasSecretsBulkUpdateJSONRequestBody ExtrasSecretsBulkUpdateJSONBody +type ExtrasSecretsBulkUpdateJSONRequestBody = ExtrasSecretsBulkUpdateJSONBody // ExtrasSecretsPartialUpdateJSONRequestBody defines body for ExtrasSecretsPartialUpdate for application/json ContentType. -type ExtrasSecretsPartialUpdateJSONRequestBody ExtrasSecretsPartialUpdateJSONBody +type ExtrasSecretsPartialUpdateJSONRequestBody = PatchedSecretRequest // ExtrasSecretsUpdateJSONRequestBody defines body for ExtrasSecretsUpdate for application/json ContentType. -type ExtrasSecretsUpdateJSONRequestBody ExtrasSecretsUpdateJSONBody +type ExtrasSecretsUpdateJSONRequestBody = SecretRequest + +// ExtrasSecretsNotesCreateJSONRequestBody defines body for ExtrasSecretsNotesCreate for application/json ContentType. +type ExtrasSecretsNotesCreateJSONRequestBody = NoteInputRequest + +// ExtrasStatusesBulkDestroyJSONRequestBody defines body for ExtrasStatusesBulkDestroy for application/json ContentType. +type ExtrasStatusesBulkDestroyJSONRequestBody = ExtrasStatusesBulkDestroyJSONBody // ExtrasStatusesBulkPartialUpdateJSONRequestBody defines body for ExtrasStatusesBulkPartialUpdate for application/json ContentType. -type ExtrasStatusesBulkPartialUpdateJSONRequestBody ExtrasStatusesBulkPartialUpdateJSONBody +type ExtrasStatusesBulkPartialUpdateJSONRequestBody = ExtrasStatusesBulkPartialUpdateJSONBody // ExtrasStatusesCreateJSONRequestBody defines body for ExtrasStatusesCreate for application/json ContentType. -type ExtrasStatusesCreateJSONRequestBody ExtrasStatusesCreateJSONBody +type ExtrasStatusesCreateJSONRequestBody = StatusRequest // ExtrasStatusesBulkUpdateJSONRequestBody defines body for ExtrasStatusesBulkUpdate for application/json ContentType. -type ExtrasStatusesBulkUpdateJSONRequestBody ExtrasStatusesBulkUpdateJSONBody +type ExtrasStatusesBulkUpdateJSONRequestBody = ExtrasStatusesBulkUpdateJSONBody // ExtrasStatusesPartialUpdateJSONRequestBody defines body for ExtrasStatusesPartialUpdate for application/json ContentType. -type ExtrasStatusesPartialUpdateJSONRequestBody ExtrasStatusesPartialUpdateJSONBody +type ExtrasStatusesPartialUpdateJSONRequestBody = PatchedStatusRequest // ExtrasStatusesUpdateJSONRequestBody defines body for ExtrasStatusesUpdate for application/json ContentType. -type ExtrasStatusesUpdateJSONRequestBody ExtrasStatusesUpdateJSONBody +type ExtrasStatusesUpdateJSONRequestBody = StatusRequest + +// ExtrasStatusesNotesCreateJSONRequestBody defines body for ExtrasStatusesNotesCreate for application/json ContentType. +type ExtrasStatusesNotesCreateJSONRequestBody = NoteInputRequest + +// ExtrasTagsBulkDestroyJSONRequestBody defines body for ExtrasTagsBulkDestroy for application/json ContentType. +type ExtrasTagsBulkDestroyJSONRequestBody = ExtrasTagsBulkDestroyJSONBody // ExtrasTagsBulkPartialUpdateJSONRequestBody defines body for ExtrasTagsBulkPartialUpdate for application/json ContentType. -type ExtrasTagsBulkPartialUpdateJSONRequestBody ExtrasTagsBulkPartialUpdateJSONBody +type ExtrasTagsBulkPartialUpdateJSONRequestBody = ExtrasTagsBulkPartialUpdateJSONBody // ExtrasTagsCreateJSONRequestBody defines body for ExtrasTagsCreate for application/json ContentType. -type ExtrasTagsCreateJSONRequestBody ExtrasTagsCreateJSONBody +type ExtrasTagsCreateJSONRequestBody = TagSerializerVersion13Request // ExtrasTagsBulkUpdateJSONRequestBody defines body for ExtrasTagsBulkUpdate for application/json ContentType. -type ExtrasTagsBulkUpdateJSONRequestBody ExtrasTagsBulkUpdateJSONBody +type ExtrasTagsBulkUpdateJSONRequestBody = ExtrasTagsBulkUpdateJSONBody // ExtrasTagsPartialUpdateJSONRequestBody defines body for ExtrasTagsPartialUpdate for application/json ContentType. -type ExtrasTagsPartialUpdateJSONRequestBody ExtrasTagsPartialUpdateJSONBody +type ExtrasTagsPartialUpdateJSONRequestBody = PatchedTagSerializerVersion13Request // ExtrasTagsUpdateJSONRequestBody defines body for ExtrasTagsUpdate for application/json ContentType. -type ExtrasTagsUpdateJSONRequestBody ExtrasTagsUpdateJSONBody +type ExtrasTagsUpdateJSONRequestBody = TagSerializerVersion13Request + +// ExtrasTagsNotesCreateJSONRequestBody defines body for ExtrasTagsNotesCreate for application/json ContentType. +type ExtrasTagsNotesCreateJSONRequestBody = NoteInputRequest + +// ExtrasWebhooksBulkDestroyJSONRequestBody defines body for ExtrasWebhooksBulkDestroy for application/json ContentType. +type ExtrasWebhooksBulkDestroyJSONRequestBody = ExtrasWebhooksBulkDestroyJSONBody // ExtrasWebhooksBulkPartialUpdateJSONRequestBody defines body for ExtrasWebhooksBulkPartialUpdate for application/json ContentType. -type ExtrasWebhooksBulkPartialUpdateJSONRequestBody ExtrasWebhooksBulkPartialUpdateJSONBody +type ExtrasWebhooksBulkPartialUpdateJSONRequestBody = ExtrasWebhooksBulkPartialUpdateJSONBody // ExtrasWebhooksCreateJSONRequestBody defines body for ExtrasWebhooksCreate for application/json ContentType. -type ExtrasWebhooksCreateJSONRequestBody ExtrasWebhooksCreateJSONBody +type ExtrasWebhooksCreateJSONRequestBody = WebhookRequest // ExtrasWebhooksBulkUpdateJSONRequestBody defines body for ExtrasWebhooksBulkUpdate for application/json ContentType. -type ExtrasWebhooksBulkUpdateJSONRequestBody ExtrasWebhooksBulkUpdateJSONBody +type ExtrasWebhooksBulkUpdateJSONRequestBody = ExtrasWebhooksBulkUpdateJSONBody // ExtrasWebhooksPartialUpdateJSONRequestBody defines body for ExtrasWebhooksPartialUpdate for application/json ContentType. -type ExtrasWebhooksPartialUpdateJSONRequestBody ExtrasWebhooksPartialUpdateJSONBody +type ExtrasWebhooksPartialUpdateJSONRequestBody = PatchedWebhookRequest // ExtrasWebhooksUpdateJSONRequestBody defines body for ExtrasWebhooksUpdate for application/json ContentType. -type ExtrasWebhooksUpdateJSONRequestBody ExtrasWebhooksUpdateJSONBody +type ExtrasWebhooksUpdateJSONRequestBody = WebhookRequest + +// ExtrasWebhooksNotesCreateJSONRequestBody defines body for ExtrasWebhooksNotesCreate for application/json ContentType. +type ExtrasWebhooksNotesCreateJSONRequestBody = NoteInputRequest // GraphqlCreateJSONRequestBody defines body for GraphqlCreate for application/json ContentType. -type GraphqlCreateJSONRequestBody GraphqlCreateJSONBody +type GraphqlCreateJSONRequestBody = GraphQLAPIRequest + +// IpamAggregatesBulkDestroyJSONRequestBody defines body for IpamAggregatesBulkDestroy for application/json ContentType. +type IpamAggregatesBulkDestroyJSONRequestBody = IpamAggregatesBulkDestroyJSONBody // IpamAggregatesBulkPartialUpdateJSONRequestBody defines body for IpamAggregatesBulkPartialUpdate for application/json ContentType. -type IpamAggregatesBulkPartialUpdateJSONRequestBody IpamAggregatesBulkPartialUpdateJSONBody +type IpamAggregatesBulkPartialUpdateJSONRequestBody = IpamAggregatesBulkPartialUpdateJSONBody // IpamAggregatesCreateJSONRequestBody defines body for IpamAggregatesCreate for application/json ContentType. -type IpamAggregatesCreateJSONRequestBody IpamAggregatesCreateJSONBody +type IpamAggregatesCreateJSONRequestBody = WritableAggregateRequest // IpamAggregatesBulkUpdateJSONRequestBody defines body for IpamAggregatesBulkUpdate for application/json ContentType. -type IpamAggregatesBulkUpdateJSONRequestBody IpamAggregatesBulkUpdateJSONBody +type IpamAggregatesBulkUpdateJSONRequestBody = IpamAggregatesBulkUpdateJSONBody // IpamAggregatesPartialUpdateJSONRequestBody defines body for IpamAggregatesPartialUpdate for application/json ContentType. -type IpamAggregatesPartialUpdateJSONRequestBody IpamAggregatesPartialUpdateJSONBody +type IpamAggregatesPartialUpdateJSONRequestBody = PatchedWritableAggregateRequest // IpamAggregatesUpdateJSONRequestBody defines body for IpamAggregatesUpdate for application/json ContentType. -type IpamAggregatesUpdateJSONRequestBody IpamAggregatesUpdateJSONBody +type IpamAggregatesUpdateJSONRequestBody = WritableAggregateRequest + +// IpamAggregatesNotesCreateJSONRequestBody defines body for IpamAggregatesNotesCreate for application/json ContentType. +type IpamAggregatesNotesCreateJSONRequestBody = NoteInputRequest + +// IpamIpAddressesBulkDestroyJSONRequestBody defines body for IpamIpAddressesBulkDestroy for application/json ContentType. +type IpamIpAddressesBulkDestroyJSONRequestBody = IpamIpAddressesBulkDestroyJSONBody // IpamIpAddressesBulkPartialUpdateJSONRequestBody defines body for IpamIpAddressesBulkPartialUpdate for application/json ContentType. -type IpamIpAddressesBulkPartialUpdateJSONRequestBody IpamIpAddressesBulkPartialUpdateJSONBody +type IpamIpAddressesBulkPartialUpdateJSONRequestBody = IpamIpAddressesBulkPartialUpdateJSONBody // IpamIpAddressesCreateJSONRequestBody defines body for IpamIpAddressesCreate for application/json ContentType. -type IpamIpAddressesCreateJSONRequestBody IpamIpAddressesCreateJSONBody +type IpamIpAddressesCreateJSONRequestBody = WritableIPAddressRequest // IpamIpAddressesBulkUpdateJSONRequestBody defines body for IpamIpAddressesBulkUpdate for application/json ContentType. -type IpamIpAddressesBulkUpdateJSONRequestBody IpamIpAddressesBulkUpdateJSONBody +type IpamIpAddressesBulkUpdateJSONRequestBody = IpamIpAddressesBulkUpdateJSONBody // IpamIpAddressesPartialUpdateJSONRequestBody defines body for IpamIpAddressesPartialUpdate for application/json ContentType. -type IpamIpAddressesPartialUpdateJSONRequestBody IpamIpAddressesPartialUpdateJSONBody +type IpamIpAddressesPartialUpdateJSONRequestBody = PatchedWritableIPAddressRequest // IpamIpAddressesUpdateJSONRequestBody defines body for IpamIpAddressesUpdate for application/json ContentType. -type IpamIpAddressesUpdateJSONRequestBody IpamIpAddressesUpdateJSONBody +type IpamIpAddressesUpdateJSONRequestBody = WritableIPAddressRequest + +// IpamIpAddressesNotesCreateJSONRequestBody defines body for IpamIpAddressesNotesCreate for application/json ContentType. +type IpamIpAddressesNotesCreateJSONRequestBody = NoteInputRequest + +// IpamPrefixesBulkDestroyJSONRequestBody defines body for IpamPrefixesBulkDestroy for application/json ContentType. +type IpamPrefixesBulkDestroyJSONRequestBody = IpamPrefixesBulkDestroyJSONBody // IpamPrefixesBulkPartialUpdateJSONRequestBody defines body for IpamPrefixesBulkPartialUpdate for application/json ContentType. -type IpamPrefixesBulkPartialUpdateJSONRequestBody IpamPrefixesBulkPartialUpdateJSONBody +type IpamPrefixesBulkPartialUpdateJSONRequestBody = IpamPrefixesBulkPartialUpdateJSONBody // IpamPrefixesCreateJSONRequestBody defines body for IpamPrefixesCreate for application/json ContentType. -type IpamPrefixesCreateJSONRequestBody IpamPrefixesCreateJSONBody +type IpamPrefixesCreateJSONRequestBody = WritablePrefixRequest // IpamPrefixesBulkUpdateJSONRequestBody defines body for IpamPrefixesBulkUpdate for application/json ContentType. -type IpamPrefixesBulkUpdateJSONRequestBody IpamPrefixesBulkUpdateJSONBody +type IpamPrefixesBulkUpdateJSONRequestBody = IpamPrefixesBulkUpdateJSONBody // IpamPrefixesPartialUpdateJSONRequestBody defines body for IpamPrefixesPartialUpdate for application/json ContentType. -type IpamPrefixesPartialUpdateJSONRequestBody IpamPrefixesPartialUpdateJSONBody +type IpamPrefixesPartialUpdateJSONRequestBody = PatchedWritablePrefixRequest // IpamPrefixesUpdateJSONRequestBody defines body for IpamPrefixesUpdate for application/json ContentType. -type IpamPrefixesUpdateJSONRequestBody IpamPrefixesUpdateJSONBody - -// IpamPrefixesAvailableIpsCreateJSONRequestBody defines body for IpamPrefixesAvailableIpsCreate for application/json ContentType. -type IpamPrefixesAvailableIpsCreateJSONRequestBody IpamPrefixesAvailableIpsCreateJSONBody +type IpamPrefixesUpdateJSONRequestBody = WritablePrefixRequest // IpamPrefixesAvailablePrefixesCreateJSONRequestBody defines body for IpamPrefixesAvailablePrefixesCreate for application/json ContentType. -type IpamPrefixesAvailablePrefixesCreateJSONRequestBody IpamPrefixesAvailablePrefixesCreateJSONBody +type IpamPrefixesAvailablePrefixesCreateJSONRequestBody = PrefixLengthRequest + +// IpamPrefixesNotesCreateJSONRequestBody defines body for IpamPrefixesNotesCreate for application/json ContentType. +type IpamPrefixesNotesCreateJSONRequestBody = NoteInputRequest + +// IpamRirsBulkDestroyJSONRequestBody defines body for IpamRirsBulkDestroy for application/json ContentType. +type IpamRirsBulkDestroyJSONRequestBody = IpamRirsBulkDestroyJSONBody // IpamRirsBulkPartialUpdateJSONRequestBody defines body for IpamRirsBulkPartialUpdate for application/json ContentType. -type IpamRirsBulkPartialUpdateJSONRequestBody IpamRirsBulkPartialUpdateJSONBody +type IpamRirsBulkPartialUpdateJSONRequestBody = IpamRirsBulkPartialUpdateJSONBody // IpamRirsCreateJSONRequestBody defines body for IpamRirsCreate for application/json ContentType. -type IpamRirsCreateJSONRequestBody IpamRirsCreateJSONBody +type IpamRirsCreateJSONRequestBody = RIRRequest // IpamRirsBulkUpdateJSONRequestBody defines body for IpamRirsBulkUpdate for application/json ContentType. -type IpamRirsBulkUpdateJSONRequestBody IpamRirsBulkUpdateJSONBody +type IpamRirsBulkUpdateJSONRequestBody = IpamRirsBulkUpdateJSONBody // IpamRirsPartialUpdateJSONRequestBody defines body for IpamRirsPartialUpdate for application/json ContentType. -type IpamRirsPartialUpdateJSONRequestBody IpamRirsPartialUpdateJSONBody +type IpamRirsPartialUpdateJSONRequestBody = PatchedRIRRequest // IpamRirsUpdateJSONRequestBody defines body for IpamRirsUpdate for application/json ContentType. -type IpamRirsUpdateJSONRequestBody IpamRirsUpdateJSONBody +type IpamRirsUpdateJSONRequestBody = RIRRequest + +// IpamRirsNotesCreateJSONRequestBody defines body for IpamRirsNotesCreate for application/json ContentType. +type IpamRirsNotesCreateJSONRequestBody = NoteInputRequest + +// IpamRolesBulkDestroyJSONRequestBody defines body for IpamRolesBulkDestroy for application/json ContentType. +type IpamRolesBulkDestroyJSONRequestBody = IpamRolesBulkDestroyJSONBody // IpamRolesBulkPartialUpdateJSONRequestBody defines body for IpamRolesBulkPartialUpdate for application/json ContentType. -type IpamRolesBulkPartialUpdateJSONRequestBody IpamRolesBulkPartialUpdateJSONBody +type IpamRolesBulkPartialUpdateJSONRequestBody = IpamRolesBulkPartialUpdateJSONBody // IpamRolesCreateJSONRequestBody defines body for IpamRolesCreate for application/json ContentType. -type IpamRolesCreateJSONRequestBody IpamRolesCreateJSONBody +type IpamRolesCreateJSONRequestBody = RoleRequest // IpamRolesBulkUpdateJSONRequestBody defines body for IpamRolesBulkUpdate for application/json ContentType. -type IpamRolesBulkUpdateJSONRequestBody IpamRolesBulkUpdateJSONBody +type IpamRolesBulkUpdateJSONRequestBody = IpamRolesBulkUpdateJSONBody // IpamRolesPartialUpdateJSONRequestBody defines body for IpamRolesPartialUpdate for application/json ContentType. -type IpamRolesPartialUpdateJSONRequestBody IpamRolesPartialUpdateJSONBody +type IpamRolesPartialUpdateJSONRequestBody = PatchedRoleRequest // IpamRolesUpdateJSONRequestBody defines body for IpamRolesUpdate for application/json ContentType. -type IpamRolesUpdateJSONRequestBody IpamRolesUpdateJSONBody +type IpamRolesUpdateJSONRequestBody = RoleRequest + +// IpamRolesNotesCreateJSONRequestBody defines body for IpamRolesNotesCreate for application/json ContentType. +type IpamRolesNotesCreateJSONRequestBody = NoteInputRequest + +// IpamRouteTargetsBulkDestroyJSONRequestBody defines body for IpamRouteTargetsBulkDestroy for application/json ContentType. +type IpamRouteTargetsBulkDestroyJSONRequestBody = IpamRouteTargetsBulkDestroyJSONBody // IpamRouteTargetsBulkPartialUpdateJSONRequestBody defines body for IpamRouteTargetsBulkPartialUpdate for application/json ContentType. -type IpamRouteTargetsBulkPartialUpdateJSONRequestBody IpamRouteTargetsBulkPartialUpdateJSONBody +type IpamRouteTargetsBulkPartialUpdateJSONRequestBody = IpamRouteTargetsBulkPartialUpdateJSONBody // IpamRouteTargetsCreateJSONRequestBody defines body for IpamRouteTargetsCreate for application/json ContentType. -type IpamRouteTargetsCreateJSONRequestBody IpamRouteTargetsCreateJSONBody +type IpamRouteTargetsCreateJSONRequestBody = WritableRouteTargetRequest // IpamRouteTargetsBulkUpdateJSONRequestBody defines body for IpamRouteTargetsBulkUpdate for application/json ContentType. -type IpamRouteTargetsBulkUpdateJSONRequestBody IpamRouteTargetsBulkUpdateJSONBody +type IpamRouteTargetsBulkUpdateJSONRequestBody = IpamRouteTargetsBulkUpdateJSONBody // IpamRouteTargetsPartialUpdateJSONRequestBody defines body for IpamRouteTargetsPartialUpdate for application/json ContentType. -type IpamRouteTargetsPartialUpdateJSONRequestBody IpamRouteTargetsPartialUpdateJSONBody +type IpamRouteTargetsPartialUpdateJSONRequestBody = PatchedWritableRouteTargetRequest // IpamRouteTargetsUpdateJSONRequestBody defines body for IpamRouteTargetsUpdate for application/json ContentType. -type IpamRouteTargetsUpdateJSONRequestBody IpamRouteTargetsUpdateJSONBody +type IpamRouteTargetsUpdateJSONRequestBody = WritableRouteTargetRequest + +// IpamRouteTargetsNotesCreateJSONRequestBody defines body for IpamRouteTargetsNotesCreate for application/json ContentType. +type IpamRouteTargetsNotesCreateJSONRequestBody = NoteInputRequest + +// IpamServicesBulkDestroyJSONRequestBody defines body for IpamServicesBulkDestroy for application/json ContentType. +type IpamServicesBulkDestroyJSONRequestBody = IpamServicesBulkDestroyJSONBody // IpamServicesBulkPartialUpdateJSONRequestBody defines body for IpamServicesBulkPartialUpdate for application/json ContentType. -type IpamServicesBulkPartialUpdateJSONRequestBody IpamServicesBulkPartialUpdateJSONBody +type IpamServicesBulkPartialUpdateJSONRequestBody = IpamServicesBulkPartialUpdateJSONBody // IpamServicesCreateJSONRequestBody defines body for IpamServicesCreate for application/json ContentType. -type IpamServicesCreateJSONRequestBody IpamServicesCreateJSONBody +type IpamServicesCreateJSONRequestBody = WritableServiceRequest // IpamServicesBulkUpdateJSONRequestBody defines body for IpamServicesBulkUpdate for application/json ContentType. -type IpamServicesBulkUpdateJSONRequestBody IpamServicesBulkUpdateJSONBody +type IpamServicesBulkUpdateJSONRequestBody = IpamServicesBulkUpdateJSONBody // IpamServicesPartialUpdateJSONRequestBody defines body for IpamServicesPartialUpdate for application/json ContentType. -type IpamServicesPartialUpdateJSONRequestBody IpamServicesPartialUpdateJSONBody +type IpamServicesPartialUpdateJSONRequestBody = PatchedWritableServiceRequest // IpamServicesUpdateJSONRequestBody defines body for IpamServicesUpdate for application/json ContentType. -type IpamServicesUpdateJSONRequestBody IpamServicesUpdateJSONBody +type IpamServicesUpdateJSONRequestBody = WritableServiceRequest + +// IpamServicesNotesCreateJSONRequestBody defines body for IpamServicesNotesCreate for application/json ContentType. +type IpamServicesNotesCreateJSONRequestBody = NoteInputRequest + +// IpamVlanGroupsBulkDestroyJSONRequestBody defines body for IpamVlanGroupsBulkDestroy for application/json ContentType. +type IpamVlanGroupsBulkDestroyJSONRequestBody = IpamVlanGroupsBulkDestroyJSONBody // IpamVlanGroupsBulkPartialUpdateJSONRequestBody defines body for IpamVlanGroupsBulkPartialUpdate for application/json ContentType. -type IpamVlanGroupsBulkPartialUpdateJSONRequestBody IpamVlanGroupsBulkPartialUpdateJSONBody +type IpamVlanGroupsBulkPartialUpdateJSONRequestBody = IpamVlanGroupsBulkPartialUpdateJSONBody // IpamVlanGroupsCreateJSONRequestBody defines body for IpamVlanGroupsCreate for application/json ContentType. -type IpamVlanGroupsCreateJSONRequestBody IpamVlanGroupsCreateJSONBody +type IpamVlanGroupsCreateJSONRequestBody = WritableVLANGroupRequest // IpamVlanGroupsBulkUpdateJSONRequestBody defines body for IpamVlanGroupsBulkUpdate for application/json ContentType. -type IpamVlanGroupsBulkUpdateJSONRequestBody IpamVlanGroupsBulkUpdateJSONBody +type IpamVlanGroupsBulkUpdateJSONRequestBody = IpamVlanGroupsBulkUpdateJSONBody // IpamVlanGroupsPartialUpdateJSONRequestBody defines body for IpamVlanGroupsPartialUpdate for application/json ContentType. -type IpamVlanGroupsPartialUpdateJSONRequestBody IpamVlanGroupsPartialUpdateJSONBody +type IpamVlanGroupsPartialUpdateJSONRequestBody = PatchedWritableVLANGroupRequest // IpamVlanGroupsUpdateJSONRequestBody defines body for IpamVlanGroupsUpdate for application/json ContentType. -type IpamVlanGroupsUpdateJSONRequestBody IpamVlanGroupsUpdateJSONBody +type IpamVlanGroupsUpdateJSONRequestBody = WritableVLANGroupRequest + +// IpamVlanGroupsNotesCreateJSONRequestBody defines body for IpamVlanGroupsNotesCreate for application/json ContentType. +type IpamVlanGroupsNotesCreateJSONRequestBody = NoteInputRequest + +// IpamVlansBulkDestroyJSONRequestBody defines body for IpamVlansBulkDestroy for application/json ContentType. +type IpamVlansBulkDestroyJSONRequestBody = IpamVlansBulkDestroyJSONBody // IpamVlansBulkPartialUpdateJSONRequestBody defines body for IpamVlansBulkPartialUpdate for application/json ContentType. -type IpamVlansBulkPartialUpdateJSONRequestBody IpamVlansBulkPartialUpdateJSONBody +type IpamVlansBulkPartialUpdateJSONRequestBody = IpamVlansBulkPartialUpdateJSONBody // IpamVlansCreateJSONRequestBody defines body for IpamVlansCreate for application/json ContentType. -type IpamVlansCreateJSONRequestBody IpamVlansCreateJSONBody +type IpamVlansCreateJSONRequestBody = WritableVLANRequest // IpamVlansBulkUpdateJSONRequestBody defines body for IpamVlansBulkUpdate for application/json ContentType. -type IpamVlansBulkUpdateJSONRequestBody IpamVlansBulkUpdateJSONBody +type IpamVlansBulkUpdateJSONRequestBody = IpamVlansBulkUpdateJSONBody // IpamVlansPartialUpdateJSONRequestBody defines body for IpamVlansPartialUpdate for application/json ContentType. -type IpamVlansPartialUpdateJSONRequestBody IpamVlansPartialUpdateJSONBody +type IpamVlansPartialUpdateJSONRequestBody = PatchedWritableVLANRequest // IpamVlansUpdateJSONRequestBody defines body for IpamVlansUpdate for application/json ContentType. -type IpamVlansUpdateJSONRequestBody IpamVlansUpdateJSONBody +type IpamVlansUpdateJSONRequestBody = WritableVLANRequest + +// IpamVlansNotesCreateJSONRequestBody defines body for IpamVlansNotesCreate for application/json ContentType. +type IpamVlansNotesCreateJSONRequestBody = NoteInputRequest + +// IpamVrfsBulkDestroyJSONRequestBody defines body for IpamVrfsBulkDestroy for application/json ContentType. +type IpamVrfsBulkDestroyJSONRequestBody = IpamVrfsBulkDestroyJSONBody // IpamVrfsBulkPartialUpdateJSONRequestBody defines body for IpamVrfsBulkPartialUpdate for application/json ContentType. -type IpamVrfsBulkPartialUpdateJSONRequestBody IpamVrfsBulkPartialUpdateJSONBody +type IpamVrfsBulkPartialUpdateJSONRequestBody = IpamVrfsBulkPartialUpdateJSONBody // IpamVrfsCreateJSONRequestBody defines body for IpamVrfsCreate for application/json ContentType. -type IpamVrfsCreateJSONRequestBody IpamVrfsCreateJSONBody +type IpamVrfsCreateJSONRequestBody = WritableVRFRequest // IpamVrfsBulkUpdateJSONRequestBody defines body for IpamVrfsBulkUpdate for application/json ContentType. -type IpamVrfsBulkUpdateJSONRequestBody IpamVrfsBulkUpdateJSONBody +type IpamVrfsBulkUpdateJSONRequestBody = IpamVrfsBulkUpdateJSONBody // IpamVrfsPartialUpdateJSONRequestBody defines body for IpamVrfsPartialUpdate for application/json ContentType. -type IpamVrfsPartialUpdateJSONRequestBody IpamVrfsPartialUpdateJSONBody +type IpamVrfsPartialUpdateJSONRequestBody = PatchedWritableVRFRequest // IpamVrfsUpdateJSONRequestBody defines body for IpamVrfsUpdate for application/json ContentType. -type IpamVrfsUpdateJSONRequestBody IpamVrfsUpdateJSONBody +type IpamVrfsUpdateJSONRequestBody = WritableVRFRequest + +// IpamVrfsNotesCreateJSONRequestBody defines body for IpamVrfsNotesCreate for application/json ContentType. +type IpamVrfsNotesCreateJSONRequestBody = NoteInputRequest + +// PluginsBgpAddressFamiliesBulkDestroyJSONRequestBody defines body for PluginsBgpAddressFamiliesBulkDestroy for application/json ContentType. +type PluginsBgpAddressFamiliesBulkDestroyJSONRequestBody = PluginsBgpAddressFamiliesBulkDestroyJSONBody + +// PluginsBgpAddressFamiliesBulkPartialUpdateJSONRequestBody defines body for PluginsBgpAddressFamiliesBulkPartialUpdate for application/json ContentType. +type PluginsBgpAddressFamiliesBulkPartialUpdateJSONRequestBody = PluginsBgpAddressFamiliesBulkPartialUpdateJSONBody + +// PluginsBgpAddressFamiliesCreateJSONRequestBody defines body for PluginsBgpAddressFamiliesCreate for application/json ContentType. +type PluginsBgpAddressFamiliesCreateJSONRequestBody = WritableAddressFamilyRequest + +// PluginsBgpAddressFamiliesBulkUpdateJSONRequestBody defines body for PluginsBgpAddressFamiliesBulkUpdate for application/json ContentType. +type PluginsBgpAddressFamiliesBulkUpdateJSONRequestBody = PluginsBgpAddressFamiliesBulkUpdateJSONBody + +// PluginsBgpAddressFamiliesPartialUpdateJSONRequestBody defines body for PluginsBgpAddressFamiliesPartialUpdate for application/json ContentType. +type PluginsBgpAddressFamiliesPartialUpdateJSONRequestBody = PatchedWritableAddressFamilyRequest + +// PluginsBgpAddressFamiliesUpdateJSONRequestBody defines body for PluginsBgpAddressFamiliesUpdate for application/json ContentType. +type PluginsBgpAddressFamiliesUpdateJSONRequestBody = WritableAddressFamilyRequest + +// PluginsBgpAutonomousSystemsBulkDestroyJSONRequestBody defines body for PluginsBgpAutonomousSystemsBulkDestroy for application/json ContentType. +type PluginsBgpAutonomousSystemsBulkDestroyJSONRequestBody = PluginsBgpAutonomousSystemsBulkDestroyJSONBody + +// PluginsBgpAutonomousSystemsBulkPartialUpdateJSONRequestBody defines body for PluginsBgpAutonomousSystemsBulkPartialUpdate for application/json ContentType. +type PluginsBgpAutonomousSystemsBulkPartialUpdateJSONRequestBody = PluginsBgpAutonomousSystemsBulkPartialUpdateJSONBody + +// PluginsBgpAutonomousSystemsCreateJSONRequestBody defines body for PluginsBgpAutonomousSystemsCreate for application/json ContentType. +type PluginsBgpAutonomousSystemsCreateJSONRequestBody = WritableAutonomousSystemRequest + +// PluginsBgpAutonomousSystemsBulkUpdateJSONRequestBody defines body for PluginsBgpAutonomousSystemsBulkUpdate for application/json ContentType. +type PluginsBgpAutonomousSystemsBulkUpdateJSONRequestBody = PluginsBgpAutonomousSystemsBulkUpdateJSONBody + +// PluginsBgpAutonomousSystemsPartialUpdateJSONRequestBody defines body for PluginsBgpAutonomousSystemsPartialUpdate for application/json ContentType. +type PluginsBgpAutonomousSystemsPartialUpdateJSONRequestBody = PatchedWritableAutonomousSystemRequest + +// PluginsBgpAutonomousSystemsUpdateJSONRequestBody defines body for PluginsBgpAutonomousSystemsUpdate for application/json ContentType. +type PluginsBgpAutonomousSystemsUpdateJSONRequestBody = WritableAutonomousSystemRequest + +// PluginsBgpPeerEndpointsBulkDestroyJSONRequestBody defines body for PluginsBgpPeerEndpointsBulkDestroy for application/json ContentType. +type PluginsBgpPeerEndpointsBulkDestroyJSONRequestBody = PluginsBgpPeerEndpointsBulkDestroyJSONBody + +// PluginsBgpPeerEndpointsBulkPartialUpdateJSONRequestBody defines body for PluginsBgpPeerEndpointsBulkPartialUpdate for application/json ContentType. +type PluginsBgpPeerEndpointsBulkPartialUpdateJSONRequestBody = PluginsBgpPeerEndpointsBulkPartialUpdateJSONBody + +// PluginsBgpPeerEndpointsCreateJSONRequestBody defines body for PluginsBgpPeerEndpointsCreate for application/json ContentType. +type PluginsBgpPeerEndpointsCreateJSONRequestBody = WritablePeerEndpointRequest + +// PluginsBgpPeerEndpointsBulkUpdateJSONRequestBody defines body for PluginsBgpPeerEndpointsBulkUpdate for application/json ContentType. +type PluginsBgpPeerEndpointsBulkUpdateJSONRequestBody = PluginsBgpPeerEndpointsBulkUpdateJSONBody + +// PluginsBgpPeerEndpointsPartialUpdateJSONRequestBody defines body for PluginsBgpPeerEndpointsPartialUpdate for application/json ContentType. +type PluginsBgpPeerEndpointsPartialUpdateJSONRequestBody = PatchedWritablePeerEndpointRequest + +// PluginsBgpPeerEndpointsUpdateJSONRequestBody defines body for PluginsBgpPeerEndpointsUpdate for application/json ContentType. +type PluginsBgpPeerEndpointsUpdateJSONRequestBody = WritablePeerEndpointRequest + +// PluginsBgpPeerGroupTemplatesBulkDestroyJSONRequestBody defines body for PluginsBgpPeerGroupTemplatesBulkDestroy for application/json ContentType. +type PluginsBgpPeerGroupTemplatesBulkDestroyJSONRequestBody = PluginsBgpPeerGroupTemplatesBulkDestroyJSONBody + +// PluginsBgpPeerGroupTemplatesBulkPartialUpdateJSONRequestBody defines body for PluginsBgpPeerGroupTemplatesBulkPartialUpdate for application/json ContentType. +type PluginsBgpPeerGroupTemplatesBulkPartialUpdateJSONRequestBody = PluginsBgpPeerGroupTemplatesBulkPartialUpdateJSONBody + +// PluginsBgpPeerGroupTemplatesCreateJSONRequestBody defines body for PluginsBgpPeerGroupTemplatesCreate for application/json ContentType. +type PluginsBgpPeerGroupTemplatesCreateJSONRequestBody = WritablePeerGroupTemplateRequest + +// PluginsBgpPeerGroupTemplatesBulkUpdateJSONRequestBody defines body for PluginsBgpPeerGroupTemplatesBulkUpdate for application/json ContentType. +type PluginsBgpPeerGroupTemplatesBulkUpdateJSONRequestBody = PluginsBgpPeerGroupTemplatesBulkUpdateJSONBody + +// PluginsBgpPeerGroupTemplatesPartialUpdateJSONRequestBody defines body for PluginsBgpPeerGroupTemplatesPartialUpdate for application/json ContentType. +type PluginsBgpPeerGroupTemplatesPartialUpdateJSONRequestBody = PatchedWritablePeerGroupTemplateRequest + +// PluginsBgpPeerGroupTemplatesUpdateJSONRequestBody defines body for PluginsBgpPeerGroupTemplatesUpdate for application/json ContentType. +type PluginsBgpPeerGroupTemplatesUpdateJSONRequestBody = WritablePeerGroupTemplateRequest + +// PluginsBgpPeerGroupsBulkDestroyJSONRequestBody defines body for PluginsBgpPeerGroupsBulkDestroy for application/json ContentType. +type PluginsBgpPeerGroupsBulkDestroyJSONRequestBody = PluginsBgpPeerGroupsBulkDestroyJSONBody + +// PluginsBgpPeerGroupsBulkPartialUpdateJSONRequestBody defines body for PluginsBgpPeerGroupsBulkPartialUpdate for application/json ContentType. +type PluginsBgpPeerGroupsBulkPartialUpdateJSONRequestBody = PluginsBgpPeerGroupsBulkPartialUpdateJSONBody + +// PluginsBgpPeerGroupsCreateJSONRequestBody defines body for PluginsBgpPeerGroupsCreate for application/json ContentType. +type PluginsBgpPeerGroupsCreateJSONRequestBody = WritablePeerGroupRequest + +// PluginsBgpPeerGroupsBulkUpdateJSONRequestBody defines body for PluginsBgpPeerGroupsBulkUpdate for application/json ContentType. +type PluginsBgpPeerGroupsBulkUpdateJSONRequestBody = PluginsBgpPeerGroupsBulkUpdateJSONBody + +// PluginsBgpPeerGroupsPartialUpdateJSONRequestBody defines body for PluginsBgpPeerGroupsPartialUpdate for application/json ContentType. +type PluginsBgpPeerGroupsPartialUpdateJSONRequestBody = PatchedWritablePeerGroupRequest + +// PluginsBgpPeerGroupsUpdateJSONRequestBody defines body for PluginsBgpPeerGroupsUpdate for application/json ContentType. +type PluginsBgpPeerGroupsUpdateJSONRequestBody = WritablePeerGroupRequest + +// PluginsBgpPeeringRolesBulkDestroyJSONRequestBody defines body for PluginsBgpPeeringRolesBulkDestroy for application/json ContentType. +type PluginsBgpPeeringRolesBulkDestroyJSONRequestBody = PluginsBgpPeeringRolesBulkDestroyJSONBody + +// PluginsBgpPeeringRolesBulkPartialUpdateJSONRequestBody defines body for PluginsBgpPeeringRolesBulkPartialUpdate for application/json ContentType. +type PluginsBgpPeeringRolesBulkPartialUpdateJSONRequestBody = PluginsBgpPeeringRolesBulkPartialUpdateJSONBody + +// PluginsBgpPeeringRolesCreateJSONRequestBody defines body for PluginsBgpPeeringRolesCreate for application/json ContentType. +type PluginsBgpPeeringRolesCreateJSONRequestBody = PeeringRoleRequest + +// PluginsBgpPeeringRolesBulkUpdateJSONRequestBody defines body for PluginsBgpPeeringRolesBulkUpdate for application/json ContentType. +type PluginsBgpPeeringRolesBulkUpdateJSONRequestBody = PluginsBgpPeeringRolesBulkUpdateJSONBody + +// PluginsBgpPeeringRolesPartialUpdateJSONRequestBody defines body for PluginsBgpPeeringRolesPartialUpdate for application/json ContentType. +type PluginsBgpPeeringRolesPartialUpdateJSONRequestBody = PatchedPeeringRoleRequest + +// PluginsBgpPeeringRolesUpdateJSONRequestBody defines body for PluginsBgpPeeringRolesUpdate for application/json ContentType. +type PluginsBgpPeeringRolesUpdateJSONRequestBody = PeeringRoleRequest + +// PluginsBgpPeeringsBulkDestroyJSONRequestBody defines body for PluginsBgpPeeringsBulkDestroy for application/json ContentType. +type PluginsBgpPeeringsBulkDestroyJSONRequestBody = PluginsBgpPeeringsBulkDestroyJSONBody + +// PluginsBgpPeeringsBulkPartialUpdateJSONRequestBody defines body for PluginsBgpPeeringsBulkPartialUpdate for application/json ContentType. +type PluginsBgpPeeringsBulkPartialUpdateJSONRequestBody = PluginsBgpPeeringsBulkPartialUpdateJSONBody + +// PluginsBgpPeeringsCreateJSONRequestBody defines body for PluginsBgpPeeringsCreate for application/json ContentType. +type PluginsBgpPeeringsCreateJSONRequestBody = PeeringRequest + +// PluginsBgpPeeringsBulkUpdateJSONRequestBody defines body for PluginsBgpPeeringsBulkUpdate for application/json ContentType. +type PluginsBgpPeeringsBulkUpdateJSONRequestBody = PluginsBgpPeeringsBulkUpdateJSONBody + +// PluginsBgpPeeringsPartialUpdateJSONRequestBody defines body for PluginsBgpPeeringsPartialUpdate for application/json ContentType. +type PluginsBgpPeeringsPartialUpdateJSONRequestBody = PatchedPeeringRequest + +// PluginsBgpPeeringsUpdateJSONRequestBody defines body for PluginsBgpPeeringsUpdate for application/json ContentType. +type PluginsBgpPeeringsUpdateJSONRequestBody = PeeringRequest + +// PluginsBgpRoutingInstancesBulkDestroyJSONRequestBody defines body for PluginsBgpRoutingInstancesBulkDestroy for application/json ContentType. +type PluginsBgpRoutingInstancesBulkDestroyJSONRequestBody = PluginsBgpRoutingInstancesBulkDestroyJSONBody + +// PluginsBgpRoutingInstancesBulkPartialUpdateJSONRequestBody defines body for PluginsBgpRoutingInstancesBulkPartialUpdate for application/json ContentType. +type PluginsBgpRoutingInstancesBulkPartialUpdateJSONRequestBody = PluginsBgpRoutingInstancesBulkPartialUpdateJSONBody + +// PluginsBgpRoutingInstancesCreateJSONRequestBody defines body for PluginsBgpRoutingInstancesCreate for application/json ContentType. +type PluginsBgpRoutingInstancesCreateJSONRequestBody = WritableBGPRoutingInstanceRequest + +// PluginsBgpRoutingInstancesBulkUpdateJSONRequestBody defines body for PluginsBgpRoutingInstancesBulkUpdate for application/json ContentType. +type PluginsBgpRoutingInstancesBulkUpdateJSONRequestBody = PluginsBgpRoutingInstancesBulkUpdateJSONBody + +// PluginsBgpRoutingInstancesPartialUpdateJSONRequestBody defines body for PluginsBgpRoutingInstancesPartialUpdate for application/json ContentType. +type PluginsBgpRoutingInstancesPartialUpdateJSONRequestBody = PatchedWritableBGPRoutingInstanceRequest + +// PluginsBgpRoutingInstancesUpdateJSONRequestBody defines body for PluginsBgpRoutingInstancesUpdate for application/json ContentType. +type PluginsBgpRoutingInstancesUpdateJSONRequestBody = WritableBGPRoutingInstanceRequest + +// PluginsChatopsAccessgrantBulkDestroyJSONRequestBody defines body for PluginsChatopsAccessgrantBulkDestroy for application/json ContentType. +type PluginsChatopsAccessgrantBulkDestroyJSONRequestBody = PluginsChatopsAccessgrantBulkDestroyJSONBody // PluginsChatopsAccessgrantBulkPartialUpdateJSONRequestBody defines body for PluginsChatopsAccessgrantBulkPartialUpdate for application/json ContentType. -type PluginsChatopsAccessgrantBulkPartialUpdateJSONRequestBody PluginsChatopsAccessgrantBulkPartialUpdateJSONBody +type PluginsChatopsAccessgrantBulkPartialUpdateJSONRequestBody = PluginsChatopsAccessgrantBulkPartialUpdateJSONBody // PluginsChatopsAccessgrantCreateJSONRequestBody defines body for PluginsChatopsAccessgrantCreate for application/json ContentType. -type PluginsChatopsAccessgrantCreateJSONRequestBody PluginsChatopsAccessgrantCreateJSONBody +type PluginsChatopsAccessgrantCreateJSONRequestBody = AccessGrantRequest // PluginsChatopsAccessgrantBulkUpdateJSONRequestBody defines body for PluginsChatopsAccessgrantBulkUpdate for application/json ContentType. -type PluginsChatopsAccessgrantBulkUpdateJSONRequestBody PluginsChatopsAccessgrantBulkUpdateJSONBody +type PluginsChatopsAccessgrantBulkUpdateJSONRequestBody = PluginsChatopsAccessgrantBulkUpdateJSONBody // PluginsChatopsAccessgrantPartialUpdateJSONRequestBody defines body for PluginsChatopsAccessgrantPartialUpdate for application/json ContentType. -type PluginsChatopsAccessgrantPartialUpdateJSONRequestBody PluginsChatopsAccessgrantPartialUpdateJSONBody +type PluginsChatopsAccessgrantPartialUpdateJSONRequestBody = PatchedAccessGrantRequest // PluginsChatopsAccessgrantUpdateJSONRequestBody defines body for PluginsChatopsAccessgrantUpdate for application/json ContentType. -type PluginsChatopsAccessgrantUpdateJSONRequestBody PluginsChatopsAccessgrantUpdateJSONBody +type PluginsChatopsAccessgrantUpdateJSONRequestBody = AccessGrantRequest + +// PluginsChatopsCommandtokenBulkDestroyJSONRequestBody defines body for PluginsChatopsCommandtokenBulkDestroy for application/json ContentType. +type PluginsChatopsCommandtokenBulkDestroyJSONRequestBody = PluginsChatopsCommandtokenBulkDestroyJSONBody // PluginsChatopsCommandtokenBulkPartialUpdateJSONRequestBody defines body for PluginsChatopsCommandtokenBulkPartialUpdate for application/json ContentType. -type PluginsChatopsCommandtokenBulkPartialUpdateJSONRequestBody PluginsChatopsCommandtokenBulkPartialUpdateJSONBody +type PluginsChatopsCommandtokenBulkPartialUpdateJSONRequestBody = PluginsChatopsCommandtokenBulkPartialUpdateJSONBody // PluginsChatopsCommandtokenCreateJSONRequestBody defines body for PluginsChatopsCommandtokenCreate for application/json ContentType. -type PluginsChatopsCommandtokenCreateJSONRequestBody PluginsChatopsCommandtokenCreateJSONBody +type PluginsChatopsCommandtokenCreateJSONRequestBody = CommandTokenRequest // PluginsChatopsCommandtokenBulkUpdateJSONRequestBody defines body for PluginsChatopsCommandtokenBulkUpdate for application/json ContentType. -type PluginsChatopsCommandtokenBulkUpdateJSONRequestBody PluginsChatopsCommandtokenBulkUpdateJSONBody +type PluginsChatopsCommandtokenBulkUpdateJSONRequestBody = PluginsChatopsCommandtokenBulkUpdateJSONBody // PluginsChatopsCommandtokenPartialUpdateJSONRequestBody defines body for PluginsChatopsCommandtokenPartialUpdate for application/json ContentType. -type PluginsChatopsCommandtokenPartialUpdateJSONRequestBody PluginsChatopsCommandtokenPartialUpdateJSONBody +type PluginsChatopsCommandtokenPartialUpdateJSONRequestBody = PatchedCommandTokenRequest // PluginsChatopsCommandtokenUpdateJSONRequestBody defines body for PluginsChatopsCommandtokenUpdate for application/json ContentType. -type PluginsChatopsCommandtokenUpdateJSONRequestBody PluginsChatopsCommandtokenUpdateJSONBody +type PluginsChatopsCommandtokenUpdateJSONRequestBody = CommandTokenRequest + +// PluginsCircuitMaintenanceCircuitimpactBulkDestroyJSONRequestBody defines body for PluginsCircuitMaintenanceCircuitimpactBulkDestroy for application/json ContentType. +type PluginsCircuitMaintenanceCircuitimpactBulkDestroyJSONRequestBody = PluginsCircuitMaintenanceCircuitimpactBulkDestroyJSONBody // PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdate for application/json ContentType. -type PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateJSONRequestBody PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateJSONBody +type PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateJSONRequestBody = PluginsCircuitMaintenanceCircuitimpactBulkPartialUpdateJSONBody // PluginsCircuitMaintenanceCircuitimpactCreateJSONRequestBody defines body for PluginsCircuitMaintenanceCircuitimpactCreate for application/json ContentType. -type PluginsCircuitMaintenanceCircuitimpactCreateJSONRequestBody PluginsCircuitMaintenanceCircuitimpactCreateJSONBody +type PluginsCircuitMaintenanceCircuitimpactCreateJSONRequestBody = CircuitMaintenanceCircuitImpactRequest // PluginsCircuitMaintenanceCircuitimpactBulkUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceCircuitimpactBulkUpdate for application/json ContentType. -type PluginsCircuitMaintenanceCircuitimpactBulkUpdateJSONRequestBody PluginsCircuitMaintenanceCircuitimpactBulkUpdateJSONBody +type PluginsCircuitMaintenanceCircuitimpactBulkUpdateJSONRequestBody = PluginsCircuitMaintenanceCircuitimpactBulkUpdateJSONBody // PluginsCircuitMaintenanceCircuitimpactPartialUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceCircuitimpactPartialUpdate for application/json ContentType. -type PluginsCircuitMaintenanceCircuitimpactPartialUpdateJSONRequestBody PluginsCircuitMaintenanceCircuitimpactPartialUpdateJSONBody +type PluginsCircuitMaintenanceCircuitimpactPartialUpdateJSONRequestBody = PatchedCircuitMaintenanceCircuitImpactRequest // PluginsCircuitMaintenanceCircuitimpactUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceCircuitimpactUpdate for application/json ContentType. -type PluginsCircuitMaintenanceCircuitimpactUpdateJSONRequestBody PluginsCircuitMaintenanceCircuitimpactUpdateJSONBody +type PluginsCircuitMaintenanceCircuitimpactUpdateJSONRequestBody = CircuitMaintenanceCircuitImpactRequest + +// PluginsCircuitMaintenanceMaintenanceBulkDestroyJSONRequestBody defines body for PluginsCircuitMaintenanceMaintenanceBulkDestroy for application/json ContentType. +type PluginsCircuitMaintenanceMaintenanceBulkDestroyJSONRequestBody = PluginsCircuitMaintenanceMaintenanceBulkDestroyJSONBody // PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceMaintenanceBulkPartialUpdate for application/json ContentType. -type PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateJSONRequestBody PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateJSONBody +type PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateJSONRequestBody = PluginsCircuitMaintenanceMaintenanceBulkPartialUpdateJSONBody // PluginsCircuitMaintenanceMaintenanceCreateJSONRequestBody defines body for PluginsCircuitMaintenanceMaintenanceCreate for application/json ContentType. -type PluginsCircuitMaintenanceMaintenanceCreateJSONRequestBody PluginsCircuitMaintenanceMaintenanceCreateJSONBody +type PluginsCircuitMaintenanceMaintenanceCreateJSONRequestBody = CircuitMaintenanceRequest // PluginsCircuitMaintenanceMaintenanceBulkUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceMaintenanceBulkUpdate for application/json ContentType. -type PluginsCircuitMaintenanceMaintenanceBulkUpdateJSONRequestBody PluginsCircuitMaintenanceMaintenanceBulkUpdateJSONBody +type PluginsCircuitMaintenanceMaintenanceBulkUpdateJSONRequestBody = PluginsCircuitMaintenanceMaintenanceBulkUpdateJSONBody // PluginsCircuitMaintenanceMaintenancePartialUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceMaintenancePartialUpdate for application/json ContentType. -type PluginsCircuitMaintenanceMaintenancePartialUpdateJSONRequestBody PluginsCircuitMaintenanceMaintenancePartialUpdateJSONBody +type PluginsCircuitMaintenanceMaintenancePartialUpdateJSONRequestBody = PatchedCircuitMaintenanceRequest // PluginsCircuitMaintenanceMaintenanceUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceMaintenanceUpdate for application/json ContentType. -type PluginsCircuitMaintenanceMaintenanceUpdateJSONRequestBody PluginsCircuitMaintenanceMaintenanceUpdateJSONBody +type PluginsCircuitMaintenanceMaintenanceUpdateJSONRequestBody = CircuitMaintenanceRequest + +// PluginsCircuitMaintenanceNoteBulkDestroyJSONRequestBody defines body for PluginsCircuitMaintenanceNoteBulkDestroy for application/json ContentType. +type PluginsCircuitMaintenanceNoteBulkDestroyJSONRequestBody = PluginsCircuitMaintenanceNoteBulkDestroyJSONBody // PluginsCircuitMaintenanceNoteBulkPartialUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceNoteBulkPartialUpdate for application/json ContentType. -type PluginsCircuitMaintenanceNoteBulkPartialUpdateJSONRequestBody PluginsCircuitMaintenanceNoteBulkPartialUpdateJSONBody +type PluginsCircuitMaintenanceNoteBulkPartialUpdateJSONRequestBody = PluginsCircuitMaintenanceNoteBulkPartialUpdateJSONBody // PluginsCircuitMaintenanceNoteCreateJSONRequestBody defines body for PluginsCircuitMaintenanceNoteCreate for application/json ContentType. -type PluginsCircuitMaintenanceNoteCreateJSONRequestBody PluginsCircuitMaintenanceNoteCreateJSONBody +type PluginsCircuitMaintenanceNoteCreateJSONRequestBody = NoteRequest // PluginsCircuitMaintenanceNoteBulkUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceNoteBulkUpdate for application/json ContentType. -type PluginsCircuitMaintenanceNoteBulkUpdateJSONRequestBody PluginsCircuitMaintenanceNoteBulkUpdateJSONBody +type PluginsCircuitMaintenanceNoteBulkUpdateJSONRequestBody = PluginsCircuitMaintenanceNoteBulkUpdateJSONBody // PluginsCircuitMaintenanceNotePartialUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceNotePartialUpdate for application/json ContentType. -type PluginsCircuitMaintenanceNotePartialUpdateJSONRequestBody PluginsCircuitMaintenanceNotePartialUpdateJSONBody +type PluginsCircuitMaintenanceNotePartialUpdateJSONRequestBody = PatchedNoteRequest // PluginsCircuitMaintenanceNoteUpdateJSONRequestBody defines body for PluginsCircuitMaintenanceNoteUpdate for application/json ContentType. -type PluginsCircuitMaintenanceNoteUpdateJSONRequestBody PluginsCircuitMaintenanceNoteUpdateJSONBody +type PluginsCircuitMaintenanceNoteUpdateJSONRequestBody = NoteRequest + +// PluginsDataValidationEngineRulesMinMaxBulkDestroyJSONRequestBody defines body for PluginsDataValidationEngineRulesMinMaxBulkDestroy for application/json ContentType. +type PluginsDataValidationEngineRulesMinMaxBulkDestroyJSONRequestBody = PluginsDataValidationEngineRulesMinMaxBulkDestroyJSONBody // PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateJSONRequestBody defines body for PluginsDataValidationEngineRulesMinMaxBulkPartialUpdate for application/json ContentType. -type PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateJSONRequestBody PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateJSONBody +type PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateJSONRequestBody = PluginsDataValidationEngineRulesMinMaxBulkPartialUpdateJSONBody // PluginsDataValidationEngineRulesMinMaxCreateJSONRequestBody defines body for PluginsDataValidationEngineRulesMinMaxCreate for application/json ContentType. -type PluginsDataValidationEngineRulesMinMaxCreateJSONRequestBody PluginsDataValidationEngineRulesMinMaxCreateJSONBody +type PluginsDataValidationEngineRulesMinMaxCreateJSONRequestBody = MinMaxValidationRuleRequest // PluginsDataValidationEngineRulesMinMaxBulkUpdateJSONRequestBody defines body for PluginsDataValidationEngineRulesMinMaxBulkUpdate for application/json ContentType. -type PluginsDataValidationEngineRulesMinMaxBulkUpdateJSONRequestBody PluginsDataValidationEngineRulesMinMaxBulkUpdateJSONBody +type PluginsDataValidationEngineRulesMinMaxBulkUpdateJSONRequestBody = PluginsDataValidationEngineRulesMinMaxBulkUpdateJSONBody // PluginsDataValidationEngineRulesMinMaxPartialUpdateJSONRequestBody defines body for PluginsDataValidationEngineRulesMinMaxPartialUpdate for application/json ContentType. -type PluginsDataValidationEngineRulesMinMaxPartialUpdateJSONRequestBody PluginsDataValidationEngineRulesMinMaxPartialUpdateJSONBody +type PluginsDataValidationEngineRulesMinMaxPartialUpdateJSONRequestBody = PatchedMinMaxValidationRuleRequest // PluginsDataValidationEngineRulesMinMaxUpdateJSONRequestBody defines body for PluginsDataValidationEngineRulesMinMaxUpdate for application/json ContentType. -type PluginsDataValidationEngineRulesMinMaxUpdateJSONRequestBody PluginsDataValidationEngineRulesMinMaxUpdateJSONBody +type PluginsDataValidationEngineRulesMinMaxUpdateJSONRequestBody = MinMaxValidationRuleRequest + +// PluginsDataValidationEngineRulesRegexBulkDestroyJSONRequestBody defines body for PluginsDataValidationEngineRulesRegexBulkDestroy for application/json ContentType. +type PluginsDataValidationEngineRulesRegexBulkDestroyJSONRequestBody = PluginsDataValidationEngineRulesRegexBulkDestroyJSONBody // PluginsDataValidationEngineRulesRegexBulkPartialUpdateJSONRequestBody defines body for PluginsDataValidationEngineRulesRegexBulkPartialUpdate for application/json ContentType. -type PluginsDataValidationEngineRulesRegexBulkPartialUpdateJSONRequestBody PluginsDataValidationEngineRulesRegexBulkPartialUpdateJSONBody +type PluginsDataValidationEngineRulesRegexBulkPartialUpdateJSONRequestBody = PluginsDataValidationEngineRulesRegexBulkPartialUpdateJSONBody // PluginsDataValidationEngineRulesRegexCreateJSONRequestBody defines body for PluginsDataValidationEngineRulesRegexCreate for application/json ContentType. -type PluginsDataValidationEngineRulesRegexCreateJSONRequestBody PluginsDataValidationEngineRulesRegexCreateJSONBody +type PluginsDataValidationEngineRulesRegexCreateJSONRequestBody = RegularExpressionValidationRuleRequest // PluginsDataValidationEngineRulesRegexBulkUpdateJSONRequestBody defines body for PluginsDataValidationEngineRulesRegexBulkUpdate for application/json ContentType. -type PluginsDataValidationEngineRulesRegexBulkUpdateJSONRequestBody PluginsDataValidationEngineRulesRegexBulkUpdateJSONBody +type PluginsDataValidationEngineRulesRegexBulkUpdateJSONRequestBody = PluginsDataValidationEngineRulesRegexBulkUpdateJSONBody // PluginsDataValidationEngineRulesRegexPartialUpdateJSONRequestBody defines body for PluginsDataValidationEngineRulesRegexPartialUpdate for application/json ContentType. -type PluginsDataValidationEngineRulesRegexPartialUpdateJSONRequestBody PluginsDataValidationEngineRulesRegexPartialUpdateJSONBody +type PluginsDataValidationEngineRulesRegexPartialUpdateJSONRequestBody = PatchedRegularExpressionValidationRuleRequest // PluginsDataValidationEngineRulesRegexUpdateJSONRequestBody defines body for PluginsDataValidationEngineRulesRegexUpdate for application/json ContentType. -type PluginsDataValidationEngineRulesRegexUpdateJSONRequestBody PluginsDataValidationEngineRulesRegexUpdateJSONBody +type PluginsDataValidationEngineRulesRegexUpdateJSONRequestBody = RegularExpressionValidationRuleRequest // PluginsDeviceOnboardingOnboardingCreateJSONRequestBody defines body for PluginsDeviceOnboardingOnboardingCreate for application/json ContentType. -type PluginsDeviceOnboardingOnboardingCreateJSONRequestBody PluginsDeviceOnboardingOnboardingCreateJSONBody +type PluginsDeviceOnboardingOnboardingCreateJSONRequestBody = OnboardingTaskRequest + +// PluginsFirewallAddressObjectGroupBulkDestroyJSONRequestBody defines body for PluginsFirewallAddressObjectGroupBulkDestroy for application/json ContentType. +type PluginsFirewallAddressObjectGroupBulkDestroyJSONRequestBody = PluginsFirewallAddressObjectGroupBulkDestroyJSONBody + +// PluginsFirewallAddressObjectGroupBulkPartialUpdateJSONRequestBody defines body for PluginsFirewallAddressObjectGroupBulkPartialUpdate for application/json ContentType. +type PluginsFirewallAddressObjectGroupBulkPartialUpdateJSONRequestBody = PluginsFirewallAddressObjectGroupBulkPartialUpdateJSONBody + +// PluginsFirewallAddressObjectGroupCreateJSONRequestBody defines body for PluginsFirewallAddressObjectGroupCreate for application/json ContentType. +type PluginsFirewallAddressObjectGroupCreateJSONRequestBody = WritableAddressObjectGroupRequest + +// PluginsFirewallAddressObjectGroupBulkUpdateJSONRequestBody defines body for PluginsFirewallAddressObjectGroupBulkUpdate for application/json ContentType. +type PluginsFirewallAddressObjectGroupBulkUpdateJSONRequestBody = PluginsFirewallAddressObjectGroupBulkUpdateJSONBody + +// PluginsFirewallAddressObjectGroupPartialUpdateJSONRequestBody defines body for PluginsFirewallAddressObjectGroupPartialUpdate for application/json ContentType. +type PluginsFirewallAddressObjectGroupPartialUpdateJSONRequestBody = PatchedWritableAddressObjectGroupRequest + +// PluginsFirewallAddressObjectGroupUpdateJSONRequestBody defines body for PluginsFirewallAddressObjectGroupUpdate for application/json ContentType. +type PluginsFirewallAddressObjectGroupUpdateJSONRequestBody = WritableAddressObjectGroupRequest + +// PluginsFirewallAddressObjectGroupNotesCreateJSONRequestBody defines body for PluginsFirewallAddressObjectGroupNotesCreate for application/json ContentType. +type PluginsFirewallAddressObjectGroupNotesCreateJSONRequestBody = NoteInputRequest + +// PluginsFirewallAddressObjectBulkDestroyJSONRequestBody defines body for PluginsFirewallAddressObjectBulkDestroy for application/json ContentType. +type PluginsFirewallAddressObjectBulkDestroyJSONRequestBody = PluginsFirewallAddressObjectBulkDestroyJSONBody + +// PluginsFirewallAddressObjectBulkPartialUpdateJSONRequestBody defines body for PluginsFirewallAddressObjectBulkPartialUpdate for application/json ContentType. +type PluginsFirewallAddressObjectBulkPartialUpdateJSONRequestBody = PluginsFirewallAddressObjectBulkPartialUpdateJSONBody + +// PluginsFirewallAddressObjectCreateJSONRequestBody defines body for PluginsFirewallAddressObjectCreate for application/json ContentType. +type PluginsFirewallAddressObjectCreateJSONRequestBody = WritableAddressObjectRequest + +// PluginsFirewallAddressObjectBulkUpdateJSONRequestBody defines body for PluginsFirewallAddressObjectBulkUpdate for application/json ContentType. +type PluginsFirewallAddressObjectBulkUpdateJSONRequestBody = PluginsFirewallAddressObjectBulkUpdateJSONBody + +// PluginsFirewallAddressObjectPartialUpdateJSONRequestBody defines body for PluginsFirewallAddressObjectPartialUpdate for application/json ContentType. +type PluginsFirewallAddressObjectPartialUpdateJSONRequestBody = PatchedWritableAddressObjectRequest + +// PluginsFirewallAddressObjectUpdateJSONRequestBody defines body for PluginsFirewallAddressObjectUpdate for application/json ContentType. +type PluginsFirewallAddressObjectUpdateJSONRequestBody = WritableAddressObjectRequest + +// PluginsFirewallAddressObjectNotesCreateJSONRequestBody defines body for PluginsFirewallAddressObjectNotesCreate for application/json ContentType. +type PluginsFirewallAddressObjectNotesCreateJSONRequestBody = NoteInputRequest + +// PluginsFirewallCapircaPolicyBulkDestroyJSONRequestBody defines body for PluginsFirewallCapircaPolicyBulkDestroy for application/json ContentType. +type PluginsFirewallCapircaPolicyBulkDestroyJSONRequestBody = PluginsFirewallCapircaPolicyBulkDestroyJSONBody + +// PluginsFirewallCapircaPolicyBulkPartialUpdateJSONRequestBody defines body for PluginsFirewallCapircaPolicyBulkPartialUpdate for application/json ContentType. +type PluginsFirewallCapircaPolicyBulkPartialUpdateJSONRequestBody = PluginsFirewallCapircaPolicyBulkPartialUpdateJSONBody + +// PluginsFirewallCapircaPolicyCreateJSONRequestBody defines body for PluginsFirewallCapircaPolicyCreate for application/json ContentType. +type PluginsFirewallCapircaPolicyCreateJSONRequestBody = CapircaPolicyRequest + +// PluginsFirewallCapircaPolicyBulkUpdateJSONRequestBody defines body for PluginsFirewallCapircaPolicyBulkUpdate for application/json ContentType. +type PluginsFirewallCapircaPolicyBulkUpdateJSONRequestBody = PluginsFirewallCapircaPolicyBulkUpdateJSONBody + +// PluginsFirewallCapircaPolicyPartialUpdateJSONRequestBody defines body for PluginsFirewallCapircaPolicyPartialUpdate for application/json ContentType. +type PluginsFirewallCapircaPolicyPartialUpdateJSONRequestBody = PatchedCapircaPolicyRequest + +// PluginsFirewallCapircaPolicyUpdateJSONRequestBody defines body for PluginsFirewallCapircaPolicyUpdate for application/json ContentType. +type PluginsFirewallCapircaPolicyUpdateJSONRequestBody = CapircaPolicyRequest + +// PluginsFirewallFqdnBulkDestroyJSONRequestBody defines body for PluginsFirewallFqdnBulkDestroy for application/json ContentType. +type PluginsFirewallFqdnBulkDestroyJSONRequestBody = PluginsFirewallFqdnBulkDestroyJSONBody + +// PluginsFirewallFqdnBulkPartialUpdateJSONRequestBody defines body for PluginsFirewallFqdnBulkPartialUpdate for application/json ContentType. +type PluginsFirewallFqdnBulkPartialUpdateJSONRequestBody = PluginsFirewallFqdnBulkPartialUpdateJSONBody + +// PluginsFirewallFqdnCreateJSONRequestBody defines body for PluginsFirewallFqdnCreate for application/json ContentType. +type PluginsFirewallFqdnCreateJSONRequestBody = WritableFQDNRequest + +// PluginsFirewallFqdnBulkUpdateJSONRequestBody defines body for PluginsFirewallFqdnBulkUpdate for application/json ContentType. +type PluginsFirewallFqdnBulkUpdateJSONRequestBody = PluginsFirewallFqdnBulkUpdateJSONBody + +// PluginsFirewallFqdnPartialUpdateJSONRequestBody defines body for PluginsFirewallFqdnPartialUpdate for application/json ContentType. +type PluginsFirewallFqdnPartialUpdateJSONRequestBody = PatchedWritableFQDNRequest + +// PluginsFirewallFqdnUpdateJSONRequestBody defines body for PluginsFirewallFqdnUpdate for application/json ContentType. +type PluginsFirewallFqdnUpdateJSONRequestBody = WritableFQDNRequest + +// PluginsFirewallFqdnNotesCreateJSONRequestBody defines body for PluginsFirewallFqdnNotesCreate for application/json ContentType. +type PluginsFirewallFqdnNotesCreateJSONRequestBody = NoteInputRequest + +// PluginsFirewallIpRangeBulkDestroyJSONRequestBody defines body for PluginsFirewallIpRangeBulkDestroy for application/json ContentType. +type PluginsFirewallIpRangeBulkDestroyJSONRequestBody = PluginsFirewallIpRangeBulkDestroyJSONBody + +// PluginsFirewallIpRangeBulkPartialUpdateJSONRequestBody defines body for PluginsFirewallIpRangeBulkPartialUpdate for application/json ContentType. +type PluginsFirewallIpRangeBulkPartialUpdateJSONRequestBody = PluginsFirewallIpRangeBulkPartialUpdateJSONBody + +// PluginsFirewallIpRangeCreateJSONRequestBody defines body for PluginsFirewallIpRangeCreate for application/json ContentType. +type PluginsFirewallIpRangeCreateJSONRequestBody = IPRangeRequest + +// PluginsFirewallIpRangeBulkUpdateJSONRequestBody defines body for PluginsFirewallIpRangeBulkUpdate for application/json ContentType. +type PluginsFirewallIpRangeBulkUpdateJSONRequestBody = PluginsFirewallIpRangeBulkUpdateJSONBody + +// PluginsFirewallIpRangePartialUpdateJSONRequestBody defines body for PluginsFirewallIpRangePartialUpdate for application/json ContentType. +type PluginsFirewallIpRangePartialUpdateJSONRequestBody = PatchedIPRangeRequest + +// PluginsFirewallIpRangeUpdateJSONRequestBody defines body for PluginsFirewallIpRangeUpdate for application/json ContentType. +type PluginsFirewallIpRangeUpdateJSONRequestBody = IPRangeRequest + +// PluginsFirewallIpRangeNotesCreateJSONRequestBody defines body for PluginsFirewallIpRangeNotesCreate for application/json ContentType. +type PluginsFirewallIpRangeNotesCreateJSONRequestBody = NoteInputRequest + +// PluginsFirewallNatPolicyRuleBulkDestroyJSONRequestBody defines body for PluginsFirewallNatPolicyRuleBulkDestroy for application/json ContentType. +type PluginsFirewallNatPolicyRuleBulkDestroyJSONRequestBody = PluginsFirewallNatPolicyRuleBulkDestroyJSONBody + +// PluginsFirewallNatPolicyRuleBulkPartialUpdateJSONRequestBody defines body for PluginsFirewallNatPolicyRuleBulkPartialUpdate for application/json ContentType. +type PluginsFirewallNatPolicyRuleBulkPartialUpdateJSONRequestBody = PluginsFirewallNatPolicyRuleBulkPartialUpdateJSONBody + +// PluginsFirewallNatPolicyRuleCreateJSONRequestBody defines body for PluginsFirewallNatPolicyRuleCreate for application/json ContentType. +type PluginsFirewallNatPolicyRuleCreateJSONRequestBody = WritableNATPolicyRuleRequest + +// PluginsFirewallNatPolicyRuleBulkUpdateJSONRequestBody defines body for PluginsFirewallNatPolicyRuleBulkUpdate for application/json ContentType. +type PluginsFirewallNatPolicyRuleBulkUpdateJSONRequestBody = PluginsFirewallNatPolicyRuleBulkUpdateJSONBody + +// PluginsFirewallNatPolicyRulePartialUpdateJSONRequestBody defines body for PluginsFirewallNatPolicyRulePartialUpdate for application/json ContentType. +type PluginsFirewallNatPolicyRulePartialUpdateJSONRequestBody = PatchedWritableNATPolicyRuleRequest + +// PluginsFirewallNatPolicyRuleUpdateJSONRequestBody defines body for PluginsFirewallNatPolicyRuleUpdate for application/json ContentType. +type PluginsFirewallNatPolicyRuleUpdateJSONRequestBody = WritableNATPolicyRuleRequest + +// PluginsFirewallNatPolicyRuleNotesCreateJSONRequestBody defines body for PluginsFirewallNatPolicyRuleNotesCreate for application/json ContentType. +type PluginsFirewallNatPolicyRuleNotesCreateJSONRequestBody = NoteInputRequest + +// PluginsFirewallNatPolicyBulkDestroyJSONRequestBody defines body for PluginsFirewallNatPolicyBulkDestroy for application/json ContentType. +type PluginsFirewallNatPolicyBulkDestroyJSONRequestBody = PluginsFirewallNatPolicyBulkDestroyJSONBody + +// PluginsFirewallNatPolicyBulkPartialUpdateJSONRequestBody defines body for PluginsFirewallNatPolicyBulkPartialUpdate for application/json ContentType. +type PluginsFirewallNatPolicyBulkPartialUpdateJSONRequestBody = PluginsFirewallNatPolicyBulkPartialUpdateJSONBody + +// PluginsFirewallNatPolicyCreateJSONRequestBody defines body for PluginsFirewallNatPolicyCreate for application/json ContentType. +type PluginsFirewallNatPolicyCreateJSONRequestBody = NATPolicyRequest + +// PluginsFirewallNatPolicyBulkUpdateJSONRequestBody defines body for PluginsFirewallNatPolicyBulkUpdate for application/json ContentType. +type PluginsFirewallNatPolicyBulkUpdateJSONRequestBody = PluginsFirewallNatPolicyBulkUpdateJSONBody + +// PluginsFirewallNatPolicyPartialUpdateJSONRequestBody defines body for PluginsFirewallNatPolicyPartialUpdate for application/json ContentType. +type PluginsFirewallNatPolicyPartialUpdateJSONRequestBody = PatchedNATPolicyRequest + +// PluginsFirewallNatPolicyUpdateJSONRequestBody defines body for PluginsFirewallNatPolicyUpdate for application/json ContentType. +type PluginsFirewallNatPolicyUpdateJSONRequestBody = NATPolicyRequest + +// PluginsFirewallNatPolicyNotesCreateJSONRequestBody defines body for PluginsFirewallNatPolicyNotesCreate for application/json ContentType. +type PluginsFirewallNatPolicyNotesCreateJSONRequestBody = NoteInputRequest + +// PluginsFirewallPolicyRuleBulkDestroyJSONRequestBody defines body for PluginsFirewallPolicyRuleBulkDestroy for application/json ContentType. +type PluginsFirewallPolicyRuleBulkDestroyJSONRequestBody = PluginsFirewallPolicyRuleBulkDestroyJSONBody + +// PluginsFirewallPolicyRuleBulkPartialUpdateJSONRequestBody defines body for PluginsFirewallPolicyRuleBulkPartialUpdate for application/json ContentType. +type PluginsFirewallPolicyRuleBulkPartialUpdateJSONRequestBody = PluginsFirewallPolicyRuleBulkPartialUpdateJSONBody + +// PluginsFirewallPolicyRuleCreateJSONRequestBody defines body for PluginsFirewallPolicyRuleCreate for application/json ContentType. +type PluginsFirewallPolicyRuleCreateJSONRequestBody = WritablePolicyRuleRequest + +// PluginsFirewallPolicyRuleBulkUpdateJSONRequestBody defines body for PluginsFirewallPolicyRuleBulkUpdate for application/json ContentType. +type PluginsFirewallPolicyRuleBulkUpdateJSONRequestBody = PluginsFirewallPolicyRuleBulkUpdateJSONBody + +// PluginsFirewallPolicyRulePartialUpdateJSONRequestBody defines body for PluginsFirewallPolicyRulePartialUpdate for application/json ContentType. +type PluginsFirewallPolicyRulePartialUpdateJSONRequestBody = PatchedWritablePolicyRuleRequest + +// PluginsFirewallPolicyRuleUpdateJSONRequestBody defines body for PluginsFirewallPolicyRuleUpdate for application/json ContentType. +type PluginsFirewallPolicyRuleUpdateJSONRequestBody = WritablePolicyRuleRequest + +// PluginsFirewallPolicyRuleNotesCreateJSONRequestBody defines body for PluginsFirewallPolicyRuleNotesCreate for application/json ContentType. +type PluginsFirewallPolicyRuleNotesCreateJSONRequestBody = NoteInputRequest + +// PluginsFirewallPolicyBulkDestroyJSONRequestBody defines body for PluginsFirewallPolicyBulkDestroy for application/json ContentType. +type PluginsFirewallPolicyBulkDestroyJSONRequestBody = PluginsFirewallPolicyBulkDestroyJSONBody + +// PluginsFirewallPolicyBulkPartialUpdateJSONRequestBody defines body for PluginsFirewallPolicyBulkPartialUpdate for application/json ContentType. +type PluginsFirewallPolicyBulkPartialUpdateJSONRequestBody = PluginsFirewallPolicyBulkPartialUpdateJSONBody + +// PluginsFirewallPolicyCreateJSONRequestBody defines body for PluginsFirewallPolicyCreate for application/json ContentType. +type PluginsFirewallPolicyCreateJSONRequestBody = PolicyRequest + +// PluginsFirewallPolicyBulkUpdateJSONRequestBody defines body for PluginsFirewallPolicyBulkUpdate for application/json ContentType. +type PluginsFirewallPolicyBulkUpdateJSONRequestBody = PluginsFirewallPolicyBulkUpdateJSONBody + +// PluginsFirewallPolicyPartialUpdateJSONRequestBody defines body for PluginsFirewallPolicyPartialUpdate for application/json ContentType. +type PluginsFirewallPolicyPartialUpdateJSONRequestBody = PatchedPolicyRequest + +// PluginsFirewallPolicyUpdateJSONRequestBody defines body for PluginsFirewallPolicyUpdate for application/json ContentType. +type PluginsFirewallPolicyUpdateJSONRequestBody = PolicyRequest + +// PluginsFirewallPolicyNotesCreateJSONRequestBody defines body for PluginsFirewallPolicyNotesCreate for application/json ContentType. +type PluginsFirewallPolicyNotesCreateJSONRequestBody = NoteInputRequest + +// PluginsFirewallServiceObjectGroupBulkDestroyJSONRequestBody defines body for PluginsFirewallServiceObjectGroupBulkDestroy for application/json ContentType. +type PluginsFirewallServiceObjectGroupBulkDestroyJSONRequestBody = PluginsFirewallServiceObjectGroupBulkDestroyJSONBody + +// PluginsFirewallServiceObjectGroupBulkPartialUpdateJSONRequestBody defines body for PluginsFirewallServiceObjectGroupBulkPartialUpdate for application/json ContentType. +type PluginsFirewallServiceObjectGroupBulkPartialUpdateJSONRequestBody = PluginsFirewallServiceObjectGroupBulkPartialUpdateJSONBody + +// PluginsFirewallServiceObjectGroupCreateJSONRequestBody defines body for PluginsFirewallServiceObjectGroupCreate for application/json ContentType. +type PluginsFirewallServiceObjectGroupCreateJSONRequestBody = WritableServiceObjectGroupRequest + +// PluginsFirewallServiceObjectGroupBulkUpdateJSONRequestBody defines body for PluginsFirewallServiceObjectGroupBulkUpdate for application/json ContentType. +type PluginsFirewallServiceObjectGroupBulkUpdateJSONRequestBody = PluginsFirewallServiceObjectGroupBulkUpdateJSONBody + +// PluginsFirewallServiceObjectGroupPartialUpdateJSONRequestBody defines body for PluginsFirewallServiceObjectGroupPartialUpdate for application/json ContentType. +type PluginsFirewallServiceObjectGroupPartialUpdateJSONRequestBody = PatchedWritableServiceObjectGroupRequest + +// PluginsFirewallServiceObjectGroupUpdateJSONRequestBody defines body for PluginsFirewallServiceObjectGroupUpdate for application/json ContentType. +type PluginsFirewallServiceObjectGroupUpdateJSONRequestBody = WritableServiceObjectGroupRequest + +// PluginsFirewallServiceObjectGroupNotesCreateJSONRequestBody defines body for PluginsFirewallServiceObjectGroupNotesCreate for application/json ContentType. +type PluginsFirewallServiceObjectGroupNotesCreateJSONRequestBody = NoteInputRequest + +// PluginsFirewallServiceObjectBulkDestroyJSONRequestBody defines body for PluginsFirewallServiceObjectBulkDestroy for application/json ContentType. +type PluginsFirewallServiceObjectBulkDestroyJSONRequestBody = PluginsFirewallServiceObjectBulkDestroyJSONBody + +// PluginsFirewallServiceObjectBulkPartialUpdateJSONRequestBody defines body for PluginsFirewallServiceObjectBulkPartialUpdate for application/json ContentType. +type PluginsFirewallServiceObjectBulkPartialUpdateJSONRequestBody = PluginsFirewallServiceObjectBulkPartialUpdateJSONBody + +// PluginsFirewallServiceObjectCreateJSONRequestBody defines body for PluginsFirewallServiceObjectCreate for application/json ContentType. +type PluginsFirewallServiceObjectCreateJSONRequestBody = ServiceObjectRequest + +// PluginsFirewallServiceObjectBulkUpdateJSONRequestBody defines body for PluginsFirewallServiceObjectBulkUpdate for application/json ContentType. +type PluginsFirewallServiceObjectBulkUpdateJSONRequestBody = PluginsFirewallServiceObjectBulkUpdateJSONBody + +// PluginsFirewallServiceObjectPartialUpdateJSONRequestBody defines body for PluginsFirewallServiceObjectPartialUpdate for application/json ContentType. +type PluginsFirewallServiceObjectPartialUpdateJSONRequestBody = PatchedServiceObjectRequest + +// PluginsFirewallServiceObjectUpdateJSONRequestBody defines body for PluginsFirewallServiceObjectUpdate for application/json ContentType. +type PluginsFirewallServiceObjectUpdateJSONRequestBody = ServiceObjectRequest + +// PluginsFirewallServiceObjectNotesCreateJSONRequestBody defines body for PluginsFirewallServiceObjectNotesCreate for application/json ContentType. +type PluginsFirewallServiceObjectNotesCreateJSONRequestBody = NoteInputRequest + +// PluginsFirewallUserObjectGroupBulkDestroyJSONRequestBody defines body for PluginsFirewallUserObjectGroupBulkDestroy for application/json ContentType. +type PluginsFirewallUserObjectGroupBulkDestroyJSONRequestBody = PluginsFirewallUserObjectGroupBulkDestroyJSONBody + +// PluginsFirewallUserObjectGroupBulkPartialUpdateJSONRequestBody defines body for PluginsFirewallUserObjectGroupBulkPartialUpdate for application/json ContentType. +type PluginsFirewallUserObjectGroupBulkPartialUpdateJSONRequestBody = PluginsFirewallUserObjectGroupBulkPartialUpdateJSONBody + +// PluginsFirewallUserObjectGroupCreateJSONRequestBody defines body for PluginsFirewallUserObjectGroupCreate for application/json ContentType. +type PluginsFirewallUserObjectGroupCreateJSONRequestBody = WritableUserObjectGroupRequest + +// PluginsFirewallUserObjectGroupBulkUpdateJSONRequestBody defines body for PluginsFirewallUserObjectGroupBulkUpdate for application/json ContentType. +type PluginsFirewallUserObjectGroupBulkUpdateJSONRequestBody = PluginsFirewallUserObjectGroupBulkUpdateJSONBody + +// PluginsFirewallUserObjectGroupPartialUpdateJSONRequestBody defines body for PluginsFirewallUserObjectGroupPartialUpdate for application/json ContentType. +type PluginsFirewallUserObjectGroupPartialUpdateJSONRequestBody = PatchedWritableUserObjectGroupRequest + +// PluginsFirewallUserObjectGroupUpdateJSONRequestBody defines body for PluginsFirewallUserObjectGroupUpdate for application/json ContentType. +type PluginsFirewallUserObjectGroupUpdateJSONRequestBody = WritableUserObjectGroupRequest + +// PluginsFirewallUserObjectGroupNotesCreateJSONRequestBody defines body for PluginsFirewallUserObjectGroupNotesCreate for application/json ContentType. +type PluginsFirewallUserObjectGroupNotesCreateJSONRequestBody = NoteInputRequest + +// PluginsFirewallUserObjectBulkDestroyJSONRequestBody defines body for PluginsFirewallUserObjectBulkDestroy for application/json ContentType. +type PluginsFirewallUserObjectBulkDestroyJSONRequestBody = PluginsFirewallUserObjectBulkDestroyJSONBody + +// PluginsFirewallUserObjectBulkPartialUpdateJSONRequestBody defines body for PluginsFirewallUserObjectBulkPartialUpdate for application/json ContentType. +type PluginsFirewallUserObjectBulkPartialUpdateJSONRequestBody = PluginsFirewallUserObjectBulkPartialUpdateJSONBody + +// PluginsFirewallUserObjectCreateJSONRequestBody defines body for PluginsFirewallUserObjectCreate for application/json ContentType. +type PluginsFirewallUserObjectCreateJSONRequestBody = UserObjectRequest + +// PluginsFirewallUserObjectBulkUpdateJSONRequestBody defines body for PluginsFirewallUserObjectBulkUpdate for application/json ContentType. +type PluginsFirewallUserObjectBulkUpdateJSONRequestBody = PluginsFirewallUserObjectBulkUpdateJSONBody + +// PluginsFirewallUserObjectPartialUpdateJSONRequestBody defines body for PluginsFirewallUserObjectPartialUpdate for application/json ContentType. +type PluginsFirewallUserObjectPartialUpdateJSONRequestBody = PatchedUserObjectRequest + +// PluginsFirewallUserObjectUpdateJSONRequestBody defines body for PluginsFirewallUserObjectUpdate for application/json ContentType. +type PluginsFirewallUserObjectUpdateJSONRequestBody = UserObjectRequest + +// PluginsFirewallUserObjectNotesCreateJSONRequestBody defines body for PluginsFirewallUserObjectNotesCreate for application/json ContentType. +type PluginsFirewallUserObjectNotesCreateJSONRequestBody = NoteInputRequest + +// PluginsFirewallZoneBulkDestroyJSONRequestBody defines body for PluginsFirewallZoneBulkDestroy for application/json ContentType. +type PluginsFirewallZoneBulkDestroyJSONRequestBody = PluginsFirewallZoneBulkDestroyJSONBody + +// PluginsFirewallZoneBulkPartialUpdateJSONRequestBody defines body for PluginsFirewallZoneBulkPartialUpdate for application/json ContentType. +type PluginsFirewallZoneBulkPartialUpdateJSONRequestBody = PluginsFirewallZoneBulkPartialUpdateJSONBody + +// PluginsFirewallZoneCreateJSONRequestBody defines body for PluginsFirewallZoneCreate for application/json ContentType. +type PluginsFirewallZoneCreateJSONRequestBody = ZoneRequest + +// PluginsFirewallZoneBulkUpdateJSONRequestBody defines body for PluginsFirewallZoneBulkUpdate for application/json ContentType. +type PluginsFirewallZoneBulkUpdateJSONRequestBody = PluginsFirewallZoneBulkUpdateJSONBody + +// PluginsFirewallZonePartialUpdateJSONRequestBody defines body for PluginsFirewallZonePartialUpdate for application/json ContentType. +type PluginsFirewallZonePartialUpdateJSONRequestBody = PatchedZoneRequest + +// PluginsFirewallZoneUpdateJSONRequestBody defines body for PluginsFirewallZoneUpdate for application/json ContentType. +type PluginsFirewallZoneUpdateJSONRequestBody = ZoneRequest + +// PluginsFirewallZoneNotesCreateJSONRequestBody defines body for PluginsFirewallZoneNotesCreate for application/json ContentType. +type PluginsFirewallZoneNotesCreateJSONRequestBody = NoteInputRequest + +// PluginsGoldenConfigComplianceFeatureBulkDestroyJSONRequestBody defines body for PluginsGoldenConfigComplianceFeatureBulkDestroy for application/json ContentType. +type PluginsGoldenConfigComplianceFeatureBulkDestroyJSONRequestBody = PluginsGoldenConfigComplianceFeatureBulkDestroyJSONBody // PluginsGoldenConfigComplianceFeatureBulkPartialUpdateJSONRequestBody defines body for PluginsGoldenConfigComplianceFeatureBulkPartialUpdate for application/json ContentType. -type PluginsGoldenConfigComplianceFeatureBulkPartialUpdateJSONRequestBody PluginsGoldenConfigComplianceFeatureBulkPartialUpdateJSONBody +type PluginsGoldenConfigComplianceFeatureBulkPartialUpdateJSONRequestBody = PluginsGoldenConfigComplianceFeatureBulkPartialUpdateJSONBody // PluginsGoldenConfigComplianceFeatureCreateJSONRequestBody defines body for PluginsGoldenConfigComplianceFeatureCreate for application/json ContentType. -type PluginsGoldenConfigComplianceFeatureCreateJSONRequestBody PluginsGoldenConfigComplianceFeatureCreateJSONBody +type PluginsGoldenConfigComplianceFeatureCreateJSONRequestBody = ComplianceFeatureRequest // PluginsGoldenConfigComplianceFeatureBulkUpdateJSONRequestBody defines body for PluginsGoldenConfigComplianceFeatureBulkUpdate for application/json ContentType. -type PluginsGoldenConfigComplianceFeatureBulkUpdateJSONRequestBody PluginsGoldenConfigComplianceFeatureBulkUpdateJSONBody +type PluginsGoldenConfigComplianceFeatureBulkUpdateJSONRequestBody = PluginsGoldenConfigComplianceFeatureBulkUpdateJSONBody // PluginsGoldenConfigComplianceFeaturePartialUpdateJSONRequestBody defines body for PluginsGoldenConfigComplianceFeaturePartialUpdate for application/json ContentType. -type PluginsGoldenConfigComplianceFeaturePartialUpdateJSONRequestBody PluginsGoldenConfigComplianceFeaturePartialUpdateJSONBody +type PluginsGoldenConfigComplianceFeaturePartialUpdateJSONRequestBody = PatchedComplianceFeatureRequest // PluginsGoldenConfigComplianceFeatureUpdateJSONRequestBody defines body for PluginsGoldenConfigComplianceFeatureUpdate for application/json ContentType. -type PluginsGoldenConfigComplianceFeatureUpdateJSONRequestBody PluginsGoldenConfigComplianceFeatureUpdateJSONBody +type PluginsGoldenConfigComplianceFeatureUpdateJSONRequestBody = ComplianceFeatureRequest + +// PluginsGoldenConfigComplianceRuleBulkDestroyJSONRequestBody defines body for PluginsGoldenConfigComplianceRuleBulkDestroy for application/json ContentType. +type PluginsGoldenConfigComplianceRuleBulkDestroyJSONRequestBody = PluginsGoldenConfigComplianceRuleBulkDestroyJSONBody // PluginsGoldenConfigComplianceRuleBulkPartialUpdateJSONRequestBody defines body for PluginsGoldenConfigComplianceRuleBulkPartialUpdate for application/json ContentType. -type PluginsGoldenConfigComplianceRuleBulkPartialUpdateJSONRequestBody PluginsGoldenConfigComplianceRuleBulkPartialUpdateJSONBody +type PluginsGoldenConfigComplianceRuleBulkPartialUpdateJSONRequestBody = PluginsGoldenConfigComplianceRuleBulkPartialUpdateJSONBody // PluginsGoldenConfigComplianceRuleCreateJSONRequestBody defines body for PluginsGoldenConfigComplianceRuleCreate for application/json ContentType. -type PluginsGoldenConfigComplianceRuleCreateJSONRequestBody PluginsGoldenConfigComplianceRuleCreateJSONBody +type PluginsGoldenConfigComplianceRuleCreateJSONRequestBody = ComplianceRuleRequest // PluginsGoldenConfigComplianceRuleBulkUpdateJSONRequestBody defines body for PluginsGoldenConfigComplianceRuleBulkUpdate for application/json ContentType. -type PluginsGoldenConfigComplianceRuleBulkUpdateJSONRequestBody PluginsGoldenConfigComplianceRuleBulkUpdateJSONBody +type PluginsGoldenConfigComplianceRuleBulkUpdateJSONRequestBody = PluginsGoldenConfigComplianceRuleBulkUpdateJSONBody // PluginsGoldenConfigComplianceRulePartialUpdateJSONRequestBody defines body for PluginsGoldenConfigComplianceRulePartialUpdate for application/json ContentType. -type PluginsGoldenConfigComplianceRulePartialUpdateJSONRequestBody PluginsGoldenConfigComplianceRulePartialUpdateJSONBody +type PluginsGoldenConfigComplianceRulePartialUpdateJSONRequestBody = PatchedComplianceRuleRequest // PluginsGoldenConfigComplianceRuleUpdateJSONRequestBody defines body for PluginsGoldenConfigComplianceRuleUpdate for application/json ContentType. -type PluginsGoldenConfigComplianceRuleUpdateJSONRequestBody PluginsGoldenConfigComplianceRuleUpdateJSONBody +type PluginsGoldenConfigComplianceRuleUpdateJSONRequestBody = ComplianceRuleRequest + +// PluginsGoldenConfigConfigComplianceBulkDestroyJSONRequestBody defines body for PluginsGoldenConfigConfigComplianceBulkDestroy for application/json ContentType. +type PluginsGoldenConfigConfigComplianceBulkDestroyJSONRequestBody = PluginsGoldenConfigConfigComplianceBulkDestroyJSONBody // PluginsGoldenConfigConfigComplianceBulkPartialUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigComplianceBulkPartialUpdate for application/json ContentType. -type PluginsGoldenConfigConfigComplianceBulkPartialUpdateJSONRequestBody PluginsGoldenConfigConfigComplianceBulkPartialUpdateJSONBody +type PluginsGoldenConfigConfigComplianceBulkPartialUpdateJSONRequestBody = PluginsGoldenConfigConfigComplianceBulkPartialUpdateJSONBody // PluginsGoldenConfigConfigComplianceCreateJSONRequestBody defines body for PluginsGoldenConfigConfigComplianceCreate for application/json ContentType. -type PluginsGoldenConfigConfigComplianceCreateJSONRequestBody PluginsGoldenConfigConfigComplianceCreateJSONBody +type PluginsGoldenConfigConfigComplianceCreateJSONRequestBody = ConfigComplianceRequest // PluginsGoldenConfigConfigComplianceBulkUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigComplianceBulkUpdate for application/json ContentType. -type PluginsGoldenConfigConfigComplianceBulkUpdateJSONRequestBody PluginsGoldenConfigConfigComplianceBulkUpdateJSONBody +type PluginsGoldenConfigConfigComplianceBulkUpdateJSONRequestBody = PluginsGoldenConfigConfigComplianceBulkUpdateJSONBody // PluginsGoldenConfigConfigCompliancePartialUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigCompliancePartialUpdate for application/json ContentType. -type PluginsGoldenConfigConfigCompliancePartialUpdateJSONRequestBody PluginsGoldenConfigConfigCompliancePartialUpdateJSONBody +type PluginsGoldenConfigConfigCompliancePartialUpdateJSONRequestBody = PatchedConfigComplianceRequest // PluginsGoldenConfigConfigComplianceUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigComplianceUpdate for application/json ContentType. -type PluginsGoldenConfigConfigComplianceUpdateJSONRequestBody PluginsGoldenConfigConfigComplianceUpdateJSONBody +type PluginsGoldenConfigConfigComplianceUpdateJSONRequestBody = ConfigComplianceRequest + +// PluginsGoldenConfigConfigRemoveBulkDestroyJSONRequestBody defines body for PluginsGoldenConfigConfigRemoveBulkDestroy for application/json ContentType. +type PluginsGoldenConfigConfigRemoveBulkDestroyJSONRequestBody = PluginsGoldenConfigConfigRemoveBulkDestroyJSONBody // PluginsGoldenConfigConfigRemoveBulkPartialUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigRemoveBulkPartialUpdate for application/json ContentType. -type PluginsGoldenConfigConfigRemoveBulkPartialUpdateJSONRequestBody PluginsGoldenConfigConfigRemoveBulkPartialUpdateJSONBody +type PluginsGoldenConfigConfigRemoveBulkPartialUpdateJSONRequestBody = PluginsGoldenConfigConfigRemoveBulkPartialUpdateJSONBody // PluginsGoldenConfigConfigRemoveCreateJSONRequestBody defines body for PluginsGoldenConfigConfigRemoveCreate for application/json ContentType. -type PluginsGoldenConfigConfigRemoveCreateJSONRequestBody PluginsGoldenConfigConfigRemoveCreateJSONBody +type PluginsGoldenConfigConfigRemoveCreateJSONRequestBody = ConfigRemoveRequest // PluginsGoldenConfigConfigRemoveBulkUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigRemoveBulkUpdate for application/json ContentType. -type PluginsGoldenConfigConfigRemoveBulkUpdateJSONRequestBody PluginsGoldenConfigConfigRemoveBulkUpdateJSONBody +type PluginsGoldenConfigConfigRemoveBulkUpdateJSONRequestBody = PluginsGoldenConfigConfigRemoveBulkUpdateJSONBody // PluginsGoldenConfigConfigRemovePartialUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigRemovePartialUpdate for application/json ContentType. -type PluginsGoldenConfigConfigRemovePartialUpdateJSONRequestBody PluginsGoldenConfigConfigRemovePartialUpdateJSONBody +type PluginsGoldenConfigConfigRemovePartialUpdateJSONRequestBody = PatchedConfigRemoveRequest // PluginsGoldenConfigConfigRemoveUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigRemoveUpdate for application/json ContentType. -type PluginsGoldenConfigConfigRemoveUpdateJSONRequestBody PluginsGoldenConfigConfigRemoveUpdateJSONBody +type PluginsGoldenConfigConfigRemoveUpdateJSONRequestBody = ConfigRemoveRequest + +// PluginsGoldenConfigConfigReplaceBulkDestroyJSONRequestBody defines body for PluginsGoldenConfigConfigReplaceBulkDestroy for application/json ContentType. +type PluginsGoldenConfigConfigReplaceBulkDestroyJSONRequestBody = PluginsGoldenConfigConfigReplaceBulkDestroyJSONBody // PluginsGoldenConfigConfigReplaceBulkPartialUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigReplaceBulkPartialUpdate for application/json ContentType. -type PluginsGoldenConfigConfigReplaceBulkPartialUpdateJSONRequestBody PluginsGoldenConfigConfigReplaceBulkPartialUpdateJSONBody +type PluginsGoldenConfigConfigReplaceBulkPartialUpdateJSONRequestBody = PluginsGoldenConfigConfigReplaceBulkPartialUpdateJSONBody // PluginsGoldenConfigConfigReplaceCreateJSONRequestBody defines body for PluginsGoldenConfigConfigReplaceCreate for application/json ContentType. -type PluginsGoldenConfigConfigReplaceCreateJSONRequestBody PluginsGoldenConfigConfigReplaceCreateJSONBody +type PluginsGoldenConfigConfigReplaceCreateJSONRequestBody = ConfigReplaceRequest // PluginsGoldenConfigConfigReplaceBulkUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigReplaceBulkUpdate for application/json ContentType. -type PluginsGoldenConfigConfigReplaceBulkUpdateJSONRequestBody PluginsGoldenConfigConfigReplaceBulkUpdateJSONBody +type PluginsGoldenConfigConfigReplaceBulkUpdateJSONRequestBody = PluginsGoldenConfigConfigReplaceBulkUpdateJSONBody // PluginsGoldenConfigConfigReplacePartialUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigReplacePartialUpdate for application/json ContentType. -type PluginsGoldenConfigConfigReplacePartialUpdateJSONRequestBody PluginsGoldenConfigConfigReplacePartialUpdateJSONBody +type PluginsGoldenConfigConfigReplacePartialUpdateJSONRequestBody = PatchedConfigReplaceRequest // PluginsGoldenConfigConfigReplaceUpdateJSONRequestBody defines body for PluginsGoldenConfigConfigReplaceUpdate for application/json ContentType. -type PluginsGoldenConfigConfigReplaceUpdateJSONRequestBody PluginsGoldenConfigConfigReplaceUpdateJSONBody +type PluginsGoldenConfigConfigReplaceUpdateJSONRequestBody = ConfigReplaceRequest + +// PluginsGoldenConfigGoldenConfigSettingsBulkDestroyJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigSettingsBulkDestroy for application/json ContentType. +type PluginsGoldenConfigGoldenConfigSettingsBulkDestroyJSONRequestBody = PluginsGoldenConfigGoldenConfigSettingsBulkDestroyJSONBody // PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdate for application/json ContentType. -type PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateJSONRequestBody PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateJSONBody +type PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateJSONRequestBody = PluginsGoldenConfigGoldenConfigSettingsBulkPartialUpdateJSONBody // PluginsGoldenConfigGoldenConfigSettingsCreateJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigSettingsCreate for application/json ContentType. -type PluginsGoldenConfigGoldenConfigSettingsCreateJSONRequestBody PluginsGoldenConfigGoldenConfigSettingsCreateJSONBody +type PluginsGoldenConfigGoldenConfigSettingsCreateJSONRequestBody = WritableGoldenConfigSettingRequest // PluginsGoldenConfigGoldenConfigSettingsBulkUpdateJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigSettingsBulkUpdate for application/json ContentType. -type PluginsGoldenConfigGoldenConfigSettingsBulkUpdateJSONRequestBody PluginsGoldenConfigGoldenConfigSettingsBulkUpdateJSONBody +type PluginsGoldenConfigGoldenConfigSettingsBulkUpdateJSONRequestBody = PluginsGoldenConfigGoldenConfigSettingsBulkUpdateJSONBody // PluginsGoldenConfigGoldenConfigSettingsPartialUpdateJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigSettingsPartialUpdate for application/json ContentType. -type PluginsGoldenConfigGoldenConfigSettingsPartialUpdateJSONRequestBody PluginsGoldenConfigGoldenConfigSettingsPartialUpdateJSONBody +type PluginsGoldenConfigGoldenConfigSettingsPartialUpdateJSONRequestBody = PatchedWritableGoldenConfigSettingRequest // PluginsGoldenConfigGoldenConfigSettingsUpdateJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigSettingsUpdate for application/json ContentType. -type PluginsGoldenConfigGoldenConfigSettingsUpdateJSONRequestBody PluginsGoldenConfigGoldenConfigSettingsUpdateJSONBody +type PluginsGoldenConfigGoldenConfigSettingsUpdateJSONRequestBody = WritableGoldenConfigSettingRequest + +// PluginsGoldenConfigGoldenConfigBulkDestroyJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigBulkDestroy for application/json ContentType. +type PluginsGoldenConfigGoldenConfigBulkDestroyJSONRequestBody = PluginsGoldenConfigGoldenConfigBulkDestroyJSONBody // PluginsGoldenConfigGoldenConfigBulkPartialUpdateJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigBulkPartialUpdate for application/json ContentType. -type PluginsGoldenConfigGoldenConfigBulkPartialUpdateJSONRequestBody PluginsGoldenConfigGoldenConfigBulkPartialUpdateJSONBody +type PluginsGoldenConfigGoldenConfigBulkPartialUpdateJSONRequestBody = PluginsGoldenConfigGoldenConfigBulkPartialUpdateJSONBody // PluginsGoldenConfigGoldenConfigCreateJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigCreate for application/json ContentType. -type PluginsGoldenConfigGoldenConfigCreateJSONRequestBody PluginsGoldenConfigGoldenConfigCreateJSONBody +type PluginsGoldenConfigGoldenConfigCreateJSONRequestBody = GoldenConfigRequest // PluginsGoldenConfigGoldenConfigBulkUpdateJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigBulkUpdate for application/json ContentType. -type PluginsGoldenConfigGoldenConfigBulkUpdateJSONRequestBody PluginsGoldenConfigGoldenConfigBulkUpdateJSONBody +type PluginsGoldenConfigGoldenConfigBulkUpdateJSONRequestBody = PluginsGoldenConfigGoldenConfigBulkUpdateJSONBody // PluginsGoldenConfigGoldenConfigPartialUpdateJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigPartialUpdate for application/json ContentType. -type PluginsGoldenConfigGoldenConfigPartialUpdateJSONRequestBody PluginsGoldenConfigGoldenConfigPartialUpdateJSONBody +type PluginsGoldenConfigGoldenConfigPartialUpdateJSONRequestBody = PatchedGoldenConfigRequest // PluginsGoldenConfigGoldenConfigUpdateJSONRequestBody defines body for PluginsGoldenConfigGoldenConfigUpdate for application/json ContentType. -type PluginsGoldenConfigGoldenConfigUpdateJSONRequestBody PluginsGoldenConfigGoldenConfigUpdateJSONBody +type PluginsGoldenConfigGoldenConfigUpdateJSONRequestBody = GoldenConfigRequest + +// PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContactBulkDestroy for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtContactBulkDestroyJSONBody // PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtContactBulkPartialUpdateJSONBody // PluginsNautobotDeviceLifecycleMgmtContactCreateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContactCreate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtContactCreateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtContactCreateJSONBody +type PluginsNautobotDeviceLifecycleMgmtContactCreateJSONRequestBody = WritableContactLCMRequest // PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContactBulkUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtContactBulkUpdateJSONBody // PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContactPartialUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtContactPartialUpdateJSONRequestBody = PatchedWritableContactLCMRequest // PluginsNautobotDeviceLifecycleMgmtContactUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContactUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtContactUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtContactUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtContactUpdateJSONRequestBody = WritableContactLCMRequest + +// PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContractBulkDestroy for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtContractBulkDestroyJSONBody // PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtContractBulkPartialUpdateJSONBody // PluginsNautobotDeviceLifecycleMgmtContractCreateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContractCreate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtContractCreateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtContractCreateJSONBody +type PluginsNautobotDeviceLifecycleMgmtContractCreateJSONRequestBody = WritableContractLCMRequest // PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContractBulkUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtContractBulkUpdateJSONBody // PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContractPartialUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtContractPartialUpdateJSONRequestBody = PatchedWritableContractLCMRequest // PluginsNautobotDeviceLifecycleMgmtContractUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtContractUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtContractUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtContractUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtContractUpdateJSONRequestBody = WritableContractLCMRequest + +// PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtCveBulkDestroy for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtCveBulkDestroyJSONBody // PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtCveBulkPartialUpdateJSONBody // PluginsNautobotDeviceLifecycleMgmtCveCreateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtCveCreate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtCveCreateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtCveCreateJSONBody +type PluginsNautobotDeviceLifecycleMgmtCveCreateJSONRequestBody = WritableCVELCMRequest // PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtCveBulkUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtCveBulkUpdateJSONBody // PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtCvePartialUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtCvePartialUpdateJSONRequestBody = PatchedWritableCVELCMRequest // PluginsNautobotDeviceLifecycleMgmtCveUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtCveUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtCveUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtCveUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtCveUpdateJSONRequestBody = WritableCVELCMRequest + +// PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroy for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtHardwareBulkDestroyJSONBody // PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtHardwareBulkPartialUpdateJSONBody // PluginsNautobotDeviceLifecycleMgmtHardwareCreateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtHardwareCreate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtHardwareCreateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtHardwareCreateJSONBody +type PluginsNautobotDeviceLifecycleMgmtHardwareCreateJSONRequestBody = WritableHardwareLCMRequest // PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtHardwareBulkUpdateJSONBody // PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtHardwarePartialUpdateJSONRequestBody = PatchedWritableHardwareLCMRequest // PluginsNautobotDeviceLifecycleMgmtHardwareUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtHardwareUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtHardwareUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtHardwareUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtHardwareUpdateJSONRequestBody = WritableHardwareLCMRequest + +// PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroy for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtProviderBulkDestroyJSONBody // PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtProviderBulkPartialUpdateJSONBody // PluginsNautobotDeviceLifecycleMgmtProviderCreateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtProviderCreate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtProviderCreateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtProviderCreateJSONBody +type PluginsNautobotDeviceLifecycleMgmtProviderCreateJSONRequestBody = ProviderLCMRequest // PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtProviderBulkUpdateJSONBody // PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtProviderPartialUpdateJSONRequestBody = PatchedProviderLCMRequest // PluginsNautobotDeviceLifecycleMgmtProviderUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtProviderUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtProviderUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtProviderUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtProviderUpdateJSONRequestBody = ProviderLCMRequest + +// PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroy for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkDestroyJSONBody // PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkPartialUpdateJSONBody // PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateJSONBody +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageCreateJSONRequestBody = WritableSoftwareImageLCMRequest // PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtSoftwareImageBulkUpdateJSONBody // PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtSoftwareImagePartialUpdateJSONRequestBody = PatchedWritableSoftwareImageLCMRequest // PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtSoftwareImageUpdateJSONRequestBody = WritableSoftwareImageLCMRequest + +// PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroy for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtSoftwareBulkDestroyJSONBody // PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtSoftwareBulkPartialUpdateJSONBody // PluginsNautobotDeviceLifecycleMgmtSoftwareCreateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwareCreate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtSoftwareCreateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtSoftwareCreateJSONBody +type PluginsNautobotDeviceLifecycleMgmtSoftwareCreateJSONRequestBody = WritableSoftwareLCMRequest // PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtSoftwareBulkUpdateJSONBody // PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtSoftwarePartialUpdateJSONRequestBody = PatchedWritableSoftwareLCMRequest // PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtSoftwareUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtSoftwareUpdateJSONRequestBody = WritableSoftwareLCMRequest + +// PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroy for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkDestroyJSONBody // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkPartialUpdateJSONBody // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateJSONBody +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareCreateJSONRequestBody = WritableValidatedSoftwareLCMRequest // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareBulkUpdateJSONBody // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwarePartialUpdateJSONRequestBody = PatchedWritableValidatedSoftwareLCMRequest // PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtValidatedSoftwareUpdateJSONRequestBody = WritableValidatedSoftwareLCMRequest + +// PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroy for application/json ContentType. +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkDestroyJSONBody // PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkPartialUpdateJSONBody // PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateJSONRequestBody = PluginsNautobotDeviceLifecycleMgmtVulnerabilityBulkUpdateJSONBody // PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityPartialUpdateJSONRequestBody = PatchedVulnerabilityLCMRequest // PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateJSONRequestBody defines body for PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdate for application/json ContentType. -type PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateJSONRequestBody PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateJSONBody +type PluginsNautobotDeviceLifecycleMgmtVulnerabilityUpdateJSONRequestBody = VulnerabilityLCMRequest + +// TenancyTenantGroupsBulkDestroyJSONRequestBody defines body for TenancyTenantGroupsBulkDestroy for application/json ContentType. +type TenancyTenantGroupsBulkDestroyJSONRequestBody = TenancyTenantGroupsBulkDestroyJSONBody // TenancyTenantGroupsBulkPartialUpdateJSONRequestBody defines body for TenancyTenantGroupsBulkPartialUpdate for application/json ContentType. -type TenancyTenantGroupsBulkPartialUpdateJSONRequestBody TenancyTenantGroupsBulkPartialUpdateJSONBody +type TenancyTenantGroupsBulkPartialUpdateJSONRequestBody = TenancyTenantGroupsBulkPartialUpdateJSONBody // TenancyTenantGroupsCreateJSONRequestBody defines body for TenancyTenantGroupsCreate for application/json ContentType. -type TenancyTenantGroupsCreateJSONRequestBody TenancyTenantGroupsCreateJSONBody +type TenancyTenantGroupsCreateJSONRequestBody = WritableTenantGroupRequest // TenancyTenantGroupsBulkUpdateJSONRequestBody defines body for TenancyTenantGroupsBulkUpdate for application/json ContentType. -type TenancyTenantGroupsBulkUpdateJSONRequestBody TenancyTenantGroupsBulkUpdateJSONBody +type TenancyTenantGroupsBulkUpdateJSONRequestBody = TenancyTenantGroupsBulkUpdateJSONBody // TenancyTenantGroupsPartialUpdateJSONRequestBody defines body for TenancyTenantGroupsPartialUpdate for application/json ContentType. -type TenancyTenantGroupsPartialUpdateJSONRequestBody TenancyTenantGroupsPartialUpdateJSONBody +type TenancyTenantGroupsPartialUpdateJSONRequestBody = PatchedWritableTenantGroupRequest // TenancyTenantGroupsUpdateJSONRequestBody defines body for TenancyTenantGroupsUpdate for application/json ContentType. -type TenancyTenantGroupsUpdateJSONRequestBody TenancyTenantGroupsUpdateJSONBody +type TenancyTenantGroupsUpdateJSONRequestBody = WritableTenantGroupRequest + +// TenancyTenantGroupsNotesCreateJSONRequestBody defines body for TenancyTenantGroupsNotesCreate for application/json ContentType. +type TenancyTenantGroupsNotesCreateJSONRequestBody = NoteInputRequest + +// TenancyTenantsBulkDestroyJSONRequestBody defines body for TenancyTenantsBulkDestroy for application/json ContentType. +type TenancyTenantsBulkDestroyJSONRequestBody = TenancyTenantsBulkDestroyJSONBody // TenancyTenantsBulkPartialUpdateJSONRequestBody defines body for TenancyTenantsBulkPartialUpdate for application/json ContentType. -type TenancyTenantsBulkPartialUpdateJSONRequestBody TenancyTenantsBulkPartialUpdateJSONBody +type TenancyTenantsBulkPartialUpdateJSONRequestBody = TenancyTenantsBulkPartialUpdateJSONBody // TenancyTenantsCreateJSONRequestBody defines body for TenancyTenantsCreate for application/json ContentType. -type TenancyTenantsCreateJSONRequestBody TenancyTenantsCreateJSONBody +type TenancyTenantsCreateJSONRequestBody = WritableTenantRequest // TenancyTenantsBulkUpdateJSONRequestBody defines body for TenancyTenantsBulkUpdate for application/json ContentType. -type TenancyTenantsBulkUpdateJSONRequestBody TenancyTenantsBulkUpdateJSONBody +type TenancyTenantsBulkUpdateJSONRequestBody = TenancyTenantsBulkUpdateJSONBody // TenancyTenantsPartialUpdateJSONRequestBody defines body for TenancyTenantsPartialUpdate for application/json ContentType. -type TenancyTenantsPartialUpdateJSONRequestBody TenancyTenantsPartialUpdateJSONBody +type TenancyTenantsPartialUpdateJSONRequestBody = PatchedWritableTenantRequest // TenancyTenantsUpdateJSONRequestBody defines body for TenancyTenantsUpdate for application/json ContentType. -type TenancyTenantsUpdateJSONRequestBody TenancyTenantsUpdateJSONBody +type TenancyTenantsUpdateJSONRequestBody = WritableTenantRequest + +// TenancyTenantsNotesCreateJSONRequestBody defines body for TenancyTenantsNotesCreate for application/json ContentType. +type TenancyTenantsNotesCreateJSONRequestBody = NoteInputRequest + +// UsersGroupsBulkDestroyJSONRequestBody defines body for UsersGroupsBulkDestroy for application/json ContentType. +type UsersGroupsBulkDestroyJSONRequestBody = UsersGroupsBulkDestroyJSONBody // UsersGroupsBulkPartialUpdateJSONRequestBody defines body for UsersGroupsBulkPartialUpdate for application/json ContentType. -type UsersGroupsBulkPartialUpdateJSONRequestBody UsersGroupsBulkPartialUpdateJSONBody +type UsersGroupsBulkPartialUpdateJSONRequestBody = UsersGroupsBulkPartialUpdateJSONBody // UsersGroupsCreateJSONRequestBody defines body for UsersGroupsCreate for application/json ContentType. -type UsersGroupsCreateJSONRequestBody UsersGroupsCreateJSONBody +type UsersGroupsCreateJSONRequestBody = GroupRequest // UsersGroupsBulkUpdateJSONRequestBody defines body for UsersGroupsBulkUpdate for application/json ContentType. -type UsersGroupsBulkUpdateJSONRequestBody UsersGroupsBulkUpdateJSONBody +type UsersGroupsBulkUpdateJSONRequestBody = UsersGroupsBulkUpdateJSONBody // UsersGroupsPartialUpdateJSONRequestBody defines body for UsersGroupsPartialUpdate for application/json ContentType. -type UsersGroupsPartialUpdateJSONRequestBody UsersGroupsPartialUpdateJSONBody +type UsersGroupsPartialUpdateJSONRequestBody = PatchedGroupRequest // UsersGroupsUpdateJSONRequestBody defines body for UsersGroupsUpdate for application/json ContentType. -type UsersGroupsUpdateJSONRequestBody UsersGroupsUpdateJSONBody +type UsersGroupsUpdateJSONRequestBody = GroupRequest + +// UsersPermissionsBulkDestroyJSONRequestBody defines body for UsersPermissionsBulkDestroy for application/json ContentType. +type UsersPermissionsBulkDestroyJSONRequestBody = UsersPermissionsBulkDestroyJSONBody // UsersPermissionsBulkPartialUpdateJSONRequestBody defines body for UsersPermissionsBulkPartialUpdate for application/json ContentType. -type UsersPermissionsBulkPartialUpdateJSONRequestBody UsersPermissionsBulkPartialUpdateJSONBody +type UsersPermissionsBulkPartialUpdateJSONRequestBody = UsersPermissionsBulkPartialUpdateJSONBody // UsersPermissionsCreateJSONRequestBody defines body for UsersPermissionsCreate for application/json ContentType. -type UsersPermissionsCreateJSONRequestBody UsersPermissionsCreateJSONBody +type UsersPermissionsCreateJSONRequestBody = WritableObjectPermissionRequest // UsersPermissionsBulkUpdateJSONRequestBody defines body for UsersPermissionsBulkUpdate for application/json ContentType. -type UsersPermissionsBulkUpdateJSONRequestBody UsersPermissionsBulkUpdateJSONBody +type UsersPermissionsBulkUpdateJSONRequestBody = UsersPermissionsBulkUpdateJSONBody // UsersPermissionsPartialUpdateJSONRequestBody defines body for UsersPermissionsPartialUpdate for application/json ContentType. -type UsersPermissionsPartialUpdateJSONRequestBody UsersPermissionsPartialUpdateJSONBody +type UsersPermissionsPartialUpdateJSONRequestBody = PatchedWritableObjectPermissionRequest // UsersPermissionsUpdateJSONRequestBody defines body for UsersPermissionsUpdate for application/json ContentType. -type UsersPermissionsUpdateJSONRequestBody UsersPermissionsUpdateJSONBody +type UsersPermissionsUpdateJSONRequestBody = WritableObjectPermissionRequest + +// UsersTokensBulkDestroyJSONRequestBody defines body for UsersTokensBulkDestroy for application/json ContentType. +type UsersTokensBulkDestroyJSONRequestBody = UsersTokensBulkDestroyJSONBody // UsersTokensBulkPartialUpdateJSONRequestBody defines body for UsersTokensBulkPartialUpdate for application/json ContentType. -type UsersTokensBulkPartialUpdateJSONRequestBody UsersTokensBulkPartialUpdateJSONBody +type UsersTokensBulkPartialUpdateJSONRequestBody = UsersTokensBulkPartialUpdateJSONBody // UsersTokensCreateJSONRequestBody defines body for UsersTokensCreate for application/json ContentType. -type UsersTokensCreateJSONRequestBody UsersTokensCreateJSONBody +type UsersTokensCreateJSONRequestBody = TokenRequest // UsersTokensBulkUpdateJSONRequestBody defines body for UsersTokensBulkUpdate for application/json ContentType. -type UsersTokensBulkUpdateJSONRequestBody UsersTokensBulkUpdateJSONBody +type UsersTokensBulkUpdateJSONRequestBody = UsersTokensBulkUpdateJSONBody // UsersTokensPartialUpdateJSONRequestBody defines body for UsersTokensPartialUpdate for application/json ContentType. -type UsersTokensPartialUpdateJSONRequestBody UsersTokensPartialUpdateJSONBody +type UsersTokensPartialUpdateJSONRequestBody = PatchedTokenRequest // UsersTokensUpdateJSONRequestBody defines body for UsersTokensUpdate for application/json ContentType. -type UsersTokensUpdateJSONRequestBody UsersTokensUpdateJSONBody +type UsersTokensUpdateJSONRequestBody = TokenRequest + +// UsersUsersBulkDestroyJSONRequestBody defines body for UsersUsersBulkDestroy for application/json ContentType. +type UsersUsersBulkDestroyJSONRequestBody = UsersUsersBulkDestroyJSONBody // UsersUsersBulkPartialUpdateJSONRequestBody defines body for UsersUsersBulkPartialUpdate for application/json ContentType. -type UsersUsersBulkPartialUpdateJSONRequestBody UsersUsersBulkPartialUpdateJSONBody +type UsersUsersBulkPartialUpdateJSONRequestBody = UsersUsersBulkPartialUpdateJSONBody // UsersUsersCreateJSONRequestBody defines body for UsersUsersCreate for application/json ContentType. -type UsersUsersCreateJSONRequestBody UsersUsersCreateJSONBody +type UsersUsersCreateJSONRequestBody = WritableUserRequest // UsersUsersBulkUpdateJSONRequestBody defines body for UsersUsersBulkUpdate for application/json ContentType. -type UsersUsersBulkUpdateJSONRequestBody UsersUsersBulkUpdateJSONBody +type UsersUsersBulkUpdateJSONRequestBody = UsersUsersBulkUpdateJSONBody // UsersUsersPartialUpdateJSONRequestBody defines body for UsersUsersPartialUpdate for application/json ContentType. -type UsersUsersPartialUpdateJSONRequestBody UsersUsersPartialUpdateJSONBody +type UsersUsersPartialUpdateJSONRequestBody = PatchedWritableUserRequest // UsersUsersUpdateJSONRequestBody defines body for UsersUsersUpdate for application/json ContentType. -type UsersUsersUpdateJSONRequestBody UsersUsersUpdateJSONBody +type UsersUsersUpdateJSONRequestBody = WritableUserRequest + +// VirtualizationClusterGroupsBulkDestroyJSONRequestBody defines body for VirtualizationClusterGroupsBulkDestroy for application/json ContentType. +type VirtualizationClusterGroupsBulkDestroyJSONRequestBody = VirtualizationClusterGroupsBulkDestroyJSONBody // VirtualizationClusterGroupsBulkPartialUpdateJSONRequestBody defines body for VirtualizationClusterGroupsBulkPartialUpdate for application/json ContentType. -type VirtualizationClusterGroupsBulkPartialUpdateJSONRequestBody VirtualizationClusterGroupsBulkPartialUpdateJSONBody +type VirtualizationClusterGroupsBulkPartialUpdateJSONRequestBody = VirtualizationClusterGroupsBulkPartialUpdateJSONBody // VirtualizationClusterGroupsCreateJSONRequestBody defines body for VirtualizationClusterGroupsCreate for application/json ContentType. -type VirtualizationClusterGroupsCreateJSONRequestBody VirtualizationClusterGroupsCreateJSONBody +type VirtualizationClusterGroupsCreateJSONRequestBody = ClusterGroupRequest // VirtualizationClusterGroupsBulkUpdateJSONRequestBody defines body for VirtualizationClusterGroupsBulkUpdate for application/json ContentType. -type VirtualizationClusterGroupsBulkUpdateJSONRequestBody VirtualizationClusterGroupsBulkUpdateJSONBody +type VirtualizationClusterGroupsBulkUpdateJSONRequestBody = VirtualizationClusterGroupsBulkUpdateJSONBody // VirtualizationClusterGroupsPartialUpdateJSONRequestBody defines body for VirtualizationClusterGroupsPartialUpdate for application/json ContentType. -type VirtualizationClusterGroupsPartialUpdateJSONRequestBody VirtualizationClusterGroupsPartialUpdateJSONBody +type VirtualizationClusterGroupsPartialUpdateJSONRequestBody = PatchedClusterGroupRequest // VirtualizationClusterGroupsUpdateJSONRequestBody defines body for VirtualizationClusterGroupsUpdate for application/json ContentType. -type VirtualizationClusterGroupsUpdateJSONRequestBody VirtualizationClusterGroupsUpdateJSONBody +type VirtualizationClusterGroupsUpdateJSONRequestBody = ClusterGroupRequest + +// VirtualizationClusterGroupsNotesCreateJSONRequestBody defines body for VirtualizationClusterGroupsNotesCreate for application/json ContentType. +type VirtualizationClusterGroupsNotesCreateJSONRequestBody = NoteInputRequest + +// VirtualizationClusterTypesBulkDestroyJSONRequestBody defines body for VirtualizationClusterTypesBulkDestroy for application/json ContentType. +type VirtualizationClusterTypesBulkDestroyJSONRequestBody = VirtualizationClusterTypesBulkDestroyJSONBody // VirtualizationClusterTypesBulkPartialUpdateJSONRequestBody defines body for VirtualizationClusterTypesBulkPartialUpdate for application/json ContentType. -type VirtualizationClusterTypesBulkPartialUpdateJSONRequestBody VirtualizationClusterTypesBulkPartialUpdateJSONBody +type VirtualizationClusterTypesBulkPartialUpdateJSONRequestBody = VirtualizationClusterTypesBulkPartialUpdateJSONBody // VirtualizationClusterTypesCreateJSONRequestBody defines body for VirtualizationClusterTypesCreate for application/json ContentType. -type VirtualizationClusterTypesCreateJSONRequestBody VirtualizationClusterTypesCreateJSONBody +type VirtualizationClusterTypesCreateJSONRequestBody = ClusterTypeRequest // VirtualizationClusterTypesBulkUpdateJSONRequestBody defines body for VirtualizationClusterTypesBulkUpdate for application/json ContentType. -type VirtualizationClusterTypesBulkUpdateJSONRequestBody VirtualizationClusterTypesBulkUpdateJSONBody +type VirtualizationClusterTypesBulkUpdateJSONRequestBody = VirtualizationClusterTypesBulkUpdateJSONBody // VirtualizationClusterTypesPartialUpdateJSONRequestBody defines body for VirtualizationClusterTypesPartialUpdate for application/json ContentType. -type VirtualizationClusterTypesPartialUpdateJSONRequestBody VirtualizationClusterTypesPartialUpdateJSONBody +type VirtualizationClusterTypesPartialUpdateJSONRequestBody = PatchedClusterTypeRequest // VirtualizationClusterTypesUpdateJSONRequestBody defines body for VirtualizationClusterTypesUpdate for application/json ContentType. -type VirtualizationClusterTypesUpdateJSONRequestBody VirtualizationClusterTypesUpdateJSONBody +type VirtualizationClusterTypesUpdateJSONRequestBody = ClusterTypeRequest + +// VirtualizationClusterTypesNotesCreateJSONRequestBody defines body for VirtualizationClusterTypesNotesCreate for application/json ContentType. +type VirtualizationClusterTypesNotesCreateJSONRequestBody = NoteInputRequest + +// VirtualizationClustersBulkDestroyJSONRequestBody defines body for VirtualizationClustersBulkDestroy for application/json ContentType. +type VirtualizationClustersBulkDestroyJSONRequestBody = VirtualizationClustersBulkDestroyJSONBody // VirtualizationClustersBulkPartialUpdateJSONRequestBody defines body for VirtualizationClustersBulkPartialUpdate for application/json ContentType. -type VirtualizationClustersBulkPartialUpdateJSONRequestBody VirtualizationClustersBulkPartialUpdateJSONBody +type VirtualizationClustersBulkPartialUpdateJSONRequestBody = VirtualizationClustersBulkPartialUpdateJSONBody // VirtualizationClustersCreateJSONRequestBody defines body for VirtualizationClustersCreate for application/json ContentType. -type VirtualizationClustersCreateJSONRequestBody VirtualizationClustersCreateJSONBody +type VirtualizationClustersCreateJSONRequestBody = WritableClusterRequest // VirtualizationClustersBulkUpdateJSONRequestBody defines body for VirtualizationClustersBulkUpdate for application/json ContentType. -type VirtualizationClustersBulkUpdateJSONRequestBody VirtualizationClustersBulkUpdateJSONBody +type VirtualizationClustersBulkUpdateJSONRequestBody = VirtualizationClustersBulkUpdateJSONBody // VirtualizationClustersPartialUpdateJSONRequestBody defines body for VirtualizationClustersPartialUpdate for application/json ContentType. -type VirtualizationClustersPartialUpdateJSONRequestBody VirtualizationClustersPartialUpdateJSONBody +type VirtualizationClustersPartialUpdateJSONRequestBody = PatchedWritableClusterRequest // VirtualizationClustersUpdateJSONRequestBody defines body for VirtualizationClustersUpdate for application/json ContentType. -type VirtualizationClustersUpdateJSONRequestBody VirtualizationClustersUpdateJSONBody +type VirtualizationClustersUpdateJSONRequestBody = WritableClusterRequest + +// VirtualizationClustersNotesCreateJSONRequestBody defines body for VirtualizationClustersNotesCreate for application/json ContentType. +type VirtualizationClustersNotesCreateJSONRequestBody = NoteInputRequest + +// VirtualizationInterfacesBulkDestroyJSONRequestBody defines body for VirtualizationInterfacesBulkDestroy for application/json ContentType. +type VirtualizationInterfacesBulkDestroyJSONRequestBody = VirtualizationInterfacesBulkDestroyJSONBody // VirtualizationInterfacesBulkPartialUpdateJSONRequestBody defines body for VirtualizationInterfacesBulkPartialUpdate for application/json ContentType. -type VirtualizationInterfacesBulkPartialUpdateJSONRequestBody VirtualizationInterfacesBulkPartialUpdateJSONBody +type VirtualizationInterfacesBulkPartialUpdateJSONRequestBody = VirtualizationInterfacesBulkPartialUpdateJSONBody // VirtualizationInterfacesCreateJSONRequestBody defines body for VirtualizationInterfacesCreate for application/json ContentType. -type VirtualizationInterfacesCreateJSONRequestBody VirtualizationInterfacesCreateJSONBody +type VirtualizationInterfacesCreateJSONRequestBody = WritableVMInterfaceRequest // VirtualizationInterfacesBulkUpdateJSONRequestBody defines body for VirtualizationInterfacesBulkUpdate for application/json ContentType. -type VirtualizationInterfacesBulkUpdateJSONRequestBody VirtualizationInterfacesBulkUpdateJSONBody +type VirtualizationInterfacesBulkUpdateJSONRequestBody = VirtualizationInterfacesBulkUpdateJSONBody // VirtualizationInterfacesPartialUpdateJSONRequestBody defines body for VirtualizationInterfacesPartialUpdate for application/json ContentType. -type VirtualizationInterfacesPartialUpdateJSONRequestBody VirtualizationInterfacesPartialUpdateJSONBody +type VirtualizationInterfacesPartialUpdateJSONRequestBody = PatchedWritableVMInterfaceRequest // VirtualizationInterfacesUpdateJSONRequestBody defines body for VirtualizationInterfacesUpdate for application/json ContentType. -type VirtualizationInterfacesUpdateJSONRequestBody VirtualizationInterfacesUpdateJSONBody +type VirtualizationInterfacesUpdateJSONRequestBody = WritableVMInterfaceRequest + +// VirtualizationInterfacesNotesCreateJSONRequestBody defines body for VirtualizationInterfacesNotesCreate for application/json ContentType. +type VirtualizationInterfacesNotesCreateJSONRequestBody = NoteInputRequest + +// VirtualizationVirtualMachinesBulkDestroyJSONRequestBody defines body for VirtualizationVirtualMachinesBulkDestroy for application/json ContentType. +type VirtualizationVirtualMachinesBulkDestroyJSONRequestBody = VirtualizationVirtualMachinesBulkDestroyJSONBody // VirtualizationVirtualMachinesBulkPartialUpdateJSONRequestBody defines body for VirtualizationVirtualMachinesBulkPartialUpdate for application/json ContentType. -type VirtualizationVirtualMachinesBulkPartialUpdateJSONRequestBody VirtualizationVirtualMachinesBulkPartialUpdateJSONBody +type VirtualizationVirtualMachinesBulkPartialUpdateJSONRequestBody = VirtualizationVirtualMachinesBulkPartialUpdateJSONBody // VirtualizationVirtualMachinesCreateJSONRequestBody defines body for VirtualizationVirtualMachinesCreate for application/json ContentType. -type VirtualizationVirtualMachinesCreateJSONRequestBody VirtualizationVirtualMachinesCreateJSONBody +type VirtualizationVirtualMachinesCreateJSONRequestBody = WritableVirtualMachineWithConfigContextRequest // VirtualizationVirtualMachinesBulkUpdateJSONRequestBody defines body for VirtualizationVirtualMachinesBulkUpdate for application/json ContentType. -type VirtualizationVirtualMachinesBulkUpdateJSONRequestBody VirtualizationVirtualMachinesBulkUpdateJSONBody +type VirtualizationVirtualMachinesBulkUpdateJSONRequestBody = VirtualizationVirtualMachinesBulkUpdateJSONBody // VirtualizationVirtualMachinesPartialUpdateJSONRequestBody defines body for VirtualizationVirtualMachinesPartialUpdate for application/json ContentType. -type VirtualizationVirtualMachinesPartialUpdateJSONRequestBody VirtualizationVirtualMachinesPartialUpdateJSONBody +type VirtualizationVirtualMachinesPartialUpdateJSONRequestBody = PatchedWritableVirtualMachineWithConfigContextRequest // VirtualizationVirtualMachinesUpdateJSONRequestBody defines body for VirtualizationVirtualMachinesUpdate for application/json ContentType. -type VirtualizationVirtualMachinesUpdateJSONRequestBody VirtualizationVirtualMachinesUpdateJSONBody +type VirtualizationVirtualMachinesUpdateJSONRequestBody = WritableVirtualMachineWithConfigContextRequest -// Getter for additional properties for Aggregate_CustomFields. Returns the specified +// VirtualizationVirtualMachinesNotesCreateJSONRequestBody defines body for VirtualizationVirtualMachinesNotesCreate for application/json ContentType. +type VirtualizationVirtualMachinesNotesCreateJSONRequestBody = NoteInputRequest + +// Getter for additional properties for BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a Aggregate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Aggregate_CustomFields -func (a *Aggregate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item +func (a *BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Aggregate_CustomFields to handle AdditionalProperties -func (a *Aggregate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -28006,11 +67361,32 @@ func (a *Aggregate_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Aggregate_CustomFields to handle AdditionalProperties -func (a Aggregate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -28020,38 +67396,62 @@ func (a Aggregate_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for CVELCM_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a CVELCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for CVELCM_CustomFields -func (a *CVELCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item +func (a *BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for CVELCM_CustomFields to handle AdditionalProperties -func (a *CVELCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -28059,11 +67459,32 @@ func (a *CVELCM_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for CVELCM_CustomFields to handle AdditionalProperties -func (a CVELCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -28073,38 +67494,62 @@ func (a CVELCM_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Cable_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a Cable_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Cable_CustomFields -func (a *Cable_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item +func (a *BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Cable_CustomFields to handle AdditionalProperties -func (a *Cable_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -28112,11 +67557,32 @@ func (a *Cable_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Cable_CustomFields to handle AdditionalProperties -func (a Cable_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -28126,38 +67592,62 @@ func (a Cable_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Cable_TerminationA. Returns the specified +// Getter for additional properties for BulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a Cable_TerminationA) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Cable_TerminationA -func (a *Cable_TerminationA) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Cable_TerminationA to handle AdditionalProperties -func (a *Cable_TerminationA) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -28165,11 +67655,32 @@ func (a *Cable_TerminationA) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Cable_TerminationA to handle AdditionalProperties -func (a Cable_TerminationA) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -28179,38 +67690,62 @@ func (a Cable_TerminationA) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Cable_TerminationB. Returns the specified +// Getter for additional properties for BulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a Cable_TerminationB) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Cable_TerminationB -func (a *Cable_TerminationB) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Cable_TerminationB to handle AdditionalProperties -func (a *Cable_TerminationB) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -28218,11 +67753,32 @@ func (a *Cable_TerminationB) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Cable_TerminationB to handle AdditionalProperties -func (a Cable_TerminationB) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -28232,38 +67788,62 @@ func (a Cable_TerminationB) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Circuit_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a Circuit_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Circuit_CustomFields -func (a *Circuit_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item +func (a *BulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Circuit_CustomFields to handle AdditionalProperties -func (a *Circuit_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -28271,11 +67851,32 @@ func (a *Circuit_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Circuit_CustomFields to handle AdditionalProperties -func (a Circuit_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -28285,38 +67886,62 @@ func (a Circuit_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for CircuitTermination_CablePeer. Returns the specified +// Getter for additional properties for BulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a CircuitTermination_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for CircuitTermination_CablePeer -func (a *CircuitTermination_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for CircuitTermination_CablePeer to handle AdditionalProperties -func (a *CircuitTermination_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -28324,11 +67949,32 @@ func (a *CircuitTermination_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for CircuitTermination_CablePeer to handle AdditionalProperties -func (a CircuitTermination_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -28338,38 +67984,62 @@ func (a CircuitTermination_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for CircuitTermination_ConnectedEndpoint. Returns the specified +// Getter for additional properties for BulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a CircuitTermination_ConnectedEndpoint) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for CircuitTermination_ConnectedEndpoint -func (a *CircuitTermination_ConnectedEndpoint) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for CircuitTermination_ConnectedEndpoint to handle AdditionalProperties -func (a *CircuitTermination_ConnectedEndpoint) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -28377,11 +68047,32 @@ func (a *CircuitTermination_ConnectedEndpoint) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for CircuitTermination_ConnectedEndpoint to handle AdditionalProperties -func (a CircuitTermination_ConnectedEndpoint) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -28391,38 +68082,62 @@ func (a CircuitTermination_ConnectedEndpoint) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for CircuitType_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableAddressObjectRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a CircuitType_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableAddressObjectRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for CircuitType_CustomFields -func (a *CircuitType_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableAddressObjectRequest_Relationships_Source_Objects_Item +func (a *BulkWritableAddressObjectRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for CircuitType_CustomFields to handle AdditionalProperties -func (a *CircuitType_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableAddressObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableAddressObjectRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -28430,11 +68145,32 @@ func (a *CircuitType_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for CircuitType_CustomFields to handle AdditionalProperties -func (a CircuitType_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableAddressObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableAddressObjectRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -28444,38 +68180,62 @@ func (a CircuitType_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Cluster_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableAggregateRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a Cluster_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableAggregateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Cluster_CustomFields -func (a *Cluster_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableAggregateRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableAggregateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Cluster_CustomFields to handle AdditionalProperties -func (a *Cluster_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableAggregateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableAggregateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -28483,11 +68243,32 @@ func (a *Cluster_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Cluster_CustomFields to handle AdditionalProperties -func (a Cluster_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableAggregateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableAggregateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -28497,38 +68278,62 @@ func (a Cluster_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ClusterGroup_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableAggregateRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a ClusterGroup_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableAggregateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ClusterGroup_CustomFields -func (a *ClusterGroup_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableAggregateRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableAggregateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ClusterGroup_CustomFields to handle AdditionalProperties -func (a *ClusterGroup_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableAggregateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableAggregateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -28536,11 +68341,32 @@ func (a *ClusterGroup_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ClusterGroup_CustomFields to handle AdditionalProperties -func (a ClusterGroup_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableAggregateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableAggregateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -28550,38 +68376,62 @@ func (a ClusterGroup_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ClusterType_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableAggregateRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a ClusterType_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableAggregateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ClusterType_CustomFields -func (a *ClusterType_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableAggregateRequest_Relationships_Source_Objects_Item +func (a *BulkWritableAggregateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ClusterType_CustomFields to handle AdditionalProperties -func (a *ClusterType_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableAggregateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableAggregateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -28589,11 +68439,32 @@ func (a *ClusterType_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ClusterType_CustomFields to handle AdditionalProperties -func (a ClusterType_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableAggregateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableAggregateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -28603,38 +68474,62 @@ func (a ClusterType_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ComplianceFeature_CustomFieldData. Returns the specified +// Getter for additional properties for BulkWritableCVELCMRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a ComplianceFeature_CustomFieldData) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableCVELCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ComplianceFeature_CustomFieldData -func (a *ComplianceFeature_CustomFieldData) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableCVELCMRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableCVELCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ComplianceFeature_CustomFieldData to handle AdditionalProperties -func (a *ComplianceFeature_CustomFieldData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableCVELCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableCVELCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -28642,11 +68537,32 @@ func (a *ComplianceFeature_CustomFieldData) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ComplianceFeature_CustomFieldData to handle AdditionalProperties -func (a ComplianceFeature_CustomFieldData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableCVELCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableCVELCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -28656,38 +68572,62 @@ func (a ComplianceFeature_CustomFieldData) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ComplianceFeature_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableCVELCMRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a ComplianceFeature_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableCVELCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ComplianceFeature_ComputedFields -func (a *ComplianceFeature_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableCVELCMRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableCVELCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ComplianceFeature_ComputedFields to handle AdditionalProperties -func (a *ComplianceFeature_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableCVELCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableCVELCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -28695,11 +68635,32 @@ func (a *ComplianceFeature_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ComplianceFeature_ComputedFields to handle AdditionalProperties -func (a ComplianceFeature_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableCVELCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableCVELCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -28709,38 +68670,62 @@ func (a ComplianceFeature_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ComplianceFeature_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableCVELCMRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a ComplianceFeature_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableCVELCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ComplianceFeature_CustomFields -func (a *ComplianceFeature_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableCVELCMRequest_Relationships_Source_Objects_Item +func (a *BulkWritableCVELCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ComplianceFeature_CustomFields to handle AdditionalProperties -func (a *ComplianceFeature_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableCVELCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableCVELCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -28748,11 +68733,32 @@ func (a *ComplianceFeature_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ComplianceFeature_CustomFields to handle AdditionalProperties -func (a ComplianceFeature_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableCVELCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableCVELCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -28762,38 +68768,62 @@ func (a ComplianceFeature_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ComplianceRule_CustomFieldData. Returns the specified +// Getter for additional properties for BulkWritableCableRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a ComplianceRule_CustomFieldData) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableCableRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ComplianceRule_CustomFieldData -func (a *ComplianceRule_CustomFieldData) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableCableRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableCableRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ComplianceRule_CustomFieldData to handle AdditionalProperties -func (a *ComplianceRule_CustomFieldData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableCableRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableCableRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -28801,11 +68831,32 @@ func (a *ComplianceRule_CustomFieldData) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ComplianceRule_CustomFieldData to handle AdditionalProperties -func (a ComplianceRule_CustomFieldData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableCableRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableCableRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -28815,38 +68866,62 @@ func (a ComplianceRule_CustomFieldData) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ComplianceRule_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableCableRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a ComplianceRule_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableCableRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ComplianceRule_ComputedFields -func (a *ComplianceRule_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableCableRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableCableRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ComplianceRule_ComputedFields to handle AdditionalProperties -func (a *ComplianceRule_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableCableRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableCableRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -28854,11 +68929,32 @@ func (a *ComplianceRule_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ComplianceRule_ComputedFields to handle AdditionalProperties -func (a ComplianceRule_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableCableRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableCableRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -28868,38 +68964,62 @@ func (a ComplianceRule_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ComplianceRule_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableCableRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a ComplianceRule_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableCableRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ComplianceRule_CustomFields -func (a *ComplianceRule_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableCableRequest_Relationships_Source_Objects_Item +func (a *BulkWritableCableRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ComplianceRule_CustomFields to handle AdditionalProperties -func (a *ComplianceRule_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableCableRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableCableRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -28907,11 +69027,32 @@ func (a *ComplianceRule_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ComplianceRule_CustomFields to handle AdditionalProperties -func (a ComplianceRule_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableCableRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableCableRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -28921,38 +69062,62 @@ func (a ComplianceRule_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConfigCompliance_CustomFieldData. Returns the specified +// Getter for additional properties for BulkWritableCircuitRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a ConfigCompliance_CustomFieldData) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableCircuitRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConfigCompliance_CustomFieldData -func (a *ConfigCompliance_CustomFieldData) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableCircuitRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableCircuitRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConfigCompliance_CustomFieldData to handle AdditionalProperties -func (a *ConfigCompliance_CustomFieldData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableCircuitRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableCircuitRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -28960,11 +69125,32 @@ func (a *ConfigCompliance_CustomFieldData) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConfigCompliance_CustomFieldData to handle AdditionalProperties -func (a ConfigCompliance_CustomFieldData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableCircuitRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableCircuitRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -28974,38 +69160,62 @@ func (a ConfigCompliance_CustomFieldData) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConfigCompliance_Actual. Returns the specified +// Getter for additional properties for BulkWritableCircuitRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a ConfigCompliance_Actual) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableCircuitRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConfigCompliance_Actual -func (a *ConfigCompliance_Actual) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableCircuitRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableCircuitRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConfigCompliance_Actual to handle AdditionalProperties -func (a *ConfigCompliance_Actual) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableCircuitRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableCircuitRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -29013,11 +69223,32 @@ func (a *ConfigCompliance_Actual) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConfigCompliance_Actual to handle AdditionalProperties -func (a ConfigCompliance_Actual) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableCircuitRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableCircuitRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -29027,38 +69258,62 @@ func (a ConfigCompliance_Actual) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConfigCompliance_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableCircuitRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a ConfigCompliance_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableCircuitRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConfigCompliance_ComputedFields -func (a *ConfigCompliance_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableCircuitRequest_Relationships_Source_Objects_Item +func (a *BulkWritableCircuitRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConfigCompliance_ComputedFields to handle AdditionalProperties -func (a *ConfigCompliance_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableCircuitRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableCircuitRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -29066,11 +69321,32 @@ func (a *ConfigCompliance_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConfigCompliance_ComputedFields to handle AdditionalProperties -func (a ConfigCompliance_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableCircuitRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableCircuitRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -29080,50 +69356,95 @@ func (a ConfigCompliance_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConfigCompliance_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a ConfigCompliance_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConfigCompliance_CustomFields -func (a *ConfigCompliance_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConfigCompliance_CustomFields to handle AdditionalProperties -func (a *ConfigCompliance_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if len(object) != 0 { - a.AdditionalProperties = make(map[string]interface{}) - for fieldName, fieldBuf := range object { - var fieldVal interface{} - err := json.Unmarshal(fieldBuf, &fieldVal) - if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) - } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } a.AdditionalProperties[fieldName] = fieldVal } } return nil } -// Override default JSON handling for ConfigCompliance_CustomFields to handle AdditionalProperties -func (a ConfigCompliance_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -29133,38 +69454,62 @@ func (a ConfigCompliance_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConfigCompliance_Extra. Returns the specified +// Getter for additional properties for BulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a ConfigCompliance_Extra) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConfigCompliance_Extra -func (a *ConfigCompliance_Extra) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConfigCompliance_Extra to handle AdditionalProperties -func (a *ConfigCompliance_Extra) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -29172,11 +69517,32 @@ func (a *ConfigCompliance_Extra) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConfigCompliance_Extra to handle AdditionalProperties -func (a ConfigCompliance_Extra) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -29186,38 +69552,62 @@ func (a ConfigCompliance_Extra) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConfigCompliance_Intended. Returns the specified +// Getter for additional properties for BulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a ConfigCompliance_Intended) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConfigCompliance_Intended -func (a *ConfigCompliance_Intended) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item +func (a *BulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConfigCompliance_Intended to handle AdditionalProperties -func (a *ConfigCompliance_Intended) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -29225,11 +69615,32 @@ func (a *ConfigCompliance_Intended) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConfigCompliance_Intended to handle AdditionalProperties -func (a ConfigCompliance_Intended) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -29239,38 +69650,62 @@ func (a ConfigCompliance_Intended) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConfigCompliance_Missing. Returns the specified +// Getter for additional properties for BulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a ConfigCompliance_Missing) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConfigCompliance_Missing -func (a *ConfigCompliance_Missing) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConfigCompliance_Missing to handle AdditionalProperties -func (a *ConfigCompliance_Missing) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -29278,11 +69713,32 @@ func (a *ConfigCompliance_Missing) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConfigCompliance_Missing to handle AdditionalProperties -func (a ConfigCompliance_Missing) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -29292,38 +69748,62 @@ func (a ConfigCompliance_Missing) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConfigContext_Data. Returns the specified +// Getter for additional properties for BulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a ConfigContext_Data) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConfigContext_Data -func (a *ConfigContext_Data) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConfigContext_Data to handle AdditionalProperties -func (a *ConfigContext_Data) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -29331,11 +69811,32 @@ func (a *ConfigContext_Data) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConfigContext_Data to handle AdditionalProperties -func (a ConfigContext_Data) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -29345,38 +69846,62 @@ func (a ConfigContext_Data) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConfigContext_Owner. Returns the specified +// Getter for additional properties for BulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a ConfigContext_Owner) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConfigContext_Owner -func (a *ConfigContext_Owner) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item +func (a *BulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConfigContext_Owner to handle AdditionalProperties -func (a *ConfigContext_Owner) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -29384,11 +69909,32 @@ func (a *ConfigContext_Owner) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConfigContext_Owner to handle AdditionalProperties -func (a ConfigContext_Owner) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -29398,38 +69944,62 @@ func (a ConfigContext_Owner) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConfigContextSchema_DataSchema. Returns the specified +// Getter for additional properties for BulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a ConfigContextSchema_DataSchema) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConfigContextSchema_DataSchema -func (a *ConfigContextSchema_DataSchema) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConfigContextSchema_DataSchema to handle AdditionalProperties -func (a *ConfigContextSchema_DataSchema) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -29437,11 +70007,32 @@ func (a *ConfigContextSchema_DataSchema) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConfigContextSchema_DataSchema to handle AdditionalProperties -func (a ConfigContextSchema_DataSchema) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -29451,38 +70042,62 @@ func (a ConfigContextSchema_DataSchema) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConfigContextSchema_Owner. Returns the specified +// Getter for additional properties for BulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a ConfigContextSchema_Owner) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConfigContextSchema_Owner -func (a *ConfigContextSchema_Owner) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConfigContextSchema_Owner to handle AdditionalProperties -func (a *ConfigContextSchema_Owner) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -29490,11 +70105,32 @@ func (a *ConfigContextSchema_Owner) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConfigContextSchema_Owner to handle AdditionalProperties -func (a ConfigContextSchema_Owner) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -29504,38 +70140,62 @@ func (a ConfigContextSchema_Owner) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConfigRemove_CustomFieldData. Returns the specified +// Getter for additional properties for BulkWritableClusterGroupRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a ConfigRemove_CustomFieldData) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableClusterGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConfigRemove_CustomFieldData -func (a *ConfigRemove_CustomFieldData) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableClusterGroupRequest_Relationships_Source_Objects_Item +func (a *BulkWritableClusterGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConfigRemove_CustomFieldData to handle AdditionalProperties -func (a *ConfigRemove_CustomFieldData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableClusterGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableClusterGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -29543,11 +70203,32 @@ func (a *ConfigRemove_CustomFieldData) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConfigRemove_CustomFieldData to handle AdditionalProperties -func (a ConfigRemove_CustomFieldData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableClusterGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableClusterGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -29557,38 +70238,62 @@ func (a ConfigRemove_CustomFieldData) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConfigRemove_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableClusterRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a ConfigRemove_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableClusterRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConfigRemove_ComputedFields -func (a *ConfigRemove_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableClusterRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableClusterRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConfigRemove_ComputedFields to handle AdditionalProperties -func (a *ConfigRemove_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableClusterRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableClusterRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -29596,11 +70301,32 @@ func (a *ConfigRemove_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConfigRemove_ComputedFields to handle AdditionalProperties -func (a ConfigRemove_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableClusterRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableClusterRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -29610,38 +70336,62 @@ func (a ConfigRemove_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConfigRemove_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableClusterRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a ConfigRemove_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableClusterRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConfigRemove_CustomFields -func (a *ConfigRemove_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableClusterRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableClusterRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConfigRemove_CustomFields to handle AdditionalProperties -func (a *ConfigRemove_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableClusterRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableClusterRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -29649,11 +70399,32 @@ func (a *ConfigRemove_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConfigRemove_CustomFields to handle AdditionalProperties -func (a ConfigRemove_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableClusterRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableClusterRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -29663,38 +70434,62 @@ func (a ConfigRemove_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConfigReplace_CustomFieldData. Returns the specified +// Getter for additional properties for BulkWritableClusterRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a ConfigReplace_CustomFieldData) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableClusterRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConfigReplace_CustomFieldData -func (a *ConfigReplace_CustomFieldData) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableClusterRequest_Relationships_Source_Objects_Item +func (a *BulkWritableClusterRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConfigReplace_CustomFieldData to handle AdditionalProperties -func (a *ConfigReplace_CustomFieldData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableClusterRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableClusterRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -29702,11 +70497,32 @@ func (a *ConfigReplace_CustomFieldData) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConfigReplace_CustomFieldData to handle AdditionalProperties -func (a ConfigReplace_CustomFieldData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableClusterRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableClusterRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -29716,38 +70532,62 @@ func (a ConfigReplace_CustomFieldData) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConfigReplace_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a ConfigReplace_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConfigReplace_ComputedFields -func (a *ConfigReplace_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConfigReplace_ComputedFields to handle AdditionalProperties -func (a *ConfigReplace_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -29755,11 +70595,32 @@ func (a *ConfigReplace_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConfigReplace_ComputedFields to handle AdditionalProperties -func (a ConfigReplace_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -29769,38 +70630,62 @@ func (a ConfigReplace_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConfigReplace_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a ConfigReplace_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConfigReplace_CustomFields -func (a *ConfigReplace_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConfigReplace_CustomFields to handle AdditionalProperties -func (a *ConfigReplace_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -29808,11 +70693,32 @@ func (a *ConfigReplace_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConfigReplace_CustomFields to handle AdditionalProperties -func (a ConfigReplace_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -29822,38 +70728,62 @@ func (a ConfigReplace_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConsolePort_CablePeer. Returns the specified +// Getter for additional properties for BulkWritableClusterTypeRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a ConsolePort_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableClusterTypeRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConsolePort_CablePeer -func (a *ConsolePort_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableClusterTypeRequest_Relationships_Source_Objects_Item +func (a *BulkWritableClusterTypeRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConsolePort_CablePeer to handle AdditionalProperties -func (a *ConsolePort_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableClusterTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableClusterTypeRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -29861,11 +70791,32 @@ func (a *ConsolePort_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConsolePort_CablePeer to handle AdditionalProperties -func (a ConsolePort_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableClusterTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableClusterTypeRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -29875,38 +70826,62 @@ func (a ConsolePort_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConsolePort_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a ConsolePort_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConsolePort_ComputedFields -func (a *ConsolePort_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConsolePort_ComputedFields to handle AdditionalProperties -func (a *ConsolePort_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -29914,11 +70889,32 @@ func (a *ConsolePort_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConsolePort_ComputedFields to handle AdditionalProperties -func (a ConsolePort_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -29928,38 +70924,62 @@ func (a ConsolePort_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConsolePort_ConnectedEndpoint. Returns the specified +// Getter for additional properties for BulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a ConsolePort_ConnectedEndpoint) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConsolePort_ConnectedEndpoint -func (a *ConsolePort_ConnectedEndpoint) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConsolePort_ConnectedEndpoint to handle AdditionalProperties -func (a *ConsolePort_ConnectedEndpoint) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -29967,11 +70987,32 @@ func (a *ConsolePort_ConnectedEndpoint) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConsolePort_ConnectedEndpoint to handle AdditionalProperties -func (a ConsolePort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -29981,38 +71022,62 @@ func (a ConsolePort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConsolePort_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a ConsolePort_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConsolePort_CustomFields -func (a *ConsolePort_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item +func (a *BulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConsolePort_CustomFields to handle AdditionalProperties -func (a *ConsolePort_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -30020,11 +71085,32 @@ func (a *ConsolePort_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConsolePort_CustomFields to handle AdditionalProperties -func (a ConsolePort_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -30034,38 +71120,62 @@ func (a ConsolePort_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConsolePortTemplate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableConsolePortRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a ConsolePortTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableConsolePortRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConsolePortTemplate_CustomFields -func (a *ConsolePortTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableConsolePortRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableConsolePortRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConsolePortTemplate_CustomFields to handle AdditionalProperties -func (a *ConsolePortTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableConsolePortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableConsolePortRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -30073,11 +71183,32 @@ func (a *ConsolePortTemplate_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConsolePortTemplate_CustomFields to handle AdditionalProperties -func (a ConsolePortTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableConsolePortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableConsolePortRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -30087,38 +71218,62 @@ func (a ConsolePortTemplate_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConsoleServerPort_CablePeer. Returns the specified +// Getter for additional properties for BulkWritableConsolePortRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a ConsoleServerPort_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableConsolePortRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConsoleServerPort_CablePeer -func (a *ConsoleServerPort_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableConsolePortRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableConsolePortRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConsoleServerPort_CablePeer to handle AdditionalProperties -func (a *ConsoleServerPort_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableConsolePortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableConsolePortRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -30126,11 +71281,32 @@ func (a *ConsoleServerPort_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConsoleServerPort_CablePeer to handle AdditionalProperties -func (a ConsoleServerPort_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableConsolePortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableConsolePortRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -30140,38 +71316,62 @@ func (a ConsoleServerPort_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConsoleServerPort_ConnectedEndpoint. Returns the specified +// Getter for additional properties for BulkWritableConsolePortRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a ConsoleServerPort_ConnectedEndpoint) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableConsolePortRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConsoleServerPort_ConnectedEndpoint -func (a *ConsoleServerPort_ConnectedEndpoint) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableConsolePortRequest_Relationships_Source_Objects_Item +func (a *BulkWritableConsolePortRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConsoleServerPort_ConnectedEndpoint to handle AdditionalProperties -func (a *ConsoleServerPort_ConnectedEndpoint) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableConsolePortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableConsolePortRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -30179,11 +71379,32 @@ func (a *ConsoleServerPort_ConnectedEndpoint) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConsoleServerPort_ConnectedEndpoint to handle AdditionalProperties -func (a ConsoleServerPort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableConsolePortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableConsolePortRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -30193,38 +71414,62 @@ func (a ConsoleServerPort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConsoleServerPort_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a ConsoleServerPort_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConsoleServerPort_CustomFields -func (a *ConsoleServerPort_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConsoleServerPort_CustomFields to handle AdditionalProperties -func (a *ConsoleServerPort_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if len(object) != 0 { + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -30232,11 +71477,32 @@ func (a *ConsoleServerPort_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConsoleServerPort_CustomFields to handle AdditionalProperties -func (a ConsoleServerPort_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -30246,38 +71512,62 @@ func (a ConsoleServerPort_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ConsoleServerPortTemplate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a ConsoleServerPortTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ConsoleServerPortTemplate_CustomFields -func (a *ConsoleServerPortTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ConsoleServerPortTemplate_CustomFields to handle AdditionalProperties -func (a *ConsoleServerPortTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -30285,11 +71575,32 @@ func (a *ConsoleServerPortTemplate_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ConsoleServerPortTemplate_CustomFields to handle AdditionalProperties -func (a ConsoleServerPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -30299,38 +71610,62 @@ func (a ConsoleServerPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ContactLCM_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a ContactLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ContactLCM_CustomFields -func (a *ContactLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item +func (a *BulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ContactLCM_CustomFields to handle AdditionalProperties -func (a *ContactLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -30338,11 +71673,32 @@ func (a *ContactLCM_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ContactLCM_CustomFields to handle AdditionalProperties -func (a ContactLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -30352,38 +71708,62 @@ func (a ContactLCM_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ContractLCM_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a ContractLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ContractLCM_CustomFields -func (a *ContractLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ContractLCM_CustomFields to handle AdditionalProperties -func (a *ContractLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -30391,11 +71771,32 @@ func (a *ContractLCM_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ContractLCM_CustomFields to handle AdditionalProperties -func (a ContractLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -30405,38 +71806,62 @@ func (a ContractLCM_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for CustomField_Default. Returns the specified +// Getter for additional properties for BulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a CustomField_Default) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for CustomField_Default -func (a *CustomField_Default) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for CustomField_Default to handle AdditionalProperties -func (a *CustomField_Default) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -30444,11 +71869,32 @@ func (a *CustomField_Default) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for CustomField_Default to handle AdditionalProperties -func (a CustomField_Default) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -30458,38 +71904,62 @@ func (a CustomField_Default) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Device_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a Device_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Device_ComputedFields -func (a *Device_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item +func (a *BulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Device_ComputedFields to handle AdditionalProperties -func (a *Device_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -30497,11 +71967,32 @@ func (a *Device_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Device_ComputedFields to handle AdditionalProperties -func (a Device_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -30511,38 +72002,62 @@ func (a Device_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Device_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a Device_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Device_CustomFields -func (a *Device_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Device_CustomFields to handle AdditionalProperties -func (a *Device_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -30550,11 +72065,32 @@ func (a *Device_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Device_CustomFields to handle AdditionalProperties -func (a Device_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -30564,38 +72100,62 @@ func (a Device_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Device_LocalContextData. Returns the specified +// Getter for additional properties for BulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a Device_LocalContextData) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Device_LocalContextData -func (a *Device_LocalContextData) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Device_LocalContextData to handle AdditionalProperties -func (a *Device_LocalContextData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -30603,11 +72163,32 @@ func (a *Device_LocalContextData) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Device_LocalContextData to handle AdditionalProperties -func (a Device_LocalContextData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -30617,38 +72198,62 @@ func (a Device_LocalContextData) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for DeviceBay_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a DeviceBay_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for DeviceBay_CustomFields -func (a *DeviceBay_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item +func (a *BulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for DeviceBay_CustomFields to handle AdditionalProperties -func (a *DeviceBay_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -30656,11 +72261,32 @@ func (a *DeviceBay_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for DeviceBay_CustomFields to handle AdditionalProperties -func (a DeviceBay_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -30670,38 +72296,62 @@ func (a DeviceBay_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for DeviceBayTemplate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableContactLCMRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a DeviceBayTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableContactLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for DeviceBayTemplate_CustomFields -func (a *DeviceBayTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableContactLCMRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableContactLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for DeviceBayTemplate_CustomFields to handle AdditionalProperties -func (a *DeviceBayTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableContactLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableContactLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -30709,11 +72359,32 @@ func (a *DeviceBayTemplate_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for DeviceBayTemplate_CustomFields to handle AdditionalProperties -func (a DeviceBayTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableContactLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableContactLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -30723,38 +72394,62 @@ func (a DeviceBayTemplate_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for DeviceNAPALM_Method. Returns the specified +// Getter for additional properties for BulkWritableContactLCMRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a DeviceNAPALM_Method) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableContactLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for DeviceNAPALM_Method -func (a *DeviceNAPALM_Method) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableContactLCMRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableContactLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for DeviceNAPALM_Method to handle AdditionalProperties -func (a *DeviceNAPALM_Method) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableContactLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableContactLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -30762,11 +72457,32 @@ func (a *DeviceNAPALM_Method) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for DeviceNAPALM_Method to handle AdditionalProperties -func (a DeviceNAPALM_Method) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableContactLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableContactLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -30776,38 +72492,62 @@ func (a DeviceNAPALM_Method) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for DeviceRole_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableContactLCMRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a DeviceRole_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableContactLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for DeviceRole_CustomFields -func (a *DeviceRole_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableContactLCMRequest_Relationships_Source_Objects_Item +func (a *BulkWritableContactLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for DeviceRole_CustomFields to handle AdditionalProperties -func (a *DeviceRole_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableContactLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableContactLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -30815,11 +72555,32 @@ func (a *DeviceRole_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for DeviceRole_CustomFields to handle AdditionalProperties -func (a DeviceRole_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableContactLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableContactLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -30829,38 +72590,62 @@ func (a DeviceRole_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for DeviceType_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableContractLCMRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a DeviceType_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableContractLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for DeviceType_CustomFields -func (a *DeviceType_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableContractLCMRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableContractLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for DeviceType_CustomFields to handle AdditionalProperties -func (a *DeviceType_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableContractLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableContractLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -30868,11 +72653,32 @@ func (a *DeviceType_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for DeviceType_CustomFields to handle AdditionalProperties -func (a DeviceType_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableContractLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableContractLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -30882,38 +72688,62 @@ func (a DeviceType_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for DeviceWithConfigContext_ConfigContext. Returns the specified +// Getter for additional properties for BulkWritableContractLCMRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a DeviceWithConfigContext_ConfigContext) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableContractLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for DeviceWithConfigContext_ConfigContext -func (a *DeviceWithConfigContext_ConfigContext) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableContractLCMRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableContractLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for DeviceWithConfigContext_ConfigContext to handle AdditionalProperties -func (a *DeviceWithConfigContext_ConfigContext) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableContractLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableContractLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -30921,11 +72751,32 @@ func (a *DeviceWithConfigContext_ConfigContext) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for DeviceWithConfigContext_ConfigContext to handle AdditionalProperties -func (a DeviceWithConfigContext_ConfigContext) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableContractLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableContractLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -30935,38 +72786,62 @@ func (a DeviceWithConfigContext_ConfigContext) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for DeviceWithConfigContext_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableContractLCMRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a DeviceWithConfigContext_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableContractLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for DeviceWithConfigContext_CustomFields -func (a *DeviceWithConfigContext_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableContractLCMRequest_Relationships_Source_Objects_Item +func (a *BulkWritableContractLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for DeviceWithConfigContext_CustomFields to handle AdditionalProperties -func (a *DeviceWithConfigContext_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableContractLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableContractLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -30974,11 +72849,32 @@ func (a *DeviceWithConfigContext_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for DeviceWithConfigContext_CustomFields to handle AdditionalProperties -func (a DeviceWithConfigContext_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableContractLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableContractLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -30988,38 +72884,62 @@ func (a DeviceWithConfigContext_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for DeviceWithConfigContext_LocalContextData. Returns the specified +// Getter for additional properties for BulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a DeviceWithConfigContext_LocalContextData) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for DeviceWithConfigContext_LocalContextData -func (a *DeviceWithConfigContext_LocalContextData) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for DeviceWithConfigContext_LocalContextData to handle AdditionalProperties -func (a *DeviceWithConfigContext_LocalContextData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -31027,11 +72947,32 @@ func (a *DeviceWithConfigContext_LocalContextData) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for DeviceWithConfigContext_LocalContextData to handle AdditionalProperties -func (a DeviceWithConfigContext_LocalContextData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -31041,38 +72982,62 @@ func (a DeviceWithConfigContext_LocalContextData) MarshalJSON() ([]byte, error) return json.Marshal(object) } -// Getter for additional properties for DynamicGroup_Filter. Returns the specified +// Getter for additional properties for BulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a DynamicGroup_Filter) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for DynamicGroup_Filter -func (a *DynamicGroup_Filter) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for DynamicGroup_Filter to handle AdditionalProperties -func (a *DynamicGroup_Filter) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -31080,11 +73045,32 @@ func (a *DynamicGroup_Filter) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for DynamicGroup_Filter to handle AdditionalProperties -func (a DynamicGroup_Filter) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -31094,38 +73080,62 @@ func (a DynamicGroup_Filter) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ExportTemplate_Owner. Returns the specified +// Getter for additional properties for BulkWritableDeviceBayRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a ExportTemplate_Owner) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableDeviceBayRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ExportTemplate_Owner -func (a *ExportTemplate_Owner) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableDeviceBayRequest_Relationships_Source_Objects_Item +func (a *BulkWritableDeviceBayRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ExportTemplate_Owner to handle AdditionalProperties -func (a *ExportTemplate_Owner) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableDeviceBayRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableDeviceBayRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -31133,11 +73143,32 @@ func (a *ExportTemplate_Owner) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ExportTemplate_Owner to handle AdditionalProperties -func (a ExportTemplate_Owner) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableDeviceBayRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableDeviceBayRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -31147,38 +73178,62 @@ func (a ExportTemplate_Owner) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for FrontPort_CablePeer. Returns the specified +// Getter for additional properties for BulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a FrontPort_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for FrontPort_CablePeer -func (a *FrontPort_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for FrontPort_CablePeer to handle AdditionalProperties -func (a *FrontPort_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -31186,11 +73241,32 @@ func (a *FrontPort_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for FrontPort_CablePeer to handle AdditionalProperties -func (a FrontPort_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -31200,38 +73276,62 @@ func (a FrontPort_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for FrontPort_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a FrontPort_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for FrontPort_CustomFields -func (a *FrontPort_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for FrontPort_CustomFields to handle AdditionalProperties -func (a *FrontPort_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -31239,11 +73339,32 @@ func (a *FrontPort_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for FrontPort_CustomFields to handle AdditionalProperties -func (a FrontPort_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -31253,38 +73374,62 @@ func (a FrontPort_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for FrontPortTemplate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a FrontPortTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for FrontPortTemplate_CustomFields -func (a *FrontPortTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item +func (a *BulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for FrontPortTemplate_CustomFields to handle AdditionalProperties -func (a *FrontPortTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -31292,11 +73437,32 @@ func (a *FrontPortTemplate_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for FrontPortTemplate_CustomFields to handle AdditionalProperties -func (a FrontPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -31306,50 +73472,95 @@ func (a FrontPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for GitRepository_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a GitRepository_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for GitRepository_CustomFields -func (a *GitRepository_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for GitRepository_CustomFields to handle AdditionalProperties -func (a *GitRepository_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if len(object) != 0 { - a.AdditionalProperties = make(map[string]interface{}) - for fieldName, fieldBuf := range object { - var fieldVal interface{} - err := json.Unmarshal(fieldBuf, &fieldVal) - if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) - } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } a.AdditionalProperties[fieldName] = fieldVal } } return nil } -// Override default JSON handling for GitRepository_CustomFields to handle AdditionalProperties -func (a GitRepository_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -31359,38 +73570,62 @@ func (a GitRepository_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for GoldenConfig_CustomFieldData. Returns the specified +// Getter for additional properties for BulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a GoldenConfig_CustomFieldData) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for GoldenConfig_CustomFieldData -func (a *GoldenConfig_CustomFieldData) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for GoldenConfig_CustomFieldData to handle AdditionalProperties -func (a *GoldenConfig_CustomFieldData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -31398,11 +73633,32 @@ func (a *GoldenConfig_CustomFieldData) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for GoldenConfig_CustomFieldData to handle AdditionalProperties -func (a GoldenConfig_CustomFieldData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -31412,38 +73668,62 @@ func (a GoldenConfig_CustomFieldData) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for GoldenConfig_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a GoldenConfig_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for GoldenConfig_ComputedFields -func (a *GoldenConfig_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item +func (a *BulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for GoldenConfig_ComputedFields to handle AdditionalProperties -func (a *GoldenConfig_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -31451,11 +73731,32 @@ func (a *GoldenConfig_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for GoldenConfig_ComputedFields to handle AdditionalProperties -func (a GoldenConfig_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -31465,38 +73766,62 @@ func (a GoldenConfig_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for GoldenConfig_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a GoldenConfig_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for GoldenConfig_CustomFields -func (a *GoldenConfig_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for GoldenConfig_CustomFields to handle AdditionalProperties -func (a *GoldenConfig_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -31504,11 +73829,32 @@ func (a *GoldenConfig_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for GoldenConfig_CustomFields to handle AdditionalProperties -func (a GoldenConfig_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -31518,38 +73864,62 @@ func (a GoldenConfig_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for GoldenConfigSetting_CustomFieldData. Returns the specified +// Getter for additional properties for BulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a GoldenConfigSetting_CustomFieldData) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for GoldenConfigSetting_CustomFieldData -func (a *GoldenConfigSetting_CustomFieldData) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for GoldenConfigSetting_CustomFieldData to handle AdditionalProperties -func (a *GoldenConfigSetting_CustomFieldData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -31557,11 +73927,32 @@ func (a *GoldenConfigSetting_CustomFieldData) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for GoldenConfigSetting_CustomFieldData to handle AdditionalProperties -func (a GoldenConfigSetting_CustomFieldData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -31571,38 +73962,62 @@ func (a GoldenConfigSetting_CustomFieldData) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for GoldenConfigSetting_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a GoldenConfigSetting_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for GoldenConfigSetting_ComputedFields -func (a *GoldenConfigSetting_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item +func (a *BulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for GoldenConfigSetting_ComputedFields to handle AdditionalProperties -func (a *GoldenConfigSetting_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -31610,11 +74025,32 @@ func (a *GoldenConfigSetting_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for GoldenConfigSetting_ComputedFields to handle AdditionalProperties -func (a GoldenConfigSetting_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -31624,38 +74060,62 @@ func (a GoldenConfigSetting_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for GoldenConfigSetting_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a GoldenConfigSetting_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for GoldenConfigSetting_CustomFields -func (a *GoldenConfigSetting_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for GoldenConfigSetting_CustomFields to handle AdditionalProperties -func (a *GoldenConfigSetting_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -31663,11 +74123,32 @@ func (a *GoldenConfigSetting_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for GoldenConfigSetting_CustomFields to handle AdditionalProperties -func (a GoldenConfigSetting_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -31677,38 +74158,62 @@ func (a GoldenConfigSetting_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for GoldenConfigSetting_Scope. Returns the specified +// Getter for additional properties for BulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a GoldenConfigSetting_Scope) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for GoldenConfigSetting_Scope -func (a *GoldenConfigSetting_Scope) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for GoldenConfigSetting_Scope to handle AdditionalProperties -func (a *GoldenConfigSetting_Scope) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -31716,11 +74221,32 @@ func (a *GoldenConfigSetting_Scope) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for GoldenConfigSetting_Scope to handle AdditionalProperties -func (a GoldenConfigSetting_Scope) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -31730,38 +74256,62 @@ func (a GoldenConfigSetting_Scope) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for GraphQLAPI_Variables. Returns the specified +// Getter for additional properties for BulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a GraphQLAPI_Variables) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for GraphQLAPI_Variables -func (a *GraphQLAPI_Variables) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item +func (a *BulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for GraphQLAPI_Variables to handle AdditionalProperties -func (a *GraphQLAPI_Variables) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -31769,11 +74319,32 @@ func (a *GraphQLAPI_Variables) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for GraphQLAPI_Variables to handle AdditionalProperties -func (a GraphQLAPI_Variables) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -31783,38 +74354,62 @@ func (a GraphQLAPI_Variables) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for GraphQLQuery_Variables. Returns the specified +// Getter for additional properties for BulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a GraphQLQuery_Variables) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for GraphQLQuery_Variables -func (a *GraphQLQuery_Variables) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for GraphQLQuery_Variables to handle AdditionalProperties -func (a *GraphQLQuery_Variables) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -31822,11 +74417,32 @@ func (a *GraphQLQuery_Variables) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for GraphQLQuery_Variables to handle AdditionalProperties -func (a GraphQLQuery_Variables) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -31836,38 +74452,62 @@ func (a GraphQLQuery_Variables) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for GraphQLQueryInput_Variables. Returns the specified +// Getter for additional properties for BulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a GraphQLQueryInput_Variables) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for GraphQLQueryInput_Variables -func (a *GraphQLQueryInput_Variables) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for GraphQLQueryInput_Variables to handle AdditionalProperties -func (a *GraphQLQueryInput_Variables) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -31875,11 +74515,32 @@ func (a *GraphQLQueryInput_Variables) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for GraphQLQueryInput_Variables to handle AdditionalProperties -func (a GraphQLQueryInput_Variables) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -31889,38 +74550,62 @@ func (a GraphQLQueryInput_Variables) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for GraphQLQueryOutput_Data. Returns the specified +// Getter for additional properties for BulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a GraphQLQueryOutput_Data) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for GraphQLQueryOutput_Data -func (a *GraphQLQueryOutput_Data) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item +func (a *BulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for GraphQLQueryOutput_Data to handle AdditionalProperties -func (a *GraphQLQueryOutput_Data) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -31928,11 +74613,32 @@ func (a *GraphQLQueryOutput_Data) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for GraphQLQueryOutput_Data to handle AdditionalProperties -func (a GraphQLQueryOutput_Data) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -31942,38 +74648,62 @@ func (a GraphQLQueryOutput_Data) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for HardwareLCM_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a HardwareLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for HardwareLCM_CustomFields -func (a *HardwareLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for HardwareLCM_CustomFields to handle AdditionalProperties -func (a *HardwareLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -31981,11 +74711,32 @@ func (a *HardwareLCM_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for HardwareLCM_CustomFields to handle AdditionalProperties -func (a HardwareLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -31995,38 +74746,62 @@ func (a HardwareLCM_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for IPAddress_AssignedObject. Returns the specified +// Getter for additional properties for BulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a IPAddress_AssignedObject) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for IPAddress_AssignedObject -func (a *IPAddress_AssignedObject) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for IPAddress_AssignedObject to handle AdditionalProperties -func (a *IPAddress_AssignedObject) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -32034,11 +74809,32 @@ func (a *IPAddress_AssignedObject) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for IPAddress_AssignedObject to handle AdditionalProperties -func (a IPAddress_AssignedObject) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -32048,38 +74844,62 @@ func (a IPAddress_AssignedObject) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for IPAddress_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a IPAddress_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for IPAddress_CustomFields -func (a *IPAddress_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item +func (a *BulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for IPAddress_CustomFields to handle AdditionalProperties -func (a *IPAddress_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -32087,11 +74907,32 @@ func (a *IPAddress_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for IPAddress_CustomFields to handle AdditionalProperties -func (a IPAddress_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -32101,38 +74942,62 @@ func (a IPAddress_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ImageAttachment_Parent. Returns the specified +// Getter for additional properties for BulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a ImageAttachment_Parent) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ImageAttachment_Parent -func (a *ImageAttachment_Parent) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ImageAttachment_Parent to handle AdditionalProperties -func (a *ImageAttachment_Parent) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -32140,11 +75005,32 @@ func (a *ImageAttachment_Parent) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ImageAttachment_Parent to handle AdditionalProperties -func (a ImageAttachment_Parent) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -32154,38 +75040,62 @@ func (a ImageAttachment_Parent) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Interface_CablePeer. Returns the specified +// Getter for additional properties for BulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a Interface_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Interface_CablePeer -func (a *Interface_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Interface_CablePeer to handle AdditionalProperties -func (a *Interface_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -32193,11 +75103,32 @@ func (a *Interface_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Interface_CablePeer to handle AdditionalProperties -func (a Interface_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -32207,38 +75138,62 @@ func (a Interface_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Interface_ConnectedEndpoint. Returns the specified +// Getter for additional properties for BulkWritableExportTemplateRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a Interface_ConnectedEndpoint) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableExportTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Interface_ConnectedEndpoint -func (a *Interface_ConnectedEndpoint) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableExportTemplateRequest_Relationships_Source_Objects_Item +func (a *BulkWritableExportTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Interface_ConnectedEndpoint to handle AdditionalProperties -func (a *Interface_ConnectedEndpoint) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableExportTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableExportTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -32246,11 +75201,32 @@ func (a *Interface_ConnectedEndpoint) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Interface_ConnectedEndpoint to handle AdditionalProperties -func (a Interface_ConnectedEndpoint) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableExportTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableExportTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -32260,38 +75236,62 @@ func (a Interface_ConnectedEndpoint) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Interface_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableFQDNRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a Interface_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableFQDNRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Interface_CustomFields -func (a *Interface_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableFQDNRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableFQDNRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Interface_CustomFields to handle AdditionalProperties -func (a *Interface_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableFQDNRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableFQDNRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -32299,11 +75299,32 @@ func (a *Interface_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Interface_CustomFields to handle AdditionalProperties -func (a Interface_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableFQDNRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableFQDNRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -32313,38 +75334,62 @@ func (a Interface_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for InterfaceTemplate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableFQDNRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a InterfaceTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableFQDNRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for InterfaceTemplate_CustomFields -func (a *InterfaceTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableFQDNRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableFQDNRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for InterfaceTemplate_CustomFields to handle AdditionalProperties -func (a *InterfaceTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableFQDNRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableFQDNRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -32352,11 +75397,32 @@ func (a *InterfaceTemplate_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for InterfaceTemplate_CustomFields to handle AdditionalProperties -func (a InterfaceTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableFQDNRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableFQDNRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -32366,38 +75432,62 @@ func (a InterfaceTemplate_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for InventoryItem_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableFQDNRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a InventoryItem_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableFQDNRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for InventoryItem_CustomFields -func (a *InventoryItem_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableFQDNRequest_Relationships_Source_Objects_Item +func (a *BulkWritableFQDNRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for InventoryItem_CustomFields to handle AdditionalProperties -func (a *InventoryItem_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableFQDNRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableFQDNRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -32405,11 +75495,32 @@ func (a *InventoryItem_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for InventoryItem_CustomFields to handle AdditionalProperties -func (a InventoryItem_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableFQDNRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableFQDNRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -32419,38 +75530,62 @@ func (a InventoryItem_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Job_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableFrontPortRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a Job_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableFrontPortRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Job_CustomFields -func (a *Job_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableFrontPortRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableFrontPortRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Job_CustomFields to handle AdditionalProperties -func (a *Job_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableFrontPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableFrontPortRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if len(object) != 0 { + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -32458,11 +75593,32 @@ func (a *Job_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Job_CustomFields to handle AdditionalProperties -func (a Job_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableFrontPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableFrontPortRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -32472,38 +75628,62 @@ func (a Job_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for JobClassDetail_Vars. Returns the specified +// Getter for additional properties for BulkWritableFrontPortRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a JobClassDetail_Vars) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableFrontPortRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for JobClassDetail_Vars -func (a *JobClassDetail_Vars) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableFrontPortRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableFrontPortRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for JobClassDetail_Vars to handle AdditionalProperties -func (a *JobClassDetail_Vars) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableFrontPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableFrontPortRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -32511,11 +75691,32 @@ func (a *JobClassDetail_Vars) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for JobClassDetail_Vars to handle AdditionalProperties -func (a JobClassDetail_Vars) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableFrontPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableFrontPortRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -32525,38 +75726,62 @@ func (a JobClassDetail_Vars) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for JobInput_Data. Returns the specified +// Getter for additional properties for BulkWritableFrontPortRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a JobInput_Data) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableFrontPortRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for JobInput_Data -func (a *JobInput_Data) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableFrontPortRequest_Relationships_Source_Objects_Item +func (a *BulkWritableFrontPortRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for JobInput_Data to handle AdditionalProperties -func (a *JobInput_Data) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableFrontPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableFrontPortRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -32564,11 +75789,32 @@ func (a *JobInput_Data) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for JobInput_Data to handle AdditionalProperties -func (a JobInput_Data) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableFrontPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableFrontPortRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -32578,38 +75824,62 @@ func (a JobInput_Data) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for JobResult_Data. Returns the specified +// Getter for additional properties for BulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a JobResult_Data) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for JobResult_Data -func (a *JobResult_Data) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for JobResult_Data to handle AdditionalProperties -func (a *JobResult_Data) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -32617,11 +75887,32 @@ func (a *JobResult_Data) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for JobResult_Data to handle AdditionalProperties -func (a JobResult_Data) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -32631,38 +75922,62 @@ func (a JobResult_Data) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for JobVariable_Choices. Returns the specified +// Getter for additional properties for BulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a JobVariable_Choices) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for JobVariable_Choices -func (a *JobVariable_Choices) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for JobVariable_Choices to handle AdditionalProperties -func (a *JobVariable_Choices) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -32670,11 +75985,32 @@ func (a *JobVariable_Choices) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for JobVariable_Choices to handle AdditionalProperties -func (a JobVariable_Choices) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -32684,38 +76020,62 @@ func (a JobVariable_Choices) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for JobVariable_Default. Returns the specified +// Getter for additional properties for BulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a JobVariable_Default) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for JobVariable_Default -func (a *JobVariable_Default) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item +func (a *BulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for JobVariable_Default to handle AdditionalProperties -func (a *JobVariable_Default) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -32723,11 +76083,32 @@ func (a *JobVariable_Default) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for JobVariable_Default to handle AdditionalProperties -func (a JobVariable_Default) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -32737,38 +76118,62 @@ func (a JobVariable_Default) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Manufacturer_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a Manufacturer_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Manufacturer_CustomFields -func (a *Manufacturer_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Manufacturer_CustomFields to handle AdditionalProperties -func (a *Manufacturer_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -32776,11 +76181,32 @@ func (a *Manufacturer_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Manufacturer_CustomFields to handle AdditionalProperties -func (a Manufacturer_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -32790,38 +76216,62 @@ func (a Manufacturer_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ObjectChange_ChangedObject. Returns the specified +// Getter for additional properties for BulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a ObjectChange_ChangedObject) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ObjectChange_ChangedObject -func (a *ObjectChange_ChangedObject) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ObjectChange_ChangedObject to handle AdditionalProperties -func (a *ObjectChange_ChangedObject) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -32829,11 +76279,32 @@ func (a *ObjectChange_ChangedObject) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ObjectChange_ChangedObject to handle AdditionalProperties -func (a ObjectChange_ChangedObject) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -32843,38 +76314,62 @@ func (a ObjectChange_ChangedObject) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ObjectChange_ObjectData. Returns the specified +// Getter for additional properties for BulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a ObjectChange_ObjectData) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ObjectChange_ObjectData -func (a *ObjectChange_ObjectData) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item +func (a *BulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ObjectChange_ObjectData to handle AdditionalProperties -func (a *ObjectChange_ObjectData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -32882,11 +76377,32 @@ func (a *ObjectChange_ObjectData) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ObjectChange_ObjectData to handle AdditionalProperties -func (a ObjectChange_ObjectData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -32896,38 +76412,62 @@ func (a ObjectChange_ObjectData) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ObjectPermission_Actions. Returns the specified +// Getter for additional properties for BulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a ObjectPermission_Actions) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ObjectPermission_Actions -func (a *ObjectPermission_Actions) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ObjectPermission_Actions to handle AdditionalProperties -func (a *ObjectPermission_Actions) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -32935,11 +76475,32 @@ func (a *ObjectPermission_Actions) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ObjectPermission_Actions to handle AdditionalProperties -func (a ObjectPermission_Actions) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -32949,38 +76510,62 @@ func (a ObjectPermission_Actions) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ObjectPermission_Constraints. Returns the specified +// Getter for additional properties for BulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a ObjectPermission_Constraints) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ObjectPermission_Constraints -func (a *ObjectPermission_Constraints) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ObjectPermission_Constraints to handle AdditionalProperties -func (a *ObjectPermission_Constraints) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -32988,11 +76573,32 @@ func (a *ObjectPermission_Constraints) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ObjectPermission_Constraints to handle AdditionalProperties -func (a ObjectPermission_Constraints) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -33002,38 +76608,62 @@ func (a ObjectPermission_Constraints) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedCVELCM_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedCVELCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedCVELCM_CustomFields -func (a *PatchedCVELCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item +func (a *BulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedCVELCM_CustomFields to handle AdditionalProperties -func (a *PatchedCVELCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -33041,11 +76671,32 @@ func (a *PatchedCVELCM_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedCVELCM_CustomFields to handle AdditionalProperties -func (a PatchedCVELCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -33055,38 +76706,62 @@ func (a PatchedCVELCM_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedCircuitType_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableIPAddressRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedCircuitType_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableIPAddressRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedCircuitType_CustomFields -func (a *PatchedCircuitType_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableIPAddressRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableIPAddressRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedCircuitType_CustomFields to handle AdditionalProperties -func (a *PatchedCircuitType_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableIPAddressRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableIPAddressRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -33094,11 +76769,32 @@ func (a *PatchedCircuitType_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedCircuitType_CustomFields to handle AdditionalProperties -func (a PatchedCircuitType_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableIPAddressRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableIPAddressRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -33108,38 +76804,62 @@ func (a PatchedCircuitType_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedClusterGroup_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableIPAddressRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedClusterGroup_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableIPAddressRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedClusterGroup_CustomFields -func (a *PatchedClusterGroup_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableIPAddressRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableIPAddressRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedClusterGroup_CustomFields to handle AdditionalProperties -func (a *PatchedClusterGroup_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableIPAddressRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableIPAddressRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -33147,11 +76867,32 @@ func (a *PatchedClusterGroup_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedClusterGroup_CustomFields to handle AdditionalProperties -func (a PatchedClusterGroup_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableIPAddressRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableIPAddressRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -33161,38 +76902,62 @@ func (a PatchedClusterGroup_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedClusterType_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableIPAddressRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedClusterType_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableIPAddressRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedClusterType_CustomFields -func (a *PatchedClusterType_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableIPAddressRequest_Relationships_Source_Objects_Item +func (a *BulkWritableIPAddressRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedClusterType_CustomFields to handle AdditionalProperties -func (a *PatchedClusterType_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableIPAddressRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableIPAddressRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -33200,11 +76965,32 @@ func (a *PatchedClusterType_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedClusterType_CustomFields to handle AdditionalProperties -func (a PatchedClusterType_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableIPAddressRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableIPAddressRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -33214,38 +77000,62 @@ func (a PatchedClusterType_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedComplianceFeature_CustomFieldData. Returns the specified +// Getter for additional properties for BulkWritableIPRangeRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedComplianceFeature_CustomFieldData) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableIPRangeRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedComplianceFeature_CustomFieldData -func (a *PatchedComplianceFeature_CustomFieldData) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableIPRangeRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableIPRangeRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedComplianceFeature_CustomFieldData to handle AdditionalProperties -func (a *PatchedComplianceFeature_CustomFieldData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableIPRangeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableIPRangeRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -33253,11 +77063,32 @@ func (a *PatchedComplianceFeature_CustomFieldData) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedComplianceFeature_CustomFieldData to handle AdditionalProperties -func (a PatchedComplianceFeature_CustomFieldData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableIPRangeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableIPRangeRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -33267,38 +77098,62 @@ func (a PatchedComplianceFeature_CustomFieldData) MarshalJSON() ([]byte, error) return json.Marshal(object) } -// Getter for additional properties for PatchedComplianceFeature_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableIPRangeRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedComplianceFeature_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableIPRangeRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedComplianceFeature_ComputedFields -func (a *PatchedComplianceFeature_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableIPRangeRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableIPRangeRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedComplianceFeature_ComputedFields to handle AdditionalProperties -func (a *PatchedComplianceFeature_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableIPRangeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableIPRangeRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -33306,11 +77161,32 @@ func (a *PatchedComplianceFeature_ComputedFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedComplianceFeature_ComputedFields to handle AdditionalProperties -func (a PatchedComplianceFeature_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableIPRangeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableIPRangeRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -33320,38 +77196,62 @@ func (a PatchedComplianceFeature_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedComplianceFeature_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableIPRangeRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedComplianceFeature_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableIPRangeRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedComplianceFeature_CustomFields -func (a *PatchedComplianceFeature_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableIPRangeRequest_Relationships_Source_Objects_Item +func (a *BulkWritableIPRangeRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedComplianceFeature_CustomFields to handle AdditionalProperties -func (a *PatchedComplianceFeature_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableIPRangeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableIPRangeRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -33359,11 +77259,32 @@ func (a *PatchedComplianceFeature_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedComplianceFeature_CustomFields to handle AdditionalProperties -func (a PatchedComplianceFeature_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableIPRangeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableIPRangeRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -33373,38 +77294,62 @@ func (a PatchedComplianceFeature_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedComplianceRule_CustomFieldData. Returns the specified +// Getter for additional properties for BulkWritableInterfaceRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedComplianceRule_CustomFieldData) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableInterfaceRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedComplianceRule_CustomFieldData -func (a *PatchedComplianceRule_CustomFieldData) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableInterfaceRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableInterfaceRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedComplianceRule_CustomFieldData to handle AdditionalProperties -func (a *PatchedComplianceRule_CustomFieldData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableInterfaceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableInterfaceRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -33412,11 +77357,32 @@ func (a *PatchedComplianceRule_CustomFieldData) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedComplianceRule_CustomFieldData to handle AdditionalProperties -func (a PatchedComplianceRule_CustomFieldData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableInterfaceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableInterfaceRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -33426,38 +77392,62 @@ func (a PatchedComplianceRule_CustomFieldData) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedComplianceRule_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableInterfaceRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedComplianceRule_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableInterfaceRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedComplianceRule_ComputedFields -func (a *PatchedComplianceRule_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableInterfaceRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableInterfaceRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedComplianceRule_ComputedFields to handle AdditionalProperties -func (a *PatchedComplianceRule_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableInterfaceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableInterfaceRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -33465,11 +77455,32 @@ func (a *PatchedComplianceRule_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedComplianceRule_ComputedFields to handle AdditionalProperties -func (a PatchedComplianceRule_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableInterfaceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableInterfaceRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -33479,38 +77490,62 @@ func (a PatchedComplianceRule_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedComplianceRule_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableInterfaceRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedComplianceRule_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableInterfaceRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedComplianceRule_CustomFields -func (a *PatchedComplianceRule_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableInterfaceRequest_Relationships_Source_Objects_Item +func (a *BulkWritableInterfaceRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedComplianceRule_CustomFields to handle AdditionalProperties -func (a *PatchedComplianceRule_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableInterfaceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableInterfaceRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -33518,11 +77553,32 @@ func (a *PatchedComplianceRule_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedComplianceRule_CustomFields to handle AdditionalProperties -func (a PatchedComplianceRule_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableInterfaceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableInterfaceRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -33532,50 +77588,95 @@ func (a PatchedComplianceRule_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedConfigCompliance_CustomFieldData. Returns the specified +// Getter for additional properties for BulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedConfigCompliance_CustomFieldData) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedConfigCompliance_CustomFieldData -func (a *PatchedConfigCompliance_CustomFieldData) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedConfigCompliance_CustomFieldData to handle AdditionalProperties -func (a *PatchedConfigCompliance_CustomFieldData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if len(object) != 0 { - a.AdditionalProperties = make(map[string]interface{}) - for fieldName, fieldBuf := range object { - var fieldVal interface{} - err := json.Unmarshal(fieldBuf, &fieldVal) - if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) - } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } a.AdditionalProperties[fieldName] = fieldVal } } return nil } -// Override default JSON handling for PatchedConfigCompliance_CustomFieldData to handle AdditionalProperties -func (a PatchedConfigCompliance_CustomFieldData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -33585,38 +77686,62 @@ func (a PatchedConfigCompliance_CustomFieldData) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedConfigCompliance_Actual. Returns the specified +// Getter for additional properties for BulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedConfigCompliance_Actual) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedConfigCompliance_Actual -func (a *PatchedConfigCompliance_Actual) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedConfigCompliance_Actual to handle AdditionalProperties -func (a *PatchedConfigCompliance_Actual) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -33624,11 +77749,32 @@ func (a *PatchedConfigCompliance_Actual) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedConfigCompliance_Actual to handle AdditionalProperties -func (a PatchedConfigCompliance_Actual) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -33638,38 +77784,62 @@ func (a PatchedConfigCompliance_Actual) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedConfigCompliance_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedConfigCompliance_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedConfigCompliance_ComputedFields -func (a *PatchedConfigCompliance_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item +func (a *BulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedConfigCompliance_ComputedFields to handle AdditionalProperties -func (a *PatchedConfigCompliance_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -33677,11 +77847,32 @@ func (a *PatchedConfigCompliance_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedConfigCompliance_ComputedFields to handle AdditionalProperties -func (a PatchedConfigCompliance_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -33691,38 +77882,62 @@ func (a PatchedConfigCompliance_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedConfigCompliance_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedConfigCompliance_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedConfigCompliance_CustomFields -func (a *PatchedConfigCompliance_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedConfigCompliance_CustomFields to handle AdditionalProperties -func (a *PatchedConfigCompliance_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -33730,11 +77945,32 @@ func (a *PatchedConfigCompliance_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedConfigCompliance_CustomFields to handle AdditionalProperties -func (a PatchedConfigCompliance_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -33744,38 +77980,62 @@ func (a PatchedConfigCompliance_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedConfigCompliance_Extra. Returns the specified +// Getter for additional properties for BulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedConfigCompliance_Extra) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedConfigCompliance_Extra -func (a *PatchedConfigCompliance_Extra) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedConfigCompliance_Extra to handle AdditionalProperties -func (a *PatchedConfigCompliance_Extra) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -33783,11 +78043,32 @@ func (a *PatchedConfigCompliance_Extra) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedConfigCompliance_Extra to handle AdditionalProperties -func (a PatchedConfigCompliance_Extra) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -33797,38 +78078,62 @@ func (a PatchedConfigCompliance_Extra) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedConfigCompliance_Intended. Returns the specified +// Getter for additional properties for BulkWritableInventoryItemRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedConfigCompliance_Intended) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableInventoryItemRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedConfigCompliance_Intended -func (a *PatchedConfigCompliance_Intended) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableInventoryItemRequest_Relationships_Source_Objects_Item +func (a *BulkWritableInventoryItemRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedConfigCompliance_Intended to handle AdditionalProperties -func (a *PatchedConfigCompliance_Intended) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableInventoryItemRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableInventoryItemRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -33836,11 +78141,32 @@ func (a *PatchedConfigCompliance_Intended) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedConfigCompliance_Intended to handle AdditionalProperties -func (a PatchedConfigCompliance_Intended) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableInventoryItemRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableInventoryItemRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -33850,38 +78176,62 @@ func (a PatchedConfigCompliance_Intended) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedConfigCompliance_Missing. Returns the specified +// Getter for additional properties for BulkWritableJobHookRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedConfigCompliance_Missing) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableJobHookRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedConfigCompliance_Missing -func (a *PatchedConfigCompliance_Missing) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableJobHookRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableJobHookRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedConfigCompliance_Missing to handle AdditionalProperties -func (a *PatchedConfigCompliance_Missing) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableJobHookRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableJobHookRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -33889,11 +78239,32 @@ func (a *PatchedConfigCompliance_Missing) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedConfigCompliance_Missing to handle AdditionalProperties -func (a PatchedConfigCompliance_Missing) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableJobHookRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableJobHookRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -33903,38 +78274,62 @@ func (a PatchedConfigCompliance_Missing) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedConfigContextSchema_DataSchema. Returns the specified +// Getter for additional properties for BulkWritableJobHookRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedConfigContextSchema_DataSchema) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableJobHookRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedConfigContextSchema_DataSchema -func (a *PatchedConfigContextSchema_DataSchema) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableJobHookRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableJobHookRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedConfigContextSchema_DataSchema to handle AdditionalProperties -func (a *PatchedConfigContextSchema_DataSchema) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableJobHookRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableJobHookRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -33942,11 +78337,32 @@ func (a *PatchedConfigContextSchema_DataSchema) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedConfigContextSchema_DataSchema to handle AdditionalProperties -func (a PatchedConfigContextSchema_DataSchema) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableJobHookRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableJobHookRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -33956,38 +78372,62 @@ func (a PatchedConfigContextSchema_DataSchema) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedConfigContextSchema_Owner. Returns the specified +// Getter for additional properties for BulkWritableJobHookRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedConfigContextSchema_Owner) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableJobHookRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedConfigContextSchema_Owner -func (a *PatchedConfigContextSchema_Owner) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableJobHookRequest_Relationships_Source_Objects_Item +func (a *BulkWritableJobHookRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedConfigContextSchema_Owner to handle AdditionalProperties -func (a *PatchedConfigContextSchema_Owner) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableJobHookRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableJobHookRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -33995,11 +78435,32 @@ func (a *PatchedConfigContextSchema_Owner) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedConfigContextSchema_Owner to handle AdditionalProperties -func (a PatchedConfigContextSchema_Owner) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableJobHookRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableJobHookRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -34009,38 +78470,62 @@ func (a PatchedConfigContextSchema_Owner) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedConfigRemove_CustomFieldData. Returns the specified +// Getter for additional properties for BulkWritableJobRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedConfigRemove_CustomFieldData) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableJobRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedConfigRemove_CustomFieldData -func (a *PatchedConfigRemove_CustomFieldData) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableJobRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableJobRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedConfigRemove_CustomFieldData to handle AdditionalProperties -func (a *PatchedConfigRemove_CustomFieldData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableJobRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableJobRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -34048,11 +78533,32 @@ func (a *PatchedConfigRemove_CustomFieldData) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedConfigRemove_CustomFieldData to handle AdditionalProperties -func (a PatchedConfigRemove_CustomFieldData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableJobRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableJobRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -34062,38 +78568,62 @@ func (a PatchedConfigRemove_CustomFieldData) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedConfigRemove_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableJobRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedConfigRemove_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableJobRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedConfigRemove_ComputedFields -func (a *PatchedConfigRemove_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableJobRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableJobRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedConfigRemove_ComputedFields to handle AdditionalProperties -func (a *PatchedConfigRemove_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableJobRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableJobRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -34101,11 +78631,32 @@ func (a *PatchedConfigRemove_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedConfigRemove_ComputedFields to handle AdditionalProperties -func (a PatchedConfigRemove_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableJobRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableJobRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -34115,38 +78666,62 @@ func (a PatchedConfigRemove_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedConfigRemove_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableJobRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedConfigRemove_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableJobRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedConfigRemove_CustomFields -func (a *PatchedConfigRemove_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableJobRequest_Relationships_Source_Objects_Item +func (a *BulkWritableJobRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedConfigRemove_CustomFields to handle AdditionalProperties -func (a *PatchedConfigRemove_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableJobRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableJobRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -34154,11 +78729,32 @@ func (a *PatchedConfigRemove_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedConfigRemove_CustomFields to handle AdditionalProperties -func (a PatchedConfigRemove_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableJobRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableJobRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -34168,38 +78764,62 @@ func (a PatchedConfigRemove_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedConfigReplace_CustomFieldData. Returns the specified +// Getter for additional properties for BulkWritableLocationRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedConfigReplace_CustomFieldData) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableLocationRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedConfigReplace_CustomFieldData -func (a *PatchedConfigReplace_CustomFieldData) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableLocationRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableLocationRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedConfigReplace_CustomFieldData to handle AdditionalProperties -func (a *PatchedConfigReplace_CustomFieldData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableLocationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableLocationRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -34207,11 +78827,32 @@ func (a *PatchedConfigReplace_CustomFieldData) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedConfigReplace_CustomFieldData to handle AdditionalProperties -func (a PatchedConfigReplace_CustomFieldData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableLocationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableLocationRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -34221,38 +78862,62 @@ func (a PatchedConfigReplace_CustomFieldData) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedConfigReplace_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableLocationRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedConfigReplace_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableLocationRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedConfigReplace_ComputedFields -func (a *PatchedConfigReplace_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableLocationRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableLocationRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedConfigReplace_ComputedFields to handle AdditionalProperties -func (a *PatchedConfigReplace_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableLocationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableLocationRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -34260,11 +78925,32 @@ func (a *PatchedConfigReplace_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedConfigReplace_ComputedFields to handle AdditionalProperties -func (a PatchedConfigReplace_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableLocationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableLocationRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -34274,38 +78960,62 @@ func (a PatchedConfigReplace_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedConfigReplace_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableLocationRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedConfigReplace_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableLocationRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedConfigReplace_CustomFields -func (a *PatchedConfigReplace_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableLocationRequest_Relationships_Source_Objects_Item +func (a *BulkWritableLocationRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedConfigReplace_CustomFields to handle AdditionalProperties -func (a *PatchedConfigReplace_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableLocationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableLocationRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -34313,11 +79023,32 @@ func (a *PatchedConfigReplace_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedConfigReplace_CustomFields to handle AdditionalProperties -func (a PatchedConfigReplace_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableLocationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableLocationRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -34327,38 +79058,62 @@ func (a PatchedConfigReplace_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedDeviceRole_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedDeviceRole_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedDeviceRole_CustomFields -func (a *PatchedDeviceRole_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedDeviceRole_CustomFields to handle AdditionalProperties -func (a *PatchedDeviceRole_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -34366,11 +79121,32 @@ func (a *PatchedDeviceRole_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedDeviceRole_CustomFields to handle AdditionalProperties -func (a PatchedDeviceRole_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -34380,38 +79156,62 @@ func (a PatchedDeviceRole_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedDynamicGroup_Filter. Returns the specified +// Getter for additional properties for BulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedDynamicGroup_Filter) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedDynamicGroup_Filter -func (a *PatchedDynamicGroup_Filter) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedDynamicGroup_Filter to handle AdditionalProperties -func (a *PatchedDynamicGroup_Filter) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -34419,11 +79219,32 @@ func (a *PatchedDynamicGroup_Filter) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedDynamicGroup_Filter to handle AdditionalProperties -func (a PatchedDynamicGroup_Filter) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -34433,38 +79254,62 @@ func (a PatchedDynamicGroup_Filter) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedExportTemplate_Owner. Returns the specified +// Getter for additional properties for BulkWritableLocationTypeRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedExportTemplate_Owner) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableLocationTypeRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedExportTemplate_Owner -func (a *PatchedExportTemplate_Owner) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableLocationTypeRequest_Relationships_Source_Objects_Item +func (a *BulkWritableLocationTypeRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedExportTemplate_Owner to handle AdditionalProperties -func (a *PatchedExportTemplate_Owner) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableLocationTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableLocationTypeRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -34472,11 +79317,32 @@ func (a *PatchedExportTemplate_Owner) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedExportTemplate_Owner to handle AdditionalProperties -func (a PatchedExportTemplate_Owner) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableLocationTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableLocationTypeRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -34486,38 +79352,62 @@ func (a PatchedExportTemplate_Owner) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedGoldenConfig_CustomFieldData. Returns the specified +// Getter for additional properties for BulkWritableManufacturerRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedGoldenConfig_CustomFieldData) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableManufacturerRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedGoldenConfig_CustomFieldData -func (a *PatchedGoldenConfig_CustomFieldData) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableManufacturerRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableManufacturerRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedGoldenConfig_CustomFieldData to handle AdditionalProperties -func (a *PatchedGoldenConfig_CustomFieldData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableManufacturerRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableManufacturerRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -34525,11 +79415,32 @@ func (a *PatchedGoldenConfig_CustomFieldData) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedGoldenConfig_CustomFieldData to handle AdditionalProperties -func (a PatchedGoldenConfig_CustomFieldData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableManufacturerRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableManufacturerRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -34539,38 +79450,62 @@ func (a PatchedGoldenConfig_CustomFieldData) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedGoldenConfig_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableManufacturerRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedGoldenConfig_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableManufacturerRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedGoldenConfig_ComputedFields -func (a *PatchedGoldenConfig_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableManufacturerRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableManufacturerRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedGoldenConfig_ComputedFields to handle AdditionalProperties -func (a *PatchedGoldenConfig_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableManufacturerRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableManufacturerRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -34578,11 +79513,32 @@ func (a *PatchedGoldenConfig_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedGoldenConfig_ComputedFields to handle AdditionalProperties -func (a PatchedGoldenConfig_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableManufacturerRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableManufacturerRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -34592,38 +79548,62 @@ func (a PatchedGoldenConfig_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedGoldenConfig_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableManufacturerRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedGoldenConfig_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableManufacturerRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedGoldenConfig_CustomFields -func (a *PatchedGoldenConfig_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableManufacturerRequest_Relationships_Source_Objects_Item +func (a *BulkWritableManufacturerRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedGoldenConfig_CustomFields to handle AdditionalProperties -func (a *PatchedGoldenConfig_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableManufacturerRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableManufacturerRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -34631,11 +79611,32 @@ func (a *PatchedGoldenConfig_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedGoldenConfig_CustomFields to handle AdditionalProperties -func (a PatchedGoldenConfig_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableManufacturerRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableManufacturerRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -34645,38 +79646,62 @@ func (a PatchedGoldenConfig_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedGoldenConfigSetting_CustomFieldData. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedGoldenConfigSetting_CustomFieldData) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedGoldenConfigSetting_CustomFieldData -func (a *PatchedGoldenConfigSetting_CustomFieldData) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedGoldenConfigSetting_CustomFieldData to handle AdditionalProperties -func (a *PatchedGoldenConfigSetting_CustomFieldData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if len(object) != 0 { + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -34684,11 +79709,32 @@ func (a *PatchedGoldenConfigSetting_CustomFieldData) UnmarshalJSON(b []byte) err return nil } -// Override default JSON handling for PatchedGoldenConfigSetting_CustomFieldData to handle AdditionalProperties -func (a PatchedGoldenConfigSetting_CustomFieldData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -34698,38 +79744,62 @@ func (a PatchedGoldenConfigSetting_CustomFieldData) MarshalJSON() ([]byte, error return json.Marshal(object) } -// Getter for additional properties for PatchedGoldenConfigSetting_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedGoldenConfigSetting_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedGoldenConfigSetting_ComputedFields -func (a *PatchedGoldenConfigSetting_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedGoldenConfigSetting_ComputedFields to handle AdditionalProperties -func (a *PatchedGoldenConfigSetting_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -34737,11 +79807,32 @@ func (a *PatchedGoldenConfigSetting_ComputedFields) UnmarshalJSON(b []byte) erro return nil } -// Override default JSON handling for PatchedGoldenConfigSetting_ComputedFields to handle AdditionalProperties -func (a PatchedGoldenConfigSetting_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -34751,38 +79842,62 @@ func (a PatchedGoldenConfigSetting_ComputedFields) MarshalJSON() ([]byte, error) return json.Marshal(object) } -// Getter for additional properties for PatchedGoldenConfigSetting_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedGoldenConfigSetting_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedGoldenConfigSetting_CustomFields -func (a *PatchedGoldenConfigSetting_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRequest_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedGoldenConfigSetting_CustomFields to handle AdditionalProperties -func (a *PatchedGoldenConfigSetting_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -34790,11 +79905,32 @@ func (a *PatchedGoldenConfigSetting_CustomFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedGoldenConfigSetting_CustomFields to handle AdditionalProperties -func (a PatchedGoldenConfigSetting_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -34804,38 +79940,62 @@ func (a PatchedGoldenConfigSetting_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedGoldenConfigSetting_Scope. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedGoldenConfigSetting_Scope) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedGoldenConfigSetting_Scope -func (a *PatchedGoldenConfigSetting_Scope) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedGoldenConfigSetting_Scope to handle AdditionalProperties -func (a *PatchedGoldenConfigSetting_Scope) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -34843,11 +80003,32 @@ func (a *PatchedGoldenConfigSetting_Scope) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedGoldenConfigSetting_Scope to handle AdditionalProperties -func (a PatchedGoldenConfigSetting_Scope) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -34857,38 +80038,62 @@ func (a PatchedGoldenConfigSetting_Scope) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedGraphQLQuery_Variables. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedGraphQLQuery_Variables) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedGraphQLQuery_Variables -func (a *PatchedGraphQLQuery_Variables) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedGraphQLQuery_Variables to handle AdditionalProperties -func (a *PatchedGraphQLQuery_Variables) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -34896,11 +80101,32 @@ func (a *PatchedGraphQLQuery_Variables) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedGraphQLQuery_Variables to handle AdditionalProperties -func (a PatchedGraphQLQuery_Variables) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -34910,38 +80136,62 @@ func (a PatchedGraphQLQuery_Variables) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedImageAttachment_Parent. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedImageAttachment_Parent) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedImageAttachment_Parent -func (a *PatchedImageAttachment_Parent) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedImageAttachment_Parent to handle AdditionalProperties -func (a *PatchedImageAttachment_Parent) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -34949,11 +80199,32 @@ func (a *PatchedImageAttachment_Parent) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedImageAttachment_Parent to handle AdditionalProperties -func (a PatchedImageAttachment_Parent) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -34963,38 +80234,62 @@ func (a PatchedImageAttachment_Parent) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedJob_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedJob_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedJob_CustomFields -func (a *PatchedJob_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedJob_CustomFields to handle AdditionalProperties -func (a *PatchedJob_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -35002,11 +80297,32 @@ func (a *PatchedJob_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedJob_CustomFields to handle AdditionalProperties -func (a PatchedJob_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -35016,38 +80332,62 @@ func (a PatchedJob_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedJobResult_Data. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedJobResult_Data) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedJobResult_Data -func (a *PatchedJobResult_Data) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedJobResult_Data to handle AdditionalProperties -func (a *PatchedJobResult_Data) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -35055,11 +80395,32 @@ func (a *PatchedJobResult_Data) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedJobResult_Data to handle AdditionalProperties -func (a PatchedJobResult_Data) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -35069,38 +80430,62 @@ func (a PatchedJobResult_Data) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedManufacturer_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedManufacturer_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedManufacturer_CustomFields -func (a *PatchedManufacturer_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedManufacturer_CustomFields to handle AdditionalProperties -func (a *PatchedManufacturer_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -35108,11 +80493,32 @@ func (a *PatchedManufacturer_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedManufacturer_CustomFields to handle AdditionalProperties -func (a PatchedManufacturer_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -35122,38 +80528,62 @@ func (a PatchedManufacturer_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedProvider_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedProvider_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedProvider_CustomFields -func (a *PatchedProvider_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedProvider_CustomFields to handle AdditionalProperties -func (a *PatchedProvider_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -35161,11 +80591,32 @@ func (a *PatchedProvider_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedProvider_CustomFields to handle AdditionalProperties -func (a PatchedProvider_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -35175,38 +80626,62 @@ func (a PatchedProvider_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedProviderLCM_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedProviderLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedProviderLCM_CustomFields -func (a *PatchedProviderLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedProviderLCM_CustomFields to handle AdditionalProperties -func (a *PatchedProviderLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -35214,11 +80689,32 @@ func (a *PatchedProviderLCM_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedProviderLCM_CustomFields to handle AdditionalProperties -func (a PatchedProviderLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -35228,38 +80724,62 @@ func (a PatchedProviderLCM_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedRIR_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedRIR_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedRIR_CustomFields -func (a *PatchedRIR_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedRIR_CustomFields to handle AdditionalProperties -func (a *PatchedRIR_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -35267,11 +80787,32 @@ func (a *PatchedRIR_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedRIR_CustomFields to handle AdditionalProperties -func (a PatchedRIR_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -35281,38 +80822,62 @@ func (a PatchedRIR_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedRackRole_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedRackRole_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedRackRole_CustomFields -func (a *PatchedRackRole_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedRackRole_CustomFields to handle AdditionalProperties -func (a *PatchedRackRole_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -35320,11 +80885,32 @@ func (a *PatchedRackRole_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedRackRole_CustomFields to handle AdditionalProperties -func (a PatchedRackRole_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -35334,38 +80920,62 @@ func (a PatchedRackRole_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedRelationship_DestinationFilter. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedRelationship_DestinationFilter) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedRelationship_DestinationFilter -func (a *PatchedRelationship_DestinationFilter) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedRelationship_DestinationFilter to handle AdditionalProperties -func (a *PatchedRelationship_DestinationFilter) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -35373,11 +80983,32 @@ func (a *PatchedRelationship_DestinationFilter) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedRelationship_DestinationFilter to handle AdditionalProperties -func (a PatchedRelationship_DestinationFilter) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -35387,38 +81018,62 @@ func (a PatchedRelationship_DestinationFilter) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedRelationship_SourceFilter. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedRelationship_SourceFilter) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedRelationship_SourceFilter -func (a *PatchedRelationship_SourceFilter) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedRelationship_SourceFilter to handle AdditionalProperties -func (a *PatchedRelationship_SourceFilter) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -35426,11 +81081,32 @@ func (a *PatchedRelationship_SourceFilter) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedRelationship_SourceFilter to handle AdditionalProperties -func (a PatchedRelationship_SourceFilter) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -35440,38 +81116,62 @@ func (a PatchedRelationship_SourceFilter) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedRole_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedRole_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedRole_CustomFields -func (a *PatchedRole_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedRole_CustomFields to handle AdditionalProperties -func (a *PatchedRole_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -35479,11 +81179,32 @@ func (a *PatchedRole_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedRole_CustomFields to handle AdditionalProperties -func (a PatchedRole_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -35493,38 +81214,62 @@ func (a PatchedRole_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedSecret_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedSecret_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedSecret_CustomFields -func (a *PatchedSecret_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedSecret_CustomFields to handle AdditionalProperties -func (a *PatchedSecret_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -35532,11 +81277,32 @@ func (a *PatchedSecret_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedSecret_CustomFields to handle AdditionalProperties -func (a PatchedSecret_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -35546,38 +81312,62 @@ func (a PatchedSecret_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedSecret_Parameters. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedSecret_Parameters) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedSecret_Parameters -func (a *PatchedSecret_Parameters) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedSecret_Parameters to handle AdditionalProperties -func (a *PatchedSecret_Parameters) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -35585,11 +81375,32 @@ func (a *PatchedSecret_Parameters) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedSecret_Parameters to handle AdditionalProperties -func (a PatchedSecret_Parameters) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -35599,38 +81410,62 @@ func (a PatchedSecret_Parameters) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedSecretsGroup_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedSecretsGroup_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedSecretsGroup_CustomFields -func (a *PatchedSecretsGroup_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedSecretsGroup_CustomFields to handle AdditionalProperties -func (a *PatchedSecretsGroup_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -35638,11 +81473,32 @@ func (a *PatchedSecretsGroup_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedSecretsGroup_CustomFields to handle AdditionalProperties -func (a PatchedSecretsGroup_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -35652,38 +81508,62 @@ func (a PatchedSecretsGroup_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedStatus_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedStatus_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedStatus_CustomFields -func (a *PatchedStatus_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedStatus_CustomFields to handle AdditionalProperties -func (a *PatchedStatus_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -35691,11 +81571,32 @@ func (a *PatchedStatus_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedStatus_CustomFields to handle AdditionalProperties -func (a PatchedStatus_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -35705,38 +81606,62 @@ func (a PatchedStatus_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedTagSerializerVersion13_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedTagSerializerVersion13_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedTagSerializerVersion13_CustomFields -func (a *PatchedTagSerializerVersion13_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedTagSerializerVersion13_CustomFields to handle AdditionalProperties -func (a *PatchedTagSerializerVersion13_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -35744,11 +81669,32 @@ func (a *PatchedTagSerializerVersion13_CustomFields) UnmarshalJSON(b []byte) err return nil } -// Override default JSON handling for PatchedTagSerializerVersion13_CustomFields to handle AdditionalProperties -func (a PatchedTagSerializerVersion13_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -35758,50 +81704,95 @@ func (a PatchedTagSerializerVersion13_CustomFields) MarshalJSON() ([]byte, error return json.Marshal(object) } -// Getter for additional properties for PatchedVulnerabilityLCM_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedVulnerabilityLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedVulnerabilityLCM_CustomFields -func (a *PatchedVulnerabilityLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedVulnerabilityLCM_CustomFields to handle AdditionalProperties -func (a *PatchedVulnerabilityLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if len(object) != 0 { - a.AdditionalProperties = make(map[string]interface{}) - for fieldName, fieldBuf := range object { - var fieldVal interface{} - err := json.Unmarshal(fieldBuf, &fieldVal) - if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) - } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } a.AdditionalProperties[fieldName] = fieldVal } } return nil } -// Override default JSON handling for PatchedVulnerabilityLCM_CustomFields to handle AdditionalProperties -func (a PatchedVulnerabilityLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -35811,38 +81802,62 @@ func (a PatchedVulnerabilityLCM_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableAggregate_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableAggregate_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableAggregate_ComputedFields -func (a *PatchedWritableAggregate_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableAggregate_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableAggregate_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -35850,11 +81865,32 @@ func (a *PatchedWritableAggregate_ComputedFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedWritableAggregate_ComputedFields to handle AdditionalProperties -func (a PatchedWritableAggregate_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -35864,38 +81900,62 @@ func (a PatchedWritableAggregate_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableAggregate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableAggregate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableAggregate_CustomFields -func (a *PatchedWritableAggregate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableAggregate_CustomFields to handle AdditionalProperties -func (a *PatchedWritableAggregate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -35903,11 +81963,32 @@ func (a *PatchedWritableAggregate_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableAggregate_CustomFields to handle AdditionalProperties -func (a PatchedWritableAggregate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -35917,38 +81998,62 @@ func (a PatchedWritableAggregate_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableCable_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableCable_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableCable_ComputedFields -func (a *PatchedWritableCable_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableCable_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableCable_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -35956,11 +82061,32 @@ func (a *PatchedWritableCable_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableCable_ComputedFields to handle AdditionalProperties -func (a PatchedWritableCable_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -35970,38 +82096,62 @@ func (a PatchedWritableCable_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableCable_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableCable_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableCable_CustomFields -func (a *PatchedWritableCable_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableCable_CustomFields to handle AdditionalProperties -func (a *PatchedWritableCable_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -36009,11 +82159,32 @@ func (a *PatchedWritableCable_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableCable_CustomFields to handle AdditionalProperties -func (a PatchedWritableCable_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -36023,38 +82194,62 @@ func (a PatchedWritableCable_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableCable_TerminationA. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableCable_TerminationA) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableCable_TerminationA -func (a *PatchedWritableCable_TerminationA) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableCable_TerminationA to handle AdditionalProperties -func (a *PatchedWritableCable_TerminationA) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -36062,11 +82257,32 @@ func (a *PatchedWritableCable_TerminationA) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableCable_TerminationA to handle AdditionalProperties -func (a PatchedWritableCable_TerminationA) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -36076,38 +82292,62 @@ func (a PatchedWritableCable_TerminationA) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableCable_TerminationB. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableCable_TerminationB) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableCable_TerminationB -func (a *PatchedWritableCable_TerminationB) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableCable_TerminationB to handle AdditionalProperties -func (a *PatchedWritableCable_TerminationB) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -36115,11 +82355,32 @@ func (a *PatchedWritableCable_TerminationB) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableCable_TerminationB to handle AdditionalProperties -func (a PatchedWritableCable_TerminationB) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -36129,38 +82390,62 @@ func (a PatchedWritableCable_TerminationB) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableCircuit_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableCircuit_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableCircuit_ComputedFields -func (a *PatchedWritableCircuit_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableCircuit_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableCircuit_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -36168,11 +82453,32 @@ func (a *PatchedWritableCircuit_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableCircuit_ComputedFields to handle AdditionalProperties -func (a PatchedWritableCircuit_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -36182,38 +82488,62 @@ func (a PatchedWritableCircuit_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableCircuit_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableCircuit_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableCircuit_CustomFields -func (a *PatchedWritableCircuit_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableCircuit_CustomFields to handle AdditionalProperties -func (a *PatchedWritableCircuit_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -36221,11 +82551,32 @@ func (a *PatchedWritableCircuit_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableCircuit_CustomFields to handle AdditionalProperties -func (a PatchedWritableCircuit_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -36235,38 +82586,62 @@ func (a PatchedWritableCircuit_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableCircuitTermination_CablePeer. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableCircuitTermination_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableCircuitTermination_CablePeer -func (a *PatchedWritableCircuitTermination_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableCircuitTermination_CablePeer to handle AdditionalProperties -func (a *PatchedWritableCircuitTermination_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -36274,11 +82649,32 @@ func (a *PatchedWritableCircuitTermination_CablePeer) UnmarshalJSON(b []byte) er return nil } -// Override default JSON handling for PatchedWritableCircuitTermination_CablePeer to handle AdditionalProperties -func (a PatchedWritableCircuitTermination_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -36288,38 +82684,62 @@ func (a PatchedWritableCircuitTermination_CablePeer) MarshalJSON() ([]byte, erro return json.Marshal(object) } -// Getter for additional properties for PatchedWritableCircuitTermination_ConnectedEndpoint. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableCircuitTermination_ConnectedEndpoint) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableCircuitTermination_ConnectedEndpoint -func (a *PatchedWritableCircuitTermination_ConnectedEndpoint) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableCircuitTermination_ConnectedEndpoint to handle AdditionalProperties -func (a *PatchedWritableCircuitTermination_ConnectedEndpoint) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -36327,11 +82747,32 @@ func (a *PatchedWritableCircuitTermination_ConnectedEndpoint) UnmarshalJSON(b [] return nil } -// Override default JSON handling for PatchedWritableCircuitTermination_ConnectedEndpoint to handle AdditionalProperties -func (a PatchedWritableCircuitTermination_ConnectedEndpoint) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -36341,38 +82782,62 @@ func (a PatchedWritableCircuitTermination_ConnectedEndpoint) MarshalJSON() ([]by return json.Marshal(object) } -// Getter for additional properties for PatchedWritableCluster_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableCluster_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableCluster_ComputedFields -func (a *PatchedWritableCluster_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableCluster_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableCluster_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -36380,11 +82845,32 @@ func (a *PatchedWritableCluster_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableCluster_ComputedFields to handle AdditionalProperties -func (a PatchedWritableCluster_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -36394,38 +82880,62 @@ func (a PatchedWritableCluster_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableCluster_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableCluster_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableCluster_CustomFields -func (a *PatchedWritableCluster_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableCluster_CustomFields to handle AdditionalProperties -func (a *PatchedWritableCluster_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -36433,11 +82943,32 @@ func (a *PatchedWritableCluster_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableCluster_CustomFields to handle AdditionalProperties -func (a PatchedWritableCluster_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -36447,38 +82978,62 @@ func (a PatchedWritableCluster_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableConfigContext_Data. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableConfigContext_Data) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableConfigContext_Data -func (a *PatchedWritableConfigContext_Data) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableConfigContext_Data to handle AdditionalProperties -func (a *PatchedWritableConfigContext_Data) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -36486,11 +83041,32 @@ func (a *PatchedWritableConfigContext_Data) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableConfigContext_Data to handle AdditionalProperties -func (a PatchedWritableConfigContext_Data) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -36500,38 +83076,62 @@ func (a PatchedWritableConfigContext_Data) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableConfigContext_Owner. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableConfigContext_Owner) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableConfigContext_Owner -func (a *PatchedWritableConfigContext_Owner) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableConfigContext_Owner to handle AdditionalProperties -func (a *PatchedWritableConfigContext_Owner) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -36539,11 +83139,32 @@ func (a *PatchedWritableConfigContext_Owner) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableConfigContext_Owner to handle AdditionalProperties -func (a PatchedWritableConfigContext_Owner) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -36553,38 +83174,62 @@ func (a PatchedWritableConfigContext_Owner) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableConsolePort_CablePeer. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableConsolePort_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableConsolePort_CablePeer -func (a *PatchedWritableConsolePort_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableConsolePort_CablePeer to handle AdditionalProperties -func (a *PatchedWritableConsolePort_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -36592,11 +83237,32 @@ func (a *PatchedWritableConsolePort_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableConsolePort_CablePeer to handle AdditionalProperties -func (a PatchedWritableConsolePort_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -36606,38 +83272,62 @@ func (a PatchedWritableConsolePort_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableConsolePort_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableConsolePort_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableConsolePort_ComputedFields -func (a *PatchedWritableConsolePort_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableConsolePort_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableConsolePort_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -36645,11 +83335,32 @@ func (a *PatchedWritableConsolePort_ComputedFields) UnmarshalJSON(b []byte) erro return nil } -// Override default JSON handling for PatchedWritableConsolePort_ComputedFields to handle AdditionalProperties -func (a PatchedWritableConsolePort_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -36659,38 +83370,62 @@ func (a PatchedWritableConsolePort_ComputedFields) MarshalJSON() ([]byte, error) return json.Marshal(object) } -// Getter for additional properties for PatchedWritableConsolePort_ConnectedEndpoint. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableConsolePort_ConnectedEndpoint) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableConsolePort_ConnectedEndpoint -func (a *PatchedWritableConsolePort_ConnectedEndpoint) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableConsolePort_ConnectedEndpoint to handle AdditionalProperties -func (a *PatchedWritableConsolePort_ConnectedEndpoint) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -36698,11 +83433,32 @@ func (a *PatchedWritableConsolePort_ConnectedEndpoint) UnmarshalJSON(b []byte) e return nil } -// Override default JSON handling for PatchedWritableConsolePort_ConnectedEndpoint to handle AdditionalProperties -func (a PatchedWritableConsolePort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -36712,38 +83468,62 @@ func (a PatchedWritableConsolePort_ConnectedEndpoint) MarshalJSON() ([]byte, err return json.Marshal(object) } -// Getter for additional properties for PatchedWritableConsolePort_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableConsolePort_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableConsolePort_CustomFields -func (a *PatchedWritableConsolePort_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableConsolePort_CustomFields to handle AdditionalProperties -func (a *PatchedWritableConsolePort_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -36751,11 +83531,32 @@ func (a *PatchedWritableConsolePort_CustomFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedWritableConsolePort_CustomFields to handle AdditionalProperties -func (a PatchedWritableConsolePort_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -36765,38 +83566,62 @@ func (a PatchedWritableConsolePort_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableConsolePortTemplate_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableConsolePortTemplate_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableConsolePortTemplate_ComputedFields -func (a *PatchedWritableConsolePortTemplate_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableConsolePortTemplate_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableConsolePortTemplate_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -36804,11 +83629,32 @@ func (a *PatchedWritableConsolePortTemplate_ComputedFields) UnmarshalJSON(b []by return nil } -// Override default JSON handling for PatchedWritableConsolePortTemplate_ComputedFields to handle AdditionalProperties -func (a PatchedWritableConsolePortTemplate_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -36818,38 +83664,62 @@ func (a PatchedWritableConsolePortTemplate_ComputedFields) MarshalJSON() ([]byte return json.Marshal(object) } -// Getter for additional properties for PatchedWritableConsolePortTemplate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableConsolePortTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableConsolePortTemplate_CustomFields -func (a *PatchedWritableConsolePortTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableConsolePortTemplate_CustomFields to handle AdditionalProperties -func (a *PatchedWritableConsolePortTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -36857,11 +83727,32 @@ func (a *PatchedWritableConsolePortTemplate_CustomFields) UnmarshalJSON(b []byte return nil } -// Override default JSON handling for PatchedWritableConsolePortTemplate_CustomFields to handle AdditionalProperties -func (a PatchedWritableConsolePortTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -36871,38 +83762,62 @@ func (a PatchedWritableConsolePortTemplate_CustomFields) MarshalJSON() ([]byte, return json.Marshal(object) } -// Getter for additional properties for PatchedWritableConsoleServerPort_CablePeer. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableConsoleServerPort_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableConsoleServerPort_CablePeer -func (a *PatchedWritableConsoleServerPort_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableConsoleServerPort_CablePeer to handle AdditionalProperties -func (a *PatchedWritableConsoleServerPort_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if len(object) != 0 { + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -36910,11 +83825,32 @@ func (a *PatchedWritableConsoleServerPort_CablePeer) UnmarshalJSON(b []byte) err return nil } -// Override default JSON handling for PatchedWritableConsoleServerPort_CablePeer to handle AdditionalProperties -func (a PatchedWritableConsoleServerPort_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -36924,38 +83860,62 @@ func (a PatchedWritableConsoleServerPort_CablePeer) MarshalJSON() ([]byte, error return json.Marshal(object) } -// Getter for additional properties for PatchedWritableConsoleServerPort_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableConsoleServerPort_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableConsoleServerPort_ComputedFields -func (a *PatchedWritableConsoleServerPort_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableConsoleServerPort_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableConsoleServerPort_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -36963,11 +83923,32 @@ func (a *PatchedWritableConsoleServerPort_ComputedFields) UnmarshalJSON(b []byte return nil } -// Override default JSON handling for PatchedWritableConsoleServerPort_ComputedFields to handle AdditionalProperties -func (a PatchedWritableConsoleServerPort_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -36977,38 +83958,62 @@ func (a PatchedWritableConsoleServerPort_ComputedFields) MarshalJSON() ([]byte, return json.Marshal(object) } -// Getter for additional properties for PatchedWritableConsoleServerPort_ConnectedEndpoint. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableConsoleServerPort_ConnectedEndpoint) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableConsoleServerPort_ConnectedEndpoint -func (a *PatchedWritableConsoleServerPort_ConnectedEndpoint) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableConsoleServerPort_ConnectedEndpoint to handle AdditionalProperties -func (a *PatchedWritableConsoleServerPort_ConnectedEndpoint) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -37016,11 +84021,32 @@ func (a *PatchedWritableConsoleServerPort_ConnectedEndpoint) UnmarshalJSON(b []b return nil } -// Override default JSON handling for PatchedWritableConsoleServerPort_ConnectedEndpoint to handle AdditionalProperties -func (a PatchedWritableConsoleServerPort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -37030,38 +84056,62 @@ func (a PatchedWritableConsoleServerPort_ConnectedEndpoint) MarshalJSON() ([]byt return json.Marshal(object) } -// Getter for additional properties for PatchedWritableConsoleServerPort_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableConsoleServerPort_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableConsoleServerPort_CustomFields -func (a *PatchedWritableConsoleServerPort_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableConsoleServerPort_CustomFields to handle AdditionalProperties -func (a *PatchedWritableConsoleServerPort_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -37069,11 +84119,32 @@ func (a *PatchedWritableConsoleServerPort_CustomFields) UnmarshalJSON(b []byte) return nil } -// Override default JSON handling for PatchedWritableConsoleServerPort_CustomFields to handle AdditionalProperties -func (a PatchedWritableConsoleServerPort_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -37083,38 +84154,62 @@ func (a PatchedWritableConsoleServerPort_CustomFields) MarshalJSON() ([]byte, er return json.Marshal(object) } -// Getter for additional properties for PatchedWritableConsoleServerPortTemplate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableConsoleServerPortTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableConsoleServerPortTemplate_CustomFields -func (a *PatchedWritableConsoleServerPortTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableConsoleServerPortTemplate_CustomFields to handle AdditionalProperties -func (a *PatchedWritableConsoleServerPortTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -37122,11 +84217,32 @@ func (a *PatchedWritableConsoleServerPortTemplate_CustomFields) UnmarshalJSON(b return nil } -// Override default JSON handling for PatchedWritableConsoleServerPortTemplate_CustomFields to handle AdditionalProperties -func (a PatchedWritableConsoleServerPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -37136,38 +84252,62 @@ func (a PatchedWritableConsoleServerPortTemplate_CustomFields) MarshalJSON() ([] return json.Marshal(object) } -// Getter for additional properties for PatchedWritableContactLCM_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableContactLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableContactLCM_CustomFields -func (a *PatchedWritableContactLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableContactLCM_CustomFields to handle AdditionalProperties -func (a *PatchedWritableContactLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -37175,11 +84315,32 @@ func (a *PatchedWritableContactLCM_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableContactLCM_CustomFields to handle AdditionalProperties -func (a PatchedWritableContactLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -37189,38 +84350,62 @@ func (a PatchedWritableContactLCM_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableContractLCM_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableContractLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableContractLCM_CustomFields -func (a *PatchedWritableContractLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableContractLCM_CustomFields to handle AdditionalProperties -func (a *PatchedWritableContractLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -37228,11 +84413,32 @@ func (a *PatchedWritableContractLCM_CustomFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedWritableContractLCM_CustomFields to handle AdditionalProperties -func (a PatchedWritableContractLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -37242,38 +84448,62 @@ func (a PatchedWritableContractLCM_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableCustomField_Default. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableCustomField_Default) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableCustomField_Default -func (a *PatchedWritableCustomField_Default) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableCustomField_Default to handle AdditionalProperties -func (a *PatchedWritableCustomField_Default) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -37281,11 +84511,32 @@ func (a *PatchedWritableCustomField_Default) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableCustomField_Default to handle AdditionalProperties -func (a PatchedWritableCustomField_Default) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -37295,38 +84546,62 @@ func (a PatchedWritableCustomField_Default) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableDeviceBay_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableDeviceBay_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableDeviceBay_ComputedFields -func (a *PatchedWritableDeviceBay_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableDeviceBay_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableDeviceBay_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -37334,11 +84609,32 @@ func (a *PatchedWritableDeviceBay_ComputedFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedWritableDeviceBay_ComputedFields to handle AdditionalProperties -func (a PatchedWritableDeviceBay_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -37348,38 +84644,62 @@ func (a PatchedWritableDeviceBay_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableDeviceBay_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableDeviceBay_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableDeviceBay_CustomFields -func (a *PatchedWritableDeviceBay_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableDeviceBay_CustomFields to handle AdditionalProperties -func (a *PatchedWritableDeviceBay_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -37387,11 +84707,32 @@ func (a *PatchedWritableDeviceBay_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableDeviceBay_CustomFields to handle AdditionalProperties -func (a PatchedWritableDeviceBay_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -37401,38 +84742,62 @@ func (a PatchedWritableDeviceBay_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableDeviceBayTemplate_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableDeviceBayTemplate_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableDeviceBayTemplate_ComputedFields -func (a *PatchedWritableDeviceBayTemplate_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableDeviceBayTemplate_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableDeviceBayTemplate_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -37440,11 +84805,32 @@ func (a *PatchedWritableDeviceBayTemplate_ComputedFields) UnmarshalJSON(b []byte return nil } -// Override default JSON handling for PatchedWritableDeviceBayTemplate_ComputedFields to handle AdditionalProperties -func (a PatchedWritableDeviceBayTemplate_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -37454,38 +84840,62 @@ func (a PatchedWritableDeviceBayTemplate_ComputedFields) MarshalJSON() ([]byte, return json.Marshal(object) } -// Getter for additional properties for PatchedWritableDeviceBayTemplate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableDeviceBayTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableDeviceBayTemplate_CustomFields -func (a *PatchedWritableDeviceBayTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableDeviceBayTemplate_CustomFields to handle AdditionalProperties -func (a *PatchedWritableDeviceBayTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -37493,11 +84903,32 @@ func (a *PatchedWritableDeviceBayTemplate_CustomFields) UnmarshalJSON(b []byte) return nil } -// Override default JSON handling for PatchedWritableDeviceBayTemplate_CustomFields to handle AdditionalProperties -func (a PatchedWritableDeviceBayTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -37507,38 +84938,62 @@ func (a PatchedWritableDeviceBayTemplate_CustomFields) MarshalJSON() ([]byte, er return json.Marshal(object) } -// Getter for additional properties for PatchedWritableDeviceType_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableDeviceType_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableDeviceType_ComputedFields -func (a *PatchedWritableDeviceType_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableDeviceType_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableDeviceType_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -37546,11 +85001,32 @@ func (a *PatchedWritableDeviceType_ComputedFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedWritableDeviceType_ComputedFields to handle AdditionalProperties -func (a PatchedWritableDeviceType_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -37560,38 +85036,62 @@ func (a PatchedWritableDeviceType_ComputedFields) MarshalJSON() ([]byte, error) return json.Marshal(object) } -// Getter for additional properties for PatchedWritableDeviceType_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableDeviceType_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableDeviceType_CustomFields -func (a *PatchedWritableDeviceType_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableDeviceType_CustomFields to handle AdditionalProperties -func (a *PatchedWritableDeviceType_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -37599,11 +85099,32 @@ func (a *PatchedWritableDeviceType_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableDeviceType_CustomFields to handle AdditionalProperties -func (a PatchedWritableDeviceType_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -37613,38 +85134,62 @@ func (a PatchedWritableDeviceType_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableDeviceWithConfigContext_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableDeviceWithConfigContext_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableDeviceWithConfigContext_ComputedFields -func (a *PatchedWritableDeviceWithConfigContext_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableDeviceWithConfigContext_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableDeviceWithConfigContext_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -37652,11 +85197,32 @@ func (a *PatchedWritableDeviceWithConfigContext_ComputedFields) UnmarshalJSON(b return nil } -// Override default JSON handling for PatchedWritableDeviceWithConfigContext_ComputedFields to handle AdditionalProperties -func (a PatchedWritableDeviceWithConfigContext_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -37666,38 +85232,62 @@ func (a PatchedWritableDeviceWithConfigContext_ComputedFields) MarshalJSON() ([] return json.Marshal(object) } -// Getter for additional properties for PatchedWritableDeviceWithConfigContext_ConfigContext. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableDeviceWithConfigContext_ConfigContext) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableDeviceWithConfigContext_ConfigContext -func (a *PatchedWritableDeviceWithConfigContext_ConfigContext) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableDeviceWithConfigContext_ConfigContext to handle AdditionalProperties -func (a *PatchedWritableDeviceWithConfigContext_ConfigContext) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -37705,11 +85295,32 @@ func (a *PatchedWritableDeviceWithConfigContext_ConfigContext) UnmarshalJSON(b [ return nil } -// Override default JSON handling for PatchedWritableDeviceWithConfigContext_ConfigContext to handle AdditionalProperties -func (a PatchedWritableDeviceWithConfigContext_ConfigContext) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -37719,38 +85330,62 @@ func (a PatchedWritableDeviceWithConfigContext_ConfigContext) MarshalJSON() ([]b return json.Marshal(object) } -// Getter for additional properties for PatchedWritableDeviceWithConfigContext_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableDeviceWithConfigContext_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableDeviceWithConfigContext_CustomFields -func (a *PatchedWritableDeviceWithConfigContext_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableDeviceWithConfigContext_CustomFields to handle AdditionalProperties -func (a *PatchedWritableDeviceWithConfigContext_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -37758,11 +85393,32 @@ func (a *PatchedWritableDeviceWithConfigContext_CustomFields) UnmarshalJSON(b [] return nil } -// Override default JSON handling for PatchedWritableDeviceWithConfigContext_CustomFields to handle AdditionalProperties -func (a PatchedWritableDeviceWithConfigContext_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -37772,38 +85428,62 @@ func (a PatchedWritableDeviceWithConfigContext_CustomFields) MarshalJSON() ([]by return json.Marshal(object) } -// Getter for additional properties for PatchedWritableDeviceWithConfigContext_LocalContextData. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableDeviceWithConfigContext_LocalContextData) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableDeviceWithConfigContext_LocalContextData -func (a *PatchedWritableDeviceWithConfigContext_LocalContextData) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableDeviceWithConfigContext_LocalContextData to handle AdditionalProperties -func (a *PatchedWritableDeviceWithConfigContext_LocalContextData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -37811,11 +85491,32 @@ func (a *PatchedWritableDeviceWithConfigContext_LocalContextData) UnmarshalJSON( return nil } -// Override default JSON handling for PatchedWritableDeviceWithConfigContext_LocalContextData to handle AdditionalProperties -func (a PatchedWritableDeviceWithConfigContext_LocalContextData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -37825,38 +85526,62 @@ func (a PatchedWritableDeviceWithConfigContext_LocalContextData) MarshalJSON() ( return json.Marshal(object) } -// Getter for additional properties for PatchedWritableFrontPort_CablePeer. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableFrontPort_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableFrontPort_CablePeer -func (a *PatchedWritableFrontPort_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableFrontPort_CablePeer to handle AdditionalProperties -func (a *PatchedWritableFrontPort_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -37864,11 +85589,32 @@ func (a *PatchedWritableFrontPort_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableFrontPort_CablePeer to handle AdditionalProperties -func (a PatchedWritableFrontPort_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -37878,38 +85624,62 @@ func (a PatchedWritableFrontPort_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableFrontPort_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableFrontPort_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableFrontPort_ComputedFields -func (a *PatchedWritableFrontPort_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableFrontPort_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableFrontPort_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -37917,11 +85687,32 @@ func (a *PatchedWritableFrontPort_ComputedFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedWritableFrontPort_ComputedFields to handle AdditionalProperties -func (a PatchedWritableFrontPort_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -37931,38 +85722,62 @@ func (a PatchedWritableFrontPort_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableFrontPort_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableFrontPort_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableFrontPort_CustomFields -func (a *PatchedWritableFrontPort_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableFrontPort_CustomFields to handle AdditionalProperties -func (a *PatchedWritableFrontPort_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -37970,11 +85785,32 @@ func (a *PatchedWritableFrontPort_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableFrontPort_CustomFields to handle AdditionalProperties -func (a PatchedWritableFrontPort_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -37984,50 +85820,95 @@ func (a PatchedWritableFrontPort_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableFrontPortTemplate_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableFrontPortTemplate_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableFrontPortTemplate_ComputedFields -func (a *PatchedWritableFrontPortTemplate_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableFrontPortTemplate_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableFrontPortTemplate_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if len(object) != 0 { - a.AdditionalProperties = make(map[string]interface{}) - for fieldName, fieldBuf := range object { - var fieldVal interface{} - err := json.Unmarshal(fieldBuf, &fieldVal) - if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) - } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } a.AdditionalProperties[fieldName] = fieldVal } } return nil } -// Override default JSON handling for PatchedWritableFrontPortTemplate_ComputedFields to handle AdditionalProperties -func (a PatchedWritableFrontPortTemplate_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -38037,38 +85918,62 @@ func (a PatchedWritableFrontPortTemplate_ComputedFields) MarshalJSON() ([]byte, return json.Marshal(object) } -// Getter for additional properties for PatchedWritableFrontPortTemplate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableFrontPortTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableFrontPortTemplate_CustomFields -func (a *PatchedWritableFrontPortTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableFrontPortTemplate_CustomFields to handle AdditionalProperties -func (a *PatchedWritableFrontPortTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -38076,11 +85981,32 @@ func (a *PatchedWritableFrontPortTemplate_CustomFields) UnmarshalJSON(b []byte) return nil } -// Override default JSON handling for PatchedWritableFrontPortTemplate_CustomFields to handle AdditionalProperties -func (a PatchedWritableFrontPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -38090,38 +86016,62 @@ func (a PatchedWritableFrontPortTemplate_CustomFields) MarshalJSON() ([]byte, er return json.Marshal(object) } -// Getter for additional properties for PatchedWritableGitRepository_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableGitRepository_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableGitRepository_ComputedFields -func (a *PatchedWritableGitRepository_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableGitRepository_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableGitRepository_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -38129,11 +86079,32 @@ func (a *PatchedWritableGitRepository_ComputedFields) UnmarshalJSON(b []byte) er return nil } -// Override default JSON handling for PatchedWritableGitRepository_ComputedFields to handle AdditionalProperties -func (a PatchedWritableGitRepository_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -38143,38 +86114,62 @@ func (a PatchedWritableGitRepository_ComputedFields) MarshalJSON() ([]byte, erro return json.Marshal(object) } -// Getter for additional properties for PatchedWritableGitRepository_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableGitRepository_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableGitRepository_CustomFields -func (a *PatchedWritableGitRepository_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableGitRepository_CustomFields to handle AdditionalProperties -func (a *PatchedWritableGitRepository_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -38182,11 +86177,32 @@ func (a *PatchedWritableGitRepository_CustomFields) UnmarshalJSON(b []byte) erro return nil } -// Override default JSON handling for PatchedWritableGitRepository_CustomFields to handle AdditionalProperties -func (a PatchedWritableGitRepository_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -38196,38 +86212,62 @@ func (a PatchedWritableGitRepository_CustomFields) MarshalJSON() ([]byte, error) return json.Marshal(object) } -// Getter for additional properties for PatchedWritableHardwareLCM_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableHardwareLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableHardwareLCM_CustomFields -func (a *PatchedWritableHardwareLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableHardwareLCM_CustomFields to handle AdditionalProperties -func (a *PatchedWritableHardwareLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -38235,11 +86275,32 @@ func (a *PatchedWritableHardwareLCM_CustomFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedWritableHardwareLCM_CustomFields to handle AdditionalProperties -func (a PatchedWritableHardwareLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -38249,38 +86310,62 @@ func (a PatchedWritableHardwareLCM_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableIPAddress_AssignedObject. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableIPAddress_AssignedObject) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableIPAddress_AssignedObject -func (a *PatchedWritableIPAddress_AssignedObject) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableIPAddress_AssignedObject to handle AdditionalProperties -func (a *PatchedWritableIPAddress_AssignedObject) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -38288,11 +86373,32 @@ func (a *PatchedWritableIPAddress_AssignedObject) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedWritableIPAddress_AssignedObject to handle AdditionalProperties -func (a PatchedWritableIPAddress_AssignedObject) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -38302,38 +86408,62 @@ func (a PatchedWritableIPAddress_AssignedObject) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableIPAddress_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableIPAddress_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableIPAddress_ComputedFields -func (a *PatchedWritableIPAddress_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableIPAddress_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableIPAddress_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -38341,11 +86471,32 @@ func (a *PatchedWritableIPAddress_ComputedFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedWritableIPAddress_ComputedFields to handle AdditionalProperties -func (a PatchedWritableIPAddress_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -38355,38 +86506,62 @@ func (a PatchedWritableIPAddress_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableIPAddress_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableIPAddress_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableIPAddress_CustomFields -func (a *PatchedWritableIPAddress_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableIPAddress_CustomFields to handle AdditionalProperties -func (a *PatchedWritableIPAddress_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -38394,11 +86569,32 @@ func (a *PatchedWritableIPAddress_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableIPAddress_CustomFields to handle AdditionalProperties -func (a PatchedWritableIPAddress_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -38408,38 +86604,62 @@ func (a PatchedWritableIPAddress_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableInterface_CablePeer. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableInterface_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableInterface_CablePeer -func (a *PatchedWritableInterface_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableInterface_CablePeer to handle AdditionalProperties -func (a *PatchedWritableInterface_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -38447,11 +86667,32 @@ func (a *PatchedWritableInterface_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableInterface_CablePeer to handle AdditionalProperties -func (a PatchedWritableInterface_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -38461,38 +86702,62 @@ func (a PatchedWritableInterface_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableInterface_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableInterface_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableInterface_ComputedFields -func (a *PatchedWritableInterface_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableInterface_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableInterface_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -38500,11 +86765,32 @@ func (a *PatchedWritableInterface_ComputedFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedWritableInterface_ComputedFields to handle AdditionalProperties -func (a PatchedWritableInterface_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -38514,38 +86800,62 @@ func (a PatchedWritableInterface_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableInterface_ConnectedEndpoint. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableInterface_ConnectedEndpoint) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableInterface_ConnectedEndpoint -func (a *PatchedWritableInterface_ConnectedEndpoint) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableInterface_ConnectedEndpoint to handle AdditionalProperties -func (a *PatchedWritableInterface_ConnectedEndpoint) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -38553,11 +86863,32 @@ func (a *PatchedWritableInterface_ConnectedEndpoint) UnmarshalJSON(b []byte) err return nil } -// Override default JSON handling for PatchedWritableInterface_ConnectedEndpoint to handle AdditionalProperties -func (a PatchedWritableInterface_ConnectedEndpoint) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -38567,38 +86898,62 @@ func (a PatchedWritableInterface_ConnectedEndpoint) MarshalJSON() ([]byte, error return json.Marshal(object) } -// Getter for additional properties for PatchedWritableInterface_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableInterface_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableInterface_CustomFields -func (a *PatchedWritableInterface_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableInterface_CustomFields to handle AdditionalProperties -func (a *PatchedWritableInterface_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -38606,11 +86961,32 @@ func (a *PatchedWritableInterface_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableInterface_CustomFields to handle AdditionalProperties -func (a PatchedWritableInterface_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -38620,38 +86996,62 @@ func (a PatchedWritableInterface_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableInterfaceTemplate_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableInterfaceTemplate_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableInterfaceTemplate_ComputedFields -func (a *PatchedWritableInterfaceTemplate_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableInterfaceTemplate_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableInterfaceTemplate_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -38659,11 +87059,32 @@ func (a *PatchedWritableInterfaceTemplate_ComputedFields) UnmarshalJSON(b []byte return nil } -// Override default JSON handling for PatchedWritableInterfaceTemplate_ComputedFields to handle AdditionalProperties -func (a PatchedWritableInterfaceTemplate_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -38673,38 +87094,62 @@ func (a PatchedWritableInterfaceTemplate_ComputedFields) MarshalJSON() ([]byte, return json.Marshal(object) } -// Getter for additional properties for PatchedWritableInterfaceTemplate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableInterfaceTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableInterfaceTemplate_CustomFields -func (a *PatchedWritableInterfaceTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableInterfaceTemplate_CustomFields to handle AdditionalProperties -func (a *PatchedWritableInterfaceTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -38712,11 +87157,32 @@ func (a *PatchedWritableInterfaceTemplate_CustomFields) UnmarshalJSON(b []byte) return nil } -// Override default JSON handling for PatchedWritableInterfaceTemplate_CustomFields to handle AdditionalProperties -func (a PatchedWritableInterfaceTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -38726,38 +87192,62 @@ func (a PatchedWritableInterfaceTemplate_CustomFields) MarshalJSON() ([]byte, er return json.Marshal(object) } -// Getter for additional properties for PatchedWritableInventoryItem_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableInventoryItem_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableInventoryItem_ComputedFields -func (a *PatchedWritableInventoryItem_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableInventoryItem_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableInventoryItem_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -38765,11 +87255,32 @@ func (a *PatchedWritableInventoryItem_ComputedFields) UnmarshalJSON(b []byte) er return nil } -// Override default JSON handling for PatchedWritableInventoryItem_ComputedFields to handle AdditionalProperties -func (a PatchedWritableInventoryItem_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -38779,38 +87290,62 @@ func (a PatchedWritableInventoryItem_ComputedFields) MarshalJSON() ([]byte, erro return json.Marshal(object) } -// Getter for additional properties for PatchedWritableInventoryItem_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePlatformRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableInventoryItem_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePlatformRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableInventoryItem_CustomFields -func (a *PatchedWritableInventoryItem_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePlatformRequest_Relationships_Destination_Objects_Item +func (a *BulkWritablePlatformRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableInventoryItem_CustomFields to handle AdditionalProperties -func (a *PatchedWritableInventoryItem_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePlatformRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePlatformRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -38818,11 +87353,32 @@ func (a *PatchedWritableInventoryItem_CustomFields) UnmarshalJSON(b []byte) erro return nil } -// Override default JSON handling for PatchedWritableInventoryItem_CustomFields to handle AdditionalProperties -func (a PatchedWritableInventoryItem_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePlatformRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePlatformRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -38832,38 +87388,62 @@ func (a PatchedWritableInventoryItem_CustomFields) MarshalJSON() ([]byte, error) return json.Marshal(object) } -// Getter for additional properties for PatchedWritableObjectPermission_Actions. Returns the specified +// Getter for additional properties for BulkWritablePlatformRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableObjectPermission_Actions) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePlatformRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableObjectPermission_Actions -func (a *PatchedWritableObjectPermission_Actions) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePlatformRequest_Relationships_Peer_Objects_Item +func (a *BulkWritablePlatformRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableObjectPermission_Actions to handle AdditionalProperties -func (a *PatchedWritableObjectPermission_Actions) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePlatformRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePlatformRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -38871,11 +87451,32 @@ func (a *PatchedWritableObjectPermission_Actions) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedWritableObjectPermission_Actions to handle AdditionalProperties -func (a PatchedWritableObjectPermission_Actions) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePlatformRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePlatformRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -38885,38 +87486,62 @@ func (a PatchedWritableObjectPermission_Actions) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableObjectPermission_Constraints. Returns the specified +// Getter for additional properties for BulkWritablePlatformRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableObjectPermission_Constraints) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePlatformRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableObjectPermission_Constraints -func (a *PatchedWritableObjectPermission_Constraints) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePlatformRequest_Relationships_Source_Objects_Item +func (a *BulkWritablePlatformRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableObjectPermission_Constraints to handle AdditionalProperties -func (a *PatchedWritableObjectPermission_Constraints) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePlatformRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePlatformRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -38924,11 +87549,32 @@ func (a *PatchedWritableObjectPermission_Constraints) UnmarshalJSON(b []byte) er return nil } -// Override default JSON handling for PatchedWritableObjectPermission_Constraints to handle AdditionalProperties -func (a PatchedWritableObjectPermission_Constraints) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePlatformRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePlatformRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -38938,38 +87584,62 @@ func (a PatchedWritableObjectPermission_Constraints) MarshalJSON() ([]byte, erro return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePlatform_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePlatform_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePlatform_ComputedFields -func (a *PatchedWritablePlatform_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRequest_Relationships_Destination_Objects_Item +func (a *BulkWritablePolicyRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePlatform_ComputedFields to handle AdditionalProperties -func (a *PatchedWritablePlatform_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -38977,11 +87647,32 @@ func (a *PatchedWritablePlatform_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritablePlatform_ComputedFields to handle AdditionalProperties -func (a PatchedWritablePlatform_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -38991,38 +87682,62 @@ func (a PatchedWritablePlatform_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePlatform_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePlatform_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePlatform_CustomFields -func (a *PatchedWritablePlatform_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRequest_Relationships_Peer_Objects_Item +func (a *BulkWritablePolicyRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePlatform_CustomFields to handle AdditionalProperties -func (a *PatchedWritablePlatform_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -39030,11 +87745,32 @@ func (a *PatchedWritablePlatform_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritablePlatform_CustomFields to handle AdditionalProperties -func (a PatchedWritablePlatform_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -39044,38 +87780,62 @@ func (a PatchedWritablePlatform_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePlatform_NapalmArgs. Returns the specified +// Getter for additional properties for BulkWritablePolicyRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePlatform_NapalmArgs) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePlatform_NapalmArgs -func (a *PatchedWritablePlatform_NapalmArgs) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRequest_Relationships_Source_Objects_Item +func (a *BulkWritablePolicyRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePlatform_NapalmArgs to handle AdditionalProperties -func (a *PatchedWritablePlatform_NapalmArgs) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -39083,11 +87843,32 @@ func (a *PatchedWritablePlatform_NapalmArgs) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritablePlatform_NapalmArgs to handle AdditionalProperties -func (a PatchedWritablePlatform_NapalmArgs) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -39097,38 +87878,62 @@ func (a PatchedWritablePlatform_NapalmArgs) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePowerFeed_CablePeer. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePowerFeed_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePowerFeed_CablePeer -func (a *PatchedWritablePowerFeed_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item +func (a *BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePowerFeed_CablePeer to handle AdditionalProperties -func (a *PatchedWritablePowerFeed_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if len(object) != 0 { + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -39136,11 +87941,32 @@ func (a *PatchedWritablePowerFeed_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritablePowerFeed_CablePeer to handle AdditionalProperties -func (a PatchedWritablePowerFeed_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -39150,38 +87976,62 @@ func (a PatchedWritablePowerFeed_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePowerFeed_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePowerFeed_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePowerFeed_ComputedFields -func (a *PatchedWritablePowerFeed_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item +func (a *BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePowerFeed_ComputedFields to handle AdditionalProperties -func (a *PatchedWritablePowerFeed_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -39189,11 +88039,32 @@ func (a *PatchedWritablePowerFeed_ComputedFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedWritablePowerFeed_ComputedFields to handle AdditionalProperties -func (a PatchedWritablePowerFeed_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -39203,38 +88074,62 @@ func (a PatchedWritablePowerFeed_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePowerFeed_ConnectedEndpoint. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePowerFeed_ConnectedEndpoint) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePowerFeed_ConnectedEndpoint -func (a *PatchedWritablePowerFeed_ConnectedEndpoint) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item +func (a *BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePowerFeed_ConnectedEndpoint to handle AdditionalProperties -func (a *PatchedWritablePowerFeed_ConnectedEndpoint) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -39242,11 +88137,32 @@ func (a *PatchedWritablePowerFeed_ConnectedEndpoint) UnmarshalJSON(b []byte) err return nil } -// Override default JSON handling for PatchedWritablePowerFeed_ConnectedEndpoint to handle AdditionalProperties -func (a PatchedWritablePowerFeed_ConnectedEndpoint) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -39256,38 +88172,62 @@ func (a PatchedWritablePowerFeed_ConnectedEndpoint) MarshalJSON() ([]byte, error return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePowerFeed_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePowerFeed_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePowerFeed_CustomFields -func (a *PatchedWritablePowerFeed_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item +func (a *BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePowerFeed_CustomFields to handle AdditionalProperties -func (a *PatchedWritablePowerFeed_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -39295,11 +88235,32 @@ func (a *PatchedWritablePowerFeed_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritablePowerFeed_CustomFields to handle AdditionalProperties -func (a PatchedWritablePowerFeed_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -39309,38 +88270,62 @@ func (a PatchedWritablePowerFeed_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePowerOutlet_CablePeer. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePowerOutlet_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePowerOutlet_CablePeer -func (a *PatchedWritablePowerOutlet_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item +func (a *BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePowerOutlet_CablePeer to handle AdditionalProperties -func (a *PatchedWritablePowerOutlet_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -39348,11 +88333,32 @@ func (a *PatchedWritablePowerOutlet_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritablePowerOutlet_CablePeer to handle AdditionalProperties -func (a PatchedWritablePowerOutlet_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -39362,38 +88368,62 @@ func (a PatchedWritablePowerOutlet_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePowerOutlet_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePowerOutlet_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePowerOutlet_ComputedFields -func (a *PatchedWritablePowerOutlet_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item +func (a *BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePowerOutlet_ComputedFields to handle AdditionalProperties -func (a *PatchedWritablePowerOutlet_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -39401,11 +88431,32 @@ func (a *PatchedWritablePowerOutlet_ComputedFields) UnmarshalJSON(b []byte) erro return nil } -// Override default JSON handling for PatchedWritablePowerOutlet_ComputedFields to handle AdditionalProperties -func (a PatchedWritablePowerOutlet_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -39415,38 +88466,62 @@ func (a PatchedWritablePowerOutlet_ComputedFields) MarshalJSON() ([]byte, error) return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePowerOutlet_ConnectedEndpoint. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePowerOutlet_ConnectedEndpoint) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePowerOutlet_ConnectedEndpoint -func (a *PatchedWritablePowerOutlet_ConnectedEndpoint) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item +func (a *BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePowerOutlet_ConnectedEndpoint to handle AdditionalProperties -func (a *PatchedWritablePowerOutlet_ConnectedEndpoint) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -39454,11 +88529,32 @@ func (a *PatchedWritablePowerOutlet_ConnectedEndpoint) UnmarshalJSON(b []byte) e return nil } -// Override default JSON handling for PatchedWritablePowerOutlet_ConnectedEndpoint to handle AdditionalProperties -func (a PatchedWritablePowerOutlet_ConnectedEndpoint) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -39468,38 +88564,62 @@ func (a PatchedWritablePowerOutlet_ConnectedEndpoint) MarshalJSON() ([]byte, err return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePowerOutlet_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePowerOutlet_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePowerOutlet_CustomFields -func (a *PatchedWritablePowerOutlet_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item +func (a *BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePowerOutlet_CustomFields to handle AdditionalProperties -func (a *PatchedWritablePowerOutlet_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -39507,11 +88627,32 @@ func (a *PatchedWritablePowerOutlet_CustomFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedWritablePowerOutlet_CustomFields to handle AdditionalProperties -func (a PatchedWritablePowerOutlet_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -39521,38 +88662,62 @@ func (a PatchedWritablePowerOutlet_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePowerOutletTemplate_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePowerOutletTemplate_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePowerOutletTemplate_ComputedFields -func (a *PatchedWritablePowerOutletTemplate_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item +func (a *BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePowerOutletTemplate_ComputedFields to handle AdditionalProperties -func (a *PatchedWritablePowerOutletTemplate_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -39560,11 +88725,32 @@ func (a *PatchedWritablePowerOutletTemplate_ComputedFields) UnmarshalJSON(b []by return nil } -// Override default JSON handling for PatchedWritablePowerOutletTemplate_ComputedFields to handle AdditionalProperties -func (a PatchedWritablePowerOutletTemplate_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -39574,38 +88760,62 @@ func (a PatchedWritablePowerOutletTemplate_ComputedFields) MarshalJSON() ([]byte return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePowerOutletTemplate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePowerOutletTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePowerOutletTemplate_CustomFields -func (a *PatchedWritablePowerOutletTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item +func (a *BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePowerOutletTemplate_CustomFields to handle AdditionalProperties -func (a *PatchedWritablePowerOutletTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -39613,11 +88823,32 @@ func (a *PatchedWritablePowerOutletTemplate_CustomFields) UnmarshalJSON(b []byte return nil } -// Override default JSON handling for PatchedWritablePowerOutletTemplate_CustomFields to handle AdditionalProperties -func (a PatchedWritablePowerOutletTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -39627,38 +88858,62 @@ func (a PatchedWritablePowerOutletTemplate_CustomFields) MarshalJSON() ([]byte, return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePowerPanel_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePowerPanel_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePowerPanel_ComputedFields -func (a *PatchedWritablePowerPanel_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item +func (a *BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePowerPanel_ComputedFields to handle AdditionalProperties -func (a *PatchedWritablePowerPanel_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -39666,11 +88921,32 @@ func (a *PatchedWritablePowerPanel_ComputedFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedWritablePowerPanel_ComputedFields to handle AdditionalProperties -func (a PatchedWritablePowerPanel_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -39680,38 +88956,62 @@ func (a PatchedWritablePowerPanel_ComputedFields) MarshalJSON() ([]byte, error) return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePowerPanel_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePowerPanel_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePowerPanel_CustomFields -func (a *PatchedWritablePowerPanel_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item +func (a *BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePowerPanel_CustomFields to handle AdditionalProperties -func (a *PatchedWritablePowerPanel_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -39719,11 +89019,32 @@ func (a *PatchedWritablePowerPanel_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritablePowerPanel_CustomFields to handle AdditionalProperties -func (a PatchedWritablePowerPanel_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -39733,38 +89054,62 @@ func (a PatchedWritablePowerPanel_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePowerPort_CablePeer. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePowerPort_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePowerPort_CablePeer -func (a *PatchedWritablePowerPort_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item +func (a *BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePowerPort_CablePeer to handle AdditionalProperties -func (a *PatchedWritablePowerPort_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -39772,11 +89117,32 @@ func (a *PatchedWritablePowerPort_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritablePowerPort_CablePeer to handle AdditionalProperties -func (a PatchedWritablePowerPort_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -39786,38 +89152,62 @@ func (a PatchedWritablePowerPort_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePowerPort_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePowerPort_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePowerPort_ComputedFields -func (a *PatchedWritablePowerPort_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item +func (a *BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePowerPort_ComputedFields to handle AdditionalProperties -func (a *PatchedWritablePowerPort_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -39825,11 +89215,32 @@ func (a *PatchedWritablePowerPort_ComputedFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedWritablePowerPort_ComputedFields to handle AdditionalProperties -func (a PatchedWritablePowerPort_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -39839,38 +89250,62 @@ func (a PatchedWritablePowerPort_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePowerPort_ConnectedEndpoint. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePowerPort_ConnectedEndpoint) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePowerPort_ConnectedEndpoint -func (a *PatchedWritablePowerPort_ConnectedEndpoint) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item +func (a *BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePowerPort_ConnectedEndpoint to handle AdditionalProperties -func (a *PatchedWritablePowerPort_ConnectedEndpoint) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -39878,11 +89313,32 @@ func (a *PatchedWritablePowerPort_ConnectedEndpoint) UnmarshalJSON(b []byte) err return nil } -// Override default JSON handling for PatchedWritablePowerPort_ConnectedEndpoint to handle AdditionalProperties -func (a PatchedWritablePowerPort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -39892,38 +89348,62 @@ func (a PatchedWritablePowerPort_ConnectedEndpoint) MarshalJSON() ([]byte, error return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePowerPort_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePowerPort_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePowerPort_CustomFields -func (a *PatchedWritablePowerPort_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item +func (a *BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePowerPort_CustomFields to handle AdditionalProperties -func (a *PatchedWritablePowerPort_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -39931,11 +89411,32 @@ func (a *PatchedWritablePowerPort_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritablePowerPort_CustomFields to handle AdditionalProperties -func (a PatchedWritablePowerPort_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -39945,38 +89446,62 @@ func (a PatchedWritablePowerPort_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePowerPortTemplate_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePowerPortTemplate_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePowerPortTemplate_ComputedFields -func (a *PatchedWritablePowerPortTemplate_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item +func (a *BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePowerPortTemplate_ComputedFields to handle AdditionalProperties -func (a *PatchedWritablePowerPortTemplate_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -39984,11 +89509,32 @@ func (a *PatchedWritablePowerPortTemplate_ComputedFields) UnmarshalJSON(b []byte return nil } -// Override default JSON handling for PatchedWritablePowerPortTemplate_ComputedFields to handle AdditionalProperties -func (a PatchedWritablePowerPortTemplate_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -39998,38 +89544,62 @@ func (a PatchedWritablePowerPortTemplate_ComputedFields) MarshalJSON() ([]byte, return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePowerPortTemplate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePowerPortTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePowerPortTemplate_CustomFields -func (a *PatchedWritablePowerPortTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item +func (a *BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePowerPortTemplate_CustomFields to handle AdditionalProperties -func (a *PatchedWritablePowerPortTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -40037,11 +89607,32 @@ func (a *PatchedWritablePowerPortTemplate_CustomFields) UnmarshalJSON(b []byte) return nil } -// Override default JSON handling for PatchedWritablePowerPortTemplate_CustomFields to handle AdditionalProperties -func (a PatchedWritablePowerPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -40051,38 +89642,62 @@ func (a PatchedWritablePowerPortTemplate_CustomFields) MarshalJSON() ([]byte, er return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePrefix_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePrefix_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePrefix_ComputedFields -func (a *PatchedWritablePrefix_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item +func (a *BulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePrefix_ComputedFields to handle AdditionalProperties -func (a *PatchedWritablePrefix_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -40090,11 +89705,32 @@ func (a *PatchedWritablePrefix_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritablePrefix_ComputedFields to handle AdditionalProperties -func (a PatchedWritablePrefix_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -40104,38 +89740,62 @@ func (a PatchedWritablePrefix_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritablePrefix_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritablePrefix_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritablePrefix_CustomFields -func (a *PatchedWritablePrefix_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item +func (a *BulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritablePrefix_CustomFields to handle AdditionalProperties -func (a *PatchedWritablePrefix_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -40143,11 +89803,32 @@ func (a *PatchedWritablePrefix_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritablePrefix_CustomFields to handle AdditionalProperties -func (a PatchedWritablePrefix_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -40157,38 +89838,62 @@ func (a PatchedWritablePrefix_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableProviderNetwork_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableProviderNetwork_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableProviderNetwork_ComputedFields -func (a *PatchedWritableProviderNetwork_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item +func (a *BulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableProviderNetwork_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableProviderNetwork_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -40196,11 +89901,32 @@ func (a *PatchedWritableProviderNetwork_ComputedFields) UnmarshalJSON(b []byte) return nil } -// Override default JSON handling for PatchedWritableProviderNetwork_ComputedFields to handle AdditionalProperties -func (a PatchedWritableProviderNetwork_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -40210,50 +89936,95 @@ func (a PatchedWritableProviderNetwork_ComputedFields) MarshalJSON() ([]byte, er return json.Marshal(object) } -// Getter for additional properties for PatchedWritableProviderNetwork_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableProviderNetwork_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableProviderNetwork_CustomFields -func (a *PatchedWritableProviderNetwork_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item +func (a *BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableProviderNetwork_CustomFields to handle AdditionalProperties -func (a *PatchedWritableProviderNetwork_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if len(object) != 0 { - a.AdditionalProperties = make(map[string]interface{}) - for fieldName, fieldBuf := range object { - var fieldVal interface{} - err := json.Unmarshal(fieldBuf, &fieldVal) - if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) - } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } a.AdditionalProperties[fieldName] = fieldVal } } return nil } -// Override default JSON handling for PatchedWritableProviderNetwork_CustomFields to handle AdditionalProperties -func (a PatchedWritableProviderNetwork_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -40263,38 +90034,62 @@ func (a PatchedWritableProviderNetwork_CustomFields) MarshalJSON() ([]byte, erro return json.Marshal(object) } -// Getter for additional properties for PatchedWritableRack_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableRack_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableRack_ComputedFields -func (a *PatchedWritableRack_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item +func (a *BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableRack_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableRack_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -40302,11 +90097,32 @@ func (a *PatchedWritableRack_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableRack_ComputedFields to handle AdditionalProperties -func (a PatchedWritableRack_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -40316,38 +90132,62 @@ func (a PatchedWritableRack_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableRack_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableRack_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableRack_CustomFields -func (a *PatchedWritableRack_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item +func (a *BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableRack_CustomFields to handle AdditionalProperties -func (a *PatchedWritableRack_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -40355,11 +90195,32 @@ func (a *PatchedWritableRack_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableRack_CustomFields to handle AdditionalProperties -func (a PatchedWritableRack_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -40369,38 +90230,62 @@ func (a PatchedWritableRack_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableRackGroup_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableRackGroup_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableRackGroup_ComputedFields -func (a *PatchedWritableRackGroup_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item +func (a *BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableRackGroup_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableRackGroup_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -40408,11 +90293,32 @@ func (a *PatchedWritableRackGroup_ComputedFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedWritableRackGroup_ComputedFields to handle AdditionalProperties -func (a PatchedWritableRackGroup_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -40422,38 +90328,62 @@ func (a PatchedWritableRackGroup_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableRackGroup_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableRackGroup_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableRackGroup_CustomFields -func (a *PatchedWritableRackGroup_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item +func (a *BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableRackGroup_CustomFields to handle AdditionalProperties -func (a *PatchedWritableRackGroup_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -40461,11 +90391,32 @@ func (a *PatchedWritableRackGroup_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableRackGroup_CustomFields to handle AdditionalProperties -func (a PatchedWritableRackGroup_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -40475,38 +90426,62 @@ func (a PatchedWritableRackGroup_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableRackReservation_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableRackReservation_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableRackReservation_ComputedFields -func (a *PatchedWritableRackReservation_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item +func (a *BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableRackReservation_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableRackReservation_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -40514,11 +90489,32 @@ func (a *PatchedWritableRackReservation_ComputedFields) UnmarshalJSON(b []byte) return nil } -// Override default JSON handling for PatchedWritableRackReservation_ComputedFields to handle AdditionalProperties -func (a PatchedWritableRackReservation_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -40528,38 +90524,62 @@ func (a PatchedWritableRackReservation_ComputedFields) MarshalJSON() ([]byte, er return json.Marshal(object) } -// Getter for additional properties for PatchedWritableRackReservation_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableRackReservation_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableRackReservation_CustomFields -func (a *PatchedWritableRackReservation_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item +func (a *BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableRackReservation_CustomFields to handle AdditionalProperties -func (a *PatchedWritableRackReservation_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -40567,11 +90587,32 @@ func (a *PatchedWritableRackReservation_CustomFields) UnmarshalJSON(b []byte) er return nil } -// Override default JSON handling for PatchedWritableRackReservation_CustomFields to handle AdditionalProperties -func (a PatchedWritableRackReservation_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -40581,38 +90622,62 @@ func (a PatchedWritableRackReservation_CustomFields) MarshalJSON() ([]byte, erro return json.Marshal(object) } -// Getter for additional properties for PatchedWritableRackReservation_Units. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableRackReservation_Units) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableRackReservation_Units -func (a *PatchedWritableRackReservation_Units) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item +func (a *BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableRackReservation_Units to handle AdditionalProperties -func (a *PatchedWritableRackReservation_Units) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -40620,11 +90685,32 @@ func (a *PatchedWritableRackReservation_Units) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableRackReservation_Units to handle AdditionalProperties -func (a PatchedWritableRackReservation_Units) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -40634,38 +90720,62 @@ func (a PatchedWritableRackReservation_Units) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableRearPort_CablePeer. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableRearPort_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableRearPort_CablePeer -func (a *PatchedWritableRearPort_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item +func (a *BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableRearPort_CablePeer to handle AdditionalProperties -func (a *PatchedWritableRearPort_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -40673,11 +90783,32 @@ func (a *PatchedWritableRearPort_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableRearPort_CablePeer to handle AdditionalProperties -func (a PatchedWritableRearPort_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -40687,38 +90818,62 @@ func (a PatchedWritableRearPort_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableRearPort_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableRearPort_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableRearPort_ComputedFields -func (a *PatchedWritableRearPort_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item +func (a *BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableRearPort_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableRearPort_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -40726,11 +90881,32 @@ func (a *PatchedWritableRearPort_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableRearPort_ComputedFields to handle AdditionalProperties -func (a PatchedWritableRearPort_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -40740,38 +90916,62 @@ func (a PatchedWritableRearPort_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableRearPort_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableRearPort_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableRearPort_CustomFields -func (a *PatchedWritableRearPort_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item +func (a *BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableRearPort_CustomFields to handle AdditionalProperties -func (a *PatchedWritableRearPort_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -40779,11 +90979,32 @@ func (a *PatchedWritableRearPort_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableRearPort_CustomFields to handle AdditionalProperties -func (a PatchedWritableRearPort_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -40793,38 +91014,62 @@ func (a PatchedWritableRearPort_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableRearPortTemplate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableRearPortTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableRearPortTemplate_CustomFields -func (a *PatchedWritableRearPortTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item +func (a *BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableRearPortTemplate_CustomFields to handle AdditionalProperties -func (a *PatchedWritableRearPortTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -40832,11 +91077,32 @@ func (a *PatchedWritableRearPortTemplate_CustomFields) UnmarshalJSON(b []byte) e return nil } -// Override default JSON handling for PatchedWritableRearPortTemplate_CustomFields to handle AdditionalProperties -func (a PatchedWritableRearPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -40846,38 +91112,62 @@ func (a PatchedWritableRearPortTemplate_CustomFields) MarshalJSON() ([]byte, err return json.Marshal(object) } -// Getter for additional properties for PatchedWritableRegion_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableRegion_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableRegion_ComputedFields -func (a *PatchedWritableRegion_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item +func (a *BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableRegion_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableRegion_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -40885,11 +91175,32 @@ func (a *PatchedWritableRegion_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableRegion_ComputedFields to handle AdditionalProperties -func (a PatchedWritableRegion_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -40899,38 +91210,62 @@ func (a PatchedWritableRegion_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableRegion_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableRegion_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableRegion_CustomFields -func (a *PatchedWritableRegion_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item +func (a *BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableRegion_CustomFields to handle AdditionalProperties -func (a *PatchedWritableRegion_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -40938,11 +91273,32 @@ func (a *PatchedWritableRegion_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableRegion_CustomFields to handle AdditionalProperties -func (a PatchedWritableRegion_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -40952,38 +91308,62 @@ func (a PatchedWritableRegion_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableRouteTarget_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableRouteTarget_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableRouteTarget_ComputedFields -func (a *PatchedWritableRouteTarget_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item +func (a *BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableRouteTarget_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableRouteTarget_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -40991,11 +91371,32 @@ func (a *PatchedWritableRouteTarget_ComputedFields) UnmarshalJSON(b []byte) erro return nil } -// Override default JSON handling for PatchedWritableRouteTarget_ComputedFields to handle AdditionalProperties -func (a PatchedWritableRouteTarget_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -41005,38 +91406,62 @@ func (a PatchedWritableRouteTarget_ComputedFields) MarshalJSON() ([]byte, error) return json.Marshal(object) } -// Getter for additional properties for PatchedWritableRouteTarget_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableRouteTarget_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableRouteTarget_CustomFields -func (a *PatchedWritableRouteTarget_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item +func (a *BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableRouteTarget_CustomFields to handle AdditionalProperties -func (a *PatchedWritableRouteTarget_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -41044,11 +91469,32 @@ func (a *PatchedWritableRouteTarget_CustomFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedWritableRouteTarget_CustomFields to handle AdditionalProperties -func (a PatchedWritableRouteTarget_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -41058,38 +91504,62 @@ func (a PatchedWritableRouteTarget_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableService_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableService_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableService_ComputedFields -func (a *PatchedWritableService_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item +func (a *BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableService_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableService_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -41097,11 +91567,32 @@ func (a *PatchedWritableService_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableService_ComputedFields to handle AdditionalProperties -func (a PatchedWritableService_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -41111,38 +91602,62 @@ func (a PatchedWritableService_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableService_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableService_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableService_CustomFields -func (a *PatchedWritableService_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item +func (a *BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableService_CustomFields to handle AdditionalProperties -func (a *PatchedWritableService_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -41150,11 +91665,32 @@ func (a *PatchedWritableService_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableService_CustomFields to handle AdditionalProperties -func (a PatchedWritableService_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -41164,38 +91700,62 @@ func (a PatchedWritableService_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableSite_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableSite_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableSite_ComputedFields -func (a *PatchedWritableSite_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item +func (a *BulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableSite_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableSite_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -41203,11 +91763,32 @@ func (a *PatchedWritableSite_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableSite_ComputedFields to handle AdditionalProperties -func (a PatchedWritableSite_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -41217,38 +91798,62 @@ func (a PatchedWritableSite_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableSite_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableSite_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableSite_CustomFields -func (a *PatchedWritableSite_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item +func (a *BulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableSite_CustomFields to handle AdditionalProperties -func (a *PatchedWritableSite_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -41256,11 +91861,32 @@ func (a *PatchedWritableSite_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableSite_CustomFields to handle AdditionalProperties -func (a PatchedWritableSite_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -41270,38 +91896,62 @@ func (a PatchedWritableSite_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableSoftwareImageLCM_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePowerFeedRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableSoftwareImageLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePowerFeedRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableSoftwareImageLCM_CustomFields -func (a *PatchedWritableSoftwareImageLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePowerFeedRequest_Relationships_Source_Objects_Item +func (a *BulkWritablePowerFeedRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableSoftwareImageLCM_CustomFields to handle AdditionalProperties -func (a *PatchedWritableSoftwareImageLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePowerFeedRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePowerFeedRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -41309,11 +91959,32 @@ func (a *PatchedWritableSoftwareImageLCM_CustomFields) UnmarshalJSON(b []byte) e return nil } -// Override default JSON handling for PatchedWritableSoftwareImageLCM_CustomFields to handle AdditionalProperties -func (a PatchedWritableSoftwareImageLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePowerFeedRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePowerFeedRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -41323,38 +91994,62 @@ func (a PatchedWritableSoftwareImageLCM_CustomFields) MarshalJSON() ([]byte, err return json.Marshal(object) } -// Getter for additional properties for PatchedWritableSoftwareLCM_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableSoftwareLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableSoftwareLCM_CustomFields -func (a *PatchedWritableSoftwareLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item +func (a *BulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableSoftwareLCM_CustomFields to handle AdditionalProperties -func (a *PatchedWritableSoftwareLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if len(object) != 0 { + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -41362,11 +92057,32 @@ func (a *PatchedWritableSoftwareLCM_CustomFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedWritableSoftwareLCM_CustomFields to handle AdditionalProperties -func (a PatchedWritableSoftwareLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -41376,38 +92092,62 @@ func (a PatchedWritableSoftwareLCM_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableTenant_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableTenant_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableTenant_ComputedFields -func (a *PatchedWritableTenant_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item +func (a *BulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableTenant_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableTenant_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -41415,11 +92155,32 @@ func (a *PatchedWritableTenant_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableTenant_ComputedFields to handle AdditionalProperties -func (a PatchedWritableTenant_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -41429,38 +92190,62 @@ func (a PatchedWritableTenant_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableTenant_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePowerOutletRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableTenant_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePowerOutletRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableTenant_CustomFields -func (a *PatchedWritableTenant_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePowerOutletRequest_Relationships_Source_Objects_Item +func (a *BulkWritablePowerOutletRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableTenant_CustomFields to handle AdditionalProperties -func (a *PatchedWritableTenant_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePowerOutletRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePowerOutletRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -41468,11 +92253,32 @@ func (a *PatchedWritableTenant_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableTenant_CustomFields to handle AdditionalProperties -func (a PatchedWritableTenant_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePowerOutletRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePowerOutletRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -41482,38 +92288,62 @@ func (a PatchedWritableTenant_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableTenantGroup_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableTenantGroup_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableTenantGroup_ComputedFields -func (a *PatchedWritableTenantGroup_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item +func (a *BulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableTenantGroup_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableTenantGroup_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -41521,11 +92351,32 @@ func (a *PatchedWritableTenantGroup_ComputedFields) UnmarshalJSON(b []byte) erro return nil } -// Override default JSON handling for PatchedWritableTenantGroup_ComputedFields to handle AdditionalProperties -func (a PatchedWritableTenantGroup_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -41535,38 +92386,62 @@ func (a PatchedWritableTenantGroup_ComputedFields) MarshalJSON() ([]byte, error) return json.Marshal(object) } -// Getter for additional properties for PatchedWritableTenantGroup_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableTenantGroup_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableTenantGroup_CustomFields -func (a *PatchedWritableTenantGroup_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item +func (a *BulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableTenantGroup_CustomFields to handle AdditionalProperties -func (a *PatchedWritableTenantGroup_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -41574,11 +92449,32 @@ func (a *PatchedWritableTenantGroup_CustomFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedWritableTenantGroup_CustomFields to handle AdditionalProperties -func (a PatchedWritableTenantGroup_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -41588,38 +92484,62 @@ func (a PatchedWritableTenantGroup_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableVLAN_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableVLAN_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableVLAN_ComputedFields -func (a *PatchedWritableVLAN_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item +func (a *BulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableVLAN_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableVLAN_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -41627,11 +92547,32 @@ func (a *PatchedWritableVLAN_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableVLAN_ComputedFields to handle AdditionalProperties -func (a PatchedWritableVLAN_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -41641,38 +92582,62 @@ func (a PatchedWritableVLAN_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableVLAN_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableVLAN_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableVLAN_CustomFields -func (a *PatchedWritableVLAN_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item +func (a *BulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableVLAN_CustomFields to handle AdditionalProperties -func (a *PatchedWritableVLAN_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -41680,11 +92645,32 @@ func (a *PatchedWritableVLAN_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableVLAN_CustomFields to handle AdditionalProperties -func (a PatchedWritableVLAN_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -41694,38 +92680,62 @@ func (a PatchedWritableVLAN_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableVLANGroup_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableVLANGroup_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableVLANGroup_ComputedFields -func (a *PatchedWritableVLANGroup_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item +func (a *BulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableVLANGroup_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableVLANGroup_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -41733,11 +92743,32 @@ func (a *PatchedWritableVLANGroup_ComputedFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for PatchedWritableVLANGroup_ComputedFields to handle AdditionalProperties -func (a PatchedWritableVLANGroup_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -41747,38 +92778,62 @@ func (a PatchedWritableVLANGroup_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableVLANGroup_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePowerPanelRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableVLANGroup_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePowerPanelRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableVLANGroup_CustomFields -func (a *PatchedWritableVLANGroup_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePowerPanelRequest_Relationships_Source_Objects_Item +func (a *BulkWritablePowerPanelRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableVLANGroup_CustomFields to handle AdditionalProperties -func (a *PatchedWritableVLANGroup_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePowerPanelRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePowerPanelRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -41786,11 +92841,32 @@ func (a *PatchedWritableVLANGroup_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableVLANGroup_CustomFields to handle AdditionalProperties -func (a PatchedWritableVLANGroup_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePowerPanelRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePowerPanelRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -41800,38 +92876,62 @@ func (a PatchedWritableVLANGroup_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableVRF_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePowerPortRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableVRF_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePowerPortRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableVRF_ComputedFields -func (a *PatchedWritableVRF_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePowerPortRequest_Relationships_Destination_Objects_Item +func (a *BulkWritablePowerPortRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableVRF_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableVRF_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePowerPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePowerPortRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -41839,11 +92939,32 @@ func (a *PatchedWritableVRF_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableVRF_ComputedFields to handle AdditionalProperties -func (a PatchedWritableVRF_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePowerPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePowerPortRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -41853,38 +92974,62 @@ func (a PatchedWritableVRF_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableVRF_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePowerPortRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableVRF_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePowerPortRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableVRF_CustomFields -func (a *PatchedWritableVRF_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePowerPortRequest_Relationships_Peer_Objects_Item +func (a *BulkWritablePowerPortRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableVRF_CustomFields to handle AdditionalProperties -func (a *PatchedWritableVRF_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePowerPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePowerPortRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -41892,11 +93037,32 @@ func (a *PatchedWritableVRF_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PatchedWritableVRF_CustomFields to handle AdditionalProperties -func (a PatchedWritableVRF_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePowerPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePowerPortRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -41906,38 +93072,62 @@ func (a PatchedWritableVRF_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PatchedWritableValidatedSoftwareLCM_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePowerPortRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableValidatedSoftwareLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePowerPortRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableValidatedSoftwareLCM_CustomFields -func (a *PatchedWritableValidatedSoftwareLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePowerPortRequest_Relationships_Source_Objects_Item +func (a *BulkWritablePowerPortRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableValidatedSoftwareLCM_CustomFields to handle AdditionalProperties -func (a *PatchedWritableValidatedSoftwareLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePowerPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePowerPortRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -41945,11 +93135,32 @@ func (a *PatchedWritableValidatedSoftwareLCM_CustomFields) UnmarshalJSON(b []byt return nil } -// Override default JSON handling for PatchedWritableValidatedSoftwareLCM_CustomFields to handle AdditionalProperties -func (a PatchedWritableValidatedSoftwareLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePowerPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePowerPortRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -41959,38 +93170,62 @@ func (a PatchedWritableValidatedSoftwareLCM_CustomFields) MarshalJSON() ([]byte, return json.Marshal(object) } -// Getter for additional properties for PatchedWritableVirtualChassis_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableVirtualChassis_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableVirtualChassis_ComputedFields -func (a *PatchedWritableVirtualChassis_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item +func (a *BulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableVirtualChassis_ComputedFields to handle AdditionalProperties -func (a *PatchedWritableVirtualChassis_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -41998,11 +93233,32 @@ func (a *PatchedWritableVirtualChassis_ComputedFields) UnmarshalJSON(b []byte) e return nil } -// Override default JSON handling for PatchedWritableVirtualChassis_ComputedFields to handle AdditionalProperties -func (a PatchedWritableVirtualChassis_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -42012,38 +93268,62 @@ func (a PatchedWritableVirtualChassis_ComputedFields) MarshalJSON() ([]byte, err return json.Marshal(object) } -// Getter for additional properties for PatchedWritableVirtualChassis_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableVirtualChassis_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableVirtualChassis_CustomFields -func (a *PatchedWritableVirtualChassis_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item +func (a *BulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableVirtualChassis_CustomFields to handle AdditionalProperties -func (a *PatchedWritableVirtualChassis_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -42051,11 +93331,32 @@ func (a *PatchedWritableVirtualChassis_CustomFields) UnmarshalJSON(b []byte) err return nil } -// Override default JSON handling for PatchedWritableVirtualChassis_CustomFields to handle AdditionalProperties -func (a PatchedWritableVirtualChassis_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -42065,38 +93366,62 @@ func (a PatchedWritableVirtualChassis_CustomFields) MarshalJSON() ([]byte, error return json.Marshal(object) } -// Getter for additional properties for PatchedWritableVirtualMachineWithConfigContext_ConfigContext. Returns the specified +// Getter for additional properties for BulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableVirtualMachineWithConfigContext_ConfigContext) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableVirtualMachineWithConfigContext_ConfigContext -func (a *PatchedWritableVirtualMachineWithConfigContext_ConfigContext) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item +func (a *BulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableVirtualMachineWithConfigContext_ConfigContext to handle AdditionalProperties -func (a *PatchedWritableVirtualMachineWithConfigContext_ConfigContext) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -42104,11 +93429,32 @@ func (a *PatchedWritableVirtualMachineWithConfigContext_ConfigContext) Unmarshal return nil } -// Override default JSON handling for PatchedWritableVirtualMachineWithConfigContext_ConfigContext to handle AdditionalProperties -func (a PatchedWritableVirtualMachineWithConfigContext_ConfigContext) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -42118,38 +93464,62 @@ func (a PatchedWritableVirtualMachineWithConfigContext_ConfigContext) MarshalJSO return json.Marshal(object) } -// Getter for additional properties for PatchedWritableVirtualMachineWithConfigContext_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePrefixRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableVirtualMachineWithConfigContext_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePrefixRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableVirtualMachineWithConfigContext_CustomFields -func (a *PatchedWritableVirtualMachineWithConfigContext_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePrefixRequest_Relationships_Destination_Objects_Item +func (a *BulkWritablePrefixRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableVirtualMachineWithConfigContext_CustomFields to handle AdditionalProperties -func (a *PatchedWritableVirtualMachineWithConfigContext_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePrefixRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePrefixRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -42157,11 +93527,32 @@ func (a *PatchedWritableVirtualMachineWithConfigContext_CustomFields) UnmarshalJ return nil } -// Override default JSON handling for PatchedWritableVirtualMachineWithConfigContext_CustomFields to handle AdditionalProperties -func (a PatchedWritableVirtualMachineWithConfigContext_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePrefixRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritablePrefixRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -42171,38 +93562,62 @@ func (a PatchedWritableVirtualMachineWithConfigContext_CustomFields) MarshalJSON return json.Marshal(object) } -// Getter for additional properties for PatchedWritableVirtualMachineWithConfigContext_LocalContextData. Returns the specified +// Getter for additional properties for BulkWritablePrefixRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PatchedWritableVirtualMachineWithConfigContext_LocalContextData) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePrefixRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PatchedWritableVirtualMachineWithConfigContext_LocalContextData -func (a *PatchedWritableVirtualMachineWithConfigContext_LocalContextData) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePrefixRequest_Relationships_Peer_Objects_Item +func (a *BulkWritablePrefixRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PatchedWritableVirtualMachineWithConfigContext_LocalContextData to handle AdditionalProperties -func (a *PatchedWritableVirtualMachineWithConfigContext_LocalContextData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePrefixRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePrefixRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -42210,11 +93625,32 @@ func (a *PatchedWritableVirtualMachineWithConfigContext_LocalContextData) Unmars return nil } -// Override default JSON handling for PatchedWritableVirtualMachineWithConfigContext_LocalContextData to handle AdditionalProperties -func (a PatchedWritableVirtualMachineWithConfigContext_LocalContextData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePrefixRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritablePrefixRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -42224,38 +93660,62 @@ func (a PatchedWritableVirtualMachineWithConfigContext_LocalContextData) Marshal return json.Marshal(object) } -// Getter for additional properties for Platform_CustomFields. Returns the specified +// Getter for additional properties for BulkWritablePrefixRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a Platform_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritablePrefixRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Platform_CustomFields -func (a *Platform_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritablePrefixRequest_Relationships_Source_Objects_Item +func (a *BulkWritablePrefixRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Platform_CustomFields to handle AdditionalProperties -func (a *Platform_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritablePrefixRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritablePrefixRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -42263,11 +93723,32 @@ func (a *Platform_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Platform_CustomFields to handle AdditionalProperties -func (a Platform_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritablePrefixRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritablePrefixRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -42277,38 +93758,62 @@ func (a Platform_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Platform_NapalmArgs. Returns the specified +// Getter for additional properties for BulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a Platform_NapalmArgs) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Platform_NapalmArgs -func (a *Platform_NapalmArgs) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Platform_NapalmArgs to handle AdditionalProperties -func (a *Platform_NapalmArgs) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -42316,11 +93821,32 @@ func (a *Platform_NapalmArgs) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Platform_NapalmArgs to handle AdditionalProperties -func (a Platform_NapalmArgs) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -42330,38 +93856,62 @@ func (a Platform_NapalmArgs) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PowerFeed_CablePeer. Returns the specified +// Getter for additional properties for BulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PowerFeed_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PowerFeed_CablePeer -func (a *PowerFeed_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PowerFeed_CablePeer to handle AdditionalProperties -func (a *PowerFeed_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -42369,11 +93919,32 @@ func (a *PowerFeed_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PowerFeed_CablePeer to handle AdditionalProperties -func (a PowerFeed_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -42383,38 +93954,62 @@ func (a PowerFeed_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PowerFeed_ConnectedEndpoint. Returns the specified +// Getter for additional properties for BulkWritableProviderLCMRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PowerFeed_ConnectedEndpoint) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableProviderLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PowerFeed_ConnectedEndpoint -func (a *PowerFeed_ConnectedEndpoint) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableProviderLCMRequest_Relationships_Source_Objects_Item +func (a *BulkWritableProviderLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PowerFeed_ConnectedEndpoint to handle AdditionalProperties -func (a *PowerFeed_ConnectedEndpoint) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableProviderLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableProviderLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -42422,11 +94017,32 @@ func (a *PowerFeed_ConnectedEndpoint) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PowerFeed_ConnectedEndpoint to handle AdditionalProperties -func (a PowerFeed_ConnectedEndpoint) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableProviderLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableProviderLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -42436,50 +94052,95 @@ func (a PowerFeed_ConnectedEndpoint) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PowerFeed_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PowerFeed_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PowerFeed_CustomFields -func (a *PowerFeed_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PowerFeed_CustomFields to handle AdditionalProperties -func (a *PowerFeed_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if len(object) != 0 { - a.AdditionalProperties = make(map[string]interface{}) - for fieldName, fieldBuf := range object { - var fieldVal interface{} - err := json.Unmarshal(fieldBuf, &fieldVal) - if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) - } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } a.AdditionalProperties[fieldName] = fieldVal } } return nil } -// Override default JSON handling for PowerFeed_CustomFields to handle AdditionalProperties -func (a PowerFeed_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -42489,38 +94150,62 @@ func (a PowerFeed_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PowerOutlet_CablePeer. Returns the specified +// Getter for additional properties for BulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PowerOutlet_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PowerOutlet_CablePeer -func (a *PowerOutlet_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PowerOutlet_CablePeer to handle AdditionalProperties -func (a *PowerOutlet_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -42528,11 +94213,32 @@ func (a *PowerOutlet_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PowerOutlet_CablePeer to handle AdditionalProperties -func (a PowerOutlet_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -42542,38 +94248,62 @@ func (a PowerOutlet_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PowerOutlet_ConnectedEndpoint. Returns the specified +// Getter for additional properties for BulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PowerOutlet_ConnectedEndpoint) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PowerOutlet_ConnectedEndpoint -func (a *PowerOutlet_ConnectedEndpoint) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item +func (a *BulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PowerOutlet_ConnectedEndpoint to handle AdditionalProperties -func (a *PowerOutlet_ConnectedEndpoint) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -42581,11 +94311,32 @@ func (a *PowerOutlet_ConnectedEndpoint) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PowerOutlet_ConnectedEndpoint to handle AdditionalProperties -func (a PowerOutlet_ConnectedEndpoint) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -42595,38 +94346,62 @@ func (a PowerOutlet_ConnectedEndpoint) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PowerOutlet_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableProviderRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PowerOutlet_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableProviderRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PowerOutlet_CustomFields -func (a *PowerOutlet_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableProviderRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableProviderRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PowerOutlet_CustomFields to handle AdditionalProperties -func (a *PowerOutlet_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableProviderRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableProviderRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -42634,11 +94409,32 @@ func (a *PowerOutlet_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PowerOutlet_CustomFields to handle AdditionalProperties -func (a PowerOutlet_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableProviderRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableProviderRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -42648,38 +94444,62 @@ func (a PowerOutlet_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PowerOutletTemplate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableProviderRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PowerOutletTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableProviderRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PowerOutletTemplate_CustomFields -func (a *PowerOutletTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableProviderRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableProviderRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PowerOutletTemplate_CustomFields to handle AdditionalProperties -func (a *PowerOutletTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableProviderRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableProviderRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -42687,11 +94507,32 @@ func (a *PowerOutletTemplate_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PowerOutletTemplate_CustomFields to handle AdditionalProperties -func (a PowerOutletTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableProviderRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableProviderRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -42701,38 +94542,62 @@ func (a PowerOutletTemplate_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PowerPanel_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableProviderRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PowerPanel_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableProviderRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PowerPanel_CustomFields -func (a *PowerPanel_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableProviderRequest_Relationships_Source_Objects_Item +func (a *BulkWritableProviderRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PowerPanel_CustomFields to handle AdditionalProperties -func (a *PowerPanel_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableProviderRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableProviderRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -42740,11 +94605,32 @@ func (a *PowerPanel_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PowerPanel_CustomFields to handle AdditionalProperties -func (a PowerPanel_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableProviderRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableProviderRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -42754,38 +94640,62 @@ func (a PowerPanel_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PowerPort_CablePeer. Returns the specified +// Getter for additional properties for BulkWritableRIRRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PowerPort_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRIRRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PowerPort_CablePeer -func (a *PowerPort_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRIRRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableRIRRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PowerPort_CablePeer to handle AdditionalProperties -func (a *PowerPort_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRIRRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRIRRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -42793,11 +94703,32 @@ func (a *PowerPort_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PowerPort_CablePeer to handle AdditionalProperties -func (a PowerPort_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRIRRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableRIRRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -42807,38 +94738,62 @@ func (a PowerPort_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PowerPort_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableRIRRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PowerPort_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRIRRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PowerPort_ComputedFields -func (a *PowerPort_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRIRRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableRIRRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PowerPort_ComputedFields to handle AdditionalProperties -func (a *PowerPort_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRIRRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRIRRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -42846,11 +94801,32 @@ func (a *PowerPort_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PowerPort_ComputedFields to handle AdditionalProperties -func (a PowerPort_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRIRRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableRIRRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -42860,38 +94836,62 @@ func (a PowerPort_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PowerPort_ConnectedEndpoint. Returns the specified +// Getter for additional properties for BulkWritableRIRRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a PowerPort_ConnectedEndpoint) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRIRRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PowerPort_ConnectedEndpoint -func (a *PowerPort_ConnectedEndpoint) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRIRRequest_Relationships_Source_Objects_Item +func (a *BulkWritableRIRRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PowerPort_ConnectedEndpoint to handle AdditionalProperties -func (a *PowerPort_ConnectedEndpoint) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRIRRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRIRRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -42899,11 +94899,32 @@ func (a *PowerPort_ConnectedEndpoint) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PowerPort_ConnectedEndpoint to handle AdditionalProperties -func (a PowerPort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRIRRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableRIRRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -42913,38 +94934,62 @@ func (a PowerPort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PowerPort_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRackGroupRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a PowerPort_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRackGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PowerPort_CustomFields -func (a *PowerPort_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRackGroupRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableRackGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PowerPort_CustomFields to handle AdditionalProperties -func (a *PowerPort_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRackGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRackGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -42952,11 +94997,32 @@ func (a *PowerPort_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PowerPort_CustomFields to handle AdditionalProperties -func (a PowerPort_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRackGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableRackGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -42966,38 +95032,62 @@ func (a PowerPort_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for PowerPortTemplate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRackGroupRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a PowerPortTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRackGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PowerPortTemplate_CustomFields -func (a *PowerPortTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRackGroupRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableRackGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PowerPortTemplate_CustomFields to handle AdditionalProperties -func (a *PowerPortTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRackGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRackGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -43005,11 +95095,32 @@ func (a *PowerPortTemplate_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for PowerPortTemplate_CustomFields to handle AdditionalProperties -func (a PowerPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRackGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableRackGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -43019,38 +95130,62 @@ func (a PowerPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Prefix_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRackGroupRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a Prefix_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRackGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Prefix_CustomFields -func (a *Prefix_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRackGroupRequest_Relationships_Source_Objects_Item +func (a *BulkWritableRackGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Prefix_CustomFields to handle AdditionalProperties -func (a *Prefix_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRackGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRackGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -43058,11 +95193,32 @@ func (a *Prefix_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Prefix_CustomFields to handle AdditionalProperties -func (a Prefix_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRackGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableRackGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -43072,38 +95228,62 @@ func (a Prefix_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Provider_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRackRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a Provider_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRackRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Provider_CustomFields -func (a *Provider_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRackRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableRackRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Provider_CustomFields to handle AdditionalProperties -func (a *Provider_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRackRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRackRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -43111,11 +95291,32 @@ func (a *Provider_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Provider_CustomFields to handle AdditionalProperties -func (a Provider_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRackRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableRackRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -43125,38 +95326,62 @@ func (a Provider_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ProviderLCM_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRackRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a ProviderLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRackRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ProviderLCM_CustomFields -func (a *ProviderLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRackRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableRackRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ProviderLCM_CustomFields to handle AdditionalProperties -func (a *ProviderLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRackRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRackRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -43164,11 +95389,32 @@ func (a *ProviderLCM_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ProviderLCM_CustomFields to handle AdditionalProperties -func (a ProviderLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRackRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableRackRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -43178,38 +95424,62 @@ func (a ProviderLCM_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ProviderNetwork_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRackRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a ProviderNetwork_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRackRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ProviderNetwork_CustomFields -func (a *ProviderNetwork_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRackRequest_Relationships_Source_Objects_Item +func (a *BulkWritableRackRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ProviderNetwork_CustomFields to handle AdditionalProperties -func (a *ProviderNetwork_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRackRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRackRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -43217,11 +95487,32 @@ func (a *ProviderNetwork_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ProviderNetwork_CustomFields to handle AdditionalProperties -func (a ProviderNetwork_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRackRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableRackRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -43231,38 +95522,62 @@ func (a ProviderNetwork_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for RIR_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRackReservationRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a RIR_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRackReservationRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for RIR_CustomFields -func (a *RIR_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRackReservationRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableRackReservationRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for RIR_CustomFields to handle AdditionalProperties -func (a *RIR_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRackReservationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRackReservationRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -43270,11 +95585,32 @@ func (a *RIR_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for RIR_CustomFields to handle AdditionalProperties -func (a RIR_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRackReservationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableRackReservationRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -43284,38 +95620,62 @@ func (a RIR_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Rack_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRackReservationRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a Rack_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRackReservationRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Rack_CustomFields -func (a *Rack_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRackReservationRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableRackReservationRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Rack_CustomFields to handle AdditionalProperties -func (a *Rack_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRackReservationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRackReservationRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -43323,11 +95683,32 @@ func (a *Rack_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Rack_CustomFields to handle AdditionalProperties -func (a Rack_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRackReservationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableRackReservationRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -43337,38 +95718,62 @@ func (a Rack_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for RackGroup_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRackReservationRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a RackGroup_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRackReservationRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for RackGroup_CustomFields -func (a *RackGroup_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRackReservationRequest_Relationships_Source_Objects_Item +func (a *BulkWritableRackReservationRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for RackGroup_CustomFields to handle AdditionalProperties -func (a *RackGroup_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRackReservationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRackReservationRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -43376,11 +95781,32 @@ func (a *RackGroup_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for RackGroup_CustomFields to handle AdditionalProperties -func (a RackGroup_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRackReservationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableRackReservationRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -43390,38 +95816,62 @@ func (a RackGroup_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for RackReservation_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRackRoleRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a RackReservation_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRackRoleRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for RackReservation_CustomFields -func (a *RackReservation_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRackRoleRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableRackRoleRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for RackReservation_CustomFields to handle AdditionalProperties -func (a *RackReservation_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRackRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRackRoleRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -43429,11 +95879,32 @@ func (a *RackReservation_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for RackReservation_CustomFields to handle AdditionalProperties -func (a RackReservation_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRackRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableRackRoleRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -43443,38 +95914,62 @@ func (a RackReservation_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for RackReservation_Units. Returns the specified +// Getter for additional properties for BulkWritableRackRoleRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a RackReservation_Units) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRackRoleRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for RackReservation_Units -func (a *RackReservation_Units) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRackRoleRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableRackRoleRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for RackReservation_Units to handle AdditionalProperties -func (a *RackReservation_Units) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRackRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRackRoleRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -43482,11 +95977,32 @@ func (a *RackReservation_Units) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for RackReservation_Units to handle AdditionalProperties -func (a RackReservation_Units) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRackRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableRackRoleRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -43496,38 +96012,62 @@ func (a RackReservation_Units) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for RackRole_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRackRoleRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a RackRole_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRackRoleRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for RackRole_CustomFields -func (a *RackRole_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRackRoleRequest_Relationships_Source_Objects_Item +func (a *BulkWritableRackRoleRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for RackRole_CustomFields to handle AdditionalProperties -func (a *RackRole_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRackRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRackRoleRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -43535,11 +96075,32 @@ func (a *RackRole_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for RackRole_CustomFields to handle AdditionalProperties -func (a RackRole_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRackRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableRackRoleRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -43549,38 +96110,62 @@ func (a RackRole_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for RearPort_CablePeer. Returns the specified +// Getter for additional properties for BulkWritableRearPortRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a RearPort_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRearPortRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for RearPort_CablePeer -func (a *RearPort_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRearPortRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableRearPortRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for RearPort_CablePeer to handle AdditionalProperties -func (a *RearPort_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRearPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRearPortRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if len(object) != 0 { + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -43588,11 +96173,32 @@ func (a *RearPort_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for RearPort_CablePeer to handle AdditionalProperties -func (a RearPort_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRearPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableRearPortRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -43602,38 +96208,62 @@ func (a RearPort_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for RearPort_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRearPortRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a RearPort_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRearPortRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for RearPort_CustomFields -func (a *RearPort_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRearPortRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableRearPortRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for RearPort_CustomFields to handle AdditionalProperties -func (a *RearPort_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRearPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRearPortRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -43641,11 +96271,32 @@ func (a *RearPort_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for RearPort_CustomFields to handle AdditionalProperties -func (a RearPort_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRearPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableRearPortRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -43655,38 +96306,62 @@ func (a RearPort_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for RearPortTemplate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRearPortRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a RearPortTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRearPortRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for RearPortTemplate_CustomFields -func (a *RearPortTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRearPortRequest_Relationships_Source_Objects_Item +func (a *BulkWritableRearPortRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for RearPortTemplate_CustomFields to handle AdditionalProperties -func (a *RearPortTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRearPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRearPortRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -43694,11 +96369,32 @@ func (a *RearPortTemplate_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for RearPortTemplate_CustomFields to handle AdditionalProperties -func (a RearPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRearPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableRearPortRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -43708,38 +96404,62 @@ func (a RearPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Region_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a Region_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Region_CustomFields -func (a *Region_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Region_CustomFields to handle AdditionalProperties -func (a *Region_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -43747,11 +96467,32 @@ func (a *Region_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Region_CustomFields to handle AdditionalProperties -func (a Region_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -43761,38 +96502,62 @@ func (a Region_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Relationship_DestinationFilter. Returns the specified +// Getter for additional properties for BulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a Relationship_DestinationFilter) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Relationship_DestinationFilter -func (a *Relationship_DestinationFilter) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Relationship_DestinationFilter to handle AdditionalProperties -func (a *Relationship_DestinationFilter) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -43800,11 +96565,32 @@ func (a *Relationship_DestinationFilter) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Relationship_DestinationFilter to handle AdditionalProperties -func (a Relationship_DestinationFilter) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -43814,38 +96600,62 @@ func (a Relationship_DestinationFilter) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Relationship_SourceFilter. Returns the specified +// Getter for additional properties for BulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a Relationship_SourceFilter) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Relationship_SourceFilter -func (a *Relationship_SourceFilter) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item +func (a *BulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Relationship_SourceFilter to handle AdditionalProperties -func (a *Relationship_SourceFilter) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -43853,11 +96663,32 @@ func (a *Relationship_SourceFilter) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Relationship_SourceFilter to handle AdditionalProperties -func (a Relationship_SourceFilter) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -43867,38 +96698,62 @@ func (a Relationship_SourceFilter) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Role_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRegionRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a Role_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRegionRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Role_CustomFields -func (a *Role_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRegionRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableRegionRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Role_CustomFields to handle AdditionalProperties -func (a *Role_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRegionRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRegionRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -43906,11 +96761,32 @@ func (a *Role_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Role_CustomFields to handle AdditionalProperties -func (a Role_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRegionRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableRegionRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -43920,38 +96796,62 @@ func (a Role_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for RouteTarget_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRegionRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a RouteTarget_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRegionRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for RouteTarget_CustomFields -func (a *RouteTarget_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRegionRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableRegionRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for RouteTarget_CustomFields to handle AdditionalProperties -func (a *RouteTarget_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRegionRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRegionRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -43959,11 +96859,32 @@ func (a *RouteTarget_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for RouteTarget_CustomFields to handle AdditionalProperties -func (a RouteTarget_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRegionRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableRegionRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -43973,38 +96894,62 @@ func (a RouteTarget_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Secret_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRegionRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a Secret_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRegionRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Secret_CustomFields -func (a *Secret_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRegionRequest_Relationships_Source_Objects_Item +func (a *BulkWritableRegionRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Secret_CustomFields to handle AdditionalProperties -func (a *Secret_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRegionRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRegionRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -44012,11 +96957,32 @@ func (a *Secret_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Secret_CustomFields to handle AdditionalProperties -func (a Secret_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRegionRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableRegionRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -44026,38 +96992,62 @@ func (a Secret_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Secret_Parameters. Returns the specified +// Getter for additional properties for BulkWritableRoleRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a Secret_Parameters) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRoleRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Secret_Parameters -func (a *Secret_Parameters) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRoleRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableRoleRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Secret_Parameters to handle AdditionalProperties -func (a *Secret_Parameters) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRoleRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -44065,11 +97055,32 @@ func (a *Secret_Parameters) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Secret_Parameters to handle AdditionalProperties -func (a Secret_Parameters) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableRoleRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -44079,38 +97090,62 @@ func (a Secret_Parameters) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for SecretsGroup_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRoleRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a SecretsGroup_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRoleRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for SecretsGroup_CustomFields -func (a *SecretsGroup_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRoleRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableRoleRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for SecretsGroup_CustomFields to handle AdditionalProperties -func (a *SecretsGroup_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRoleRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -44118,11 +97153,32 @@ func (a *SecretsGroup_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for SecretsGroup_CustomFields to handle AdditionalProperties -func (a SecretsGroup_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableRoleRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -44132,38 +97188,62 @@ func (a SecretsGroup_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Service_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRoleRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a Service_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRoleRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Service_CustomFields -func (a *Service_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRoleRequest_Relationships_Source_Objects_Item +func (a *BulkWritableRoleRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Service_CustomFields to handle AdditionalProperties -func (a *Service_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRoleRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -44171,11 +97251,32 @@ func (a *Service_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Service_CustomFields to handle AdditionalProperties -func (a Service_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableRoleRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -44185,38 +97286,62 @@ func (a Service_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Site_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a Site_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Site_CustomFields -func (a *Site_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Site_CustomFields to handle AdditionalProperties -func (a *Site_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -44224,11 +97349,32 @@ func (a *Site_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Site_CustomFields to handle AdditionalProperties -func (a Site_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -44238,38 +97384,62 @@ func (a Site_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for SoftwareImageLCM_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a SoftwareImageLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for SoftwareImageLCM_CustomFields -func (a *SoftwareImageLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for SoftwareImageLCM_CustomFields to handle AdditionalProperties -func (a *SoftwareImageLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -44277,11 +97447,32 @@ func (a *SoftwareImageLCM_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for SoftwareImageLCM_CustomFields to handle AdditionalProperties -func (a SoftwareImageLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -44291,38 +97482,62 @@ func (a SoftwareImageLCM_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for SoftwareLCM_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableRouteTargetRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a SoftwareLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableRouteTargetRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for SoftwareLCM_CustomFields -func (a *SoftwareLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableRouteTargetRequest_Relationships_Source_Objects_Item +func (a *BulkWritableRouteTargetRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for SoftwareLCM_CustomFields to handle AdditionalProperties -func (a *SoftwareLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableRouteTargetRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableRouteTargetRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -44330,11 +97545,32 @@ func (a *SoftwareLCM_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for SoftwareLCM_CustomFields to handle AdditionalProperties -func (a SoftwareLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableRouteTargetRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableRouteTargetRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -44344,38 +97580,62 @@ func (a SoftwareLCM_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Status_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableSecretRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a Status_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableSecretRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Status_CustomFields -func (a *Status_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableSecretRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableSecretRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Status_CustomFields to handle AdditionalProperties -func (a *Status_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableSecretRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableSecretRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -44383,11 +97643,32 @@ func (a *Status_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Status_CustomFields to handle AdditionalProperties -func (a Status_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableSecretRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableSecretRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -44397,38 +97678,62 @@ func (a Status_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for TagSerializerVersion13_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableSecretRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a TagSerializerVersion13_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableSecretRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for TagSerializerVersion13_CustomFields -func (a *TagSerializerVersion13_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableSecretRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableSecretRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for TagSerializerVersion13_CustomFields to handle AdditionalProperties -func (a *TagSerializerVersion13_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableSecretRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableSecretRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -44436,11 +97741,32 @@ func (a *TagSerializerVersion13_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for TagSerializerVersion13_CustomFields to handle AdditionalProperties -func (a TagSerializerVersion13_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableSecretRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableSecretRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -44450,38 +97776,62 @@ func (a TagSerializerVersion13_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for Tenant_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableSecretRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a Tenant_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableSecretRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for Tenant_CustomFields -func (a *Tenant_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableSecretRequest_Relationships_Source_Objects_Item +func (a *BulkWritableSecretRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for Tenant_CustomFields to handle AdditionalProperties -func (a *Tenant_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableSecretRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableSecretRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -44489,11 +97839,32 @@ func (a *Tenant_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for Tenant_CustomFields to handle AdditionalProperties -func (a Tenant_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableSecretRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableSecretRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -44503,38 +97874,62 @@ func (a Tenant_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for TenantGroup_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a TenantGroup_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for TenantGroup_CustomFields -func (a *TenantGroup_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for TenantGroup_CustomFields to handle AdditionalProperties -func (a *TenantGroup_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -44542,11 +97937,32 @@ func (a *TenantGroup_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for TenantGroup_CustomFields to handle AdditionalProperties -func (a TenantGroup_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -44556,38 +97972,62 @@ func (a TenantGroup_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for VLAN_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a VLAN_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for VLAN_CustomFields -func (a *VLAN_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for VLAN_CustomFields to handle AdditionalProperties -func (a *VLAN_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -44595,11 +98035,32 @@ func (a *VLAN_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for VLAN_CustomFields to handle AdditionalProperties -func (a VLAN_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -44609,38 +98070,62 @@ func (a VLAN_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for VLANGroup_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a VLANGroup_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for VLANGroup_CustomFields -func (a *VLANGroup_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item +func (a *BulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for VLANGroup_CustomFields to handle AdditionalProperties -func (a *VLANGroup_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -44648,11 +98133,32 @@ func (a *VLANGroup_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for VLANGroup_CustomFields to handle AdditionalProperties -func (a VLANGroup_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -44662,50 +98168,95 @@ func (a VLANGroup_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for VRF_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a VRF_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for VRF_CustomFields -func (a *VRF_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for VRF_CustomFields to handle AdditionalProperties -func (a *VRF_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if len(object) != 0 { - a.AdditionalProperties = make(map[string]interface{}) - for fieldName, fieldBuf := range object { - var fieldVal interface{} - err := json.Unmarshal(fieldBuf, &fieldVal) - if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) - } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } a.AdditionalProperties[fieldName] = fieldVal } } return nil } -// Override default JSON handling for VRF_CustomFields to handle AdditionalProperties -func (a VRF_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -44715,38 +98266,62 @@ func (a VRF_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for ValidatedSoftwareLCM_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a ValidatedSoftwareLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for ValidatedSoftwareLCM_CustomFields -func (a *ValidatedSoftwareLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for ValidatedSoftwareLCM_CustomFields to handle AdditionalProperties -func (a *ValidatedSoftwareLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -44754,11 +98329,32 @@ func (a *ValidatedSoftwareLCM_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for ValidatedSoftwareLCM_CustomFields to handle AdditionalProperties -func (a ValidatedSoftwareLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -44768,38 +98364,62 @@ func (a ValidatedSoftwareLCM_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for VirtualChassis_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a VirtualChassis_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for VirtualChassis_CustomFields -func (a *VirtualChassis_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item +func (a *BulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for VirtualChassis_CustomFields to handle AdditionalProperties -func (a *VirtualChassis_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -44807,11 +98427,32 @@ func (a *VirtualChassis_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for VirtualChassis_CustomFields to handle AdditionalProperties -func (a VirtualChassis_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -44821,38 +98462,62 @@ func (a VirtualChassis_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for VirtualMachineWithConfigContext_ConfigContext. Returns the specified +// Getter for additional properties for BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a VirtualMachineWithConfigContext_ConfigContext) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for VirtualMachineWithConfigContext_ConfigContext -func (a *VirtualMachineWithConfigContext_ConfigContext) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item +func (a *BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for VirtualMachineWithConfigContext_ConfigContext to handle AdditionalProperties -func (a *VirtualMachineWithConfigContext_ConfigContext) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -44860,11 +98525,32 @@ func (a *VirtualMachineWithConfigContext_ConfigContext) UnmarshalJSON(b []byte) return nil } -// Override default JSON handling for VirtualMachineWithConfigContext_ConfigContext to handle AdditionalProperties -func (a VirtualMachineWithConfigContext_ConfigContext) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -44874,38 +98560,62 @@ func (a VirtualMachineWithConfigContext_ConfigContext) MarshalJSON() ([]byte, er return json.Marshal(object) } -// Getter for additional properties for VirtualMachineWithConfigContext_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a VirtualMachineWithConfigContext_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for VirtualMachineWithConfigContext_CustomFields -func (a *VirtualMachineWithConfigContext_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item +func (a *BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for VirtualMachineWithConfigContext_CustomFields to handle AdditionalProperties -func (a *VirtualMachineWithConfigContext_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -44913,11 +98623,32 @@ func (a *VirtualMachineWithConfigContext_CustomFields) UnmarshalJSON(b []byte) e return nil } -// Override default JSON handling for VirtualMachineWithConfigContext_CustomFields to handle AdditionalProperties -func (a VirtualMachineWithConfigContext_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -44927,38 +98658,62 @@ func (a VirtualMachineWithConfigContext_CustomFields) MarshalJSON() ([]byte, err return json.Marshal(object) } -// Getter for additional properties for VirtualMachineWithConfigContext_LocalContextData. Returns the specified +// Getter for additional properties for BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a VirtualMachineWithConfigContext_LocalContextData) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for VirtualMachineWithConfigContext_LocalContextData -func (a *VirtualMachineWithConfigContext_LocalContextData) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item +func (a *BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for VirtualMachineWithConfigContext_LocalContextData to handle AdditionalProperties -func (a *VirtualMachineWithConfigContext_LocalContextData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -44966,11 +98721,32 @@ func (a *VirtualMachineWithConfigContext_LocalContextData) UnmarshalJSON(b []byt return nil } -// Override default JSON handling for VirtualMachineWithConfigContext_LocalContextData to handle AdditionalProperties -func (a VirtualMachineWithConfigContext_LocalContextData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -44980,38 +98756,62 @@ func (a VirtualMachineWithConfigContext_LocalContextData) MarshalJSON() ([]byte, return json.Marshal(object) } -// Getter for additional properties for VulnerabilityLCM_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a VulnerabilityLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for VulnerabilityLCM_CustomFields -func (a *VulnerabilityLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for VulnerabilityLCM_CustomFields to handle AdditionalProperties -func (a *VulnerabilityLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -45019,11 +98819,32 @@ func (a *VulnerabilityLCM_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for VulnerabilityLCM_CustomFields to handle AdditionalProperties -func (a VulnerabilityLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -45033,38 +98854,62 @@ func (a VulnerabilityLCM_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableAggregate_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableAggregate_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableAggregate_ComputedFields -func (a *WritableAggregate_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableAggregate_ComputedFields to handle AdditionalProperties -func (a *WritableAggregate_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -45072,11 +98917,32 @@ func (a *WritableAggregate_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableAggregate_ComputedFields to handle AdditionalProperties -func (a WritableAggregate_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -45086,38 +98952,62 @@ func (a WritableAggregate_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableAggregate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableServiceObjectRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableAggregate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableServiceObjectRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableAggregate_CustomFields -func (a *WritableAggregate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableServiceObjectRequest_Relationships_Source_Objects_Item +func (a *BulkWritableServiceObjectRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableAggregate_CustomFields to handle AdditionalProperties -func (a *WritableAggregate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableServiceObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableServiceObjectRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -45125,11 +99015,32 @@ func (a *WritableAggregate_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableAggregate_CustomFields to handle AdditionalProperties -func (a WritableAggregate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableServiceObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableServiceObjectRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -45139,38 +99050,62 @@ func (a WritableAggregate_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableCable_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableServiceRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableCable_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableServiceRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableCable_ComputedFields -func (a *WritableCable_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableServiceRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableServiceRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableCable_ComputedFields to handle AdditionalProperties -func (a *WritableCable_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableServiceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableServiceRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -45178,11 +99113,32 @@ func (a *WritableCable_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableCable_ComputedFields to handle AdditionalProperties -func (a WritableCable_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableServiceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableServiceRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -45192,38 +99148,62 @@ func (a WritableCable_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableCable_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableServiceRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableCable_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableServiceRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableCable_CustomFields -func (a *WritableCable_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableServiceRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableServiceRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableCable_CustomFields to handle AdditionalProperties -func (a *WritableCable_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableServiceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableServiceRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -45231,11 +99211,32 @@ func (a *WritableCable_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableCable_CustomFields to handle AdditionalProperties -func (a WritableCable_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableServiceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableServiceRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -45245,38 +99246,62 @@ func (a WritableCable_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableCable_TerminationA. Returns the specified +// Getter for additional properties for BulkWritableServiceRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableCable_TerminationA) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableServiceRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableCable_TerminationA -func (a *WritableCable_TerminationA) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableServiceRequest_Relationships_Source_Objects_Item +func (a *BulkWritableServiceRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableCable_TerminationA to handle AdditionalProperties -func (a *WritableCable_TerminationA) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableServiceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableServiceRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -45284,11 +99309,32 @@ func (a *WritableCable_TerminationA) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableCable_TerminationA to handle AdditionalProperties -func (a WritableCable_TerminationA) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableServiceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableServiceRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -45298,38 +99344,62 @@ func (a WritableCable_TerminationA) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableCable_TerminationB. Returns the specified +// Getter for additional properties for BulkWritableSiteRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableCable_TerminationB) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableSiteRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableCable_TerminationB -func (a *WritableCable_TerminationB) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableSiteRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableSiteRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableCable_TerminationB to handle AdditionalProperties -func (a *WritableCable_TerminationB) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableSiteRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableSiteRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -45337,11 +99407,32 @@ func (a *WritableCable_TerminationB) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableCable_TerminationB to handle AdditionalProperties -func (a WritableCable_TerminationB) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableSiteRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableSiteRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -45351,38 +99442,62 @@ func (a WritableCable_TerminationB) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableCircuit_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableSiteRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableCircuit_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableSiteRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableCircuit_ComputedFields -func (a *WritableCircuit_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableSiteRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableSiteRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableCircuit_ComputedFields to handle AdditionalProperties -func (a *WritableCircuit_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableSiteRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableSiteRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -45390,11 +99505,32 @@ func (a *WritableCircuit_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableCircuit_ComputedFields to handle AdditionalProperties -func (a WritableCircuit_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableSiteRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableSiteRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -45404,38 +99540,62 @@ func (a WritableCircuit_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableCircuit_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableSiteRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableCircuit_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableSiteRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableCircuit_CustomFields -func (a *WritableCircuit_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableSiteRequest_Relationships_Source_Objects_Item +func (a *BulkWritableSiteRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableCircuit_CustomFields to handle AdditionalProperties -func (a *WritableCircuit_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableSiteRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableSiteRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -45443,11 +99603,32 @@ func (a *WritableCircuit_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableCircuit_CustomFields to handle AdditionalProperties -func (a WritableCircuit_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableSiteRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableSiteRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -45457,38 +99638,62 @@ func (a WritableCircuit_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableCircuitTermination_CablePeer. Returns the specified +// Getter for additional properties for BulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableCircuitTermination_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableCircuitTermination_CablePeer -func (a *WritableCircuitTermination_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableCircuitTermination_CablePeer to handle AdditionalProperties -func (a *WritableCircuitTermination_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -45496,11 +99701,32 @@ func (a *WritableCircuitTermination_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableCircuitTermination_CablePeer to handle AdditionalProperties -func (a WritableCircuitTermination_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -45510,38 +99736,62 @@ func (a WritableCircuitTermination_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableCircuitTermination_ConnectedEndpoint. Returns the specified +// Getter for additional properties for BulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableCircuitTermination_ConnectedEndpoint) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableCircuitTermination_ConnectedEndpoint -func (a *WritableCircuitTermination_ConnectedEndpoint) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableCircuitTermination_ConnectedEndpoint to handle AdditionalProperties -func (a *WritableCircuitTermination_ConnectedEndpoint) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -45549,11 +99799,32 @@ func (a *WritableCircuitTermination_ConnectedEndpoint) UnmarshalJSON(b []byte) e return nil } -// Override default JSON handling for WritableCircuitTermination_ConnectedEndpoint to handle AdditionalProperties -func (a WritableCircuitTermination_ConnectedEndpoint) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -45563,38 +99834,62 @@ func (a WritableCircuitTermination_ConnectedEndpoint) MarshalJSON() ([]byte, err return json.Marshal(object) } -// Getter for additional properties for WritableCluster_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableCluster_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableCluster_ComputedFields -func (a *WritableCluster_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item +func (a *BulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableCluster_ComputedFields to handle AdditionalProperties -func (a *WritableCluster_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -45602,11 +99897,32 @@ func (a *WritableCluster_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableCluster_ComputedFields to handle AdditionalProperties -func (a WritableCluster_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -45616,38 +99932,62 @@ func (a WritableCluster_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableCluster_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableCluster_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableCluster_CustomFields -func (a *WritableCluster_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableCluster_CustomFields to handle AdditionalProperties -func (a *WritableCluster_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -45655,11 +99995,32 @@ func (a *WritableCluster_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableCluster_CustomFields to handle AdditionalProperties -func (a WritableCluster_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -45669,38 +100030,62 @@ func (a WritableCluster_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableConfigContext_Data. Returns the specified +// Getter for additional properties for BulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableConfigContext_Data) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableConfigContext_Data -func (a *WritableConfigContext_Data) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableConfigContext_Data to handle AdditionalProperties -func (a *WritableConfigContext_Data) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -45708,11 +100093,32 @@ func (a *WritableConfigContext_Data) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableConfigContext_Data to handle AdditionalProperties -func (a WritableConfigContext_Data) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -45722,38 +100128,62 @@ func (a WritableConfigContext_Data) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableConfigContext_Owner. Returns the specified +// Getter for additional properties for BulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableConfigContext_Owner) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableConfigContext_Owner -func (a *WritableConfigContext_Owner) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item +func (a *BulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableConfigContext_Owner to handle AdditionalProperties -func (a *WritableConfigContext_Owner) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -45761,11 +100191,32 @@ func (a *WritableConfigContext_Owner) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableConfigContext_Owner to handle AdditionalProperties -func (a WritableConfigContext_Owner) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -45775,38 +100226,62 @@ func (a WritableConfigContext_Owner) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableConsolePort_CablePeer. Returns the specified +// Getter for additional properties for BulkWritableStatusRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableConsolePort_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableStatusRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableConsolePort_CablePeer -func (a *WritableConsolePort_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableStatusRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableStatusRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableConsolePort_CablePeer to handle AdditionalProperties -func (a *WritableConsolePort_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableStatusRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableStatusRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if len(object) != 0 { + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -45814,11 +100289,32 @@ func (a *WritableConsolePort_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableConsolePort_CablePeer to handle AdditionalProperties -func (a WritableConsolePort_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableStatusRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableStatusRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -45828,38 +100324,62 @@ func (a WritableConsolePort_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableConsolePort_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableStatusRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableConsolePort_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableStatusRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableConsolePort_ComputedFields -func (a *WritableConsolePort_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableStatusRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableStatusRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableConsolePort_ComputedFields to handle AdditionalProperties -func (a *WritableConsolePort_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableStatusRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableStatusRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -45867,11 +100387,32 @@ func (a *WritableConsolePort_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableConsolePort_ComputedFields to handle AdditionalProperties -func (a WritableConsolePort_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableStatusRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableStatusRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -45881,38 +100422,62 @@ func (a WritableConsolePort_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableConsolePort_ConnectedEndpoint. Returns the specified +// Getter for additional properties for BulkWritableStatusRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableConsolePort_ConnectedEndpoint) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableStatusRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableConsolePort_ConnectedEndpoint -func (a *WritableConsolePort_ConnectedEndpoint) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableStatusRequest_Relationships_Source_Objects_Item +func (a *BulkWritableStatusRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableConsolePort_ConnectedEndpoint to handle AdditionalProperties -func (a *WritableConsolePort_ConnectedEndpoint) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableStatusRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableStatusRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -45920,11 +100485,32 @@ func (a *WritableConsolePort_ConnectedEndpoint) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableConsolePort_ConnectedEndpoint to handle AdditionalProperties -func (a WritableConsolePort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableStatusRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableStatusRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -45934,38 +100520,62 @@ func (a WritableConsolePort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableConsolePort_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableConsolePort_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableConsolePort_CustomFields -func (a *WritableConsolePort_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item +func (a *BulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableConsolePort_CustomFields to handle AdditionalProperties -func (a *WritableConsolePort_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -45973,11 +100583,32 @@ func (a *WritableConsolePort_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableConsolePort_CustomFields to handle AdditionalProperties -func (a WritableConsolePort_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -45987,38 +100618,62 @@ func (a WritableConsolePort_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableConsolePortTemplate_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableConsolePortTemplate_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableConsolePortTemplate_ComputedFields -func (a *WritableConsolePortTemplate_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item +func (a *BulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableConsolePortTemplate_ComputedFields to handle AdditionalProperties -func (a *WritableConsolePortTemplate_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -46026,11 +100681,32 @@ func (a *WritableConsolePortTemplate_ComputedFields) UnmarshalJSON(b []byte) err return nil } -// Override default JSON handling for WritableConsolePortTemplate_ComputedFields to handle AdditionalProperties -func (a WritableConsolePortTemplate_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -46040,38 +100716,62 @@ func (a WritableConsolePortTemplate_ComputedFields) MarshalJSON() ([]byte, error return json.Marshal(object) } -// Getter for additional properties for WritableConsolePortTemplate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableConsolePortTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableConsolePortTemplate_CustomFields -func (a *WritableConsolePortTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item +func (a *BulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableConsolePortTemplate_CustomFields to handle AdditionalProperties -func (a *WritableConsolePortTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -46079,11 +100779,32 @@ func (a *WritableConsolePortTemplate_CustomFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for WritableConsolePortTemplate_CustomFields to handle AdditionalProperties -func (a WritableConsolePortTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -46093,38 +100814,62 @@ func (a WritableConsolePortTemplate_CustomFields) MarshalJSON() ([]byte, error) return json.Marshal(object) } -// Getter for additional properties for WritableConsoleServerPort_CablePeer. Returns the specified +// Getter for additional properties for BulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableConsoleServerPort_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableConsoleServerPort_CablePeer -func (a *WritableConsoleServerPort_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableConsoleServerPort_CablePeer to handle AdditionalProperties -func (a *WritableConsoleServerPort_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -46132,11 +100877,32 @@ func (a *WritableConsoleServerPort_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableConsoleServerPort_CablePeer to handle AdditionalProperties -func (a WritableConsoleServerPort_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -46146,38 +100912,62 @@ func (a WritableConsoleServerPort_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableConsoleServerPort_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableConsoleServerPort_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableConsoleServerPort_ComputedFields -func (a *WritableConsoleServerPort_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableConsoleServerPort_ComputedFields to handle AdditionalProperties -func (a *WritableConsoleServerPort_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -46185,11 +100975,32 @@ func (a *WritableConsoleServerPort_ComputedFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for WritableConsoleServerPort_ComputedFields to handle AdditionalProperties -func (a WritableConsoleServerPort_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -46199,38 +101010,62 @@ func (a WritableConsoleServerPort_ComputedFields) MarshalJSON() ([]byte, error) return json.Marshal(object) } -// Getter for additional properties for WritableConsoleServerPort_ConnectedEndpoint. Returns the specified +// Getter for additional properties for BulkWritableTenantGroupRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableConsoleServerPort_ConnectedEndpoint) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableTenantGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableConsoleServerPort_ConnectedEndpoint -func (a *WritableConsoleServerPort_ConnectedEndpoint) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableTenantGroupRequest_Relationships_Source_Objects_Item +func (a *BulkWritableTenantGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableConsoleServerPort_ConnectedEndpoint to handle AdditionalProperties -func (a *WritableConsoleServerPort_ConnectedEndpoint) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableTenantGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableTenantGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -46238,11 +101073,32 @@ func (a *WritableConsoleServerPort_ConnectedEndpoint) UnmarshalJSON(b []byte) er return nil } -// Override default JSON handling for WritableConsoleServerPort_ConnectedEndpoint to handle AdditionalProperties -func (a WritableConsoleServerPort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableTenantGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableTenantGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -46252,38 +101108,62 @@ func (a WritableConsoleServerPort_ConnectedEndpoint) MarshalJSON() ([]byte, erro return json.Marshal(object) } -// Getter for additional properties for WritableConsoleServerPort_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableTenantRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableConsoleServerPort_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableTenantRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableConsoleServerPort_CustomFields -func (a *WritableConsoleServerPort_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableTenantRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableTenantRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableConsoleServerPort_CustomFields to handle AdditionalProperties -func (a *WritableConsoleServerPort_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableTenantRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableTenantRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -46291,11 +101171,32 @@ func (a *WritableConsoleServerPort_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableConsoleServerPort_CustomFields to handle AdditionalProperties -func (a WritableConsoleServerPort_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableTenantRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableTenantRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -46305,38 +101206,62 @@ func (a WritableConsoleServerPort_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableConsoleServerPortTemplate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableTenantRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableConsoleServerPortTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableTenantRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableConsoleServerPortTemplate_CustomFields -func (a *WritableConsoleServerPortTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableTenantRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableTenantRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableConsoleServerPortTemplate_CustomFields to handle AdditionalProperties -func (a *WritableConsoleServerPortTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableTenantRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableTenantRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -46344,11 +101269,32 @@ func (a *WritableConsoleServerPortTemplate_CustomFields) UnmarshalJSON(b []byte) return nil } -// Override default JSON handling for WritableConsoleServerPortTemplate_CustomFields to handle AdditionalProperties -func (a WritableConsoleServerPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableTenantRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableTenantRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -46358,38 +101304,62 @@ func (a WritableConsoleServerPortTemplate_CustomFields) MarshalJSON() ([]byte, e return json.Marshal(object) } -// Getter for additional properties for WritableContactLCM_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableTenantRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableContactLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableTenantRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableContactLCM_CustomFields -func (a *WritableContactLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableTenantRequest_Relationships_Source_Objects_Item +func (a *BulkWritableTenantRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableContactLCM_CustomFields to handle AdditionalProperties -func (a *WritableContactLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableTenantRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableTenantRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -46397,11 +101367,32 @@ func (a *WritableContactLCM_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableContactLCM_CustomFields to handle AdditionalProperties -func (a WritableContactLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableTenantRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableTenantRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -46411,38 +101402,62 @@ func (a WritableContactLCM_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableContractLCM_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableContractLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableContractLCM_CustomFields -func (a *WritableContractLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableContractLCM_CustomFields to handle AdditionalProperties -func (a *WritableContractLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -46450,11 +101465,32 @@ func (a *WritableContractLCM_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableContractLCM_CustomFields to handle AdditionalProperties -func (a WritableContractLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -46464,38 +101500,62 @@ func (a WritableContractLCM_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableCustomField_Default. Returns the specified +// Getter for additional properties for BulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableCustomField_Default) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableCustomField_Default -func (a *WritableCustomField_Default) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableCustomField_Default to handle AdditionalProperties -func (a *WritableCustomField_Default) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -46503,11 +101563,32 @@ func (a *WritableCustomField_Default) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableCustomField_Default to handle AdditionalProperties -func (a WritableCustomField_Default) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -46517,38 +101598,62 @@ func (a WritableCustomField_Default) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableDeviceBay_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableDeviceBay_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableDeviceBay_ComputedFields -func (a *WritableDeviceBay_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item +func (a *BulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableDeviceBay_ComputedFields to handle AdditionalProperties -func (a *WritableDeviceBay_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -46556,11 +101661,32 @@ func (a *WritableDeviceBay_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableDeviceBay_ComputedFields to handle AdditionalProperties -func (a WritableDeviceBay_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -46570,38 +101696,62 @@ func (a WritableDeviceBay_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableDeviceBay_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableDeviceBay_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableDeviceBay_CustomFields -func (a *WritableDeviceBay_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item +func (a *BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableDeviceBay_CustomFields to handle AdditionalProperties -func (a *WritableDeviceBay_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -46609,11 +101759,32 @@ func (a *WritableDeviceBay_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableDeviceBay_CustomFields to handle AdditionalProperties -func (a WritableDeviceBay_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -46623,38 +101794,62 @@ func (a WritableDeviceBay_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableDeviceBayTemplate_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableDeviceBayTemplate_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableDeviceBayTemplate_ComputedFields -func (a *WritableDeviceBayTemplate_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item +func (a *BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableDeviceBayTemplate_ComputedFields to handle AdditionalProperties -func (a *WritableDeviceBayTemplate_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -46662,11 +101857,32 @@ func (a *WritableDeviceBayTemplate_ComputedFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for WritableDeviceBayTemplate_ComputedFields to handle AdditionalProperties -func (a WritableDeviceBayTemplate_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -46676,38 +101892,62 @@ func (a WritableDeviceBayTemplate_ComputedFields) MarshalJSON() ([]byte, error) return json.Marshal(object) } -// Getter for additional properties for WritableDeviceBayTemplate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableDeviceBayTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableDeviceBayTemplate_CustomFields -func (a *WritableDeviceBayTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item +func (a *BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableDeviceBayTemplate_CustomFields to handle AdditionalProperties -func (a *WritableDeviceBayTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -46715,11 +101955,32 @@ func (a *WritableDeviceBayTemplate_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableDeviceBayTemplate_CustomFields to handle AdditionalProperties -func (a WritableDeviceBayTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -46729,38 +101990,62 @@ func (a WritableDeviceBayTemplate_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableDeviceType_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableUserObjectRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableDeviceType_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableUserObjectRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableDeviceType_ComputedFields -func (a *WritableDeviceType_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableUserObjectRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableUserObjectRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableDeviceType_ComputedFields to handle AdditionalProperties -func (a *WritableDeviceType_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableUserObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableUserObjectRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -46768,11 +102053,32 @@ func (a *WritableDeviceType_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableDeviceType_ComputedFields to handle AdditionalProperties -func (a WritableDeviceType_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableUserObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableUserObjectRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -46782,38 +102088,62 @@ func (a WritableDeviceType_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableDeviceType_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableUserObjectRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableDeviceType_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableUserObjectRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableDeviceType_CustomFields -func (a *WritableDeviceType_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableUserObjectRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableUserObjectRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableDeviceType_CustomFields to handle AdditionalProperties -func (a *WritableDeviceType_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableUserObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableUserObjectRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -46821,11 +102151,32 @@ func (a *WritableDeviceType_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableDeviceType_CustomFields to handle AdditionalProperties -func (a WritableDeviceType_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableUserObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableUserObjectRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -46835,38 +102186,62 @@ func (a WritableDeviceType_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableDeviceWithConfigContext_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableUserObjectRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableDeviceWithConfigContext_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableUserObjectRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableDeviceWithConfigContext_ComputedFields -func (a *WritableDeviceWithConfigContext_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableUserObjectRequest_Relationships_Source_Objects_Item +func (a *BulkWritableUserObjectRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableDeviceWithConfigContext_ComputedFields to handle AdditionalProperties -func (a *WritableDeviceWithConfigContext_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableUserObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableUserObjectRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -46874,11 +102249,32 @@ func (a *WritableDeviceWithConfigContext_ComputedFields) UnmarshalJSON(b []byte) return nil } -// Override default JSON handling for WritableDeviceWithConfigContext_ComputedFields to handle AdditionalProperties -func (a WritableDeviceWithConfigContext_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableUserObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableUserObjectRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -46888,50 +102284,95 @@ func (a WritableDeviceWithConfigContext_ComputedFields) MarshalJSON() ([]byte, e return json.Marshal(object) } -// Getter for additional properties for WritableDeviceWithConfigContext_ConfigContext. Returns the specified +// Getter for additional properties for BulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableDeviceWithConfigContext_ConfigContext) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableDeviceWithConfigContext_ConfigContext -func (a *WritableDeviceWithConfigContext_ConfigContext) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableDeviceWithConfigContext_ConfigContext to handle AdditionalProperties -func (a *WritableDeviceWithConfigContext_ConfigContext) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if len(object) != 0 { - a.AdditionalProperties = make(map[string]interface{}) - for fieldName, fieldBuf := range object { - var fieldVal interface{} - err := json.Unmarshal(fieldBuf, &fieldVal) - if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) - } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } a.AdditionalProperties[fieldName] = fieldVal } } return nil } -// Override default JSON handling for WritableDeviceWithConfigContext_ConfigContext to handle AdditionalProperties -func (a WritableDeviceWithConfigContext_ConfigContext) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -46941,38 +102382,62 @@ func (a WritableDeviceWithConfigContext_ConfigContext) MarshalJSON() ([]byte, er return json.Marshal(object) } -// Getter for additional properties for WritableDeviceWithConfigContext_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableDeviceWithConfigContext_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableDeviceWithConfigContext_CustomFields -func (a *WritableDeviceWithConfigContext_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableDeviceWithConfigContext_CustomFields to handle AdditionalProperties -func (a *WritableDeviceWithConfigContext_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -46980,11 +102445,32 @@ func (a *WritableDeviceWithConfigContext_CustomFields) UnmarshalJSON(b []byte) e return nil } -// Override default JSON handling for WritableDeviceWithConfigContext_CustomFields to handle AdditionalProperties -func (a WritableDeviceWithConfigContext_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -46994,38 +102480,62 @@ func (a WritableDeviceWithConfigContext_CustomFields) MarshalJSON() ([]byte, err return json.Marshal(object) } -// Getter for additional properties for WritableDeviceWithConfigContext_LocalContextData. Returns the specified +// Getter for additional properties for BulkWritableVLANGroupRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableDeviceWithConfigContext_LocalContextData) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableVLANGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableDeviceWithConfigContext_LocalContextData -func (a *WritableDeviceWithConfigContext_LocalContextData) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableVLANGroupRequest_Relationships_Source_Objects_Item +func (a *BulkWritableVLANGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableDeviceWithConfigContext_LocalContextData to handle AdditionalProperties -func (a *WritableDeviceWithConfigContext_LocalContextData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableVLANGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableVLANGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -47033,11 +102543,32 @@ func (a *WritableDeviceWithConfigContext_LocalContextData) UnmarshalJSON(b []byt return nil } -// Override default JSON handling for WritableDeviceWithConfigContext_LocalContextData to handle AdditionalProperties -func (a WritableDeviceWithConfigContext_LocalContextData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableVLANGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableVLANGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -47047,38 +102578,62 @@ func (a WritableDeviceWithConfigContext_LocalContextData) MarshalJSON() ([]byte, return json.Marshal(object) } -// Getter for additional properties for WritableFrontPort_CablePeer. Returns the specified +// Getter for additional properties for BulkWritableVLANRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableFrontPort_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableVLANRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableFrontPort_CablePeer -func (a *WritableFrontPort_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableVLANRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableVLANRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableFrontPort_CablePeer to handle AdditionalProperties -func (a *WritableFrontPort_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableVLANRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableVLANRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -47086,11 +102641,32 @@ func (a *WritableFrontPort_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableFrontPort_CablePeer to handle AdditionalProperties -func (a WritableFrontPort_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableVLANRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableVLANRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -47100,38 +102676,62 @@ func (a WritableFrontPort_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableFrontPort_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableVLANRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableFrontPort_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableVLANRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableFrontPort_ComputedFields -func (a *WritableFrontPort_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableVLANRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableVLANRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableFrontPort_ComputedFields to handle AdditionalProperties -func (a *WritableFrontPort_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableVLANRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableVLANRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -47139,11 +102739,32 @@ func (a *WritableFrontPort_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableFrontPort_ComputedFields to handle AdditionalProperties -func (a WritableFrontPort_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableVLANRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableVLANRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -47153,38 +102774,62 @@ func (a WritableFrontPort_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableFrontPort_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableVLANRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableFrontPort_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableVLANRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableFrontPort_CustomFields -func (a *WritableFrontPort_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableVLANRequest_Relationships_Source_Objects_Item +func (a *BulkWritableVLANRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableFrontPort_CustomFields to handle AdditionalProperties -func (a *WritableFrontPort_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableVLANRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableVLANRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -47192,11 +102837,32 @@ func (a *WritableFrontPort_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableFrontPort_CustomFields to handle AdditionalProperties -func (a WritableFrontPort_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableVLANRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableVLANRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -47206,38 +102872,62 @@ func (a WritableFrontPort_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableFrontPortTemplate_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableFrontPortTemplate_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableFrontPortTemplate_ComputedFields -func (a *WritableFrontPortTemplate_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableFrontPortTemplate_ComputedFields to handle AdditionalProperties -func (a *WritableFrontPortTemplate_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -47245,11 +102935,32 @@ func (a *WritableFrontPortTemplate_ComputedFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for WritableFrontPortTemplate_ComputedFields to handle AdditionalProperties -func (a WritableFrontPortTemplate_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -47259,38 +102970,62 @@ func (a WritableFrontPortTemplate_ComputedFields) MarshalJSON() ([]byte, error) return json.Marshal(object) } -// Getter for additional properties for WritableFrontPortTemplate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableFrontPortTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableFrontPortTemplate_CustomFields -func (a *WritableFrontPortTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableFrontPortTemplate_CustomFields to handle AdditionalProperties -func (a *WritableFrontPortTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -47298,11 +103033,32 @@ func (a *WritableFrontPortTemplate_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableFrontPortTemplate_CustomFields to handle AdditionalProperties -func (a WritableFrontPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -47312,38 +103068,62 @@ func (a WritableFrontPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableGitRepository_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableGitRepository_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableGitRepository_ComputedFields -func (a *WritableGitRepository_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item +func (a *BulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableGitRepository_ComputedFields to handle AdditionalProperties -func (a *WritableGitRepository_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -47351,11 +103131,32 @@ func (a *WritableGitRepository_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableGitRepository_ComputedFields to handle AdditionalProperties -func (a WritableGitRepository_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -47365,38 +103166,62 @@ func (a WritableGitRepository_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableGitRepository_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableVRFRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableGitRepository_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableVRFRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableGitRepository_CustomFields -func (a *WritableGitRepository_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableVRFRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableVRFRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableGitRepository_CustomFields to handle AdditionalProperties -func (a *WritableGitRepository_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableVRFRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableVRFRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -47404,11 +103229,32 @@ func (a *WritableGitRepository_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableGitRepository_CustomFields to handle AdditionalProperties -func (a WritableGitRepository_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableVRFRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableVRFRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -47418,38 +103264,62 @@ func (a WritableGitRepository_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableHardwareLCM_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableVRFRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableHardwareLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableVRFRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableHardwareLCM_CustomFields -func (a *WritableHardwareLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableVRFRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableVRFRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableHardwareLCM_CustomFields to handle AdditionalProperties -func (a *WritableHardwareLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableVRFRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableVRFRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -47457,11 +103327,32 @@ func (a *WritableHardwareLCM_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableHardwareLCM_CustomFields to handle AdditionalProperties -func (a WritableHardwareLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableVRFRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableVRFRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -47471,38 +103362,62 @@ func (a WritableHardwareLCM_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableIPAddress_AssignedObject. Returns the specified +// Getter for additional properties for BulkWritableVRFRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableIPAddress_AssignedObject) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableVRFRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableIPAddress_AssignedObject -func (a *WritableIPAddress_AssignedObject) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableVRFRequest_Relationships_Source_Objects_Item +func (a *BulkWritableVRFRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableIPAddress_AssignedObject to handle AdditionalProperties -func (a *WritableIPAddress_AssignedObject) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableVRFRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableVRFRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -47510,11 +103425,32 @@ func (a *WritableIPAddress_AssignedObject) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableIPAddress_AssignedObject to handle AdditionalProperties -func (a WritableIPAddress_AssignedObject) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableVRFRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableVRFRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -47524,38 +103460,62 @@ func (a WritableIPAddress_AssignedObject) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableIPAddress_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableIPAddress_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableIPAddress_ComputedFields -func (a *WritableIPAddress_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableIPAddress_ComputedFields to handle AdditionalProperties -func (a *WritableIPAddress_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -47563,11 +103523,32 @@ func (a *WritableIPAddress_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableIPAddress_ComputedFields to handle AdditionalProperties -func (a WritableIPAddress_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -47577,38 +103558,62 @@ func (a WritableIPAddress_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableIPAddress_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableIPAddress_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableIPAddress_CustomFields -func (a *WritableIPAddress_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableIPAddress_CustomFields to handle AdditionalProperties -func (a *WritableIPAddress_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -47616,11 +103621,32 @@ func (a *WritableIPAddress_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableIPAddress_CustomFields to handle AdditionalProperties -func (a WritableIPAddress_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -47630,38 +103656,62 @@ func (a WritableIPAddress_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableInterface_CablePeer. Returns the specified +// Getter for additional properties for BulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableInterface_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableInterface_CablePeer -func (a *WritableInterface_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item +func (a *BulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableInterface_CablePeer to handle AdditionalProperties -func (a *WritableInterface_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -47669,11 +103719,32 @@ func (a *WritableInterface_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableInterface_CablePeer to handle AdditionalProperties -func (a WritableInterface_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -47683,38 +103754,62 @@ func (a WritableInterface_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableInterface_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableInterface_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableInterface_ComputedFields -func (a *WritableInterface_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableInterface_ComputedFields to handle AdditionalProperties -func (a *WritableInterface_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -47722,11 +103817,32 @@ func (a *WritableInterface_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableInterface_ComputedFields to handle AdditionalProperties -func (a WritableInterface_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -47736,38 +103852,62 @@ func (a WritableInterface_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableInterface_ConnectedEndpoint. Returns the specified +// Getter for additional properties for BulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableInterface_ConnectedEndpoint) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableInterface_ConnectedEndpoint -func (a *WritableInterface_ConnectedEndpoint) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableInterface_ConnectedEndpoint to handle AdditionalProperties -func (a *WritableInterface_ConnectedEndpoint) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -47775,11 +103915,32 @@ func (a *WritableInterface_ConnectedEndpoint) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableInterface_ConnectedEndpoint to handle AdditionalProperties -func (a WritableInterface_ConnectedEndpoint) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -47789,38 +103950,62 @@ func (a WritableInterface_ConnectedEndpoint) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableInterface_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableInterface_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableInterface_CustomFields -func (a *WritableInterface_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item +func (a *BulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableInterface_CustomFields to handle AdditionalProperties -func (a *WritableInterface_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -47828,11 +104013,32 @@ func (a *WritableInterface_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableInterface_CustomFields to handle AdditionalProperties -func (a WritableInterface_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -47842,38 +104048,62 @@ func (a WritableInterface_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableInterfaceTemplate_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableInterfaceTemplate_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableInterfaceTemplate_ComputedFields -func (a *WritableInterfaceTemplate_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableInterfaceTemplate_ComputedFields to handle AdditionalProperties -func (a *WritableInterfaceTemplate_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -47881,11 +104111,32 @@ func (a *WritableInterfaceTemplate_ComputedFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for WritableInterfaceTemplate_ComputedFields to handle AdditionalProperties -func (a WritableInterfaceTemplate_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -47895,38 +104146,62 @@ func (a WritableInterfaceTemplate_ComputedFields) MarshalJSON() ([]byte, error) return json.Marshal(object) } -// Getter for additional properties for WritableInterfaceTemplate_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableInterfaceTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableInterfaceTemplate_CustomFields -func (a *WritableInterfaceTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableInterfaceTemplate_CustomFields to handle AdditionalProperties -func (a *WritableInterfaceTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -47934,11 +104209,32 @@ func (a *WritableInterfaceTemplate_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableInterfaceTemplate_CustomFields to handle AdditionalProperties -func (a WritableInterfaceTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -47948,38 +104244,62 @@ func (a WritableInterfaceTemplate_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableInventoryItem_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableInventoryItem_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableInventoryItem_ComputedFields -func (a *WritableInventoryItem_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item +func (a *BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableInventoryItem_ComputedFields to handle AdditionalProperties -func (a *WritableInventoryItem_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -47987,11 +104307,32 @@ func (a *WritableInventoryItem_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableInventoryItem_ComputedFields to handle AdditionalProperties -func (a WritableInventoryItem_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -48001,38 +104342,62 @@ func (a WritableInventoryItem_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableInventoryItem_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableInventoryItem_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableInventoryItem_CustomFields -func (a *WritableInventoryItem_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableInventoryItem_CustomFields to handle AdditionalProperties -func (a *WritableInventoryItem_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if len(object) != 0 { + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -48040,11 +104405,32 @@ func (a *WritableInventoryItem_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableInventoryItem_CustomFields to handle AdditionalProperties -func (a WritableInventoryItem_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -48054,38 +104440,62 @@ func (a WritableInventoryItem_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableObjectPermission_Actions. Returns the specified +// Getter for additional properties for BulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableObjectPermission_Actions) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableObjectPermission_Actions -func (a *WritableObjectPermission_Actions) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableObjectPermission_Actions to handle AdditionalProperties -func (a *WritableObjectPermission_Actions) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -48093,11 +104503,32 @@ func (a *WritableObjectPermission_Actions) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableObjectPermission_Actions to handle AdditionalProperties -func (a WritableObjectPermission_Actions) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -48107,38 +104538,62 @@ func (a WritableObjectPermission_Actions) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableObjectPermission_Constraints. Returns the specified +// Getter for additional properties for BulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableObjectPermission_Constraints) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableObjectPermission_Constraints -func (a *WritableObjectPermission_Constraints) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item +func (a *BulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableObjectPermission_Constraints to handle AdditionalProperties -func (a *WritableObjectPermission_Constraints) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -48146,11 +104601,32 @@ func (a *WritableObjectPermission_Constraints) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableObjectPermission_Constraints to handle AdditionalProperties -func (a WritableObjectPermission_Constraints) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -48160,38 +104636,62 @@ func (a WritableObjectPermission_Constraints) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritablePlatform_ComputedFields. Returns the specified +// Getter for additional properties for BulkWritableZoneRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePlatform_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableZoneRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePlatform_ComputedFields -func (a *WritablePlatform_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableZoneRequest_Relationships_Destination_Objects_Item +func (a *BulkWritableZoneRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePlatform_ComputedFields to handle AdditionalProperties -func (a *WritablePlatform_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableZoneRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *BulkWritableZoneRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -48199,11 +104699,32 @@ func (a *WritablePlatform_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritablePlatform_ComputedFields to handle AdditionalProperties -func (a WritablePlatform_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableZoneRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a BulkWritableZoneRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -48213,38 +104734,62 @@ func (a WritablePlatform_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritablePlatform_CustomFields. Returns the specified +// Getter for additional properties for BulkWritableZoneRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePlatform_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableZoneRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePlatform_CustomFields -func (a *WritablePlatform_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableZoneRequest_Relationships_Peer_Objects_Item +func (a *BulkWritableZoneRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePlatform_CustomFields to handle AdditionalProperties -func (a *WritablePlatform_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableZoneRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *BulkWritableZoneRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -48252,11 +104797,32 @@ func (a *WritablePlatform_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritablePlatform_CustomFields to handle AdditionalProperties -func (a WritablePlatform_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableZoneRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a BulkWritableZoneRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -48266,38 +104832,62 @@ func (a WritablePlatform_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritablePlatform_NapalmArgs. Returns the specified +// Getter for additional properties for BulkWritableZoneRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePlatform_NapalmArgs) Get(fieldName string) (value interface{}, found bool) { +func (a BulkWritableZoneRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePlatform_NapalmArgs -func (a *WritablePlatform_NapalmArgs) Set(fieldName string, value interface{}) { +// Setter for additional properties for BulkWritableZoneRequest_Relationships_Source_Objects_Item +func (a *BulkWritableZoneRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePlatform_NapalmArgs to handle AdditionalProperties -func (a *WritablePlatform_NapalmArgs) UnmarshalJSON(b []byte) error { +// Override default JSON handling for BulkWritableZoneRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *BulkWritableZoneRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -48305,11 +104895,32 @@ func (a *WritablePlatform_NapalmArgs) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritablePlatform_NapalmArgs to handle AdditionalProperties -func (a WritablePlatform_NapalmArgs) MarshalJSON() ([]byte, error) { +// Override default JSON handling for BulkWritableZoneRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a BulkWritableZoneRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -48319,38 +104930,62 @@ func (a WritablePlatform_NapalmArgs) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritablePowerFeed_CablePeer. Returns the specified +// Getter for additional properties for CircuitTypeRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePowerFeed_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a CircuitTypeRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePowerFeed_CablePeer -func (a *WritablePowerFeed_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for CircuitTypeRequest_Relationships_Destination_Objects_Item +func (a *CircuitTypeRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePowerFeed_CablePeer to handle AdditionalProperties -func (a *WritablePowerFeed_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for CircuitTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *CircuitTypeRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -48358,11 +104993,32 @@ func (a *WritablePowerFeed_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritablePowerFeed_CablePeer to handle AdditionalProperties -func (a WritablePowerFeed_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for CircuitTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a CircuitTypeRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -48372,38 +105028,62 @@ func (a WritablePowerFeed_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritablePowerFeed_ComputedFields. Returns the specified +// Getter for additional properties for CircuitTypeRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePowerFeed_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a CircuitTypeRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePowerFeed_ComputedFields -func (a *WritablePowerFeed_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for CircuitTypeRequest_Relationships_Peer_Objects_Item +func (a *CircuitTypeRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePowerFeed_ComputedFields to handle AdditionalProperties -func (a *WritablePowerFeed_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for CircuitTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *CircuitTypeRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -48411,11 +105091,32 @@ func (a *WritablePowerFeed_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritablePowerFeed_ComputedFields to handle AdditionalProperties -func (a WritablePowerFeed_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for CircuitTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a CircuitTypeRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -48425,38 +105126,62 @@ func (a WritablePowerFeed_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritablePowerFeed_ConnectedEndpoint. Returns the specified +// Getter for additional properties for CircuitTypeRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePowerFeed_ConnectedEndpoint) Get(fieldName string) (value interface{}, found bool) { +func (a CircuitTypeRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePowerFeed_ConnectedEndpoint -func (a *WritablePowerFeed_ConnectedEndpoint) Set(fieldName string, value interface{}) { +// Setter for additional properties for CircuitTypeRequest_Relationships_Source_Objects_Item +func (a *CircuitTypeRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePowerFeed_ConnectedEndpoint to handle AdditionalProperties -func (a *WritablePowerFeed_ConnectedEndpoint) UnmarshalJSON(b []byte) error { +// Override default JSON handling for CircuitTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *CircuitTypeRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -48464,11 +105189,32 @@ func (a *WritablePowerFeed_ConnectedEndpoint) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritablePowerFeed_ConnectedEndpoint to handle AdditionalProperties -func (a WritablePowerFeed_ConnectedEndpoint) MarshalJSON() ([]byte, error) { +// Override default JSON handling for CircuitTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a CircuitTypeRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -48478,38 +105224,62 @@ func (a WritablePowerFeed_ConnectedEndpoint) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritablePowerFeed_CustomFields. Returns the specified +// Getter for additional properties for ClusterGroupRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePowerFeed_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a ClusterGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePowerFeed_CustomFields -func (a *WritablePowerFeed_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for ClusterGroupRequest_Relationships_Destination_Objects_Item +func (a *ClusterGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePowerFeed_CustomFields to handle AdditionalProperties -func (a *WritablePowerFeed_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for ClusterGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *ClusterGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -48517,11 +105287,32 @@ func (a *WritablePowerFeed_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritablePowerFeed_CustomFields to handle AdditionalProperties -func (a WritablePowerFeed_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for ClusterGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a ClusterGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -48531,38 +105322,62 @@ func (a WritablePowerFeed_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritablePowerOutlet_CablePeer. Returns the specified +// Getter for additional properties for ClusterGroupRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePowerOutlet_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a ClusterGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePowerOutlet_CablePeer -func (a *WritablePowerOutlet_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for ClusterGroupRequest_Relationships_Peer_Objects_Item +func (a *ClusterGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePowerOutlet_CablePeer to handle AdditionalProperties -func (a *WritablePowerOutlet_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for ClusterGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *ClusterGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -48570,11 +105385,32 @@ func (a *WritablePowerOutlet_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritablePowerOutlet_CablePeer to handle AdditionalProperties -func (a WritablePowerOutlet_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for ClusterGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a ClusterGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -48584,38 +105420,62 @@ func (a WritablePowerOutlet_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritablePowerOutlet_ComputedFields. Returns the specified +// Getter for additional properties for ClusterGroupRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePowerOutlet_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a ClusterGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePowerOutlet_ComputedFields -func (a *WritablePowerOutlet_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for ClusterGroupRequest_Relationships_Source_Objects_Item +func (a *ClusterGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePowerOutlet_ComputedFields to handle AdditionalProperties -func (a *WritablePowerOutlet_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for ClusterGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *ClusterGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -48623,11 +105483,32 @@ func (a *WritablePowerOutlet_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritablePowerOutlet_ComputedFields to handle AdditionalProperties -func (a WritablePowerOutlet_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for ClusterGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a ClusterGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -48637,38 +105518,62 @@ func (a WritablePowerOutlet_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritablePowerOutlet_ConnectedEndpoint. Returns the specified +// Getter for additional properties for ClusterTypeRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePowerOutlet_ConnectedEndpoint) Get(fieldName string) (value interface{}, found bool) { +func (a ClusterTypeRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePowerOutlet_ConnectedEndpoint -func (a *WritablePowerOutlet_ConnectedEndpoint) Set(fieldName string, value interface{}) { +// Setter for additional properties for ClusterTypeRequest_Relationships_Destination_Objects_Item +func (a *ClusterTypeRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePowerOutlet_ConnectedEndpoint to handle AdditionalProperties -func (a *WritablePowerOutlet_ConnectedEndpoint) UnmarshalJSON(b []byte) error { +// Override default JSON handling for ClusterTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *ClusterTypeRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -48676,11 +105581,32 @@ func (a *WritablePowerOutlet_ConnectedEndpoint) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritablePowerOutlet_ConnectedEndpoint to handle AdditionalProperties -func (a WritablePowerOutlet_ConnectedEndpoint) MarshalJSON() ([]byte, error) { +// Override default JSON handling for ClusterTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a ClusterTypeRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -48690,38 +105616,62 @@ func (a WritablePowerOutlet_ConnectedEndpoint) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritablePowerOutlet_CustomFields. Returns the specified +// Getter for additional properties for ClusterTypeRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePowerOutlet_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a ClusterTypeRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePowerOutlet_CustomFields -func (a *WritablePowerOutlet_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for ClusterTypeRequest_Relationships_Peer_Objects_Item +func (a *ClusterTypeRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePowerOutlet_CustomFields to handle AdditionalProperties -func (a *WritablePowerOutlet_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for ClusterTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *ClusterTypeRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -48729,11 +105679,32 @@ func (a *WritablePowerOutlet_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritablePowerOutlet_CustomFields to handle AdditionalProperties -func (a WritablePowerOutlet_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for ClusterTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a ClusterTypeRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -48743,38 +105714,62 @@ func (a WritablePowerOutlet_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritablePowerOutletTemplate_ComputedFields. Returns the specified +// Getter for additional properties for ClusterTypeRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePowerOutletTemplate_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a ClusterTypeRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePowerOutletTemplate_ComputedFields -func (a *WritablePowerOutletTemplate_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for ClusterTypeRequest_Relationships_Source_Objects_Item +func (a *ClusterTypeRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePowerOutletTemplate_ComputedFields to handle AdditionalProperties -func (a *WritablePowerOutletTemplate_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for ClusterTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *ClusterTypeRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -48782,11 +105777,32 @@ func (a *WritablePowerOutletTemplate_ComputedFields) UnmarshalJSON(b []byte) err return nil } -// Override default JSON handling for WritablePowerOutletTemplate_ComputedFields to handle AdditionalProperties -func (a WritablePowerOutletTemplate_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for ClusterTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a ClusterTypeRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -48796,38 +105812,62 @@ func (a WritablePowerOutletTemplate_ComputedFields) MarshalJSON() ([]byte, error return json.Marshal(object) } -// Getter for additional properties for WritablePowerOutletTemplate_CustomFields. Returns the specified +// Getter for additional properties for ConfigContextSchemaRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePowerOutletTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a ConfigContextSchemaRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePowerOutletTemplate_CustomFields -func (a *WritablePowerOutletTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for ConfigContextSchemaRequest_Relationships_Destination_Objects_Item +func (a *ConfigContextSchemaRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePowerOutletTemplate_CustomFields to handle AdditionalProperties -func (a *WritablePowerOutletTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for ConfigContextSchemaRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *ConfigContextSchemaRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -48835,11 +105875,32 @@ func (a *WritablePowerOutletTemplate_CustomFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for WritablePowerOutletTemplate_CustomFields to handle AdditionalProperties -func (a WritablePowerOutletTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for ConfigContextSchemaRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a ConfigContextSchemaRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -48849,38 +105910,62 @@ func (a WritablePowerOutletTemplate_CustomFields) MarshalJSON() ([]byte, error) return json.Marshal(object) } -// Getter for additional properties for WritablePowerPanel_ComputedFields. Returns the specified +// Getter for additional properties for ConfigContextSchemaRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePowerPanel_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a ConfigContextSchemaRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePowerPanel_ComputedFields -func (a *WritablePowerPanel_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for ConfigContextSchemaRequest_Relationships_Peer_Objects_Item +func (a *ConfigContextSchemaRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePowerPanel_ComputedFields to handle AdditionalProperties -func (a *WritablePowerPanel_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for ConfigContextSchemaRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *ConfigContextSchemaRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -48888,11 +105973,32 @@ func (a *WritablePowerPanel_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritablePowerPanel_ComputedFields to handle AdditionalProperties -func (a WritablePowerPanel_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for ConfigContextSchemaRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a ConfigContextSchemaRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -48902,38 +106008,62 @@ func (a WritablePowerPanel_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritablePowerPanel_CustomFields. Returns the specified +// Getter for additional properties for ConfigContextSchemaRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePowerPanel_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a ConfigContextSchemaRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePowerPanel_CustomFields -func (a *WritablePowerPanel_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for ConfigContextSchemaRequest_Relationships_Source_Objects_Item +func (a *ConfigContextSchemaRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePowerPanel_CustomFields to handle AdditionalProperties -func (a *WritablePowerPanel_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for ConfigContextSchemaRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *ConfigContextSchemaRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -48941,11 +106071,32 @@ func (a *WritablePowerPanel_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritablePowerPanel_CustomFields to handle AdditionalProperties -func (a WritablePowerPanel_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for ConfigContextSchemaRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a ConfigContextSchemaRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -48955,38 +106106,62 @@ func (a WritablePowerPanel_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritablePowerPort_CablePeer. Returns the specified +// Getter for additional properties for DeviceRoleRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePowerPort_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a DeviceRoleRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePowerPort_CablePeer -func (a *WritablePowerPort_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for DeviceRoleRequest_Relationships_Destination_Objects_Item +func (a *DeviceRoleRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePowerPort_CablePeer to handle AdditionalProperties -func (a *WritablePowerPort_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for DeviceRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *DeviceRoleRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -48994,11 +106169,32 @@ func (a *WritablePowerPort_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritablePowerPort_CablePeer to handle AdditionalProperties -func (a WritablePowerPort_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for DeviceRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a DeviceRoleRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -49008,38 +106204,62 @@ func (a WritablePowerPort_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritablePowerPort_ComputedFields. Returns the specified +// Getter for additional properties for DeviceRoleRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePowerPort_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a DeviceRoleRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePowerPort_ComputedFields -func (a *WritablePowerPort_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for DeviceRoleRequest_Relationships_Peer_Objects_Item +func (a *DeviceRoleRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePowerPort_ComputedFields to handle AdditionalProperties -func (a *WritablePowerPort_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for DeviceRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *DeviceRoleRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -49047,11 +106267,32 @@ func (a *WritablePowerPort_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritablePowerPort_ComputedFields to handle AdditionalProperties -func (a WritablePowerPort_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for DeviceRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a DeviceRoleRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -49061,38 +106302,62 @@ func (a WritablePowerPort_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritablePowerPort_ConnectedEndpoint. Returns the specified +// Getter for additional properties for DeviceRoleRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePowerPort_ConnectedEndpoint) Get(fieldName string) (value interface{}, found bool) { +func (a DeviceRoleRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePowerPort_ConnectedEndpoint -func (a *WritablePowerPort_ConnectedEndpoint) Set(fieldName string, value interface{}) { +// Setter for additional properties for DeviceRoleRequest_Relationships_Source_Objects_Item +func (a *DeviceRoleRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePowerPort_ConnectedEndpoint to handle AdditionalProperties -func (a *WritablePowerPort_ConnectedEndpoint) UnmarshalJSON(b []byte) error { +// Override default JSON handling for DeviceRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *DeviceRoleRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -49100,11 +106365,32 @@ func (a *WritablePowerPort_ConnectedEndpoint) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritablePowerPort_ConnectedEndpoint to handle AdditionalProperties -func (a WritablePowerPort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { +// Override default JSON handling for DeviceRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a DeviceRoleRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -49114,50 +106400,95 @@ func (a WritablePowerPort_ConnectedEndpoint) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritablePowerPort_CustomFields. Returns the specified +// Getter for additional properties for DynamicGroupRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePowerPort_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a DynamicGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePowerPort_CustomFields -func (a *WritablePowerPort_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for DynamicGroupRequest_Relationships_Destination_Objects_Item +func (a *DynamicGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePowerPort_CustomFields to handle AdditionalProperties -func (a *WritablePowerPort_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for DynamicGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *DynamicGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if len(object) != 0 { - a.AdditionalProperties = make(map[string]interface{}) - for fieldName, fieldBuf := range object { - var fieldVal interface{} - err := json.Unmarshal(fieldBuf, &fieldVal) - if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) - } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } a.AdditionalProperties[fieldName] = fieldVal } } return nil } -// Override default JSON handling for WritablePowerPort_CustomFields to handle AdditionalProperties -func (a WritablePowerPort_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for DynamicGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a DynamicGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -49167,38 +106498,62 @@ func (a WritablePowerPort_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritablePowerPortTemplate_ComputedFields. Returns the specified +// Getter for additional properties for DynamicGroupRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePowerPortTemplate_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a DynamicGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePowerPortTemplate_ComputedFields -func (a *WritablePowerPortTemplate_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for DynamicGroupRequest_Relationships_Peer_Objects_Item +func (a *DynamicGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePowerPortTemplate_ComputedFields to handle AdditionalProperties -func (a *WritablePowerPortTemplate_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for DynamicGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *DynamicGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -49206,11 +106561,32 @@ func (a *WritablePowerPortTemplate_ComputedFields) UnmarshalJSON(b []byte) error return nil } -// Override default JSON handling for WritablePowerPortTemplate_ComputedFields to handle AdditionalProperties -func (a WritablePowerPortTemplate_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for DynamicGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a DynamicGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -49220,38 +106596,62 @@ func (a WritablePowerPortTemplate_ComputedFields) MarshalJSON() ([]byte, error) return json.Marshal(object) } -// Getter for additional properties for WritablePowerPortTemplate_CustomFields. Returns the specified +// Getter for additional properties for DynamicGroupRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePowerPortTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a DynamicGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePowerPortTemplate_CustomFields -func (a *WritablePowerPortTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for DynamicGroupRequest_Relationships_Source_Objects_Item +func (a *DynamicGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePowerPortTemplate_CustomFields to handle AdditionalProperties -func (a *WritablePowerPortTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for DynamicGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *DynamicGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -49259,11 +106659,32 @@ func (a *WritablePowerPortTemplate_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritablePowerPortTemplate_CustomFields to handle AdditionalProperties -func (a WritablePowerPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for DynamicGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a DynamicGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -49273,38 +106694,62 @@ func (a WritablePowerPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritablePrefix_ComputedFields. Returns the specified +// Getter for additional properties for ExportTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePrefix_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a ExportTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePrefix_ComputedFields -func (a *WritablePrefix_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for ExportTemplateRequest_Relationships_Destination_Objects_Item +func (a *ExportTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePrefix_ComputedFields to handle AdditionalProperties -func (a *WritablePrefix_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for ExportTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *ExportTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -49312,11 +106757,32 @@ func (a *WritablePrefix_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritablePrefix_ComputedFields to handle AdditionalProperties -func (a WritablePrefix_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for ExportTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a ExportTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -49326,38 +106792,62 @@ func (a WritablePrefix_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritablePrefix_CustomFields. Returns the specified +// Getter for additional properties for ExportTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritablePrefix_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a ExportTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritablePrefix_CustomFields -func (a *WritablePrefix_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for ExportTemplateRequest_Relationships_Peer_Objects_Item +func (a *ExportTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritablePrefix_CustomFields to handle AdditionalProperties -func (a *WritablePrefix_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for ExportTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *ExportTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -49365,11 +106855,32 @@ func (a *WritablePrefix_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritablePrefix_CustomFields to handle AdditionalProperties -func (a WritablePrefix_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for ExportTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a ExportTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -49379,38 +106890,62 @@ func (a WritablePrefix_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableProviderNetwork_ComputedFields. Returns the specified +// Getter for additional properties for ExportTemplateRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableProviderNetwork_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a ExportTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableProviderNetwork_ComputedFields -func (a *WritableProviderNetwork_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for ExportTemplateRequest_Relationships_Source_Objects_Item +func (a *ExportTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableProviderNetwork_ComputedFields to handle AdditionalProperties -func (a *WritableProviderNetwork_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for ExportTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *ExportTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -49418,11 +106953,32 @@ func (a *WritableProviderNetwork_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableProviderNetwork_ComputedFields to handle AdditionalProperties -func (a WritableProviderNetwork_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for ExportTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a ExportTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -49432,38 +106988,62 @@ func (a WritableProviderNetwork_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableProviderNetwork_CustomFields. Returns the specified +// Getter for additional properties for GitRepositoryRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableProviderNetwork_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a GitRepositoryRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableProviderNetwork_CustomFields -func (a *WritableProviderNetwork_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for GitRepositoryRequest_Relationships_Destination_Objects_Item +func (a *GitRepositoryRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableProviderNetwork_CustomFields to handle AdditionalProperties -func (a *WritableProviderNetwork_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for GitRepositoryRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *GitRepositoryRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -49471,11 +107051,32 @@ func (a *WritableProviderNetwork_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableProviderNetwork_CustomFields to handle AdditionalProperties -func (a WritableProviderNetwork_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for GitRepositoryRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a GitRepositoryRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -49485,38 +107086,62 @@ func (a WritableProviderNetwork_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableRack_ComputedFields. Returns the specified +// Getter for additional properties for GitRepositoryRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableRack_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a GitRepositoryRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableRack_ComputedFields -func (a *WritableRack_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for GitRepositoryRequest_Relationships_Peer_Objects_Item +func (a *GitRepositoryRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableRack_ComputedFields to handle AdditionalProperties -func (a *WritableRack_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for GitRepositoryRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *GitRepositoryRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -49524,11 +107149,32 @@ func (a *WritableRack_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableRack_ComputedFields to handle AdditionalProperties -func (a WritableRack_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for GitRepositoryRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a GitRepositoryRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -49538,38 +107184,62 @@ func (a WritableRack_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableRack_CustomFields. Returns the specified +// Getter for additional properties for GitRepositoryRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableRack_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a GitRepositoryRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableRack_CustomFields -func (a *WritableRack_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for GitRepositoryRequest_Relationships_Source_Objects_Item +func (a *GitRepositoryRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableRack_CustomFields to handle AdditionalProperties -func (a *WritableRack_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for GitRepositoryRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *GitRepositoryRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -49577,11 +107247,32 @@ func (a *WritableRack_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableRack_CustomFields to handle AdditionalProperties -func (a WritableRack_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for GitRepositoryRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a GitRepositoryRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -49591,38 +107282,62 @@ func (a WritableRack_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableRackGroup_ComputedFields. Returns the specified +// Getter for additional properties for IPRangeRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableRackGroup_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a IPRangeRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableRackGroup_ComputedFields -func (a *WritableRackGroup_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for IPRangeRequest_Relationships_Destination_Objects_Item +func (a *IPRangeRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableRackGroup_ComputedFields to handle AdditionalProperties -func (a *WritableRackGroup_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for IPRangeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *IPRangeRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -49630,11 +107345,32 @@ func (a *WritableRackGroup_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableRackGroup_ComputedFields to handle AdditionalProperties -func (a WritableRackGroup_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for IPRangeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a IPRangeRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -49644,38 +107380,62 @@ func (a WritableRackGroup_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableRackGroup_CustomFields. Returns the specified +// Getter for additional properties for IPRangeRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableRackGroup_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a IPRangeRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableRackGroup_CustomFields -func (a *WritableRackGroup_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for IPRangeRequest_Relationships_Peer_Objects_Item +func (a *IPRangeRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableRackGroup_CustomFields to handle AdditionalProperties -func (a *WritableRackGroup_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for IPRangeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *IPRangeRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -49683,11 +107443,32 @@ func (a *WritableRackGroup_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableRackGroup_CustomFields to handle AdditionalProperties -func (a WritableRackGroup_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for IPRangeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a IPRangeRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -49697,38 +107478,62 @@ func (a WritableRackGroup_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableRackReservation_ComputedFields. Returns the specified +// Getter for additional properties for IPRangeRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableRackReservation_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a IPRangeRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableRackReservation_ComputedFields -func (a *WritableRackReservation_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for IPRangeRequest_Relationships_Source_Objects_Item +func (a *IPRangeRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableRackReservation_ComputedFields to handle AdditionalProperties -func (a *WritableRackReservation_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for IPRangeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *IPRangeRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -49736,11 +107541,32 @@ func (a *WritableRackReservation_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableRackReservation_ComputedFields to handle AdditionalProperties -func (a WritableRackReservation_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for IPRangeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a IPRangeRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -49750,38 +107576,62 @@ func (a WritableRackReservation_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableRackReservation_CustomFields. Returns the specified +// Getter for additional properties for JobHookRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableRackReservation_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a JobHookRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableRackReservation_CustomFields -func (a *WritableRackReservation_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for JobHookRequest_Relationships_Destination_Objects_Item +func (a *JobHookRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableRackReservation_CustomFields to handle AdditionalProperties -func (a *WritableRackReservation_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for JobHookRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *JobHookRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -49789,11 +107639,32 @@ func (a *WritableRackReservation_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableRackReservation_CustomFields to handle AdditionalProperties -func (a WritableRackReservation_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for JobHookRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a JobHookRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -49803,38 +107674,62 @@ func (a WritableRackReservation_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableRackReservation_Units. Returns the specified +// Getter for additional properties for JobHookRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableRackReservation_Units) Get(fieldName string) (value interface{}, found bool) { +func (a JobHookRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableRackReservation_Units -func (a *WritableRackReservation_Units) Set(fieldName string, value interface{}) { +// Setter for additional properties for JobHookRequest_Relationships_Peer_Objects_Item +func (a *JobHookRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableRackReservation_Units to handle AdditionalProperties -func (a *WritableRackReservation_Units) UnmarshalJSON(b []byte) error { +// Override default JSON handling for JobHookRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *JobHookRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -49842,11 +107737,32 @@ func (a *WritableRackReservation_Units) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableRackReservation_Units to handle AdditionalProperties -func (a WritableRackReservation_Units) MarshalJSON() ([]byte, error) { +// Override default JSON handling for JobHookRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a JobHookRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -49856,38 +107772,62 @@ func (a WritableRackReservation_Units) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableRearPort_CablePeer. Returns the specified +// Getter for additional properties for JobHookRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableRearPort_CablePeer) Get(fieldName string) (value interface{}, found bool) { +func (a JobHookRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableRearPort_CablePeer -func (a *WritableRearPort_CablePeer) Set(fieldName string, value interface{}) { +// Setter for additional properties for JobHookRequest_Relationships_Source_Objects_Item +func (a *JobHookRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableRearPort_CablePeer to handle AdditionalProperties -func (a *WritableRearPort_CablePeer) UnmarshalJSON(b []byte) error { +// Override default JSON handling for JobHookRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *JobHookRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -49895,11 +107835,32 @@ func (a *WritableRearPort_CablePeer) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableRearPort_CablePeer to handle AdditionalProperties -func (a WritableRearPort_CablePeer) MarshalJSON() ([]byte, error) { +// Override default JSON handling for JobHookRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a JobHookRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -49909,38 +107870,62 @@ func (a WritableRearPort_CablePeer) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableRearPort_ComputedFields. Returns the specified +// Getter for additional properties for JobRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableRearPort_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a JobRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableRearPort_ComputedFields -func (a *WritableRearPort_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for JobRequest_Relationships_Destination_Objects_Item +func (a *JobRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableRearPort_ComputedFields to handle AdditionalProperties -func (a *WritableRearPort_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for JobRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *JobRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -49948,11 +107933,32 @@ func (a *WritableRearPort_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableRearPort_ComputedFields to handle AdditionalProperties -func (a WritableRearPort_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for JobRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a JobRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -49962,38 +107968,62 @@ func (a WritableRearPort_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableRearPort_CustomFields. Returns the specified +// Getter for additional properties for JobRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableRearPort_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a JobRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableRearPort_CustomFields -func (a *WritableRearPort_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for JobRequest_Relationships_Peer_Objects_Item +func (a *JobRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableRearPort_CustomFields to handle AdditionalProperties -func (a *WritableRearPort_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for JobRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *JobRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -50001,11 +108031,32 @@ func (a *WritableRearPort_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableRearPort_CustomFields to handle AdditionalProperties -func (a WritableRearPort_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for JobRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a JobRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -50015,38 +108066,62 @@ func (a WritableRearPort_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableRearPortTemplate_CustomFields. Returns the specified +// Getter for additional properties for JobRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableRearPortTemplate_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a JobRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableRearPortTemplate_CustomFields -func (a *WritableRearPortTemplate_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for JobRequest_Relationships_Source_Objects_Item +func (a *JobRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableRearPortTemplate_CustomFields to handle AdditionalProperties -func (a *WritableRearPortTemplate_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for JobRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *JobRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -50054,11 +108129,32 @@ func (a *WritableRearPortTemplate_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableRearPortTemplate_CustomFields to handle AdditionalProperties -func (a WritableRearPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for JobRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a JobRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -50068,38 +108164,62 @@ func (a WritableRearPortTemplate_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableRegion_ComputedFields. Returns the specified +// Getter for additional properties for ManufacturerRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableRegion_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a ManufacturerRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableRegion_ComputedFields -func (a *WritableRegion_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for ManufacturerRequest_Relationships_Destination_Objects_Item +func (a *ManufacturerRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableRegion_ComputedFields to handle AdditionalProperties -func (a *WritableRegion_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for ManufacturerRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *ManufacturerRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -50107,11 +108227,32 @@ func (a *WritableRegion_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableRegion_ComputedFields to handle AdditionalProperties -func (a WritableRegion_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for ManufacturerRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a ManufacturerRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -50121,38 +108262,62 @@ func (a WritableRegion_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableRegion_CustomFields. Returns the specified +// Getter for additional properties for ManufacturerRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableRegion_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a ManufacturerRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableRegion_CustomFields -func (a *WritableRegion_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for ManufacturerRequest_Relationships_Peer_Objects_Item +func (a *ManufacturerRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableRegion_CustomFields to handle AdditionalProperties -func (a *WritableRegion_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for ManufacturerRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *ManufacturerRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -50160,11 +108325,32 @@ func (a *WritableRegion_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableRegion_CustomFields to handle AdditionalProperties -func (a WritableRegion_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for ManufacturerRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a ManufacturerRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -50174,38 +108360,62 @@ func (a WritableRegion_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableRouteTarget_ComputedFields. Returns the specified +// Getter for additional properties for ManufacturerRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableRouteTarget_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a ManufacturerRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableRouteTarget_ComputedFields -func (a *WritableRouteTarget_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for ManufacturerRequest_Relationships_Source_Objects_Item +func (a *ManufacturerRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableRouteTarget_ComputedFields to handle AdditionalProperties -func (a *WritableRouteTarget_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for ManufacturerRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *ManufacturerRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -50213,11 +108423,32 @@ func (a *WritableRouteTarget_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableRouteTarget_ComputedFields to handle AdditionalProperties -func (a WritableRouteTarget_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for ManufacturerRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a ManufacturerRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -50227,38 +108458,62 @@ func (a WritableRouteTarget_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableRouteTarget_CustomFields. Returns the specified +// Getter for additional properties for NATPolicyRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableRouteTarget_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a NATPolicyRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableRouteTarget_CustomFields -func (a *WritableRouteTarget_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for NATPolicyRequest_Relationships_Destination_Objects_Item +func (a *NATPolicyRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableRouteTarget_CustomFields to handle AdditionalProperties -func (a *WritableRouteTarget_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for NATPolicyRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *NATPolicyRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if len(object) != 0 { + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -50266,11 +108521,32 @@ func (a *WritableRouteTarget_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableRouteTarget_CustomFields to handle AdditionalProperties -func (a WritableRouteTarget_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for NATPolicyRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a NATPolicyRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -50280,38 +108556,62 @@ func (a WritableRouteTarget_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableService_ComputedFields. Returns the specified +// Getter for additional properties for NATPolicyRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableService_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a NATPolicyRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableService_ComputedFields -func (a *WritableService_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for NATPolicyRequest_Relationships_Peer_Objects_Item +func (a *NATPolicyRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableService_ComputedFields to handle AdditionalProperties -func (a *WritableService_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for NATPolicyRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *NATPolicyRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -50319,11 +108619,32 @@ func (a *WritableService_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableService_ComputedFields to handle AdditionalProperties -func (a WritableService_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for NATPolicyRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a NATPolicyRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -50333,38 +108654,62 @@ func (a WritableService_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableService_CustomFields. Returns the specified +// Getter for additional properties for NATPolicyRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableService_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a NATPolicyRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableService_CustomFields -func (a *WritableService_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for NATPolicyRequest_Relationships_Source_Objects_Item +func (a *NATPolicyRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableService_CustomFields to handle AdditionalProperties -func (a *WritableService_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for NATPolicyRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *NATPolicyRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -50372,11 +108717,32 @@ func (a *WritableService_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableService_CustomFields to handle AdditionalProperties -func (a WritableService_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for NATPolicyRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a NATPolicyRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -50386,38 +108752,62 @@ func (a WritableService_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableSite_ComputedFields. Returns the specified +// Getter for additional properties for PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableSite_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableSite_ComputedFields -func (a *WritableSite_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableSite_ComputedFields to handle AdditionalProperties -func (a *WritableSite_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -50425,11 +108815,32 @@ func (a *WritableSite_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableSite_ComputedFields to handle AdditionalProperties -func (a WritableSite_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -50439,38 +108850,62 @@ func (a WritableSite_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableSite_CustomFields. Returns the specified +// Getter for additional properties for PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableSite_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableSite_CustomFields -func (a *WritableSite_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableSite_CustomFields to handle AdditionalProperties -func (a *WritableSite_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -50478,11 +108913,32 @@ func (a *WritableSite_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableSite_CustomFields to handle AdditionalProperties -func (a WritableSite_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -50492,38 +108948,62 @@ func (a WritableSite_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableSoftwareImageLCM_CustomFields. Returns the specified +// Getter for additional properties for PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableSoftwareImageLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableSoftwareImageLCM_CustomFields -func (a *WritableSoftwareImageLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableSoftwareImageLCM_CustomFields to handle AdditionalProperties -func (a *WritableSoftwareImageLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -50531,11 +109011,32 @@ func (a *WritableSoftwareImageLCM_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableSoftwareImageLCM_CustomFields to handle AdditionalProperties -func (a WritableSoftwareImageLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableAddressObjectGroupRequest_AddressObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -50545,38 +109046,62 @@ func (a WritableSoftwareImageLCM_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableSoftwareLCM_CustomFields. Returns the specified +// Getter for additional properties for PatchedBulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableSoftwareLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a PatchedBulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableSoftwareLCM_CustomFields -func (a *WritableSoftwareLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for PatchedBulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableSoftwareLCM_CustomFields to handle AdditionalProperties -func (a *WritableSoftwareLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PatchedBulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -50584,11 +109109,32 @@ func (a *WritableSoftwareLCM_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableSoftwareLCM_CustomFields to handle AdditionalProperties -func (a WritableSoftwareLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PatchedBulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -50598,38 +109144,62 @@ func (a WritableSoftwareLCM_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableTenant_ComputedFields. Returns the specified +// Getter for additional properties for PatchedBulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableTenant_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a PatchedBulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableTenant_ComputedFields -func (a *WritableTenant_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for PatchedBulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableTenant_ComputedFields to handle AdditionalProperties -func (a *WritableTenant_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PatchedBulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -50637,11 +109207,32 @@ func (a *WritableTenant_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableTenant_ComputedFields to handle AdditionalProperties -func (a WritableTenant_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PatchedBulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -50651,38 +109242,62 @@ func (a WritableTenant_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableTenant_CustomFields. Returns the specified +// Getter for additional properties for PatchedBulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableTenant_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a PatchedBulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableTenant_CustomFields -func (a *WritableTenant_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for PatchedBulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableTenant_CustomFields to handle AdditionalProperties -func (a *WritableTenant_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PatchedBulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -50690,11 +109305,32 @@ func (a *WritableTenant_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableTenant_CustomFields to handle AdditionalProperties -func (a WritableTenant_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PatchedBulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -50704,38 +109340,62 @@ func (a WritableTenant_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableTenantGroup_ComputedFields. Returns the specified +// Getter for additional properties for PatchedBulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableTenantGroup_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a PatchedBulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableTenantGroup_ComputedFields -func (a *WritableTenantGroup_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for PatchedBulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableTenantGroup_ComputedFields to handle AdditionalProperties -func (a *WritableTenantGroup_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PatchedBulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -50743,11 +109403,32 @@ func (a *WritableTenantGroup_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableTenantGroup_ComputedFields to handle AdditionalProperties -func (a WritableTenantGroup_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PatchedBulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableAddressObjectRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -50757,38 +109438,62 @@ func (a WritableTenantGroup_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableTenantGroup_CustomFields. Returns the specified +// Getter for additional properties for PatchedBulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableTenantGroup_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a PatchedBulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableTenantGroup_CustomFields -func (a *WritableTenantGroup_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for PatchedBulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableTenantGroup_CustomFields to handle AdditionalProperties -func (a *WritableTenantGroup_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PatchedBulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -50796,11 +109501,32 @@ func (a *WritableTenantGroup_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableTenantGroup_CustomFields to handle AdditionalProperties -func (a WritableTenantGroup_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PatchedBulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableAddressObjectRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -50810,38 +109536,62 @@ func (a WritableTenantGroup_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableVLAN_ComputedFields. Returns the specified +// Getter for additional properties for PatchedBulkWritableAddressObjectRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableVLAN_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a PatchedBulkWritableAddressObjectRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableVLAN_ComputedFields -func (a *WritableVLAN_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for PatchedBulkWritableAddressObjectRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableAddressObjectRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableVLAN_ComputedFields to handle AdditionalProperties -func (a *WritableVLAN_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PatchedBulkWritableAddressObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableAddressObjectRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -50849,11 +109599,32 @@ func (a *WritableVLAN_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableVLAN_ComputedFields to handle AdditionalProperties -func (a WritableVLAN_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PatchedBulkWritableAddressObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableAddressObjectRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -50863,38 +109634,62 @@ func (a WritableVLAN_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableVLAN_CustomFields. Returns the specified +// Getter for additional properties for PatchedBulkWritableAggregateRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableVLAN_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a PatchedBulkWritableAggregateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableVLAN_CustomFields -func (a *WritableVLAN_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for PatchedBulkWritableAggregateRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableAggregateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableVLAN_CustomFields to handle AdditionalProperties -func (a *WritableVLAN_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PatchedBulkWritableAggregateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableAggregateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -50902,11 +109697,32 @@ func (a *WritableVLAN_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableVLAN_CustomFields to handle AdditionalProperties -func (a WritableVLAN_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PatchedBulkWritableAggregateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableAggregateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -50916,38 +109732,62 @@ func (a WritableVLAN_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableVLANGroup_ComputedFields. Returns the specified +// Getter for additional properties for PatchedBulkWritableAggregateRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableVLANGroup_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a PatchedBulkWritableAggregateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableVLANGroup_ComputedFields -func (a *WritableVLANGroup_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for PatchedBulkWritableAggregateRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableAggregateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableVLANGroup_ComputedFields to handle AdditionalProperties -func (a *WritableVLANGroup_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PatchedBulkWritableAggregateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableAggregateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -50955,11 +109795,32 @@ func (a *WritableVLANGroup_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableVLANGroup_ComputedFields to handle AdditionalProperties -func (a WritableVLANGroup_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PatchedBulkWritableAggregateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableAggregateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -50969,38 +109830,62 @@ func (a WritableVLANGroup_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableVLANGroup_CustomFields. Returns the specified +// Getter for additional properties for PatchedBulkWritableAggregateRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableVLANGroup_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a PatchedBulkWritableAggregateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableVLANGroup_CustomFields -func (a *WritableVLANGroup_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for PatchedBulkWritableAggregateRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableAggregateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableVLANGroup_CustomFields to handle AdditionalProperties -func (a *WritableVLANGroup_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PatchedBulkWritableAggregateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableAggregateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -51008,11 +109893,32 @@ func (a *WritableVLANGroup_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableVLANGroup_CustomFields to handle AdditionalProperties -func (a WritableVLANGroup_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PatchedBulkWritableAggregateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableAggregateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -51022,38 +109928,62 @@ func (a WritableVLANGroup_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableVRF_ComputedFields. Returns the specified +// Getter for additional properties for PatchedBulkWritableCVELCMRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableVRF_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a PatchedBulkWritableCVELCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableVRF_ComputedFields -func (a *WritableVRF_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for PatchedBulkWritableCVELCMRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableCVELCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableVRF_ComputedFields to handle AdditionalProperties -func (a *WritableVRF_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PatchedBulkWritableCVELCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableCVELCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -51061,11 +109991,32 @@ func (a *WritableVRF_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableVRF_ComputedFields to handle AdditionalProperties -func (a WritableVRF_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PatchedBulkWritableCVELCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableCVELCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -51075,38 +110026,62 @@ func (a WritableVRF_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableVRF_CustomFields. Returns the specified +// Getter for additional properties for PatchedBulkWritableCVELCMRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableVRF_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a PatchedBulkWritableCVELCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableVRF_CustomFields -func (a *WritableVRF_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for PatchedBulkWritableCVELCMRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableCVELCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableVRF_CustomFields to handle AdditionalProperties -func (a *WritableVRF_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PatchedBulkWritableCVELCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableCVELCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -51114,11 +110089,32 @@ func (a *WritableVRF_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableVRF_CustomFields to handle AdditionalProperties -func (a WritableVRF_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PatchedBulkWritableCVELCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableCVELCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -51128,38 +110124,62 @@ func (a WritableVRF_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableValidatedSoftwareLCM_CustomFields. Returns the specified +// Getter for additional properties for PatchedBulkWritableCVELCMRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableValidatedSoftwareLCM_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a PatchedBulkWritableCVELCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableValidatedSoftwareLCM_CustomFields -func (a *WritableValidatedSoftwareLCM_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for PatchedBulkWritableCVELCMRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableCVELCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableValidatedSoftwareLCM_CustomFields to handle AdditionalProperties -func (a *WritableValidatedSoftwareLCM_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PatchedBulkWritableCVELCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableCVELCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -51167,11 +110187,32 @@ func (a *WritableValidatedSoftwareLCM_CustomFields) UnmarshalJSON(b []byte) erro return nil } -// Override default JSON handling for WritableValidatedSoftwareLCM_CustomFields to handle AdditionalProperties -func (a WritableValidatedSoftwareLCM_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PatchedBulkWritableCVELCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableCVELCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -51181,38 +110222,62 @@ func (a WritableValidatedSoftwareLCM_CustomFields) MarshalJSON() ([]byte, error) return json.Marshal(object) } -// Getter for additional properties for WritableVirtualChassis_ComputedFields. Returns the specified +// Getter for additional properties for PatchedBulkWritableCableRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableVirtualChassis_ComputedFields) Get(fieldName string) (value interface{}, found bool) { +func (a PatchedBulkWritableCableRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableVirtualChassis_ComputedFields -func (a *WritableVirtualChassis_ComputedFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for PatchedBulkWritableCableRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableCableRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableVirtualChassis_ComputedFields to handle AdditionalProperties -func (a *WritableVirtualChassis_ComputedFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PatchedBulkWritableCableRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableCableRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -51220,11 +110285,32 @@ func (a *WritableVirtualChassis_ComputedFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableVirtualChassis_ComputedFields to handle AdditionalProperties -func (a WritableVirtualChassis_ComputedFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PatchedBulkWritableCableRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableCableRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -51234,38 +110320,62 @@ func (a WritableVirtualChassis_ComputedFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableVirtualChassis_CustomFields. Returns the specified +// Getter for additional properties for PatchedBulkWritableCableRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableVirtualChassis_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a PatchedBulkWritableCableRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableVirtualChassis_CustomFields -func (a *WritableVirtualChassis_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for PatchedBulkWritableCableRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableCableRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableVirtualChassis_CustomFields to handle AdditionalProperties -func (a *WritableVirtualChassis_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PatchedBulkWritableCableRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableCableRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -51273,11 +110383,32 @@ func (a *WritableVirtualChassis_CustomFields) UnmarshalJSON(b []byte) error { return nil } -// Override default JSON handling for WritableVirtualChassis_CustomFields to handle AdditionalProperties -func (a WritableVirtualChassis_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PatchedBulkWritableCableRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableCableRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -51287,38 +110418,62 @@ func (a WritableVirtualChassis_CustomFields) MarshalJSON() ([]byte, error) { return json.Marshal(object) } -// Getter for additional properties for WritableVirtualMachineWithConfigContext_ConfigContext. Returns the specified +// Getter for additional properties for PatchedBulkWritableCableRequest_Relationships_Source_Objects_Item. Returns the specified // element and whether it was found -func (a WritableVirtualMachineWithConfigContext_ConfigContext) Get(fieldName string) (value interface{}, found bool) { +func (a PatchedBulkWritableCableRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableVirtualMachineWithConfigContext_ConfigContext -func (a *WritableVirtualMachineWithConfigContext_ConfigContext) Set(fieldName string, value interface{}) { +// Setter for additional properties for PatchedBulkWritableCableRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableCableRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableVirtualMachineWithConfigContext_ConfigContext to handle AdditionalProperties -func (a *WritableVirtualMachineWithConfigContext_ConfigContext) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PatchedBulkWritableCableRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableCableRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -51326,11 +110481,32 @@ func (a *WritableVirtualMachineWithConfigContext_ConfigContext) UnmarshalJSON(b return nil } -// Override default JSON handling for WritableVirtualMachineWithConfigContext_ConfigContext to handle AdditionalProperties -func (a WritableVirtualMachineWithConfigContext_ConfigContext) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PatchedBulkWritableCableRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableCableRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -51340,50 +110516,683 @@ func (a WritableVirtualMachineWithConfigContext_ConfigContext) MarshalJSON() ([] return json.Marshal(object) } -// Getter for additional properties for WritableVirtualMachineWithConfigContext_CustomFields. Returns the specified +// Getter for additional properties for PatchedBulkWritableCircuitRequest_Relationships_Destination_Objects_Item. Returns the specified // element and whether it was found -func (a WritableVirtualMachineWithConfigContext_CustomFields) Get(fieldName string) (value interface{}, found bool) { +func (a PatchedBulkWritableCircuitRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableVirtualMachineWithConfigContext_CustomFields -func (a *WritableVirtualMachineWithConfigContext_CustomFields) Set(fieldName string, value interface{}) { +// Setter for additional properties for PatchedBulkWritableCircuitRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableCircuitRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableVirtualMachineWithConfigContext_CustomFields to handle AdditionalProperties -func (a *WritableVirtualMachineWithConfigContext_CustomFields) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PatchedBulkWritableCircuitRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableCircuitRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if len(object) != 0 { - a.AdditionalProperties = make(map[string]interface{}) - for fieldName, fieldBuf := range object { - var fieldVal interface{} - err := json.Unmarshal(fieldBuf, &fieldVal) - if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) - } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableCircuitRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableCircuitRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableCircuitRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableCircuitRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableCircuitRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableCircuitRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableCircuitRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableCircuitRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableCircuitRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableCircuitRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableCircuitRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableCircuitRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableCircuitRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableCircuitRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableCircuitRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableCircuitRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableCircuitRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableCircuitRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableCircuitTerminationRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } a.AdditionalProperties[fieldName] = fieldVal } } return nil } -// Override default JSON handling for WritableVirtualMachineWithConfigContext_CustomFields to handle AdditionalProperties -func (a WritableVirtualMachineWithConfigContext_CustomFields) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PatchedBulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableCircuitTypeRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -51393,38 +111202,62 @@ func (a WritableVirtualMachineWithConfigContext_CustomFields) MarshalJSON() ([]b return json.Marshal(object) } -// Getter for additional properties for WritableVirtualMachineWithConfigContext_LocalContextData. Returns the specified +// Getter for additional properties for PatchedBulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item. Returns the specified // element and whether it was found -func (a WritableVirtualMachineWithConfigContext_LocalContextData) Get(fieldName string) (value interface{}, found bool) { +func (a PatchedBulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for WritableVirtualMachineWithConfigContext_LocalContextData -func (a *WritableVirtualMachineWithConfigContext_LocalContextData) Set(fieldName string, value interface{}) { +// Setter for additional properties for PatchedBulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for WritableVirtualMachineWithConfigContext_LocalContextData to handle AdditionalProperties -func (a *WritableVirtualMachineWithConfigContext_LocalContextData) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PatchedBulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + if len(object) != 0 { a.AdditionalProperties = make(map[string]interface{}) for fieldName, fieldBuf := range object { var fieldVal interface{} err := json.Unmarshal(fieldBuf, &fieldVal) if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) } a.AdditionalProperties[fieldName] = fieldVal } @@ -51432,11 +111265,32 @@ func (a *WritableVirtualMachineWithConfigContext_LocalContextData) UnmarshalJSON return nil } -// Override default JSON handling for WritableVirtualMachineWithConfigContext_LocalContextData to handle AdditionalProperties -func (a WritableVirtualMachineWithConfigContext_LocalContextData) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PatchedBulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableCircuitTypeRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -51445,3 +111299,88243 @@ func (a WritableVirtualMachineWithConfigContext_LocalContextData) MarshalJSON() } return json.Marshal(object) } + +// Getter for additional properties for PatchedBulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableCircuitTypeRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableClusterGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableClusterGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableClusterGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableClusterGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableClusterGroupRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableClusterGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableClusterGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableClusterGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableClusterGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableClusterGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableClusterRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableClusterRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableClusterRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableClusterRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableClusterRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableClusterRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableClusterRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableClusterRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableClusterRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableClusterRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableClusterRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableClusterRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableClusterRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableClusterRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableClusterRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableClusterRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableClusterRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableClusterRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableClusterRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableClusterRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableClusterRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableClusterRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableClusterRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableClusterRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableClusterTypeRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableClusterTypeRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableClusterTypeRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableClusterTypeRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableClusterTypeRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableClusterTypeRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableClusterTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableClusterTypeRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableClusterTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableClusterTypeRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableConfigContextSchemaRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableConfigContextSchemaRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableConfigContextSchemaRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableConsolePortRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableConsolePortRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableConsolePortRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableConsolePortRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableConsolePortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableConsolePortRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableConsolePortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableConsolePortRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableConsolePortRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableConsolePortRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableConsolePortRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableConsolePortRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableConsolePortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableConsolePortRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableConsolePortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableConsolePortRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableConsolePortRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableConsolePortRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableConsolePortRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableConsolePortRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableConsolePortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableConsolePortRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableConsolePortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableConsolePortRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableConsoleServerPortRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableContactLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableContactLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableContactLCMRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableContactLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableContactLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableContactLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableContactLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableContactLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableContactLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableContactLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableContactLCMRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableContactLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableContactLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableContactLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableContactLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableContactLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableContactLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableContactLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableContactLCMRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableContactLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableContactLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableContactLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableContactLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableContactLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableContractLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableContractLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableContractLCMRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableContractLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableContractLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableContractLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableContractLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableContractLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableContractLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableContractLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableContractLCMRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableContractLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableContractLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableContractLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableContractLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableContractLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableContractLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableContractLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableContractLCMRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableContractLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableContractLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableContractLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableContractLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableContractLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableDeviceBayRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableDeviceBayRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableDeviceBayRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableDeviceBayRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableDeviceBayRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableDeviceBayRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableDeviceBayRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableDeviceBayRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableDeviceBayRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableDeviceBayRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableDeviceRoleRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableDeviceRoleRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableDeviceRoleRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableDeviceTypeRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableDeviceTypeRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableDeviceTypeRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableDynamicGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableDynamicGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableDynamicGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableExportTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableExportTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableExportTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableExportTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableExportTemplateRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableExportTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableExportTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableExportTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableExportTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableExportTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableFQDNRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableFQDNRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableFQDNRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableFQDNRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableFQDNRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableFQDNRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableFQDNRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableFQDNRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableFQDNRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableFQDNRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableFQDNRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableFQDNRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableFQDNRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableFQDNRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableFQDNRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableFQDNRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableFQDNRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableFQDNRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableFQDNRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableFQDNRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableFQDNRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableFQDNRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableFQDNRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableFQDNRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableFrontPortRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableFrontPortRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableFrontPortRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableFrontPortRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableFrontPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableFrontPortRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableFrontPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableFrontPortRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableFrontPortRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableFrontPortRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableFrontPortRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableFrontPortRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableFrontPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableFrontPortRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableFrontPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableFrontPortRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableFrontPortRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableFrontPortRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableFrontPortRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableFrontPortRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableFrontPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableFrontPortRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableFrontPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableFrontPortRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableGitRepositoryRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableGitRepositoryRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableGitRepositoryRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableHardwareLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableHardwareLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableHardwareLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableIPAddressRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableIPAddressRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableIPAddressRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableIPAddressRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableIPAddressRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableIPAddressRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableIPAddressRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableIPAddressRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableIPAddressRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableIPAddressRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableIPAddressRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableIPAddressRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableIPAddressRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableIPAddressRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableIPAddressRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableIPAddressRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableIPAddressRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableIPAddressRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableIPAddressRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableIPAddressRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableIPAddressRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableIPAddressRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableIPAddressRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableIPAddressRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableIPRangeRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableIPRangeRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableIPRangeRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableIPRangeRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableIPRangeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableIPRangeRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableIPRangeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableIPRangeRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableIPRangeRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableIPRangeRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableIPRangeRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableIPRangeRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableIPRangeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableIPRangeRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableIPRangeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableIPRangeRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableIPRangeRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableIPRangeRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableIPRangeRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableIPRangeRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableIPRangeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableIPRangeRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableIPRangeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableIPRangeRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableInterfaceRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableInterfaceRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableInterfaceRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableInterfaceRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableInterfaceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableInterfaceRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableInterfaceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableInterfaceRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableInterfaceRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableInterfaceRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableInterfaceRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableInterfaceRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableInterfaceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableInterfaceRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableInterfaceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableInterfaceRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableInterfaceRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableInterfaceRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableInterfaceRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableInterfaceRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableInterfaceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableInterfaceRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableInterfaceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableInterfaceRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableInventoryItemRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableInventoryItemRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableInventoryItemRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableInventoryItemRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableInventoryItemRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableInventoryItemRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableInventoryItemRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableInventoryItemRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableInventoryItemRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableInventoryItemRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableJobHookRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableJobHookRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableJobHookRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableJobHookRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableJobHookRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableJobHookRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableJobHookRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableJobHookRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableJobHookRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableJobHookRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableJobHookRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableJobHookRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableJobHookRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableJobHookRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableJobHookRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableJobHookRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableJobHookRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableJobHookRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableJobHookRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableJobHookRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableJobHookRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableJobHookRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableJobHookRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableJobHookRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableJobRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableJobRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableJobRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableJobRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableJobRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableJobRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableJobRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableJobRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableJobRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableJobRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableJobRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableJobRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableJobRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableJobRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableJobRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableJobRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableJobRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableJobRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableJobRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableJobRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableJobRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableJobRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableJobRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableJobRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableLocationRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableLocationRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableLocationRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableLocationRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableLocationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableLocationRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableLocationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableLocationRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableLocationRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableLocationRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableLocationRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableLocationRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableLocationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableLocationRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableLocationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableLocationRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableLocationRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableLocationRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableLocationRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableLocationRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableLocationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableLocationRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableLocationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableLocationRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableLocationTypeRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableLocationTypeRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableLocationTypeRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableLocationTypeRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableLocationTypeRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableLocationTypeRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableLocationTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableLocationTypeRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableLocationTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableLocationTypeRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableManufacturerRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableManufacturerRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableManufacturerRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableManufacturerRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableManufacturerRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableManufacturerRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableManufacturerRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableManufacturerRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableManufacturerRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableManufacturerRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableManufacturerRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableManufacturerRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableManufacturerRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableManufacturerRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableManufacturerRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableManufacturerRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableManufacturerRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableManufacturerRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableManufacturerRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableManufacturerRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableManufacturerRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableManufacturerRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableManufacturerRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableManufacturerRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddressGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationAddresses_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalDestinationServices_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddressGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceAddresses_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_OriginalSourceServices_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddressGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationAddresses_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedDestinationServices_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddressGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceAddresses_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableNATPolicyRuleRequest_TranslatedSourceServices_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePlatformRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePlatformRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePlatformRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePlatformRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePlatformRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePlatformRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePlatformRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePlatformRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePlatformRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePlatformRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePlatformRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePlatformRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePlatformRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePlatformRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePlatformRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePlatformRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePlatformRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePlatformRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePlatformRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePlatformRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePlatformRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePlatformRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePlatformRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePlatformRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePolicyRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePolicyRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePolicyRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_AddressObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_DestinationAddressGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_DestinationAddresses_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_DestinationServiceGroups_ServiceObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_DestinationServices_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_AddressObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_SourceAddressGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_SourceAddresses_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_SourceUserGroups_UserObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePolicyRuleRequest_SourceUsers_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePowerFeedRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePowerFeedRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePowerFeedRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePowerFeedRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePowerFeedRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePowerFeedRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePowerFeedRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePowerFeedRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePowerFeedRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePowerFeedRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePowerOutletRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePowerOutletRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePowerOutletRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePowerOutletRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePowerOutletRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePowerOutletRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePowerOutletRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePowerOutletRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePowerOutletRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePowerOutletRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePowerPanelRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePowerPanelRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePowerPanelRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePowerPanelRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePowerPanelRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePowerPanelRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePowerPanelRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePowerPanelRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePowerPanelRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePowerPanelRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePowerPortRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePowerPortRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePowerPortRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePowerPortRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePowerPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePowerPortRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePowerPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePowerPortRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePowerPortRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePowerPortRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePowerPortRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePowerPortRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePowerPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePowerPortRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePowerPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePowerPortRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePowerPortRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePowerPortRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePowerPortRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePowerPortRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePowerPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePowerPortRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePowerPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePowerPortRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePrefixRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePrefixRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePrefixRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritablePrefixRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePrefixRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePrefixRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePrefixRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePrefixRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePrefixRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePrefixRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePrefixRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritablePrefixRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePrefixRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePrefixRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePrefixRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePrefixRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritablePrefixRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritablePrefixRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritablePrefixRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritablePrefixRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritablePrefixRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritablePrefixRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritablePrefixRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritablePrefixRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableProviderLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableProviderLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableProviderLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableProviderLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableProviderLCMRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableProviderLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableProviderLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableProviderLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableProviderLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableProviderLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableProviderNetworkRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableProviderNetworkRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableProviderNetworkRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableProviderRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableProviderRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableProviderRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableProviderRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableProviderRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableProviderRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableProviderRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableProviderRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableProviderRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableProviderRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableProviderRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableProviderRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableProviderRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableProviderRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableProviderRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableProviderRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableProviderRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableProviderRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableProviderRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableProviderRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableProviderRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableProviderRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableProviderRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableProviderRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRIRRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRIRRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRIRRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableRIRRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRIRRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRIRRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRIRRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRIRRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRIRRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRIRRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRIRRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableRIRRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRIRRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRIRRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRIRRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRIRRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRIRRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRIRRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRIRRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableRIRRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRIRRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRIRRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRIRRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRIRRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRackGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRackGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRackGroupRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableRackGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRackGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRackGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRackGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRackGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRackGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRackGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRackGroupRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableRackGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRackGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRackGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRackGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRackGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRackGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRackGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRackGroupRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableRackGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRackGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRackGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRackGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRackGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRackRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRackRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRackRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableRackRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRackRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRackRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRackRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRackRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRackRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRackRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRackRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableRackRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRackRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRackRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRackRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRackRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRackRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRackRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRackRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableRackRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRackRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRackRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRackRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRackRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRackReservationRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRackReservationRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRackReservationRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableRackReservationRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRackReservationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRackReservationRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRackReservationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRackReservationRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRackReservationRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRackReservationRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRackReservationRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableRackReservationRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRackReservationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRackReservationRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRackReservationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRackReservationRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRackReservationRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRackReservationRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRackReservationRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableRackReservationRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRackReservationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRackReservationRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRackReservationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRackReservationRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRackRoleRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRackRoleRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRackRoleRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableRackRoleRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRackRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRackRoleRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRackRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRackRoleRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRackRoleRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRackRoleRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRackRoleRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableRackRoleRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRackRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRackRoleRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRackRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRackRoleRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRackRoleRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRackRoleRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRackRoleRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableRackRoleRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRackRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRackRoleRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRackRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRackRoleRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRearPortRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRearPortRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRearPortRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableRearPortRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRearPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRearPortRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRearPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRearPortRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRearPortRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRearPortRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRearPortRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableRearPortRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRearPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRearPortRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRearPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRearPortRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRearPortRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRearPortRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRearPortRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableRearPortRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRearPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRearPortRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRearPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRearPortRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRearPortTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRegionRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRegionRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRegionRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableRegionRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRegionRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRegionRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRegionRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRegionRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRegionRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRegionRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRegionRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableRegionRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRegionRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRegionRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRegionRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRegionRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRegionRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRegionRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRegionRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableRegionRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRegionRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRegionRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRegionRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRegionRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRoleRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRoleRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRoleRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableRoleRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRoleRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRoleRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRoleRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRoleRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRoleRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableRoleRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRoleRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRoleRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRoleRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRoleRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRoleRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableRoleRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRoleRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRoleRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRouteTargetRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRouteTargetRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableRouteTargetRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableRouteTargetRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableRouteTargetRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableRouteTargetRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableRouteTargetRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableRouteTargetRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableRouteTargetRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableRouteTargetRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableSecretRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableSecretRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableSecretRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableSecretRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableSecretRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableSecretRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableSecretRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableSecretRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableSecretRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableSecretRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableSecretRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableSecretRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableSecretRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableSecretRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableSecretRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableSecretRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableSecretRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableSecretRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableSecretRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableSecretRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableSecretRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableSecretRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableSecretRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableSecretRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableSecretsGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableSecretsGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableSecretsGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableServiceObjectGroupRequest_ServiceObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableServiceObjectRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableServiceObjectRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableServiceObjectRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableServiceObjectRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableServiceObjectRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableServiceObjectRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableServiceObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableServiceObjectRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableServiceObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableServiceObjectRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableServiceRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableServiceRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableServiceRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableServiceRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableServiceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableServiceRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableServiceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableServiceRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableServiceRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableServiceRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableServiceRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableServiceRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableServiceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableServiceRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableServiceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableServiceRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableServiceRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableServiceRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableServiceRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableServiceRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableServiceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableServiceRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableServiceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableServiceRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableSiteRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableSiteRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableSiteRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableSiteRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableSiteRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableSiteRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableSiteRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableSiteRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableSiteRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableSiteRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableSiteRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableSiteRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableSiteRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableSiteRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableSiteRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableSiteRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableSiteRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableSiteRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableSiteRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableSiteRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableSiteRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableSiteRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableSiteRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableSiteRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableSoftwareLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableStatusRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableStatusRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableStatusRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableStatusRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableStatusRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableStatusRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableStatusRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableStatusRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableStatusRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableStatusRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableStatusRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableStatusRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableStatusRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableStatusRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableStatusRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableStatusRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableStatusRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableStatusRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableStatusRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableStatusRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableStatusRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableStatusRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableStatusRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableStatusRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableTagSerializerVersion13Request_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableTagSerializerVersion13Request_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableTagSerializerVersion13Request_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableTenantGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableTenantGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableTenantGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableTenantGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableTenantGroupRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableTenantGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableTenantGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableTenantGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableTenantGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableTenantGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableTenantRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableTenantRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableTenantRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableTenantRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableTenantRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableTenantRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableTenantRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableTenantRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableTenantRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableTenantRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableTenantRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableTenantRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableTenantRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableTenantRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableTenantRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableTenantRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableTenantRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableTenantRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableTenantRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableTenantRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableTenantRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableTenantRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableTenantRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableTenantRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableUserObjectGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableUserObjectGroupRequest_UserObjects_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableUserObjectRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableUserObjectRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableUserObjectRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableUserObjectRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableUserObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableUserObjectRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableUserObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableUserObjectRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableUserObjectRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableUserObjectRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableUserObjectRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableUserObjectRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableUserObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableUserObjectRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableUserObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableUserObjectRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableUserObjectRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableUserObjectRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableUserObjectRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableUserObjectRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableUserObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableUserObjectRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableUserObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableUserObjectRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableVLANGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableVLANGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableVLANGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableVLANGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableVLANGroupRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableVLANGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableVLANGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableVLANGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableVLANGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableVLANGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableVLANRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableVLANRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableVLANRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableVLANRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableVLANRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableVLANRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableVLANRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableVLANRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableVLANRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableVLANRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableVLANRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableVLANRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableVLANRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableVLANRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableVLANRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableVLANRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableVLANRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableVLANRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableVLANRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableVLANRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableVLANRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableVLANRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableVLANRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableVLANRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableVMInterfaceRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableVMInterfaceRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableVMInterfaceRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableVRFRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableVRFRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableVRFRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableVRFRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableVRFRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableVRFRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableVRFRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableVRFRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableVRFRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableVRFRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableVRFRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableVRFRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableVRFRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableVRFRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableVRFRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableVRFRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableVRFRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableVRFRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableVRFRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableVRFRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableVRFRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableVRFRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableVRFRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableVRFRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableVirtualChassisRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableVirtualChassisRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableVirtualChassisRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableVulnerabilityLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableZoneRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableZoneRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableZoneRequest_Relationships_Destination_Objects_Item +func (a *PatchedBulkWritableZoneRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableZoneRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableZoneRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableZoneRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableZoneRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableZoneRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableZoneRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableZoneRequest_Relationships_Peer_Objects_Item +func (a *PatchedBulkWritableZoneRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableZoneRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableZoneRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableZoneRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableZoneRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedBulkWritableZoneRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedBulkWritableZoneRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedBulkWritableZoneRequest_Relationships_Source_Objects_Item +func (a *PatchedBulkWritableZoneRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedBulkWritableZoneRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedBulkWritableZoneRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedBulkWritableZoneRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedBulkWritableZoneRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedCircuitTypeRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedCircuitTypeRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedCircuitTypeRequest_Relationships_Destination_Objects_Item +func (a *PatchedCircuitTypeRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedCircuitTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedCircuitTypeRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedCircuitTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedCircuitTypeRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedCircuitTypeRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedCircuitTypeRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedCircuitTypeRequest_Relationships_Peer_Objects_Item +func (a *PatchedCircuitTypeRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedCircuitTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedCircuitTypeRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedCircuitTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedCircuitTypeRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedCircuitTypeRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedCircuitTypeRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedCircuitTypeRequest_Relationships_Source_Objects_Item +func (a *PatchedCircuitTypeRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedCircuitTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedCircuitTypeRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedCircuitTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedCircuitTypeRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedClusterGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedClusterGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedClusterGroupRequest_Relationships_Destination_Objects_Item +func (a *PatchedClusterGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedClusterGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedClusterGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedClusterGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedClusterGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedClusterGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedClusterGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedClusterGroupRequest_Relationships_Peer_Objects_Item +func (a *PatchedClusterGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedClusterGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedClusterGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedClusterGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedClusterGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedClusterGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedClusterGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedClusterGroupRequest_Relationships_Source_Objects_Item +func (a *PatchedClusterGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedClusterGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedClusterGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedClusterGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedClusterGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedClusterTypeRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedClusterTypeRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedClusterTypeRequest_Relationships_Destination_Objects_Item +func (a *PatchedClusterTypeRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedClusterTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedClusterTypeRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedClusterTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedClusterTypeRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedClusterTypeRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedClusterTypeRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedClusterTypeRequest_Relationships_Peer_Objects_Item +func (a *PatchedClusterTypeRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedClusterTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedClusterTypeRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedClusterTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedClusterTypeRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedClusterTypeRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedClusterTypeRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedClusterTypeRequest_Relationships_Source_Objects_Item +func (a *PatchedClusterTypeRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedClusterTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedClusterTypeRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedClusterTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedClusterTypeRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedConfigContextSchemaRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedConfigContextSchemaRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedConfigContextSchemaRequest_Relationships_Destination_Objects_Item +func (a *PatchedConfigContextSchemaRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedConfigContextSchemaRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedConfigContextSchemaRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedConfigContextSchemaRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedConfigContextSchemaRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedConfigContextSchemaRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedConfigContextSchemaRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedConfigContextSchemaRequest_Relationships_Peer_Objects_Item +func (a *PatchedConfigContextSchemaRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedConfigContextSchemaRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedConfigContextSchemaRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedConfigContextSchemaRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedConfigContextSchemaRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedConfigContextSchemaRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedConfigContextSchemaRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedConfigContextSchemaRequest_Relationships_Source_Objects_Item +func (a *PatchedConfigContextSchemaRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedConfigContextSchemaRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedConfigContextSchemaRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedConfigContextSchemaRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedConfigContextSchemaRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedDeviceRoleRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedDeviceRoleRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedDeviceRoleRequest_Relationships_Destination_Objects_Item +func (a *PatchedDeviceRoleRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedDeviceRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedDeviceRoleRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedDeviceRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedDeviceRoleRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedDeviceRoleRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedDeviceRoleRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedDeviceRoleRequest_Relationships_Peer_Objects_Item +func (a *PatchedDeviceRoleRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedDeviceRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedDeviceRoleRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedDeviceRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedDeviceRoleRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedDeviceRoleRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedDeviceRoleRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedDeviceRoleRequest_Relationships_Source_Objects_Item +func (a *PatchedDeviceRoleRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedDeviceRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedDeviceRoleRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedDeviceRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedDeviceRoleRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedDynamicGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedDynamicGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedDynamicGroupRequest_Relationships_Destination_Objects_Item +func (a *PatchedDynamicGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedDynamicGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedDynamicGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedDynamicGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedDynamicGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedDynamicGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedDynamicGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedDynamicGroupRequest_Relationships_Peer_Objects_Item +func (a *PatchedDynamicGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedDynamicGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedDynamicGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedDynamicGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedDynamicGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedDynamicGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedDynamicGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedDynamicGroupRequest_Relationships_Source_Objects_Item +func (a *PatchedDynamicGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedDynamicGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedDynamicGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedDynamicGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedDynamicGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedExportTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedExportTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedExportTemplateRequest_Relationships_Destination_Objects_Item +func (a *PatchedExportTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedExportTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedExportTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedExportTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedExportTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedExportTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedExportTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedExportTemplateRequest_Relationships_Peer_Objects_Item +func (a *PatchedExportTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedExportTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedExportTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedExportTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedExportTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedExportTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedExportTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedExportTemplateRequest_Relationships_Source_Objects_Item +func (a *PatchedExportTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedExportTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedExportTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedExportTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedExportTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedIPRangeRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedIPRangeRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedIPRangeRequest_Relationships_Destination_Objects_Item +func (a *PatchedIPRangeRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedIPRangeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedIPRangeRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedIPRangeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedIPRangeRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedIPRangeRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedIPRangeRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedIPRangeRequest_Relationships_Peer_Objects_Item +func (a *PatchedIPRangeRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedIPRangeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedIPRangeRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedIPRangeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedIPRangeRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedIPRangeRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedIPRangeRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedIPRangeRequest_Relationships_Source_Objects_Item +func (a *PatchedIPRangeRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedIPRangeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedIPRangeRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedIPRangeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedIPRangeRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedJobHookRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedJobHookRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedJobHookRequest_Relationships_Destination_Objects_Item +func (a *PatchedJobHookRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedJobHookRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedJobHookRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedJobHookRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedJobHookRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedJobHookRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedJobHookRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedJobHookRequest_Relationships_Peer_Objects_Item +func (a *PatchedJobHookRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedJobHookRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedJobHookRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedJobHookRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedJobHookRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedJobHookRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedJobHookRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedJobHookRequest_Relationships_Source_Objects_Item +func (a *PatchedJobHookRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedJobHookRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedJobHookRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedJobHookRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedJobHookRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedJobRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedJobRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedJobRequest_Relationships_Destination_Objects_Item +func (a *PatchedJobRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedJobRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedJobRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedJobRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedJobRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedJobRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedJobRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedJobRequest_Relationships_Peer_Objects_Item +func (a *PatchedJobRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedJobRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedJobRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedJobRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedJobRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedJobRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedJobRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedJobRequest_Relationships_Source_Objects_Item +func (a *PatchedJobRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedJobRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedJobRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedJobRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedJobRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedManufacturerRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedManufacturerRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedManufacturerRequest_Relationships_Destination_Objects_Item +func (a *PatchedManufacturerRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedManufacturerRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedManufacturerRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedManufacturerRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedManufacturerRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedManufacturerRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedManufacturerRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedManufacturerRequest_Relationships_Peer_Objects_Item +func (a *PatchedManufacturerRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedManufacturerRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedManufacturerRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedManufacturerRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedManufacturerRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedManufacturerRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedManufacturerRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedManufacturerRequest_Relationships_Source_Objects_Item +func (a *PatchedManufacturerRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedManufacturerRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedManufacturerRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedManufacturerRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedManufacturerRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedNATPolicyRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedNATPolicyRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedNATPolicyRequest_Relationships_Destination_Objects_Item +func (a *PatchedNATPolicyRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedNATPolicyRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedNATPolicyRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedNATPolicyRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedNATPolicyRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedNATPolicyRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedNATPolicyRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedNATPolicyRequest_Relationships_Peer_Objects_Item +func (a *PatchedNATPolicyRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedNATPolicyRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedNATPolicyRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedNATPolicyRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedNATPolicyRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedNATPolicyRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedNATPolicyRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedNATPolicyRequest_Relationships_Source_Objects_Item +func (a *PatchedNATPolicyRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedNATPolicyRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedNATPolicyRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedNATPolicyRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedNATPolicyRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedPolicyRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedPolicyRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedPolicyRequest_Relationships_Destination_Objects_Item +func (a *PatchedPolicyRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedPolicyRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedPolicyRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedPolicyRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedPolicyRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedPolicyRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedPolicyRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedPolicyRequest_Relationships_Peer_Objects_Item +func (a *PatchedPolicyRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedPolicyRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedPolicyRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedPolicyRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedPolicyRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedPolicyRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedPolicyRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedPolicyRequest_Relationships_Source_Objects_Item +func (a *PatchedPolicyRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedPolicyRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedPolicyRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedPolicyRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedPolicyRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedProviderLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedProviderLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedProviderLCMRequest_Relationships_Destination_Objects_Item +func (a *PatchedProviderLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedProviderLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedProviderLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedProviderLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedProviderLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedProviderLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedProviderLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedProviderLCMRequest_Relationships_Peer_Objects_Item +func (a *PatchedProviderLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedProviderLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedProviderLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedProviderLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedProviderLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedProviderLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedProviderLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedProviderLCMRequest_Relationships_Source_Objects_Item +func (a *PatchedProviderLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedProviderLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedProviderLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedProviderLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedProviderLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedProviderRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedProviderRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedProviderRequest_Relationships_Destination_Objects_Item +func (a *PatchedProviderRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedProviderRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedProviderRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedProviderRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedProviderRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedProviderRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedProviderRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedProviderRequest_Relationships_Peer_Objects_Item +func (a *PatchedProviderRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedProviderRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedProviderRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedProviderRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedProviderRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedProviderRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedProviderRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedProviderRequest_Relationships_Source_Objects_Item +func (a *PatchedProviderRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedProviderRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedProviderRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedProviderRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedProviderRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedRIRRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedRIRRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedRIRRequest_Relationships_Destination_Objects_Item +func (a *PatchedRIRRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedRIRRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedRIRRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedRIRRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedRIRRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedRIRRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedRIRRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedRIRRequest_Relationships_Peer_Objects_Item +func (a *PatchedRIRRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedRIRRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedRIRRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedRIRRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedRIRRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedRIRRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedRIRRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedRIRRequest_Relationships_Source_Objects_Item +func (a *PatchedRIRRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedRIRRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedRIRRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedRIRRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedRIRRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedRackRoleRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedRackRoleRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedRackRoleRequest_Relationships_Destination_Objects_Item +func (a *PatchedRackRoleRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedRackRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedRackRoleRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedRackRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedRackRoleRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedRackRoleRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedRackRoleRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedRackRoleRequest_Relationships_Peer_Objects_Item +func (a *PatchedRackRoleRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedRackRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedRackRoleRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedRackRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedRackRoleRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedRackRoleRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedRackRoleRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedRackRoleRequest_Relationships_Source_Objects_Item +func (a *PatchedRackRoleRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedRackRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedRackRoleRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedRackRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedRackRoleRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedRoleRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedRoleRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedRoleRequest_Relationships_Destination_Objects_Item +func (a *PatchedRoleRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedRoleRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedRoleRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedRoleRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedRoleRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedRoleRequest_Relationships_Peer_Objects_Item +func (a *PatchedRoleRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedRoleRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedRoleRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedRoleRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedRoleRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedRoleRequest_Relationships_Source_Objects_Item +func (a *PatchedRoleRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedRoleRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedRoleRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedSecretRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedSecretRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedSecretRequest_Relationships_Destination_Objects_Item +func (a *PatchedSecretRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedSecretRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedSecretRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedSecretRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedSecretRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedSecretRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedSecretRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedSecretRequest_Relationships_Peer_Objects_Item +func (a *PatchedSecretRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedSecretRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedSecretRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedSecretRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedSecretRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedSecretRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedSecretRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedSecretRequest_Relationships_Source_Objects_Item +func (a *PatchedSecretRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedSecretRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedSecretRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedSecretRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedSecretRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedSecretsGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedSecretsGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedSecretsGroupRequest_Relationships_Destination_Objects_Item +func (a *PatchedSecretsGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedSecretsGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedSecretsGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedSecretsGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedSecretsGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedSecretsGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedSecretsGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedSecretsGroupRequest_Relationships_Peer_Objects_Item +func (a *PatchedSecretsGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedSecretsGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedSecretsGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedSecretsGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedSecretsGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedSecretsGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedSecretsGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedSecretsGroupRequest_Relationships_Source_Objects_Item +func (a *PatchedSecretsGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedSecretsGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedSecretsGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedSecretsGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedSecretsGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedServiceObjectRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedServiceObjectRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedServiceObjectRequest_Relationships_Destination_Objects_Item +func (a *PatchedServiceObjectRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedServiceObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedServiceObjectRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedServiceObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedServiceObjectRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedServiceObjectRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedServiceObjectRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedServiceObjectRequest_Relationships_Peer_Objects_Item +func (a *PatchedServiceObjectRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedServiceObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedServiceObjectRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedServiceObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedServiceObjectRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedServiceObjectRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedServiceObjectRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedServiceObjectRequest_Relationships_Source_Objects_Item +func (a *PatchedServiceObjectRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedServiceObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedServiceObjectRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedServiceObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedServiceObjectRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedStatusRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedStatusRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedStatusRequest_Relationships_Destination_Objects_Item +func (a *PatchedStatusRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedStatusRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedStatusRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedStatusRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedStatusRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedStatusRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedStatusRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedStatusRequest_Relationships_Peer_Objects_Item +func (a *PatchedStatusRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedStatusRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedStatusRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedStatusRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedStatusRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedStatusRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedStatusRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedStatusRequest_Relationships_Source_Objects_Item +func (a *PatchedStatusRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedStatusRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedStatusRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedStatusRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedStatusRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedTagSerializerVersion13Request_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedTagSerializerVersion13Request_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedTagSerializerVersion13Request_Relationships_Destination_Objects_Item +func (a *PatchedTagSerializerVersion13Request_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedTagSerializerVersion13Request_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedTagSerializerVersion13Request_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedTagSerializerVersion13Request_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedTagSerializerVersion13Request_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedTagSerializerVersion13Request_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedTagSerializerVersion13Request_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedTagSerializerVersion13Request_Relationships_Peer_Objects_Item +func (a *PatchedTagSerializerVersion13Request_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedTagSerializerVersion13Request_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedTagSerializerVersion13Request_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedTagSerializerVersion13Request_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedTagSerializerVersion13Request_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedTagSerializerVersion13Request_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedTagSerializerVersion13Request_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedTagSerializerVersion13Request_Relationships_Source_Objects_Item +func (a *PatchedTagSerializerVersion13Request_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedTagSerializerVersion13Request_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedTagSerializerVersion13Request_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedTagSerializerVersion13Request_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedTagSerializerVersion13Request_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedUserObjectRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedUserObjectRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedUserObjectRequest_Relationships_Destination_Objects_Item +func (a *PatchedUserObjectRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedUserObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedUserObjectRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedUserObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedUserObjectRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedUserObjectRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedUserObjectRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedUserObjectRequest_Relationships_Peer_Objects_Item +func (a *PatchedUserObjectRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedUserObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedUserObjectRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedUserObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedUserObjectRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedUserObjectRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedUserObjectRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedUserObjectRequest_Relationships_Source_Objects_Item +func (a *PatchedUserObjectRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedUserObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedUserObjectRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedUserObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedUserObjectRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedVulnerabilityLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedVulnerabilityLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedVulnerabilityLCMRequest_Relationships_Destination_Objects_Item +func (a *PatchedVulnerabilityLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedVulnerabilityLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedVulnerabilityLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedVulnerabilityLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedVulnerabilityLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedVulnerabilityLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedVulnerabilityLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedVulnerabilityLCMRequest_Relationships_Peer_Objects_Item +func (a *PatchedVulnerabilityLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedVulnerabilityLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedVulnerabilityLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedVulnerabilityLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedVulnerabilityLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedVulnerabilityLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedVulnerabilityLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedVulnerabilityLCMRequest_Relationships_Source_Objects_Item +func (a *PatchedVulnerabilityLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedVulnerabilityLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedVulnerabilityLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedVulnerabilityLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedVulnerabilityLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableAddressObjectGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableAddressObjectRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableAddressObjectRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableAddressObjectRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableAddressObjectRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableAddressObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableAddressObjectRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableAddressObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableAddressObjectRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableAddressObjectRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableAddressObjectRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableAddressObjectRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableAddressObjectRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableAddressObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableAddressObjectRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableAddressObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableAddressObjectRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableAddressObjectRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableAddressObjectRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableAddressObjectRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableAddressObjectRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableAddressObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableAddressObjectRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableAddressObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableAddressObjectRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableAggregateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableAggregateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableAggregateRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableAggregateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableAggregateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableAggregateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableAggregateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableAggregateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableAggregateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableAggregateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableAggregateRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableAggregateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableAggregateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableAggregateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableAggregateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableAggregateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableAggregateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableAggregateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableAggregateRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableAggregateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableAggregateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableAggregateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableAggregateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableAggregateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCVELCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableCVELCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableCVELCMRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableCVELCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableCVELCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableCVELCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCVELCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableCVELCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCVELCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableCVELCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableCVELCMRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableCVELCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableCVELCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableCVELCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCVELCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableCVELCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCVELCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableCVELCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableCVELCMRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableCVELCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableCVELCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableCVELCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCVELCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableCVELCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCableRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableCableRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableCableRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableCableRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableCableRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableCableRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCableRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableCableRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCableRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableCableRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableCableRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableCableRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableCableRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableCableRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCableRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableCableRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCableRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableCableRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableCableRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableCableRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableCableRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableCableRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCableRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableCableRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCircuitRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableCircuitRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableCircuitRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableCircuitRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableCircuitRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableCircuitRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCircuitRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableCircuitRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCircuitRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableCircuitRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableCircuitRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableCircuitRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableCircuitRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableCircuitRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCircuitRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableCircuitRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCircuitRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableCircuitRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableCircuitRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableCircuitRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableCircuitRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableCircuitRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCircuitRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableCircuitRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableCircuitTerminationRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableCircuitTerminationRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableCircuitTerminationRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableCircuitTerminationRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableCircuitTerminationRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableCircuitTerminationRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableCircuitTerminationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableCircuitTerminationRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableCircuitTerminationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableCircuitTerminationRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableClusterRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableClusterRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableClusterRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableClusterRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableClusterRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableClusterRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableClusterRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableClusterRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableClusterRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableClusterRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableClusterRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableClusterRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableClusterRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableClusterRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableClusterRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableClusterRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableClusterRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableClusterRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableClusterRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableClusterRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableClusterRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableClusterRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableClusterRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableClusterRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsolePortRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableConsolePortRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableConsolePortRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableConsolePortRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableConsolePortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableConsolePortRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsolePortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableConsolePortRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsolePortRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableConsolePortRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableConsolePortRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableConsolePortRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableConsolePortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableConsolePortRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsolePortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableConsolePortRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsolePortRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableConsolePortRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableConsolePortRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableConsolePortRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableConsolePortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableConsolePortRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsolePortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableConsolePortRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableConsolePortTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableConsoleServerPortRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableConsoleServerPortRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsoleServerPortRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableConsoleServerPortRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableConsoleServerPortRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableConsoleServerPortRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableConsoleServerPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableConsoleServerPortRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsoleServerPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableConsoleServerPortRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableContactLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableContactLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableContactLCMRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableContactLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableContactLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableContactLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableContactLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableContactLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableContactLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableContactLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableContactLCMRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableContactLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableContactLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableContactLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableContactLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableContactLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableContactLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableContactLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableContactLCMRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableContactLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableContactLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableContactLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableContactLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableContactLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableContractLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableContractLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableContractLCMRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableContractLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableContractLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableContractLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableContractLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableContractLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableContractLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableContractLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableContractLCMRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableContractLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableContractLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableContractLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableContractLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableContractLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableContractLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableContractLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableContractLCMRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableContractLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableContractLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableContractLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableContractLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableContractLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceBayRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceBayRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableDeviceBayRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableDeviceBayRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableDeviceBayRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableDeviceBayRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceBayRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableDeviceBayRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceBayRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceBayRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableDeviceBayRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableDeviceBayRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableDeviceBayRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableDeviceBayRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceBayRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableDeviceBayRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceBayRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceBayRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableDeviceBayRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableDeviceBayRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableDeviceBayRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableDeviceBayRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceBayRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableDeviceBayRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceTypeRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceTypeRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableDeviceTypeRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableDeviceTypeRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableDeviceTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableDeviceTypeRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableDeviceTypeRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceTypeRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceTypeRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableDeviceTypeRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableDeviceTypeRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableDeviceTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableDeviceTypeRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableDeviceTypeRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceTypeRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceTypeRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableDeviceTypeRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableDeviceTypeRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableDeviceTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableDeviceTypeRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableDeviceTypeRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableFQDNRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableFQDNRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableFQDNRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableFQDNRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableFQDNRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableFQDNRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableFQDNRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableFQDNRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableFQDNRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableFQDNRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableFQDNRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableFQDNRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableFQDNRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableFQDNRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableFQDNRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableFQDNRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableFQDNRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableFQDNRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableFQDNRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableFQDNRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableFQDNRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableFQDNRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableFQDNRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableFQDNRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableFrontPortRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableFrontPortRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableFrontPortRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableFrontPortRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableFrontPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableFrontPortRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableFrontPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableFrontPortRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableFrontPortRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableFrontPortRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableFrontPortRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableFrontPortRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableFrontPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableFrontPortRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableFrontPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableFrontPortRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableFrontPortRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableFrontPortRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableFrontPortRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableFrontPortRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableFrontPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableFrontPortRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableFrontPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableFrontPortRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableFrontPortTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableGitRepositoryRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableGitRepositoryRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableGitRepositoryRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableGitRepositoryRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableGitRepositoryRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableGitRepositoryRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableGitRepositoryRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableGitRepositoryRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableGitRepositoryRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableGitRepositoryRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableGitRepositoryRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableGitRepositoryRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableGitRepositoryRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableGitRepositoryRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableGitRepositoryRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableGitRepositoryRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableGitRepositoryRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableGitRepositoryRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableGitRepositoryRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableGitRepositoryRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableGitRepositoryRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableGitRepositoryRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableGitRepositoryRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableGitRepositoryRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableHardwareLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableHardwareLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableHardwareLCMRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableHardwareLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableHardwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableHardwareLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableHardwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableHardwareLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableHardwareLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableHardwareLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableHardwareLCMRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableHardwareLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableHardwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableHardwareLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableHardwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableHardwareLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableHardwareLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableHardwareLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableHardwareLCMRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableHardwareLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableHardwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableHardwareLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableHardwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableHardwareLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableIPAddressRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableIPAddressRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableIPAddressRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableIPAddressRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableIPAddressRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableIPAddressRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableIPAddressRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableIPAddressRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableIPAddressRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableIPAddressRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableIPAddressRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableIPAddressRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableIPAddressRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableIPAddressRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableIPAddressRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableIPAddressRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableIPAddressRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableIPAddressRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableIPAddressRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableIPAddressRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableIPAddressRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableIPAddressRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableIPAddressRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableIPAddressRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableInterfaceRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableInterfaceRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableInterfaceRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableInterfaceRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableInterfaceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableInterfaceRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableInterfaceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableInterfaceRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableInterfaceRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableInterfaceRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableInterfaceRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableInterfaceRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableInterfaceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableInterfaceRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableInterfaceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableInterfaceRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableInterfaceRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableInterfaceRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableInterfaceRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableInterfaceRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableInterfaceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableInterfaceRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableInterfaceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableInterfaceRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableInterfaceTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableInventoryItemRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableInventoryItemRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableInventoryItemRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableInventoryItemRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableInventoryItemRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableInventoryItemRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableInventoryItemRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableInventoryItemRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableInventoryItemRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableInventoryItemRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableInventoryItemRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableInventoryItemRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableInventoryItemRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableInventoryItemRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableInventoryItemRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableInventoryItemRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableInventoryItemRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableInventoryItemRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableInventoryItemRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableInventoryItemRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableInventoryItemRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableInventoryItemRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableInventoryItemRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableInventoryItemRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableLocationRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableLocationRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableLocationRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableLocationRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableLocationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableLocationRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableLocationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableLocationRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableLocationRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableLocationRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableLocationRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableLocationRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableLocationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableLocationRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableLocationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableLocationRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableLocationRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableLocationRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableLocationRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableLocationRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableLocationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableLocationRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableLocationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableLocationRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableLocationTypeRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableLocationTypeRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableLocationTypeRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableLocationTypeRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableLocationTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableLocationTypeRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableLocationTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableLocationTypeRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableLocationTypeRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableLocationTypeRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableLocationTypeRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableLocationTypeRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableLocationTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableLocationTypeRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableLocationTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableLocationTypeRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableLocationTypeRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableLocationTypeRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableLocationTypeRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableLocationTypeRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableLocationTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableLocationTypeRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableLocationTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableLocationTypeRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableNATPolicyRuleRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePlatformRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePlatformRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePlatformRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritablePlatformRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePlatformRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePlatformRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePlatformRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePlatformRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePlatformRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePlatformRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePlatformRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritablePlatformRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePlatformRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePlatformRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePlatformRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePlatformRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePlatformRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePlatformRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePlatformRequest_Relationships_Source_Objects_Item +func (a *PatchedWritablePlatformRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePlatformRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePlatformRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePlatformRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePlatformRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePolicyRuleRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePolicyRuleRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePolicyRuleRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritablePolicyRuleRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePolicyRuleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePolicyRuleRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePolicyRuleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePolicyRuleRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePolicyRuleRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePolicyRuleRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePolicyRuleRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritablePolicyRuleRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePolicyRuleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePolicyRuleRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePolicyRuleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePolicyRuleRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePolicyRuleRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePolicyRuleRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePolicyRuleRequest_Relationships_Source_Objects_Item +func (a *PatchedWritablePolicyRuleRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePolicyRuleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePolicyRuleRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePolicyRuleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePolicyRuleRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerFeedRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerFeedRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePowerFeedRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritablePowerFeedRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePowerFeedRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePowerFeedRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerFeedRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePowerFeedRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerFeedRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerFeedRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePowerFeedRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritablePowerFeedRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePowerFeedRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePowerFeedRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerFeedRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePowerFeedRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerFeedRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerFeedRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePowerFeedRequest_Relationships_Source_Objects_Item +func (a *PatchedWritablePowerFeedRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePowerFeedRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePowerFeedRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerFeedRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePowerFeedRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerOutletRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerOutletRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePowerOutletRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritablePowerOutletRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePowerOutletRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePowerOutletRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerOutletRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePowerOutletRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerOutletRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerOutletRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePowerOutletRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritablePowerOutletRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePowerOutletRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePowerOutletRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerOutletRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePowerOutletRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerOutletRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerOutletRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePowerOutletRequest_Relationships_Source_Objects_Item +func (a *PatchedWritablePowerOutletRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePowerOutletRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePowerOutletRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerOutletRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePowerOutletRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item +func (a *PatchedWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerPanelRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerPanelRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePowerPanelRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritablePowerPanelRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePowerPanelRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePowerPanelRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerPanelRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePowerPanelRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerPanelRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerPanelRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePowerPanelRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritablePowerPanelRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePowerPanelRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePowerPanelRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerPanelRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePowerPanelRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerPanelRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerPanelRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePowerPanelRequest_Relationships_Source_Objects_Item +func (a *PatchedWritablePowerPanelRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePowerPanelRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePowerPanelRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerPanelRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePowerPanelRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerPortRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerPortRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePowerPortRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritablePowerPortRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePowerPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePowerPortRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePowerPortRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerPortRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerPortRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePowerPortRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritablePowerPortRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePowerPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePowerPortRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePowerPortRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerPortRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerPortRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePowerPortRequest_Relationships_Source_Objects_Item +func (a *PatchedWritablePowerPortRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePowerPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePowerPortRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePowerPortRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item +func (a *PatchedWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePowerPortTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePrefixRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePrefixRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePrefixRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritablePrefixRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePrefixRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePrefixRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePrefixRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePrefixRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePrefixRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePrefixRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePrefixRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritablePrefixRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePrefixRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePrefixRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePrefixRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePrefixRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritablePrefixRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritablePrefixRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritablePrefixRequest_Relationships_Source_Objects_Item +func (a *PatchedWritablePrefixRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritablePrefixRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritablePrefixRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritablePrefixRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritablePrefixRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableProviderNetworkRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableProviderNetworkRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableProviderNetworkRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableProviderNetworkRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableProviderNetworkRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableProviderNetworkRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableProviderNetworkRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableProviderNetworkRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableProviderNetworkRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableProviderNetworkRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableProviderNetworkRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableProviderNetworkRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableProviderNetworkRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableProviderNetworkRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableProviderNetworkRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableProviderNetworkRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableProviderNetworkRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableProviderNetworkRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableProviderNetworkRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableProviderNetworkRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableProviderNetworkRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableProviderNetworkRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableProviderNetworkRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableProviderNetworkRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRackGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableRackGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableRackGroupRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableRackGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableRackGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableRackGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRackGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableRackGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRackGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableRackGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableRackGroupRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableRackGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableRackGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableRackGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRackGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableRackGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRackGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableRackGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableRackGroupRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableRackGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableRackGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableRackGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRackGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableRackGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRackRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableRackRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableRackRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableRackRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableRackRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableRackRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRackRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableRackRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRackRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableRackRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableRackRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableRackRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableRackRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableRackRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRackRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableRackRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRackRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableRackRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableRackRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableRackRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableRackRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableRackRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRackRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableRackRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRackReservationRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableRackReservationRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableRackReservationRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableRackReservationRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableRackReservationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableRackReservationRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRackReservationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableRackReservationRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRackReservationRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableRackReservationRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableRackReservationRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableRackReservationRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableRackReservationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableRackReservationRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRackReservationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableRackReservationRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRackReservationRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableRackReservationRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableRackReservationRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableRackReservationRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableRackReservationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableRackReservationRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRackReservationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableRackReservationRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRearPortRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableRearPortRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableRearPortRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableRearPortRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableRearPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableRearPortRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRearPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableRearPortRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRearPortRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableRearPortRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableRearPortRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableRearPortRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableRearPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableRearPortRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRearPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableRearPortRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRearPortRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableRearPortRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableRearPortRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableRearPortRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableRearPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableRearPortRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRearPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableRearPortRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableRearPortTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableRearPortTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRearPortTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableRearPortTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableRearPortTemplateRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableRearPortTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableRearPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableRearPortTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRearPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableRearPortTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRegionRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableRegionRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableRegionRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableRegionRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableRegionRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableRegionRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRegionRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableRegionRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRegionRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableRegionRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableRegionRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableRegionRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableRegionRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableRegionRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRegionRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableRegionRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRegionRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableRegionRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableRegionRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableRegionRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableRegionRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableRegionRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRegionRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableRegionRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRouteTargetRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableRouteTargetRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableRouteTargetRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableRouteTargetRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableRouteTargetRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableRouteTargetRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRouteTargetRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableRouteTargetRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRouteTargetRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableRouteTargetRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableRouteTargetRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableRouteTargetRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableRouteTargetRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableRouteTargetRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRouteTargetRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableRouteTargetRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableRouteTargetRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableRouteTargetRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableRouteTargetRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableRouteTargetRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableRouteTargetRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableRouteTargetRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableRouteTargetRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableRouteTargetRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableServiceObjectGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableServiceRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableServiceRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableServiceRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableServiceRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableServiceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableServiceRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableServiceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableServiceRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableServiceRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableServiceRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableServiceRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableServiceRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableServiceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableServiceRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableServiceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableServiceRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableServiceRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableServiceRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableServiceRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableServiceRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableServiceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableServiceRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableServiceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableServiceRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableSiteRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableSiteRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableSiteRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableSiteRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableSiteRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableSiteRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableSiteRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableSiteRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableSiteRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableSiteRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableSiteRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableSiteRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableSiteRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableSiteRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableSiteRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableSiteRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableSiteRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableSiteRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableSiteRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableSiteRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableSiteRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableSiteRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableSiteRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableSiteRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableSoftwareLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableSoftwareLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableSoftwareLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableSoftwareLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableSoftwareLCMRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableSoftwareLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableSoftwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableSoftwareLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableSoftwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableSoftwareLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableTenantGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableTenantGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableTenantGroupRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableTenantGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableTenantGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableTenantGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableTenantGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableTenantGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableTenantGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableTenantGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableTenantGroupRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableTenantGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableTenantGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableTenantGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableTenantGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableTenantGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableTenantGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableTenantGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableTenantGroupRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableTenantGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableTenantGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableTenantGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableTenantGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableTenantGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableTenantRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableTenantRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableTenantRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableTenantRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableTenantRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableTenantRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableTenantRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableTenantRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableTenantRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableTenantRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableTenantRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableTenantRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableTenantRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableTenantRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableTenantRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableTenantRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableTenantRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableTenantRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableTenantRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableTenantRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableTenantRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableTenantRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableTenantRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableTenantRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableUserObjectGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableUserObjectGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableUserObjectGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableUserObjectGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableUserObjectGroupRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableUserObjectGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableUserObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableUserObjectGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableUserObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableUserObjectGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVLANGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableVLANGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableVLANGroupRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableVLANGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableVLANGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableVLANGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVLANGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableVLANGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVLANGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableVLANGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableVLANGroupRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableVLANGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableVLANGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableVLANGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVLANGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableVLANGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVLANGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableVLANGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableVLANGroupRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableVLANGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableVLANGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableVLANGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVLANGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableVLANGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVLANRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableVLANRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableVLANRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableVLANRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableVLANRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableVLANRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVLANRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableVLANRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVLANRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableVLANRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableVLANRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableVLANRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableVLANRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableVLANRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVLANRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableVLANRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVLANRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableVLANRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableVLANRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableVLANRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableVLANRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableVLANRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVLANRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableVLANRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVMInterfaceRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableVMInterfaceRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableVMInterfaceRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableVMInterfaceRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableVMInterfaceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableVMInterfaceRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVMInterfaceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableVMInterfaceRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVMInterfaceRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableVMInterfaceRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableVMInterfaceRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableVMInterfaceRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableVMInterfaceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableVMInterfaceRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVMInterfaceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableVMInterfaceRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVMInterfaceRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableVMInterfaceRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableVMInterfaceRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableVMInterfaceRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableVMInterfaceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableVMInterfaceRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVMInterfaceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableVMInterfaceRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVRFRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableVRFRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableVRFRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableVRFRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableVRFRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableVRFRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVRFRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableVRFRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVRFRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableVRFRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableVRFRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableVRFRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableVRFRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableVRFRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVRFRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableVRFRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVRFRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableVRFRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableVRFRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableVRFRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableVRFRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableVRFRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVRFRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableVRFRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVirtualChassisRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableVirtualChassisRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableVirtualChassisRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableVirtualChassisRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableVirtualChassisRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableVirtualChassisRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVirtualChassisRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableVirtualChassisRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVirtualChassisRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableVirtualChassisRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableVirtualChassisRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableVirtualChassisRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableVirtualChassisRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableVirtualChassisRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVirtualChassisRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableVirtualChassisRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVirtualChassisRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableVirtualChassisRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableVirtualChassisRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableVirtualChassisRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableVirtualChassisRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableVirtualChassisRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVirtualChassisRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableVirtualChassisRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item +func (a *PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item +func (a *PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item +func (a *PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedWritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedZoneRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedZoneRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedZoneRequest_Relationships_Destination_Objects_Item +func (a *PatchedZoneRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedZoneRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PatchedZoneRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedZoneRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PatchedZoneRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedZoneRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedZoneRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedZoneRequest_Relationships_Peer_Objects_Item +func (a *PatchedZoneRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedZoneRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PatchedZoneRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedZoneRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PatchedZoneRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PatchedZoneRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PatchedZoneRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PatchedZoneRequest_Relationships_Source_Objects_Item +func (a *PatchedZoneRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PatchedZoneRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PatchedZoneRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PatchedZoneRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PatchedZoneRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PolicyRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a PolicyRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PolicyRequest_Relationships_Destination_Objects_Item +func (a *PolicyRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PolicyRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *PolicyRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PolicyRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a PolicyRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PolicyRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a PolicyRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PolicyRequest_Relationships_Peer_Objects_Item +func (a *PolicyRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PolicyRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *PolicyRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PolicyRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a PolicyRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PolicyRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a PolicyRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PolicyRequest_Relationships_Source_Objects_Item +func (a *PolicyRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PolicyRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *PolicyRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PolicyRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a PolicyRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ProviderLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a ProviderLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for ProviderLCMRequest_Relationships_Destination_Objects_Item +func (a *ProviderLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for ProviderLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *ProviderLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ProviderLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a ProviderLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ProviderLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a ProviderLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for ProviderLCMRequest_Relationships_Peer_Objects_Item +func (a *ProviderLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for ProviderLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *ProviderLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ProviderLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a ProviderLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ProviderLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a ProviderLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for ProviderLCMRequest_Relationships_Source_Objects_Item +func (a *ProviderLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for ProviderLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *ProviderLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ProviderLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a ProviderLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ProviderRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a ProviderRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for ProviderRequest_Relationships_Destination_Objects_Item +func (a *ProviderRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for ProviderRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *ProviderRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ProviderRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a ProviderRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ProviderRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a ProviderRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for ProviderRequest_Relationships_Peer_Objects_Item +func (a *ProviderRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for ProviderRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *ProviderRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ProviderRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a ProviderRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ProviderRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a ProviderRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for ProviderRequest_Relationships_Source_Objects_Item +func (a *ProviderRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for ProviderRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *ProviderRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ProviderRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a ProviderRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for RIRRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a RIRRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for RIRRequest_Relationships_Destination_Objects_Item +func (a *RIRRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for RIRRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *RIRRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for RIRRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a RIRRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for RIRRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a RIRRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for RIRRequest_Relationships_Peer_Objects_Item +func (a *RIRRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for RIRRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *RIRRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for RIRRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a RIRRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for RIRRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a RIRRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for RIRRequest_Relationships_Source_Objects_Item +func (a *RIRRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for RIRRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *RIRRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for RIRRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a RIRRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for RackRoleRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a RackRoleRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for RackRoleRequest_Relationships_Destination_Objects_Item +func (a *RackRoleRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for RackRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *RackRoleRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for RackRoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a RackRoleRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for RackRoleRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a RackRoleRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for RackRoleRequest_Relationships_Peer_Objects_Item +func (a *RackRoleRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for RackRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *RackRoleRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for RackRoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a RackRoleRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for RackRoleRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a RackRoleRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for RackRoleRequest_Relationships_Source_Objects_Item +func (a *RackRoleRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for RackRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *RackRoleRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for RackRoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a RackRoleRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for RoleRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a RoleRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for RoleRequest_Relationships_Destination_Objects_Item +func (a *RoleRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for RoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *RoleRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for RoleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a RoleRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for RoleRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a RoleRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for RoleRequest_Relationships_Peer_Objects_Item +func (a *RoleRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for RoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *RoleRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for RoleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a RoleRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for RoleRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a RoleRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for RoleRequest_Relationships_Source_Objects_Item +func (a *RoleRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for RoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *RoleRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for RoleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a RoleRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for SecretRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a SecretRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for SecretRequest_Relationships_Destination_Objects_Item +func (a *SecretRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for SecretRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *SecretRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for SecretRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a SecretRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for SecretRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a SecretRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for SecretRequest_Relationships_Peer_Objects_Item +func (a *SecretRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for SecretRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *SecretRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for SecretRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a SecretRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for SecretRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a SecretRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for SecretRequest_Relationships_Source_Objects_Item +func (a *SecretRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for SecretRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *SecretRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for SecretRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a SecretRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for SecretsGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a SecretsGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for SecretsGroupRequest_Relationships_Destination_Objects_Item +func (a *SecretsGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for SecretsGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *SecretsGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for SecretsGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a SecretsGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for SecretsGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a SecretsGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for SecretsGroupRequest_Relationships_Peer_Objects_Item +func (a *SecretsGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for SecretsGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *SecretsGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for SecretsGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a SecretsGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for SecretsGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a SecretsGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for SecretsGroupRequest_Relationships_Source_Objects_Item +func (a *SecretsGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for SecretsGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *SecretsGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for SecretsGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a SecretsGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ServiceObjectRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a ServiceObjectRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for ServiceObjectRequest_Relationships_Destination_Objects_Item +func (a *ServiceObjectRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for ServiceObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *ServiceObjectRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ServiceObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a ServiceObjectRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ServiceObjectRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a ServiceObjectRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for ServiceObjectRequest_Relationships_Peer_Objects_Item +func (a *ServiceObjectRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for ServiceObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *ServiceObjectRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ServiceObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a ServiceObjectRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ServiceObjectRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a ServiceObjectRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for ServiceObjectRequest_Relationships_Source_Objects_Item +func (a *ServiceObjectRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for ServiceObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *ServiceObjectRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ServiceObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a ServiceObjectRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for StatusRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a StatusRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for StatusRequest_Relationships_Destination_Objects_Item +func (a *StatusRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for StatusRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *StatusRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for StatusRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a StatusRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for StatusRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a StatusRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for StatusRequest_Relationships_Peer_Objects_Item +func (a *StatusRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for StatusRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *StatusRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for StatusRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a StatusRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for StatusRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a StatusRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for StatusRequest_Relationships_Source_Objects_Item +func (a *StatusRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for StatusRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *StatusRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for StatusRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a StatusRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for TagSerializerVersion13Request_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a TagSerializerVersion13Request_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for TagSerializerVersion13Request_Relationships_Destination_Objects_Item +func (a *TagSerializerVersion13Request_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for TagSerializerVersion13Request_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *TagSerializerVersion13Request_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for TagSerializerVersion13Request_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a TagSerializerVersion13Request_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for TagSerializerVersion13Request_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a TagSerializerVersion13Request_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for TagSerializerVersion13Request_Relationships_Peer_Objects_Item +func (a *TagSerializerVersion13Request_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for TagSerializerVersion13Request_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *TagSerializerVersion13Request_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for TagSerializerVersion13Request_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a TagSerializerVersion13Request_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for TagSerializerVersion13Request_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a TagSerializerVersion13Request_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for TagSerializerVersion13Request_Relationships_Source_Objects_Item +func (a *TagSerializerVersion13Request_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for TagSerializerVersion13Request_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *TagSerializerVersion13Request_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for TagSerializerVersion13Request_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a TagSerializerVersion13Request_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for UserObjectRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a UserObjectRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for UserObjectRequest_Relationships_Destination_Objects_Item +func (a *UserObjectRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for UserObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *UserObjectRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for UserObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a UserObjectRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for UserObjectRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a UserObjectRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for UserObjectRequest_Relationships_Peer_Objects_Item +func (a *UserObjectRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for UserObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *UserObjectRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for UserObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a UserObjectRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for UserObjectRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a UserObjectRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for UserObjectRequest_Relationships_Source_Objects_Item +func (a *UserObjectRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for UserObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *UserObjectRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for UserObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a UserObjectRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for VulnerabilityLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a VulnerabilityLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for VulnerabilityLCMRequest_Relationships_Destination_Objects_Item +func (a *VulnerabilityLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for VulnerabilityLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *VulnerabilityLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for VulnerabilityLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a VulnerabilityLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for VulnerabilityLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a VulnerabilityLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for VulnerabilityLCMRequest_Relationships_Peer_Objects_Item +func (a *VulnerabilityLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for VulnerabilityLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *VulnerabilityLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for VulnerabilityLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a VulnerabilityLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for VulnerabilityLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a VulnerabilityLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for VulnerabilityLCMRequest_Relationships_Source_Objects_Item +func (a *VulnerabilityLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for VulnerabilityLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *VulnerabilityLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for VulnerabilityLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a VulnerabilityLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item +func (a *WritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableAddressObjectGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item +func (a *WritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableAddressObjectGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableAddressObjectGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableAddressObjectGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableAddressObjectGroupRequest_Relationships_Source_Objects_Item +func (a *WritableAddressObjectGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableAddressObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableAddressObjectGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableAddressObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableAddressObjectGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableAddressObjectRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableAddressObjectRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableAddressObjectRequest_Relationships_Destination_Objects_Item +func (a *WritableAddressObjectRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableAddressObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableAddressObjectRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableAddressObjectRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableAddressObjectRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableAddressObjectRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableAddressObjectRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableAddressObjectRequest_Relationships_Peer_Objects_Item +func (a *WritableAddressObjectRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableAddressObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableAddressObjectRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableAddressObjectRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableAddressObjectRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableAddressObjectRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableAddressObjectRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableAddressObjectRequest_Relationships_Source_Objects_Item +func (a *WritableAddressObjectRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableAddressObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableAddressObjectRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableAddressObjectRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableAddressObjectRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableAggregateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableAggregateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableAggregateRequest_Relationships_Destination_Objects_Item +func (a *WritableAggregateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableAggregateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableAggregateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableAggregateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableAggregateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableAggregateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableAggregateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableAggregateRequest_Relationships_Peer_Objects_Item +func (a *WritableAggregateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableAggregateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableAggregateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableAggregateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableAggregateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableAggregateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableAggregateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableAggregateRequest_Relationships_Source_Objects_Item +func (a *WritableAggregateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableAggregateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableAggregateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableAggregateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableAggregateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCVELCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableCVELCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableCVELCMRequest_Relationships_Destination_Objects_Item +func (a *WritableCVELCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableCVELCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableCVELCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCVELCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableCVELCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCVELCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableCVELCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableCVELCMRequest_Relationships_Peer_Objects_Item +func (a *WritableCVELCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableCVELCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableCVELCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCVELCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableCVELCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCVELCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableCVELCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableCVELCMRequest_Relationships_Source_Objects_Item +func (a *WritableCVELCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableCVELCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableCVELCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCVELCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableCVELCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCableRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableCableRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableCableRequest_Relationships_Destination_Objects_Item +func (a *WritableCableRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableCableRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableCableRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCableRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableCableRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCableRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableCableRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableCableRequest_Relationships_Peer_Objects_Item +func (a *WritableCableRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableCableRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableCableRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCableRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableCableRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCableRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableCableRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableCableRequest_Relationships_Source_Objects_Item +func (a *WritableCableRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableCableRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableCableRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCableRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableCableRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCircuitRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableCircuitRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableCircuitRequest_Relationships_Destination_Objects_Item +func (a *WritableCircuitRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableCircuitRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableCircuitRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCircuitRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableCircuitRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCircuitRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableCircuitRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableCircuitRequest_Relationships_Peer_Objects_Item +func (a *WritableCircuitRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableCircuitRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableCircuitRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCircuitRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableCircuitRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCircuitRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableCircuitRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableCircuitRequest_Relationships_Source_Objects_Item +func (a *WritableCircuitRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableCircuitRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableCircuitRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCircuitRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableCircuitRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCircuitTerminationRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableCircuitTerminationRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableCircuitTerminationRequest_Relationships_Destination_Objects_Item +func (a *WritableCircuitTerminationRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableCircuitTerminationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableCircuitTerminationRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCircuitTerminationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableCircuitTerminationRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCircuitTerminationRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableCircuitTerminationRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableCircuitTerminationRequest_Relationships_Peer_Objects_Item +func (a *WritableCircuitTerminationRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableCircuitTerminationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableCircuitTerminationRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCircuitTerminationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableCircuitTerminationRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableCircuitTerminationRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableCircuitTerminationRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableCircuitTerminationRequest_Relationships_Source_Objects_Item +func (a *WritableCircuitTerminationRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableCircuitTerminationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableCircuitTerminationRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableCircuitTerminationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableCircuitTerminationRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableClusterRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableClusterRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableClusterRequest_Relationships_Destination_Objects_Item +func (a *WritableClusterRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableClusterRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableClusterRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableClusterRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableClusterRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableClusterRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableClusterRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableClusterRequest_Relationships_Peer_Objects_Item +func (a *WritableClusterRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableClusterRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableClusterRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableClusterRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableClusterRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableClusterRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableClusterRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableClusterRequest_Relationships_Source_Objects_Item +func (a *WritableClusterRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableClusterRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableClusterRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableClusterRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableClusterRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsolePortRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableConsolePortRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableConsolePortRequest_Relationships_Destination_Objects_Item +func (a *WritableConsolePortRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableConsolePortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableConsolePortRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsolePortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableConsolePortRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsolePortRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableConsolePortRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableConsolePortRequest_Relationships_Peer_Objects_Item +func (a *WritableConsolePortRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableConsolePortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableConsolePortRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsolePortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableConsolePortRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsolePortRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableConsolePortRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableConsolePortRequest_Relationships_Source_Objects_Item +func (a *WritableConsolePortRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableConsolePortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableConsolePortRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsolePortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableConsolePortRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item +func (a *WritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableConsolePortTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item +func (a *WritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableConsolePortTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsolePortTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableConsolePortTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableConsolePortTemplateRequest_Relationships_Source_Objects_Item +func (a *WritableConsolePortTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableConsolePortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableConsolePortTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsolePortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableConsolePortTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsoleServerPortRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableConsoleServerPortRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableConsoleServerPortRequest_Relationships_Destination_Objects_Item +func (a *WritableConsoleServerPortRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableConsoleServerPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableConsoleServerPortRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsoleServerPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableConsoleServerPortRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsoleServerPortRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableConsoleServerPortRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableConsoleServerPortRequest_Relationships_Peer_Objects_Item +func (a *WritableConsoleServerPortRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableConsoleServerPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableConsoleServerPortRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsoleServerPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableConsoleServerPortRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsoleServerPortRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableConsoleServerPortRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableConsoleServerPortRequest_Relationships_Source_Objects_Item +func (a *WritableConsoleServerPortRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableConsoleServerPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableConsoleServerPortRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsoleServerPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableConsoleServerPortRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item +func (a *WritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableConsoleServerPortTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item +func (a *WritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableConsoleServerPortTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item +func (a *WritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableConsoleServerPortTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableContactLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableContactLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableContactLCMRequest_Relationships_Destination_Objects_Item +func (a *WritableContactLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableContactLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableContactLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableContactLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableContactLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableContactLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableContactLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableContactLCMRequest_Relationships_Peer_Objects_Item +func (a *WritableContactLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableContactLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableContactLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableContactLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableContactLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableContactLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableContactLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableContactLCMRequest_Relationships_Source_Objects_Item +func (a *WritableContactLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableContactLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableContactLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableContactLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableContactLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableContractLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableContractLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableContractLCMRequest_Relationships_Destination_Objects_Item +func (a *WritableContractLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableContractLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableContractLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableContractLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableContractLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableContractLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableContractLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableContractLCMRequest_Relationships_Peer_Objects_Item +func (a *WritableContractLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableContractLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableContractLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableContractLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableContractLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableContractLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableContractLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableContractLCMRequest_Relationships_Source_Objects_Item +func (a *WritableContractLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableContractLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableContractLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableContractLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableContractLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceBayRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableDeviceBayRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableDeviceBayRequest_Relationships_Destination_Objects_Item +func (a *WritableDeviceBayRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableDeviceBayRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableDeviceBayRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceBayRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableDeviceBayRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceBayRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableDeviceBayRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableDeviceBayRequest_Relationships_Peer_Objects_Item +func (a *WritableDeviceBayRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableDeviceBayRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableDeviceBayRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceBayRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableDeviceBayRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceBayRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableDeviceBayRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableDeviceBayRequest_Relationships_Source_Objects_Item +func (a *WritableDeviceBayRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableDeviceBayRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableDeviceBayRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceBayRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableDeviceBayRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item +func (a *WritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableDeviceBayTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item +func (a *WritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableDeviceBayTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item +func (a *WritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableDeviceBayTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item +func (a *WritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableDeviceRedundancyGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item +func (a *WritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableDeviceRedundancyGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item +func (a *WritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableDeviceRedundancyGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceTypeRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableDeviceTypeRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableDeviceTypeRequest_Relationships_Destination_Objects_Item +func (a *WritableDeviceTypeRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableDeviceTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableDeviceTypeRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableDeviceTypeRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceTypeRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableDeviceTypeRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableDeviceTypeRequest_Relationships_Peer_Objects_Item +func (a *WritableDeviceTypeRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableDeviceTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableDeviceTypeRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableDeviceTypeRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceTypeRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableDeviceTypeRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableDeviceTypeRequest_Relationships_Source_Objects_Item +func (a *WritableDeviceTypeRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableDeviceTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableDeviceTypeRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableDeviceTypeRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item +func (a *WritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableDeviceWithConfigContextRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item +func (a *WritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableDeviceWithConfigContextRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item +func (a *WritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableDeviceWithConfigContextRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableFQDNRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableFQDNRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableFQDNRequest_Relationships_Destination_Objects_Item +func (a *WritableFQDNRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableFQDNRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableFQDNRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableFQDNRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableFQDNRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableFQDNRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableFQDNRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableFQDNRequest_Relationships_Peer_Objects_Item +func (a *WritableFQDNRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableFQDNRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableFQDNRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableFQDNRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableFQDNRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableFQDNRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableFQDNRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableFQDNRequest_Relationships_Source_Objects_Item +func (a *WritableFQDNRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableFQDNRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableFQDNRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableFQDNRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableFQDNRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableFrontPortRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableFrontPortRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableFrontPortRequest_Relationships_Destination_Objects_Item +func (a *WritableFrontPortRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableFrontPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableFrontPortRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableFrontPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableFrontPortRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableFrontPortRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableFrontPortRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableFrontPortRequest_Relationships_Peer_Objects_Item +func (a *WritableFrontPortRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableFrontPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableFrontPortRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableFrontPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableFrontPortRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableFrontPortRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableFrontPortRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableFrontPortRequest_Relationships_Source_Objects_Item +func (a *WritableFrontPortRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableFrontPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableFrontPortRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableFrontPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableFrontPortRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item +func (a *WritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableFrontPortTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item +func (a *WritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableFrontPortTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableFrontPortTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableFrontPortTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableFrontPortTemplateRequest_Relationships_Source_Objects_Item +func (a *WritableFrontPortTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableFrontPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableFrontPortTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableFrontPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableFrontPortTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableGitRepositoryRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableGitRepositoryRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableGitRepositoryRequest_Relationships_Destination_Objects_Item +func (a *WritableGitRepositoryRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableGitRepositoryRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableGitRepositoryRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableGitRepositoryRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableGitRepositoryRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableGitRepositoryRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableGitRepositoryRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableGitRepositoryRequest_Relationships_Peer_Objects_Item +func (a *WritableGitRepositoryRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableGitRepositoryRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableGitRepositoryRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableGitRepositoryRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableGitRepositoryRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableGitRepositoryRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableGitRepositoryRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableGitRepositoryRequest_Relationships_Source_Objects_Item +func (a *WritableGitRepositoryRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableGitRepositoryRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableGitRepositoryRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableGitRepositoryRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableGitRepositoryRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableHardwareLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableHardwareLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableHardwareLCMRequest_Relationships_Destination_Objects_Item +func (a *WritableHardwareLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableHardwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableHardwareLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableHardwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableHardwareLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableHardwareLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableHardwareLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableHardwareLCMRequest_Relationships_Peer_Objects_Item +func (a *WritableHardwareLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableHardwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableHardwareLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableHardwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableHardwareLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableHardwareLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableHardwareLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableHardwareLCMRequest_Relationships_Source_Objects_Item +func (a *WritableHardwareLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableHardwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableHardwareLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableHardwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableHardwareLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableIPAddressRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableIPAddressRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableIPAddressRequest_Relationships_Destination_Objects_Item +func (a *WritableIPAddressRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableIPAddressRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableIPAddressRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableIPAddressRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableIPAddressRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableIPAddressRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableIPAddressRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableIPAddressRequest_Relationships_Peer_Objects_Item +func (a *WritableIPAddressRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableIPAddressRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableIPAddressRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableIPAddressRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableIPAddressRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableIPAddressRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableIPAddressRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableIPAddressRequest_Relationships_Source_Objects_Item +func (a *WritableIPAddressRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableIPAddressRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableIPAddressRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableIPAddressRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableIPAddressRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableInterfaceRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableInterfaceRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableInterfaceRequest_Relationships_Destination_Objects_Item +func (a *WritableInterfaceRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableInterfaceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableInterfaceRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableInterfaceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableInterfaceRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableInterfaceRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableInterfaceRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableInterfaceRequest_Relationships_Peer_Objects_Item +func (a *WritableInterfaceRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableInterfaceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableInterfaceRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableInterfaceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableInterfaceRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableInterfaceRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableInterfaceRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableInterfaceRequest_Relationships_Source_Objects_Item +func (a *WritableInterfaceRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableInterfaceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableInterfaceRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableInterfaceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableInterfaceRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item +func (a *WritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableInterfaceTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item +func (a *WritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableInterfaceTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableInterfaceTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableInterfaceTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableInterfaceTemplateRequest_Relationships_Source_Objects_Item +func (a *WritableInterfaceTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableInterfaceTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableInterfaceTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableInterfaceTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableInterfaceTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableInventoryItemRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableInventoryItemRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableInventoryItemRequest_Relationships_Destination_Objects_Item +func (a *WritableInventoryItemRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableInventoryItemRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableInventoryItemRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableInventoryItemRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableInventoryItemRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableInventoryItemRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableInventoryItemRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableInventoryItemRequest_Relationships_Peer_Objects_Item +func (a *WritableInventoryItemRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableInventoryItemRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableInventoryItemRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableInventoryItemRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableInventoryItemRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableInventoryItemRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableInventoryItemRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableInventoryItemRequest_Relationships_Source_Objects_Item +func (a *WritableInventoryItemRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableInventoryItemRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableInventoryItemRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableInventoryItemRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableInventoryItemRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableLocationRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableLocationRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableLocationRequest_Relationships_Destination_Objects_Item +func (a *WritableLocationRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableLocationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableLocationRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableLocationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableLocationRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableLocationRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableLocationRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableLocationRequest_Relationships_Peer_Objects_Item +func (a *WritableLocationRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableLocationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableLocationRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableLocationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableLocationRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableLocationRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableLocationRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableLocationRequest_Relationships_Source_Objects_Item +func (a *WritableLocationRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableLocationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableLocationRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableLocationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableLocationRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableLocationTypeRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableLocationTypeRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableLocationTypeRequest_Relationships_Destination_Objects_Item +func (a *WritableLocationTypeRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableLocationTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableLocationTypeRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableLocationTypeRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableLocationTypeRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableLocationTypeRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableLocationTypeRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableLocationTypeRequest_Relationships_Peer_Objects_Item +func (a *WritableLocationTypeRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableLocationTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableLocationTypeRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableLocationTypeRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableLocationTypeRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableLocationTypeRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableLocationTypeRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableLocationTypeRequest_Relationships_Source_Objects_Item +func (a *WritableLocationTypeRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableLocationTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableLocationTypeRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableLocationTypeRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableLocationTypeRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item +func (a *WritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableNATPolicyRuleRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item +func (a *WritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableNATPolicyRuleRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableNATPolicyRuleRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableNATPolicyRuleRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableNATPolicyRuleRequest_Relationships_Source_Objects_Item +func (a *WritableNATPolicyRuleRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableNATPolicyRuleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableNATPolicyRuleRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableNATPolicyRuleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableNATPolicyRuleRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePlatformRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePlatformRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePlatformRequest_Relationships_Destination_Objects_Item +func (a *WritablePlatformRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePlatformRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritablePlatformRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePlatformRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritablePlatformRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePlatformRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePlatformRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePlatformRequest_Relationships_Peer_Objects_Item +func (a *WritablePlatformRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePlatformRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritablePlatformRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePlatformRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritablePlatformRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePlatformRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePlatformRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePlatformRequest_Relationships_Source_Objects_Item +func (a *WritablePlatformRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePlatformRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritablePlatformRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePlatformRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritablePlatformRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePolicyRuleRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePolicyRuleRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePolicyRuleRequest_Relationships_Destination_Objects_Item +func (a *WritablePolicyRuleRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePolicyRuleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritablePolicyRuleRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePolicyRuleRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritablePolicyRuleRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePolicyRuleRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePolicyRuleRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePolicyRuleRequest_Relationships_Peer_Objects_Item +func (a *WritablePolicyRuleRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePolicyRuleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritablePolicyRuleRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePolicyRuleRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritablePolicyRuleRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePolicyRuleRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePolicyRuleRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePolicyRuleRequest_Relationships_Source_Objects_Item +func (a *WritablePolicyRuleRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePolicyRuleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritablePolicyRuleRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePolicyRuleRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritablePolicyRuleRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerFeedRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePowerFeedRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePowerFeedRequest_Relationships_Destination_Objects_Item +func (a *WritablePowerFeedRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePowerFeedRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritablePowerFeedRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerFeedRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritablePowerFeedRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerFeedRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePowerFeedRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePowerFeedRequest_Relationships_Peer_Objects_Item +func (a *WritablePowerFeedRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePowerFeedRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritablePowerFeedRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerFeedRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritablePowerFeedRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerFeedRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePowerFeedRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePowerFeedRequest_Relationships_Source_Objects_Item +func (a *WritablePowerFeedRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePowerFeedRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritablePowerFeedRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerFeedRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritablePowerFeedRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerOutletRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePowerOutletRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePowerOutletRequest_Relationships_Destination_Objects_Item +func (a *WritablePowerOutletRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePowerOutletRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritablePowerOutletRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerOutletRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritablePowerOutletRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerOutletRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePowerOutletRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePowerOutletRequest_Relationships_Peer_Objects_Item +func (a *WritablePowerOutletRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePowerOutletRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritablePowerOutletRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerOutletRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritablePowerOutletRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerOutletRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePowerOutletRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePowerOutletRequest_Relationships_Source_Objects_Item +func (a *WritablePowerOutletRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePowerOutletRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritablePowerOutletRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerOutletRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritablePowerOutletRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item +func (a *WritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritablePowerOutletTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item +func (a *WritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritablePowerOutletTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item +func (a *WritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritablePowerOutletTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerPanelRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePowerPanelRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePowerPanelRequest_Relationships_Destination_Objects_Item +func (a *WritablePowerPanelRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePowerPanelRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritablePowerPanelRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerPanelRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritablePowerPanelRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerPanelRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePowerPanelRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePowerPanelRequest_Relationships_Peer_Objects_Item +func (a *WritablePowerPanelRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePowerPanelRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritablePowerPanelRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerPanelRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritablePowerPanelRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerPanelRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePowerPanelRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePowerPanelRequest_Relationships_Source_Objects_Item +func (a *WritablePowerPanelRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePowerPanelRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritablePowerPanelRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerPanelRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritablePowerPanelRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerPortRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePowerPortRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePowerPortRequest_Relationships_Destination_Objects_Item +func (a *WritablePowerPortRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePowerPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritablePowerPortRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritablePowerPortRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerPortRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePowerPortRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePowerPortRequest_Relationships_Peer_Objects_Item +func (a *WritablePowerPortRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePowerPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritablePowerPortRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritablePowerPortRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerPortRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePowerPortRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePowerPortRequest_Relationships_Source_Objects_Item +func (a *WritablePowerPortRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePowerPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritablePowerPortRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritablePowerPortRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item +func (a *WritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritablePowerPortTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item +func (a *WritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritablePowerPortTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePowerPortTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePowerPortTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePowerPortTemplateRequest_Relationships_Source_Objects_Item +func (a *WritablePowerPortTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePowerPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritablePowerPortTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePowerPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritablePowerPortTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePrefixRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePrefixRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePrefixRequest_Relationships_Destination_Objects_Item +func (a *WritablePrefixRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePrefixRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritablePrefixRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePrefixRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritablePrefixRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePrefixRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePrefixRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePrefixRequest_Relationships_Peer_Objects_Item +func (a *WritablePrefixRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePrefixRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritablePrefixRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePrefixRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritablePrefixRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritablePrefixRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritablePrefixRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritablePrefixRequest_Relationships_Source_Objects_Item +func (a *WritablePrefixRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritablePrefixRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritablePrefixRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritablePrefixRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritablePrefixRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableProviderNetworkRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableProviderNetworkRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableProviderNetworkRequest_Relationships_Destination_Objects_Item +func (a *WritableProviderNetworkRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableProviderNetworkRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableProviderNetworkRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableProviderNetworkRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableProviderNetworkRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableProviderNetworkRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableProviderNetworkRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableProviderNetworkRequest_Relationships_Peer_Objects_Item +func (a *WritableProviderNetworkRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableProviderNetworkRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableProviderNetworkRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableProviderNetworkRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableProviderNetworkRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableProviderNetworkRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableProviderNetworkRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableProviderNetworkRequest_Relationships_Source_Objects_Item +func (a *WritableProviderNetworkRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableProviderNetworkRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableProviderNetworkRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableProviderNetworkRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableProviderNetworkRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRackGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableRackGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableRackGroupRequest_Relationships_Destination_Objects_Item +func (a *WritableRackGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableRackGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableRackGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRackGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableRackGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRackGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableRackGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableRackGroupRequest_Relationships_Peer_Objects_Item +func (a *WritableRackGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableRackGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableRackGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRackGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableRackGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRackGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableRackGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableRackGroupRequest_Relationships_Source_Objects_Item +func (a *WritableRackGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableRackGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableRackGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRackGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableRackGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRackRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableRackRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableRackRequest_Relationships_Destination_Objects_Item +func (a *WritableRackRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableRackRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableRackRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRackRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableRackRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRackRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableRackRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableRackRequest_Relationships_Peer_Objects_Item +func (a *WritableRackRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableRackRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableRackRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRackRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableRackRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRackRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableRackRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableRackRequest_Relationships_Source_Objects_Item +func (a *WritableRackRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableRackRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableRackRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRackRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableRackRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRackReservationRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableRackReservationRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableRackReservationRequest_Relationships_Destination_Objects_Item +func (a *WritableRackReservationRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableRackReservationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableRackReservationRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRackReservationRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableRackReservationRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRackReservationRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableRackReservationRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableRackReservationRequest_Relationships_Peer_Objects_Item +func (a *WritableRackReservationRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableRackReservationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableRackReservationRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRackReservationRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableRackReservationRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRackReservationRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableRackReservationRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableRackReservationRequest_Relationships_Source_Objects_Item +func (a *WritableRackReservationRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableRackReservationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableRackReservationRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRackReservationRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableRackReservationRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRearPortRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableRearPortRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableRearPortRequest_Relationships_Destination_Objects_Item +func (a *WritableRearPortRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableRearPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableRearPortRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRearPortRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableRearPortRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRearPortRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableRearPortRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableRearPortRequest_Relationships_Peer_Objects_Item +func (a *WritableRearPortRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableRearPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableRearPortRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRearPortRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableRearPortRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRearPortRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableRearPortRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableRearPortRequest_Relationships_Source_Objects_Item +func (a *WritableRearPortRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableRearPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableRearPortRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRearPortRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableRearPortRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRearPortTemplateRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableRearPortTemplateRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableRearPortTemplateRequest_Relationships_Destination_Objects_Item +func (a *WritableRearPortTemplateRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableRearPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableRearPortTemplateRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRearPortTemplateRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableRearPortTemplateRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRearPortTemplateRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableRearPortTemplateRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableRearPortTemplateRequest_Relationships_Peer_Objects_Item +func (a *WritableRearPortTemplateRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableRearPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableRearPortTemplateRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRearPortTemplateRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableRearPortTemplateRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRearPortTemplateRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableRearPortTemplateRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableRearPortTemplateRequest_Relationships_Source_Objects_Item +func (a *WritableRearPortTemplateRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableRearPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableRearPortTemplateRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRearPortTemplateRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableRearPortTemplateRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRegionRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableRegionRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableRegionRequest_Relationships_Destination_Objects_Item +func (a *WritableRegionRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableRegionRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableRegionRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRegionRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableRegionRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRegionRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableRegionRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableRegionRequest_Relationships_Peer_Objects_Item +func (a *WritableRegionRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableRegionRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableRegionRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRegionRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableRegionRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRegionRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableRegionRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableRegionRequest_Relationships_Source_Objects_Item +func (a *WritableRegionRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableRegionRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableRegionRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRegionRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableRegionRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRouteTargetRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableRouteTargetRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableRouteTargetRequest_Relationships_Destination_Objects_Item +func (a *WritableRouteTargetRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableRouteTargetRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableRouteTargetRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRouteTargetRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableRouteTargetRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRouteTargetRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableRouteTargetRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableRouteTargetRequest_Relationships_Peer_Objects_Item +func (a *WritableRouteTargetRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableRouteTargetRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableRouteTargetRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRouteTargetRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableRouteTargetRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableRouteTargetRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableRouteTargetRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableRouteTargetRequest_Relationships_Source_Objects_Item +func (a *WritableRouteTargetRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableRouteTargetRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableRouteTargetRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableRouteTargetRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableRouteTargetRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item +func (a *WritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableServiceObjectGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item +func (a *WritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableServiceObjectGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableServiceObjectGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableServiceObjectGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableServiceObjectGroupRequest_Relationships_Source_Objects_Item +func (a *WritableServiceObjectGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableServiceObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableServiceObjectGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableServiceObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableServiceObjectGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableServiceRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableServiceRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableServiceRequest_Relationships_Destination_Objects_Item +func (a *WritableServiceRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableServiceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableServiceRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableServiceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableServiceRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableServiceRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableServiceRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableServiceRequest_Relationships_Peer_Objects_Item +func (a *WritableServiceRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableServiceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableServiceRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableServiceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableServiceRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableServiceRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableServiceRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableServiceRequest_Relationships_Source_Objects_Item +func (a *WritableServiceRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableServiceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableServiceRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableServiceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableServiceRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableSiteRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableSiteRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableSiteRequest_Relationships_Destination_Objects_Item +func (a *WritableSiteRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableSiteRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableSiteRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableSiteRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableSiteRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableSiteRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableSiteRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableSiteRequest_Relationships_Peer_Objects_Item +func (a *WritableSiteRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableSiteRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableSiteRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableSiteRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableSiteRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableSiteRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableSiteRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableSiteRequest_Relationships_Source_Objects_Item +func (a *WritableSiteRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableSiteRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableSiteRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableSiteRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableSiteRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item +func (a *WritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableSoftwareImageLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item +func (a *WritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableSoftwareImageLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item +func (a *WritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableSoftwareImageLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableSoftwareLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableSoftwareLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableSoftwareLCMRequest_Relationships_Destination_Objects_Item +func (a *WritableSoftwareLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableSoftwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableSoftwareLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableSoftwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableSoftwareLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableSoftwareLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableSoftwareLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableSoftwareLCMRequest_Relationships_Peer_Objects_Item +func (a *WritableSoftwareLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableSoftwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableSoftwareLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableSoftwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableSoftwareLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableSoftwareLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableSoftwareLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableSoftwareLCMRequest_Relationships_Source_Objects_Item +func (a *WritableSoftwareLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableSoftwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableSoftwareLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableSoftwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableSoftwareLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableTenantGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableTenantGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableTenantGroupRequest_Relationships_Destination_Objects_Item +func (a *WritableTenantGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableTenantGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableTenantGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableTenantGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableTenantGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableTenantGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableTenantGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableTenantGroupRequest_Relationships_Peer_Objects_Item +func (a *WritableTenantGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableTenantGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableTenantGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableTenantGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableTenantGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableTenantGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableTenantGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableTenantGroupRequest_Relationships_Source_Objects_Item +func (a *WritableTenantGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableTenantGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableTenantGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableTenantGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableTenantGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableTenantRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableTenantRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableTenantRequest_Relationships_Destination_Objects_Item +func (a *WritableTenantRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableTenantRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableTenantRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableTenantRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableTenantRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableTenantRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableTenantRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableTenantRequest_Relationships_Peer_Objects_Item +func (a *WritableTenantRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableTenantRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableTenantRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableTenantRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableTenantRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableTenantRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableTenantRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableTenantRequest_Relationships_Source_Objects_Item +func (a *WritableTenantRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableTenantRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableTenantRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableTenantRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableTenantRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableUserObjectGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableUserObjectGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableUserObjectGroupRequest_Relationships_Destination_Objects_Item +func (a *WritableUserObjectGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableUserObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableUserObjectGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableUserObjectGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableUserObjectGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableUserObjectGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableUserObjectGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableUserObjectGroupRequest_Relationships_Peer_Objects_Item +func (a *WritableUserObjectGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableUserObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableUserObjectGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableUserObjectGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableUserObjectGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableUserObjectGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableUserObjectGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableUserObjectGroupRequest_Relationships_Source_Objects_Item +func (a *WritableUserObjectGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableUserObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableUserObjectGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableUserObjectGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableUserObjectGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVLANGroupRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableVLANGroupRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableVLANGroupRequest_Relationships_Destination_Objects_Item +func (a *WritableVLANGroupRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableVLANGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableVLANGroupRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVLANGroupRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableVLANGroupRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVLANGroupRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableVLANGroupRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableVLANGroupRequest_Relationships_Peer_Objects_Item +func (a *WritableVLANGroupRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableVLANGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableVLANGroupRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVLANGroupRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableVLANGroupRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVLANGroupRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableVLANGroupRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableVLANGroupRequest_Relationships_Source_Objects_Item +func (a *WritableVLANGroupRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableVLANGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableVLANGroupRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVLANGroupRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableVLANGroupRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVLANRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableVLANRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableVLANRequest_Relationships_Destination_Objects_Item +func (a *WritableVLANRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableVLANRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableVLANRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVLANRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableVLANRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVLANRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableVLANRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableVLANRequest_Relationships_Peer_Objects_Item +func (a *WritableVLANRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableVLANRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableVLANRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVLANRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableVLANRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVLANRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableVLANRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableVLANRequest_Relationships_Source_Objects_Item +func (a *WritableVLANRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableVLANRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableVLANRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVLANRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableVLANRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVMInterfaceRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableVMInterfaceRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableVMInterfaceRequest_Relationships_Destination_Objects_Item +func (a *WritableVMInterfaceRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableVMInterfaceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableVMInterfaceRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVMInterfaceRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableVMInterfaceRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVMInterfaceRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableVMInterfaceRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableVMInterfaceRequest_Relationships_Peer_Objects_Item +func (a *WritableVMInterfaceRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableVMInterfaceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableVMInterfaceRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVMInterfaceRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableVMInterfaceRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVMInterfaceRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableVMInterfaceRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableVMInterfaceRequest_Relationships_Source_Objects_Item +func (a *WritableVMInterfaceRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableVMInterfaceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableVMInterfaceRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVMInterfaceRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableVMInterfaceRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVRFRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableVRFRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableVRFRequest_Relationships_Destination_Objects_Item +func (a *WritableVRFRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableVRFRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableVRFRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVRFRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableVRFRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVRFRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableVRFRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableVRFRequest_Relationships_Peer_Objects_Item +func (a *WritableVRFRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableVRFRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableVRFRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVRFRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableVRFRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVRFRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableVRFRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableVRFRequest_Relationships_Source_Objects_Item +func (a *WritableVRFRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableVRFRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableVRFRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVRFRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableVRFRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item +func (a *WritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableValidatedSoftwareLCMRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item +func (a *WritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableValidatedSoftwareLCMRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item +func (a *WritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableValidatedSoftwareLCMRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVirtualChassisRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableVirtualChassisRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableVirtualChassisRequest_Relationships_Destination_Objects_Item +func (a *WritableVirtualChassisRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableVirtualChassisRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableVirtualChassisRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVirtualChassisRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableVirtualChassisRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVirtualChassisRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableVirtualChassisRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableVirtualChassisRequest_Relationships_Peer_Objects_Item +func (a *WritableVirtualChassisRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableVirtualChassisRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableVirtualChassisRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVirtualChassisRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableVirtualChassisRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVirtualChassisRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableVirtualChassisRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableVirtualChassisRequest_Relationships_Source_Objects_Item +func (a *WritableVirtualChassisRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableVirtualChassisRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableVirtualChassisRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVirtualChassisRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableVirtualChassisRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item +func (a *WritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *WritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a WritableVirtualMachineWithConfigContextRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item +func (a *WritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *WritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a WritableVirtualMachineWithConfigContextRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for WritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a WritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for WritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item +func (a *WritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for WritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *WritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for WritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a WritableVirtualMachineWithConfigContextRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ZoneRequest_Relationships_Destination_Objects_Item. Returns the specified +// element and whether it was found +func (a ZoneRequest_Relationships_Destination_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for ZoneRequest_Relationships_Destination_Objects_Item +func (a *ZoneRequest_Relationships_Destination_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for ZoneRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a *ZoneRequest_Relationships_Destination_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ZoneRequest_Relationships_Destination_Objects_Item to handle AdditionalProperties +func (a ZoneRequest_Relationships_Destination_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ZoneRequest_Relationships_Peer_Objects_Item. Returns the specified +// element and whether it was found +func (a ZoneRequest_Relationships_Peer_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for ZoneRequest_Relationships_Peer_Objects_Item +func (a *ZoneRequest_Relationships_Peer_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for ZoneRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a *ZoneRequest_Relationships_Peer_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ZoneRequest_Relationships_Peer_Objects_Item to handle AdditionalProperties +func (a ZoneRequest_Relationships_Peer_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for ZoneRequest_Relationships_Source_Objects_Item. Returns the specified +// element and whether it was found +func (a ZoneRequest_Relationships_Source_Objects_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for ZoneRequest_Relationships_Source_Objects_Item +func (a *ZoneRequest_Relationships_Source_Objects_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for ZoneRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a *ZoneRequest_Relationships_Source_Objects_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["display"]; found { + err = json.Unmarshal(raw, &a.Display) + if err != nil { + return fmt.Errorf("error reading 'display': %w", err) + } + delete(object, "display") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["url"]; found { + err = json.Unmarshal(raw, &a.Url) + if err != nil { + return fmt.Errorf("error reading 'url': %w", err) + } + delete(object, "url") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshalling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for ZoneRequest_Relationships_Source_Objects_Item to handle AdditionalProperties +func (a ZoneRequest_Relationships_Source_Objects_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Display != nil { + object["display"], err = json.Marshal(a.Display) + if err != nil { + return nil, fmt.Errorf("error marshaling 'display': %w", err) + } + } + + if a.Id != nil { + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + } + + if a.Url != nil { + object["url"], err = json.Marshal(a.Url) + if err != nil { + return nil, fmt.Errorf("error marshaling 'url': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// AsCableTypeChoices returns the union data inside the BulkWritableCableRequest_Type as a CableTypeChoices +func (t BulkWritableCableRequest_Type) AsCableTypeChoices() (CableTypeChoices, error) { + var body CableTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCableTypeChoices overwrites any union data inside the BulkWritableCableRequest_Type as the provided CableTypeChoices +func (t *BulkWritableCableRequest_Type) FromCableTypeChoices(v CableTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCableTypeChoices performs a merge with any union data inside the BulkWritableCableRequest_Type, using the provided CableTypeChoices +func (t *BulkWritableCableRequest_Type) MergeCableTypeChoices(v CableTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the BulkWritableCableRequest_Type as a BlankEnum +func (t BulkWritableCableRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the BulkWritableCableRequest_Type as the provided BlankEnum +func (t *BulkWritableCableRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the BulkWritableCableRequest_Type, using the provided BlankEnum +func (t *BulkWritableCableRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t BulkWritableCableRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *BulkWritableCableRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsImpactEnum returns the union data inside the BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact as a ImpactEnum +func (t BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) AsImpactEnum() (ImpactEnum, error) { + var body ImpactEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromImpactEnum overwrites any union data inside the BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact as the provided ImpactEnum +func (t *BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) FromImpactEnum(v ImpactEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeImpactEnum performs a merge with any union data inside the BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact, using the provided ImpactEnum +func (t *BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) MergeImpactEnum(v ImpactEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact as a BlankEnum +func (t BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact as the provided BlankEnum +func (t *BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact, using the provided BlankEnum +func (t *BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsNullEnum returns the union data inside the BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact as a NullEnum +func (t BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) AsNullEnum() (NullEnum, error) { + var body NullEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromNullEnum overwrites any union data inside the BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact as the provided NullEnum +func (t *BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) FromNullEnum(v NullEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeNullEnum performs a merge with any union data inside the BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact, using the provided NullEnum +func (t *BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) MergeNullEnum(v NullEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *BulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsStatusD95Enum returns the union data inside the BulkWritableCircuitMaintenanceRequest_Status as a StatusD95Enum +func (t BulkWritableCircuitMaintenanceRequest_Status) AsStatusD95Enum() (StatusD95Enum, error) { + var body StatusD95Enum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStatusD95Enum overwrites any union data inside the BulkWritableCircuitMaintenanceRequest_Status as the provided StatusD95Enum +func (t *BulkWritableCircuitMaintenanceRequest_Status) FromStatusD95Enum(v StatusD95Enum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStatusD95Enum performs a merge with any union data inside the BulkWritableCircuitMaintenanceRequest_Status, using the provided StatusD95Enum +func (t *BulkWritableCircuitMaintenanceRequest_Status) MergeStatusD95Enum(v StatusD95Enum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the BulkWritableCircuitMaintenanceRequest_Status as a BlankEnum +func (t BulkWritableCircuitMaintenanceRequest_Status) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the BulkWritableCircuitMaintenanceRequest_Status as the provided BlankEnum +func (t *BulkWritableCircuitMaintenanceRequest_Status) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the BulkWritableCircuitMaintenanceRequest_Status, using the provided BlankEnum +func (t *BulkWritableCircuitMaintenanceRequest_Status) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsNullEnum returns the union data inside the BulkWritableCircuitMaintenanceRequest_Status as a NullEnum +func (t BulkWritableCircuitMaintenanceRequest_Status) AsNullEnum() (NullEnum, error) { + var body NullEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromNullEnum overwrites any union data inside the BulkWritableCircuitMaintenanceRequest_Status as the provided NullEnum +func (t *BulkWritableCircuitMaintenanceRequest_Status) FromNullEnum(v NullEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeNullEnum performs a merge with any union data inside the BulkWritableCircuitMaintenanceRequest_Status, using the provided NullEnum +func (t *BulkWritableCircuitMaintenanceRequest_Status) MergeNullEnum(v NullEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t BulkWritableCircuitMaintenanceRequest_Status) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *BulkWritableCircuitMaintenanceRequest_Status) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsProvidedContentsEnum returns the union data inside the BulkWritableGitRepositoryRequest_ProvidedContents_Item as a ProvidedContentsEnum +func (t BulkWritableGitRepositoryRequest_ProvidedContents_Item) AsProvidedContentsEnum() (ProvidedContentsEnum, error) { + var body ProvidedContentsEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromProvidedContentsEnum overwrites any union data inside the BulkWritableGitRepositoryRequest_ProvidedContents_Item as the provided ProvidedContentsEnum +func (t *BulkWritableGitRepositoryRequest_ProvidedContents_Item) FromProvidedContentsEnum(v ProvidedContentsEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeProvidedContentsEnum performs a merge with any union data inside the BulkWritableGitRepositoryRequest_ProvidedContents_Item, using the provided ProvidedContentsEnum +func (t *BulkWritableGitRepositoryRequest_ProvidedContents_Item) MergeProvidedContentsEnum(v ProvidedContentsEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the BulkWritableGitRepositoryRequest_ProvidedContents_Item as a BlankEnum +func (t BulkWritableGitRepositoryRequest_ProvidedContents_Item) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the BulkWritableGitRepositoryRequest_ProvidedContents_Item as the provided BlankEnum +func (t *BulkWritableGitRepositoryRequest_ProvidedContents_Item) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the BulkWritableGitRepositoryRequest_ProvidedContents_Item, using the provided BlankEnum +func (t *BulkWritableGitRepositoryRequest_ProvidedContents_Item) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t BulkWritableGitRepositoryRequest_ProvidedContents_Item) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *BulkWritableGitRepositoryRequest_ProvidedContents_Item) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsRequiredOnEnum returns the union data inside the BulkWritableRelationshipRequest_RequiredOn as a RequiredOnEnum +func (t BulkWritableRelationshipRequest_RequiredOn) AsRequiredOnEnum() (RequiredOnEnum, error) { + var body RequiredOnEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromRequiredOnEnum overwrites any union data inside the BulkWritableRelationshipRequest_RequiredOn as the provided RequiredOnEnum +func (t *BulkWritableRelationshipRequest_RequiredOn) FromRequiredOnEnum(v RequiredOnEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeRequiredOnEnum performs a merge with any union data inside the BulkWritableRelationshipRequest_RequiredOn, using the provided RequiredOnEnum +func (t *BulkWritableRelationshipRequest_RequiredOn) MergeRequiredOnEnum(v RequiredOnEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the BulkWritableRelationshipRequest_RequiredOn as a BlankEnum +func (t BulkWritableRelationshipRequest_RequiredOn) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the BulkWritableRelationshipRequest_RequiredOn as the provided BlankEnum +func (t *BulkWritableRelationshipRequest_RequiredOn) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the BulkWritableRelationshipRequest_RequiredOn, using the provided BlankEnum +func (t *BulkWritableRelationshipRequest_RequiredOn) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t BulkWritableRelationshipRequest_RequiredOn) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *BulkWritableRelationshipRequest_RequiredOn) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsCableTypeChoices returns the union data inside the Cable_Type as a CableTypeChoices +func (t Cable_Type) AsCableTypeChoices() (CableTypeChoices, error) { + var body CableTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCableTypeChoices overwrites any union data inside the Cable_Type as the provided CableTypeChoices +func (t *Cable_Type) FromCableTypeChoices(v CableTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCableTypeChoices performs a merge with any union data inside the Cable_Type, using the provided CableTypeChoices +func (t *Cable_Type) MergeCableTypeChoices(v CableTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the Cable_Type as a BlankEnum +func (t Cable_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the Cable_Type as the provided BlankEnum +func (t *Cable_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the Cable_Type, using the provided BlankEnum +func (t *Cable_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t Cable_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *Cable_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsStatusD95Enum returns the union data inside the CircuitMaintenance_Status as a StatusD95Enum +func (t CircuitMaintenance_Status) AsStatusD95Enum() (StatusD95Enum, error) { + var body StatusD95Enum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStatusD95Enum overwrites any union data inside the CircuitMaintenance_Status as the provided StatusD95Enum +func (t *CircuitMaintenance_Status) FromStatusD95Enum(v StatusD95Enum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStatusD95Enum performs a merge with any union data inside the CircuitMaintenance_Status, using the provided StatusD95Enum +func (t *CircuitMaintenance_Status) MergeStatusD95Enum(v StatusD95Enum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the CircuitMaintenance_Status as a BlankEnum +func (t CircuitMaintenance_Status) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the CircuitMaintenance_Status as the provided BlankEnum +func (t *CircuitMaintenance_Status) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the CircuitMaintenance_Status, using the provided BlankEnum +func (t *CircuitMaintenance_Status) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsNullEnum returns the union data inside the CircuitMaintenance_Status as a NullEnum +func (t CircuitMaintenance_Status) AsNullEnum() (NullEnum, error) { + var body NullEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromNullEnum overwrites any union data inside the CircuitMaintenance_Status as the provided NullEnum +func (t *CircuitMaintenance_Status) FromNullEnum(v NullEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeNullEnum performs a merge with any union data inside the CircuitMaintenance_Status, using the provided NullEnum +func (t *CircuitMaintenance_Status) MergeNullEnum(v NullEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t CircuitMaintenance_Status) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *CircuitMaintenance_Status) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsImpactEnum returns the union data inside the CircuitMaintenanceCircuitImpact_Impact as a ImpactEnum +func (t CircuitMaintenanceCircuitImpact_Impact) AsImpactEnum() (ImpactEnum, error) { + var body ImpactEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromImpactEnum overwrites any union data inside the CircuitMaintenanceCircuitImpact_Impact as the provided ImpactEnum +func (t *CircuitMaintenanceCircuitImpact_Impact) FromImpactEnum(v ImpactEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeImpactEnum performs a merge with any union data inside the CircuitMaintenanceCircuitImpact_Impact, using the provided ImpactEnum +func (t *CircuitMaintenanceCircuitImpact_Impact) MergeImpactEnum(v ImpactEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the CircuitMaintenanceCircuitImpact_Impact as a BlankEnum +func (t CircuitMaintenanceCircuitImpact_Impact) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the CircuitMaintenanceCircuitImpact_Impact as the provided BlankEnum +func (t *CircuitMaintenanceCircuitImpact_Impact) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the CircuitMaintenanceCircuitImpact_Impact, using the provided BlankEnum +func (t *CircuitMaintenanceCircuitImpact_Impact) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsNullEnum returns the union data inside the CircuitMaintenanceCircuitImpact_Impact as a NullEnum +func (t CircuitMaintenanceCircuitImpact_Impact) AsNullEnum() (NullEnum, error) { + var body NullEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromNullEnum overwrites any union data inside the CircuitMaintenanceCircuitImpact_Impact as the provided NullEnum +func (t *CircuitMaintenanceCircuitImpact_Impact) FromNullEnum(v NullEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeNullEnum performs a merge with any union data inside the CircuitMaintenanceCircuitImpact_Impact, using the provided NullEnum +func (t *CircuitMaintenanceCircuitImpact_Impact) MergeNullEnum(v NullEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t CircuitMaintenanceCircuitImpact_Impact) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *CircuitMaintenanceCircuitImpact_Impact) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsImpactEnum returns the union data inside the CircuitMaintenanceCircuitImpactRequest_Impact as a ImpactEnum +func (t CircuitMaintenanceCircuitImpactRequest_Impact) AsImpactEnum() (ImpactEnum, error) { + var body ImpactEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromImpactEnum overwrites any union data inside the CircuitMaintenanceCircuitImpactRequest_Impact as the provided ImpactEnum +func (t *CircuitMaintenanceCircuitImpactRequest_Impact) FromImpactEnum(v ImpactEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeImpactEnum performs a merge with any union data inside the CircuitMaintenanceCircuitImpactRequest_Impact, using the provided ImpactEnum +func (t *CircuitMaintenanceCircuitImpactRequest_Impact) MergeImpactEnum(v ImpactEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the CircuitMaintenanceCircuitImpactRequest_Impact as a BlankEnum +func (t CircuitMaintenanceCircuitImpactRequest_Impact) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the CircuitMaintenanceCircuitImpactRequest_Impact as the provided BlankEnum +func (t *CircuitMaintenanceCircuitImpactRequest_Impact) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the CircuitMaintenanceCircuitImpactRequest_Impact, using the provided BlankEnum +func (t *CircuitMaintenanceCircuitImpactRequest_Impact) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsNullEnum returns the union data inside the CircuitMaintenanceCircuitImpactRequest_Impact as a NullEnum +func (t CircuitMaintenanceCircuitImpactRequest_Impact) AsNullEnum() (NullEnum, error) { + var body NullEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromNullEnum overwrites any union data inside the CircuitMaintenanceCircuitImpactRequest_Impact as the provided NullEnum +func (t *CircuitMaintenanceCircuitImpactRequest_Impact) FromNullEnum(v NullEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeNullEnum performs a merge with any union data inside the CircuitMaintenanceCircuitImpactRequest_Impact, using the provided NullEnum +func (t *CircuitMaintenanceCircuitImpactRequest_Impact) MergeNullEnum(v NullEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t CircuitMaintenanceCircuitImpactRequest_Impact) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *CircuitMaintenanceCircuitImpactRequest_Impact) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsStatusD95Enum returns the union data inside the CircuitMaintenanceRequest_Status as a StatusD95Enum +func (t CircuitMaintenanceRequest_Status) AsStatusD95Enum() (StatusD95Enum, error) { + var body StatusD95Enum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStatusD95Enum overwrites any union data inside the CircuitMaintenanceRequest_Status as the provided StatusD95Enum +func (t *CircuitMaintenanceRequest_Status) FromStatusD95Enum(v StatusD95Enum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStatusD95Enum performs a merge with any union data inside the CircuitMaintenanceRequest_Status, using the provided StatusD95Enum +func (t *CircuitMaintenanceRequest_Status) MergeStatusD95Enum(v StatusD95Enum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the CircuitMaintenanceRequest_Status as a BlankEnum +func (t CircuitMaintenanceRequest_Status) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the CircuitMaintenanceRequest_Status as the provided BlankEnum +func (t *CircuitMaintenanceRequest_Status) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the CircuitMaintenanceRequest_Status, using the provided BlankEnum +func (t *CircuitMaintenanceRequest_Status) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsNullEnum returns the union data inside the CircuitMaintenanceRequest_Status as a NullEnum +func (t CircuitMaintenanceRequest_Status) AsNullEnum() (NullEnum, error) { + var body NullEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromNullEnum overwrites any union data inside the CircuitMaintenanceRequest_Status as the provided NullEnum +func (t *CircuitMaintenanceRequest_Status) FromNullEnum(v NullEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeNullEnum performs a merge with any union data inside the CircuitMaintenanceRequest_Status, using the provided NullEnum +func (t *CircuitMaintenanceRequest_Status) MergeNullEnum(v NullEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t CircuitMaintenanceRequest_Status) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *CircuitMaintenanceRequest_Status) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsProvidedContentsEnum returns the union data inside the GitRepository_ProvidedContents_Item as a ProvidedContentsEnum +func (t GitRepository_ProvidedContents_Item) AsProvidedContentsEnum() (ProvidedContentsEnum, error) { + var body ProvidedContentsEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromProvidedContentsEnum overwrites any union data inside the GitRepository_ProvidedContents_Item as the provided ProvidedContentsEnum +func (t *GitRepository_ProvidedContents_Item) FromProvidedContentsEnum(v ProvidedContentsEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeProvidedContentsEnum performs a merge with any union data inside the GitRepository_ProvidedContents_Item, using the provided ProvidedContentsEnum +func (t *GitRepository_ProvidedContents_Item) MergeProvidedContentsEnum(v ProvidedContentsEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the GitRepository_ProvidedContents_Item as a BlankEnum +func (t GitRepository_ProvidedContents_Item) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the GitRepository_ProvidedContents_Item as the provided BlankEnum +func (t *GitRepository_ProvidedContents_Item) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the GitRepository_ProvidedContents_Item, using the provided BlankEnum +func (t *GitRepository_ProvidedContents_Item) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t GitRepository_ProvidedContents_Item) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *GitRepository_ProvidedContents_Item) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsProvidedContentsEnum returns the union data inside the GitRepositoryRequest_ProvidedContents_Item as a ProvidedContentsEnum +func (t GitRepositoryRequest_ProvidedContents_Item) AsProvidedContentsEnum() (ProvidedContentsEnum, error) { + var body ProvidedContentsEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromProvidedContentsEnum overwrites any union data inside the GitRepositoryRequest_ProvidedContents_Item as the provided ProvidedContentsEnum +func (t *GitRepositoryRequest_ProvidedContents_Item) FromProvidedContentsEnum(v ProvidedContentsEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeProvidedContentsEnum performs a merge with any union data inside the GitRepositoryRequest_ProvidedContents_Item, using the provided ProvidedContentsEnum +func (t *GitRepositoryRequest_ProvidedContents_Item) MergeProvidedContentsEnum(v ProvidedContentsEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the GitRepositoryRequest_ProvidedContents_Item as a BlankEnum +func (t GitRepositoryRequest_ProvidedContents_Item) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the GitRepositoryRequest_ProvidedContents_Item as the provided BlankEnum +func (t *GitRepositoryRequest_ProvidedContents_Item) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the GitRepositoryRequest_ProvidedContents_Item, using the provided BlankEnum +func (t *GitRepositoryRequest_ProvidedContents_Item) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t GitRepositoryRequest_ProvidedContents_Item) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *GitRepositoryRequest_ProvidedContents_Item) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsFailoverStrategyEnum returns the union data inside the NestedDeviceRedundancyGroup_FailoverStrategy as a FailoverStrategyEnum +func (t NestedDeviceRedundancyGroup_FailoverStrategy) AsFailoverStrategyEnum() (FailoverStrategyEnum, error) { + var body FailoverStrategyEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromFailoverStrategyEnum overwrites any union data inside the NestedDeviceRedundancyGroup_FailoverStrategy as the provided FailoverStrategyEnum +func (t *NestedDeviceRedundancyGroup_FailoverStrategy) FromFailoverStrategyEnum(v FailoverStrategyEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeFailoverStrategyEnum performs a merge with any union data inside the NestedDeviceRedundancyGroup_FailoverStrategy, using the provided FailoverStrategyEnum +func (t *NestedDeviceRedundancyGroup_FailoverStrategy) MergeFailoverStrategyEnum(v FailoverStrategyEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the NestedDeviceRedundancyGroup_FailoverStrategy as a BlankEnum +func (t NestedDeviceRedundancyGroup_FailoverStrategy) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the NestedDeviceRedundancyGroup_FailoverStrategy as the provided BlankEnum +func (t *NestedDeviceRedundancyGroup_FailoverStrategy) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the NestedDeviceRedundancyGroup_FailoverStrategy, using the provided BlankEnum +func (t *NestedDeviceRedundancyGroup_FailoverStrategy) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t NestedDeviceRedundancyGroup_FailoverStrategy) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *NestedDeviceRedundancyGroup_FailoverStrategy) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsFailoverStrategyEnum returns the union data inside the NestedDeviceRedundancyGroupRequest_FailoverStrategy as a FailoverStrategyEnum +func (t NestedDeviceRedundancyGroupRequest_FailoverStrategy) AsFailoverStrategyEnum() (FailoverStrategyEnum, error) { + var body FailoverStrategyEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromFailoverStrategyEnum overwrites any union data inside the NestedDeviceRedundancyGroupRequest_FailoverStrategy as the provided FailoverStrategyEnum +func (t *NestedDeviceRedundancyGroupRequest_FailoverStrategy) FromFailoverStrategyEnum(v FailoverStrategyEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeFailoverStrategyEnum performs a merge with any union data inside the NestedDeviceRedundancyGroupRequest_FailoverStrategy, using the provided FailoverStrategyEnum +func (t *NestedDeviceRedundancyGroupRequest_FailoverStrategy) MergeFailoverStrategyEnum(v FailoverStrategyEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the NestedDeviceRedundancyGroupRequest_FailoverStrategy as a BlankEnum +func (t NestedDeviceRedundancyGroupRequest_FailoverStrategy) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the NestedDeviceRedundancyGroupRequest_FailoverStrategy as the provided BlankEnum +func (t *NestedDeviceRedundancyGroupRequest_FailoverStrategy) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the NestedDeviceRedundancyGroupRequest_FailoverStrategy, using the provided BlankEnum +func (t *NestedDeviceRedundancyGroupRequest_FailoverStrategy) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t NestedDeviceRedundancyGroupRequest_FailoverStrategy) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *NestedDeviceRedundancyGroupRequest_FailoverStrategy) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsCableTypeChoices returns the union data inside the PatchedBulkWritableCableRequest_Type as a CableTypeChoices +func (t PatchedBulkWritableCableRequest_Type) AsCableTypeChoices() (CableTypeChoices, error) { + var body CableTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCableTypeChoices overwrites any union data inside the PatchedBulkWritableCableRequest_Type as the provided CableTypeChoices +func (t *PatchedBulkWritableCableRequest_Type) FromCableTypeChoices(v CableTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCableTypeChoices performs a merge with any union data inside the PatchedBulkWritableCableRequest_Type, using the provided CableTypeChoices +func (t *PatchedBulkWritableCableRequest_Type) MergeCableTypeChoices(v CableTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedBulkWritableCableRequest_Type as a BlankEnum +func (t PatchedBulkWritableCableRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedBulkWritableCableRequest_Type as the provided BlankEnum +func (t *PatchedBulkWritableCableRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedBulkWritableCableRequest_Type, using the provided BlankEnum +func (t *PatchedBulkWritableCableRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedBulkWritableCableRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedBulkWritableCableRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsImpactEnum returns the union data inside the PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact as a ImpactEnum +func (t PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) AsImpactEnum() (ImpactEnum, error) { + var body ImpactEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromImpactEnum overwrites any union data inside the PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact as the provided ImpactEnum +func (t *PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) FromImpactEnum(v ImpactEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeImpactEnum performs a merge with any union data inside the PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact, using the provided ImpactEnum +func (t *PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) MergeImpactEnum(v ImpactEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact as a BlankEnum +func (t PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact as the provided BlankEnum +func (t *PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact, using the provided BlankEnum +func (t *PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsNullEnum returns the union data inside the PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact as a NullEnum +func (t PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) AsNullEnum() (NullEnum, error) { + var body NullEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromNullEnum overwrites any union data inside the PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact as the provided NullEnum +func (t *PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) FromNullEnum(v NullEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeNullEnum performs a merge with any union data inside the PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact, using the provided NullEnum +func (t *PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) MergeNullEnum(v NullEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedBulkWritableCircuitMaintenanceCircuitImpactRequest_Impact) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsStatusD95Enum returns the union data inside the PatchedBulkWritableCircuitMaintenanceRequest_Status as a StatusD95Enum +func (t PatchedBulkWritableCircuitMaintenanceRequest_Status) AsStatusD95Enum() (StatusD95Enum, error) { + var body StatusD95Enum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStatusD95Enum overwrites any union data inside the PatchedBulkWritableCircuitMaintenanceRequest_Status as the provided StatusD95Enum +func (t *PatchedBulkWritableCircuitMaintenanceRequest_Status) FromStatusD95Enum(v StatusD95Enum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStatusD95Enum performs a merge with any union data inside the PatchedBulkWritableCircuitMaintenanceRequest_Status, using the provided StatusD95Enum +func (t *PatchedBulkWritableCircuitMaintenanceRequest_Status) MergeStatusD95Enum(v StatusD95Enum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedBulkWritableCircuitMaintenanceRequest_Status as a BlankEnum +func (t PatchedBulkWritableCircuitMaintenanceRequest_Status) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedBulkWritableCircuitMaintenanceRequest_Status as the provided BlankEnum +func (t *PatchedBulkWritableCircuitMaintenanceRequest_Status) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedBulkWritableCircuitMaintenanceRequest_Status, using the provided BlankEnum +func (t *PatchedBulkWritableCircuitMaintenanceRequest_Status) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsNullEnum returns the union data inside the PatchedBulkWritableCircuitMaintenanceRequest_Status as a NullEnum +func (t PatchedBulkWritableCircuitMaintenanceRequest_Status) AsNullEnum() (NullEnum, error) { + var body NullEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromNullEnum overwrites any union data inside the PatchedBulkWritableCircuitMaintenanceRequest_Status as the provided NullEnum +func (t *PatchedBulkWritableCircuitMaintenanceRequest_Status) FromNullEnum(v NullEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeNullEnum performs a merge with any union data inside the PatchedBulkWritableCircuitMaintenanceRequest_Status, using the provided NullEnum +func (t *PatchedBulkWritableCircuitMaintenanceRequest_Status) MergeNullEnum(v NullEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedBulkWritableCircuitMaintenanceRequest_Status) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedBulkWritableCircuitMaintenanceRequest_Status) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsProvidedContentsEnum returns the union data inside the PatchedBulkWritableGitRepositoryRequest_ProvidedContents_Item as a ProvidedContentsEnum +func (t PatchedBulkWritableGitRepositoryRequest_ProvidedContents_Item) AsProvidedContentsEnum() (ProvidedContentsEnum, error) { + var body ProvidedContentsEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromProvidedContentsEnum overwrites any union data inside the PatchedBulkWritableGitRepositoryRequest_ProvidedContents_Item as the provided ProvidedContentsEnum +func (t *PatchedBulkWritableGitRepositoryRequest_ProvidedContents_Item) FromProvidedContentsEnum(v ProvidedContentsEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeProvidedContentsEnum performs a merge with any union data inside the PatchedBulkWritableGitRepositoryRequest_ProvidedContents_Item, using the provided ProvidedContentsEnum +func (t *PatchedBulkWritableGitRepositoryRequest_ProvidedContents_Item) MergeProvidedContentsEnum(v ProvidedContentsEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedBulkWritableGitRepositoryRequest_ProvidedContents_Item as a BlankEnum +func (t PatchedBulkWritableGitRepositoryRequest_ProvidedContents_Item) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedBulkWritableGitRepositoryRequest_ProvidedContents_Item as the provided BlankEnum +func (t *PatchedBulkWritableGitRepositoryRequest_ProvidedContents_Item) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedBulkWritableGitRepositoryRequest_ProvidedContents_Item, using the provided BlankEnum +func (t *PatchedBulkWritableGitRepositoryRequest_ProvidedContents_Item) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedBulkWritableGitRepositoryRequest_ProvidedContents_Item) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedBulkWritableGitRepositoryRequest_ProvidedContents_Item) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsRequiredOnEnum returns the union data inside the PatchedBulkWritableRelationshipRequest_RequiredOn as a RequiredOnEnum +func (t PatchedBulkWritableRelationshipRequest_RequiredOn) AsRequiredOnEnum() (RequiredOnEnum, error) { + var body RequiredOnEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromRequiredOnEnum overwrites any union data inside the PatchedBulkWritableRelationshipRequest_RequiredOn as the provided RequiredOnEnum +func (t *PatchedBulkWritableRelationshipRequest_RequiredOn) FromRequiredOnEnum(v RequiredOnEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeRequiredOnEnum performs a merge with any union data inside the PatchedBulkWritableRelationshipRequest_RequiredOn, using the provided RequiredOnEnum +func (t *PatchedBulkWritableRelationshipRequest_RequiredOn) MergeRequiredOnEnum(v RequiredOnEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedBulkWritableRelationshipRequest_RequiredOn as a BlankEnum +func (t PatchedBulkWritableRelationshipRequest_RequiredOn) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedBulkWritableRelationshipRequest_RequiredOn as the provided BlankEnum +func (t *PatchedBulkWritableRelationshipRequest_RequiredOn) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedBulkWritableRelationshipRequest_RequiredOn, using the provided BlankEnum +func (t *PatchedBulkWritableRelationshipRequest_RequiredOn) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedBulkWritableRelationshipRequest_RequiredOn) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedBulkWritableRelationshipRequest_RequiredOn) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsImpactEnum returns the union data inside the PatchedCircuitMaintenanceCircuitImpactRequest_Impact as a ImpactEnum +func (t PatchedCircuitMaintenanceCircuitImpactRequest_Impact) AsImpactEnum() (ImpactEnum, error) { + var body ImpactEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromImpactEnum overwrites any union data inside the PatchedCircuitMaintenanceCircuitImpactRequest_Impact as the provided ImpactEnum +func (t *PatchedCircuitMaintenanceCircuitImpactRequest_Impact) FromImpactEnum(v ImpactEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeImpactEnum performs a merge with any union data inside the PatchedCircuitMaintenanceCircuitImpactRequest_Impact, using the provided ImpactEnum +func (t *PatchedCircuitMaintenanceCircuitImpactRequest_Impact) MergeImpactEnum(v ImpactEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedCircuitMaintenanceCircuitImpactRequest_Impact as a BlankEnum +func (t PatchedCircuitMaintenanceCircuitImpactRequest_Impact) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedCircuitMaintenanceCircuitImpactRequest_Impact as the provided BlankEnum +func (t *PatchedCircuitMaintenanceCircuitImpactRequest_Impact) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedCircuitMaintenanceCircuitImpactRequest_Impact, using the provided BlankEnum +func (t *PatchedCircuitMaintenanceCircuitImpactRequest_Impact) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsNullEnum returns the union data inside the PatchedCircuitMaintenanceCircuitImpactRequest_Impact as a NullEnum +func (t PatchedCircuitMaintenanceCircuitImpactRequest_Impact) AsNullEnum() (NullEnum, error) { + var body NullEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromNullEnum overwrites any union data inside the PatchedCircuitMaintenanceCircuitImpactRequest_Impact as the provided NullEnum +func (t *PatchedCircuitMaintenanceCircuitImpactRequest_Impact) FromNullEnum(v NullEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeNullEnum performs a merge with any union data inside the PatchedCircuitMaintenanceCircuitImpactRequest_Impact, using the provided NullEnum +func (t *PatchedCircuitMaintenanceCircuitImpactRequest_Impact) MergeNullEnum(v NullEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedCircuitMaintenanceCircuitImpactRequest_Impact) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedCircuitMaintenanceCircuitImpactRequest_Impact) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsStatusD95Enum returns the union data inside the PatchedCircuitMaintenanceRequest_Status as a StatusD95Enum +func (t PatchedCircuitMaintenanceRequest_Status) AsStatusD95Enum() (StatusD95Enum, error) { + var body StatusD95Enum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStatusD95Enum overwrites any union data inside the PatchedCircuitMaintenanceRequest_Status as the provided StatusD95Enum +func (t *PatchedCircuitMaintenanceRequest_Status) FromStatusD95Enum(v StatusD95Enum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStatusD95Enum performs a merge with any union data inside the PatchedCircuitMaintenanceRequest_Status, using the provided StatusD95Enum +func (t *PatchedCircuitMaintenanceRequest_Status) MergeStatusD95Enum(v StatusD95Enum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedCircuitMaintenanceRequest_Status as a BlankEnum +func (t PatchedCircuitMaintenanceRequest_Status) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedCircuitMaintenanceRequest_Status as the provided BlankEnum +func (t *PatchedCircuitMaintenanceRequest_Status) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedCircuitMaintenanceRequest_Status, using the provided BlankEnum +func (t *PatchedCircuitMaintenanceRequest_Status) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsNullEnum returns the union data inside the PatchedCircuitMaintenanceRequest_Status as a NullEnum +func (t PatchedCircuitMaintenanceRequest_Status) AsNullEnum() (NullEnum, error) { + var body NullEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromNullEnum overwrites any union data inside the PatchedCircuitMaintenanceRequest_Status as the provided NullEnum +func (t *PatchedCircuitMaintenanceRequest_Status) FromNullEnum(v NullEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeNullEnum performs a merge with any union data inside the PatchedCircuitMaintenanceRequest_Status, using the provided NullEnum +func (t *PatchedCircuitMaintenanceRequest_Status) MergeNullEnum(v NullEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedCircuitMaintenanceRequest_Status) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedCircuitMaintenanceRequest_Status) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsRequiredOnEnum returns the union data inside the PatchedRelationshipRequest_RequiredOn as a RequiredOnEnum +func (t PatchedRelationshipRequest_RequiredOn) AsRequiredOnEnum() (RequiredOnEnum, error) { + var body RequiredOnEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromRequiredOnEnum overwrites any union data inside the PatchedRelationshipRequest_RequiredOn as the provided RequiredOnEnum +func (t *PatchedRelationshipRequest_RequiredOn) FromRequiredOnEnum(v RequiredOnEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeRequiredOnEnum performs a merge with any union data inside the PatchedRelationshipRequest_RequiredOn, using the provided RequiredOnEnum +func (t *PatchedRelationshipRequest_RequiredOn) MergeRequiredOnEnum(v RequiredOnEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedRelationshipRequest_RequiredOn as a BlankEnum +func (t PatchedRelationshipRequest_RequiredOn) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedRelationshipRequest_RequiredOn as the provided BlankEnum +func (t *PatchedRelationshipRequest_RequiredOn) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedRelationshipRequest_RequiredOn, using the provided BlankEnum +func (t *PatchedRelationshipRequest_RequiredOn) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedRelationshipRequest_RequiredOn) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedRelationshipRequest_RequiredOn) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsLengthUnitEnum returns the union data inside the PatchedWritableCableRequest_LengthUnit as a LengthUnitEnum +func (t PatchedWritableCableRequest_LengthUnit) AsLengthUnitEnum() (LengthUnitEnum, error) { + var body LengthUnitEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromLengthUnitEnum overwrites any union data inside the PatchedWritableCableRequest_LengthUnit as the provided LengthUnitEnum +func (t *PatchedWritableCableRequest_LengthUnit) FromLengthUnitEnum(v LengthUnitEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeLengthUnitEnum performs a merge with any union data inside the PatchedWritableCableRequest_LengthUnit, using the provided LengthUnitEnum +func (t *PatchedWritableCableRequest_LengthUnit) MergeLengthUnitEnum(v LengthUnitEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedWritableCableRequest_LengthUnit as a BlankEnum +func (t PatchedWritableCableRequest_LengthUnit) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedWritableCableRequest_LengthUnit as the provided BlankEnum +func (t *PatchedWritableCableRequest_LengthUnit) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedWritableCableRequest_LengthUnit, using the provided BlankEnum +func (t *PatchedWritableCableRequest_LengthUnit) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedWritableCableRequest_LengthUnit) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedWritableCableRequest_LengthUnit) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsCableTypeChoices returns the union data inside the PatchedWritableCableRequest_Type as a CableTypeChoices +func (t PatchedWritableCableRequest_Type) AsCableTypeChoices() (CableTypeChoices, error) { + var body CableTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCableTypeChoices overwrites any union data inside the PatchedWritableCableRequest_Type as the provided CableTypeChoices +func (t *PatchedWritableCableRequest_Type) FromCableTypeChoices(v CableTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCableTypeChoices performs a merge with any union data inside the PatchedWritableCableRequest_Type, using the provided CableTypeChoices +func (t *PatchedWritableCableRequest_Type) MergeCableTypeChoices(v CableTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedWritableCableRequest_Type as a BlankEnum +func (t PatchedWritableCableRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedWritableCableRequest_Type as the provided BlankEnum +func (t *PatchedWritableCableRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedWritableCableRequest_Type, using the provided BlankEnum +func (t *PatchedWritableCableRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedWritableCableRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedWritableCableRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsConsolePortTypeChoices returns the union data inside the PatchedWritableConsolePortRequest_Type as a ConsolePortTypeChoices +func (t PatchedWritableConsolePortRequest_Type) AsConsolePortTypeChoices() (ConsolePortTypeChoices, error) { + var body ConsolePortTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromConsolePortTypeChoices overwrites any union data inside the PatchedWritableConsolePortRequest_Type as the provided ConsolePortTypeChoices +func (t *PatchedWritableConsolePortRequest_Type) FromConsolePortTypeChoices(v ConsolePortTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeConsolePortTypeChoices performs a merge with any union data inside the PatchedWritableConsolePortRequest_Type, using the provided ConsolePortTypeChoices +func (t *PatchedWritableConsolePortRequest_Type) MergeConsolePortTypeChoices(v ConsolePortTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedWritableConsolePortRequest_Type as a BlankEnum +func (t PatchedWritableConsolePortRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedWritableConsolePortRequest_Type as the provided BlankEnum +func (t *PatchedWritableConsolePortRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedWritableConsolePortRequest_Type, using the provided BlankEnum +func (t *PatchedWritableConsolePortRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedWritableConsolePortRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedWritableConsolePortRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsConsolePortTypeChoices returns the union data inside the PatchedWritableConsolePortTemplateRequest_Type as a ConsolePortTypeChoices +func (t PatchedWritableConsolePortTemplateRequest_Type) AsConsolePortTypeChoices() (ConsolePortTypeChoices, error) { + var body ConsolePortTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromConsolePortTypeChoices overwrites any union data inside the PatchedWritableConsolePortTemplateRequest_Type as the provided ConsolePortTypeChoices +func (t *PatchedWritableConsolePortTemplateRequest_Type) FromConsolePortTypeChoices(v ConsolePortTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeConsolePortTypeChoices performs a merge with any union data inside the PatchedWritableConsolePortTemplateRequest_Type, using the provided ConsolePortTypeChoices +func (t *PatchedWritableConsolePortTemplateRequest_Type) MergeConsolePortTypeChoices(v ConsolePortTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedWritableConsolePortTemplateRequest_Type as a BlankEnum +func (t PatchedWritableConsolePortTemplateRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedWritableConsolePortTemplateRequest_Type as the provided BlankEnum +func (t *PatchedWritableConsolePortTemplateRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedWritableConsolePortTemplateRequest_Type, using the provided BlankEnum +func (t *PatchedWritableConsolePortTemplateRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedWritableConsolePortTemplateRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedWritableConsolePortTemplateRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsConsolePortTypeChoices returns the union data inside the PatchedWritableConsoleServerPortRequest_Type as a ConsolePortTypeChoices +func (t PatchedWritableConsoleServerPortRequest_Type) AsConsolePortTypeChoices() (ConsolePortTypeChoices, error) { + var body ConsolePortTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromConsolePortTypeChoices overwrites any union data inside the PatchedWritableConsoleServerPortRequest_Type as the provided ConsolePortTypeChoices +func (t *PatchedWritableConsoleServerPortRequest_Type) FromConsolePortTypeChoices(v ConsolePortTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeConsolePortTypeChoices performs a merge with any union data inside the PatchedWritableConsoleServerPortRequest_Type, using the provided ConsolePortTypeChoices +func (t *PatchedWritableConsoleServerPortRequest_Type) MergeConsolePortTypeChoices(v ConsolePortTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedWritableConsoleServerPortRequest_Type as a BlankEnum +func (t PatchedWritableConsoleServerPortRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedWritableConsoleServerPortRequest_Type as the provided BlankEnum +func (t *PatchedWritableConsoleServerPortRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedWritableConsoleServerPortRequest_Type, using the provided BlankEnum +func (t *PatchedWritableConsoleServerPortRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedWritableConsoleServerPortRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedWritableConsoleServerPortRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsConsolePortTypeChoices returns the union data inside the PatchedWritableConsoleServerPortTemplateRequest_Type as a ConsolePortTypeChoices +func (t PatchedWritableConsoleServerPortTemplateRequest_Type) AsConsolePortTypeChoices() (ConsolePortTypeChoices, error) { + var body ConsolePortTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromConsolePortTypeChoices overwrites any union data inside the PatchedWritableConsoleServerPortTemplateRequest_Type as the provided ConsolePortTypeChoices +func (t *PatchedWritableConsoleServerPortTemplateRequest_Type) FromConsolePortTypeChoices(v ConsolePortTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeConsolePortTypeChoices performs a merge with any union data inside the PatchedWritableConsoleServerPortTemplateRequest_Type, using the provided ConsolePortTypeChoices +func (t *PatchedWritableConsoleServerPortTemplateRequest_Type) MergeConsolePortTypeChoices(v ConsolePortTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedWritableConsoleServerPortTemplateRequest_Type as a BlankEnum +func (t PatchedWritableConsoleServerPortTemplateRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedWritableConsoleServerPortTemplateRequest_Type as the provided BlankEnum +func (t *PatchedWritableConsoleServerPortTemplateRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedWritableConsoleServerPortTemplateRequest_Type, using the provided BlankEnum +func (t *PatchedWritableConsoleServerPortTemplateRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedWritableConsoleServerPortTemplateRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedWritableConsoleServerPortTemplateRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsFailoverStrategyEnum returns the union data inside the PatchedWritableDeviceRedundancyGroupRequest_FailoverStrategy as a FailoverStrategyEnum +func (t PatchedWritableDeviceRedundancyGroupRequest_FailoverStrategy) AsFailoverStrategyEnum() (FailoverStrategyEnum, error) { + var body FailoverStrategyEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromFailoverStrategyEnum overwrites any union data inside the PatchedWritableDeviceRedundancyGroupRequest_FailoverStrategy as the provided FailoverStrategyEnum +func (t *PatchedWritableDeviceRedundancyGroupRequest_FailoverStrategy) FromFailoverStrategyEnum(v FailoverStrategyEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeFailoverStrategyEnum performs a merge with any union data inside the PatchedWritableDeviceRedundancyGroupRequest_FailoverStrategy, using the provided FailoverStrategyEnum +func (t *PatchedWritableDeviceRedundancyGroupRequest_FailoverStrategy) MergeFailoverStrategyEnum(v FailoverStrategyEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedWritableDeviceRedundancyGroupRequest_FailoverStrategy as a BlankEnum +func (t PatchedWritableDeviceRedundancyGroupRequest_FailoverStrategy) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedWritableDeviceRedundancyGroupRequest_FailoverStrategy as the provided BlankEnum +func (t *PatchedWritableDeviceRedundancyGroupRequest_FailoverStrategy) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedWritableDeviceRedundancyGroupRequest_FailoverStrategy, using the provided BlankEnum +func (t *PatchedWritableDeviceRedundancyGroupRequest_FailoverStrategy) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedWritableDeviceRedundancyGroupRequest_FailoverStrategy) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedWritableDeviceRedundancyGroupRequest_FailoverStrategy) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsSubdeviceRoleEnum returns the union data inside the PatchedWritableDeviceTypeRequest_SubdeviceRole as a SubdeviceRoleEnum +func (t PatchedWritableDeviceTypeRequest_SubdeviceRole) AsSubdeviceRoleEnum() (SubdeviceRoleEnum, error) { + var body SubdeviceRoleEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSubdeviceRoleEnum overwrites any union data inside the PatchedWritableDeviceTypeRequest_SubdeviceRole as the provided SubdeviceRoleEnum +func (t *PatchedWritableDeviceTypeRequest_SubdeviceRole) FromSubdeviceRoleEnum(v SubdeviceRoleEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSubdeviceRoleEnum performs a merge with any union data inside the PatchedWritableDeviceTypeRequest_SubdeviceRole, using the provided SubdeviceRoleEnum +func (t *PatchedWritableDeviceTypeRequest_SubdeviceRole) MergeSubdeviceRoleEnum(v SubdeviceRoleEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedWritableDeviceTypeRequest_SubdeviceRole as a BlankEnum +func (t PatchedWritableDeviceTypeRequest_SubdeviceRole) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedWritableDeviceTypeRequest_SubdeviceRole as the provided BlankEnum +func (t *PatchedWritableDeviceTypeRequest_SubdeviceRole) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedWritableDeviceTypeRequest_SubdeviceRole, using the provided BlankEnum +func (t *PatchedWritableDeviceTypeRequest_SubdeviceRole) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedWritableDeviceTypeRequest_SubdeviceRole) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedWritableDeviceTypeRequest_SubdeviceRole) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsFaceEnum returns the union data inside the PatchedWritableDeviceWithConfigContextRequest_Face as a FaceEnum +func (t PatchedWritableDeviceWithConfigContextRequest_Face) AsFaceEnum() (FaceEnum, error) { + var body FaceEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromFaceEnum overwrites any union data inside the PatchedWritableDeviceWithConfigContextRequest_Face as the provided FaceEnum +func (t *PatchedWritableDeviceWithConfigContextRequest_Face) FromFaceEnum(v FaceEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeFaceEnum performs a merge with any union data inside the PatchedWritableDeviceWithConfigContextRequest_Face, using the provided FaceEnum +func (t *PatchedWritableDeviceWithConfigContextRequest_Face) MergeFaceEnum(v FaceEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedWritableDeviceWithConfigContextRequest_Face as a BlankEnum +func (t PatchedWritableDeviceWithConfigContextRequest_Face) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedWritableDeviceWithConfigContextRequest_Face as the provided BlankEnum +func (t *PatchedWritableDeviceWithConfigContextRequest_Face) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedWritableDeviceWithConfigContextRequest_Face, using the provided BlankEnum +func (t *PatchedWritableDeviceWithConfigContextRequest_Face) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedWritableDeviceWithConfigContextRequest_Face) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedWritableDeviceWithConfigContextRequest_Face) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsProvidedContentsEnum returns the union data inside the PatchedWritableGitRepositoryRequest_ProvidedContents_Item as a ProvidedContentsEnum +func (t PatchedWritableGitRepositoryRequest_ProvidedContents_Item) AsProvidedContentsEnum() (ProvidedContentsEnum, error) { + var body ProvidedContentsEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromProvidedContentsEnum overwrites any union data inside the PatchedWritableGitRepositoryRequest_ProvidedContents_Item as the provided ProvidedContentsEnum +func (t *PatchedWritableGitRepositoryRequest_ProvidedContents_Item) FromProvidedContentsEnum(v ProvidedContentsEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeProvidedContentsEnum performs a merge with any union data inside the PatchedWritableGitRepositoryRequest_ProvidedContents_Item, using the provided ProvidedContentsEnum +func (t *PatchedWritableGitRepositoryRequest_ProvidedContents_Item) MergeProvidedContentsEnum(v ProvidedContentsEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedWritableGitRepositoryRequest_ProvidedContents_Item as a BlankEnum +func (t PatchedWritableGitRepositoryRequest_ProvidedContents_Item) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedWritableGitRepositoryRequest_ProvidedContents_Item as the provided BlankEnum +func (t *PatchedWritableGitRepositoryRequest_ProvidedContents_Item) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedWritableGitRepositoryRequest_ProvidedContents_Item, using the provided BlankEnum +func (t *PatchedWritableGitRepositoryRequest_ProvidedContents_Item) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedWritableGitRepositoryRequest_ProvidedContents_Item) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedWritableGitRepositoryRequest_ProvidedContents_Item) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsRoleEnum returns the union data inside the PatchedWritableIPAddressRequest_Role as a RoleEnum +func (t PatchedWritableIPAddressRequest_Role) AsRoleEnum() (RoleEnum, error) { + var body RoleEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromRoleEnum overwrites any union data inside the PatchedWritableIPAddressRequest_Role as the provided RoleEnum +func (t *PatchedWritableIPAddressRequest_Role) FromRoleEnum(v RoleEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeRoleEnum performs a merge with any union data inside the PatchedWritableIPAddressRequest_Role, using the provided RoleEnum +func (t *PatchedWritableIPAddressRequest_Role) MergeRoleEnum(v RoleEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedWritableIPAddressRequest_Role as a BlankEnum +func (t PatchedWritableIPAddressRequest_Role) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedWritableIPAddressRequest_Role as the provided BlankEnum +func (t *PatchedWritableIPAddressRequest_Role) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedWritableIPAddressRequest_Role, using the provided BlankEnum +func (t *PatchedWritableIPAddressRequest_Role) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedWritableIPAddressRequest_Role) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedWritableIPAddressRequest_Role) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsModeEnum returns the union data inside the PatchedWritableInterfaceRequest_Mode as a ModeEnum +func (t PatchedWritableInterfaceRequest_Mode) AsModeEnum() (ModeEnum, error) { + var body ModeEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromModeEnum overwrites any union data inside the PatchedWritableInterfaceRequest_Mode as the provided ModeEnum +func (t *PatchedWritableInterfaceRequest_Mode) FromModeEnum(v ModeEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeModeEnum performs a merge with any union data inside the PatchedWritableInterfaceRequest_Mode, using the provided ModeEnum +func (t *PatchedWritableInterfaceRequest_Mode) MergeModeEnum(v ModeEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedWritableInterfaceRequest_Mode as a BlankEnum +func (t PatchedWritableInterfaceRequest_Mode) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedWritableInterfaceRequest_Mode as the provided BlankEnum +func (t *PatchedWritableInterfaceRequest_Mode) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedWritableInterfaceRequest_Mode, using the provided BlankEnum +func (t *PatchedWritableInterfaceRequest_Mode) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedWritableInterfaceRequest_Mode) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedWritableInterfaceRequest_Mode) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsFeedLegEnum returns the union data inside the PatchedWritablePowerOutletRequest_FeedLeg as a FeedLegEnum +func (t PatchedWritablePowerOutletRequest_FeedLeg) AsFeedLegEnum() (FeedLegEnum, error) { + var body FeedLegEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromFeedLegEnum overwrites any union data inside the PatchedWritablePowerOutletRequest_FeedLeg as the provided FeedLegEnum +func (t *PatchedWritablePowerOutletRequest_FeedLeg) FromFeedLegEnum(v FeedLegEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeFeedLegEnum performs a merge with any union data inside the PatchedWritablePowerOutletRequest_FeedLeg, using the provided FeedLegEnum +func (t *PatchedWritablePowerOutletRequest_FeedLeg) MergeFeedLegEnum(v FeedLegEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedWritablePowerOutletRequest_FeedLeg as a BlankEnum +func (t PatchedWritablePowerOutletRequest_FeedLeg) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedWritablePowerOutletRequest_FeedLeg as the provided BlankEnum +func (t *PatchedWritablePowerOutletRequest_FeedLeg) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedWritablePowerOutletRequest_FeedLeg, using the provided BlankEnum +func (t *PatchedWritablePowerOutletRequest_FeedLeg) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedWritablePowerOutletRequest_FeedLeg) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedWritablePowerOutletRequest_FeedLeg) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsPowerOutletTypeChoices returns the union data inside the PatchedWritablePowerOutletRequest_Type as a PowerOutletTypeChoices +func (t PatchedWritablePowerOutletRequest_Type) AsPowerOutletTypeChoices() (PowerOutletTypeChoices, error) { + var body PowerOutletTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromPowerOutletTypeChoices overwrites any union data inside the PatchedWritablePowerOutletRequest_Type as the provided PowerOutletTypeChoices +func (t *PatchedWritablePowerOutletRequest_Type) FromPowerOutletTypeChoices(v PowerOutletTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergePowerOutletTypeChoices performs a merge with any union data inside the PatchedWritablePowerOutletRequest_Type, using the provided PowerOutletTypeChoices +func (t *PatchedWritablePowerOutletRequest_Type) MergePowerOutletTypeChoices(v PowerOutletTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedWritablePowerOutletRequest_Type as a BlankEnum +func (t PatchedWritablePowerOutletRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedWritablePowerOutletRequest_Type as the provided BlankEnum +func (t *PatchedWritablePowerOutletRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedWritablePowerOutletRequest_Type, using the provided BlankEnum +func (t *PatchedWritablePowerOutletRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedWritablePowerOutletRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedWritablePowerOutletRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsFeedLegEnum returns the union data inside the PatchedWritablePowerOutletTemplateRequest_FeedLeg as a FeedLegEnum +func (t PatchedWritablePowerOutletTemplateRequest_FeedLeg) AsFeedLegEnum() (FeedLegEnum, error) { + var body FeedLegEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromFeedLegEnum overwrites any union data inside the PatchedWritablePowerOutletTemplateRequest_FeedLeg as the provided FeedLegEnum +func (t *PatchedWritablePowerOutletTemplateRequest_FeedLeg) FromFeedLegEnum(v FeedLegEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeFeedLegEnum performs a merge with any union data inside the PatchedWritablePowerOutletTemplateRequest_FeedLeg, using the provided FeedLegEnum +func (t *PatchedWritablePowerOutletTemplateRequest_FeedLeg) MergeFeedLegEnum(v FeedLegEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedWritablePowerOutletTemplateRequest_FeedLeg as a BlankEnum +func (t PatchedWritablePowerOutletTemplateRequest_FeedLeg) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedWritablePowerOutletTemplateRequest_FeedLeg as the provided BlankEnum +func (t *PatchedWritablePowerOutletTemplateRequest_FeedLeg) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedWritablePowerOutletTemplateRequest_FeedLeg, using the provided BlankEnum +func (t *PatchedWritablePowerOutletTemplateRequest_FeedLeg) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedWritablePowerOutletTemplateRequest_FeedLeg) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedWritablePowerOutletTemplateRequest_FeedLeg) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsPowerOutletTypeChoices returns the union data inside the PatchedWritablePowerOutletTemplateRequest_Type as a PowerOutletTypeChoices +func (t PatchedWritablePowerOutletTemplateRequest_Type) AsPowerOutletTypeChoices() (PowerOutletTypeChoices, error) { + var body PowerOutletTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromPowerOutletTypeChoices overwrites any union data inside the PatchedWritablePowerOutletTemplateRequest_Type as the provided PowerOutletTypeChoices +func (t *PatchedWritablePowerOutletTemplateRequest_Type) FromPowerOutletTypeChoices(v PowerOutletTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergePowerOutletTypeChoices performs a merge with any union data inside the PatchedWritablePowerOutletTemplateRequest_Type, using the provided PowerOutletTypeChoices +func (t *PatchedWritablePowerOutletTemplateRequest_Type) MergePowerOutletTypeChoices(v PowerOutletTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedWritablePowerOutletTemplateRequest_Type as a BlankEnum +func (t PatchedWritablePowerOutletTemplateRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedWritablePowerOutletTemplateRequest_Type as the provided BlankEnum +func (t *PatchedWritablePowerOutletTemplateRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedWritablePowerOutletTemplateRequest_Type, using the provided BlankEnum +func (t *PatchedWritablePowerOutletTemplateRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedWritablePowerOutletTemplateRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedWritablePowerOutletTemplateRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsPowerPortTypeChoices returns the union data inside the PatchedWritablePowerPortRequest_Type as a PowerPortTypeChoices +func (t PatchedWritablePowerPortRequest_Type) AsPowerPortTypeChoices() (PowerPortTypeChoices, error) { + var body PowerPortTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromPowerPortTypeChoices overwrites any union data inside the PatchedWritablePowerPortRequest_Type as the provided PowerPortTypeChoices +func (t *PatchedWritablePowerPortRequest_Type) FromPowerPortTypeChoices(v PowerPortTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergePowerPortTypeChoices performs a merge with any union data inside the PatchedWritablePowerPortRequest_Type, using the provided PowerPortTypeChoices +func (t *PatchedWritablePowerPortRequest_Type) MergePowerPortTypeChoices(v PowerPortTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedWritablePowerPortRequest_Type as a BlankEnum +func (t PatchedWritablePowerPortRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedWritablePowerPortRequest_Type as the provided BlankEnum +func (t *PatchedWritablePowerPortRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedWritablePowerPortRequest_Type, using the provided BlankEnum +func (t *PatchedWritablePowerPortRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedWritablePowerPortRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedWritablePowerPortRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsPowerPortTypeChoices returns the union data inside the PatchedWritablePowerPortTemplateRequest_Type as a PowerPortTypeChoices +func (t PatchedWritablePowerPortTemplateRequest_Type) AsPowerPortTypeChoices() (PowerPortTypeChoices, error) { + var body PowerPortTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromPowerPortTypeChoices overwrites any union data inside the PatchedWritablePowerPortTemplateRequest_Type as the provided PowerPortTypeChoices +func (t *PatchedWritablePowerPortTemplateRequest_Type) FromPowerPortTypeChoices(v PowerPortTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergePowerPortTypeChoices performs a merge with any union data inside the PatchedWritablePowerPortTemplateRequest_Type, using the provided PowerPortTypeChoices +func (t *PatchedWritablePowerPortTemplateRequest_Type) MergePowerPortTypeChoices(v PowerPortTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedWritablePowerPortTemplateRequest_Type as a BlankEnum +func (t PatchedWritablePowerPortTemplateRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedWritablePowerPortTemplateRequest_Type as the provided BlankEnum +func (t *PatchedWritablePowerPortTemplateRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedWritablePowerPortTemplateRequest_Type, using the provided BlankEnum +func (t *PatchedWritablePowerPortTemplateRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedWritablePowerPortTemplateRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedWritablePowerPortTemplateRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsOuterUnitEnum returns the union data inside the PatchedWritableRackRequest_OuterUnit as a OuterUnitEnum +func (t PatchedWritableRackRequest_OuterUnit) AsOuterUnitEnum() (OuterUnitEnum, error) { + var body OuterUnitEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromOuterUnitEnum overwrites any union data inside the PatchedWritableRackRequest_OuterUnit as the provided OuterUnitEnum +func (t *PatchedWritableRackRequest_OuterUnit) FromOuterUnitEnum(v OuterUnitEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeOuterUnitEnum performs a merge with any union data inside the PatchedWritableRackRequest_OuterUnit, using the provided OuterUnitEnum +func (t *PatchedWritableRackRequest_OuterUnit) MergeOuterUnitEnum(v OuterUnitEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedWritableRackRequest_OuterUnit as a BlankEnum +func (t PatchedWritableRackRequest_OuterUnit) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedWritableRackRequest_OuterUnit as the provided BlankEnum +func (t *PatchedWritableRackRequest_OuterUnit) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedWritableRackRequest_OuterUnit, using the provided BlankEnum +func (t *PatchedWritableRackRequest_OuterUnit) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedWritableRackRequest_OuterUnit) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedWritableRackRequest_OuterUnit) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsRackTypeChoices returns the union data inside the PatchedWritableRackRequest_Type as a RackTypeChoices +func (t PatchedWritableRackRequest_Type) AsRackTypeChoices() (RackTypeChoices, error) { + var body RackTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromRackTypeChoices overwrites any union data inside the PatchedWritableRackRequest_Type as the provided RackTypeChoices +func (t *PatchedWritableRackRequest_Type) FromRackTypeChoices(v RackTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeRackTypeChoices performs a merge with any union data inside the PatchedWritableRackRequest_Type, using the provided RackTypeChoices +func (t *PatchedWritableRackRequest_Type) MergeRackTypeChoices(v RackTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedWritableRackRequest_Type as a BlankEnum +func (t PatchedWritableRackRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedWritableRackRequest_Type as the provided BlankEnum +func (t *PatchedWritableRackRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedWritableRackRequest_Type, using the provided BlankEnum +func (t *PatchedWritableRackRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedWritableRackRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedWritableRackRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsModeEnum returns the union data inside the PatchedWritableVMInterfaceRequest_Mode as a ModeEnum +func (t PatchedWritableVMInterfaceRequest_Mode) AsModeEnum() (ModeEnum, error) { + var body ModeEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromModeEnum overwrites any union data inside the PatchedWritableVMInterfaceRequest_Mode as the provided ModeEnum +func (t *PatchedWritableVMInterfaceRequest_Mode) FromModeEnum(v ModeEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeModeEnum performs a merge with any union data inside the PatchedWritableVMInterfaceRequest_Mode, using the provided ModeEnum +func (t *PatchedWritableVMInterfaceRequest_Mode) MergeModeEnum(v ModeEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the PatchedWritableVMInterfaceRequest_Mode as a BlankEnum +func (t PatchedWritableVMInterfaceRequest_Mode) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the PatchedWritableVMInterfaceRequest_Mode as the provided BlankEnum +func (t *PatchedWritableVMInterfaceRequest_Mode) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the PatchedWritableVMInterfaceRequest_Mode, using the provided BlankEnum +func (t *PatchedWritableVMInterfaceRequest_Mode) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t PatchedWritableVMInterfaceRequest_Mode) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *PatchedWritableVMInterfaceRequest_Mode) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsRequiredOnEnum returns the union data inside the Relationship_RequiredOn as a RequiredOnEnum +func (t Relationship_RequiredOn) AsRequiredOnEnum() (RequiredOnEnum, error) { + var body RequiredOnEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromRequiredOnEnum overwrites any union data inside the Relationship_RequiredOn as the provided RequiredOnEnum +func (t *Relationship_RequiredOn) FromRequiredOnEnum(v RequiredOnEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeRequiredOnEnum performs a merge with any union data inside the Relationship_RequiredOn, using the provided RequiredOnEnum +func (t *Relationship_RequiredOn) MergeRequiredOnEnum(v RequiredOnEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the Relationship_RequiredOn as a BlankEnum +func (t Relationship_RequiredOn) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the Relationship_RequiredOn as the provided BlankEnum +func (t *Relationship_RequiredOn) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the Relationship_RequiredOn, using the provided BlankEnum +func (t *Relationship_RequiredOn) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t Relationship_RequiredOn) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *Relationship_RequiredOn) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsRequiredOnEnum returns the union data inside the RelationshipRequest_RequiredOn as a RequiredOnEnum +func (t RelationshipRequest_RequiredOn) AsRequiredOnEnum() (RequiredOnEnum, error) { + var body RequiredOnEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromRequiredOnEnum overwrites any union data inside the RelationshipRequest_RequiredOn as the provided RequiredOnEnum +func (t *RelationshipRequest_RequiredOn) FromRequiredOnEnum(v RequiredOnEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeRequiredOnEnum performs a merge with any union data inside the RelationshipRequest_RequiredOn, using the provided RequiredOnEnum +func (t *RelationshipRequest_RequiredOn) MergeRequiredOnEnum(v RequiredOnEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the RelationshipRequest_RequiredOn as a BlankEnum +func (t RelationshipRequest_RequiredOn) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the RelationshipRequest_RequiredOn as the provided BlankEnum +func (t *RelationshipRequest_RequiredOn) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the RelationshipRequest_RequiredOn, using the provided BlankEnum +func (t *RelationshipRequest_RequiredOn) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t RelationshipRequest_RequiredOn) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *RelationshipRequest_RequiredOn) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsLengthUnitEnum returns the union data inside the WritableCableRequest_LengthUnit as a LengthUnitEnum +func (t WritableCableRequest_LengthUnit) AsLengthUnitEnum() (LengthUnitEnum, error) { + var body LengthUnitEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromLengthUnitEnum overwrites any union data inside the WritableCableRequest_LengthUnit as the provided LengthUnitEnum +func (t *WritableCableRequest_LengthUnit) FromLengthUnitEnum(v LengthUnitEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeLengthUnitEnum performs a merge with any union data inside the WritableCableRequest_LengthUnit, using the provided LengthUnitEnum +func (t *WritableCableRequest_LengthUnit) MergeLengthUnitEnum(v LengthUnitEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the WritableCableRequest_LengthUnit as a BlankEnum +func (t WritableCableRequest_LengthUnit) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the WritableCableRequest_LengthUnit as the provided BlankEnum +func (t *WritableCableRequest_LengthUnit) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the WritableCableRequest_LengthUnit, using the provided BlankEnum +func (t *WritableCableRequest_LengthUnit) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t WritableCableRequest_LengthUnit) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *WritableCableRequest_LengthUnit) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsCableTypeChoices returns the union data inside the WritableCableRequest_Type as a CableTypeChoices +func (t WritableCableRequest_Type) AsCableTypeChoices() (CableTypeChoices, error) { + var body CableTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCableTypeChoices overwrites any union data inside the WritableCableRequest_Type as the provided CableTypeChoices +func (t *WritableCableRequest_Type) FromCableTypeChoices(v CableTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCableTypeChoices performs a merge with any union data inside the WritableCableRequest_Type, using the provided CableTypeChoices +func (t *WritableCableRequest_Type) MergeCableTypeChoices(v CableTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the WritableCableRequest_Type as a BlankEnum +func (t WritableCableRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the WritableCableRequest_Type as the provided BlankEnum +func (t *WritableCableRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the WritableCableRequest_Type, using the provided BlankEnum +func (t *WritableCableRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t WritableCableRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *WritableCableRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsConsolePortTypeChoices returns the union data inside the WritableConsolePortRequest_Type as a ConsolePortTypeChoices +func (t WritableConsolePortRequest_Type) AsConsolePortTypeChoices() (ConsolePortTypeChoices, error) { + var body ConsolePortTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromConsolePortTypeChoices overwrites any union data inside the WritableConsolePortRequest_Type as the provided ConsolePortTypeChoices +func (t *WritableConsolePortRequest_Type) FromConsolePortTypeChoices(v ConsolePortTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeConsolePortTypeChoices performs a merge with any union data inside the WritableConsolePortRequest_Type, using the provided ConsolePortTypeChoices +func (t *WritableConsolePortRequest_Type) MergeConsolePortTypeChoices(v ConsolePortTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the WritableConsolePortRequest_Type as a BlankEnum +func (t WritableConsolePortRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the WritableConsolePortRequest_Type as the provided BlankEnum +func (t *WritableConsolePortRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the WritableConsolePortRequest_Type, using the provided BlankEnum +func (t *WritableConsolePortRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t WritableConsolePortRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *WritableConsolePortRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsConsolePortTypeChoices returns the union data inside the WritableConsolePortTemplateRequest_Type as a ConsolePortTypeChoices +func (t WritableConsolePortTemplateRequest_Type) AsConsolePortTypeChoices() (ConsolePortTypeChoices, error) { + var body ConsolePortTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromConsolePortTypeChoices overwrites any union data inside the WritableConsolePortTemplateRequest_Type as the provided ConsolePortTypeChoices +func (t *WritableConsolePortTemplateRequest_Type) FromConsolePortTypeChoices(v ConsolePortTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeConsolePortTypeChoices performs a merge with any union data inside the WritableConsolePortTemplateRequest_Type, using the provided ConsolePortTypeChoices +func (t *WritableConsolePortTemplateRequest_Type) MergeConsolePortTypeChoices(v ConsolePortTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the WritableConsolePortTemplateRequest_Type as a BlankEnum +func (t WritableConsolePortTemplateRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the WritableConsolePortTemplateRequest_Type as the provided BlankEnum +func (t *WritableConsolePortTemplateRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the WritableConsolePortTemplateRequest_Type, using the provided BlankEnum +func (t *WritableConsolePortTemplateRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t WritableConsolePortTemplateRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *WritableConsolePortTemplateRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsConsolePortTypeChoices returns the union data inside the WritableConsoleServerPortRequest_Type as a ConsolePortTypeChoices +func (t WritableConsoleServerPortRequest_Type) AsConsolePortTypeChoices() (ConsolePortTypeChoices, error) { + var body ConsolePortTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromConsolePortTypeChoices overwrites any union data inside the WritableConsoleServerPortRequest_Type as the provided ConsolePortTypeChoices +func (t *WritableConsoleServerPortRequest_Type) FromConsolePortTypeChoices(v ConsolePortTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeConsolePortTypeChoices performs a merge with any union data inside the WritableConsoleServerPortRequest_Type, using the provided ConsolePortTypeChoices +func (t *WritableConsoleServerPortRequest_Type) MergeConsolePortTypeChoices(v ConsolePortTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the WritableConsoleServerPortRequest_Type as a BlankEnum +func (t WritableConsoleServerPortRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the WritableConsoleServerPortRequest_Type as the provided BlankEnum +func (t *WritableConsoleServerPortRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the WritableConsoleServerPortRequest_Type, using the provided BlankEnum +func (t *WritableConsoleServerPortRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t WritableConsoleServerPortRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *WritableConsoleServerPortRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsConsolePortTypeChoices returns the union data inside the WritableConsoleServerPortTemplateRequest_Type as a ConsolePortTypeChoices +func (t WritableConsoleServerPortTemplateRequest_Type) AsConsolePortTypeChoices() (ConsolePortTypeChoices, error) { + var body ConsolePortTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromConsolePortTypeChoices overwrites any union data inside the WritableConsoleServerPortTemplateRequest_Type as the provided ConsolePortTypeChoices +func (t *WritableConsoleServerPortTemplateRequest_Type) FromConsolePortTypeChoices(v ConsolePortTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeConsolePortTypeChoices performs a merge with any union data inside the WritableConsoleServerPortTemplateRequest_Type, using the provided ConsolePortTypeChoices +func (t *WritableConsoleServerPortTemplateRequest_Type) MergeConsolePortTypeChoices(v ConsolePortTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the WritableConsoleServerPortTemplateRequest_Type as a BlankEnum +func (t WritableConsoleServerPortTemplateRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the WritableConsoleServerPortTemplateRequest_Type as the provided BlankEnum +func (t *WritableConsoleServerPortTemplateRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the WritableConsoleServerPortTemplateRequest_Type, using the provided BlankEnum +func (t *WritableConsoleServerPortTemplateRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t WritableConsoleServerPortTemplateRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *WritableConsoleServerPortTemplateRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsFailoverStrategyEnum returns the union data inside the WritableDeviceRedundancyGroupRequest_FailoverStrategy as a FailoverStrategyEnum +func (t WritableDeviceRedundancyGroupRequest_FailoverStrategy) AsFailoverStrategyEnum() (FailoverStrategyEnum, error) { + var body FailoverStrategyEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromFailoverStrategyEnum overwrites any union data inside the WritableDeviceRedundancyGroupRequest_FailoverStrategy as the provided FailoverStrategyEnum +func (t *WritableDeviceRedundancyGroupRequest_FailoverStrategy) FromFailoverStrategyEnum(v FailoverStrategyEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeFailoverStrategyEnum performs a merge with any union data inside the WritableDeviceRedundancyGroupRequest_FailoverStrategy, using the provided FailoverStrategyEnum +func (t *WritableDeviceRedundancyGroupRequest_FailoverStrategy) MergeFailoverStrategyEnum(v FailoverStrategyEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the WritableDeviceRedundancyGroupRequest_FailoverStrategy as a BlankEnum +func (t WritableDeviceRedundancyGroupRequest_FailoverStrategy) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the WritableDeviceRedundancyGroupRequest_FailoverStrategy as the provided BlankEnum +func (t *WritableDeviceRedundancyGroupRequest_FailoverStrategy) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the WritableDeviceRedundancyGroupRequest_FailoverStrategy, using the provided BlankEnum +func (t *WritableDeviceRedundancyGroupRequest_FailoverStrategy) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t WritableDeviceRedundancyGroupRequest_FailoverStrategy) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *WritableDeviceRedundancyGroupRequest_FailoverStrategy) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsSubdeviceRoleEnum returns the union data inside the WritableDeviceTypeRequest_SubdeviceRole as a SubdeviceRoleEnum +func (t WritableDeviceTypeRequest_SubdeviceRole) AsSubdeviceRoleEnum() (SubdeviceRoleEnum, error) { + var body SubdeviceRoleEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromSubdeviceRoleEnum overwrites any union data inside the WritableDeviceTypeRequest_SubdeviceRole as the provided SubdeviceRoleEnum +func (t *WritableDeviceTypeRequest_SubdeviceRole) FromSubdeviceRoleEnum(v SubdeviceRoleEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeSubdeviceRoleEnum performs a merge with any union data inside the WritableDeviceTypeRequest_SubdeviceRole, using the provided SubdeviceRoleEnum +func (t *WritableDeviceTypeRequest_SubdeviceRole) MergeSubdeviceRoleEnum(v SubdeviceRoleEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the WritableDeviceTypeRequest_SubdeviceRole as a BlankEnum +func (t WritableDeviceTypeRequest_SubdeviceRole) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the WritableDeviceTypeRequest_SubdeviceRole as the provided BlankEnum +func (t *WritableDeviceTypeRequest_SubdeviceRole) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the WritableDeviceTypeRequest_SubdeviceRole, using the provided BlankEnum +func (t *WritableDeviceTypeRequest_SubdeviceRole) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t WritableDeviceTypeRequest_SubdeviceRole) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *WritableDeviceTypeRequest_SubdeviceRole) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsFaceEnum returns the union data inside the WritableDeviceWithConfigContextRequest_Face as a FaceEnum +func (t WritableDeviceWithConfigContextRequest_Face) AsFaceEnum() (FaceEnum, error) { + var body FaceEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromFaceEnum overwrites any union data inside the WritableDeviceWithConfigContextRequest_Face as the provided FaceEnum +func (t *WritableDeviceWithConfigContextRequest_Face) FromFaceEnum(v FaceEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeFaceEnum performs a merge with any union data inside the WritableDeviceWithConfigContextRequest_Face, using the provided FaceEnum +func (t *WritableDeviceWithConfigContextRequest_Face) MergeFaceEnum(v FaceEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the WritableDeviceWithConfigContextRequest_Face as a BlankEnum +func (t WritableDeviceWithConfigContextRequest_Face) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the WritableDeviceWithConfigContextRequest_Face as the provided BlankEnum +func (t *WritableDeviceWithConfigContextRequest_Face) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the WritableDeviceWithConfigContextRequest_Face, using the provided BlankEnum +func (t *WritableDeviceWithConfigContextRequest_Face) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t WritableDeviceWithConfigContextRequest_Face) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *WritableDeviceWithConfigContextRequest_Face) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsProvidedContentsEnum returns the union data inside the WritableGitRepositoryRequest_ProvidedContents_Item as a ProvidedContentsEnum +func (t WritableGitRepositoryRequest_ProvidedContents_Item) AsProvidedContentsEnum() (ProvidedContentsEnum, error) { + var body ProvidedContentsEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromProvidedContentsEnum overwrites any union data inside the WritableGitRepositoryRequest_ProvidedContents_Item as the provided ProvidedContentsEnum +func (t *WritableGitRepositoryRequest_ProvidedContents_Item) FromProvidedContentsEnum(v ProvidedContentsEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeProvidedContentsEnum performs a merge with any union data inside the WritableGitRepositoryRequest_ProvidedContents_Item, using the provided ProvidedContentsEnum +func (t *WritableGitRepositoryRequest_ProvidedContents_Item) MergeProvidedContentsEnum(v ProvidedContentsEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the WritableGitRepositoryRequest_ProvidedContents_Item as a BlankEnum +func (t WritableGitRepositoryRequest_ProvidedContents_Item) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the WritableGitRepositoryRequest_ProvidedContents_Item as the provided BlankEnum +func (t *WritableGitRepositoryRequest_ProvidedContents_Item) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the WritableGitRepositoryRequest_ProvidedContents_Item, using the provided BlankEnum +func (t *WritableGitRepositoryRequest_ProvidedContents_Item) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t WritableGitRepositoryRequest_ProvidedContents_Item) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *WritableGitRepositoryRequest_ProvidedContents_Item) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsRoleEnum returns the union data inside the WritableIPAddressRequest_Role as a RoleEnum +func (t WritableIPAddressRequest_Role) AsRoleEnum() (RoleEnum, error) { + var body RoleEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromRoleEnum overwrites any union data inside the WritableIPAddressRequest_Role as the provided RoleEnum +func (t *WritableIPAddressRequest_Role) FromRoleEnum(v RoleEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeRoleEnum performs a merge with any union data inside the WritableIPAddressRequest_Role, using the provided RoleEnum +func (t *WritableIPAddressRequest_Role) MergeRoleEnum(v RoleEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the WritableIPAddressRequest_Role as a BlankEnum +func (t WritableIPAddressRequest_Role) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the WritableIPAddressRequest_Role as the provided BlankEnum +func (t *WritableIPAddressRequest_Role) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the WritableIPAddressRequest_Role, using the provided BlankEnum +func (t *WritableIPAddressRequest_Role) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t WritableIPAddressRequest_Role) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *WritableIPAddressRequest_Role) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsModeEnum returns the union data inside the WritableInterfaceRequest_Mode as a ModeEnum +func (t WritableInterfaceRequest_Mode) AsModeEnum() (ModeEnum, error) { + var body ModeEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromModeEnum overwrites any union data inside the WritableInterfaceRequest_Mode as the provided ModeEnum +func (t *WritableInterfaceRequest_Mode) FromModeEnum(v ModeEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeModeEnum performs a merge with any union data inside the WritableInterfaceRequest_Mode, using the provided ModeEnum +func (t *WritableInterfaceRequest_Mode) MergeModeEnum(v ModeEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the WritableInterfaceRequest_Mode as a BlankEnum +func (t WritableInterfaceRequest_Mode) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the WritableInterfaceRequest_Mode as the provided BlankEnum +func (t *WritableInterfaceRequest_Mode) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the WritableInterfaceRequest_Mode, using the provided BlankEnum +func (t *WritableInterfaceRequest_Mode) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t WritableInterfaceRequest_Mode) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *WritableInterfaceRequest_Mode) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsFeedLegEnum returns the union data inside the WritablePowerOutletRequest_FeedLeg as a FeedLegEnum +func (t WritablePowerOutletRequest_FeedLeg) AsFeedLegEnum() (FeedLegEnum, error) { + var body FeedLegEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromFeedLegEnum overwrites any union data inside the WritablePowerOutletRequest_FeedLeg as the provided FeedLegEnum +func (t *WritablePowerOutletRequest_FeedLeg) FromFeedLegEnum(v FeedLegEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeFeedLegEnum performs a merge with any union data inside the WritablePowerOutletRequest_FeedLeg, using the provided FeedLegEnum +func (t *WritablePowerOutletRequest_FeedLeg) MergeFeedLegEnum(v FeedLegEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the WritablePowerOutletRequest_FeedLeg as a BlankEnum +func (t WritablePowerOutletRequest_FeedLeg) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the WritablePowerOutletRequest_FeedLeg as the provided BlankEnum +func (t *WritablePowerOutletRequest_FeedLeg) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the WritablePowerOutletRequest_FeedLeg, using the provided BlankEnum +func (t *WritablePowerOutletRequest_FeedLeg) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t WritablePowerOutletRequest_FeedLeg) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *WritablePowerOutletRequest_FeedLeg) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsPowerOutletTypeChoices returns the union data inside the WritablePowerOutletRequest_Type as a PowerOutletTypeChoices +func (t WritablePowerOutletRequest_Type) AsPowerOutletTypeChoices() (PowerOutletTypeChoices, error) { + var body PowerOutletTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromPowerOutletTypeChoices overwrites any union data inside the WritablePowerOutletRequest_Type as the provided PowerOutletTypeChoices +func (t *WritablePowerOutletRequest_Type) FromPowerOutletTypeChoices(v PowerOutletTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergePowerOutletTypeChoices performs a merge with any union data inside the WritablePowerOutletRequest_Type, using the provided PowerOutletTypeChoices +func (t *WritablePowerOutletRequest_Type) MergePowerOutletTypeChoices(v PowerOutletTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the WritablePowerOutletRequest_Type as a BlankEnum +func (t WritablePowerOutletRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the WritablePowerOutletRequest_Type as the provided BlankEnum +func (t *WritablePowerOutletRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the WritablePowerOutletRequest_Type, using the provided BlankEnum +func (t *WritablePowerOutletRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t WritablePowerOutletRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *WritablePowerOutletRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsFeedLegEnum returns the union data inside the WritablePowerOutletTemplateRequest_FeedLeg as a FeedLegEnum +func (t WritablePowerOutletTemplateRequest_FeedLeg) AsFeedLegEnum() (FeedLegEnum, error) { + var body FeedLegEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromFeedLegEnum overwrites any union data inside the WritablePowerOutletTemplateRequest_FeedLeg as the provided FeedLegEnum +func (t *WritablePowerOutletTemplateRequest_FeedLeg) FromFeedLegEnum(v FeedLegEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeFeedLegEnum performs a merge with any union data inside the WritablePowerOutletTemplateRequest_FeedLeg, using the provided FeedLegEnum +func (t *WritablePowerOutletTemplateRequest_FeedLeg) MergeFeedLegEnum(v FeedLegEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the WritablePowerOutletTemplateRequest_FeedLeg as a BlankEnum +func (t WritablePowerOutletTemplateRequest_FeedLeg) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the WritablePowerOutletTemplateRequest_FeedLeg as the provided BlankEnum +func (t *WritablePowerOutletTemplateRequest_FeedLeg) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the WritablePowerOutletTemplateRequest_FeedLeg, using the provided BlankEnum +func (t *WritablePowerOutletTemplateRequest_FeedLeg) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t WritablePowerOutletTemplateRequest_FeedLeg) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *WritablePowerOutletTemplateRequest_FeedLeg) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsPowerOutletTypeChoices returns the union data inside the WritablePowerOutletTemplateRequest_Type as a PowerOutletTypeChoices +func (t WritablePowerOutletTemplateRequest_Type) AsPowerOutletTypeChoices() (PowerOutletTypeChoices, error) { + var body PowerOutletTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromPowerOutletTypeChoices overwrites any union data inside the WritablePowerOutletTemplateRequest_Type as the provided PowerOutletTypeChoices +func (t *WritablePowerOutletTemplateRequest_Type) FromPowerOutletTypeChoices(v PowerOutletTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergePowerOutletTypeChoices performs a merge with any union data inside the WritablePowerOutletTemplateRequest_Type, using the provided PowerOutletTypeChoices +func (t *WritablePowerOutletTemplateRequest_Type) MergePowerOutletTypeChoices(v PowerOutletTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the WritablePowerOutletTemplateRequest_Type as a BlankEnum +func (t WritablePowerOutletTemplateRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the WritablePowerOutletTemplateRequest_Type as the provided BlankEnum +func (t *WritablePowerOutletTemplateRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the WritablePowerOutletTemplateRequest_Type, using the provided BlankEnum +func (t *WritablePowerOutletTemplateRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t WritablePowerOutletTemplateRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *WritablePowerOutletTemplateRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsPowerPortTypeChoices returns the union data inside the WritablePowerPortRequest_Type as a PowerPortTypeChoices +func (t WritablePowerPortRequest_Type) AsPowerPortTypeChoices() (PowerPortTypeChoices, error) { + var body PowerPortTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromPowerPortTypeChoices overwrites any union data inside the WritablePowerPortRequest_Type as the provided PowerPortTypeChoices +func (t *WritablePowerPortRequest_Type) FromPowerPortTypeChoices(v PowerPortTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergePowerPortTypeChoices performs a merge with any union data inside the WritablePowerPortRequest_Type, using the provided PowerPortTypeChoices +func (t *WritablePowerPortRequest_Type) MergePowerPortTypeChoices(v PowerPortTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the WritablePowerPortRequest_Type as a BlankEnum +func (t WritablePowerPortRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the WritablePowerPortRequest_Type as the provided BlankEnum +func (t *WritablePowerPortRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the WritablePowerPortRequest_Type, using the provided BlankEnum +func (t *WritablePowerPortRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t WritablePowerPortRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *WritablePowerPortRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsPowerPortTypeChoices returns the union data inside the WritablePowerPortTemplateRequest_Type as a PowerPortTypeChoices +func (t WritablePowerPortTemplateRequest_Type) AsPowerPortTypeChoices() (PowerPortTypeChoices, error) { + var body PowerPortTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromPowerPortTypeChoices overwrites any union data inside the WritablePowerPortTemplateRequest_Type as the provided PowerPortTypeChoices +func (t *WritablePowerPortTemplateRequest_Type) FromPowerPortTypeChoices(v PowerPortTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergePowerPortTypeChoices performs a merge with any union data inside the WritablePowerPortTemplateRequest_Type, using the provided PowerPortTypeChoices +func (t *WritablePowerPortTemplateRequest_Type) MergePowerPortTypeChoices(v PowerPortTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the WritablePowerPortTemplateRequest_Type as a BlankEnum +func (t WritablePowerPortTemplateRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the WritablePowerPortTemplateRequest_Type as the provided BlankEnum +func (t *WritablePowerPortTemplateRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the WritablePowerPortTemplateRequest_Type, using the provided BlankEnum +func (t *WritablePowerPortTemplateRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t WritablePowerPortTemplateRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *WritablePowerPortTemplateRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsOuterUnitEnum returns the union data inside the WritableRackRequest_OuterUnit as a OuterUnitEnum +func (t WritableRackRequest_OuterUnit) AsOuterUnitEnum() (OuterUnitEnum, error) { + var body OuterUnitEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromOuterUnitEnum overwrites any union data inside the WritableRackRequest_OuterUnit as the provided OuterUnitEnum +func (t *WritableRackRequest_OuterUnit) FromOuterUnitEnum(v OuterUnitEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeOuterUnitEnum performs a merge with any union data inside the WritableRackRequest_OuterUnit, using the provided OuterUnitEnum +func (t *WritableRackRequest_OuterUnit) MergeOuterUnitEnum(v OuterUnitEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the WritableRackRequest_OuterUnit as a BlankEnum +func (t WritableRackRequest_OuterUnit) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the WritableRackRequest_OuterUnit as the provided BlankEnum +func (t *WritableRackRequest_OuterUnit) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the WritableRackRequest_OuterUnit, using the provided BlankEnum +func (t *WritableRackRequest_OuterUnit) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t WritableRackRequest_OuterUnit) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *WritableRackRequest_OuterUnit) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsRackTypeChoices returns the union data inside the WritableRackRequest_Type as a RackTypeChoices +func (t WritableRackRequest_Type) AsRackTypeChoices() (RackTypeChoices, error) { + var body RackTypeChoices + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromRackTypeChoices overwrites any union data inside the WritableRackRequest_Type as the provided RackTypeChoices +func (t *WritableRackRequest_Type) FromRackTypeChoices(v RackTypeChoices) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeRackTypeChoices performs a merge with any union data inside the WritableRackRequest_Type, using the provided RackTypeChoices +func (t *WritableRackRequest_Type) MergeRackTypeChoices(v RackTypeChoices) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the WritableRackRequest_Type as a BlankEnum +func (t WritableRackRequest_Type) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the WritableRackRequest_Type as the provided BlankEnum +func (t *WritableRackRequest_Type) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the WritableRackRequest_Type, using the provided BlankEnum +func (t *WritableRackRequest_Type) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t WritableRackRequest_Type) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *WritableRackRequest_Type) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsModeEnum returns the union data inside the WritableVMInterfaceRequest_Mode as a ModeEnum +func (t WritableVMInterfaceRequest_Mode) AsModeEnum() (ModeEnum, error) { + var body ModeEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromModeEnum overwrites any union data inside the WritableVMInterfaceRequest_Mode as the provided ModeEnum +func (t *WritableVMInterfaceRequest_Mode) FromModeEnum(v ModeEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeModeEnum performs a merge with any union data inside the WritableVMInterfaceRequest_Mode, using the provided ModeEnum +func (t *WritableVMInterfaceRequest_Mode) MergeModeEnum(v ModeEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +// AsBlankEnum returns the union data inside the WritableVMInterfaceRequest_Mode as a BlankEnum +func (t WritableVMInterfaceRequest_Mode) AsBlankEnum() (BlankEnum, error) { + var body BlankEnum + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromBlankEnum overwrites any union data inside the WritableVMInterfaceRequest_Mode as the provided BlankEnum +func (t *WritableVMInterfaceRequest_Mode) FromBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeBlankEnum performs a merge with any union data inside the WritableVMInterfaceRequest_Mode, using the provided BlankEnum +func (t *WritableVMInterfaceRequest_Mode) MergeBlankEnum(v BlankEnum) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JsonMerge(b, t.union) + t.union = merged + return err +} + +func (t WritableVMInterfaceRequest_Mode) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *WritableVMInterfaceRequest_Mode) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +}